summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai (kripken) <alonzakai@gmail.com>2017-04-18 11:55:02 -0700
committerAlon Zakai (kripken) <alonzakai@gmail.com>2017-04-18 16:58:58 -0700
commit12e8c5c20bf9f7d1e5fd85a56c722adf786b5bab (patch)
treead3377744b5a0065a5333f0b4be35263cd062f53 /test/emcc_hello_world.fromasm.imprecise
parente1bfd0c5851122762d54d0f578f049e7005bde86 (diff)
downloadbinaryen-12e8c5c20bf9f7d1e5fd85a56c722adf786b5bab.tar.gz
binaryen-12e8c5c20bf9f7d1e5fd85a56c722adf786b5bab.tar.bz2
binaryen-12e8c5c20bf9f7d1e5fd85a56c722adf786b5bab.zip
handle unsigned float-to-int properly in asm2wasm
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 20af7061a..3aa9ed739 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -4530,7 +4530,7 @@
(i32.store
(get_local $7)
(tee_local $5
- (i32.trunc_s/f64
+ (i32.trunc_u/f64
(get_local $15)
)
)