diff options
Diffstat (limited to 'test/emcc_hello_world.fromasm.imprecise')
-rw-r--r-- | test/emcc_hello_world.fromasm.imprecise | 523 |
1 files changed, 262 insertions, 261 deletions
diff --git a/test/emcc_hello_world.fromasm.imprecise b/test/emcc_hello_world.fromasm.imprecise index ff64fbb71..ed05f6905 100644 --- a/test/emcc_hello_world.fromasm.imprecise +++ b/test/emcc_hello_world.fromasm.imprecise @@ -2104,7 +2104,7 @@ (local $48 i32) (local $49 i32) (local $50 i32) - (set_local $35 + (set_local $34 (get_global $STACKTOP) ) (set_global $STACKTOP @@ -2122,14 +2122,14 @@ ) (set_local $20 (i32.add - (get_local $35) + (get_local $34) (i32.const 16) ) ) - (set_local $36 + (set_local $35 (i32.add (tee_local $14 - (get_local $35) + (get_local $34) ) (i32.const 528) ) @@ -2170,7 +2170,7 @@ (i32.const 4) ) ) - (set_local $33 + (set_local $32 (i32.add (tee_local $5 (i32.add @@ -2190,9 +2190,9 @@ (set_local $45 (i32.sub (tee_local $27 - (get_local $33) + (get_local $32) ) - (tee_local $37 + (tee_local $36 (tee_local $22 (i32.add (get_local $14) @@ -2205,7 +2205,7 @@ (set_local $46 (i32.sub (i32.const -2) - (get_local $37) + (get_local $36) ) ) (set_local $47 @@ -2233,7 +2233,7 @@ ) ) ) - (set_local $34 + (set_local $33 (i32.add (get_local $22) (i32.const 8) @@ -3970,10 +3970,10 @@ ) (i32.const 31) ) - (get_local $33) + (get_local $32) ) ) - (get_local $33) + (get_local $32) ) (block (i32.store8 @@ -4074,7 +4074,7 @@ (i32.const 1) ) ) - (get_local $37) + (get_local $36) ) (i32.const 1) ) @@ -4183,7 +4183,7 @@ (set_local $5 (i32.sub (get_local $5) - (get_local $37) + (get_local $36) ) ) (if @@ -4551,7 +4551,7 @@ (i32.const -1) ) ) - (set_local $38 + (set_local $37 (i32.shr_u (i32.const 1000000000) (get_local $13) @@ -4568,7 +4568,7 @@ (get_local $7) (i32.add (i32.shr_u - (tee_local $32 + (tee_local $38 (i32.load (get_local $7) ) @@ -4581,10 +4581,10 @@ (set_local $9 (i32.mul (i32.and - (get_local $32) + (get_local $38) (get_local $12) ) - (get_local $38) + (get_local $37) ) ) (br_if $while-in74 @@ -4791,7 +4791,7 @@ (i32.const 0) ) ) - (tee_local $38 + (tee_local $37 (i32.eq (get_local $24) (i32.const 103) @@ -4892,7 +4892,7 @@ (if (i32.eqz (i32.and - (tee_local $32 + (tee_local $38 (i32.eq (i32.add (get_local $6) @@ -4923,7 +4923,7 @@ (f64.const 1) (f64.const 1.5) (i32.and - (get_local $32) + (get_local $38) (i32.eq (get_local $13) (get_local $50) @@ -5121,12 +5121,6 @@ ) ) ) - (set_local $32 - (i32.sub - (i32.const 0) - (get_local $13) - ) - ) (set_local $9 (loop $while-in90 (result i32) (block $while-out89 (result i32) @@ -5169,250 +5163,257 @@ ) ) ) - (call $_pad - (get_local $0) - (i32.const 32) - (get_local $15) - (tee_local $13 - (i32.add - (i32.add - (i32.add - (i32.add - (get_local $26) - (i32.const 1) - ) - (tee_local $5 - (if (result i32) - (get_local $38) - (block $do-once91 (result i32) - (set_local $7 - (if (result i32) - (i32.and - (i32.gt_s - (tee_local $5 - (i32.add - (i32.xor - (get_local $31) - (i32.const 1) - ) - (get_local $18) - ) - ) - (get_local $13) - ) - (i32.gt_s - (get_local $13) - (i32.const -5) - ) - ) - (block (result i32) - (set_local $18 - (i32.sub - (i32.add - (get_local $5) - (i32.const -1) - ) - (get_local $13) - ) - ) - (i32.add - (get_local $19) - (i32.const -1) - ) - ) - (block (result i32) - (set_local $18 - (i32.add - (get_local $5) - (i32.const -1) - ) - ) - (i32.add - (get_local $19) - (i32.const -2) - ) - ) + (set_local $5 + (if (result i32) + (get_local $37) + (block $do-once91 (result i32) + (set_local $7 + (if (result i32) + (i32.and + (i32.gt_s + (tee_local $5 + (i32.add + (i32.xor + (get_local $31) + (i32.const 1) ) + (get_local $18) ) - (if - (tee_local $5 - (i32.and - (get_local $11) - (i32.const 8) - ) - ) - (block - (set_local $21 - (get_local $5) - ) - (br $do-once91 - (get_local $18) - ) - ) + ) + (get_local $13) + ) + (i32.gt_s + (get_local $13) + (i32.const -5) + ) + ) + (block (result i32) + (set_local $18 + (i32.sub + (i32.add + (get_local $5) + (i32.const -1) ) - (if - (get_local $24) - (block $do-once93 - (if - (i32.eqz - (tee_local $19 - (i32.load - (i32.add - (get_local $9) - (i32.const -4) - ) - ) - ) - ) - (block - (set_local $5 - (i32.const 9) - ) - (br $do-once93) - ) - ) - (set_local $5 - (if (result i32) - (i32.rem_u - (get_local $19) - (i32.const 10) - ) - (block - (set_local $5 - (i32.const 0) - ) - (br $do-once93) - ) - (block (result i32) - (set_local $6 - (i32.const 10) - ) - (i32.const 0) - ) - ) - ) - (loop $while-in96 - (set_local $5 - (i32.add - (get_local $5) - (i32.const 1) - ) - ) - (br_if $while-in96 - (i32.eqz - (i32.rem_u - (get_local $19) - (tee_local $6 - (i32.mul - (get_local $6) - (i32.const 10) - ) - ) - ) - ) - ) - ) - ) - (set_local $5 - (i32.const 9) + (get_local $13) + ) + ) + (i32.add + (get_local $19) + (i32.const -1) + ) + ) + (block (result i32) + (set_local $18 + (i32.add + (get_local $5) + (i32.const -1) + ) + ) + (i32.add + (get_local $19) + (i32.const -2) + ) + ) + ) + ) + (if + (tee_local $5 + (i32.and + (get_local $11) + (i32.const 8) + ) + ) + (block + (set_local $21 + (get_local $5) + ) + (br $do-once91 + (get_local $18) + ) + ) + ) + (if + (get_local $24) + (block $do-once93 + (if + (i32.eqz + (tee_local $19 + (i32.load + (i32.add + (get_local $9) + (i32.const -4) ) ) + ) + ) + (block + (set_local $5 + (i32.const 9) + ) + (br $do-once93) + ) + ) + (set_local $5 + (if (result i32) + (i32.rem_u + (get_local $19) + (i32.const 10) + ) + (block + (set_local $5 + (i32.const 0) + ) + (br $do-once93) + ) + (block (result i32) (set_local $6 - (i32.add + (i32.const 10) + ) + (i32.const 0) + ) + ) + ) + (loop $while-in96 + (set_local $5 + (i32.add + (get_local $5) + (i32.const 1) + ) + ) + (br_if $while-in96 + (i32.eqz + (i32.rem_u + (get_local $19) + (tee_local $6 (i32.mul - (i32.shr_s - (i32.sub - (get_local $9) - (get_local $21) - ) - (i32.const 2) - ) - (i32.const 9) + (get_local $6) + (i32.const 10) ) - (i32.const -9) ) ) - (if (result i32) - (i32.eq - (i32.or - (get_local $7) - (i32.const 32) - ) - (i32.const 102) - ) - (block (result i32) - (set_local $21 - (i32.const 0) - ) - (select - (get_local $18) - (tee_local $5 - (select - (i32.const 0) - (tee_local $5 - (i32.sub - (get_local $6) - (get_local $5) - ) - ) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - ) - ) - (i32.lt_s - (get_local $18) - (get_local $5) - ) - ) - ) - (block (result i32) - (set_local $21 - (i32.const 0) - ) - (select - (get_local $18) - (tee_local $5 - (select - (i32.const 0) - (tee_local $5 - (i32.sub - (i32.add - (get_local $6) - (get_local $13) - ) - (get_local $5) - ) - ) - (i32.lt_s - (get_local $5) - (i32.const 0) - ) - ) - ) - (i32.lt_s - (get_local $18) - (get_local $5) - ) - ) + ) + ) + ) + ) + (set_local $5 + (i32.const 9) + ) + ) + (set_local $6 + (i32.add + (i32.mul + (i32.shr_s + (i32.sub + (get_local $9) + (get_local $21) + ) + (i32.const 2) + ) + (i32.const 9) + ) + (i32.const -9) + ) + ) + (if (result i32) + (i32.eq + (i32.or + (get_local $7) + (i32.const 32) + ) + (i32.const 102) + ) + (block (result i32) + (set_local $21 + (i32.const 0) + ) + (select + (get_local $18) + (tee_local $5 + (select + (i32.const 0) + (tee_local $5 + (i32.sub + (get_local $6) + (get_local $5) ) ) + (i32.lt_s + (get_local $5) + (i32.const 0) + ) ) - (block (result i32) - (set_local $21 - (i32.and - (get_local $11) - (i32.const 8) + ) + (i32.lt_s + (get_local $18) + (get_local $5) + ) + ) + ) + (block (result i32) + (set_local $21 + (i32.const 0) + ) + (select + (get_local $18) + (tee_local $5 + (select + (i32.const 0) + (tee_local $5 + (i32.sub + (i32.add + (get_local $6) + (get_local $13) + ) + (get_local $5) ) ) - (set_local $7 - (get_local $19) + (i32.lt_s + (get_local $5) + (i32.const 0) ) - (get_local $18) ) ) + (i32.lt_s + (get_local $18) + (get_local $5) + ) + ) + ) + ) + ) + (block (result i32) + (set_local $21 + (i32.and + (get_local $11) + (i32.const 8) + ) + ) + (set_local $7 + (get_local $19) + ) + (get_local $18) + ) + ) + ) + (set_local $6 + (i32.sub + (i32.const 0) + (get_local $13) + ) + ) + (call $_pad + (get_local $0) + (i32.const 32) + (get_local $15) + (tee_local $13 + (i32.add + (i32.add + (i32.add + (i32.add + (get_local $26) + (i32.const 1) ) + (get_local $5) ) (i32.ne (tee_local $31 @@ -5456,7 +5457,7 @@ (call $_fmt_u (tee_local $6 (select - (get_local $32) + (get_local $6) (get_local $13) (i32.lt_s (get_local $13) @@ -5474,7 +5475,7 @@ ) (i32.const 31) ) - (get_local $33) + (get_local $32) ) ) ) @@ -5602,11 +5603,11 @@ ) ) (i32.store8 - (get_local $34) + (get_local $33) (i32.const 48) ) (set_local $7 - (get_local $34) + (get_local $33) ) ) (block @@ -5850,11 +5851,11 @@ ) (block (i32.store8 - (get_local $34) + (get_local $33) (i32.const 48) ) (set_local $5 - (get_local $34) + (get_local $33) ) ) ) @@ -6375,7 +6376,7 @@ (i32.lt_s (tee_local $7 (call $_wctomb - (get_local $36) + (get_local $35) (get_local $9) ) ) @@ -6460,7 +6461,7 @@ (i32.add (tee_local $8 (call $_wctomb - (get_local $36) + (get_local $35) (get_local $8) ) ) @@ -6482,7 +6483,7 @@ ) (drop (call $___fwritex - (get_local $36) + (get_local $35) (get_local $8) (get_local $0) ) @@ -6815,7 +6816,7 @@ ) ) (set_global $STACKTOP - (get_local $35) + (get_local $34) ) (get_local $17) ) |