aboutsummaryrefslogtreecommitdiff
path: root/test/float-promote.qbe
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-29 16:37:49 -0700
committerMichael Forney <mforney@mforney.org>2019-05-29 17:04:17 -0700
commit31c2d5aa28eed34dc6949db828c1ae9a81203740 (patch)
tree07690174fe58041d9213daa330f0f02ad5a8346d /test/float-promote.qbe
parentc1d079fae39e20ea695f575a221e2251727d07aa (diff)
Temporarily avoid %a when printing floating constants
This is C99, but is not supported by fscanf in OpenBSD, so floating constants can't be read back in by QBE.
Diffstat (limited to 'test/float-promote.qbe')
-rw-r--r--test/float-promote.qbe6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/float-promote.qbe b/test/float-promote.qbe
index 052b1fa..5dad07c 100644
--- a/test/float-promote.qbe
+++ b/test/float-promote.qbe
@@ -2,10 +2,10 @@ export
function $f() {
@start.1
@body.2
- %.1 =d exts s_0x1p+0
+ %.1 =d exts s_1
call $g1(d %.1)
- %.2 =d exts s_0x1p+0
+ %.2 =d exts s_1
call $g2(w 0, d %.2, ...)
- call $g3(s s_0x1p+0)
+ call $g3(s s_1)
ret
}