diff options
-rw-r--r-- | llvm/test/MC/AArch64/armv9.4a-gcs.s | 25 |
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] |