1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py UTC_ARGS: --version 2
2 ; RUN: llc -mtriple=riscv32 -mattr=+zdinx -verify-machineinstrs -target-abi=ilp32 < %s \
5 define <2 x double> @v2f64(<2 x double> %x, <2 x double> %y) nounwind {
8 ; CHECK-NEXT: addi sp, sp, -16
9 ; CHECK-NEXT: sw a4, 8(sp)
10 ; CHECK-NEXT: sw a5, 12(sp)
11 ; CHECK-NEXT: lw a4, 8(sp)
12 ; CHECK-NEXT: lw a5, 12(sp)
13 ; CHECK-NEXT: sw a0, 8(sp)
14 ; CHECK-NEXT: sw a1, 12(sp)
15 ; CHECK-NEXT: lw a0, 8(sp)
16 ; CHECK-NEXT: lw a1, 12(sp)
17 ; CHECK-NEXT: sw a6, 8(sp)
18 ; CHECK-NEXT: sw a7, 12(sp)
19 ; CHECK-NEXT: lw a6, 8(sp)
20 ; CHECK-NEXT: lw a7, 12(sp)
21 ; CHECK-NEXT: sw a2, 8(sp)
22 ; CHECK-NEXT: sw a3, 12(sp)
23 ; CHECK-NEXT: lw a2, 8(sp)
24 ; CHECK-NEXT: lw a3, 12(sp)
25 ; CHECK-NEXT: fadd.d a2, a2, a6
26 ; CHECK-NEXT: fadd.d a0, a0, a4
27 ; CHECK-NEXT: sw a0, 8(sp)
28 ; CHECK-NEXT: sw a1, 12(sp)
29 ; CHECK-NEXT: lw a0, 8(sp)
30 ; CHECK-NEXT: lw a1, 12(sp)
31 ; CHECK-NEXT: sw a2, 8(sp)
32 ; CHECK-NEXT: sw a3, 12(sp)
33 ; CHECK-NEXT: lw a2, 8(sp)
34 ; CHECK-NEXT: lw a3, 12(sp)
35 ; CHECK-NEXT: addi sp, sp, 16
37 %1 = fadd <2 x double> %x, %y