summaryrefslogtreecommitdiff
path: root/test/two_sides.fromasm.imprecise
diff options
context:
space:
mode:
authorAlon Zakai <alonzakai@gmail.com>2016-04-07 12:06:56 -0700
committerAlon Zakai <alonzakai@gmail.com>2016-04-07 12:06:56 -0700
commit67762b6f5639d1ef5ab6861895713f7860d3d9fb (patch)
treedbb580e29d6e8c54970d90e9f6d44ada023ac3b8 /test/two_sides.fromasm.imprecise
parent6279be0fb7013db1bc89755f9bc8db4befef2ddf (diff)
downloadbinaryen-67762b6f5639d1ef5ab6861895713f7860d3d9fb.tar.gz
binaryen-67762b6f5639d1ef5ab6861895713f7860d3d9fb.tar.bz2
binaryen-67762b6f5639d1ef5ab6861895713f7860d3d9fb.zip
update tests
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