1 # RUN: llvm-mc -triple=hexagon -disassemble < %s | FileCheck %s
2 # Hexagon Programmer's Reference Manual 11.7.1 NV/J
4 # Jump to address conditioned on new register value
5 0x11 0x40 0x71 0x70 0x92 0xd5 0x02 0x20
7 # CHECK-NEXT: if (cmp.eq(r17.new,r21)) jump:nt
8 0x11 0x40 0x71 0x70 0x92 0xf5 0x02 0x20
10 # CHECK-NEXT: if (cmp.eq(r17.new,r21)) jump:t
11 0x11 0x40 0x71 0x70 0x92 0xd5 0x42 0x20
13 # CHECK-NEXT: if (!cmp.eq(r17.new,r21)) jump:nt
14 0x11 0x40 0x71 0x70 0x92 0xf5 0x42 0x20
16 # CHECK-NEXT: if (!cmp.eq(r17.new,r21)) jump:t
17 0x11 0x40 0x71 0x70 0x92 0xd5 0x82 0x20
19 # CHECK-NEXT: if (cmp.gt(r17.new,r21)) jump:nt
20 0x11 0x40 0x71 0x70 0x92 0xf5 0x82 0x20
22 # CHECK-NEXT: if (cmp.gt(r17.new,r21)) jump:t
23 0x11 0x40 0x71 0x70 0x92 0xd5 0xc2 0x20
25 # CHECK-NEXT: if (!cmp.gt(r17.new,r21)) jump:nt
26 0x11 0x40 0x71 0x70 0x92 0xf5 0xc2 0x20
28 # CHECK-NEXT: if (!cmp.gt(r17.new,r21)) jump:t
29 0x11 0x40 0x71 0x70 0x92 0xd5 0x02 0x21
31 # CHECK-NEXT: if (cmp.gtu(r17.new,r21)) jump:nt
32 0x11 0x40 0x71 0x70 0x92 0xf5 0x02 0x21
34 # CHECK-NEXT: if (cmp.gtu(r17.new,r21)) jump:t
35 0x11 0x40 0x71 0x70 0x92 0xd5 0x42 0x21
37 # CHECK-NEXT: if (!cmp.gtu(r17.new,r21)) jump:nt
38 0x11 0x40 0x71 0x70 0x92 0xf5 0x42 0x21
40 # CHECK-NEXT: if (!cmp.gtu(r17.new,r21)) jump:t
41 0x11 0x40 0x71 0x70 0x92 0xd5 0x82 0x21
43 # CHECK-NEXT: if (cmp.gt(r21,r17.new)) jump:nt
44 0x11 0x40 0x71 0x70 0x92 0xf5 0x82 0x21
46 # CHECK-NEXT: if (cmp.gt(r21,r17.new)) jump:t
47 0x11 0x40 0x71 0x70 0x92 0xd5 0xc2 0x21
49 # CHECK-NEXT: if (!cmp.gt(r21,r17.new)) jump:nt
50 0x11 0x40 0x71 0x70 0x92 0xf5 0xc2 0x21
52 # CHECK-NEXT: if (!cmp.gt(r21,r17.new)) jump:t
53 0x11 0x40 0x71 0x70 0x92 0xd5 0x02 0x22
55 # CHECK-NEXT: if (cmp.gtu(r21,r17.new)) jump:nt
56 0x11 0x40 0x71 0x70 0x92 0xf5 0x02 0x22
58 # CHECK-NEXT: if (cmp.gtu(r21,r17.new)) jump:t
59 0x11 0x40 0x71 0x70 0x92 0xd5 0x42 0x22
61 # CHECK-NEXT: if (!cmp.gtu(r21,r17.new)) jump:nt
62 0x11 0x40 0x71 0x70 0x92 0xf5 0x42 0x22
64 # CHECK-NEXT: if (!cmp.gtu(r21,r17.new)) jump:t
65 0x11 0x40 0x71 0x70 0x92 0xd5 0x02 0x24
67 # CHECK-NEXT: if (cmp.eq(r17.new,#21)) jump:nt
68 0x11 0x40 0x71 0x70 0x92 0xf5 0x02 0x24
70 # CHECK-NEXT: if (cmp.eq(r17.new,#21)) jump:t
71 0x11 0x40 0x71 0x70 0x92 0xd5 0x42 0x24
73 # CHECK-NEXT: if (!cmp.eq(r17.new,#21)) jump:nt
74 0x11 0x40 0x71 0x70 0x92 0xf5 0x42 0x24
76 # CHECK-NEXT: if (!cmp.eq(r17.new,#21)) jump:t
77 0x11 0x40 0x71 0x70 0x92 0xd5 0x82 0x24
79 # CHECK-NEXT: if (cmp.gt(r17.new,#21)) jump:nt
80 0x11 0x40 0x71 0x70 0x92 0xf5 0x82 0x24
82 # CHECK-NEXT: if (cmp.gt(r17.new,#21)) jump:t
83 0x11 0x40 0x71 0x70 0x92 0xd5 0xc2 0x24
85 # CHECK-NEXT: if (!cmp.gt(r17.new,#21)) jump:nt
86 0x11 0x40 0x71 0x70 0x92 0xf5 0xc2 0x24
88 # CHECK-NEXT: if (!cmp.gt(r17.new,#21)) jump:t
89 0x11 0x40 0x71 0x70 0x92 0xd5 0x02 0x25
91 # CHECK-NEXT: if (cmp.gtu(r17.new,#21)) jump:nt
92 0x11 0x40 0x71 0x70 0x92 0xf5 0x02 0x25
94 # CHECK-NEXT: if (cmp.gtu(r17.new,#21)) jump:t
95 0x11 0x40 0x71 0x70 0x92 0xd5 0x42 0x25
97 # CHECK-NEXT: if (!cmp.gtu(r17.new,#21)) jump:nt
98 0x11 0x40 0x71 0x70 0x92 0xf5 0x42 0x25
100 # CHECK-NEXT: if (!cmp.gtu(r17.new,#21)) jump:t
101 0x11 0x40 0x71 0x70 0x92 0xc0 0x82 0x25
103 # CHECK-NEXT: if (tstbit(r17.new,#0)) jump:nt
104 0x11 0x40 0x71 0x70 0x92 0xe0 0x82 0x25
106 # CHECK-NEXT: if (tstbit(r17.new,#0)) jump:t
107 0x11 0x40 0x71 0x70 0x92 0xc0 0xc2 0x25
109 # CHECK-NEXT: if (!tstbit(r17.new,#0)) jump:nt
110 0x11 0x40 0x71 0x70 0x92 0xe0 0xc2 0x25
112 # CHECK-NEXT: if (!tstbit(r17.new,#0)) jump:t
113 0x11 0x40 0x71 0x70 0x92 0xc0 0x02 0x26
115 # CHECK-NEXT: if (cmp.eq(r17.new,#-1)) jump:nt
116 0x11 0x40 0x71 0x70 0x92 0xe0 0x02 0x26
118 # CHECK-NEXT: if (cmp.eq(r17.new,#-1)) jump:t
119 0x11 0x40 0x71 0x70 0x92 0xc0 0x42 0x26
121 # CHECK-NEXT: if (!cmp.eq(r17.new,#-1)) jump:nt
122 0x11 0x40 0x71 0x70 0x92 0xe0 0x42 0x26
124 # CHECK-NEXT: if (!cmp.eq(r17.new,#-1)) jump:t
125 0x11 0x40 0x71 0x70 0x92 0xc0 0x82 0x26
127 # CHECK-NEXT: if (cmp.gt(r17.new,#-1)) jump:nt
128 0x11 0x40 0x71 0x70 0x92 0xe0 0x82 0x26
130 # CHECK-NEXT: if (cmp.gt(r17.new,#-1)) jump:t
131 0x11 0x40 0x71 0x70 0x92 0xc0 0xc2 0x26
133 # CHECK-NEXT: if (!cmp.gt(r17.new,#-1)) jump:nt
134 0x11 0x40 0x71 0x70 0x92 0xe0 0xc2 0x26
136 # CHECK-NEXT: if (!cmp.gt(r17.new,#-1)) jump:t