1 // RUN
: not llvm-mc
-triple
=aarch64
-show-encoding
-mattr
=+sve
2>&1 < %s| FileCheck
%s
4 // ------------------------------------------------------------------------- //
5 // BRKN only supports merging predication
7 brkns p0.
b, p15
/m
, p1.
b, p0.
b
8 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand
9 // CHECK-NEXT
: brkns p0.
b, p15
/m
, p1.
b, p0.
b
10 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
13 // ------------------------------------------------------------------------- //
14 // Check tied operand constraints
16 brkns p0.
b, p15
/z
, p1.
b, p1.
b
17 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: operand must match destination register
18 // CHECK-NEXT
: brkns p0.
b, p15
/z
, p1.
b, p1.
b
19 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}:
22 // ------------------------------------------------------------------------- //
23 // Only
.b is supported
25 brkns p15.s
, p15
/z
, p15.s
, p15.s
26 // CHECK
: [[@LINE-
1]]:{{[0-9]+}}: error
: invalid predicate register
27 // CHECK-NEXT
: brkns p15.s
, p15
/z
, p15.s
, p15.s
28 // CHECK-
NOT: [[@LINE-
1]]:{{[0-9]+}}: