1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -O2 -mtriple=x86_64-linux-android -mattr=+mmx | FileCheck %s
3 ; RUN: llc < %s -O2 -mtriple=x86_64-linux-gnu -mattr=+mmx | FileCheck %s
5 ; __float128 myFP128 = 1.0L; // x86_64-linux-android
6 @myFP128 = global fp128 0xL00000000000000003FFF000000000000, align 16
8 ; The first few parameters are passed in registers and the other are on stack.
10 define fp128 @TestParam_FP128_0(fp128 %d0, fp128 %d1, fp128 %d2, fp128 %d3, fp128 %d4, fp128 %d5, fp128 %d6, fp128 %d7, fp128 %d8, fp128 %d9, fp128 %d10, fp128 %d11, fp128 %d12, fp128 %d13, fp128 %d14, fp128 %d15, fp128 %d16, fp128 %d17, fp128 %d18, fp128 %d19) {
11 ; CHECK-LABEL: TestParam_FP128_0:
12 ; CHECK: # %bb.0: # %entry
18 define fp128 @TestParam_FP128_1(fp128 %d0, fp128 %d1, fp128 %d2, fp128 %d3, fp128 %d4, fp128 %d5, fp128 %d6, fp128 %d7, fp128 %d8, fp128 %d9, fp128 %d10, fp128 %d11, fp128 %d12, fp128 %d13, fp128 %d14, fp128 %d15, fp128 %d16, fp128 %d17, fp128 %d18, fp128 %d19) {
19 ; CHECK-LABEL: TestParam_FP128_1:
20 ; CHECK: # %bb.0: # %entry
21 ; CHECK-NEXT: movaps %xmm1, %xmm0
27 define fp128 @TestParam_FP128_7(fp128 %d0, fp128 %d1, fp128 %d2, fp128 %d3, fp128 %d4, fp128 %d5, fp128 %d6, fp128 %d7, fp128 %d8, fp128 %d9, fp128 %d10, fp128 %d11, fp128 %d12, fp128 %d13, fp128 %d14, fp128 %d15, fp128 %d16, fp128 %d17, fp128 %d18, fp128 %d19) {
28 ; CHECK-LABEL: TestParam_FP128_7:
29 ; CHECK: # %bb.0: # %entry
30 ; CHECK-NEXT: movaps %xmm7, %xmm0
36 define fp128 @TestParam_FP128_8(fp128 %d0, fp128 %d1, fp128 %d2, fp128 %d3, fp128 %d4, fp128 %d5, fp128 %d6, fp128 %d7, fp128 %d8, fp128 %d9, fp128 %d10, fp128 %d11, fp128 %d12, fp128 %d13, fp128 %d14, fp128 %d15, fp128 %d16, fp128 %d17, fp128 %d18, fp128 %d19) {
37 ; CHECK-LABEL: TestParam_FP128_8:
38 ; CHECK: # %bb.0: # %entry
39 ; CHECK-NEXT: movaps {{[0-9]+}}(%rsp), %xmm0
45 define fp128 @TestParam_FP128_9(fp128 %d0, fp128 %d1, fp128 %d2, fp128 %d3, fp128 %d4, fp128 %d5, fp128 %d6, fp128 %d7, fp128 %d8, fp128 %d9, fp128 %d10, fp128 %d11, fp128 %d12, fp128 %d13, fp128 %d14, fp128 %d15, fp128 %d16, fp128 %d17, fp128 %d18, fp128 %d19) {
46 ; CHECK-LABEL: TestParam_FP128_9:
47 ; CHECK: # %bb.0: # %entry
48 ; CHECK-NEXT: movaps {{[0-9]+}}(%rsp), %xmm0