summaryrefslogtreecommitdiff
path: root/test/unit.fromasm.imprecise.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit.fromasm.imprecise.no-opts')
-rw-r--r--test/unit.fromasm.imprecise.no-opts11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/unit.fromasm.imprecise.no-opts b/test/unit.fromasm.imprecise.no-opts
index 67c319f50..12fb31212 100644
--- a/test/unit.fromasm.imprecise.no-opts
+++ b/test/unit.fromasm.imprecise.no-opts
@@ -70,6 +70,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
@@ -1787,6 +1788,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)
)