summaryrefslogtreecommitdiff
path: root/test/emcc_hello_world.fromasm.imprecise
diff options
context:
space:
mode:
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r--test/emcc_hello_world.fromasm.imprecise422
1 files changed, 213 insertions, 209 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise
index 69bcbdba9..ec57aa743 100644
--- a/test/emcc_hello_world.fromasm.imprecise
+++ b/test/emcc_hello_world.fromasm.imprecise
@@ -2090,8 +2090,8 @@
(local $19 i32)
(local $20 i32)
(local $21 i32)
- (local $22 i32)
- (local $23 f64)
+ (local $22 f64)
+ (local $23 i32)
(local $24 i32)
(local $25 i32)
(local $26 i32)
@@ -2208,7 +2208,7 @@
(get_local $32)
)
(tee_local $36
- (tee_local $22
+ (tee_local $23
(i32.add
(get_local $14)
(i32.const 588)
@@ -2243,14 +2243,14 @@
(set_local $42
(tee_local $29
(i32.add
- (get_local $22)
+ (get_local $23)
(i32.const 9)
)
)
)
(set_local $33
(i32.add
- (get_local $22)
+ (get_local $23)
(i32.const 8)
)
)
@@ -3854,7 +3854,7 @@
(if
(tee_local $5
(f64.ne
- (tee_local $23
+ (tee_local $22
(f64.mul
(call $_frexp
(get_local $16)
@@ -3918,7 +3918,7 @@
(i32.const 11)
)
)
- (get_local $23)
+ (get_local $22)
(block (result f64)
(set_local $16
(f64.const 8)
@@ -3945,7 +3945,7 @@
(get_local $16)
(f64.sub
(f64.neg
- (get_local $23)
+ (get_local $22)
)
(get_local $16)
)
@@ -3953,7 +3953,7 @@
)
(f64.sub
(f64.add
- (get_local $23)
+ (get_local $22)
(get_local $16)
)
(get_local $16)
@@ -3968,6 +3968,12 @@
)
)
)
+ (set_local $12
+ (i32.or
+ (get_local $26)
+ (i32.const 2)
+ )
+ )
(if
(i32.eq
(tee_local $5
@@ -4014,12 +4020,6 @@
)
)
)
- (set_local $12
- (i32.or
- (get_local $26)
- (i32.const 2)
- )
- )
(i32.store8
(i32.add
(get_local $5)
@@ -4063,7 +4063,7 @@
)
)
(set_local $5
- (get_local $22)
+ (get_local $23)
)
(loop $while-in56
(i32.store8
@@ -4226,7 +4226,7 @@
)
(drop
(call $___fwritex
- (get_local $22)
+ (get_local $23)
(get_local $5)
(get_local $0)
)
@@ -4305,7 +4305,7 @@
)
)
(f64.mul
- (get_local $23)
+ (get_local $22)
(f64.const 268435456)
)
)
@@ -4315,7 +4315,7 @@
(get_local $20)
)
)
- (get_local $23)
+ (get_local $22)
)
)
)
@@ -4961,7 +4961,7 @@
)
)
)
- (set_local $23
+ (set_local $22
(select
(f64.const 9007199254740994)
(f64.const 9007199254740992)
@@ -4984,14 +4984,14 @@
(i32.const 45)
)
(block
- (set_local $23
+ (set_local $16
(f64.neg
- (get_local $23)
+ (get_local $16)
)
)
- (set_local $16
+ (set_local $22
(f64.neg
- (get_local $16)
+ (get_local $22)
)
)
)
@@ -5009,10 +5009,10 @@
(br_if $do-once81
(f64.eq
(f64.add
- (get_local $23)
+ (get_local $22)
(get_local $16)
)
- (get_local $23)
+ (get_local $22)
)
)
(i32.store
@@ -5643,7 +5643,7 @@
(br_if $do-once103
(i32.le_u
(get_local $7)
- (get_local $22)
+ (get_local $23)
)
)
(loop $while-in106
@@ -5659,7 +5659,7 @@
(br_if $while-in106
(i32.gt_u
(get_local $7)
- (get_local $22)
+ (get_local $23)
)
)
)
@@ -5747,7 +5747,7 @@
(get_local $29)
)
)
- (get_local $22)
+ (get_local $23)
)
(loop $while-in112
(i32.store8
@@ -5762,7 +5762,7 @@
(br_if $while-in112
(i32.gt_u
(get_local $6)
- (get_local $22)
+ (get_local $23)
)
)
)
@@ -5847,194 +5847,196 @@
(get_local $24)
)
)
- (if
- (i32.gt_s
- (get_local $5)
- (i32.const -1)
- )
- (block
- (set_local $18
- (i32.eqz
- (get_local $21)
+ (call $_pad
+ (get_local $0)
+ (i32.const 48)
+ (block (result i32)
+ (if
+ (i32.gt_s
+ (get_local $5)
+ (i32.const -1)
)
- )
- (set_local $6
- (get_local $12)
- )
- (set_local $7
- (get_local $5)
- )
- (loop $while-in114
- (if
- (i32.eq
- (tee_local $5
- (call $_fmt_u
- (i32.load
- (get_local $6)
- )
- (i32.const 0)
- (get_local $29)
- )
+ (block
+ (set_local $18
+ (i32.eqz
+ (get_local $21)
)
- (get_local $29)
)
- (block
- (i32.store8
- (get_local $33)
- (i32.const 48)
- )
- (set_local $5
- (get_local $33)
- )
+ (set_local $6
+ (get_local $12)
)
- )
- (block $do-once115
- (if
- (i32.eq
- (get_local $6)
- (get_local $12)
- )
- (block
- (if
- (i32.eqz
- (i32.and
+ (set_local $7
+ (get_local $5)
+ )
+ (loop $while-in114
+ (if
+ (i32.eq
+ (tee_local $5
+ (call $_fmt_u
(i32.load
- (get_local $0)
+ (get_local $6)
)
- (i32.const 32)
- )
- )
- (drop
- (call $___fwritex
- (get_local $5)
- (i32.const 1)
- (get_local $0)
+ (i32.const 0)
+ (get_local $29)
)
)
+ (get_local $29)
)
- (set_local $5
- (i32.add
- (get_local $5)
- (i32.const 1)
+ (block
+ (i32.store8
+ (get_local $33)
+ (i32.const 48)
+ )
+ (set_local $5
+ (get_local $33)
)
)
- (br_if $do-once115
- (i32.or
- (i32.and
- (i32.load
- (get_local $0)
+ )
+ (block $do-once115
+ (if
+ (i32.eq
+ (get_local $6)
+ (get_local $12)
+ )
+ (block
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ )
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (i32.const 1)
+ (get_local $0)
+ )
)
- (i32.const 32)
)
- (i32.and
- (i32.lt_s
- (get_local $7)
+ (set_local $5
+ (i32.add
+ (get_local $5)
(i32.const 1)
)
- (get_local $18)
+ )
+ (br_if $do-once115
+ (i32.or
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
+ )
+ (i32.and
+ (i32.lt_s
+ (get_local $7)
+ (i32.const 1)
+ )
+ (get_local $18)
+ )
+ )
+ )
+ (drop
+ (call $___fwritex
+ (i32.const 4143)
+ (i32.const 1)
+ (get_local $0)
+ )
)
)
- )
- (drop
- (call $___fwritex
- (i32.const 4143)
- (i32.const 1)
- (get_local $0)
- )
- )
- )
- (block
- (br_if $do-once115
- (i32.le_u
- (get_local $5)
- (get_local $22)
- )
- )
- (loop $while-in118
- (i32.store8
- (tee_local $5
- (i32.add
+ (block
+ (br_if $do-once115
+ (i32.le_u
(get_local $5)
- (i32.const -1)
+ (get_local $23)
)
)
- (i32.const 48)
- )
- (br_if $while-in118
- (i32.gt_u
- (get_local $5)
- (get_local $22)
+ (loop $while-in118
+ (i32.store8
+ (tee_local $5
+ (i32.add
+ (get_local $5)
+ (i32.const -1)
+ )
+ )
+ (i32.const 48)
+ )
+ (br_if $while-in118
+ (i32.gt_u
+ (get_local $5)
+ (get_local $23)
+ )
+ )
)
)
)
)
- )
- )
- (set_local $8
- (i32.sub
- (get_local $42)
- (get_local $5)
- )
- )
- (if
- (i32.eqz
- (i32.and
- (i32.load
- (get_local $0)
+ (set_local $8
+ (i32.sub
+ (get_local $42)
+ (get_local $5)
)
- (i32.const 32)
)
- )
- (drop
- (call $___fwritex
- (get_local $5)
- (select
- (get_local $8)
- (get_local $7)
- (i32.gt_s
- (get_local $7)
- (get_local $8)
+ (if
+ (i32.eqz
+ (i32.and
+ (i32.load
+ (get_local $0)
+ )
+ (i32.const 32)
)
)
- (get_local $0)
- )
- )
- )
- (br_if $while-in114
- (i32.and
- (i32.lt_u
- (tee_local $6
- (i32.add
- (get_local $6)
- (i32.const 4)
+ (drop
+ (call $___fwritex
+ (get_local $5)
+ (select
+ (get_local $8)
+ (get_local $7)
+ (i32.gt_s
+ (get_local $7)
+ (get_local $8)
+ )
+ )
+ (get_local $0)
)
)
- (get_local $9)
)
- (i32.gt_s
- (tee_local $7
- (i32.sub
- (get_local $7)
- (get_local $8)
+ (br_if $while-in114
+ (i32.and
+ (i32.lt_u
+ (tee_local $6
+ (i32.add
+ (get_local $6)
+ (i32.const 4)
+ )
+ )
+ (get_local $9)
+ )
+ (i32.gt_s
+ (tee_local $7
+ (i32.sub
+ (get_local $7)
+ (get_local $8)
+ )
+ )
+ (i32.const -1)
)
)
- (i32.const -1)
)
)
+ (set_local $5
+ (get_local $7)
+ )
)
)
- (set_local $5
- (get_local $7)
+ (i32.add
+ (get_local $5)
+ (i32.const 18)
)
)
- )
- (call $_pad
- (get_local $0)
- (i32.const 48)
- (i32.add
- (get_local $5)
- (i32.const 18)
- )
(i32.const 18)
(i32.const 0)
)
@@ -6101,32 +6103,6 @@
)
(get_local $8)
)
- (if
- (i32.eqz
- (i32.and
- (tee_local $5
- (i32.load
- (get_local $0)
- )
- )
- (i32.const 32)
- )
- )
- (block
- (drop
- (call $___fwritex
- (get_local $30)
- (get_local $9)
- (get_local $0)
- )
- )
- (set_local $5
- (i32.load
- (get_local $0)
- )
- )
- )
- )
(set_local $6
(select
(select
@@ -6151,10 +6127,38 @@
)
)
(if
- (i32.eqz
- (i32.and
- (get_local $5)
- (i32.const 32)
+ (block (result i32)
+ (if
+ (i32.eqz
+ (i32.and
+ (tee_local $5
+ (i32.load
+ (get_local $0)
+ )
+ )
+ (i32.const 32)
+ )
+ )
+ (block
+ (drop
+ (call $___fwritex
+ (get_local $30)
+ (get_local $9)
+ (get_local $0)
+ )
+ )
+ (set_local $5
+ (i32.load
+ (get_local $0)
+ )
+ )
+ )
+ )
+ (i32.eqz
+ (i32.and
+ (get_local $5)
+ (i32.const 32)
+ )
)
)
(drop