diff options
Diffstat (limited to 'test/MC/AArch64/SVE/clasta.s')
-rw-r--r-- | test/MC/AArch64/SVE/clasta.s | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/MC/AArch64/SVE/clasta.s b/test/MC/AArch64/SVE/clasta.s index 3e120310298b..05f6f92afac9 100644 --- a/test/MC/AArch64/SVE/clasta.s +++ b/test/MC/AArch64/SVE/clasta.s @@ -78,3 +78,19 @@ clasta z0.d, p7, z0.d, z31.d // CHECK-ENCODING: [0xe0,0x9f,0xe8,0x05] // CHECK-ERROR: instruction requires: sve // CHECK-UNKNOWN: e0 9f e8 05 <unknown> + + +// --------------------------------------------------------------------------// +// Test compatibility with MOVPRFX instruction. + +movprfx z0, z7 +// CHECK-INST: movprfx z0, z7 +// CHECK-ENCODING: [0xe0,0xbc,0x20,0x04] +// CHECK-ERROR: instruction requires: sve +// CHECK-UNKNOWN: e0 bc 20 04 <unknown> + +clasta z0.d, p7, z0.d, z31.d +// CHECK-INST: clasta z0.d, p7, z0.d, z31.d +// CHECK-ENCODING: [0xe0,0x9f,0xe8,0x05] +// CHECK-ERROR: instruction requires: sve +// CHECK-UNKNOWN: e0 9f e8 05 <unknown> |