~pali/+junk/llvm-toolchain-3.7

« back to all changes in this revision

Viewing changes to test/CodeGen/SystemZ/fp-const-07.ll

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2015-07-15 17:51:08 UTC
  • Revision ID: package-import@ubuntu.com-20150715175108-l8mynwovkx4zx697
Tags: upstream-3.7~+rc2
ImportĀ upstreamĀ versionĀ 3.7~+rc2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
; Test loads of 128-bit floating-point constants that can be represented
 
2
; as 64-bit constants.
 
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
 
 
7
define void @f1(fp128 *%x) {
 
8
; CHECK-LABEL: f1:
 
9
; CHECK: larl [[REGISTER:%r[1-5]+]], {{.*}}
 
10
; CHECK: lxdb %f0, 0([[REGISTER]])
 
11
; CHECK: std %f0, 0(%r2)
 
12
; CHECK: std %f2, 8(%r2)
 
13
; CHECK: br %r14
 
14
;
 
15
; CONST: .quad 4607182419068452864
 
16
  store fp128 0xL00000000000000003fff000001000000, fp128 *%x
 
17
  ret void
 
18
}