aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Thackray <jonathan.thackray@arm.com>2025-07-25 00:04:03 +0100
committerJonathan Thackray <jonathan.thackray@arm.com>2025-07-25 00:11:32 +0100
commitaf93d1bcb87cfef6ba40f75f6fa2fb43bee23d4a (patch)
treee4a22715e65150fa0f5150e80ee2c7f84f1f3956
parentafddca675f61ed9edbd65797aa2454ec2315a9de (diff)
downloadllvm-users/jthackray/unify-tests2.zip
llvm-users/jthackray/unify-tests2.tar.gz
llvm-users/jthackray/unify-tests2.tar.bz2
fixup! [AArch64][llvm] Unify AArch64 tests into a single file (2/4) (NFC)users/jthackray/unify-tests2
-rw-r--r--llvm/test/MC/AArch64/armv9.4a-gcs.s25
1 files changed, 12 insertions, 13 deletions
diff --git a/llvm/test/MC/AArch64/armv9.4a-gcs.s b/llvm/test/MC/AArch64/armv9.4a-gcs.s
index 1b1856d..f702c94 100644
--- a/llvm/test/MC/AArch64/armv9.4a-gcs.s
+++ b/llvm/test/MC/AArch64/armv9.4a-gcs.s
@@ -11,7 +11,6 @@
// RUN: | sed '/.text/d' | sed 's/.*encoding: //g' \
// RUN: | llvm-mc -triple=aarch64 -mattr=+gcs -disassemble -show-encoding \
// RUN: | FileCheck %s --check-prefixes=CHECK-ENCODING,CHECK-INST
-// RUN: not llvm-mc -triple aarch64 -show-encoding %s 2>%t | FileCheck %s --check-prefix=NO-GCS
msr GCSCR_EL1, x0
@@ -150,18 +149,6 @@ gcspopm x25
// CHECK-ERROR: error: instruction requires: gcs
// CHECK-UNKNOWN: d52b7739 sysl x25, #3, c7, c7, #1
-gcsb dsync
-// CHECK-INST: gcsb dsync
-// CHECK-ENCODING: encoding: [0x7f,0x22,0x03,0xd5]
-// CHECK-UNKNOWN: d503227f hint #19
-// NO-GCS: hint #19 // encoding: [0x7f,0x22,0x03,0xd5]
-
-hint #19
-// CHECK-INST: gcsb dsync
-// CHECK-ENCODING: encoding: [0x7f,0x22,0x03,0xd5]
-// CHECK-UNKNOWN: d503227f hint #19
-// NO-GCS: hint #19 // encoding: [0x7f,0x22,0x03,0xd5]
-
gcsstr x26, [x27]
// CHECK-INST: gcsstr x26, [x27]
// CHECK-ENCODING: encoding: [0x7a,0x0f,0x1f,0xd9]
@@ -203,3 +190,15 @@ gcspopx
// CHECK-ENCODING: encoding: [0xdf,0x77,0x08,0xd5]
// CHECK-ERROR: error: instruction requires: gcs
// CHECK-UNKNOWN: d50877df sys #0, c7, c7, #6
+
+gcsb dsync
+// CHECK-INST: gcsb dsync
+// CHECK-ENCODING: encoding: [0x7f,0x22,0x03,0xd5]
+// CHECK-UNKNOWN: d503227f hint #19
+// CHECK-ERROR: hint #19 // encoding: [0x7f,0x22,0x03,0xd5]
+
+hint #19
+// CHECK-INST: gcsb dsync
+// CHECK-ENCODING: encoding: [0x7f,0x22,0x03,0xd5]
+// CHECK-UNKNOWN: d503227f hint #19
+// CHECK-ERROR: hint #19 // encoding: [0x7f,0x22,0x03,0xd5]