diff options
author | Cyrill Gorcunov <gorcunov@gmail.com> | 2020-10-15 00:49:32 +0300 |
---|---|---|
committer | Cyrill Gorcunov <gorcunov@gmail.com> | 2020-10-15 00:54:10 +0300 |
commit | 9d68a8babd818424c05446d830e22471f1221652 (patch) | |
tree | 4f1cdf55a4a756e1ac414f3f8a866c12a609b161 | |
parent | 32efe62b813cf33236a5c49b547a5fe18abbadab (diff) | |
download | nasm-9d68a8babd818424c05446d830e22471f1221652.tar.gz nasm-9d68a8babd818424c05446d830e22471f1221652.tar.xz nasm-9d68a8babd818424c05446d830e22471f1221652.zip |
travis: add hexfp
Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rw-r--r-- | travis/test/hexfp.asm | 25 | ||||
-rw-r--r-- | travis/test/hexfp.bin.t | bin | 0 -> 528 bytes | |||
-rw-r--r-- | travis/test/hexfp.json | 12 |
3 files changed, 37 insertions, 0 deletions
diff --git a/travis/test/hexfp.asm b/travis/test/hexfp.asm new file mode 100644 index 00000000..02c972f8 --- /dev/null +++ b/travis/test/hexfp.asm @@ -0,0 +1,25 @@ +;; BR 3392399 + +; All of these should be the same value... +%macro fp 1 + %1 0.5 + %1 5e-1 + %1 0x1.0p-1 + %1 0x0.8p0 + %1 0x0.8 + %1 0x8p-4 + %1 0x.8 + %1 0x1p-1 + %1 0x0.1p3 + %1 0x0.01p7 + %1 0x0.01p7 + %1 0x0.001p11 + +%endmacro + + fp do + fp dt + fp dq + fp dd + fp dw + fp dd diff --git a/travis/test/hexfp.bin.t b/travis/test/hexfp.bin.t Binary files differnew file mode 100644 index 00000000..52ddb8ac --- /dev/null +++ b/travis/test/hexfp.bin.t diff --git a/travis/test/hexfp.json b/travis/test/hexfp.json new file mode 100644 index 00000000..6e6ad16b --- /dev/null +++ b/travis/test/hexfp.json @@ -0,0 +1,12 @@ +[ + { + "description": "Test br3392399", + "id": "hexfp", + "format": "bin", + "source": "hexfp.asm", + "option": "-Ox", + "target": [ + { "output": "hexfp.bin" } + ] + } +] |