diff options
author | Alon Zakai <alonzakai@gmail.com> | 2016-11-07 16:47:47 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-07 16:47:47 -0800 |
commit | 3dac399ba503e05ee014e96a7ce9c82f29f6981c (patch) | |
tree | b00c60f1ca8019da8283c4f38660dd4d46d82d87 /test/unit.fromasm.no-opts | |
parent | 89d393ed02f6b15a3a8dc60b489f969184070625 (diff) | |
download | binaryen-3dac399ba503e05ee014e96a7ce9c82f29f6981c.tar.gz binaryen-3dac399ba503e05ee014e96a7ce9c82f29f6981c.tar.bz2 binaryen-3dac399ba503e05ee014e96a7ce9c82f29f6981c.zip |
support assigns of f32 to HEAP64 in asm2wasm (#830)
Diffstat (limited to 'test/unit.fromasm.no-opts')
-rw-r--r-- | test/unit.fromasm.no-opts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unit.fromasm.no-opts b/test/unit.fromasm.no-opts index a8d49036c..fead97f27 100644 --- a/test/unit.fromasm.no-opts +++ b/test/unit.fromasm.no-opts @@ -74,6 +74,7 @@ (export "dropIgnoredImportInIf" (func $dropIgnoredImportInIf)) (export "dropIgnoredImportsInIf" (func $dropIgnoredImportsInIf)) (export "relooperJumpThreading_irreducible" (func $relooperJumpThreading_irreducible)) + (export "store_fround" (func $store_fround)) (func $big_negative (local $temp f64) (set_local $temp @@ -1793,6 +1794,16 @@ ) ) ) + (func $store_fround (param $x i32) + (f64.store + (i32.const 80) + (f64.promote/f32 + (f32.convert_s/i32 + (get_local $x) + ) + ) + ) + ) (func $v (nop) ) |