// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sme 2>&1 < %s| FileCheck %s
// Immediate out of upper bound .
addspl x19, x14, #32
// CHECK: :{{+}}: error: index must be an integer in range .
// CHECK-NEXT: addspl x19, x14, #32
// CHECK-NOT: :{{+}}:
// addspl requires an immediate, not a register.
addspl x19, x14, x15
// CHECK: :{{+}}: error: index must be an integer in range .
// CHECK-NEXT: addspl x19, x14, x15
// CHECK-NOT: :{{+}}: