Home | History | Annotate | Download | only in X86
      1 ; RUN: llc -mtriple=x86_64-none-linux < %s | FileCheck %s
      2 
      3 ; Check that all current floating-point types are correctly emitted to assembly
      4 ; on a little-endian target.
      5 
      6 @var128 = global fp128 0xL00000000000000008000000000000000, align 16
      7 @varppc128 = global ppc_fp128 0xM80000000000000000000000000000000, align 16
      8 @var80 = global x86_fp80 0xK80000000000000000000, align 16
      9 @var64 = global double -0.0, align 8
     10 @var32 = global float -0.0, align 4
     11 @var16 = global half -0.0, align 2
     12 
     13 ; CHECK: var128:
     14 ; CHECK-NEXT: .quad 0                         # fp128 -0
     15 ; CHECK-NEXT: .quad -9223372036854775808
     16 ; CHECK-NEXT: .size
     17 
     18 ; CHECK: varppc128:
     19 ; CHECK-NEXT: .quad 0                         # ppc_fp128 -0
     20 ; CHECK-NEXT: .quad -9223372036854775808
     21 ; CHECK-NEXT: .size
     22 
     23 ; CHECK: var80:
     24 ; CHECK-NEXT: .quad 0                         # x86_fp80 -0
     25 ; CHECK-NEXT: .short 32768
     26 ; CHECK-NEXT: .zero 6
     27 ; CHECK-NEXT: .size
     28 
     29 ; CHECK: var64:
     30 ; CHECK-NEXT: .quad -9223372036854775808      # double -0
     31 ; CHECK-NEXT: .size
     32 
     33 ; CHECK: var32:
     34 ; CHECK-NEXT: .long 2147483648                # float -0
     35 ; CHECK-NEXT: .size
     36 
     37 ; CHECK: var16:
     38 ; CHECK-NEXT: .short 32768                    # half -0
     39 ; CHECK-NEXT: .size
     40 
     41