1 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=tonga
-show-encoding
%s | FileCheck
%s
4 // CHECK
: [0x41,0x31,0x80,0xbf]
7 // CHECK
: [0xd1,0xc1,0x80,0xbf]
10 // CHECK
: [0x00,0x00,0x81,0xbf]
13 // CHECK
: [0x41,0x31,0x82,0xbf]
16 // CHECK
: [0xd1,0xc1,0x82,0xbf]
19 // CHECK
: [0x00,0x00,0x83,0xbf]
22 // CHECK
: [0x41,0x31,0x84,0xbf]
25 // CHECK
: [0xd1,0xc1,0x84,0xbf]
28 // CHECK
: [0x41,0x31,0x85,0xbf]
31 // CHECK
: [0xd1,0xc1,0x85,0xbf]
34 // CHECK
: [0x41,0x31,0x86,0xbf]
37 // CHECK
: [0xd1,0xc1,0x86,0xbf]
40 // CHECK
: [0x41,0x31,0x87,0xbf]
43 // CHECK
: [0xd1,0xc1,0x87,0xbf]
46 // CHECK
: [0x41,0x31,0x88,0xbf]
49 // CHECK
: [0xd1,0xc1,0x88,0xbf]
51 s_cbranch_execnz
12609
52 // CHECK
: [0x41,0x31,0x89,0xbf]
54 s_cbranch_execnz
49617
55 // CHECK
: [0xd1,0xc1,0x89,0xbf]
58 // CHECK
: [0x00,0x00,0x8a,0xbf]
61 // CHECK
: [0x41,0x31,0x8b,0xbf]
64 // CHECK
: [0xd1,0xc1,0x8b,0xbf]
67 // CHECK
: [0x41,0x31,0x8c,0xbf]
70 // CHECK
: [0xd1,0xc1,0x8c,0xbf]
73 // CHECK
: [0x41,0x31,0x8d,0xbf]
76 // CHECK
: [0xd1,0xc1,0x8d,0xbf]
79 // CHECK
: [0x41,0x31,0x8e,0xbf]
82 // CHECK
: [0xd1,0xc1,0x8e,0xbf]
85 // CHECK
: [0x41,0x31,0x8f,0xbf]
88 // CHECK
: [0xd1,0xc1,0x8f,0xbf]
91 // CHECK
: [0x41,0x31,0x90,0xbf]
94 // CHECK
: [0xd1,0xc1,0x90,0xbf]
97 // CHECK
: [0x41,0x31,0x91,0xbf]
100 // CHECK
: [0xd1,0xc1,0x91,0xbf]
103 // CHECK
: [0x41,0x31,0x92,0xbf]
106 // CHECK
: [0xd1,0xc1,0x92,0xbf]
109 // CHECK
: [0x00,0x00,0x93,0xbf]
111 s_incperflevel
0x3141
112 // CHECK
: [0x41,0x31,0x94,0xbf]
114 s_incperflevel
0xc1d1
115 // CHECK
: [0xd1,0xc1,0x94,0xbf]
117 s_decperflevel
0x3141
118 // CHECK
: [0x41,0x31,0x95,0xbf]
120 s_decperflevel
0xc1d1
121 // CHECK
: [0xd1,0xc1,0x95,0xbf]
124 // CHECK
: [0x00,0x00,0x96,0xbf]
126 s_cbranch_cdbgsys
12609
127 // CHECK
: [0x41,0x31,0x97,0xbf]
129 s_cbranch_cdbgsys
49617
130 // CHECK
: [0xd1,0xc1,0x97,0xbf]
132 s_cbranch_cdbguser
12609
133 // CHECK
: [0x41,0x31,0x98,0xbf]
135 s_cbranch_cdbguser
49617
136 // CHECK
: [0xd1,0xc1,0x98,0xbf]
138 s_cbranch_cdbgsys_or_user
12609
139 // CHECK
: [0x41,0x31,0x99,0xbf]
141 s_cbranch_cdbgsys_or_user
49617
142 // CHECK
: [0xd1,0xc1,0x99,0xbf]
144 s_cbranch_cdbgsys_and_user
12609
145 // CHECK
: [0x41,0x31,0x9a,0xbf]
147 s_cbranch_cdbgsys_and_user
49617
148 // CHECK
: [0xd1,0xc1,0x9a,0xbf]
151 // CHECK
: [0x00,0x00,0x9b,0xbf]
154 // CHECK
: [0x00,0x00,0x9c,0xbf]
156 s_set_gpr_idx_mode
0x0
157 // CHECK
: [0x00,0x00,0x9d,0xbf]
159 s_set_gpr_idx_mode
0x1
160 // CHECK
: [0x01,0x00,0x9d,0xbf]
162 s_set_gpr_idx_mode
0xF
163 // CHECK
: [0x0f,0x00,0x9d,0xbf]