Skip to content

Add more manual aarch64 load/store intrinsic tests#2086

Merged
folkertdev merged 2 commits intorust-lang:mainfrom
adamgemmell:dev/adagem01/new-neon-tests
Apr 17, 2026
Merged

Add more manual aarch64 load/store intrinsic tests#2086
folkertdev merged 2 commits intorust-lang:mainfrom
adamgemmell:dev/adagem01/new-neon-tests

Conversation

@adamgemmell
Copy link
Copy Markdown
Contributor

This was originally larger, but a fair number of the intrinsics I wrote tests for were already tested under different test names!

@rustbot
Copy link
Copy Markdown
Collaborator

rustbot commented Apr 17, 2026

r? @folkertdev

rustbot has assigned @folkertdev.
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

Why was this reviewer chosen?

The reviewer was selected based on:

  • Owners of files modified in this PR: @Amanieu, @folkertdev, @sayantn
  • @Amanieu, @folkertdev, @sayantn expanded to Amanieu, folkertdev, sayantn
  • Random selection from Amanieu, folkertdev, sayantn

@adamgemmell adamgemmell changed the title Add more tests for Neon load/store intrinsics Add more manual aarch64 load/store intrinsic tests Apr 17, 2026
@adamgemmell adamgemmell force-pushed the dev/adagem01/new-neon-tests branch 3 times, most recently from aa38fd0 to 4aba691 Compare April 17, 2026 16:17
macro_rules! lane_wide_store_load_roundtrip_fp16 {
($( $name:ident $args:tt);* $(;)?) => {
$(
#[simd_test(enable = "neon,fp16")]
Copy link
Copy Markdown
Contributor Author

@adamgemmell adamgemmell Apr 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any idea why these f16 tests pass on miri but not the regular ones above? They're all implemented with llvm builtins and aren't shimmed in miri as far as I can see

View changes since the review

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what works and what doesn't work?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, got there - the simd_test macro was silently filtering out these tests under miri because the fp16 feature wasn't enabled. I've added brought some target features from a recent cpu in the github actions job, which causes these to fail, and then ignored them again 😄

@adamgemmell adamgemmell force-pushed the dev/adagem01/new-neon-tests branch from 4aba691 to 076805d Compare April 17, 2026 19:45
@adamgemmell adamgemmell force-pushed the dev/adagem01/new-neon-tests branch from 076805d to 2d49c7b Compare April 17, 2026 19:52
@folkertdev folkertdev added this pull request to the merge queue Apr 17, 2026
Merged via the queue into rust-lang:main with commit 94f1001 Apr 17, 2026
76 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.

3 participants