22 lines · plain
1; Test loads of 128-bit floating-point constants. This value would actually2; fit within the x86 80-bit format, so the test make sure we don't try to3; extend from an f80.4;5; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s6; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST7 8define void @f1(ptr %x) {9; CHECK-LABEL: f1: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)15; CHECK: br %r1416;17; CONST: .quad 0x3fff00000000000018; CONST: .quad 0x080000000000000019 store fp128 0xL08000000000000003fff000000000000, ptr %x20 ret void21}22