summaryrefslogtreecommitdiff
path: root/test/wasm-only.fromasm.imprecise.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/wasm-only.fromasm.imprecise.no-opts')
-rw-r--r--test/wasm-only.fromasm.imprecise.no-opts32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/wasm-only.fromasm.imprecise.no-opts b/test/wasm-only.fromasm.imprecise.no-opts
index 78050d9cd..dfd7db50e 100644
--- a/test/wasm-only.fromasm.imprecise.no-opts
+++ b/test/wasm-only.fromasm.imprecise.no-opts
@@ -224,7 +224,12 @@
)
(func $test
(local $i i32)
+ (local $j i64)
(local $f f32)
+ (local $f1 f32)
+ (local $f2 f32)
+ (local $d1 f64)
+ (local $d2 f64)
(set_local $i
(i32.reinterpret/f32
(get_local $f)
@@ -235,6 +240,33 @@
(get_local $i)
)
)
+ (set_local $i
+ (i32.ctz
+ (get_local $i)
+ )
+ )
+ (set_local $i
+ (i32.popcnt
+ (get_local $i)
+ )
+ )
+ (set_local $j
+ (i64.popcnt
+ (get_local $j)
+ )
+ )
+ (set_local $f1
+ (f32.copysign
+ (get_local $f1)
+ (get_local $f2)
+ )
+ )
+ (set_local $d1
+ (f64.copysign
+ (get_local $d1)
+ (get_local $d2)
+ )
+ )
)
(func $test64
(local $x i64)