[前][次][番号順一覧][スレッド一覧]

ruby-changes:73295

From: Takashi <ko1@a...>
Date: Tue, 30 Aug 2022 01:08:03 +0900 (JST)
Subject: [ruby-changes:73295] c38e911147 (master): Allow aarch64 to build YJIT

https://git.ruby-lang.org/ruby.git/commit/?id=c38e911147

From c38e9111478773a20656bfe5329cdab78dfb075b Mon Sep 17 00:00:00 2001
From: Takashi Kokubun <takashikkbn@g...>
Date: Tue, 16 Aug 2022 12:51:16 -0700
Subject: Allow aarch64 to build YJIT

---
 yjit.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/yjit.h b/yjit.h
index 1f507f1b51..c9dc52c9b6 100644
--- a/yjit.h
+++ b/yjit.h
@@ -17,8 +17,8 @@ https://github.com/ruby/ruby/blob/trunk/yjit.h#L17
 
 #if USE_YJIT
 
-// We generate x86 assembly
-#if defined(_WIN32) ? defined(_M_AMD64) : defined(__x86_64__)
+// We generate x86 or arm64 assembly
+#if defined(_WIN32) ? defined(_M_AMD64) : (defined(__x86_64__) || defined(__aarch64__))
 // x86_64 platforms without mingw/msys or x64-mswin
 #else
 # error YJIT unsupported platform
-- 
cgit v1.2.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]