-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Mono] Only enable Arm intrinsics for full aot mode #74301
Conversation
/azp run runtime-extra-platforms |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we need to also check that we're not in --aot=full,interp
mode.
src/mono/mono/mini/simd-intrinsics.c
Outdated
@@ -718,6 +718,14 @@ emit_hardware_intrinsics ( | |||
if (!info) | |||
goto support_probe_complete; | |||
id = info->id; | |||
|
|||
#ifdef TARGET_ARM64 | |||
if (!(cfg->compile_aot && cfg->full_aot)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this also needs to check cfg->interp
:
if (!(cfg->compile_aot && cfg->full_aot)) { | |
if (!(cfg->compile_aot && cfg->full_aot && !cfg->interp)) { |
Also, not sure if we should enable this for llvmonly, too. @vargaz what do you think?
/backport to release/7.0-rc1 |
Started backporting to release/7.0-rc1: https://github.com/dotnet/runtime/actions/runs/2905537115 |
This is ready to be merged. |
Fix #73003