1 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+hbc
< %s | FileCheck
%s
2 // RUN
: llvm-mc
-triple aarch64-none-linux-gnu
-show-encoding
-mattr
=+v8.8
a < %s | FileCheck
%s
3 // RUN
: not llvm-mc
-triple aarch64-none-linux-gnu
< %s
2>&1 | FileCheck
--check-prefix
=CHECK-NO-HBC-ERR
%s
24 // CHECK
: bc.eq lbl
// encoding
: [0bAAA10000
,A,A,0x54]
25 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
26 // CHECK
: bc.ne lbl
// encoding
: [0bAAA10001
,A,A,0x54]
27 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
28 // CHECK
: bc.hs lbl
// encoding
: [0bAAA10010
,A,A,0x54]
29 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
30 // CHECK
: bc.hs lbl
// encoding
: [0bAAA10010
,A,A,0x54]
31 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
32 // CHECK
: bc.lo lbl
// encoding
: [0bAAA10011
,A,A,0x54]
33 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
34 // CHECK
: bc.lo lbl
// encoding
: [0bAAA10011
,A,A,0x54]
35 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
36 // CHECK
: bc.mi lbl
// encoding
: [0bAAA10100
,A,A,0x54]
37 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
38 // CHECK
: bc.pl lbl
// encoding
: [0bAAA10101
,A,A,0x54]
39 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
40 // CHECK
: bc.vs lbl
// encoding
: [0bAAA10110
,A,A,0x54]
41 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
42 // CHECK
: bc.vc lbl
// encoding
: [0bAAA10111
,A,A,0x54]
43 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
44 // CHECK
: bc.hi lbl
// encoding
: [0bAAA11000
,A,A,0x54]
45 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
46 // CHECK
: bc.ls lbl
// encoding
: [0bAAA11001
,A,A,0x54]
47 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
48 // CHECK
: bc.ge lbl
// encoding
: [0bAAA11010
,A,A,0x54]
49 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
50 // CHECK
: bc.lt lbl
// encoding
: [0bAAA11011
,A,A,0x54]
51 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
52 // CHECK
: bc.gt lbl
// encoding
: [0bAAA11100
,A,A,0x54]
53 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
54 // CHECK
: bc.le lbl
// encoding
: [0bAAA11101
,A,A,0x54]
55 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
56 // CHECK
: bc.al lbl
// encoding
: [0bAAA11110
,A,A,0x54]
57 // CHECK
: // fixup
A - offset
: 0, value
: lbl
, kind
: fixup_aarch64_pcrel_branch19
59 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
60 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
61 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
62 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
63 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
64 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
65 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
66 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
67 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
68 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
69 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
70 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
71 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
72 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
73 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
74 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc
75 // CHECK-NO-HBC-ERR
: [[@LINE-
53]]:9: error
: instruction requires
: hbc