mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-07-24 10:25:42 -04:00
test: nasm-t -- Add floatize test
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
parent
ba5a39a5c3
commit
cd22ea42c3
16
travis/test/floatize.asm
Normal file
16
travis/test/floatize.asm
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
%assign x13 13+26
|
||||||
|
%assign f16 __float16__(1.6e-7)
|
||||||
|
%assign f32 __float32__(1.6e-7)
|
||||||
|
%assign f64 __float64__(1.6e-7)
|
||||||
|
%assign f80m __float80m__(1.6e-7)
|
||||||
|
%assign f80e __float80e__(1.6e-7)
|
||||||
|
%assign f128l __float128l__(1.6e-7)
|
||||||
|
%assign f128h __float128h__(1.6e-7)
|
||||||
|
|
||||||
|
dw f16
|
||||||
|
dd f32
|
||||||
|
dq f64
|
||||||
|
dq f80m
|
||||||
|
dw f80e
|
||||||
|
dq f128l
|
||||||
|
dq f128h
|
BIN
travis/test/floatize.bin.t
Normal file
BIN
travis/test/floatize.bin.t
Normal file
Binary file not shown.
17
travis/test/floatize.json
Normal file
17
travis/test/floatize.json
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
[
|
||||||
|
{
|
||||||
|
"description": "Test of floating-point (-Ox)",
|
||||||
|
"id": "floatize",
|
||||||
|
"format": "bin",
|
||||||
|
"source": "floatize.asm",
|
||||||
|
"option": "-Ox",
|
||||||
|
"target": [
|
||||||
|
{ "output": "floatize.bin" }
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"description": "Test of floating-point (-O0)",
|
||||||
|
"ref": "floatize",
|
||||||
|
"option": "-O0"
|
||||||
|
}
|
||||||
|
]
|
Loading…
x
Reference in New Issue
Block a user