diff options
Diffstat (limited to 'test/emcc_O2_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_O2_hello_world.fromasm.imprecise | 1352 |
1 files changed, 651 insertions, 701 deletions
diff --git a/test/emcc_O2_hello_world.fromasm.imprecise b/test/emcc_O2_hello_world.fromasm.imprecise index d4e40feb4..dc9d36780 100644 --- a/test/emcc_O2_hello_world.fromasm.imprecise +++ b/test/emcc_O2_hello_world.fromasm.imprecise @@ -936,50 +936,47 @@ ) ) (loop $while-in$11 - (block $while-out$10 - (if - (tee_local $19 - (i32.load - (tee_local $16 - (i32.add - (get_local $8) - (i32.const 20) - ) + (if + (tee_local $19 + (i32.load + (tee_local $16 + (i32.add + (get_local $8) + (i32.const 20) ) ) ) - (block - (set_local $8 - (get_local $19) - ) - (set_local $10 - (get_local $16) - ) - (br $while-in$11) + ) + (block + (set_local $8 + (get_local $19) + ) + (set_local $10 + (get_local $16) ) + (br $while-in$11) ) - (if - (tee_local $19 - (i32.load - (tee_local $16 - (i32.add - (get_local $8) - (i32.const 16) - ) + ) + (if + (tee_local $19 + (i32.load + (tee_local $16 + (i32.add + (get_local $8) + (i32.const 16) ) ) ) - (block - (set_local $8 - (get_local $19) - ) - (set_local $10 - (get_local $16) - ) + ) + (block + (set_local $8 + (get_local $19) + ) + (set_local $10 + (get_local $16) ) - (br $while-out$10) + (br $while-in$11) ) - (br $while-in$11) ) ) (if @@ -1567,82 +1564,80 @@ (i32.const 0) ) (loop $while-in$18 - (block $while-out$17 - (if - (i32.lt_u - (tee_local $5 - (i32.sub - (tee_local $18 - (i32.and - (i32.load offset=4 - (get_local $19) - ) - (i32.const -8) + (if + (i32.lt_u + (tee_local $5 + (i32.sub + (tee_local $18 + (i32.and + (i32.load offset=4 + (get_local $19) ) + (i32.const -8) ) - (get_local $2) ) + (get_local $2) ) - (get_local $9) ) - (if - (i32.eq - (get_local $18) - (get_local $2) + (get_local $9) + ) + (if + (i32.eq + (get_local $18) + (get_local $2) + ) + (block + (set_local $27 + (get_local $5) ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $25 - (get_local $19) - ) - (set_local $29 - (get_local $19) - ) - (set_local $9 - (i32.const 90) - ) - (br $label$break$L123) + (set_local $25 + (get_local $19) ) - (block - (set_local $9 - (get_local $5) - ) - (set_local $4 - (get_local $19) - ) + (set_local $29 + (get_local $19) + ) + (set_local $9 + (i32.const 90) + ) + (br $label$break$L123) + ) + (block + (set_local $9 + (get_local $5) + ) + (set_local $4 + (get_local $19) ) ) ) - (set_local $18 - (select - (get_local $8) - (tee_local $5 - (i32.load offset=20 - (get_local $19) - ) + ) + (set_local $18 + (select + (get_local $8) + (tee_local $5 + (i32.load offset=20 + (get_local $19) ) - (i32.or - (i32.eqz - (get_local $5) - ) - (i32.eq - (get_local $5) - (tee_local $19 - (i32.load + ) + (i32.or + (i32.eqz + (get_local $5) + ) + (i32.eq + (get_local $5) + (tee_local $19 + (i32.load + (i32.add (i32.add - (i32.add - (get_local $19) - (i32.const 16) - ) - (i32.shl - (i32.shr_u - (get_local $1) - (i32.const 31) - ) - (i32.const 2) + (get_local $19) + (i32.const 16) + ) + (i32.shl + (i32.shr_u + (get_local $1) + (i32.const 31) ) + (i32.const 2) ) ) ) @@ -1650,46 +1645,45 @@ ) ) ) - (if - (tee_local $5 - (i32.eqz - (get_local $19) - ) + ) + (if + (tee_local $5 + (i32.eqz + (get_local $19) ) - (block - (set_local $33 - (get_local $9) - ) - (set_local $34 - (get_local $18) - ) - (set_local $30 - (get_local $4) - ) - (set_local $9 - (i32.const 86) - ) - (br $while-out$17) + ) + (block + (set_local $33 + (get_local $9) ) - (block - (set_local $8 - (get_local $18) - ) - (set_local $1 - (i32.shl - (get_local $1) - (i32.xor - (i32.and - (get_local $5) - (i32.const 1) - ) + (set_local $34 + (get_local $18) + ) + (set_local $30 + (get_local $4) + ) + (set_local $9 + (i32.const 86) + ) + ) + (block + (set_local $8 + (get_local $18) + ) + (set_local $1 + (i32.shl + (get_local $1) + (i32.xor + (i32.and + (get_local $5) (i32.const 1) ) + (i32.const 1) ) ) ) + (br $while-in$18) ) - (br $while-in$18) ) ) ) @@ -1883,84 +1877,81 @@ (i32.const 90) ) (loop $while-in$20 - (block $while-out$19 - (set_local $9 - (i32.const 0) - ) - (set_local $1 - (i32.lt_u - (tee_local $4 - (i32.sub - (i32.and - (i32.load offset=4 - (get_local $25) - ) - (i32.const -8) + (set_local $9 + (i32.const 0) + ) + (set_local $1 + (i32.lt_u + (tee_local $4 + (i32.sub + (i32.and + (i32.load offset=4 + (get_local $25) ) - (get_local $2) + (i32.const -8) ) + (get_local $2) ) - (get_local $27) ) + (get_local $27) ) - (set_local $5 - (select - (get_local $4) - (get_local $27) + ) + (set_local $5 + (select + (get_local $4) + (get_local $27) + (get_local $1) + ) + ) + (set_local $4 + (select + (get_local $25) + (get_local $29) + (get_local $1) + ) + ) + (if + (tee_local $1 + (i32.load offset=16 + (get_local $25) + ) + ) + (block + (set_local $27 + (get_local $5) + ) + (set_local $25 (get_local $1) ) + (set_local $29 + (get_local $4) + ) + (br $while-in$20) ) - (set_local $4 - (select + ) + (if + (tee_local $25 + (i32.load offset=20 (get_local $25) - (get_local $29) - (get_local $1) ) ) - (if - (tee_local $1 - (i32.load offset=16 - (get_local $25) - ) + (block + (set_local $27 + (get_local $5) ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $25 - (get_local $1) - ) - (set_local $29 - (get_local $4) - ) - (br $while-in$20) + (set_local $29 + (get_local $4) ) + (br $while-in$20) ) - (if - (tee_local $25 - (i32.load offset=20 - (get_local $25) - ) - ) - (block - (set_local $27 - (get_local $5) - ) - (set_local $29 - (get_local $4) - ) + (block + (set_local $6 + (get_local $5) ) - (block - (set_local $6 - (get_local $5) - ) - (set_local $12 - (get_local $4) - ) - (br $while-out$19) + (set_local $12 + (get_local $4) ) ) - (br $while-in$20) ) ) ) @@ -2062,50 +2053,47 @@ ) ) (loop $while-in$24 - (block $while-out$23 - (if - (tee_local $16 - (i32.load - (tee_local $0 - (i32.add - (get_local $8) - (i32.const 20) - ) + (if + (tee_local $16 + (i32.load + (tee_local $0 + (i32.add + (get_local $8) + (i32.const 20) ) ) ) - (block - (set_local $8 - (get_local $16) - ) - (set_local $7 - (get_local $0) - ) - (br $while-in$24) + ) + (block + (set_local $8 + (get_local $16) + ) + (set_local $7 + (get_local $0) ) + (br $while-in$24) ) - (if - (tee_local $16 - (i32.load - (tee_local $0 - (i32.add - (get_local $8) - (i32.const 16) - ) + ) + (if + (tee_local $16 + (i32.load + (tee_local $0 + (i32.add + (get_local $8) + (i32.const 16) ) ) ) - (block - (set_local $8 - (get_local $16) - ) - (set_local $7 - (get_local $0) - ) + ) + (block + (set_local $8 + (get_local $16) + ) + (set_local $7 + (get_local $0) ) - (br $while-out$23) + (br $while-in$24) ) - (br $while-in$24) ) ) (if @@ -2710,6 +2698,7 @@ (set_local $1 (get_local $0) ) + (br $while-in$32) ) (block (set_local $23 @@ -2721,10 +2710,8 @@ (set_local $9 (i32.const 145) ) - (br $while-out$31) ) ) - (br $while-in$32) ) ) (if @@ -3233,13 +3220,12 @@ ) ) (if - (i32.eqz - (tee_local $14 - (i32.load offset=8 - (get_local $14) - ) + (tee_local $14 + (i32.load offset=8 + (get_local $14) ) ) + (br $while-in$38) (block (set_local $9 (i32.const 173) @@ -3247,7 +3233,6 @@ (br $label$break$L259) ) ) - (br $while-in$38) ) ) (if @@ -3874,21 +3859,16 @@ ) ) (if - (i32.eqz - (tee_local $3 - (i32.load offset=8 - (get_local $3) - ) + (tee_local $3 + (i32.load offset=8 + (get_local $3) ) ) - (block - (set_local $28 - (i32.const 624) - ) - (br $while-out$48) + (br $while-in$49) + (set_local $28 + (i32.const 624) ) ) - (br $while-in$49) ) ) (if @@ -4134,50 +4114,47 @@ ) ) (loop $while-in$56 - (block $while-out$55 - (if - (tee_local $8 - (i32.load - (tee_local $2 - (i32.add - (get_local $14) - (i32.const 20) - ) + (if + (tee_local $8 + (i32.load + (tee_local $2 + (i32.add + (get_local $14) + (i32.const 20) ) ) ) - (block - (set_local $14 - (get_local $8) - ) - (set_local $11 - (get_local $2) - ) - (br $while-in$56) + ) + (block + (set_local $14 + (get_local $8) ) + (set_local $11 + (get_local $2) + ) + (br $while-in$56) ) - (if - (tee_local $8 - (i32.load - (tee_local $2 - (i32.add - (get_local $14) - (i32.const 16) - ) + ) + (if + (tee_local $8 + (i32.load + (tee_local $2 + (i32.add + (get_local $14) + (i32.const 16) ) ) ) - (block - (set_local $14 - (get_local $8) - ) - (set_local $11 - (get_local $2) - ) + ) + (block + (set_local $14 + (get_local $8) ) - (br $while-out$55) + (set_local $11 + (get_local $2) + ) + (br $while-in$56) ) - (br $while-in$56) ) ) (if @@ -4929,6 +4906,7 @@ (set_local $1 (get_local $7) ) + (br $while-in$70) ) (block (set_local $44 @@ -4940,10 +4918,8 @@ (set_local $9 (i32.const 278) ) - (br $while-out$69) ) ) - (br $while-in$70) ) ) (if @@ -5070,43 +5046,40 @@ ) ) (loop $while-in$72 - (block $while-out$71 + (if (if - (if - (i32.le_u - (tee_local $3 - (i32.load - (get_local $28) - ) + (i32.le_u + (tee_local $3 + (i32.load + (get_local $28) ) - (get_local $13) ) - (i32.gt_u - (tee_local $15 - (i32.add - (get_local $3) - (i32.load offset=4 - (get_local $28) - ) + (get_local $13) + ) + (i32.gt_u + (tee_local $15 + (i32.add + (get_local $3) + (i32.load offset=4 + (get_local $28) ) ) - (get_local $13) - ) - (i32.const 0) - ) - (block - (set_local $5 - (get_local $15) ) - (br $while-out$71) + (get_local $13) ) + (i32.const 0) ) - (set_local $28 - (i32.load offset=8 - (get_local $28) + (set_local $5 + (get_local $15) + ) + (block + (set_local $28 + (i32.load offset=8 + (get_local $28) + ) ) + (br $while-in$72) ) - (br $while-in$72) ) ) (set_local $15 @@ -5663,6 +5636,7 @@ (set_local $1 (get_local $7) ) + (br $while-in$76) ) (block (set_local $46 @@ -5674,10 +5648,8 @@ (set_local $9 (i32.const 304) ) - (br $while-out$75) ) ) - (br $while-in$76) ) ) (if @@ -6353,58 +6325,55 @@ ) ) (loop $while-in$5 - (block $while-out$4 - (if - (tee_local $11 - (i32.load - (tee_local $5 - (i32.add - (get_local $1) - (i32.const 20) - ) + (if + (tee_local $11 + (i32.load + (tee_local $5 + (i32.add + (get_local $1) + (i32.const 20) ) ) ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $6 - (get_local $5) - ) - (br $while-in$5) + ) + (block + (set_local $1 + (get_local $11) + ) + (set_local $6 + (get_local $5) ) + (br $while-in$5) ) - (if - (tee_local $11 - (i32.load - (tee_local $5 - (i32.add - (get_local $1) - (i32.const 16) - ) + ) + (if + (tee_local $11 + (i32.load + (tee_local $5 + (i32.add + (get_local $1) + (i32.const 16) ) ) ) - (block - (set_local $1 - (get_local $11) - ) - (set_local $6 - (get_local $5) - ) + ) + (block + (set_local $1 + (get_local $11) ) - (block - (set_local $5 - (get_local $1) - ) - (set_local $10 - (get_local $6) - ) - (br $while-out$4) + (set_local $6 + (get_local $5) + ) + (br $while-in$5) + ) + (block + (set_local $5 + (get_local $1) + ) + (set_local $10 + (get_local $6) ) ) - (br $while-in$5) ) ) (if @@ -6907,50 +6876,47 @@ ) ) (loop $while-in$13 - (block $while-out$12 - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 20) - ) + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 20) ) ) ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $6 - (get_local $1) - ) - (br $while-in$13) + ) + (block + (set_local $0 + (get_local $11) + ) + (set_local $6 + (get_local $1) ) + (br $while-in$13) ) - (if - (tee_local $11 - (i32.load - (tee_local $1 - (i32.add - (get_local $0) - (i32.const 16) - ) + ) + (if + (tee_local $11 + (i32.load + (tee_local $1 + (i32.add + (get_local $0) + (i32.const 16) ) ) ) - (block - (set_local $0 - (get_local $11) - ) - (set_local $6 - (get_local $1) - ) + ) + (block + (set_local $0 + (get_local $11) + ) + (set_local $6 + (get_local $1) ) - (br $while-out$12) + (br $while-in$13) ) - (br $while-in$13) ) ) (if @@ -7658,6 +7624,7 @@ (set_local $1 (get_local $7) ) + (br $while-in$19) ) (block (set_local $18 @@ -7669,10 +7636,8 @@ (set_local $0 (i32.const 127) ) - (br $while-out$18) ) ) - (br $while-in$19) ) ) (if @@ -7808,22 +7773,21 @@ ) ) (loop $while-in$21 - (block $while-out$20 - (if - (tee_local $2 - (i32.load - (get_local $0) - ) + (if + (tee_local $2 + (i32.load + (get_local $0) ) + ) + (block (set_local $0 (i32.add (get_local $2) (i32.const 8) ) ) - (br $while-out$20) + (br $while-in$21) ) - (br $while-in$21) ) ) (i32.store @@ -8021,121 +7985,122 @@ (set_local $1 (i32.const 8) ) - (br $while-out$0) - ) - ) - (set_local $10 - (i32.sub - (get_local $5) - (get_local $6) ) - ) - (set_local $3 - (if - (i32.le_u - (get_local $6) - (tee_local $5 - (i32.load offset=4 - (get_local $4) - ) + (block + (set_local $10 + (i32.sub + (get_local $5) + (get_local $6) ) ) - (if - (i32.eq - (get_local $3) - (i32.const 2) - ) - (block - (i32.store - (get_local $9) - (i32.add - (i32.load - (get_local $9) + (set_local $3 + (if + (i32.le_u + (get_local $6) + (tee_local $5 + (i32.load offset=4 + (get_local $4) ) - (get_local $6) ) ) - (set_local $7 - (get_local $4) - ) - (set_local $15 - (i32.const 2) - ) - (get_local $5) - ) - (block - (set_local $7 - (get_local $4) - ) - (set_local $15 - (get_local $3) - ) - (get_local $5) - ) - ) - (block - (i32.store - (get_local $9) - (tee_local $7 - (i32.load - (get_local $8) + (if + (i32.eq + (get_local $3) + (i32.const 2) + ) + (block + (i32.store + (get_local $9) + (i32.add + (i32.load + (get_local $9) + ) + (get_local $6) + ) + ) + (set_local $7 + (get_local $4) + ) + (set_local $15 + (i32.const 2) + ) + (get_local $5) + ) + (block + (set_local $7 + (get_local $4) + ) + (set_local $15 + (get_local $3) + ) + (get_local $5) ) ) - ) - (i32.store - (get_local $14) - (get_local $7) - ) - (set_local $6 - (i32.sub - (get_local $6) - (get_local $5) - ) - ) - (set_local $7 - (i32.add - (get_local $4) - (i32.const 8) + (block + (i32.store + (get_local $9) + (tee_local $7 + (i32.load + (get_local $8) + ) + ) + ) + (i32.store + (get_local $14) + (get_local $7) + ) + (set_local $6 + (i32.sub + (get_local $6) + (get_local $5) + ) + ) + (set_local $7 + (i32.add + (get_local $4) + (i32.const 8) + ) + ) + (set_local $15 + (i32.add + (get_local $3) + (i32.const -1) + ) + ) + (i32.load offset=12 + (get_local $4) + ) ) ) - (set_local $15 - (i32.add - (get_local $3) - (i32.const -1) + ) + (i32.store + (get_local $7) + (i32.add + (i32.load + (get_local $7) ) + (get_local $6) ) - (i32.load offset=12 - (get_local $4) + ) + (i32.store offset=4 + (get_local $7) + (i32.sub + (get_local $3) + (get_local $6) ) ) - ) - ) - (i32.store - (get_local $7) - (i32.add - (i32.load + (set_local $4 (get_local $7) ) - (get_local $6) - ) - ) - (i32.store offset=4 - (get_local $7) - (i32.sub - (get_local $3) - (get_local $6) + (set_local $3 + (get_local $15) + ) + (set_local $5 + (get_local $10) + ) + (br $while-in$1) ) ) - (set_local $4 - (get_local $7) - ) - (set_local $3 - (get_local $15) - ) - (set_local $5 - (get_local $10) - ) - (br $while-in$1) ) ) (if @@ -8326,49 +8291,46 @@ (get_local $1) ) (loop $while-in$3 - (block $while-out$2 - (if - (i32.eqz - (get_local $3) + (if + (i32.eqz + (get_local $3) + ) + (block + (set_local $2 + (get_local $0) ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $3 - (i32.const 0) - ) - (br $label$break$L10 - (get_local $1) - ) + (set_local $3 + (i32.const 0) + ) + (br $label$break$L10 + (get_local $1) ) ) - (if - (i32.eq - (i32.load8_s - (i32.add - (get_local $0) - (tee_local $7 - (i32.add - (get_local $3) - (i32.const -1) - ) + ) + (if + (i32.eq + (i32.load8_s + (i32.add + (get_local $0) + (tee_local $7 + (i32.add + (get_local $3) + (i32.const -1) ) ) ) - (i32.const 10) - ) - (block - (set_local $4 - (get_local $3) - ) - (br $while-out$2) ) + (i32.const 10) + ) + (set_local $4 + (get_local $3) + ) + (block (set_local $3 (get_local $7) ) + (br $while-in$3) ) - (br $while-in$3) ) ) (br_if $label$break$L5 @@ -8522,62 +8484,55 @@ (get_local $0) ) (loop $while-in$3 - (block $while-out$2 - (set_local $0 - (if - (i32.gt_s - (i32.load offset=76 - (get_local $1) - ) - (i32.const -1) - ) - (call $___lockfile + (set_local $0 + (if + (i32.gt_s + (i32.load offset=76 (get_local $1) ) - (i32.const 0) - ) - ) - (set_local $2 - (if - (i32.gt_u - (i32.load offset=20 - (get_local $1) - ) - (i32.load offset=28 - (get_local $1) - ) - ) - (i32.or - (call $___fflush_unlocked - (get_local $1) - ) - (get_local $2) - ) - (get_local $2) + (i32.const -1) ) - ) - (if - (get_local $0) - (call $___unlockfile + (call $___lockfile (get_local $1) ) + (i32.const 0) ) + ) + (set_local $2 (if - (i32.eqz - (tee_local $1 - (i32.load offset=56 - (get_local $1) - ) + (i32.gt_u + (i32.load offset=20 + (get_local $1) + ) + (i32.load offset=28 + (get_local $1) ) ) - (block - (set_local $0 - (get_local $2) + (i32.or + (call $___fflush_unlocked + (get_local $1) ) - (br $while-out$2) + (get_local $2) + ) + (get_local $2) + ) + ) + (if + (get_local $0) + (call $___unlockfile + (get_local $1) + ) + ) + (if + (tee_local $1 + (i32.load offset=56 + (get_local $1) ) ) (br $while-in$3) + (set_local $0 + (get_local $2) + ) ) ) ) @@ -8609,45 +8564,40 @@ (get_local $3) ) (loop $while-in$2 - (block $while-out$1 - (if - (i32.eqz - (i32.load8_s - (get_local $0) - ) + (if + (i32.eqz + (i32.load8_s + (get_local $0) ) - (block - (set_local $5 - (get_local $4) - ) - (br $label$break$L1) + ) + (block + (set_local $5 + (get_local $4) ) + (br $label$break$L1) ) - (if - (i32.eqz - (i32.and - (tee_local $4 - (tee_local $0 - (i32.add - (get_local $0) - (i32.const 1) - ) - ) + ) + (if + (i32.and + (tee_local $4 + (tee_local $0 + (i32.add + (get_local $0) + (i32.const 1) ) - (i32.const 3) - ) - ) - (block - (set_local $2 - (get_local $0) - ) - (set_local $1 - (i32.const 4) ) - (br $while-out$1) ) + (i32.const 3) ) (br $while-in$2) + (block + (set_local $2 + (get_local $0) + ) + (set_local $1 + (i32.const 4) + ) + ) ) ) ) @@ -8671,8 +8621,8 @@ (get_local $2) ) (loop $while-in$4 - (block $while-out$3 - (if + (if + (i32.eqz (i32.and (i32.xor (i32.and @@ -8690,15 +8640,16 @@ (i32.const -16843009) ) ) - (br $while-out$3) + ) + (block (set_local $1 (i32.add (get_local $1) (i32.const 4) ) ) + (br $while-in$4) ) - (br $while-in$4) ) ) (if @@ -8717,22 +8668,21 @@ (get_local $1) ) (loop $while-in$6 - (block $while-out$5 - (if - (i32.load8_s - (tee_local $1 - (i32.add - (get_local $2) - (i32.const 1) - ) + (if + (i32.load8_s + (tee_local $1 + (i32.add + (get_local $2) + (i32.const 1) ) ) + ) + (block (set_local $2 (get_local $1) ) - (br $while-out$5) + (br $while-in$6) ) - (br $while-in$6) ) ) ) @@ -9098,75 +9048,75 @@ ) ) (loop $while-in$3 - (block $while-out$2 - (br_if $while-out$2 - (i32.lt_s - (get_local $2) - (i32.const 4) - ) - ) - (i32.store - (get_local $0) - (i32.load - (get_local $1) - ) + (if + (i32.ge_s + (get_local $2) + (i32.const 4) ) - (set_local $0 - (i32.add + (block + (i32.store (get_local $0) - (i32.const 4) + (i32.load + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 4) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 4) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 4) + ) + ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 4) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) ) (loop $while-in$5 - (block $while-out$4 - (br_if $while-out$4 - (i32.le_s - (get_local $2) - (i32.const 0) - ) - ) - (i32.store8 - (get_local $0) - (i32.load8_s - (get_local $1) - ) + (if + (i32.gt_s + (get_local $2) + (i32.const 0) ) - (set_local $0 - (i32.add + (block + (i32.store8 (get_local $0) - (i32.const 1) + (i32.load8_s + (get_local $1) + ) ) - ) - (set_local $1 - (i32.add - (get_local $1) - (i32.const 1) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) - ) - (set_local $2 - (i32.sub - (get_local $2) - (i32.const 1) + (set_local $1 + (i32.add + (get_local $1) + (i32.const 1) + ) ) + (set_local $2 + (i32.sub + (get_local $2) + (i32.const 1) + ) + ) + (br $while-in$5) ) - (br $while-in$5) ) ) (get_local $3) @@ -9241,70 +9191,70 @@ ) ) (loop $while-in$1 - (block $while-out$0 - (br_if $while-out$0 - (i32.ge_s - (get_local $0) - (get_local $3) - ) - ) - (i32.store8 + (if + (i32.lt_s (get_local $0) - (get_local $1) + (get_local $3) ) - (set_local $0 - (i32.add + (block + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$1) ) - (br $while-in$1) ) ) ) ) (loop $while-in$3 - (block $while-out$2 - (br_if $while-out$2 - (i32.ge_s - (get_local $0) - (get_local $6) - ) - ) - (i32.store + (if + (i32.lt_s (get_local $0) - (get_local $5) + (get_local $6) ) - (set_local $0 - (i32.add + (block + (i32.store (get_local $0) - (i32.const 4) + (get_local $5) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 4) + ) ) + (br $while-in$3) ) - (br $while-in$3) ) ) ) ) (loop $while-in$5 - (block $while-out$4 - (br_if $while-out$4 - (i32.ge_s - (get_local $0) - (get_local $4) - ) - ) - (i32.store8 + (if + (i32.lt_s (get_local $0) - (get_local $1) + (get_local $4) ) - (set_local $0 - (i32.add + (block + (i32.store8 (get_local $0) - (i32.const 1) + (get_local $1) + ) + (set_local $0 + (i32.add + (get_local $0) + (i32.const 1) + ) ) + (br $while-in$5) ) - (br $while-in$5) ) ) (i32.sub |