summaryrefslogtreecommitdiff
path: root/test/min.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/min.fromasm.imprecise')
-rw-r--r--test/min.fromasm.imprecise52
1 files changed, 16 insertions, 36 deletions
diff --git a/test/min.fromasm.imprecise b/test/min.fromasm.imprecise
index f3f43112b..444551428 100644
--- a/test/min.fromasm.imprecise
+++ b/test/min.fromasm.imprecise
@@ -6,59 +6,39 @@
(export "neg" (func $legalstub$neg))
(export "bitcasts" (func $legalstub$bitcasts))
(export "ctzzzz" (func $ctzzzz))
- (func $floats (; 0 ;) (param $0 f32) (result f32)
- (local $1 f32)
- (f32.add
- (get_local $1)
- (get_local $0)
- )
- )
- (func $neg (; 1 ;) (param $0 i32) (param $1 i32) (result f32)
- (i32.store
- (get_local $0)
- (get_local $1)
- )
- (f32.neg
- (f32.load
- (get_local $0)
- )
- )
- )
- (func $bitcasts (; 2 ;) (param $0 i32) (param $1 f32)
- (nop)
- )
- (func $ctzzzz (; 3 ;) (result i32)
+ (func $ctzzzz (; 0 ;) (result i32)
(i32.const 2)
)
- (func $ub (; 4 ;) (result i32)
+ (func $ub (; 1 ;) (result i32)
(drop
(call $ub)
)
(get_global $M)
)
- (func $legalstub$floats (; 5 ;) (param $0 f64) (result f64)
+ (func $legalstub$floats (; 2 ;) (param $0 f64) (result f64)
(f64.promote/f32
- (call $floats
+ (f32.add
+ (f32.const 0)
(f32.demote/f64
(get_local $0)
)
)
)
)
- (func $legalstub$neg (; 6 ;) (param $0 i32) (param $1 i32) (result f64)
+ (func $legalstub$neg (; 3 ;) (param $0 i32) (param $1 i32) (result f64)
+ (i32.store
+ (get_local $0)
+ (get_local $1)
+ )
(f64.promote/f32
- (call $neg
- (get_local $0)
- (get_local $1)
+ (f32.neg
+ (f32.load
+ (get_local $0)
+ )
)
)
)
- (func $legalstub$bitcasts (; 7 ;) (param $0 i32) (param $1 f64)
- (call $bitcasts
- (get_local $0)
- (f32.demote/f64
- (get_local $1)
- )
- )
+ (func $legalstub$bitcasts (; 4 ;) (param $0 i32) (param $1 f64)
+ (nop)
)
)