Fix vload/vstore for Short and Byte Vectors on P8 and below - #8100
Merged
Conversation
Contributor
Author
midronij
force-pushed
the
vLoadStore-p8
branch
from
January 23, 2026 01:39
54eb837 to
63656b7
Compare
Because type-specific vector load/store instructions for Byte and ShortVectors (lxvb16x/stxvb16x and lxvh8x/stxvh8x respectively) are only available on P9 and up, we currently use the IntVector versions (lxvw4x/stxvw4x) on P8 and below. However, this loads/stores the vector's contents from/to memory in word-sized chunks, and as a result the order of elements is not presevered from memory to the target register. This contribution addresses this issue by manually rearranging the vector contents just after loading/just before storing. Signed-off-by: midronij <jackie.midroni@ibm.com>
midronij
force-pushed
the
vLoadStore-p8
branch
from
January 23, 2026 01:41
63656b7 to
5ffc0f9
Compare
gita-omr
approved these changes
Jan 28, 2026
Contributor
Author
|
@dsouzai could you please run the CI tests and merge if everything looks okay? |
dsouzai
approved these changes
Jan 29, 2026
Contributor
|
jenkins build aix,plinux |
Contributor
Author
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Addresses #6302 for P8 and below. Also fixes eclipse-openj9/openj9#23139.