We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
-mcx16
1 parent c937aa0 commit 40bf17cCopy full SHA for 40bf17c
Runtimes/Core/cmake/modules/CompilerSettings.cmake
@@ -49,6 +49,8 @@ if(NOT HAVE_SWIFT_ASYNC_CALL)
49
endif()
50
51
check_compiler_flag(CXX "-mcx16" HAVE_CXX_MCX16)
52
-if(HAVE_CXX_MCX16)
+if(HAVE_CXX_MCX16 AND
53
+ (CMAKE_CXX_COMPILER_ARCHITECTURE_ID MATCHES "(X86)|(X64)" OR
54
+ CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86)|(x86_64)|(amd64)|(AMD64)"))
55
add_compile_options($<$<COMPILE_LANGUAGE:CXX>:-mcx16>)
56
0 commit comments