summaryrefslogtreecommitdiff
path: root/test/two_sides.fromasm
diff options
context:
space:
mode:
Diffstat (limited to 'test/two_sides.fromasm')
-rw-r--r--test/two_sides.fromasm76
1 files changed, 36 insertions, 40 deletions
diff --git a/test/two_sides.fromasm b/test/two_sides.fromasm
index 83933ba0c..51a8c8044 100644
--- a/test/two_sides.fromasm
+++ b/test/two_sides.fromasm
@@ -17,30 +17,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
+ (call_import $f64-to-int
+ (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
- (call_import $f64-to-int
- (get_local $d6)
- )
- )
- (return
- (get_local $i5)
- )
)
(block
(set_local $d6
@@ -51,30 +49,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
+ (call_import $f64-to-int
+ (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
- (call_import $f64-to-int
- (get_local $d6)
- )
- )
- (return
- (get_local $i5)
- )
)
)
(return