Fixed some bugs.
[llvm/zpu.git] / test / MC / AsmParser / floating-literals.s
blobb8e6e3cc80061b529e8cee19e730f687564edb67
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: .quad 4617315517961601024
10 # CHECK: .quad 4597526701198935065
11 # CHECK: .quad -4600933674317040845
12 .double 5, .232, -11.1
14 # CHECK: .quad 0
15 .double 0.0
17 # CHECK: .quad -4570379565595099136
18 .double -1.2e3
19 # CHECK: .quad -4690170861623122860
20 .double -1.2e-5
21 # CHECK: .quad -4465782973978902528
22 .double -1.2e+10
23 # CHECK: .quad 4681608360884174848
24 .double 1e5
25 # CHECK: .quad 4681608360884174848
26 .double 1.e5
27 # CHECK: .quad 4611686018427387904
28 .double 2.
30 // APFloat should reject these with an error, not crash:
31 //.double -1.2e+
32 //.double -1.2e