1 // RUN
: llvm-mc
-triple aarch64
-show-encoding
-mattr
=+sve
< %s | FileCheck
%s
2 // RUN
: not llvm-mc
-triple aarch64
-show-encoding
-mattr
=-sve
< %s
2>&1 | FileCheck
%s
--check-prefix
=CHECK-DIAG
4 //------------------------------------------------------------------------------
5 // Condition code aliases for SVE
6 //------------------------------------------------------------------------------
9 // CHECK
: b.eq lbl
// encoding
: [0bAAA00000
,A,A,0x54]
10 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
11 // CHECK-DIAG
: invalid condition code
12 // CHECK-DIAG-NEXT
: b.none lbl
15 // CHECK
: b.ne lbl
// encoding
: [0bAAA00001
,A,A,0x54]
16 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
17 // CHECK-DIAG
: invalid condition code
18 // CHECK-DIAG-NEXT
: b.any lbl
21 // CHECK
: b.hs lbl
// encoding
: [0bAAA00010
,A,A,0x54]
22 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
23 // CHECK-DIAG
: invalid condition code
24 // CHECK-DIAG-NEXT
: b.nlast lbl
27 // CHECK
: b.lo lbl
// encoding
: [0bAAA00011
,A,A,0x54]
28 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
29 // CHECK-DIAG
: invalid condition code
30 // CHECK-DIAG-NEXT
: b.last lbl
33 // CHECK
: b.mi lbl
// encoding
: [0bAAA00100
,A,A,0x54]
34 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
35 // CHECK-DIAG
: invalid condition code
36 // CHECK-DIAG-NEXT
: b.first lbl
39 // CHECK
: b.pl lbl
// encoding
: [0bAAA00101
,A,A,0x54]
40 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
41 // CHECK-DIAG
: invalid condition code
42 // CHECK-DIAG-NEXT
: b.nfrst lbl
45 // CHECK
: b.hi lbl
// encoding
: [0bAAA01000
,A,A,0x54]
46 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
47 // CHECK-DIAG
: invalid condition code
48 // CHECK-DIAG-NEXT
: b.pmore lbl
51 // CHECK
: b.ls lbl
// encoding
: [0bAAA01001
,A,A,0x54]
52 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
53 // CHECK-DIAG
: invalid condition code
54 // CHECK-DIAG-NEXT
: b.plast lbl
57 // CHECK
: b.ge lbl
// encoding
: [0bAAA01010
,A,A,0x54]
58 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
59 // CHECK-DIAG
: invalid condition code
60 // CHECK-DIAG-NEXT
: b.tcont lbl
63 // CHECK
: b.lt lbl
// encoding
: [0bAAA01011
,A,A,0x54]
64 // CHECK-NEXT
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
65 // CHECK-DIAG
: invalid condition code
66 // CHECK-DIAG-NEXT
: b.tstop lbl