blob: 1da3d5eafaae384b4ad41da089e0421bfac48c76 [file] [log] [blame]
Ulrich Weigand9e3577f2013-05-06 16:17:29 +00001; Test loads of 64-bit floating-point constants.
2;
3; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
4; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST
5
6define double @f1() {
7; CHECK: f1:
8; CHECK: larl [[REGISTER:%r[1-5]+]], {{.*}}
9; CHECK: ld %f0, 0([[REGISTER]])
10; CHECK: br %r14
11;
12; CONST: .quad 4607182419068452864
13 ret double 0x3ff0000010000000
14}