-
Notifications
You must be signed in to change notification settings - Fork 15.5k
[llvm-mca][AArch64] Merge Neoverse NEON tests (NFC) #170881
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
c-rhodes
merged 12 commits into
llvm:main
from
c-rhodes:aarch64-llvm-mca-add-neoverse-fptoint-tests-nfc
Dec 9, 2025
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
6456b4c
[llvm-mca][AArch64] Split out FEAT_FRINTTS Neoverse tests
c-rhodes bf6771e
[llvm-mca][AArch64] Split out Neoverse V2/V3/V3AE neon tests
c-rhodes 1fc74f4
[llvm-mca][AArch64] Split out Neoverse N1/N2/N3 neon tests
c-rhodes 7cf24bf
[llvm-mca][AArch64] Split out FEAT_BF16 Neoverse tests
c-rhodes 2420f11
[llvm-mca][AArch64] Split out FEAT_FCMA Neoverse tests
c-rhodes ac9c48a
[llvm-mca][AArch64] Split out FEAT_FHM Neoverse tests
c-rhodes 6f484cd
[llvm-mca][AArch64] Split out FEAT_I8MM Neoverse tests
c-rhodes bccd2c2
[llvm-mca][AArch64] Bring Neoverse V2/V3 and N1/N2/N3 neon tests inline
c-rhodes 6c0ff16
[llvm-mca][AArch64] Merge Neoverse V2/V3 and N1/N2/N3 neon tests
c-rhodes 90842b0
[llvm-mca][AArch64] Bring Neoverse V1 and V2/V3/V3AE/N1/N2/N3 neon te…
c-rhodes 227d9c9
[llvm-mca][AArch64] Merge Neoverse NEON tests (NFC)
c-rhodes 753fa67
Re-add st4 { v0.b, v1.b, v2.b, v3.b }[9], [x0], x5
c-rhodes File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
11 changes: 11 additions & 0 deletions
11
llvm/test/tools/llvm-mca/AArch64/Neoverse/Inputs/bf16-instructions.s
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,11 @@ | ||
| bfcvt h0, s0 | ||
| bfcvtn v0.4h, v0.4s | ||
| bfcvtn2 v0.8h, v0.4s | ||
| bfdot v0.2s, v24.4h, v14.2h[2] | ||
| bfdot v0.2s, v0.4h, v0.4h | ||
| bfdot v0.4s, v0.8h, v0.8h | ||
| bfmlalb v0.4s, v0.8h, v0.8h | ||
| bfmlalb v0.4s, v0.8h, v0.h[3] | ||
| bfmlalt v0.4s, v0.8h, v0.8h | ||
| bfmlalt v0.4s, v0.8h, v0.h[3] | ||
| bfmmla v0.4s, v0.8h, v0.8h |
4 changes: 4 additions & 0 deletions
4
llvm/test/tools/llvm-mca/AArch64/Neoverse/Inputs/complxnum-instructions.s
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,4 @@ | ||
| fcadd v0.2s, v0.2s, v0.2s, 90 | ||
| fcadd v0.4s, v0.4s, v0.4s, 270 | ||
| fcmla v0.2s, v0.2s, v0.2s, #90 | ||
| fcmla v0.4s, v0.4s, v0.s[1], #0 |
16 changes: 16 additions & 0 deletions
16
llvm/test/tools/llvm-mca/AArch64/Neoverse/Inputs/fp16fml-instructions.s
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,16 @@ | ||
| fmlal v0.2s, v0.2h, v0.h[1] | ||
| fmlal v0.4s, v0.4h, v0.h[3] | ||
| fmlal v0.2s, v0.2h, v0.2h | ||
| fmlal v0.4s, v0.4h, v0.4h | ||
| fmlal2 v0.2s, v0.2h, v0.h[1] | ||
| fmlal2 v0.4s, v0.4h, v0.h[3] | ||
| fmlal2 v0.2s, v0.2h, v0.2h | ||
| fmlal2 v0.4s, v0.4h, v0.4h | ||
| fmlsl v0.2s, v0.2h, v0.h[1] | ||
| fmlsl v0.4s, v0.4h, v0.h[3] | ||
| fmlsl v0.2s, v0.2h, v0.2h | ||
| fmlsl v0.4s, v0.4h, v0.4h | ||
| fmlsl2 v0.2s, v0.2h, v0.h[1] | ||
| fmlsl2 v0.4s, v0.4h, v0.h[3] | ||
| fmlsl2 v0.2s, v0.2h, v0.2h | ||
| fmlsl2 v0.4s, v0.4h, v0.4h |
12 changes: 12 additions & 0 deletions
12
llvm/test/tools/llvm-mca/AArch64/Neoverse/Inputs/fptoint-instructions.s
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| frint32x v0.2d, v0.2d | ||
| frint32x v0.2s, v0.2s | ||
| frint32x v0.4s, v0.4s | ||
| frint32z v0.2d, v0.2d | ||
| frint32z v0.2s, v0.2s | ||
| frint32z v0.4s, v0.4s | ||
| frint64x v0.2d, v0.2d | ||
| frint64x v0.2s, v0.2s | ||
| frint64x v0.4s, v0.4s | ||
| frint64z v0.2d, v0.2d | ||
| frint64z v0.2s, v0.2s | ||
| frint64z v0.4s, v0.4s |
9 changes: 9 additions & 0 deletions
9
llvm/test/tools/llvm-mca/AArch64/Neoverse/Inputs/i8mm-instructions.s
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,9 @@ | ||
| smmla v0.4s, v0.16b, v0.16b | ||
| sudot v0.2s, v0.8b, v0.4b[2] | ||
| sudot v0.4s, v0.16b, v0.4b[2] | ||
| ummla v0.4s, v0.16b, v0.16b | ||
| usdot v0.2s, v0.8b, v0.4b[2] | ||
| usdot v0.2s, v0.8b, v0.8b | ||
| usdot v0.4s, v0.16b, v0.16b | ||
| usdot v0.4s, v0.16b, v0.4b[2] | ||
| usmmla v0.4s, v0.16b, v0.16b |
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: I would rename this file and the rest of the associated tests to
complex-add-instructionsinstead.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've just been using the -mattr feature name so this would be inconsistent then so I think I'll just leave as is. It is slightly annoying a character was skipped tho, would one more character hurt!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see, no problem then. The only reason I asked is because I thought it made it more clear which instructions were getting tested. But it's in no way a big deal.