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.imprecise76
1 files changed, 36 insertions, 40 deletions
diff --git a/test/two_sides.fromasm.imprecise b/test/two_sides.fromasm.imprecise
index 4056f9e8c..98bb9881e 100644
--- a/test/two_sides.fromasm.imprecise
+++ b/test/two_sides.fromasm.imprecise
@@ -15,30 +15,28 @@
)
)
)
- (set_local $d6
- (f64.mul
- (f64.add
- (f64.convert_s/i32
- (get_local $i3)
- )
- (get_local $d6)
- )
- (f64.add
- (get_local $d6)
- (f64.convert_s/i32
- (get_local $i4)
+ (return
+ (set_local $i5
+ (i32.trunc_s/f64
+ (set_local $d6
+ (f64.mul
+ (f64.add
+ (f64.convert_s/i32
+ (get_local $i3)
+ )
+ (get_local $d6)
+ )
+ (f64.add
+ (get_local $d6)
+ (f64.convert_s/i32
+ (get_local $i4)
+ )
+ )
+ )
)
)
)
)
- (set_local $i5
- (i32.trunc_s/f64
- (get_local $d6)
- )
- )
- (return
- (get_local $i5)
- )
)
(block
(set_local $d6
@@ -49,30 +47,28 @@
)
)
)
- (set_local $d6
- (f64.mul
- (f64.add
- (f64.convert_s/i32
- (get_local $i3)
- )
- (get_local $d6)
- )
- (f64.add
- (f64.convert_s/i32
- (get_local $i4)
+ (return
+ (set_local $i5
+ (i32.trunc_s/f64
+ (set_local $d6
+ (f64.mul
+ (f64.add
+ (f64.convert_s/i32
+ (get_local $i3)
+ )
+ (get_local $d6)
+ )
+ (f64.add
+ (f64.convert_s/i32
+ (get_local $i4)
+ )
+ (get_local $d6)
+ )
+ )
)
- (get_local $d6)
)
)
)
- (set_local $i5
- (i32.trunc_s/f64
- (get_local $d6)
- )
- )
- (return
- (get_local $i5)
- )
)
)
(return