1// RUN: not llvm-mc -triple=aarch64 -show-encoding -mattr=+sve  2>&1 < %s| FileCheck %s
2
3// --------------------------------------------------------------------------//
4// Predicate register must have .b suffix
5
6bics p0.h, p0/z, p0.h, p1.h
7// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register.
8// CHECK-NEXT: bics p0.h, p0/z, p0.h, p1.h
9// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
10
11bics p0.s, p0/z, p0.s, p1.s
12// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register.
13// CHECK-NEXT: bics p0.s, p0/z, p0.s, p1.s
14// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
15
16bics p0.d, p0/z, p0.d, p1.d
17// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid predicate register.
18// CHECK-NEXT: bics p0.d, p0/z, p0.d, p1.d
19// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
20
21// --------------------------------------------------------------------------//
22// Operation only has zeroing predicate behaviour (p0/z).
23
24bics p0.b, p0/m, p1.b, p2.b
25// CHECK: [[@LINE-1]]:{{[0-9]+}}: error: invalid operand
26// CHECK-NEXT: bics p0.b, p0/m, p1.b, p2.b
27// CHECK-NOT: [[@LINE-1]]:{{[0-9]+}}:
28