Skip to content

Commit b3a019f

Browse files
committed
fixup! [AArch64][llvm] Add support for Permission Overlays Extension 2 (FEAT_S1POE2)
Address CR comments
1 parent 715ea15 commit b3a019f

File tree

5 files changed

+9
-7
lines changed

5 files changed

+9
-7
lines changed

llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3955,6 +3955,8 @@ static const struct Extension {
39553955
{"f16f32dot", {AArch64::FeatureF16F32DOT}},
39563956
{"f16f32mm", {AArch64::FeatureF16F32MM}},
39573957
{"poe2", {AArch64::FeatureS1POE2}},
3958+
{"tev", {AArch64::FeatureTEV}},
3959+
{"btie", {AArch64::FeatureBTIE}},
39583960
};
39593961

39603962
static void setRequiredFeatureString(FeatureBitset FBS, std::string &Str) {

llvm/test/MC/AArch64/arm-poe2-tlbid-diagnostics.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ plbi vmalle1isnxs, x0
5353
plbi vmalle1osnxs, x0
5454
// CHECK-ERROR: error: specified plbi op does not use a register
5555

56-
56+
// Tests where no optional register operand allowed
5757
plbi alle3, x0
5858
// CHECK-ERROR: error: specified plbi op does not use a register
5959
// CHECK-NO-REGISTER: error: specified plbi op does not use a register

llvm/test/MC/AArch64/arm-poe2-tlbid.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
33
// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+poe2 < %s 2>&1 \
44
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5-
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+all < %s \
5+
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+tlbid,+poe2 < %s \
66
// RUN: | llvm-objdump -d --mattr=+tlbid,+poe2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST
7-
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+all < %s \
7+
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+tlbid,+poe2 < %s \
88
// RUN: | llvm-objdump -d --mattr=-tlbid,-poe2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-UNKNOWN
99
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
1010
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+tlbid,+poe2 < %s \

llvm/test/MC/AArch64/arm-poe2.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
33
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
44
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5-
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+all < %s \
5+
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+poe2 < %s \
66
// RUN: | llvm-objdump -d --mattr=+poe2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST
7-
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+all < %s \
7+
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+poe2 < %s \
88
// RUN: | llvm-objdump -d --mattr=-poe2 --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-UNKNOWN
99
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
1010
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+poe2 < %s \

llvm/test/MC/AArch64/arm-tev.s

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
33
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
44
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
5-
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+all < %s \
5+
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+tev < %s \
66
// RUN: | llvm-objdump -d --mattr=+tev --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-INST
7-
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+all < %s \
7+
// RUN: llvm-mc -triple=aarch64 -filetype=obj -mattr=+tev < %s \
88
// RUN: | llvm-objdump -d --mattr=-tev --no-print-imm-hex - | FileCheck %s --check-prefix=CHECK-UNKNOWN
99
// Disassemble encoding and check the re-encoding (-show-encoding) matches.
1010
// RUN: llvm-mc -triple=aarch64 -show-encoding -mattr=+tev < %s \

0 commit comments

Comments
 (0)