-
Notifications
You must be signed in to change notification settings - Fork 15.3k
[llvm-exegesis] Adding in llvm-exegesis for Aarch64 for handling FPR8/16/32 and FPCR setReg warning #130595
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
[llvm-exegesis] Adding in llvm-exegesis for Aarch64 for handling FPR8/16/32 and FPCR setReg warning #130595
Changes from 3 commits
5f3de22
62e8e36
b684c97
fae356f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -37,3 +37,39 @@ RUN: FileCheck %s --check-prefix=FPR64-ASM < %t.s | |
| FPR64-ASM: <foo>: | ||
| FPR64-ASM: movi d{{[0-9]+}}, #0000000000000000 | ||
| FPR64-ASM-NEXT: addv h{{[0-9]+}}, v{{[0-9]+}}.4h | ||
|
|
||
| ## FPR32 Register Class Initialization Testcase | ||
| RUN: llvm-exegesis -mcpu=neoverse-v2 -mode=latency --dump-object-to-disk=%d --opcode-name=FABSSr --benchmark-phase=assemble-measured-code 2>&1 | ||
| RUN: llvm-objdump -d %d > %t.s | ||
| RUN: FileCheck %s --check-prefix=FPR32-ASM < %t.s | ||
| FPR32-ASM: <foo>: | ||
| FPR32-ASM: movi d{{[0-9]+}}, #0000000000000000 | ||
| FPR32-ASM-NEXT: fabs s{{[0-9]+}}, s{{[0-9]+}} | ||
|
|
||
|
|
||
| ## FPR16 Register Class Initialization Testcase | ||
| RUN: llvm-exegesis -mcpu=neoverse-v2 -mode=latency --dump-object-to-disk=%d --opcode-name=FABSHr --benchmark-phase=assemble-measured-code 2>&1 | ||
| RUN: llvm-objdump -d %d > %t.s | ||
| RUN: FileCheck %s --check-prefix=FPR16-ASM < %t.s | ||
| FPR16-ASM: <foo>: | ||
| FPR16-ASM: movi d{{[0-9]+}}, #0000000000000000 | ||
sjoerdmeijer marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| FPR16-ASM-NEXT: fabs h{{[0-9]+}}, h{{[0-9]+}} | ||
|
|
||
| ## FPR8 Register Class Initialization Testcase | ||
| RUN: llvm-exegesis -mcpu=neoverse-v2 -mode=latency --dump-object-to-disk=%d --opcode-name=SQABSv1i8 --benchmark-phase=assemble-measured-code 2>&1 | ||
| RUN: llvm-objdump -d %d > %t.s | ||
| RUN: FileCheck %s --check-prefix=FPR8-ASM < %t.s | ||
| FPR8-ASM: <foo>: | ||
| FPR8-ASM: movi d{{[0-9]+}}, #0000000000000000 | ||
|
||
| FPR8-ASM-NEXT: sqabs b{{[0-9]+}}, b{{[0-9]+}} | ||
|
|
||
|
|
||
| ## FPCR Register Class Initialization Testcase | ||
| RUN: llvm-exegesis -mcpu=neoverse-v2 -mode=latency --dump-object-to-disk=%d --opcode-name=BFCVT --benchmark-phase=assemble-measured-code 2>&1 | ||
| RUN: llvm-objdump -d %d > %t.s | ||
| RUN: FileCheck %s --check-prefix=FPCR-ASM < %t.s | ||
| FPCR-ASM: <foo>: | ||
| FPCR-ASM: movi d{{[0-9]+}}, #0000000000000000 | ||
|
||
| FPCR-ASM-NEXT: mov x8, #0x0 | ||
| FPCR-ASM-NEXT: msr FPCR, x8 | ||
| FPCR-ASM-NEXT: bfcvt h{{[0-9]+}}, s{{[0-9]+}} | ||
Uh oh!
There was an error while loading. Please reload this page.