• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test loads of 128-bit floating-point constants in which the low bit of
2; the significand is set.
3;
4; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
5; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST
6
7define void @f1(fp128 *%x) {
8; CHECK-LABEL: f1:
9; CHECK: larl [[REGISTER:%r[1-5]+]], {{.*}}
10; CHECK: ld %f0, 0([[REGISTER]])
11; CHECK: ld %f2, 8([[REGISTER]])
12; CHECK: std %f0, 0(%r2)
13; CHECK: std %f2, 8(%r2)
14; CHECK: br %r14
15;
16; CONST: .quad 4611404543450677248
17; CONST: .quad 1
18  store fp128 0xL00000000000000013fff000000000000, fp128 *%x
19  ret void
20}
21