-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add iOS and tvOS minimally supported intrinsics #44151
Comments
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label. |
We currently don't have any arm64 intrinsics in Mono except https://github.com/dotnet/runtime/blob/master/src/libraries/System.Private.CoreLib/src/System/Runtime/Intrinsics/Arm/ArmBase.cs which should be enabled by default for any arm64 hw.
|
Yeah, we'll have to guard that for LLVM codegen only |
Aren't intrinsics usually based on the cpu and not the OS version? |
@rolfbjarne true but I'm referring to OS version as the definition for the minimally supported hw/cpu. |
@imhameed - if iOS uses AOT compilation with LLVM, all the work you did to add intrinsics is applicable here ? If so, please close the issue. |
xamarin/xamarin-macios#11379 should fix this issue, and we can close this out. |
We should enable NEON by default for arm64 but yeah--I'll open a PR for this--all the arm64 hardware intrinsics ought to work on Mono. |
This was done in #56323. |
Both iOS and tvOS have a well-known set of hardware where it can run. If we consider iOS10 and tvOS10 as minimal versions we could fill a minimally supported intrinsics in SPC substitutions to trim any software fallback.
Note: The same will probably apply to Apple Silicon once it's out
@EgorBo @rolfbjarne
The text was updated successfully, but these errors were encountered: