1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve  2>&1 < %s| FileCheck %s
2
3
4// ------------------------------------------------------------------------- //
5// Invalid element widths.
6
7punpklo p0.b, p0.b
8// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
9// CHECK-NEXT: punpklo p0.b, p0.b
10// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
11
12punpklo p0.s, p0.h
13// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register
14// CHECK-NEXT: punpklo p0.s, p0.h
15// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
16