Skip to content

Conversation

@folkertdev
Copy link
Contributor

@folkertdev folkertdev commented Jan 30, 2026

This adds tests for the vld1 functions using a roundtrip.

It also changes the generated code for unsigned vld1 for big-endian targets. The unsigned version called the signed version, but then applied an additional shuffle. I see no reason that signedness would require a shuffle, so this is probably a quirk in the generator.

cc @adamgemmell if I'm missing anything

@folkertdev folkertdev force-pushed the aarch64-vld1-tests branch 3 times, most recently from 2ff098a to 0c8a5ff Compare January 30, 2026 20:42
@folkertdev folkertdev marked this pull request as ready for review January 30, 2026 20:51
@rustbot
Copy link
Collaborator

rustbot commented Jan 30, 2026

r? @Amanieu

rustbot has assigned @Amanieu.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@Amanieu
Copy link
Member

Amanieu commented Feb 1, 2026

I'm generally happy with the changes, but the large amount of repetition is unfortunate. Is there a way we could reduce this using a macro?

@folkertdev
Copy link
Contributor Author

I cleaned it up a bunch

@adamgemmell
Copy link
Contributor

Thank you very much for working on this, looks good to me. There are still tests missing for all f16 loads but this is a significant chunk of work and I don't see a reason to block either this patch or the other one on that

@adamgemmell
Copy link
Contributor

Just checked and we should be able to get tests in for any intrinsics missing them by the end of this quarter.

@folkertdev folkertdev added this pull request to the merge queue Feb 2, 2026
Merged via the queue into rust-lang:main with commit ccb4324 Feb 2, 2026
75 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants