summaryrefslogtreecommitdiff
path: root/test/two_sides.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/two_sides.fromasm.imprecise')
-rw-r--r--test/two_sides.fromasm.imprecise65
1 files changed, 30 insertions, 35 deletions
diff --git a/test/two_sides.fromasm.imprecise b/test/two_sides.fromasm.imprecise
index bc6b7217d..ad7e9e61a 100644
--- a/test/two_sides.fromasm.imprecise
+++ b/test/two_sides.fromasm.imprecise
@@ -6,57 +6,52 @@
(local $5 f64)
(if
(get_local $4)
- (return
- (i32.trunc_s/f64
- (f64.mul
- (f64.add
+ (i32.trunc_s/f64
+ (f64.mul
+ (f64.add
+ (f64.convert_s/i32
+ (get_local $2)
+ )
+ (set_local $5
(f64.convert_s/i32
- (get_local $2)
- )
- (set_local $5
- (f64.convert_s/i32
- (i32.mul
- (get_local $1)
- (get_local $0)
- )
+ (i32.mul
+ (get_local $1)
+ (get_local $0)
)
)
)
- (f64.add
- (get_local $5)
- (f64.convert_s/i32
- (get_local $3)
- )
+ )
+ (f64.add
+ (get_local $5)
+ (f64.convert_s/i32
+ (get_local $3)
)
)
)
)
- (return
- (i32.trunc_s/f64
- (f64.mul
- (f64.add
+ (i32.trunc_s/f64
+ (f64.mul
+ (f64.add
+ (f64.convert_s/i32
+ (get_local $2)
+ )
+ (set_local $5
(f64.convert_s/i32
- (get_local $2)
- )
- (set_local $5
- (f64.convert_s/i32
- (i32.mul
- (get_local $3)
- (get_local $2)
- )
+ (i32.mul
+ (get_local $3)
+ (get_local $2)
)
)
)
- (f64.add
- (f64.convert_s/i32
- (get_local $3)
- )
- (get_local $5)
+ )
+ (f64.add
+ (f64.convert_s/i32
+ (get_local $3)
)
+ (get_local $5)
)
)
)
)
- (i32.const 0)
)
)