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]
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]
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]
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]
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]
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]
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]
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]
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