- Notifications
You must be signed in to change notification settings - Fork5.2k
[mono] Intrinsify multiple StoreVector API's#98514
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
ghost commentedFeb 15, 2024
Note regarding the This serves as a reminder for when your PR is modifying a ref *.cs file and adding/modifying public APIs, please make sure the API implementation in the src *.cs file is documented with triple slash comments, so the PR reviewers can sign off that change. |
src/mono/mono/mini/simd-intrinsics.c Outdated
| MonoClass*value=mono_class_from_mono_type_internal (fsig->params [1]); | ||
| MonoInst*ins=emit_simd_ins_for_sig (cfg,klass,OP_ARM64_STM,opcode,arg0_type,fsig,args); |
fanyang-monoFeb 15, 2024 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
You could passvalue as the second argument foremit_simd_ins_for_sig and get rid of the next line. Althoughvalue is kinda generic. Maybe rename it toklass_tuple_var or something else with more information.
kunalspathak commentedFeb 15, 2024
ghost commentedFeb 15, 2024
Tagging subscribers to this area: @dotnet/area-system-runtime-intrinsics Issue DetailsContributes to#93081 This PR intrinsifies the following API's: AdvSimd.StoreVector64x*
|
kunalspathak left a comment
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. Thanks!
src/mono/mono/mini/simd-intrinsics.c Outdated
| caseSN_StoreVector64x2AndZip: | ||
| caseSN_StoreVector64x3AndZip: | ||
| caseSN_StoreVector64x4AndZip: { | ||
| intopcode=0; |
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.
Usually we considerOP_ARM64_STM as the opcode. I would prefer to rename this variable asintrinsics_id oriid
fanyang-mono left a comment
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!
Uh oh!
There was an error while loading.Please reload this page.
Contributes to#93081
This PR intrinsifies the following APIs:
AdvSimd.StoreVector64x*
AdvSimd.Arm64.StoreVector128x*
AdvSimd.StoreVector64xAndZip
AdvSimd.Arm64.StoreVector128xAndZip