summaryrefslogtreecommitdiff
path: root/test/min.fromasm.imprecise.no-opts
diff options
context:
space:
mode:
Diffstat (limited to 'test/min.fromasm.imprecise.no-opts')
-rw-r--r--test/min.fromasm.imprecise.no-opts26
1 files changed, 18 insertions, 8 deletions
diff --git a/test/min.fromasm.imprecise.no-opts b/test/min.fromasm.imprecise.no-opts
index 4e90b3f34..dd89a9eed 100644
--- a/test/min.fromasm.imprecise.no-opts
+++ b/test/min.fromasm.imprecise.no-opts
@@ -1,7 +1,11 @@
(module
(memory 256 256)
- (export "memory" memory)
- (export "floats" $floats)
+ (import "env" "tempDoublePtr" (global $tDP i32))
+ (import "env" "memory" (memory $memory))
+ (import "env" "table" (table $table))
+ (import "env" "memoryBase" (global $memoryBase i32))
+ (import "env" "tableBase" (global $tableBase i32))
+ (export "floats" (func $floats))
(func $floats (param $f f32) (result f32)
(local $t f32)
(return
@@ -31,16 +35,22 @@
)
)
(func $bitcasts (param $i i32) (param $f f32)
- (f32.reinterpret/i32
- (get_local $i)
- )
- (f64.promote/f32
+ (drop
(f32.reinterpret/i32
(get_local $i)
)
)
- (i32.reinterpret/f32
- (get_local $f)
+ (drop
+ (f64.promote/f32
+ (f32.reinterpret/i32
+ (get_local $i)
+ )
+ )
+ )
+ (drop
+ (i32.reinterpret/f32
+ (get_local $f)
+ )
)
)
(func $ctzzzz (result i32)