This repository has been archived by the owner on Jan 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix SIMD intrinsics handling in crossgen2 (#27853)
* Fix SIMD intrinsics handling in crossgen2 Crossgen2 was compiling methods that call SIMD intrinsics (System.Numerics.Vector<T>). This is not correct, as the size of the vector is a runtime specific detail - e.g. when running on devices without SSE2 support, the size is 4 and when running on devices with SSE2 support, the size is 8. This fixes runtime errors in 6 coreclr pri 0 tests. * Reflect PR feedback Create a IsVectorOfT method and use it at all places where we were previously checking the namespace and type name of Vector<T>
- Loading branch information
Showing
4 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters