19 lines · plain
1; Test loads of 128-bit floating-point constants that can be represented2; as 32-bit constants.3;4; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s5; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST6 7define void @f1(ptr %x) {8; CHECK-LABEL: f1:9; CHECK: larl [[REGISTER:%r[1-5]+]], {{.*}}10; CHECK: lxeb %f0, 0([[REGISTER]])11; CHECK: std %f0, 0(%r2)12; CHECK: std %f2, 8(%r2)13; CHECK: br %r1414;15; CONST: .long 0x3f80000116 store fp128 0xL00000000000000003fff000002000000, ptr %x17 ret void18}19