summaryrefslogtreecommitdiff
path: root/test/hexfp.asm
diff options
context:
space:
mode:
Diffstat (limited to 'test/hexfp.asm')
-rw-r--r--test/hexfp.asm25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/hexfp.asm b/test/hexfp.asm
new file mode 100644
index 00000000..02c972f8
--- /dev/null
+++ b/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