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