1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
2 ; RUN: llc -mtriple=riscv32 -mattr=+zhinx -verify-machineinstrs < %s \
3 ; RUN: | FileCheck -check-prefix=ZHINX32 %s
4 ; RUN: llc -mtriple=riscv64 -mattr=+zhinx -verify-machineinstrs < %s \
5 ; RUN: | FileCheck -check-prefix=ZHINX64 %s
6 ; RUN: llc -mtriple=riscv32 -mattr=+zfinx -verify-machineinstrs < %s \
7 ; RUN: | FileCheck -check-prefix=ZFINX32 %s
8 ; RUN: llc -mtriple=riscv64 -mattr=+zfinx -verify-machineinstrs < %s \
9 ; RUN: | FileCheck -check-prefix=ZFINX64 %s
10 ; RUN: llc -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs < %s \
11 ; RUN: | FileCheck -check-prefix=ZDINX32 %s
12 ; RUN: llc -mtriple=riscv64 -mattr=+zdinx -verify-machineinstrs < %s \
13 ; RUN: | FileCheck -check-prefix=ZDINX64 %s
15 define half @caller_half(half %x) nounwind {
16 ; ZHINX32-LABEL: caller_half:
17 ; ZHINX32: # %bb.0: # %entry
18 ; ZHINX32-NEXT: tail h
20 ; ZHINX64-LABEL: caller_half:
21 ; ZHINX64: # %bb.0: # %entry
22 ; ZHINX64-NEXT: tail h
24 ; ZFINX32-LABEL: caller_half:
25 ; ZFINX32: # %bb.0: # %entry
26 ; ZFINX32-NEXT: lui a1, 1048560
27 ; ZFINX32-NEXT: or a0, a0, a1
28 ; ZFINX32-NEXT: tail h
30 ; ZFINX64-LABEL: caller_half:
31 ; ZFINX64: # %bb.0: # %entry
32 ; ZFINX64-NEXT: lui a1, 1048560
33 ; ZFINX64-NEXT: or a0, a0, a1
34 ; ZFINX64-NEXT: tail h
36 ; ZDINX32-LABEL: caller_half:
37 ; ZDINX32: # %bb.0: # %entry
38 ; ZDINX32-NEXT: lui a1, 1048560
39 ; ZDINX32-NEXT: or a0, a0, a1
40 ; ZDINX32-NEXT: tail h
42 ; ZDINX64-LABEL: caller_half:
43 ; ZDINX64: # %bb.0: # %entry
44 ; ZDINX64-NEXT: lui a1, 1048560
45 ; ZDINX64-NEXT: or a0, a0, a1
46 ; ZDINX64-NEXT: tail h
48 %0 = tail call fastcc half @h(half %x)
52 define internal fastcc half @h(half %x) nounwind {
63 ; ZFINX32-NEXT: lui a1, 1048560
64 ; ZFINX32-NEXT: or a0, a0, a1
69 ; ZFINX64-NEXT: lui a1, 1048560
70 ; ZFINX64-NEXT: or a0, a0, a1
75 ; ZDINX32-NEXT: lui a1, 1048560
76 ; ZDINX32-NEXT: or a0, a0, a1
81 ; ZDINX64-NEXT: lui a1, 1048560
82 ; ZDINX64-NEXT: or a0, a0, a1
87 define float @caller_float(float %x) nounwind {
88 ; ZHINX32-LABEL: caller_float:
89 ; ZHINX32: # %bb.0: # %entry
90 ; ZHINX32-NEXT: tail f
92 ; ZHINX64-LABEL: caller_float:
93 ; ZHINX64: # %bb.0: # %entry
94 ; ZHINX64-NEXT: tail f
96 ; ZFINX32-LABEL: caller_float:
97 ; ZFINX32: # %bb.0: # %entry
98 ; ZFINX32-NEXT: tail f
100 ; ZFINX64-LABEL: caller_float:
101 ; ZFINX64: # %bb.0: # %entry
102 ; ZFINX64-NEXT: tail f
104 ; ZDINX32-LABEL: caller_float:
105 ; ZDINX32: # %bb.0: # %entry
106 ; ZDINX32-NEXT: tail f
108 ; ZDINX64-LABEL: caller_float:
109 ; ZDINX64: # %bb.0: # %entry
110 ; ZDINX64-NEXT: tail f
112 %0 = tail call fastcc float @f(float %x)
116 define internal fastcc float @f(float %x) nounwind {
118 ; ZHINX32: # %bb.0: # %entry
122 ; ZHINX64: # %bb.0: # %entry
126 ; ZFINX32: # %bb.0: # %entry
130 ; ZFINX64: # %bb.0: # %entry
134 ; ZDINX32: # %bb.0: # %entry
138 ; ZDINX64: # %bb.0: # %entry
144 define double @caller_double(double %x) nounwind {
145 ; ZHINX32-LABEL: caller_double:
146 ; ZHINX32: # %bb.0: # %entry
147 ; ZHINX32-NEXT: tail d
149 ; ZHINX64-LABEL: caller_double:
150 ; ZHINX64: # %bb.0: # %entry
151 ; ZHINX64-NEXT: tail d
153 ; ZFINX32-LABEL: caller_double:
154 ; ZFINX32: # %bb.0: # %entry
155 ; ZFINX32-NEXT: tail d
157 ; ZFINX64-LABEL: caller_double:
158 ; ZFINX64: # %bb.0: # %entry
159 ; ZFINX64-NEXT: tail d
161 ; ZDINX32-LABEL: caller_double:
162 ; ZDINX32: # %bb.0: # %entry
163 ; ZDINX32-NEXT: addi sp, sp, -32
164 ; ZDINX32-NEXT: sw ra, 28(sp) # 4-byte Folded Spill
165 ; ZDINX32-NEXT: sw a0, 16(sp)
166 ; ZDINX32-NEXT: sw a1, 20(sp)
167 ; ZDINX32-NEXT: lw a0, 16(sp)
168 ; ZDINX32-NEXT: lw a1, 20(sp)
169 ; ZDINX32-NEXT: sw a0, 0(sp)
170 ; ZDINX32-NEXT: sw a1, 4(sp)
171 ; ZDINX32-NEXT: call d
172 ; ZDINX32-NEXT: lw ra, 28(sp) # 4-byte Folded Reload
173 ; ZDINX32-NEXT: addi sp, sp, 32
176 ; ZDINX64-LABEL: caller_double:
177 ; ZDINX64: # %bb.0: # %entry
178 ; ZDINX64-NEXT: tail d
180 %0 = tail call fastcc double @d(double %x)
184 define internal fastcc double @d(double %x) nounwind {
186 ; ZHINX32: # %bb.0: # %entry
190 ; ZHINX64: # %bb.0: # %entry
194 ; ZFINX32: # %bb.0: # %entry
198 ; ZFINX64: # %bb.0: # %entry
202 ; ZDINX32: # %bb.0: # %entry
203 ; ZDINX32-NEXT: addi sp, sp, -16
204 ; ZDINX32-NEXT: lw a0, 16(sp)
205 ; ZDINX32-NEXT: lw a1, 20(sp)
206 ; ZDINX32-NEXT: sw a0, 8(sp)
207 ; ZDINX32-NEXT: sw a1, 12(sp)
208 ; ZDINX32-NEXT: lw a0, 8(sp)
209 ; ZDINX32-NEXT: lw a1, 12(sp)
210 ; ZDINX32-NEXT: addi sp, sp, 16
214 ; ZDINX64: # %bb.0: # %entry
220 define fastcc half @callee_half_32(<32 x half> %A) nounwind {
221 ; ZHINX32-LABEL: callee_half_32:
225 ; ZHINX64-LABEL: callee_half_32:
229 ; ZFINX32-LABEL: callee_half_32:
231 ; ZFINX32-NEXT: lui a1, 1048560
232 ; ZFINX32-NEXT: or a0, a0, a1
235 ; ZFINX64-LABEL: callee_half_32:
237 ; ZFINX64-NEXT: lui a1, 1048560
238 ; ZFINX64-NEXT: or a0, a0, a1
241 ; ZDINX32-LABEL: callee_half_32:
243 ; ZDINX32-NEXT: lui a1, 1048560
244 ; ZDINX32-NEXT: or a0, a0, a1
247 ; ZDINX64-LABEL: callee_half_32:
249 ; ZDINX64-NEXT: lui a1, 1048560
250 ; ZDINX64-NEXT: or a0, a0, a1
252 %B = extractelement <32 x half> %A, i32 0
256 define half @caller_half_32(<32 x half> %A) nounwind {
257 ; ZHINX32-LABEL: caller_half_32:
259 ; ZHINX32-NEXT: addi sp, sp, -112
260 ; ZHINX32-NEXT: sw ra, 108(sp) # 4-byte Folded Spill
261 ; ZHINX32-NEXT: sw s0, 104(sp) # 4-byte Folded Spill
262 ; ZHINX32-NEXT: sw s1, 100(sp) # 4-byte Folded Spill
263 ; ZHINX32-NEXT: sw s2, 96(sp) # 4-byte Folded Spill
264 ; ZHINX32-NEXT: sw s3, 92(sp) # 4-byte Folded Spill
265 ; ZHINX32-NEXT: sw s4, 88(sp) # 4-byte Folded Spill
266 ; ZHINX32-NEXT: sw s5, 84(sp) # 4-byte Folded Spill
267 ; ZHINX32-NEXT: sw s6, 80(sp) # 4-byte Folded Spill
268 ; ZHINX32-NEXT: sw s7, 76(sp) # 4-byte Folded Spill
269 ; ZHINX32-NEXT: sw s8, 72(sp) # 4-byte Folded Spill
270 ; ZHINX32-NEXT: sw s9, 68(sp) # 4-byte Folded Spill
271 ; ZHINX32-NEXT: sw s10, 64(sp) # 4-byte Folded Spill
272 ; ZHINX32-NEXT: sw s11, 60(sp) # 4-byte Folded Spill
273 ; ZHINX32-NEXT: lh t0, 112(sp)
274 ; ZHINX32-NEXT: sw t0, 56(sp) # 4-byte Folded Spill
275 ; ZHINX32-NEXT: lh t0, 116(sp)
276 ; ZHINX32-NEXT: sw t0, 52(sp) # 4-byte Folded Spill
277 ; ZHINX32-NEXT: lh t0, 120(sp)
278 ; ZHINX32-NEXT: sw t0, 48(sp) # 4-byte Folded Spill
279 ; ZHINX32-NEXT: lh t0, 124(sp)
280 ; ZHINX32-NEXT: sw t0, 44(sp) # 4-byte Folded Spill
281 ; ZHINX32-NEXT: lh t6, 128(sp)
282 ; ZHINX32-NEXT: lh t5, 132(sp)
283 ; ZHINX32-NEXT: lh t4, 136(sp)
284 ; ZHINX32-NEXT: lh s0, 140(sp)
285 ; ZHINX32-NEXT: lh s1, 144(sp)
286 ; ZHINX32-NEXT: lh s2, 148(sp)
287 ; ZHINX32-NEXT: lh s3, 152(sp)
288 ; ZHINX32-NEXT: lh s4, 156(sp)
289 ; ZHINX32-NEXT: lh s5, 160(sp)
290 ; ZHINX32-NEXT: lh s6, 164(sp)
291 ; ZHINX32-NEXT: lh s7, 168(sp)
292 ; ZHINX32-NEXT: lh s8, 172(sp)
293 ; ZHINX32-NEXT: lh s9, 176(sp)
294 ; ZHINX32-NEXT: lh s10, 180(sp)
295 ; ZHINX32-NEXT: lh s11, 184(sp)
296 ; ZHINX32-NEXT: lh ra, 188(sp)
297 ; ZHINX32-NEXT: lh t3, 192(sp)
298 ; ZHINX32-NEXT: lh t2, 196(sp)
299 ; ZHINX32-NEXT: lh t1, 200(sp)
300 ; ZHINX32-NEXT: lh t0, 204(sp)
301 ; ZHINX32-NEXT: sh t0, 36(sp)
302 ; ZHINX32-NEXT: sh t1, 34(sp)
303 ; ZHINX32-NEXT: sh t2, 32(sp)
304 ; ZHINX32-NEXT: sh t3, 30(sp)
305 ; ZHINX32-NEXT: sh ra, 28(sp)
306 ; ZHINX32-NEXT: sh s11, 26(sp)
307 ; ZHINX32-NEXT: sh s10, 24(sp)
308 ; ZHINX32-NEXT: sh s9, 22(sp)
309 ; ZHINX32-NEXT: sh s8, 20(sp)
310 ; ZHINX32-NEXT: sh s7, 18(sp)
311 ; ZHINX32-NEXT: sh s6, 16(sp)
312 ; ZHINX32-NEXT: sh s5, 14(sp)
313 ; ZHINX32-NEXT: sh s4, 12(sp)
314 ; ZHINX32-NEXT: sh s3, 10(sp)
315 ; ZHINX32-NEXT: sh s2, 8(sp)
316 ; ZHINX32-NEXT: sh s1, 6(sp)
317 ; ZHINX32-NEXT: sh s0, 4(sp)
318 ; ZHINX32-NEXT: sh t4, 2(sp)
319 ; ZHINX32-NEXT: sh t5, 0(sp)
320 ; ZHINX32-NEXT: lw t2, 56(sp) # 4-byte Folded Reload
321 ; ZHINX32-NEXT: lw t3, 52(sp) # 4-byte Folded Reload
322 ; ZHINX32-NEXT: lw t4, 48(sp) # 4-byte Folded Reload
323 ; ZHINX32-NEXT: lw t5, 44(sp) # 4-byte Folded Reload
324 ; ZHINX32-NEXT: call callee_half_32
325 ; ZHINX32-NEXT: lw ra, 108(sp) # 4-byte Folded Reload
326 ; ZHINX32-NEXT: lw s0, 104(sp) # 4-byte Folded Reload
327 ; ZHINX32-NEXT: lw s1, 100(sp) # 4-byte Folded Reload
328 ; ZHINX32-NEXT: lw s2, 96(sp) # 4-byte Folded Reload
329 ; ZHINX32-NEXT: lw s3, 92(sp) # 4-byte Folded Reload
330 ; ZHINX32-NEXT: lw s4, 88(sp) # 4-byte Folded Reload
331 ; ZHINX32-NEXT: lw s5, 84(sp) # 4-byte Folded Reload
332 ; ZHINX32-NEXT: lw s6, 80(sp) # 4-byte Folded Reload
333 ; ZHINX32-NEXT: lw s7, 76(sp) # 4-byte Folded Reload
334 ; ZHINX32-NEXT: lw s8, 72(sp) # 4-byte Folded Reload
335 ; ZHINX32-NEXT: lw s9, 68(sp) # 4-byte Folded Reload
336 ; ZHINX32-NEXT: lw s10, 64(sp) # 4-byte Folded Reload
337 ; ZHINX32-NEXT: lw s11, 60(sp) # 4-byte Folded Reload
338 ; ZHINX32-NEXT: addi sp, sp, 112
341 ; ZHINX64-LABEL: caller_half_32:
343 ; ZHINX64-NEXT: addi sp, sp, -176
344 ; ZHINX64-NEXT: sd ra, 168(sp) # 8-byte Folded Spill
345 ; ZHINX64-NEXT: sd s0, 160(sp) # 8-byte Folded Spill
346 ; ZHINX64-NEXT: sd s1, 152(sp) # 8-byte Folded Spill
347 ; ZHINX64-NEXT: sd s2, 144(sp) # 8-byte Folded Spill
348 ; ZHINX64-NEXT: sd s3, 136(sp) # 8-byte Folded Spill
349 ; ZHINX64-NEXT: sd s4, 128(sp) # 8-byte Folded Spill
350 ; ZHINX64-NEXT: sd s5, 120(sp) # 8-byte Folded Spill
351 ; ZHINX64-NEXT: sd s6, 112(sp) # 8-byte Folded Spill
352 ; ZHINX64-NEXT: sd s7, 104(sp) # 8-byte Folded Spill
353 ; ZHINX64-NEXT: sd s8, 96(sp) # 8-byte Folded Spill
354 ; ZHINX64-NEXT: sd s9, 88(sp) # 8-byte Folded Spill
355 ; ZHINX64-NEXT: sd s10, 80(sp) # 8-byte Folded Spill
356 ; ZHINX64-NEXT: sd s11, 72(sp) # 8-byte Folded Spill
357 ; ZHINX64-NEXT: lh t0, 176(sp)
358 ; ZHINX64-NEXT: sd t0, 64(sp) # 8-byte Folded Spill
359 ; ZHINX64-NEXT: lh t0, 184(sp)
360 ; ZHINX64-NEXT: sd t0, 56(sp) # 8-byte Folded Spill
361 ; ZHINX64-NEXT: lh t0, 192(sp)
362 ; ZHINX64-NEXT: sd t0, 48(sp) # 8-byte Folded Spill
363 ; ZHINX64-NEXT: lh t0, 200(sp)
364 ; ZHINX64-NEXT: sd t0, 40(sp) # 8-byte Folded Spill
365 ; ZHINX64-NEXT: lh t6, 208(sp)
366 ; ZHINX64-NEXT: lh t5, 216(sp)
367 ; ZHINX64-NEXT: lh t4, 224(sp)
368 ; ZHINX64-NEXT: lh s0, 232(sp)
369 ; ZHINX64-NEXT: lh s1, 240(sp)
370 ; ZHINX64-NEXT: lh s2, 248(sp)
371 ; ZHINX64-NEXT: lh s3, 256(sp)
372 ; ZHINX64-NEXT: lh s4, 264(sp)
373 ; ZHINX64-NEXT: lh s5, 272(sp)
374 ; ZHINX64-NEXT: lh s6, 280(sp)
375 ; ZHINX64-NEXT: lh s7, 288(sp)
376 ; ZHINX64-NEXT: lh s8, 296(sp)
377 ; ZHINX64-NEXT: lh s9, 304(sp)
378 ; ZHINX64-NEXT: lh s10, 312(sp)
379 ; ZHINX64-NEXT: lh s11, 320(sp)
380 ; ZHINX64-NEXT: lh ra, 328(sp)
381 ; ZHINX64-NEXT: lh t3, 336(sp)
382 ; ZHINX64-NEXT: lh t2, 344(sp)
383 ; ZHINX64-NEXT: lh t1, 352(sp)
384 ; ZHINX64-NEXT: lh t0, 360(sp)
385 ; ZHINX64-NEXT: sh t0, 36(sp)
386 ; ZHINX64-NEXT: sh t1, 34(sp)
387 ; ZHINX64-NEXT: sh t2, 32(sp)
388 ; ZHINX64-NEXT: sh t3, 30(sp)
389 ; ZHINX64-NEXT: sh ra, 28(sp)
390 ; ZHINX64-NEXT: sh s11, 26(sp)
391 ; ZHINX64-NEXT: sh s10, 24(sp)
392 ; ZHINX64-NEXT: sh s9, 22(sp)
393 ; ZHINX64-NEXT: sh s8, 20(sp)
394 ; ZHINX64-NEXT: sh s7, 18(sp)
395 ; ZHINX64-NEXT: sh s6, 16(sp)
396 ; ZHINX64-NEXT: sh s5, 14(sp)
397 ; ZHINX64-NEXT: sh s4, 12(sp)
398 ; ZHINX64-NEXT: sh s3, 10(sp)
399 ; ZHINX64-NEXT: sh s2, 8(sp)
400 ; ZHINX64-NEXT: sh s1, 6(sp)
401 ; ZHINX64-NEXT: sh s0, 4(sp)
402 ; ZHINX64-NEXT: sh t4, 2(sp)
403 ; ZHINX64-NEXT: sh t5, 0(sp)
404 ; ZHINX64-NEXT: ld t2, 64(sp) # 8-byte Folded Reload
405 ; ZHINX64-NEXT: ld t3, 56(sp) # 8-byte Folded Reload
406 ; ZHINX64-NEXT: ld t4, 48(sp) # 8-byte Folded Reload
407 ; ZHINX64-NEXT: ld t5, 40(sp) # 8-byte Folded Reload
408 ; ZHINX64-NEXT: call callee_half_32
409 ; ZHINX64-NEXT: ld ra, 168(sp) # 8-byte Folded Reload
410 ; ZHINX64-NEXT: ld s0, 160(sp) # 8-byte Folded Reload
411 ; ZHINX64-NEXT: ld s1, 152(sp) # 8-byte Folded Reload
412 ; ZHINX64-NEXT: ld s2, 144(sp) # 8-byte Folded Reload
413 ; ZHINX64-NEXT: ld s3, 136(sp) # 8-byte Folded Reload
414 ; ZHINX64-NEXT: ld s4, 128(sp) # 8-byte Folded Reload
415 ; ZHINX64-NEXT: ld s5, 120(sp) # 8-byte Folded Reload
416 ; ZHINX64-NEXT: ld s6, 112(sp) # 8-byte Folded Reload
417 ; ZHINX64-NEXT: ld s7, 104(sp) # 8-byte Folded Reload
418 ; ZHINX64-NEXT: ld s8, 96(sp) # 8-byte Folded Reload
419 ; ZHINX64-NEXT: ld s9, 88(sp) # 8-byte Folded Reload
420 ; ZHINX64-NEXT: ld s10, 80(sp) # 8-byte Folded Reload
421 ; ZHINX64-NEXT: ld s11, 72(sp) # 8-byte Folded Reload
422 ; ZHINX64-NEXT: addi sp, sp, 176
425 ; ZFINX32-LABEL: caller_half_32:
427 ; ZFINX32-NEXT: addi sp, sp, -144
428 ; ZFINX32-NEXT: sw ra, 140(sp) # 4-byte Folded Spill
429 ; ZFINX32-NEXT: sw s0, 136(sp) # 4-byte Folded Spill
430 ; ZFINX32-NEXT: sw s1, 132(sp) # 4-byte Folded Spill
431 ; ZFINX32-NEXT: sw s2, 128(sp) # 4-byte Folded Spill
432 ; ZFINX32-NEXT: sw s3, 124(sp) # 4-byte Folded Spill
433 ; ZFINX32-NEXT: sw s4, 120(sp) # 4-byte Folded Spill
434 ; ZFINX32-NEXT: sw s5, 116(sp) # 4-byte Folded Spill
435 ; ZFINX32-NEXT: sw s6, 112(sp) # 4-byte Folded Spill
436 ; ZFINX32-NEXT: sw s7, 108(sp) # 4-byte Folded Spill
437 ; ZFINX32-NEXT: sw s8, 104(sp) # 4-byte Folded Spill
438 ; ZFINX32-NEXT: sw s9, 100(sp) # 4-byte Folded Spill
439 ; ZFINX32-NEXT: sw s10, 96(sp) # 4-byte Folded Spill
440 ; ZFINX32-NEXT: sw s11, 92(sp) # 4-byte Folded Spill
441 ; ZFINX32-NEXT: lw t0, 0(a0)
442 ; ZFINX32-NEXT: lw a1, 4(a0)
443 ; ZFINX32-NEXT: sw a1, 88(sp) # 4-byte Folded Spill
444 ; ZFINX32-NEXT: lw a1, 8(a0)
445 ; ZFINX32-NEXT: sw a1, 84(sp) # 4-byte Folded Spill
446 ; ZFINX32-NEXT: lw a1, 12(a0)
447 ; ZFINX32-NEXT: sw a1, 80(sp) # 4-byte Folded Spill
448 ; ZFINX32-NEXT: lw a1, 16(a0)
449 ; ZFINX32-NEXT: sw a1, 76(sp) # 4-byte Folded Spill
450 ; ZFINX32-NEXT: lw a5, 20(a0)
451 ; ZFINX32-NEXT: lw a6, 24(a0)
452 ; ZFINX32-NEXT: lw a7, 28(a0)
453 ; ZFINX32-NEXT: lw t2, 32(a0)
454 ; ZFINX32-NEXT: lw t3, 36(a0)
455 ; ZFINX32-NEXT: lw t4, 40(a0)
456 ; ZFINX32-NEXT: lw t5, 44(a0)
457 ; ZFINX32-NEXT: lw t6, 48(a0)
458 ; ZFINX32-NEXT: lw t1, 52(a0)
459 ; ZFINX32-NEXT: lw s0, 56(a0)
460 ; ZFINX32-NEXT: lw s1, 60(a0)
461 ; ZFINX32-NEXT: lw s2, 64(a0)
462 ; ZFINX32-NEXT: lw s3, 68(a0)
463 ; ZFINX32-NEXT: lw s4, 72(a0)
464 ; ZFINX32-NEXT: lw s5, 76(a0)
465 ; ZFINX32-NEXT: lw s6, 80(a0)
466 ; ZFINX32-NEXT: lw s7, 84(a0)
467 ; ZFINX32-NEXT: lw s8, 88(a0)
468 ; ZFINX32-NEXT: lw s9, 92(a0)
469 ; ZFINX32-NEXT: lw s10, 96(a0)
470 ; ZFINX32-NEXT: lw s11, 100(a0)
471 ; ZFINX32-NEXT: lw ra, 104(a0)
472 ; ZFINX32-NEXT: lw a4, 108(a0)
473 ; ZFINX32-NEXT: lw a3, 112(a0)
474 ; ZFINX32-NEXT: lw a2, 116(a0)
475 ; ZFINX32-NEXT: lw a1, 120(a0)
476 ; ZFINX32-NEXT: lw a0, 124(a0)
477 ; ZFINX32-NEXT: sw a0, 72(sp)
478 ; ZFINX32-NEXT: sw a1, 68(sp)
479 ; ZFINX32-NEXT: sw a2, 64(sp)
480 ; ZFINX32-NEXT: sw a3, 60(sp)
481 ; ZFINX32-NEXT: sw a4, 56(sp)
482 ; ZFINX32-NEXT: sw ra, 52(sp)
483 ; ZFINX32-NEXT: sw s11, 48(sp)
484 ; ZFINX32-NEXT: sw s10, 44(sp)
485 ; ZFINX32-NEXT: sw s9, 40(sp)
486 ; ZFINX32-NEXT: sw s8, 36(sp)
487 ; ZFINX32-NEXT: sw s7, 32(sp)
488 ; ZFINX32-NEXT: sw s6, 28(sp)
489 ; ZFINX32-NEXT: sw s5, 24(sp)
490 ; ZFINX32-NEXT: sw s4, 20(sp)
491 ; ZFINX32-NEXT: sw s3, 16(sp)
492 ; ZFINX32-NEXT: sw s2, 12(sp)
493 ; ZFINX32-NEXT: sw s1, 8(sp)
494 ; ZFINX32-NEXT: sw s0, 4(sp)
495 ; ZFINX32-NEXT: sw t1, 0(sp)
496 ; ZFINX32-NEXT: mv a0, t0
497 ; ZFINX32-NEXT: lw a1, 88(sp) # 4-byte Folded Reload
498 ; ZFINX32-NEXT: lw a2, 84(sp) # 4-byte Folded Reload
499 ; ZFINX32-NEXT: lw a3, 80(sp) # 4-byte Folded Reload
500 ; ZFINX32-NEXT: lw a4, 76(sp) # 4-byte Folded Reload
501 ; ZFINX32-NEXT: call callee_half_32
502 ; ZFINX32-NEXT: lui a1, 1048560
503 ; ZFINX32-NEXT: or a0, a0, a1
504 ; ZFINX32-NEXT: lw ra, 140(sp) # 4-byte Folded Reload
505 ; ZFINX32-NEXT: lw s0, 136(sp) # 4-byte Folded Reload
506 ; ZFINX32-NEXT: lw s1, 132(sp) # 4-byte Folded Reload
507 ; ZFINX32-NEXT: lw s2, 128(sp) # 4-byte Folded Reload
508 ; ZFINX32-NEXT: lw s3, 124(sp) # 4-byte Folded Reload
509 ; ZFINX32-NEXT: lw s4, 120(sp) # 4-byte Folded Reload
510 ; ZFINX32-NEXT: lw s5, 116(sp) # 4-byte Folded Reload
511 ; ZFINX32-NEXT: lw s6, 112(sp) # 4-byte Folded Reload
512 ; ZFINX32-NEXT: lw s7, 108(sp) # 4-byte Folded Reload
513 ; ZFINX32-NEXT: lw s8, 104(sp) # 4-byte Folded Reload
514 ; ZFINX32-NEXT: lw s9, 100(sp) # 4-byte Folded Reload
515 ; ZFINX32-NEXT: lw s10, 96(sp) # 4-byte Folded Reload
516 ; ZFINX32-NEXT: lw s11, 92(sp) # 4-byte Folded Reload
517 ; ZFINX32-NEXT: addi sp, sp, 144
520 ; ZFINX64-LABEL: caller_half_32:
522 ; ZFINX64-NEXT: addi sp, sp, -288
523 ; ZFINX64-NEXT: sd ra, 280(sp) # 8-byte Folded Spill
524 ; ZFINX64-NEXT: sd s0, 272(sp) # 8-byte Folded Spill
525 ; ZFINX64-NEXT: sd s1, 264(sp) # 8-byte Folded Spill
526 ; ZFINX64-NEXT: sd s2, 256(sp) # 8-byte Folded Spill
527 ; ZFINX64-NEXT: sd s3, 248(sp) # 8-byte Folded Spill
528 ; ZFINX64-NEXT: sd s4, 240(sp) # 8-byte Folded Spill
529 ; ZFINX64-NEXT: sd s5, 232(sp) # 8-byte Folded Spill
530 ; ZFINX64-NEXT: sd s6, 224(sp) # 8-byte Folded Spill
531 ; ZFINX64-NEXT: sd s7, 216(sp) # 8-byte Folded Spill
532 ; ZFINX64-NEXT: sd s8, 208(sp) # 8-byte Folded Spill
533 ; ZFINX64-NEXT: sd s9, 200(sp) # 8-byte Folded Spill
534 ; ZFINX64-NEXT: sd s10, 192(sp) # 8-byte Folded Spill
535 ; ZFINX64-NEXT: sd s11, 184(sp) # 8-byte Folded Spill
536 ; ZFINX64-NEXT: ld t0, 0(a0)
537 ; ZFINX64-NEXT: ld a1, 8(a0)
538 ; ZFINX64-NEXT: sd a1, 176(sp) # 8-byte Folded Spill
539 ; ZFINX64-NEXT: ld a1, 16(a0)
540 ; ZFINX64-NEXT: sd a1, 168(sp) # 8-byte Folded Spill
541 ; ZFINX64-NEXT: ld a1, 24(a0)
542 ; ZFINX64-NEXT: sd a1, 160(sp) # 8-byte Folded Spill
543 ; ZFINX64-NEXT: ld a1, 32(a0)
544 ; ZFINX64-NEXT: sd a1, 152(sp) # 8-byte Folded Spill
545 ; ZFINX64-NEXT: ld a5, 40(a0)
546 ; ZFINX64-NEXT: ld a6, 48(a0)
547 ; ZFINX64-NEXT: ld a7, 56(a0)
548 ; ZFINX64-NEXT: ld t2, 64(a0)
549 ; ZFINX64-NEXT: ld t3, 72(a0)
550 ; ZFINX64-NEXT: ld t4, 80(a0)
551 ; ZFINX64-NEXT: ld t5, 88(a0)
552 ; ZFINX64-NEXT: ld t6, 96(a0)
553 ; ZFINX64-NEXT: ld t1, 104(a0)
554 ; ZFINX64-NEXT: ld s0, 112(a0)
555 ; ZFINX64-NEXT: ld s1, 120(a0)
556 ; ZFINX64-NEXT: ld s2, 128(a0)
557 ; ZFINX64-NEXT: ld s3, 136(a0)
558 ; ZFINX64-NEXT: ld s4, 144(a0)
559 ; ZFINX64-NEXT: ld s5, 152(a0)
560 ; ZFINX64-NEXT: ld s6, 160(a0)
561 ; ZFINX64-NEXT: ld s7, 168(a0)
562 ; ZFINX64-NEXT: ld s8, 176(a0)
563 ; ZFINX64-NEXT: ld s9, 184(a0)
564 ; ZFINX64-NEXT: ld s10, 192(a0)
565 ; ZFINX64-NEXT: ld s11, 200(a0)
566 ; ZFINX64-NEXT: ld ra, 208(a0)
567 ; ZFINX64-NEXT: ld a4, 216(a0)
568 ; ZFINX64-NEXT: ld a3, 224(a0)
569 ; ZFINX64-NEXT: ld a2, 232(a0)
570 ; ZFINX64-NEXT: ld a1, 240(a0)
571 ; ZFINX64-NEXT: ld a0, 248(a0)
572 ; ZFINX64-NEXT: sd a0, 144(sp)
573 ; ZFINX64-NEXT: sd a1, 136(sp)
574 ; ZFINX64-NEXT: sd a2, 128(sp)
575 ; ZFINX64-NEXT: sd a3, 120(sp)
576 ; ZFINX64-NEXT: sd a4, 112(sp)
577 ; ZFINX64-NEXT: sd ra, 104(sp)
578 ; ZFINX64-NEXT: sd s11, 96(sp)
579 ; ZFINX64-NEXT: sd s10, 88(sp)
580 ; ZFINX64-NEXT: sd s9, 80(sp)
581 ; ZFINX64-NEXT: sd s8, 72(sp)
582 ; ZFINX64-NEXT: sd s7, 64(sp)
583 ; ZFINX64-NEXT: sd s6, 56(sp)
584 ; ZFINX64-NEXT: sd s5, 48(sp)
585 ; ZFINX64-NEXT: sd s4, 40(sp)
586 ; ZFINX64-NEXT: sd s3, 32(sp)
587 ; ZFINX64-NEXT: sd s2, 24(sp)
588 ; ZFINX64-NEXT: sd s1, 16(sp)
589 ; ZFINX64-NEXT: sd s0, 8(sp)
590 ; ZFINX64-NEXT: sd t1, 0(sp)
591 ; ZFINX64-NEXT: mv a0, t0
592 ; ZFINX64-NEXT: ld a1, 176(sp) # 8-byte Folded Reload
593 ; ZFINX64-NEXT: ld a2, 168(sp) # 8-byte Folded Reload
594 ; ZFINX64-NEXT: ld a3, 160(sp) # 8-byte Folded Reload
595 ; ZFINX64-NEXT: ld a4, 152(sp) # 8-byte Folded Reload
596 ; ZFINX64-NEXT: call callee_half_32
597 ; ZFINX64-NEXT: lui a1, 1048560
598 ; ZFINX64-NEXT: or a0, a0, a1
599 ; ZFINX64-NEXT: ld ra, 280(sp) # 8-byte Folded Reload
600 ; ZFINX64-NEXT: ld s0, 272(sp) # 8-byte Folded Reload
601 ; ZFINX64-NEXT: ld s1, 264(sp) # 8-byte Folded Reload
602 ; ZFINX64-NEXT: ld s2, 256(sp) # 8-byte Folded Reload
603 ; ZFINX64-NEXT: ld s3, 248(sp) # 8-byte Folded Reload
604 ; ZFINX64-NEXT: ld s4, 240(sp) # 8-byte Folded Reload
605 ; ZFINX64-NEXT: ld s5, 232(sp) # 8-byte Folded Reload
606 ; ZFINX64-NEXT: ld s6, 224(sp) # 8-byte Folded Reload
607 ; ZFINX64-NEXT: ld s7, 216(sp) # 8-byte Folded Reload
608 ; ZFINX64-NEXT: ld s8, 208(sp) # 8-byte Folded Reload
609 ; ZFINX64-NEXT: ld s9, 200(sp) # 8-byte Folded Reload
610 ; ZFINX64-NEXT: ld s10, 192(sp) # 8-byte Folded Reload
611 ; ZFINX64-NEXT: ld s11, 184(sp) # 8-byte Folded Reload
612 ; ZFINX64-NEXT: addi sp, sp, 288
615 ; ZDINX32-LABEL: caller_half_32:
617 ; ZDINX32-NEXT: addi sp, sp, -144
618 ; ZDINX32-NEXT: sw ra, 140(sp) # 4-byte Folded Spill
619 ; ZDINX32-NEXT: sw s0, 136(sp) # 4-byte Folded Spill
620 ; ZDINX32-NEXT: sw s1, 132(sp) # 4-byte Folded Spill
621 ; ZDINX32-NEXT: sw s2, 128(sp) # 4-byte Folded Spill
622 ; ZDINX32-NEXT: sw s3, 124(sp) # 4-byte Folded Spill
623 ; ZDINX32-NEXT: sw s4, 120(sp) # 4-byte Folded Spill
624 ; ZDINX32-NEXT: sw s5, 116(sp) # 4-byte Folded Spill
625 ; ZDINX32-NEXT: sw s6, 112(sp) # 4-byte Folded Spill
626 ; ZDINX32-NEXT: sw s7, 108(sp) # 4-byte Folded Spill
627 ; ZDINX32-NEXT: sw s8, 104(sp) # 4-byte Folded Spill
628 ; ZDINX32-NEXT: sw s9, 100(sp) # 4-byte Folded Spill
629 ; ZDINX32-NEXT: sw s10, 96(sp) # 4-byte Folded Spill
630 ; ZDINX32-NEXT: sw s11, 92(sp) # 4-byte Folded Spill
631 ; ZDINX32-NEXT: lw t0, 0(a0)
632 ; ZDINX32-NEXT: lw a1, 4(a0)
633 ; ZDINX32-NEXT: sw a1, 88(sp) # 4-byte Folded Spill
634 ; ZDINX32-NEXT: lw a1, 8(a0)
635 ; ZDINX32-NEXT: sw a1, 84(sp) # 4-byte Folded Spill
636 ; ZDINX32-NEXT: lw a1, 12(a0)
637 ; ZDINX32-NEXT: sw a1, 80(sp) # 4-byte Folded Spill
638 ; ZDINX32-NEXT: lw a1, 16(a0)
639 ; ZDINX32-NEXT: sw a1, 76(sp) # 4-byte Folded Spill
640 ; ZDINX32-NEXT: lw a5, 20(a0)
641 ; ZDINX32-NEXT: lw a6, 24(a0)
642 ; ZDINX32-NEXT: lw a7, 28(a0)
643 ; ZDINX32-NEXT: lw t2, 32(a0)
644 ; ZDINX32-NEXT: lw t3, 36(a0)
645 ; ZDINX32-NEXT: lw t4, 40(a0)
646 ; ZDINX32-NEXT: lw t5, 44(a0)
647 ; ZDINX32-NEXT: lw t6, 48(a0)
648 ; ZDINX32-NEXT: lw t1, 52(a0)
649 ; ZDINX32-NEXT: lw s0, 56(a0)
650 ; ZDINX32-NEXT: lw s1, 60(a0)
651 ; ZDINX32-NEXT: lw s2, 64(a0)
652 ; ZDINX32-NEXT: lw s3, 68(a0)
653 ; ZDINX32-NEXT: lw s4, 72(a0)
654 ; ZDINX32-NEXT: lw s5, 76(a0)
655 ; ZDINX32-NEXT: lw s6, 80(a0)
656 ; ZDINX32-NEXT: lw s7, 84(a0)
657 ; ZDINX32-NEXT: lw s8, 88(a0)
658 ; ZDINX32-NEXT: lw s9, 92(a0)
659 ; ZDINX32-NEXT: lw s10, 96(a0)
660 ; ZDINX32-NEXT: lw s11, 100(a0)
661 ; ZDINX32-NEXT: lw ra, 104(a0)
662 ; ZDINX32-NEXT: lw a4, 108(a0)
663 ; ZDINX32-NEXT: lw a3, 112(a0)
664 ; ZDINX32-NEXT: lw a2, 116(a0)
665 ; ZDINX32-NEXT: lw a1, 120(a0)
666 ; ZDINX32-NEXT: lw a0, 124(a0)
667 ; ZDINX32-NEXT: sw a0, 72(sp)
668 ; ZDINX32-NEXT: sw a1, 68(sp)
669 ; ZDINX32-NEXT: sw a2, 64(sp)
670 ; ZDINX32-NEXT: sw a3, 60(sp)
671 ; ZDINX32-NEXT: sw a4, 56(sp)
672 ; ZDINX32-NEXT: sw ra, 52(sp)
673 ; ZDINX32-NEXT: sw s11, 48(sp)
674 ; ZDINX32-NEXT: sw s10, 44(sp)
675 ; ZDINX32-NEXT: sw s9, 40(sp)
676 ; ZDINX32-NEXT: sw s8, 36(sp)
677 ; ZDINX32-NEXT: sw s7, 32(sp)
678 ; ZDINX32-NEXT: sw s6, 28(sp)
679 ; ZDINX32-NEXT: sw s5, 24(sp)
680 ; ZDINX32-NEXT: sw s4, 20(sp)
681 ; ZDINX32-NEXT: sw s3, 16(sp)
682 ; ZDINX32-NEXT: sw s2, 12(sp)
683 ; ZDINX32-NEXT: sw s1, 8(sp)
684 ; ZDINX32-NEXT: sw s0, 4(sp)
685 ; ZDINX32-NEXT: sw t1, 0(sp)
686 ; ZDINX32-NEXT: mv a0, t0
687 ; ZDINX32-NEXT: lw a1, 88(sp) # 4-byte Folded Reload
688 ; ZDINX32-NEXT: lw a2, 84(sp) # 4-byte Folded Reload
689 ; ZDINX32-NEXT: lw a3, 80(sp) # 4-byte Folded Reload
690 ; ZDINX32-NEXT: lw a4, 76(sp) # 4-byte Folded Reload
691 ; ZDINX32-NEXT: call callee_half_32
692 ; ZDINX32-NEXT: lui a1, 1048560
693 ; ZDINX32-NEXT: or a0, a0, a1
694 ; ZDINX32-NEXT: lw ra, 140(sp) # 4-byte Folded Reload
695 ; ZDINX32-NEXT: lw s0, 136(sp) # 4-byte Folded Reload
696 ; ZDINX32-NEXT: lw s1, 132(sp) # 4-byte Folded Reload
697 ; ZDINX32-NEXT: lw s2, 128(sp) # 4-byte Folded Reload
698 ; ZDINX32-NEXT: lw s3, 124(sp) # 4-byte Folded Reload
699 ; ZDINX32-NEXT: lw s4, 120(sp) # 4-byte Folded Reload
700 ; ZDINX32-NEXT: lw s5, 116(sp) # 4-byte Folded Reload
701 ; ZDINX32-NEXT: lw s6, 112(sp) # 4-byte Folded Reload
702 ; ZDINX32-NEXT: lw s7, 108(sp) # 4-byte Folded Reload
703 ; ZDINX32-NEXT: lw s8, 104(sp) # 4-byte Folded Reload
704 ; ZDINX32-NEXT: lw s9, 100(sp) # 4-byte Folded Reload
705 ; ZDINX32-NEXT: lw s10, 96(sp) # 4-byte Folded Reload
706 ; ZDINX32-NEXT: lw s11, 92(sp) # 4-byte Folded Reload
707 ; ZDINX32-NEXT: addi sp, sp, 144
710 ; ZDINX64-LABEL: caller_half_32:
712 ; ZDINX64-NEXT: addi sp, sp, -288
713 ; ZDINX64-NEXT: sd ra, 280(sp) # 8-byte Folded Spill
714 ; ZDINX64-NEXT: sd s0, 272(sp) # 8-byte Folded Spill
715 ; ZDINX64-NEXT: sd s1, 264(sp) # 8-byte Folded Spill
716 ; ZDINX64-NEXT: sd s2, 256(sp) # 8-byte Folded Spill
717 ; ZDINX64-NEXT: sd s3, 248(sp) # 8-byte Folded Spill
718 ; ZDINX64-NEXT: sd s4, 240(sp) # 8-byte Folded Spill
719 ; ZDINX64-NEXT: sd s5, 232(sp) # 8-byte Folded Spill
720 ; ZDINX64-NEXT: sd s6, 224(sp) # 8-byte Folded Spill
721 ; ZDINX64-NEXT: sd s7, 216(sp) # 8-byte Folded Spill
722 ; ZDINX64-NEXT: sd s8, 208(sp) # 8-byte Folded Spill
723 ; ZDINX64-NEXT: sd s9, 200(sp) # 8-byte Folded Spill
724 ; ZDINX64-NEXT: sd s10, 192(sp) # 8-byte Folded Spill
725 ; ZDINX64-NEXT: sd s11, 184(sp) # 8-byte Folded Spill
726 ; ZDINX64-NEXT: ld t0, 0(a0)
727 ; ZDINX64-NEXT: ld a1, 8(a0)
728 ; ZDINX64-NEXT: sd a1, 176(sp) # 8-byte Folded Spill
729 ; ZDINX64-NEXT: ld a1, 16(a0)
730 ; ZDINX64-NEXT: sd a1, 168(sp) # 8-byte Folded Spill
731 ; ZDINX64-NEXT: ld a1, 24(a0)
732 ; ZDINX64-NEXT: sd a1, 160(sp) # 8-byte Folded Spill
733 ; ZDINX64-NEXT: ld a1, 32(a0)
734 ; ZDINX64-NEXT: sd a1, 152(sp) # 8-byte Folded Spill
735 ; ZDINX64-NEXT: ld a5, 40(a0)
736 ; ZDINX64-NEXT: ld a6, 48(a0)
737 ; ZDINX64-NEXT: ld a7, 56(a0)
738 ; ZDINX64-NEXT: ld t2, 64(a0)
739 ; ZDINX64-NEXT: ld t3, 72(a0)
740 ; ZDINX64-NEXT: ld t4, 80(a0)
741 ; ZDINX64-NEXT: ld t5, 88(a0)
742 ; ZDINX64-NEXT: ld t6, 96(a0)
743 ; ZDINX64-NEXT: ld t1, 104(a0)
744 ; ZDINX64-NEXT: ld s0, 112(a0)
745 ; ZDINX64-NEXT: ld s1, 120(a0)
746 ; ZDINX64-NEXT: ld s2, 128(a0)
747 ; ZDINX64-NEXT: ld s3, 136(a0)
748 ; ZDINX64-NEXT: ld s4, 144(a0)
749 ; ZDINX64-NEXT: ld s5, 152(a0)
750 ; ZDINX64-NEXT: ld s6, 160(a0)
751 ; ZDINX64-NEXT: ld s7, 168(a0)
752 ; ZDINX64-NEXT: ld s8, 176(a0)
753 ; ZDINX64-NEXT: ld s9, 184(a0)
754 ; ZDINX64-NEXT: ld s10, 192(a0)
755 ; ZDINX64-NEXT: ld s11, 200(a0)
756 ; ZDINX64-NEXT: ld ra, 208(a0)
757 ; ZDINX64-NEXT: ld a4, 216(a0)
758 ; ZDINX64-NEXT: ld a3, 224(a0)
759 ; ZDINX64-NEXT: ld a2, 232(a0)
760 ; ZDINX64-NEXT: ld a1, 240(a0)
761 ; ZDINX64-NEXT: ld a0, 248(a0)
762 ; ZDINX64-NEXT: sd a0, 144(sp)
763 ; ZDINX64-NEXT: sd a1, 136(sp)
764 ; ZDINX64-NEXT: sd a2, 128(sp)
765 ; ZDINX64-NEXT: sd a3, 120(sp)
766 ; ZDINX64-NEXT: sd a4, 112(sp)
767 ; ZDINX64-NEXT: sd ra, 104(sp)
768 ; ZDINX64-NEXT: sd s11, 96(sp)
769 ; ZDINX64-NEXT: sd s10, 88(sp)
770 ; ZDINX64-NEXT: sd s9, 80(sp)
771 ; ZDINX64-NEXT: sd s8, 72(sp)
772 ; ZDINX64-NEXT: sd s7, 64(sp)
773 ; ZDINX64-NEXT: sd s6, 56(sp)
774 ; ZDINX64-NEXT: sd s5, 48(sp)
775 ; ZDINX64-NEXT: sd s4, 40(sp)
776 ; ZDINX64-NEXT: sd s3, 32(sp)
777 ; ZDINX64-NEXT: sd s2, 24(sp)
778 ; ZDINX64-NEXT: sd s1, 16(sp)
779 ; ZDINX64-NEXT: sd s0, 8(sp)
780 ; ZDINX64-NEXT: sd t1, 0(sp)
781 ; ZDINX64-NEXT: mv a0, t0
782 ; ZDINX64-NEXT: ld a1, 176(sp) # 8-byte Folded Reload
783 ; ZDINX64-NEXT: ld a2, 168(sp) # 8-byte Folded Reload
784 ; ZDINX64-NEXT: ld a3, 160(sp) # 8-byte Folded Reload
785 ; ZDINX64-NEXT: ld a4, 152(sp) # 8-byte Folded Reload
786 ; ZDINX64-NEXT: call callee_half_32
787 ; ZDINX64-NEXT: lui a1, 1048560
788 ; ZDINX64-NEXT: or a0, a0, a1
789 ; ZDINX64-NEXT: ld ra, 280(sp) # 8-byte Folded Reload
790 ; ZDINX64-NEXT: ld s0, 272(sp) # 8-byte Folded Reload
791 ; ZDINX64-NEXT: ld s1, 264(sp) # 8-byte Folded Reload
792 ; ZDINX64-NEXT: ld s2, 256(sp) # 8-byte Folded Reload
793 ; ZDINX64-NEXT: ld s3, 248(sp) # 8-byte Folded Reload
794 ; ZDINX64-NEXT: ld s4, 240(sp) # 8-byte Folded Reload
795 ; ZDINX64-NEXT: ld s5, 232(sp) # 8-byte Folded Reload
796 ; ZDINX64-NEXT: ld s6, 224(sp) # 8-byte Folded Reload
797 ; ZDINX64-NEXT: ld s7, 216(sp) # 8-byte Folded Reload
798 ; ZDINX64-NEXT: ld s8, 208(sp) # 8-byte Folded Reload
799 ; ZDINX64-NEXT: ld s9, 200(sp) # 8-byte Folded Reload
800 ; ZDINX64-NEXT: ld s10, 192(sp) # 8-byte Folded Reload
801 ; ZDINX64-NEXT: ld s11, 184(sp) # 8-byte Folded Reload
802 ; ZDINX64-NEXT: addi sp, sp, 288
804 %C = call fastcc half @callee_half_32(<32 x half> %A)
808 define fastcc float @callee_float_32(<32 x float> %A) nounwind {
809 ; ZHINX32-LABEL: callee_float_32:
813 ; ZHINX64-LABEL: callee_float_32:
817 ; ZFINX32-LABEL: callee_float_32:
821 ; ZFINX64-LABEL: callee_float_32:
825 ; ZDINX32-LABEL: callee_float_32:
829 ; ZDINX64-LABEL: callee_float_32:
832 %B = extractelement <32 x float> %A, i32 0
836 define float @caller_float_32(<32 x float> %A) nounwind {
837 ; ZHINX32-LABEL: caller_float_32:
839 ; ZHINX32-NEXT: addi sp, sp, -144
840 ; ZHINX32-NEXT: sw ra, 140(sp) # 4-byte Folded Spill
841 ; ZHINX32-NEXT: sw s0, 136(sp) # 4-byte Folded Spill
842 ; ZHINX32-NEXT: sw s1, 132(sp) # 4-byte Folded Spill
843 ; ZHINX32-NEXT: sw s2, 128(sp) # 4-byte Folded Spill
844 ; ZHINX32-NEXT: sw s3, 124(sp) # 4-byte Folded Spill
845 ; ZHINX32-NEXT: sw s4, 120(sp) # 4-byte Folded Spill
846 ; ZHINX32-NEXT: sw s5, 116(sp) # 4-byte Folded Spill
847 ; ZHINX32-NEXT: sw s6, 112(sp) # 4-byte Folded Spill
848 ; ZHINX32-NEXT: sw s7, 108(sp) # 4-byte Folded Spill
849 ; ZHINX32-NEXT: sw s8, 104(sp) # 4-byte Folded Spill
850 ; ZHINX32-NEXT: sw s9, 100(sp) # 4-byte Folded Spill
851 ; ZHINX32-NEXT: sw s10, 96(sp) # 4-byte Folded Spill
852 ; ZHINX32-NEXT: sw s11, 92(sp) # 4-byte Folded Spill
853 ; ZHINX32-NEXT: lw t0, 144(sp)
854 ; ZHINX32-NEXT: sw t0, 88(sp) # 4-byte Folded Spill
855 ; ZHINX32-NEXT: lw t0, 148(sp)
856 ; ZHINX32-NEXT: sw t0, 84(sp) # 4-byte Folded Spill
857 ; ZHINX32-NEXT: lw t0, 152(sp)
858 ; ZHINX32-NEXT: sw t0, 80(sp) # 4-byte Folded Spill
859 ; ZHINX32-NEXT: lw t0, 156(sp)
860 ; ZHINX32-NEXT: sw t0, 76(sp) # 4-byte Folded Spill
861 ; ZHINX32-NEXT: lw t6, 160(sp)
862 ; ZHINX32-NEXT: lw t5, 164(sp)
863 ; ZHINX32-NEXT: lw t4, 168(sp)
864 ; ZHINX32-NEXT: lw s0, 172(sp)
865 ; ZHINX32-NEXT: lw s1, 176(sp)
866 ; ZHINX32-NEXT: lw s2, 180(sp)
867 ; ZHINX32-NEXT: lw s3, 184(sp)
868 ; ZHINX32-NEXT: lw s4, 188(sp)
869 ; ZHINX32-NEXT: lw s5, 192(sp)
870 ; ZHINX32-NEXT: lw s6, 196(sp)
871 ; ZHINX32-NEXT: lw s7, 200(sp)
872 ; ZHINX32-NEXT: lw s8, 204(sp)
873 ; ZHINX32-NEXT: lw s9, 208(sp)
874 ; ZHINX32-NEXT: lw s10, 212(sp)
875 ; ZHINX32-NEXT: lw s11, 216(sp)
876 ; ZHINX32-NEXT: lw ra, 220(sp)
877 ; ZHINX32-NEXT: lw t3, 224(sp)
878 ; ZHINX32-NEXT: lw t2, 228(sp)
879 ; ZHINX32-NEXT: lw t1, 232(sp)
880 ; ZHINX32-NEXT: lw t0, 236(sp)
881 ; ZHINX32-NEXT: sw t0, 72(sp)
882 ; ZHINX32-NEXT: sw t1, 68(sp)
883 ; ZHINX32-NEXT: sw t2, 64(sp)
884 ; ZHINX32-NEXT: sw t3, 60(sp)
885 ; ZHINX32-NEXT: sw ra, 56(sp)
886 ; ZHINX32-NEXT: sw s11, 52(sp)
887 ; ZHINX32-NEXT: sw s10, 48(sp)
888 ; ZHINX32-NEXT: sw s9, 44(sp)
889 ; ZHINX32-NEXT: sw s8, 40(sp)
890 ; ZHINX32-NEXT: sw s7, 36(sp)
891 ; ZHINX32-NEXT: sw s6, 32(sp)
892 ; ZHINX32-NEXT: sw s5, 28(sp)
893 ; ZHINX32-NEXT: sw s4, 24(sp)
894 ; ZHINX32-NEXT: sw s3, 20(sp)
895 ; ZHINX32-NEXT: sw s2, 16(sp)
896 ; ZHINX32-NEXT: sw s1, 12(sp)
897 ; ZHINX32-NEXT: sw s0, 8(sp)
898 ; ZHINX32-NEXT: sw t4, 4(sp)
899 ; ZHINX32-NEXT: sw t5, 0(sp)
900 ; ZHINX32-NEXT: lw t2, 88(sp) # 4-byte Folded Reload
901 ; ZHINX32-NEXT: lw t3, 84(sp) # 4-byte Folded Reload
902 ; ZHINX32-NEXT: lw t4, 80(sp) # 4-byte Folded Reload
903 ; ZHINX32-NEXT: lw t5, 76(sp) # 4-byte Folded Reload
904 ; ZHINX32-NEXT: call callee_float_32
905 ; ZHINX32-NEXT: lw ra, 140(sp) # 4-byte Folded Reload
906 ; ZHINX32-NEXT: lw s0, 136(sp) # 4-byte Folded Reload
907 ; ZHINX32-NEXT: lw s1, 132(sp) # 4-byte Folded Reload
908 ; ZHINX32-NEXT: lw s2, 128(sp) # 4-byte Folded Reload
909 ; ZHINX32-NEXT: lw s3, 124(sp) # 4-byte Folded Reload
910 ; ZHINX32-NEXT: lw s4, 120(sp) # 4-byte Folded Reload
911 ; ZHINX32-NEXT: lw s5, 116(sp) # 4-byte Folded Reload
912 ; ZHINX32-NEXT: lw s6, 112(sp) # 4-byte Folded Reload
913 ; ZHINX32-NEXT: lw s7, 108(sp) # 4-byte Folded Reload
914 ; ZHINX32-NEXT: lw s8, 104(sp) # 4-byte Folded Reload
915 ; ZHINX32-NEXT: lw s9, 100(sp) # 4-byte Folded Reload
916 ; ZHINX32-NEXT: lw s10, 96(sp) # 4-byte Folded Reload
917 ; ZHINX32-NEXT: lw s11, 92(sp) # 4-byte Folded Reload
918 ; ZHINX32-NEXT: addi sp, sp, 144
921 ; ZHINX64-LABEL: caller_float_32:
923 ; ZHINX64-NEXT: addi sp, sp, -224
924 ; ZHINX64-NEXT: sd ra, 216(sp) # 8-byte Folded Spill
925 ; ZHINX64-NEXT: sd s0, 208(sp) # 8-byte Folded Spill
926 ; ZHINX64-NEXT: sd s1, 200(sp) # 8-byte Folded Spill
927 ; ZHINX64-NEXT: sd s2, 192(sp) # 8-byte Folded Spill
928 ; ZHINX64-NEXT: sd s3, 184(sp) # 8-byte Folded Spill
929 ; ZHINX64-NEXT: sd s4, 176(sp) # 8-byte Folded Spill
930 ; ZHINX64-NEXT: sd s5, 168(sp) # 8-byte Folded Spill
931 ; ZHINX64-NEXT: sd s6, 160(sp) # 8-byte Folded Spill
932 ; ZHINX64-NEXT: sd s7, 152(sp) # 8-byte Folded Spill
933 ; ZHINX64-NEXT: sd s8, 144(sp) # 8-byte Folded Spill
934 ; ZHINX64-NEXT: sd s9, 136(sp) # 8-byte Folded Spill
935 ; ZHINX64-NEXT: sd s10, 128(sp) # 8-byte Folded Spill
936 ; ZHINX64-NEXT: sd s11, 120(sp) # 8-byte Folded Spill
937 ; ZHINX64-NEXT: lw t0, 224(sp)
938 ; ZHINX64-NEXT: sd t0, 112(sp) # 8-byte Folded Spill
939 ; ZHINX64-NEXT: lw t0, 232(sp)
940 ; ZHINX64-NEXT: sd t0, 104(sp) # 8-byte Folded Spill
941 ; ZHINX64-NEXT: lw t0, 240(sp)
942 ; ZHINX64-NEXT: sd t0, 96(sp) # 8-byte Folded Spill
943 ; ZHINX64-NEXT: lw t0, 248(sp)
944 ; ZHINX64-NEXT: sd t0, 88(sp) # 8-byte Folded Spill
945 ; ZHINX64-NEXT: lw t6, 256(sp)
946 ; ZHINX64-NEXT: lw t5, 264(sp)
947 ; ZHINX64-NEXT: lw t4, 272(sp)
948 ; ZHINX64-NEXT: lw s0, 280(sp)
949 ; ZHINX64-NEXT: lw s1, 288(sp)
950 ; ZHINX64-NEXT: lw s2, 296(sp)
951 ; ZHINX64-NEXT: lw s3, 304(sp)
952 ; ZHINX64-NEXT: lw s4, 312(sp)
953 ; ZHINX64-NEXT: lw s5, 320(sp)
954 ; ZHINX64-NEXT: lw s6, 328(sp)
955 ; ZHINX64-NEXT: lw s7, 336(sp)
956 ; ZHINX64-NEXT: lw s8, 344(sp)
957 ; ZHINX64-NEXT: lw s9, 352(sp)
958 ; ZHINX64-NEXT: lw s10, 360(sp)
959 ; ZHINX64-NEXT: lw s11, 368(sp)
960 ; ZHINX64-NEXT: lw ra, 376(sp)
961 ; ZHINX64-NEXT: lw t3, 384(sp)
962 ; ZHINX64-NEXT: lw t2, 392(sp)
963 ; ZHINX64-NEXT: lw t1, 400(sp)
964 ; ZHINX64-NEXT: lw t0, 408(sp)
965 ; ZHINX64-NEXT: sw t0, 72(sp)
966 ; ZHINX64-NEXT: sw t1, 68(sp)
967 ; ZHINX64-NEXT: sw t2, 64(sp)
968 ; ZHINX64-NEXT: sw t3, 60(sp)
969 ; ZHINX64-NEXT: sw ra, 56(sp)
970 ; ZHINX64-NEXT: sw s11, 52(sp)
971 ; ZHINX64-NEXT: sw s10, 48(sp)
972 ; ZHINX64-NEXT: sw s9, 44(sp)
973 ; ZHINX64-NEXT: sw s8, 40(sp)
974 ; ZHINX64-NEXT: sw s7, 36(sp)
975 ; ZHINX64-NEXT: sw s6, 32(sp)
976 ; ZHINX64-NEXT: sw s5, 28(sp)
977 ; ZHINX64-NEXT: sw s4, 24(sp)
978 ; ZHINX64-NEXT: sw s3, 20(sp)
979 ; ZHINX64-NEXT: sw s2, 16(sp)
980 ; ZHINX64-NEXT: sw s1, 12(sp)
981 ; ZHINX64-NEXT: sw s0, 8(sp)
982 ; ZHINX64-NEXT: sw t4, 4(sp)
983 ; ZHINX64-NEXT: sw t5, 0(sp)
984 ; ZHINX64-NEXT: ld t2, 112(sp) # 8-byte Folded Reload
985 ; ZHINX64-NEXT: ld t3, 104(sp) # 8-byte Folded Reload
986 ; ZHINX64-NEXT: ld t4, 96(sp) # 8-byte Folded Reload
987 ; ZHINX64-NEXT: ld t5, 88(sp) # 8-byte Folded Reload
988 ; ZHINX64-NEXT: call callee_float_32
989 ; ZHINX64-NEXT: ld ra, 216(sp) # 8-byte Folded Reload
990 ; ZHINX64-NEXT: ld s0, 208(sp) # 8-byte Folded Reload
991 ; ZHINX64-NEXT: ld s1, 200(sp) # 8-byte Folded Reload
992 ; ZHINX64-NEXT: ld s2, 192(sp) # 8-byte Folded Reload
993 ; ZHINX64-NEXT: ld s3, 184(sp) # 8-byte Folded Reload
994 ; ZHINX64-NEXT: ld s4, 176(sp) # 8-byte Folded Reload
995 ; ZHINX64-NEXT: ld s5, 168(sp) # 8-byte Folded Reload
996 ; ZHINX64-NEXT: ld s6, 160(sp) # 8-byte Folded Reload
997 ; ZHINX64-NEXT: ld s7, 152(sp) # 8-byte Folded Reload
998 ; ZHINX64-NEXT: ld s8, 144(sp) # 8-byte Folded Reload
999 ; ZHINX64-NEXT: ld s9, 136(sp) # 8-byte Folded Reload
1000 ; ZHINX64-NEXT: ld s10, 128(sp) # 8-byte Folded Reload
1001 ; ZHINX64-NEXT: ld s11, 120(sp) # 8-byte Folded Reload
1002 ; ZHINX64-NEXT: addi sp, sp, 224
1005 ; ZFINX32-LABEL: caller_float_32:
1007 ; ZFINX32-NEXT: addi sp, sp, -144
1008 ; ZFINX32-NEXT: sw ra, 140(sp) # 4-byte Folded Spill
1009 ; ZFINX32-NEXT: sw s0, 136(sp) # 4-byte Folded Spill
1010 ; ZFINX32-NEXT: sw s1, 132(sp) # 4-byte Folded Spill
1011 ; ZFINX32-NEXT: sw s2, 128(sp) # 4-byte Folded Spill
1012 ; ZFINX32-NEXT: sw s3, 124(sp) # 4-byte Folded Spill
1013 ; ZFINX32-NEXT: sw s4, 120(sp) # 4-byte Folded Spill
1014 ; ZFINX32-NEXT: sw s5, 116(sp) # 4-byte Folded Spill
1015 ; ZFINX32-NEXT: sw s6, 112(sp) # 4-byte Folded Spill
1016 ; ZFINX32-NEXT: sw s7, 108(sp) # 4-byte Folded Spill
1017 ; ZFINX32-NEXT: sw s8, 104(sp) # 4-byte Folded Spill
1018 ; ZFINX32-NEXT: sw s9, 100(sp) # 4-byte Folded Spill
1019 ; ZFINX32-NEXT: sw s10, 96(sp) # 4-byte Folded Spill
1020 ; ZFINX32-NEXT: sw s11, 92(sp) # 4-byte Folded Spill
1021 ; ZFINX32-NEXT: lw t0, 144(sp)
1022 ; ZFINX32-NEXT: sw t0, 88(sp) # 4-byte Folded Spill
1023 ; ZFINX32-NEXT: lw t0, 148(sp)
1024 ; ZFINX32-NEXT: sw t0, 84(sp) # 4-byte Folded Spill
1025 ; ZFINX32-NEXT: lw t0, 152(sp)
1026 ; ZFINX32-NEXT: sw t0, 80(sp) # 4-byte Folded Spill
1027 ; ZFINX32-NEXT: lw t0, 156(sp)
1028 ; ZFINX32-NEXT: sw t0, 76(sp) # 4-byte Folded Spill
1029 ; ZFINX32-NEXT: lw t6, 160(sp)
1030 ; ZFINX32-NEXT: lw t5, 164(sp)
1031 ; ZFINX32-NEXT: lw t4, 168(sp)
1032 ; ZFINX32-NEXT: lw s0, 172(sp)
1033 ; ZFINX32-NEXT: lw s1, 176(sp)
1034 ; ZFINX32-NEXT: lw s2, 180(sp)
1035 ; ZFINX32-NEXT: lw s3, 184(sp)
1036 ; ZFINX32-NEXT: lw s4, 188(sp)
1037 ; ZFINX32-NEXT: lw s5, 192(sp)
1038 ; ZFINX32-NEXT: lw s6, 196(sp)
1039 ; ZFINX32-NEXT: lw s7, 200(sp)
1040 ; ZFINX32-NEXT: lw s8, 204(sp)
1041 ; ZFINX32-NEXT: lw s9, 208(sp)
1042 ; ZFINX32-NEXT: lw s10, 212(sp)
1043 ; ZFINX32-NEXT: lw s11, 216(sp)
1044 ; ZFINX32-NEXT: lw ra, 220(sp)
1045 ; ZFINX32-NEXT: lw t3, 224(sp)
1046 ; ZFINX32-NEXT: lw t2, 228(sp)
1047 ; ZFINX32-NEXT: lw t1, 232(sp)
1048 ; ZFINX32-NEXT: lw t0, 236(sp)
1049 ; ZFINX32-NEXT: sw t0, 72(sp)
1050 ; ZFINX32-NEXT: sw t1, 68(sp)
1051 ; ZFINX32-NEXT: sw t2, 64(sp)
1052 ; ZFINX32-NEXT: sw t3, 60(sp)
1053 ; ZFINX32-NEXT: sw ra, 56(sp)
1054 ; ZFINX32-NEXT: sw s11, 52(sp)
1055 ; ZFINX32-NEXT: sw s10, 48(sp)
1056 ; ZFINX32-NEXT: sw s9, 44(sp)
1057 ; ZFINX32-NEXT: sw s8, 40(sp)
1058 ; ZFINX32-NEXT: sw s7, 36(sp)
1059 ; ZFINX32-NEXT: sw s6, 32(sp)
1060 ; ZFINX32-NEXT: sw s5, 28(sp)
1061 ; ZFINX32-NEXT: sw s4, 24(sp)
1062 ; ZFINX32-NEXT: sw s3, 20(sp)
1063 ; ZFINX32-NEXT: sw s2, 16(sp)
1064 ; ZFINX32-NEXT: sw s1, 12(sp)
1065 ; ZFINX32-NEXT: sw s0, 8(sp)
1066 ; ZFINX32-NEXT: sw t4, 4(sp)
1067 ; ZFINX32-NEXT: sw t5, 0(sp)
1068 ; ZFINX32-NEXT: lw t2, 88(sp) # 4-byte Folded Reload
1069 ; ZFINX32-NEXT: lw t3, 84(sp) # 4-byte Folded Reload
1070 ; ZFINX32-NEXT: lw t4, 80(sp) # 4-byte Folded Reload
1071 ; ZFINX32-NEXT: lw t5, 76(sp) # 4-byte Folded Reload
1072 ; ZFINX32-NEXT: call callee_float_32
1073 ; ZFINX32-NEXT: lw ra, 140(sp) # 4-byte Folded Reload
1074 ; ZFINX32-NEXT: lw s0, 136(sp) # 4-byte Folded Reload
1075 ; ZFINX32-NEXT: lw s1, 132(sp) # 4-byte Folded Reload
1076 ; ZFINX32-NEXT: lw s2, 128(sp) # 4-byte Folded Reload
1077 ; ZFINX32-NEXT: lw s3, 124(sp) # 4-byte Folded Reload
1078 ; ZFINX32-NEXT: lw s4, 120(sp) # 4-byte Folded Reload
1079 ; ZFINX32-NEXT: lw s5, 116(sp) # 4-byte Folded Reload
1080 ; ZFINX32-NEXT: lw s6, 112(sp) # 4-byte Folded Reload
1081 ; ZFINX32-NEXT: lw s7, 108(sp) # 4-byte Folded Reload
1082 ; ZFINX32-NEXT: lw s8, 104(sp) # 4-byte Folded Reload
1083 ; ZFINX32-NEXT: lw s9, 100(sp) # 4-byte Folded Reload
1084 ; ZFINX32-NEXT: lw s10, 96(sp) # 4-byte Folded Reload
1085 ; ZFINX32-NEXT: lw s11, 92(sp) # 4-byte Folded Reload
1086 ; ZFINX32-NEXT: addi sp, sp, 144
1089 ; ZFINX64-LABEL: caller_float_32:
1091 ; ZFINX64-NEXT: addi sp, sp, -224
1092 ; ZFINX64-NEXT: sd ra, 216(sp) # 8-byte Folded Spill
1093 ; ZFINX64-NEXT: sd s0, 208(sp) # 8-byte Folded Spill
1094 ; ZFINX64-NEXT: sd s1, 200(sp) # 8-byte Folded Spill
1095 ; ZFINX64-NEXT: sd s2, 192(sp) # 8-byte Folded Spill
1096 ; ZFINX64-NEXT: sd s3, 184(sp) # 8-byte Folded Spill
1097 ; ZFINX64-NEXT: sd s4, 176(sp) # 8-byte Folded Spill
1098 ; ZFINX64-NEXT: sd s5, 168(sp) # 8-byte Folded Spill
1099 ; ZFINX64-NEXT: sd s6, 160(sp) # 8-byte Folded Spill
1100 ; ZFINX64-NEXT: sd s7, 152(sp) # 8-byte Folded Spill
1101 ; ZFINX64-NEXT: sd s8, 144(sp) # 8-byte Folded Spill
1102 ; ZFINX64-NEXT: sd s9, 136(sp) # 8-byte Folded Spill
1103 ; ZFINX64-NEXT: sd s10, 128(sp) # 8-byte Folded Spill
1104 ; ZFINX64-NEXT: sd s11, 120(sp) # 8-byte Folded Spill
1105 ; ZFINX64-NEXT: lw t0, 224(sp)
1106 ; ZFINX64-NEXT: sd t0, 112(sp) # 8-byte Folded Spill
1107 ; ZFINX64-NEXT: lw t0, 232(sp)
1108 ; ZFINX64-NEXT: sd t0, 104(sp) # 8-byte Folded Spill
1109 ; ZFINX64-NEXT: lw t0, 240(sp)
1110 ; ZFINX64-NEXT: sd t0, 96(sp) # 8-byte Folded Spill
1111 ; ZFINX64-NEXT: lw t0, 248(sp)
1112 ; ZFINX64-NEXT: sd t0, 88(sp) # 8-byte Folded Spill
1113 ; ZFINX64-NEXT: lw t6, 256(sp)
1114 ; ZFINX64-NEXT: lw t5, 264(sp)
1115 ; ZFINX64-NEXT: lw t4, 272(sp)
1116 ; ZFINX64-NEXT: lw s0, 280(sp)
1117 ; ZFINX64-NEXT: lw s1, 288(sp)
1118 ; ZFINX64-NEXT: lw s2, 296(sp)
1119 ; ZFINX64-NEXT: lw s3, 304(sp)
1120 ; ZFINX64-NEXT: lw s4, 312(sp)
1121 ; ZFINX64-NEXT: lw s5, 320(sp)
1122 ; ZFINX64-NEXT: lw s6, 328(sp)
1123 ; ZFINX64-NEXT: lw s7, 336(sp)
1124 ; ZFINX64-NEXT: lw s8, 344(sp)
1125 ; ZFINX64-NEXT: lw s9, 352(sp)
1126 ; ZFINX64-NEXT: lw s10, 360(sp)
1127 ; ZFINX64-NEXT: lw s11, 368(sp)
1128 ; ZFINX64-NEXT: lw ra, 376(sp)
1129 ; ZFINX64-NEXT: lw t3, 384(sp)
1130 ; ZFINX64-NEXT: lw t2, 392(sp)
1131 ; ZFINX64-NEXT: lw t1, 400(sp)
1132 ; ZFINX64-NEXT: lw t0, 408(sp)
1133 ; ZFINX64-NEXT: sw t0, 72(sp)
1134 ; ZFINX64-NEXT: sw t1, 68(sp)
1135 ; ZFINX64-NEXT: sw t2, 64(sp)
1136 ; ZFINX64-NEXT: sw t3, 60(sp)
1137 ; ZFINX64-NEXT: sw ra, 56(sp)
1138 ; ZFINX64-NEXT: sw s11, 52(sp)
1139 ; ZFINX64-NEXT: sw s10, 48(sp)
1140 ; ZFINX64-NEXT: sw s9, 44(sp)
1141 ; ZFINX64-NEXT: sw s8, 40(sp)
1142 ; ZFINX64-NEXT: sw s7, 36(sp)
1143 ; ZFINX64-NEXT: sw s6, 32(sp)
1144 ; ZFINX64-NEXT: sw s5, 28(sp)
1145 ; ZFINX64-NEXT: sw s4, 24(sp)
1146 ; ZFINX64-NEXT: sw s3, 20(sp)
1147 ; ZFINX64-NEXT: sw s2, 16(sp)
1148 ; ZFINX64-NEXT: sw s1, 12(sp)
1149 ; ZFINX64-NEXT: sw s0, 8(sp)
1150 ; ZFINX64-NEXT: sw t4, 4(sp)
1151 ; ZFINX64-NEXT: sw t5, 0(sp)
1152 ; ZFINX64-NEXT: ld t2, 112(sp) # 8-byte Folded Reload
1153 ; ZFINX64-NEXT: ld t3, 104(sp) # 8-byte Folded Reload
1154 ; ZFINX64-NEXT: ld t4, 96(sp) # 8-byte Folded Reload
1155 ; ZFINX64-NEXT: ld t5, 88(sp) # 8-byte Folded Reload
1156 ; ZFINX64-NEXT: call callee_float_32
1157 ; ZFINX64-NEXT: ld ra, 216(sp) # 8-byte Folded Reload
1158 ; ZFINX64-NEXT: ld s0, 208(sp) # 8-byte Folded Reload
1159 ; ZFINX64-NEXT: ld s1, 200(sp) # 8-byte Folded Reload
1160 ; ZFINX64-NEXT: ld s2, 192(sp) # 8-byte Folded Reload
1161 ; ZFINX64-NEXT: ld s3, 184(sp) # 8-byte Folded Reload
1162 ; ZFINX64-NEXT: ld s4, 176(sp) # 8-byte Folded Reload
1163 ; ZFINX64-NEXT: ld s5, 168(sp) # 8-byte Folded Reload
1164 ; ZFINX64-NEXT: ld s6, 160(sp) # 8-byte Folded Reload
1165 ; ZFINX64-NEXT: ld s7, 152(sp) # 8-byte Folded Reload
1166 ; ZFINX64-NEXT: ld s8, 144(sp) # 8-byte Folded Reload
1167 ; ZFINX64-NEXT: ld s9, 136(sp) # 8-byte Folded Reload
1168 ; ZFINX64-NEXT: ld s10, 128(sp) # 8-byte Folded Reload
1169 ; ZFINX64-NEXT: ld s11, 120(sp) # 8-byte Folded Reload
1170 ; ZFINX64-NEXT: addi sp, sp, 224
1173 ; ZDINX32-LABEL: caller_float_32:
1175 ; ZDINX32-NEXT: addi sp, sp, -144
1176 ; ZDINX32-NEXT: sw ra, 140(sp) # 4-byte Folded Spill
1177 ; ZDINX32-NEXT: sw s0, 136(sp) # 4-byte Folded Spill
1178 ; ZDINX32-NEXT: sw s1, 132(sp) # 4-byte Folded Spill
1179 ; ZDINX32-NEXT: sw s2, 128(sp) # 4-byte Folded Spill
1180 ; ZDINX32-NEXT: sw s3, 124(sp) # 4-byte Folded Spill
1181 ; ZDINX32-NEXT: sw s4, 120(sp) # 4-byte Folded Spill
1182 ; ZDINX32-NEXT: sw s5, 116(sp) # 4-byte Folded Spill
1183 ; ZDINX32-NEXT: sw s6, 112(sp) # 4-byte Folded Spill
1184 ; ZDINX32-NEXT: sw s7, 108(sp) # 4-byte Folded Spill
1185 ; ZDINX32-NEXT: sw s8, 104(sp) # 4-byte Folded Spill
1186 ; ZDINX32-NEXT: sw s9, 100(sp) # 4-byte Folded Spill
1187 ; ZDINX32-NEXT: sw s10, 96(sp) # 4-byte Folded Spill
1188 ; ZDINX32-NEXT: sw s11, 92(sp) # 4-byte Folded Spill
1189 ; ZDINX32-NEXT: lw t0, 144(sp)
1190 ; ZDINX32-NEXT: sw t0, 88(sp) # 4-byte Folded Spill
1191 ; ZDINX32-NEXT: lw t0, 148(sp)
1192 ; ZDINX32-NEXT: sw t0, 84(sp) # 4-byte Folded Spill
1193 ; ZDINX32-NEXT: lw t0, 152(sp)
1194 ; ZDINX32-NEXT: sw t0, 80(sp) # 4-byte Folded Spill
1195 ; ZDINX32-NEXT: lw t0, 156(sp)
1196 ; ZDINX32-NEXT: sw t0, 76(sp) # 4-byte Folded Spill
1197 ; ZDINX32-NEXT: lw t6, 160(sp)
1198 ; ZDINX32-NEXT: lw t5, 164(sp)
1199 ; ZDINX32-NEXT: lw t4, 168(sp)
1200 ; ZDINX32-NEXT: lw s0, 172(sp)
1201 ; ZDINX32-NEXT: lw s1, 176(sp)
1202 ; ZDINX32-NEXT: lw s2, 180(sp)
1203 ; ZDINX32-NEXT: lw s3, 184(sp)
1204 ; ZDINX32-NEXT: lw s4, 188(sp)
1205 ; ZDINX32-NEXT: lw s5, 192(sp)
1206 ; ZDINX32-NEXT: lw s6, 196(sp)
1207 ; ZDINX32-NEXT: lw s7, 200(sp)
1208 ; ZDINX32-NEXT: lw s8, 204(sp)
1209 ; ZDINX32-NEXT: lw s9, 208(sp)
1210 ; ZDINX32-NEXT: lw s10, 212(sp)
1211 ; ZDINX32-NEXT: lw s11, 216(sp)
1212 ; ZDINX32-NEXT: lw ra, 220(sp)
1213 ; ZDINX32-NEXT: lw t3, 224(sp)
1214 ; ZDINX32-NEXT: lw t2, 228(sp)
1215 ; ZDINX32-NEXT: lw t1, 232(sp)
1216 ; ZDINX32-NEXT: lw t0, 236(sp)
1217 ; ZDINX32-NEXT: sw t0, 72(sp)
1218 ; ZDINX32-NEXT: sw t1, 68(sp)
1219 ; ZDINX32-NEXT: sw t2, 64(sp)
1220 ; ZDINX32-NEXT: sw t3, 60(sp)
1221 ; ZDINX32-NEXT: sw ra, 56(sp)
1222 ; ZDINX32-NEXT: sw s11, 52(sp)
1223 ; ZDINX32-NEXT: sw s10, 48(sp)
1224 ; ZDINX32-NEXT: sw s9, 44(sp)
1225 ; ZDINX32-NEXT: sw s8, 40(sp)
1226 ; ZDINX32-NEXT: sw s7, 36(sp)
1227 ; ZDINX32-NEXT: sw s6, 32(sp)
1228 ; ZDINX32-NEXT: sw s5, 28(sp)
1229 ; ZDINX32-NEXT: sw s4, 24(sp)
1230 ; ZDINX32-NEXT: sw s3, 20(sp)
1231 ; ZDINX32-NEXT: sw s2, 16(sp)
1232 ; ZDINX32-NEXT: sw s1, 12(sp)
1233 ; ZDINX32-NEXT: sw s0, 8(sp)
1234 ; ZDINX32-NEXT: sw t4, 4(sp)
1235 ; ZDINX32-NEXT: sw t5, 0(sp)
1236 ; ZDINX32-NEXT: lw t2, 88(sp) # 4-byte Folded Reload
1237 ; ZDINX32-NEXT: lw t3, 84(sp) # 4-byte Folded Reload
1238 ; ZDINX32-NEXT: lw t4, 80(sp) # 4-byte Folded Reload
1239 ; ZDINX32-NEXT: lw t5, 76(sp) # 4-byte Folded Reload
1240 ; ZDINX32-NEXT: call callee_float_32
1241 ; ZDINX32-NEXT: lw ra, 140(sp) # 4-byte Folded Reload
1242 ; ZDINX32-NEXT: lw s0, 136(sp) # 4-byte Folded Reload
1243 ; ZDINX32-NEXT: lw s1, 132(sp) # 4-byte Folded Reload
1244 ; ZDINX32-NEXT: lw s2, 128(sp) # 4-byte Folded Reload
1245 ; ZDINX32-NEXT: lw s3, 124(sp) # 4-byte Folded Reload
1246 ; ZDINX32-NEXT: lw s4, 120(sp) # 4-byte Folded Reload
1247 ; ZDINX32-NEXT: lw s5, 116(sp) # 4-byte Folded Reload
1248 ; ZDINX32-NEXT: lw s6, 112(sp) # 4-byte Folded Reload
1249 ; ZDINX32-NEXT: lw s7, 108(sp) # 4-byte Folded Reload
1250 ; ZDINX32-NEXT: lw s8, 104(sp) # 4-byte Folded Reload
1251 ; ZDINX32-NEXT: lw s9, 100(sp) # 4-byte Folded Reload
1252 ; ZDINX32-NEXT: lw s10, 96(sp) # 4-byte Folded Reload
1253 ; ZDINX32-NEXT: lw s11, 92(sp) # 4-byte Folded Reload
1254 ; ZDINX32-NEXT: addi sp, sp, 144
1257 ; ZDINX64-LABEL: caller_float_32:
1259 ; ZDINX64-NEXT: addi sp, sp, -224
1260 ; ZDINX64-NEXT: sd ra, 216(sp) # 8-byte Folded Spill
1261 ; ZDINX64-NEXT: sd s0, 208(sp) # 8-byte Folded Spill
1262 ; ZDINX64-NEXT: sd s1, 200(sp) # 8-byte Folded Spill
1263 ; ZDINX64-NEXT: sd s2, 192(sp) # 8-byte Folded Spill
1264 ; ZDINX64-NEXT: sd s3, 184(sp) # 8-byte Folded Spill
1265 ; ZDINX64-NEXT: sd s4, 176(sp) # 8-byte Folded Spill
1266 ; ZDINX64-NEXT: sd s5, 168(sp) # 8-byte Folded Spill
1267 ; ZDINX64-NEXT: sd s6, 160(sp) # 8-byte Folded Spill
1268 ; ZDINX64-NEXT: sd s7, 152(sp) # 8-byte Folded Spill
1269 ; ZDINX64-NEXT: sd s8, 144(sp) # 8-byte Folded Spill
1270 ; ZDINX64-NEXT: sd s9, 136(sp) # 8-byte Folded Spill
1271 ; ZDINX64-NEXT: sd s10, 128(sp) # 8-byte Folded Spill
1272 ; ZDINX64-NEXT: sd s11, 120(sp) # 8-byte Folded Spill
1273 ; ZDINX64-NEXT: lw t0, 224(sp)
1274 ; ZDINX64-NEXT: sd t0, 112(sp) # 8-byte Folded Spill
1275 ; ZDINX64-NEXT: lw t0, 232(sp)
1276 ; ZDINX64-NEXT: sd t0, 104(sp) # 8-byte Folded Spill
1277 ; ZDINX64-NEXT: lw t0, 240(sp)
1278 ; ZDINX64-NEXT: sd t0, 96(sp) # 8-byte Folded Spill
1279 ; ZDINX64-NEXT: lw t0, 248(sp)
1280 ; ZDINX64-NEXT: sd t0, 88(sp) # 8-byte Folded Spill
1281 ; ZDINX64-NEXT: lw t6, 256(sp)
1282 ; ZDINX64-NEXT: lw t5, 264(sp)
1283 ; ZDINX64-NEXT: lw t4, 272(sp)
1284 ; ZDINX64-NEXT: lw s0, 280(sp)
1285 ; ZDINX64-NEXT: lw s1, 288(sp)
1286 ; ZDINX64-NEXT: lw s2, 296(sp)
1287 ; ZDINX64-NEXT: lw s3, 304(sp)
1288 ; ZDINX64-NEXT: lw s4, 312(sp)
1289 ; ZDINX64-NEXT: lw s5, 320(sp)
1290 ; ZDINX64-NEXT: lw s6, 328(sp)
1291 ; ZDINX64-NEXT: lw s7, 336(sp)
1292 ; ZDINX64-NEXT: lw s8, 344(sp)
1293 ; ZDINX64-NEXT: lw s9, 352(sp)
1294 ; ZDINX64-NEXT: lw s10, 360(sp)
1295 ; ZDINX64-NEXT: lw s11, 368(sp)
1296 ; ZDINX64-NEXT: lw ra, 376(sp)
1297 ; ZDINX64-NEXT: lw t3, 384(sp)
1298 ; ZDINX64-NEXT: lw t2, 392(sp)
1299 ; ZDINX64-NEXT: lw t1, 400(sp)
1300 ; ZDINX64-NEXT: lw t0, 408(sp)
1301 ; ZDINX64-NEXT: sw t0, 72(sp)
1302 ; ZDINX64-NEXT: sw t1, 68(sp)
1303 ; ZDINX64-NEXT: sw t2, 64(sp)
1304 ; ZDINX64-NEXT: sw t3, 60(sp)
1305 ; ZDINX64-NEXT: sw ra, 56(sp)
1306 ; ZDINX64-NEXT: sw s11, 52(sp)
1307 ; ZDINX64-NEXT: sw s10, 48(sp)
1308 ; ZDINX64-NEXT: sw s9, 44(sp)
1309 ; ZDINX64-NEXT: sw s8, 40(sp)
1310 ; ZDINX64-NEXT: sw s7, 36(sp)
1311 ; ZDINX64-NEXT: sw s6, 32(sp)
1312 ; ZDINX64-NEXT: sw s5, 28(sp)
1313 ; ZDINX64-NEXT: sw s4, 24(sp)
1314 ; ZDINX64-NEXT: sw s3, 20(sp)
1315 ; ZDINX64-NEXT: sw s2, 16(sp)
1316 ; ZDINX64-NEXT: sw s1, 12(sp)
1317 ; ZDINX64-NEXT: sw s0, 8(sp)
1318 ; ZDINX64-NEXT: sw t4, 4(sp)
1319 ; ZDINX64-NEXT: sw t5, 0(sp)
1320 ; ZDINX64-NEXT: ld t2, 112(sp) # 8-byte Folded Reload
1321 ; ZDINX64-NEXT: ld t3, 104(sp) # 8-byte Folded Reload
1322 ; ZDINX64-NEXT: ld t4, 96(sp) # 8-byte Folded Reload
1323 ; ZDINX64-NEXT: ld t5, 88(sp) # 8-byte Folded Reload
1324 ; ZDINX64-NEXT: call callee_float_32
1325 ; ZDINX64-NEXT: ld ra, 216(sp) # 8-byte Folded Reload
1326 ; ZDINX64-NEXT: ld s0, 208(sp) # 8-byte Folded Reload
1327 ; ZDINX64-NEXT: ld s1, 200(sp) # 8-byte Folded Reload
1328 ; ZDINX64-NEXT: ld s2, 192(sp) # 8-byte Folded Reload
1329 ; ZDINX64-NEXT: ld s3, 184(sp) # 8-byte Folded Reload
1330 ; ZDINX64-NEXT: ld s4, 176(sp) # 8-byte Folded Reload
1331 ; ZDINX64-NEXT: ld s5, 168(sp) # 8-byte Folded Reload
1332 ; ZDINX64-NEXT: ld s6, 160(sp) # 8-byte Folded Reload
1333 ; ZDINX64-NEXT: ld s7, 152(sp) # 8-byte Folded Reload
1334 ; ZDINX64-NEXT: ld s8, 144(sp) # 8-byte Folded Reload
1335 ; ZDINX64-NEXT: ld s9, 136(sp) # 8-byte Folded Reload
1336 ; ZDINX64-NEXT: ld s10, 128(sp) # 8-byte Folded Reload
1337 ; ZDINX64-NEXT: ld s11, 120(sp) # 8-byte Folded Reload
1338 ; ZDINX64-NEXT: addi sp, sp, 224
1340 %C = call fastcc float @callee_float_32(<32 x float> %A)
1344 define fastcc double @callee_double_32(<32 x double> %A) nounwind {
1345 ; ZHINX32-LABEL: callee_double_32:
1349 ; ZHINX64-LABEL: callee_double_32:
1353 ; ZFINX32-LABEL: callee_double_32:
1357 ; ZFINX64-LABEL: callee_double_32:
1361 ; ZDINX32-LABEL: callee_double_32:
1363 ; ZDINX32-NEXT: addi sp, sp, -16
1364 ; ZDINX32-NEXT: lw a0, 16(sp)
1365 ; ZDINX32-NEXT: lw a1, 20(sp)
1366 ; ZDINX32-NEXT: sw a0, 8(sp)
1367 ; ZDINX32-NEXT: sw a1, 12(sp)
1368 ; ZDINX32-NEXT: lw a0, 8(sp)
1369 ; ZDINX32-NEXT: lw a1, 12(sp)
1370 ; ZDINX32-NEXT: addi sp, sp, 16
1373 ; ZDINX64-LABEL: callee_double_32:
1376 %B = extractelement <32 x double> %A, i32 0