-
Notifications
You must be signed in to change notification settings - Fork 15.4k
[llvm-exegesis][AArch64] Disable pauth and ldgm as unsupported instructions #132346
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
Changes from 3 commits
f1e1d7a
5039c2b
6b81e65
bef8e21
dade502
b6ce448
783f86d
70eb3bf
a1fedb4
06fbe30
3af87a0
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 |
|---|---|---|
| @@ -0,0 +1,8 @@ | ||
| # REQUIRES: aarch64-registered-target | ||
|
|
||
| # Check for skipping of illegal instruction errors (AUT and LDGM) | ||
| # RUN: llvm-exegesis -mcpu=neoverse-v2 -mode=latency --opcode-name=AUTIA --benchmark-phase=assemble-measured-code 2>&1 | FileCheck %s --check-prefix=CHECK-AUTIA | ||
| # CHECK-AUTIA: AUTIA: Unsupported opcode: isPointerAuth | ||
|
|
||
| # RUN: llvm-exegesis -mcpu=neoverse-v2 -mode=latency --opcode-name=LDGM --benchmark-phase=assemble-measured-code 2>&1 | FileCheck %s --check-prefix=CHECK-LDGM | ||
| # CHECK-LDGM: LDGM: Unsupported opcode: load tag multiple |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -335,6 +335,9 @@ class ExegesisTarget { | |
| const OpcodeAvailabilityChecker IsOpcodeAvailable; | ||
| }; | ||
|
|
||
| bool isPointerAuth(unsigned Opcode); | ||
|
||
| bool isLoadTagMultiple(unsigned Opcode); | ||
|
|
||
| } // namespace exegesis | ||
| } // namespace llvm | ||
|
|
||
|
|
||
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.
All the changes in this file seem to be formatting changes that are now irrelevant to the PR? They should probably be reverted.
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.
Sjoerd suggested 'unclubbing' the unsupported error message to specify the exact reason. Thus, keeping this and formatter's changes for this file only.
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 would prefer these changes go in a separate patch.