Skip to content

Commit 3e81a94

Browse files
committed
fixup! [AArch64][llvm] Unify AArch64 tests into a single file (2/4) (NFC)
1 parent 17e13b2 commit 3e81a94

File tree

1 file changed

+12
-13
lines changed

1 file changed

+12
-13
lines changed

llvm/test/MC/AArch64/armv9.4a-gcs.s

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
1212
// RUN: | llvm-mc -triple=aarch64 -mattr=+gcs -disassemble -show-encoding \
1313
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
14-
// RUN: not llvm-mc -triple aarch64 -show-encoding %s 2>%t | FileCheck %s --check-prefix=NO-GCS
1514

1615

1716
msr GCSCR_EL1, x0
@@ -150,18 +149,6 @@ gcspopm x25
150149
// CHECK-ERROR: error: instruction requires: gcs
151150
// CHECK-UNKNOWN: d52b7739 sysl x25, #3, c7, c7, #1
152151

153-
gcsb dsync
154-
// CHECK-INST: gcsb dsync
155-
// CHECK-ENCODING: encoding: [0x7f,0x22,0x03,0xd5]
156-
// CHECK-UNKNOWN: d503227f hint #19
157-
// NO-GCS: hint #19 // encoding: [0x7f,0x22,0x03,0xd5]
158-
159-
hint #19
160-
// CHECK-INST: gcsb dsync
161-
// CHECK-ENCODING: encoding: [0x7f,0x22,0x03,0xd5]
162-
// CHECK-UNKNOWN: d503227f hint #19
163-
// NO-GCS: hint #19 // encoding: [0x7f,0x22,0x03,0xd5]
164-
165152
gcsstr x26, [x27]
166153
// CHECK-INST: gcsstr x26, [x27]
167154
// CHECK-ENCODING: encoding: [0x7a,0x0f,0x1f,0xd9]
@@ -203,3 +190,15 @@ gcspopx
203190
// CHECK-ENCODING: encoding: [0xdf,0x77,0x08,0xd5]
204191
// CHECK-ERROR: error: instruction requires: gcs
205192
// CHECK-UNKNOWN: d50877df sys #0, c7, c7, #6
193+
194+
gcsb dsync
195+
// CHECK-INST: gcsb dsync
196+
// CHECK-ENCODING: encoding: [0x7f,0x22,0x03,0xd5]
197+
// CHECK-UNKNOWN: d503227f hint #19
198+
// CHECK-ERROR: hint #19 // encoding: [0x7f,0x22,0x03,0xd5]
199+
200+
hint #19
201+
// CHECK-INST: gcsb dsync
202+
// CHECK-ENCODING: encoding: [0x7f,0x22,0x03,0xd5]
203+
// CHECK-UNKNOWN: d503227f hint #19
204+
// CHECK-ERROR: hint #19 // encoding: [0x7f,0x22,0x03,0xd5]

0 commit comments

Comments
 (0)