Home | History | Annotate | Download | only in SystemZ
      1 ; Test loads of 128-bit floating-point constants.  This value would actually
      2 ; fit within the x86 80-bit format, so the test make sure we don't try to
      3 ; extend from an f80.
      4 ;
      5 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s
      6 ; RUN: llc < %s -mtriple=s390x-linux-gnu | FileCheck %s -check-prefix=CONST
      7 
      8 define void @f1(fp128 *%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 %r14
     16 ;
     17 ; CONST: .quad 4611404543450677248
     18 ; CONST: .quad 576460752303423488
     19   store fp128 0xL08000000000000003fff000000000000, fp128 *%x
     20   ret void
     21 }
     22