-
Notifications
You must be signed in to change notification settings - Fork 2.6k
[x86] Do not support hardware intrinsics on x86 unix #21164
Conversation
What is currently broken if we do the reverse and just enable them on x86 Unix? Do any tests fail? |
Thanks! It would be nice if we had an issue tracking this if it turns out to not work, otherwise LGTM. |
CC. @CarolEidt, @fiigii |
Hardware intrinsic is supported by x86/windows. Is there any plan to enable it on x86/Unix in the future? |
@kvochko I can't remember the exact reason, but it took too much effort to enable AVX at that time. I'm not sure about the current status :) |
Ok, thanks! @fiigii I'm not aware of such plans, but I've opened an issue to track the fact that they are disabled |
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.
Thanks, the change looks good.
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.
LGTM
…_x86 [x86] Do not support hardware intrinsics on x86 unix Commit migrated from dotnet/coreclr@4a9b573
On x86 unix jit is compiled without hardware intrinsic support
coreclr/src/jit/CMakeLists.txt
Line 7 in 5e4e286
but System.Private.CoreLib is built with it. This leads to errors, like:
This change disables support for hardware intrinsics in System.Private.CoreLib on x86 Unix.