Silence -Wunused-variable in release builds.
[llvm/stm8.git] / test / MC / AsmParser / floating-literals.s
blobd44bb9830c081166119b62cfd95ee677f392b10e
1 # RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
3 # CHECK: .long 1067412619
4 # CHECK: .long 1075000115
5 # CHECK: .long 1077936128
6 # CHECK: .long 1082549862
7 .single 1.2455, +2.3, 3, + 4.2
9 # CHECK: .long 2139095040
10 .single InFinIty
12 # CHECK: .long 4286578688
13 .single -iNf
15 # CHECK: .long 2147483647
16 .single nAN
18 # CHECK: .long 1067928519
19 .float 1.307
21 # CHECK: .quad 4617315517961601024
22 # CHECK: .quad 4597526701198935065
23 # CHECK: .quad -4600933674317040845
24 .double 5, .232, -11.1
26 # CHECK: .quad 0
27 .double 0.0
29 # CHECK: .quad -4570379565595099136
30 .double -1.2e3
31 # CHECK: .quad -4690170861623122860
32 .double -1.2e-5
33 # CHECK: .quad -4465782973978902528
34 .double -1.2e+10
35 # CHECK: .quad 4681608360884174848
36 .double 1e5
37 # CHECK: .quad 4681608360884174848
38 .double 1.e5
39 # CHECK: .quad 4611686018427387904
40 .double 2.
42 // APFloat should reject these with an error, not crash:
43 //.double -1.2e+
44 //.double -1.2e