-
Notifications
You must be signed in to change notification settings - Fork 5.2k
[mono][1/2] Add SIMD Support for s390x #116669
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
Merged
Merged
Conversation
This file contains hidden or 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 is the inital patch to support simd on s390x. on s390x we have 16 floating point registers and 32 vector registers out of which f0 - f15 overlap with v0 - v15. redefine the mirrored_mask logic for unequal masks in the register allocator.
|
cc: @uweigand , @nealef, @akoeplinger , @steveisok, @giritrivedi |
saitama951
added a commit
to saitama951/runtime
that referenced
this pull request
Jun 18, 2025
This is a followup patch to dotnet#116669 to add vector support to s390x
saitama951
added a commit
to saitama951/runtime
that referenced
this pull request
Jun 18, 2025
This is a followup patch to dotnet#116669 to add vector support to s390x
saitama951
added a commit
to saitama951/runtime
that referenced
this pull request
Jun 18, 2025
This is a followup patch to dotnet#116669 to add vector support to s390x
saitama951
added a commit
to saitama951/runtime
that referenced
this pull request
Jun 18, 2025
This is a followup patch to dotnet#116669 to add vector support to s390x
saitama951
added a commit
to saitama951/runtime
that referenced
this pull request
Jun 18, 2025
This is a followup patch to dotnet#116669 to add vector support to s390x
uweigand
reviewed
Jun 25, 2025
* generalize assert statements for the unequal masks * remove duplicate line
This was referenced Jul 7, 2025
|
This LGTM now from a s390x architecture perspective. |
We're using tabs for indentation.
Open
3 tasks
akoeplinger
approved these changes
Jul 18, 2025
|
/ba-g wasm failures are not related to s390x |
akoeplinger
pushed a commit
that referenced
this pull request
Jul 21, 2025
* [mono][2/2] Add SIMD Support for s390x This is a followup patch to #116669 to add vector support to s390x * Address Review Comments * remove SIY_1 (duplicacy) * remove locgrnle and locghinle use locghiho instead * reformat whole patch * remove vflc use vfpso instead * move common op's to a common ifdef in mini-ops * remove NEW_INS , it's used no-where * rewrite the whole logic for Vector conditional ops for floats * update ANDN with vnc instruction * add couple of comments * remove some pseudo op in simd-intrinsics * add aligned loads and stores * Adress Review Comments - 2 * reformat patch - rename opcode from OP_ to OP_S390 * rewrite OP_XCOMPARE and OP_XEXTRACT into one opcode OP_S390_OPXCOMPARE_XEXTRACT * introduce compare neumonics without setting the condition code * rewrite OP_VEC_ABS to handle float and integer separately * Address Review Comments - 3 * remove hard-coded s390_vr16 to allocate a temp_reg instead * omit move incase ins->sreg and ins->dreg
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
arch-s390x
Related to s390x architecture (unsupported)
area-Codegen-JIT-mono
community-contribution
Indicates that the PR has been added by a community member
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is the inital patch to support simd on s390x. on s390x we have 16 floating point registers and 32 vector registers out of which f0 - f15 overlap with v0 - v15.
redefine the mirrored_mask logic for unequal masks in the register allocator.