1 ; Test loads of 128-bit floating-point constants. This value would actually
2 ; fit within the x86 80-bit format, so the test make sure we don't try to
5 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
6 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST
8 define void @f1(ptr %x) {
10 ; CHECK: larl [[REGISTER:%r[1-5]+]], {{.*}}
11 ; CHECK: ld %f0, 0([[REGISTER]])
12 ; CHECK: ld %f2, 8([[REGISTER]])
13 ; CHECK: std %f0, 0(%r2)
14 ; CHECK: std %f2, 8(%r2)
17 ; CONST: .quad 0x3fff000000000000
18 ; CONST: .quad 0x0800000000000000
19 store fp128 0xL08000000000000003fff000000000000, ptr %x