Skip to content

Commit 6ee9a5c

Browse files
committed
fixup! [AArch64][llvm] Armv9.7-A: Add support for GICv5 (FEAT_GCIE)
Minor test nits, and remove duplicated tests
1 parent ccda73d commit 6ee9a5c

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
// RUN: not llvm-mc -triple=aarch64 -mattr=+gcie -show-encoding < %s 2>&1 \
22
// RUN: | FileCheck %s --check-prefix=CHECK-ERROR
3-
// RUN: not llvm-mc -triple=aarch64 -show-encoding < %s 2>&1 \
4-
// RUN: | FileCheck %s --check-prefix=CHECK-REQUIRES-GCIE
53

64
//------------------------------------------------------------------------------
75
// FEAT_GCIE instructions
@@ -10,20 +8,11 @@
108
gsb
119
// CHECK-ERROR: error: invalid operand for GSB instruction
1210

13-
gsb ack
14-
// CHECK-REQUIRES-GCIE: GSB ack requires: gcie
15-
1611
gicr
1712
// CHECK-ERROR: error: expected register operand
1813

1914
gicr x3, foo
2015
// CHECK-ERROR: error: invalid operand for GICR instruction
2116

22-
gicr x3, cdnmia
23-
// CHECK-REQUIRES-GCIE: GICR cdnmia requires: gcie
24-
2517
gic cdaff
2618
// CHECK-ERROR: error: specified gic op requires a register
27-
28-
gic cdaff, x3
29-
// CHECK-REQUIRES-GCIE: GIC cdaff requires: gcie

llvm/test/MC/AArch64/armv9.7a-gcie.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=+gcie < %s \
66
// RUN: | llvm-objdump -d --mattr=+gcie --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=+gcie < %s \
88
// RUN: | llvm-objdump -d --mattr=-gcie --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=+gcie < %s \

0 commit comments

Comments
 (0)