[ARM] Better OR's for MVE compares
[llvm-core.git] / test / MC / SystemZ / regs-good.s
blobc20301133d8702f664aad14ad436a4b85a9d6bfd
1 # RUN: llvm-mc -triple s390x-linux-gnu -show-encoding %s | FileCheck %s
3 #CHECK: lr %r0, %r1 # encoding: [0x18,0x01]
4 #CHECK: lr %r2, %r3 # encoding: [0x18,0x23]
5 #CHECK: lr %r4, %r5 # encoding: [0x18,0x45]
6 #CHECK: lr %r6, %r7 # encoding: [0x18,0x67]
7 #CHECK: lr %r8, %r9 # encoding: [0x18,0x89]
8 #CHECK: lr %r10, %r11 # encoding: [0x18,0xab]
9 #CHECK: lr %r12, %r13 # encoding: [0x18,0xcd]
10 #CHECK: lr %r14, %r15 # encoding: [0x18,0xef]
12 lr %r0,%r1
13 lr %r2,%r3
14 lr %r4,%r5
15 lr %r6,%r7
16 lr %r8,%r9
17 lr %r10,%r11
18 lr %r12,%r13
19 lr %r14,%r15
21 #CHECK: lgr %r0, %r1 # encoding: [0xb9,0x04,0x00,0x01]
22 #CHECK: lgr %r2, %r3 # encoding: [0xb9,0x04,0x00,0x23]
23 #CHECK: lgr %r4, %r5 # encoding: [0xb9,0x04,0x00,0x45]
24 #CHECK: lgr %r6, %r7 # encoding: [0xb9,0x04,0x00,0x67]
25 #CHECK: lgr %r8, %r9 # encoding: [0xb9,0x04,0x00,0x89]
26 #CHECK: lgr %r10, %r11 # encoding: [0xb9,0x04,0x00,0xab]
27 #CHECK: lgr %r12, %r13 # encoding: [0xb9,0x04,0x00,0xcd]
28 #CHECK: lgr %r14, %r15 # encoding: [0xb9,0x04,0x00,0xef]
30 lgr %r0,%r1
31 lgr %r2,%r3
32 lgr %r4,%r5
33 lgr %r6,%r7
34 lgr %r8,%r9
35 lgr %r10,%r11
36 lgr %r12,%r13
37 lgr %r14,%r15
39 #CHECK: dlr %r0, %r0 # encoding: [0xb9,0x97,0x00,0x00]
40 #CHECK: dlr %r2, %r0 # encoding: [0xb9,0x97,0x00,0x20]
41 #CHECK: dlr %r4, %r0 # encoding: [0xb9,0x97,0x00,0x40]
42 #CHECK: dlr %r6, %r0 # encoding: [0xb9,0x97,0x00,0x60]
43 #CHECK: dlr %r8, %r0 # encoding: [0xb9,0x97,0x00,0x80]
44 #CHECK: dlr %r10, %r0 # encoding: [0xb9,0x97,0x00,0xa0]
45 #CHECK: dlr %r12, %r0 # encoding: [0xb9,0x97,0x00,0xc0]
46 #CHECK: dlr %r14, %r0 # encoding: [0xb9,0x97,0x00,0xe0]
48 dlr %r0,%r0
49 dlr %r2,%r0
50 dlr %r4,%r0
51 dlr %r6,%r0
52 dlr %r8,%r0
53 dlr %r10,%r0
54 dlr %r12,%r0
55 dlr %r14,%r0
57 #CHECK: ler %f0, %f1 # encoding: [0x38,0x01]
58 #CHECK: ler %f2, %f3 # encoding: [0x38,0x23]
59 #CHECK: ler %f4, %f5 # encoding: [0x38,0x45]
60 #CHECK: ler %f6, %f7 # encoding: [0x38,0x67]
61 #CHECK: ler %f8, %f9 # encoding: [0x38,0x89]
62 #CHECK: ler %f10, %f11 # encoding: [0x38,0xab]
63 #CHECK: ler %f12, %f13 # encoding: [0x38,0xcd]
64 #CHECK: ler %f14, %f15 # encoding: [0x38,0xef]
66 ler %f0,%f1
67 ler %f2,%f3
68 ler %f4,%f5
69 ler %f6,%f7
70 ler %f8,%f9
71 ler %f10,%f11
72 ler %f12,%f13
73 ler %f14,%f15
75 #CHECK: ldr %f0, %f1 # encoding: [0x28,0x01]
76 #CHECK: ldr %f2, %f3 # encoding: [0x28,0x23]
77 #CHECK: ldr %f4, %f5 # encoding: [0x28,0x45]
78 #CHECK: ldr %f6, %f7 # encoding: [0x28,0x67]
79 #CHECK: ldr %f8, %f9 # encoding: [0x28,0x89]
80 #CHECK: ldr %f10, %f11 # encoding: [0x28,0xab]
81 #CHECK: ldr %f12, %f13 # encoding: [0x28,0xcd]
82 #CHECK: ldr %f14, %f15 # encoding: [0x28,0xef]
84 ldr %f0,%f1
85 ldr %f2,%f3
86 ldr %f4,%f5
87 ldr %f6,%f7
88 ldr %f8,%f9
89 ldr %f10,%f11
90 ldr %f12,%f13
91 ldr %f14,%f15
93 #CHECK: lxr %f0, %f1 # encoding: [0xb3,0x65,0x00,0x01]
94 #CHECK: lxr %f4, %f5 # encoding: [0xb3,0x65,0x00,0x45]
95 #CHECK: lxr %f8, %f9 # encoding: [0xb3,0x65,0x00,0x89]
96 #CHECK: lxr %f12, %f13 # encoding: [0xb3,0x65,0x00,0xcd]
98 lxr %f0,%f1
99 lxr %f4,%f5
100 lxr %f8,%f9
101 lxr %f12,%f13
103 #CHECK: cpya %a0, %a1 # encoding: [0xb2,0x4d,0x00,0x01]
104 #CHECK: cpya %a2, %a3 # encoding: [0xb2,0x4d,0x00,0x23]
105 #CHECK: cpya %a4, %a5 # encoding: [0xb2,0x4d,0x00,0x45]
106 #CHECK: cpya %a6, %a7 # encoding: [0xb2,0x4d,0x00,0x67]
107 #CHECK: cpya %a8, %a9 # encoding: [0xb2,0x4d,0x00,0x89]
108 #CHECK: cpya %a10, %a11 # encoding: [0xb2,0x4d,0x00,0xab]
109 #CHECK: cpya %a12, %a13 # encoding: [0xb2,0x4d,0x00,0xcd]
110 #CHECK: cpya %a14, %a15 # encoding: [0xb2,0x4d,0x00,0xef]
112 cpya %a0,%a1
113 cpya %a2,%a3
114 cpya %a4,%a5
115 cpya %a6,%a7
116 cpya %a8,%a9
117 cpya %a10,%a11
118 cpya %a12,%a13
119 cpya %a14,%a15
121 #CHECK: lctl %c0, %c1, 0 # encoding: [0xb7,0x01,0x00,0x00]
122 #CHECK: lctl %c2, %c3, 0 # encoding: [0xb7,0x23,0x00,0x00]
123 #CHECK: lctl %c4, %c5, 0 # encoding: [0xb7,0x45,0x00,0x00]
124 #CHECK: lctl %c6, %c7, 0 # encoding: [0xb7,0x67,0x00,0x00]
125 #CHECK: lctl %c8, %c9, 0 # encoding: [0xb7,0x89,0x00,0x00]
126 #CHECK: lctl %c10, %c11, 0 # encoding: [0xb7,0xab,0x00,0x00]
127 #CHECK: lctl %c12, %c13, 0 # encoding: [0xb7,0xcd,0x00,0x00]
128 #CHECK: lctl %c14, %c15, 0 # encoding: [0xb7,0xef,0x00,0x00]
130 lctl %c0,%c1,0
131 lctl %c2,%c3,0
132 lctl %c4,%c5,0
133 lctl %c6,%c7,0
134 lctl %c8,%c9,0
135 lctl %c10,%c11,0
136 lctl %c12,%c13,0
137 lctl %c14,%c15,0
140 #CHECK: .cfi_offset %r0, 0
141 #CHECK: .cfi_offset %r1, 8
142 #CHECK: .cfi_offset %r2, 16
143 #CHECK: .cfi_offset %r3, 24
144 #CHECK: .cfi_offset %r4, 32
145 #CHECK: .cfi_offset %r5, 40
146 #CHECK: .cfi_offset %r6, 48
147 #CHECK: .cfi_offset %r7, 56
148 #CHECK: .cfi_offset %r8, 64
149 #CHECK: .cfi_offset %r9, 72
150 #CHECK: .cfi_offset %r10, 80
151 #CHECK: .cfi_offset %r11, 88
152 #CHECK: .cfi_offset %r12, 96
153 #CHECK: .cfi_offset %r13, 104
154 #CHECK: .cfi_offset %r14, 112
155 #CHECK: .cfi_offset %r15, 120
156 #CHECK: .cfi_offset %f0, 128
157 #CHECK: .cfi_offset %f1, 136
158 #CHECK: .cfi_offset %f2, 144
159 #CHECK: .cfi_offset %f3, 152
160 #CHECK: .cfi_offset %f4, 160
161 #CHECK: .cfi_offset %f5, 168
162 #CHECK: .cfi_offset %f6, 176
163 #CHECK: .cfi_offset %f7, 184
164 #CHECK: .cfi_offset %f8, 192
165 #CHECK: .cfi_offset %f9, 200
166 #CHECK: .cfi_offset %f10, 208
167 #CHECK: .cfi_offset %f11, 216
168 #CHECK: .cfi_offset %f12, 224
169 #CHECK: .cfi_offset %f13, 232
170 #CHECK: .cfi_offset %f14, 240
171 #CHECK: .cfi_offset %f15, 248
172 #CHECK: .cfi_offset %a0, 256
173 #CHECK: .cfi_offset %a1, 260
174 #CHECK: .cfi_offset %a2, 264
175 #CHECK: .cfi_offset %a3, 268
176 #CHECK: .cfi_offset %a4, 272
177 #CHECK: .cfi_offset %a5, 276
178 #CHECK: .cfi_offset %a6, 280
179 #CHECK: .cfi_offset %a7, 284
180 #CHECK: .cfi_offset %a8, 288
181 #CHECK: .cfi_offset %r9, 292
182 #CHECK: .cfi_offset %a10, 296
183 #CHECK: .cfi_offset %a11, 300
184 #CHECK: .cfi_offset %a12, 304
185 #CHECK: .cfi_offset %a13, 308
186 #CHECK: .cfi_offset %a14, 312
187 #CHECK: .cfi_offset %a15, 316
188 #CHECK: .cfi_offset %c0, 318
189 #CHECK: .cfi_offset %c1, 326
190 #CHECK: .cfi_offset %c2, 334
191 #CHECK: .cfi_offset %c3, 342
192 #CHECK: .cfi_offset %c4, 350
193 #CHECK: .cfi_offset %c5, 358
194 #CHECK: .cfi_offset %c6, 366
195 #CHECK: .cfi_offset %c7, 374
196 #CHECK: .cfi_offset %c8, 382
197 #CHECK: .cfi_offset %c9, 390
198 #CHECK: .cfi_offset %c10, 398
199 #CHECK: .cfi_offset %c11, 406
200 #CHECK: .cfi_offset %c12, 414
201 #CHECK: .cfi_offset %c13, 422
202 #CHECK: .cfi_offset %c14, 430
203 #CHECK: .cfi_offset %c15, 438
205 .cfi_startproc
206 .cfi_offset %r0,0
207 .cfi_offset %r1,8
208 .cfi_offset %r2,16
209 .cfi_offset %r3,24
210 .cfi_offset %r4,32
211 .cfi_offset %r5,40
212 .cfi_offset %r6,48
213 .cfi_offset %r7,56
214 .cfi_offset %r8,64
215 .cfi_offset %r9,72
216 .cfi_offset %r10,80
217 .cfi_offset %r11,88
218 .cfi_offset %r12,96
219 .cfi_offset %r13,104
220 .cfi_offset %r14,112
221 .cfi_offset %r15,120
222 .cfi_offset %f0,128
223 .cfi_offset %f1,136
224 .cfi_offset %f2,144
225 .cfi_offset %f3,152
226 .cfi_offset %f4,160
227 .cfi_offset %f5,168
228 .cfi_offset %f6,176
229 .cfi_offset %f7,184
230 .cfi_offset %f8,192
231 .cfi_offset %f9,200
232 .cfi_offset %f10,208
233 .cfi_offset %f11,216
234 .cfi_offset %f12,224
235 .cfi_offset %f13,232
236 .cfi_offset %f14,240
237 .cfi_offset %f15,248
238 .cfi_offset %a0,256
239 .cfi_offset %a1,260
240 .cfi_offset %a2,264
241 .cfi_offset %a3,268
242 .cfi_offset %a4,272
243 .cfi_offset %a5,276
244 .cfi_offset %a6,280
245 .cfi_offset %a7,284
246 .cfi_offset %a8,288
247 .cfi_offset %r9,292
248 .cfi_offset %a10,296
249 .cfi_offset %a11,300
250 .cfi_offset %a12,304
251 .cfi_offset %a13,308
252 .cfi_offset %a14,312
253 .cfi_offset %a15,316
254 .cfi_offset %c0,318
255 .cfi_offset %c1,326
256 .cfi_offset %c2,334
257 .cfi_offset %c3,342
258 .cfi_offset %c4,350
259 .cfi_offset %c5,358
260 .cfi_offset %c6,366
261 .cfi_offset %c7,374
262 .cfi_offset %c8,382
263 .cfi_offset %c9,390
264 .cfi_offset %c10,398
265 .cfi_offset %c11,406
266 .cfi_offset %c12,414
267 .cfi_offset %c13,422
268 .cfi_offset %c14,430
269 .cfi_offset %c15,438
270 .cfi_endproc