Skip to content

[Mono] Enable generating SIMD intrinsics for System.Numerics.Vector on Arm64 - #65486

Merged
fanyang-mono merged 11 commits into
dotnet:mainfrom
fanyang-mono:arm64_snv
Mar 8, 2022
Merged

[Mono] Enable generating SIMD intrinsics for System.Numerics.Vector on Arm64#65486
fanyang-mono merged 11 commits into
dotnet:mainfrom
fanyang-mono:arm64_snv

Conversation

@fanyang-mono

@fanyang-monofanyang-mono commented Feb 17, 2022

Copy link
Copy Markdown
Member

Contribute to #64072
With this PR, methods of System.Numerics.Vector supported in emit_sri_vector will be intrinsified on Arm64.

Fixed#65318
Added/refactored vector element type check for all the cases in emit_sri_vector.

@fanyang-mono
fanyang-mono marked this pull request as ready for review February 22, 2022 17:57
Comment threadsrc/mono/mono/mini/simd-intrinsics.c Outdated
Comment threadsrc/mono/mono/mini/simd-intrinsics.c Outdated
@fanyang-mono

Copy link
Copy Markdown
MemberAuthor

@vargaz I pushed more change after your approval. Please review again. Thanks!

Comment threadsrc/mono/mono/mini/simd-intrinsics.c Outdated
Comment threadsrc/mono/mono/mini/simd-intrinsics.c Outdated
Comment threadsrc/mono/mono/mini/simd-intrinsics.c Outdated
Comment threadsrc/mono/mono/mini/simd-intrinsics.c Outdated
@fanyang-mono

Copy link
Copy Markdown
MemberAuthor

@vargaz Could you please review one more time? I decided to check only the type for one argument instead of all vector arguments and return. Because I did some testing and found that the c# wouldn't allow arguments with different types.

@fanyang-mono
fanyang-mono merged commit 8fe2d2b into dotnet:mainMar 8, 2022
@ghostghost locked as resolved and limited conversation to collaborators Apr 7, 2022
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Mono] Clean up the type checks for Vector64/128

2 participants

@fanyang-mono@vargaz