diff options
Diffstat (limited to 'test/MC/AArch64/SVE/eon-diagnostics.s')
-rw-r--r-- | test/MC/AArch64/SVE/eon-diagnostics.s | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/test/MC/AArch64/SVE/eon-diagnostics.s b/test/MC/AArch64/SVE/eon-diagnostics.s index 5b6f59ce23de..ffdd7222cb20 100644 --- a/test/MC/AArch64/SVE/eon-diagnostics.s +++ b/test/MC/AArch64/SVE/eon-diagnostics.s @@ -50,3 +50,13 @@ eon z7.d, z8.d, #254 // CHECK: [[@LINE-1]]:{{[0-9]+}}: error: operand must match destination register // CHECK-NEXT: eon z7.d, z8.d, #254 // CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: + + +// --------------------------------------------------------------------------// +// Negative tests for instructions that are incompatible with movprfx + +movprfx z0.d, p0/z, z7.d +eon z0.d, z0.d, #0x6 +// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: instruction is unpredictable when following a predicated movprfx, suggest using unpredicated movprfx +// CHECK-NEXT: eon z0.d, z0.d, #0x6 +// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}: |