// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme 2>&1 < %s| FileCheck %s
// ------------------------------------------------------------------------- //
// Invalid predicate
// invalid
revd z0.q, p8/m, z0.q
// CHECK: :{{+}}: error: invalid restricted predicate register, expected
// CHECK-NEXT: revd z0.q, p8/m, z0.q
// CHECK-NOT: :{{+}}:
// wrong predication qualifier, expected /m.
revd z0.q, p0/z, z0.q
// CHECK: :{{+}}: error: invalid operand for instruction
// CHECK-NEXT: revd z0.q, p0/z, z0.q
// CHECK-NOT: :{{+}}:
// ------------------------------------------------------------------------- //
// Invalid ZPR element width
revd z0.b, p0/m, z0.q
// CHECK: :{{+}}: error: invalid element width
// CHECK-NEXT: revd z0.b, p0/m, z0.q
// CHECK-NOT: :{{+}}:
revd z0.q, p0/m, z0.s
// CHECK: :{{+}}: error: invalid element width
// CHECK-NEXT: revd z0.q, p0/m, z0.s
// CHECK-NOT: :{{+}}: