support array return types in simd_bitmask by RalfJung · Pull Request #2895 · ru...
source link: https://github.com/rust-lang/miri/pull/2895
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
support array return types in simd_bitmask #2895
Conversation
Member
Fixes #2734
As usual I am stomped by the simd_bitmask behavior wrt endianess. I confirmed that for little endian, Miri matches what rustc currently does, but I can't test rustc on big endian. @workingjubilee @calebzulawski could you have a look whether those new tests make sense?
changed the title
support array return types in simb_bitmask
support array return types in simd_bitmask
This looks correct--the endianness only affects each separate element and not the array order (in std::simd, we reverse each array element on big endian) |
Member
Author
Ah, I didn't even realize that that is what happens -- thanks! @bors r+ |
Contributor
Test successful - checks-actions |
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
No reviews
No one assigned
None yet
No milestone
Successfully merging this pull request may close these issues.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK