diff options
1045 files changed, 48823 insertions, 48289 deletions
diff --git a/test/revision b/test/revision index 9444a45e4..38f6f3f87 100644 --- a/test/revision +++ b/test/revision @@ -1 +1 @@ -6633 +7246 diff --git a/test/s2wasm_known_binaryen_shell_test_failures.txt b/test/s2wasm_known_binaryen_shell_test_failures.txt index 7351cc448..0ff2f13f2 100644 --- a/test/s2wasm_known_binaryen_shell_test_failures.txt +++ b/test/s2wasm_known_binaryen_shell_test_failures.txt @@ -72,7 +72,6 @@ bcp-1.c.s.wast bitfld-3.c.s.wast builtin-constant.c.s.wast eeprof-1.c.s.wast -frame-address.c.s.wast pr22493-1.c.s.wast pr32244-1.c.s.wast pr34971.c.s.wast diff --git a/test/torture-s/20000113-1.c.s b/test/torture-s/20000113-1.c.s index a184a00b9..94bfa8a5f 100644 --- a/test/torture-s/20000113-1.c.s +++ b/test/torture-s/20000113-1.c.s @@ -9,14 +9,14 @@ foobar: # @foobar .result i32 # BB#0: # %entry block - i32.const $push0=, 1 - i32.and $push11=, $0, $pop0 + i32.const $push1=, 1 + i32.and $push11=, $0, $pop1 tee_local $push10=, $0=, $pop11 i32.eqz $push14=, $pop10 br_if 0, $pop14 # 0: down to label0 # BB#1: # %lor.lhs.false - i32.const $push1=, 3 - i32.and $push13=, $1, $pop1 + i32.const $push0=, 3 + i32.and $push13=, $1, $pop0 tee_local $push12=, $1=, $pop13 i32.sub $push2=, $pop12, $0 i32.mul $push3=, $pop2, $1 diff --git a/test/torture-s/20000121-1.c.s b/test/torture-s/20000121-1.c.s index ddbd7c127..119e734ff 100644 --- a/test/torture-s/20000121-1.c.s +++ b/test/torture-s/20000121-1.c.s @@ -7,7 +7,7 @@ big: # @big .param i64 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size big, .Lfunc_end0-big @@ -19,7 +19,7 @@ big: # @big doit: # @doit .param i32, i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size doit, .Lfunc_end1-doit @@ -32,7 +32,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20000217-1.c.s b/test/torture-s/20000217-1.c.s index c327e17ea..0cb8a90c5 100644 --- a/test/torture-s/20000217-1.c.s +++ b/test/torture-s/20000217-1.c.s @@ -8,18 +8,17 @@ showbug: # @showbug .param i32, i32 .result i32 # BB#0: # %entry - i32.load16_u $push0=, 0($1) + i32.load16_u $push2=, 0($1) i32.load16_u $push1=, 0($0) - i32.add $push2=, $pop0, $pop1 - i32.const $push3=, 65528 - i32.add $push9=, $pop2, $pop3 - tee_local $push8=, $1=, $pop9 - i32.store16 $drop=, 0($0), $pop8 - i32.const $push7=, 65528 - i32.and $push4=, $1, $pop7 - i32.const $push5=, 7 - i32.gt_u $push6=, $pop4, $pop5 - return $pop6 + i32.add $push3=, $pop2, $pop1 + i32.const $push4=, 65528 + i32.add $push5=, $pop3, $pop4 + i32.store16 $push0=, 0($0), $pop5 + i32.const $push9=, 65528 + i32.and $push6=, $pop0, $pop9 + i32.const $push7=, 7 + i32.gt_u $push8=, $pop6, $pop7 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size showbug, .Lfunc_end0-showbug diff --git a/test/torture-s/20000223-1.c.s b/test/torture-s/20000223-1.c.s index db30cb07d..398906c2a 100644 --- a/test/torture-s/20000223-1.c.s +++ b/test/torture-s/20000223-1.c.s @@ -31,7 +31,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20000224-1.c.s b/test/torture-s/20000224-1.c.s index 5e372ff75..ed8043cfe 100644 --- a/test/torture-s/20000224-1.c.s +++ b/test/torture-s/20000224-1.c.s @@ -6,46 +6,47 @@ .type test,@function test: # @test .result i32 - .local i32, i32, i32, i32 + .local i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.const $push11=, 0 - i32.load $push10=, loop_1($pop11) - tee_local $push9=, $3=, $pop10 - i32.const $push8=, 1 - i32.lt_s $push0=, $pop9, $pop8 + i32.const $push10=, 0 + i32.load $push9=, loop_1($pop10) + tee_local $push8=, $0=, $pop9 + i32.const $push7=, 1 + i32.lt_s $push0=, $pop8, $pop7 br_if 0, $pop0 # 0: down to label0 # BB#1: # %while.body.lr.ph - i32.const $push13=, 0 - i32.load $0=, loop_2($pop13) i32.const $push12=, 0 - i32.load $1=, flag($pop12) - i32.const $2=, 0 + i32.load $3=, flag($pop12) + i32.const $push11=, 0 + i32.load $1=, loop_2($pop11) + i32.const $4=, 0 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push18=, 31 - i32.shl $push2=, $1, $pop18 + i32.const $push19=, 31 + i32.shl $2=, $3, $pop19 + i32.const $push18=, 1 + i32.add $3=, $3, $pop18 i32.const $push17=, 31 - i32.shr_s $push3=, $pop2, $pop17 + i32.shr_s $push3=, $2, $pop17 i32.const $push16=, 0 i32.const $push15=, 1 - i32.lt_s $push1=, $0, $pop15 - i32.select $push4=, $pop16, $0, $pop1 - i32.and $push5=, $pop3, $pop4 - i32.add $2=, $2, $pop5 - i32.const $push14=, 1 - i32.add $1=, $1, $pop14 - i32.gt_s $push6=, $3, $2 - br_if 0, $pop6 # 0: up to label1 + i32.lt_s $push1=, $1, $pop15 + i32.select $push2=, $pop16, $1, $pop1 + i32.and $push4=, $pop3, $pop2 + i32.add $push14=, $4, $pop4 + tee_local $push13=, $4=, $pop14 + i32.gt_s $push5=, $0, $pop13 + br_if 0, $pop5 # 0: up to label1 # BB#3: # %while.cond.while.end_crit_edge end_loop # label2: - i32.const $push7=, 0 - i32.store $drop=, flag($pop7), $1 + i32.const $push6=, 0 + i32.store $drop=, flag($pop6), $3 .LBB0_4: # %while.end end_block # label0: - i32.const $push19=, 1 - return $pop19 + i32.const $push20=, 1 + # fallthrough-return: $pop20 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test diff --git a/test/torture-s/20000227-1.c.s b/test/torture-s/20000227-1.c.s index 496f5720d..31288a640 100644 --- a/test/torture-s/20000227-1.c.s +++ b/test/torture-s/20000227-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20000313-1.c.s b/test/torture-s/20000313-1.c.s index ea8e62594..15e61a171 100644 --- a/test/torture-s/20000313-1.c.s +++ b/test/torture-s/20000313-1.c.s @@ -10,12 +10,11 @@ buggy: # @buggy .local i32 # BB#0: # %entry i32.load $1=, 0($0) - i32.const $push0=, 0 - i32.store $drop=, 0($0), $pop0 - i32.const $push1=, -1 - i32.const $push3=, 0 - i32.select $push2=, $pop1, $pop3, $1 - return $pop2 + i32.const $push2=, -1 + i32.const $push1=, 0 + i32.store $push0=, 0($0), $pop1 + i32.select $push3=, $pop2, $pop0, $1 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size buggy, .Lfunc_end0-buggy @@ -28,7 +27,7 @@ main: # @main .result i32 # BB#0: # %if.end3 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20000403-1.c.s b/test/torture-s/20000403-1.c.s index b7c15af3c..8bcc01728 100644 --- a/test/torture-s/20000403-1.c.s +++ b/test/torture-s/20000403-1.c.s @@ -10,11 +10,11 @@ main: # @main block i32.const $push8=, 0 i32.load $push0=, aa($pop8) - i32.const $push2=, 4096 - i32.add $push3=, $pop0, $pop2 + i32.const $push1=, 4096 + i32.add $push2=, $pop0, $pop1 i32.const $push7=, 0 - i32.load $push1=, bb($pop7) - i32.sub $push4=, $pop3, $pop1 + i32.load $push3=, bb($pop7) + i32.sub $push4=, $pop2, $pop3 i32.const $push6=, 0 i32.le_s $push5=, $pop4, $pop6 br_if 0, $pop5 # 0: down to label0 @@ -42,7 +42,7 @@ seqgt: # @seqgt i32.sub $push1=, $pop0, $2 i32.const $push2=, 0 i32.gt_s $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size seqgt, .Lfunc_end1-seqgt @@ -59,7 +59,7 @@ seqgt2: # @seqgt2 i32.sub $push1=, $pop0, $2 i32.const $push2=, 0 i32.gt_s $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size seqgt2, .Lfunc_end2-seqgt2 diff --git a/test/torture-s/20000412-1.c.s b/test/torture-s/20000412-1.c.s index 9c04b24fa..62e669313 100644 --- a/test/torture-s/20000412-1.c.s +++ b/test/torture-s/20000412-1.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.shl $push3=, $pop1, $pop2 i32.const $push4=, wordlist+828 i32.add $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20000412-2.c.s b/test/torture-s/20000412-2.c.s index fd664f9fd..c57cd15aa 100644 --- a/test/torture-s/20000412-2.c.s +++ b/test/torture-s/20000412-2.c.s @@ -11,12 +11,12 @@ f: # @f # BB#0: # %entry block block - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push11=, $pop3, $pop4 - i32.store $push15=, 0($pop5), $pop11 + i32.store $push15=, __stack_pointer($pop5), $pop11 tee_local $push14=, $2=, $pop15 i32.store $push13=, 12($pop14), $0 tee_local $push12=, $0=, $pop13 @@ -34,11 +34,12 @@ f: # @f i32.load $0=, 0($1) .LBB0_3: # %cleanup end_block # label0: - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $2, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return $0 + i32.store $drop=, __stack_pointer($pop8), $pop7 + copy_local $push17=, $0 + # fallthrough-return: $pop17 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/20000412-3.c.s b/test/torture-s/20000412-3.c.s index de2ca1631..698372f87 100644 --- a/test/torture-s/20000412-3.c.s +++ b/test/torture-s/20000412-3.c.s @@ -8,7 +8,7 @@ z: # @z .result i32 # BB#0: # %f.exit i32.const $push0=, 96 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size z, .Lfunc_end0-z @@ -38,9 +38,9 @@ f: # @f # BB#0: # %entry i32.const $2=, 70 block - i32.load8_u $push0=, 0($0) - i32.load8_u $push1=, 0($1) - i32.ne $push2=, $pop0, $pop1 + i32.load8_u $push1=, 0($0) + i32.load8_u $push0=, 0($1) + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.load8_s $push4=, 1($1) @@ -48,7 +48,8 @@ f: # @f i32.add $2=, $pop4, $pop3 .LBB2_2: # %return end_block # label0: - return $2 + copy_local $push5=, $2 + # fallthrough-return: $pop5 .endfunc .Lfunc_end2: .size f, .Lfunc_end2-f diff --git a/test/torture-s/20000412-4.c.s b/test/torture-s/20000412-4.c.s index 4d16048b4..3ae14d0ea 100644 --- a/test/torture-s/20000412-4.c.s +++ b/test/torture-s/20000412-4.c.s @@ -8,21 +8,22 @@ f: # @f .param i32, i32, i32, i32, i32 .local i32 # BB#0: # %entry - i32.sub $5=, $0, $2 block block + i32.sub $push15=, $0, $2 + tee_local $push14=, $5=, $pop15 i32.const $push0=, 0 i32.const $push13=, 0 i32.gt_s $push1=, $5, $pop13 - i32.select $push12=, $5, $pop0, $pop1 + i32.select $push12=, $pop14, $pop0, $pop1 tee_local $push11=, $5=, $pop12 i32.const $push2=, 3 i32.ge_s $push3=, $pop11, $pop2 br_if 0, $pop3 # 0: down to label1 # BB#1: # %for.body.lr.ph i32.add $push4=, $2, $5 - i32.const $push14=, -1 - i32.add $push5=, $pop4, $pop14 + i32.const $push16=, -1 + i32.add $push5=, $pop4, $pop16 i32.sub $push6=, $pop5, $0 i32.mul $push7=, $3, $pop6 i32.add $push8=, $2, $pop7 @@ -30,16 +31,18 @@ f: # @f .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.add $2=, $2, $3 - i32.const $push15=, -1 - i32.le_s $push9=, $2, $pop15 + i32.add $push19=, $2, $3 + tee_local $push18=, $2=, $pop19 + i32.const $push17=, -1 + i32.le_s $push9=, $pop18, $pop17 br_if 3, $pop9 # 3: down to label0 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push17=, 1 - i32.add $5=, $5, $pop17 - i32.const $push16=, 2 - i32.le_s $push10=, $5, $pop16 + i32.const $push23=, 1 + i32.add $push22=, $5, $pop23 + tee_local $push21=, $5=, $pop22 + i32.const $push20=, 2 + i32.le_s $push10=, $pop21, $pop20 br_if 0, $pop10 # 0: up to label2 .LBB0_4: # %for.cond6.preheader end_loop # label3: diff --git a/test/torture-s/20000412-6.c.s b/test/torture-s/20000412-6.c.s index c80e5f8ad..5ee6eb5f2 100644 --- a/test/torture-s/20000412-6.c.s +++ b/test/torture-s/20000412-6.c.s @@ -50,20 +50,21 @@ bug: # @bug .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push7=, 65535 - i32.and $push2=, $0, $pop7 - i32.load16_u $push1=, 0($1) - i32.sub $0=, $pop2, $pop1 - i32.const $push6=, 2 - i32.add $1=, $1, $pop6 - i32.lt_u $push3=, $1, $2 + i32.const $push9=, 65535 + i32.and $push1=, $0, $pop9 + i32.load16_u $push2=, 0($1) + i32.sub $0=, $pop1, $pop2 + i32.const $push8=, 2 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 + i32.lt_u $push3=, $pop6, $2 br_if 0, $pop3 # 0: up to label2 .LBB1_3: # %for.end end_loop # label3: end_block # label1: i32.const $push4=, 65535 i32.and $push5=, $0, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size bug, .Lfunc_end1-bug diff --git a/test/torture-s/20000419-1.c.s b/test/torture-s/20000419-1.c.s index 76dcd8304..cb4db9fbe 100644 --- a/test/torture-s/20000419-1.c.s +++ b/test/torture-s/20000419-1.c.s @@ -48,12 +48,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push12=, $pop7, $pop8 - i32.store $push16=, 0($pop9), $pop12 + i32.store $push16=, __stack_pointer($pop9), $pop12 tee_local $push15=, $0=, $pop16 i32.const $push2=, 12 i32.add $push3=, $pop15, $pop2 diff --git a/test/torture-s/20000422-1.c.s b/test/torture-s/20000422-1.c.s index 774db781f..a281eb0f0 100644 --- a/test/torture-s/20000422-1.c.s +++ b/test/torture-s/20000422-1.c.s @@ -12,92 +12,95 @@ main: # @main block i32.const $push16=, 0 i32.load $push15=, num($pop16) - tee_local $push14=, $5=, $pop15 + tee_local $push14=, $0=, $pop15 i32.const $push13=, 1 i32.lt_s $push0=, $pop14, $pop13 br_if 0, $pop0 # 0: down to label1 # BB#1: # %for.cond1.preheader.preheader + i32.const $push17=, -1 + i32.add $1=, $0, $pop17 i32.const $push1=, 2 - i32.shl $push2=, $5, $pop1 + i32.shl $push2=, $0, $pop1 i32.const $push3=, ops-8 - i32.add $1=, $pop2, $pop3 - i32.const $push17=, -1 - i32.add $0=, $5, $pop17 - i32.const $2=, 0 + i32.add $2=, $pop2, $pop3 + i32.const $6=, 0 .LBB0_2: # %for.cond1.preheader # =>This Loop Header: Depth=1 # Child Loop BB0_4 Depth 2 loop # label2: block - i32.le_s $push4=, $0, $2 + i32.le_s $push4=, $1, $6 br_if 0, $pop4 # 0: down to label4 # BB#3: # %for.body3.preheader # in Loop: Header=BB0_2 Depth=1 - copy_local $3=, $1 - copy_local $4=, $0 + copy_local $7=, $2 + copy_local $8=, $1 .LBB0_4: # %for.body3 # Parent Loop BB0_2 Depth=1 # => This Inner Loop Header: Depth=2 loop # label5: block - i32.load $push24=, 0($3) - tee_local $push23=, $8=, $pop24 + i32.load $push24=, 0($7) + tee_local $push23=, $3=, $pop24 i32.const $push22=, 4 - i32.add $push21=, $3, $pop22 - tee_local $push20=, $7=, $pop21 + i32.add $push21=, $7, $pop22 + tee_local $push20=, $5=, $pop21 i32.load $push19=, 0($pop20) - tee_local $push18=, $6=, $pop19 + tee_local $push18=, $4=, $pop19 i32.ge_s $push5=, $pop23, $pop18 br_if 0, $pop5 # 0: down to label7 # BB#5: # %if.then # in Loop: Header=BB0_4 Depth=2 - i32.store $drop=, 0($7), $8 - i32.store $drop=, 0($3), $6 + i32.store $drop=, 0($7), $4 + i32.store $drop=, 0($5), $3 .LBB0_6: # %for.cond1.backedge # in Loop: Header=BB0_4 Depth=2 end_block # label7: - i32.const $push26=, -1 - i32.add $4=, $4, $pop26 - i32.const $push25=, -4 - i32.add $3=, $3, $pop25 - i32.gt_s $push6=, $4, $2 + i32.const $push28=, -4 + i32.add $7=, $7, $pop28 + i32.const $push27=, -1 + i32.add $push26=, $8, $pop27 + tee_local $push25=, $8=, $pop26 + i32.gt_s $push6=, $pop25, $6 br_if 0, $pop6 # 0: up to label5 .LBB0_7: # %for.end # in Loop: Header=BB0_2 Depth=1 end_loop # label6: end_block # label4: - i32.const $push27=, 1 - i32.add $2=, $2, $pop27 - i32.lt_s $push7=, $2, $5 + i32.const $push31=, 1 + i32.add $push30=, $6, $pop31 + tee_local $push29=, $6=, $pop30 + i32.lt_s $push7=, $pop29, $0 br_if 0, $pop7 # 0: up to label2 # BB#8: # %for.cond15.preheader end_loop # label3: - i32.const $push28=, 1 - i32.lt_s $push8=, $5, $pop28 + i32.const $push32=, 1 + i32.lt_s $push8=, $0, $pop32 br_if 0, $pop8 # 0: down to label1 # BB#9: # %for.body17.preheader - i32.const $3=, 0 - i32.const $4=, 0 + i32.const $7=, 0 + i32.const $8=, 0 .LBB0_10: # %for.body17 # =>This Inner Loop Header: Depth=1 loop # label8: - i32.load $push9=, ops($3) - i32.load $push10=, correct($3) - i32.ne $push11=, $pop9, $pop10 + i32.load $push10=, ops($7) + i32.load $push9=, correct($7) + i32.ne $push11=, $pop10, $pop9 br_if 3, $pop11 # 3: down to label0 # BB#11: # %for.cond15 # in Loop: Header=BB0_10 Depth=1 - i32.const $push30=, 1 - i32.add $4=, $4, $pop30 - i32.const $push29=, 4 - i32.add $3=, $3, $pop29 - i32.lt_s $push12=, $4, $5 + i32.const $push36=, 4 + i32.add $7=, $7, $pop36 + i32.const $push35=, 1 + i32.add $push34=, $8, $pop35 + tee_local $push33=, $8=, $pop34 + i32.lt_s $push12=, $pop33, $0 br_if 0, $pop12 # 0: up to label8 .LBB0_12: # %for.end25 end_loop # label9: end_block # label1: - i32.const $push31=, 0 - call exit@FUNCTION, $pop31 + i32.const $push37=, 0 + call exit@FUNCTION, $pop37 unreachable .LBB0_13: # %if.then21 end_block # label0: diff --git a/test/torture-s/20000503-1.c.s b/test/torture-s/20000503-1.c.s index 09c2345e6..43ff69b65 100644 --- a/test/torture-s/20000503-1.c.s +++ b/test/torture-s/20000503-1.c.s @@ -8,15 +8,16 @@ sub: # @sub .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, -2 - i32.add $0=, $0, $pop0 i32.const $push1=, 0 + i32.const $push0=, -2 + i32.add $push8=, $0, $pop0 + tee_local $push7=, $0=, $pop8 i32.const $push6=, 0 i32.lt_s $push2=, $0, $pop6 - i32.select $push3=, $pop1, $0, $pop2 + i32.select $push3=, $pop1, $pop7, $pop2 i32.const $push4=, 2 i32.shl $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size sub, .Lfunc_end0-sub diff --git a/test/torture-s/20000519-1.c.s b/test/torture-s/20000519-1.c.s index 68b20cc03..2fc2ea1ca 100644 --- a/test/torture-s/20000519-1.c.s +++ b/test/torture-s/20000519-1.c.s @@ -22,7 +22,7 @@ bar: # @bar # BB#2: # %do.end end_loop # label1: i32.add $push2=, $2, $0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -36,8 +36,8 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push6=, $pop4, $pop5 i32.store $drop=, 12($pop6), $1 @@ -54,7 +54,7 @@ foo: # @foo # BB#2: # %bar.exit end_loop # label3: i32.add $push2=, $2, $0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -67,12 +67,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $0=, $pop15 i64.const $push0=, 12884901890 i64.store $drop=, 0($pop14), $pop0 @@ -83,10 +83,10 @@ main: # @main i32.ne $push4=, $pop2, $pop3 br_if 0, $pop4 # 0: down to label4 # BB#1: # %if.end - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $0, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 i32.const $push5=, 0 return $pop5 .LBB2_2: # %if.then diff --git a/test/torture-s/20000603-1.c.s b/test/torture-s/20000603-1.c.s index bc1912190..80324199e 100644 --- a/test/torture-s/20000603-1.c.s +++ b/test/torture-s/20000603-1.c.s @@ -7,14 +7,13 @@ f: # @f .param i32, i32 .result f64 - .local f64 # BB#0: # %entry - f64.load $2=, 0($1) i64.const $push0=, 4607182418800017408 i64.store $drop=, 0($0), $pop0 - f64.const $push1=, 0x1p0 - f64.add $push2=, $2, $pop1 - return $pop2 + f64.load $push1=, 0($1) + f64.const $push2=, 0x1p0 + f64.add $push3=, $pop1, $pop2 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -27,7 +26,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20000605-1.c.s b/test/torture-s/20000605-1.c.s index c60db64ad..9faeea71e 100644 --- a/test/torture-s/20000605-1.c.s +++ b/test/torture-s/20000605-1.c.s @@ -12,10 +12,11 @@ main: # @main .LBB0_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push5=, 1 - i32.add $0=, $0, $pop5 + i32.const $push7=, 1 + i32.add $push6=, $0, $pop7 + tee_local $push5=, $0=, $pop6 i32.const $push4=, 256 - i32.ne $push0=, $0, $pop4 + i32.ne $push0=, $pop5, $pop4 br_if 0, $pop0 # 0: up to label0 # BB#2: # %render_image_rgb_a.exit end_loop # label1: diff --git a/test/torture-s/20000605-2.c.s b/test/torture-s/20000605-2.c.s index 0581bceb8..45c1e41bd 100644 --- a/test/torture-s/20000605-2.c.s +++ b/test/torture-s/20000605-2.c.s @@ -6,36 +6,35 @@ .type f1,@function f1: # @f1 .param i32, i32 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry block block i32.load $push9=, 0($0) - tee_local $push8=, $3=, $pop9 + tee_local $push8=, $2=, $pop9 i32.load $push0=, 0($1) i32.ge_s $push1=, $pop8, $pop0 br_if 0, $pop1 # 0: down to label1 # BB#1: # %for.body.preheader - i32.const $2=, 0 + i32.const $3=, 0 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: i32.const $push10=, 5 - i32.ge_s $push2=, $2, $pop10 + i32.ge_s $push2=, $3, $pop10 br_if 3, $pop2 # 3: down to label0 # BB#3: # %for.inc # in Loop: Header=BB0_2 Depth=1 - i32.add $push3=, $3, $2 + i32.add $push3=, $2, $3 i32.const $push14=, 1 i32.add $push4=, $pop3, $pop14 i32.store $drop=, 0($0), $pop4 i32.const $push13=, 1 - i32.add $push12=, $2, $pop13 - tee_local $push11=, $4=, $pop12 - copy_local $2=, $pop11 - i32.add $push6=, $3, $4 - i32.load $push5=, 0($1) - i32.lt_s $push7=, $pop6, $pop5 + i32.add $push12=, $3, $pop13 + tee_local $push11=, $3=, $pop12 + i32.add $push5=, $2, $pop11 + i32.load $push6=, 0($1) + i32.lt_s $push7=, $pop5, $pop6 br_if 0, $pop7 # 0: up to label2 .LBB0_4: # %for.end end_loop # label3: @@ -57,17 +56,17 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push10=, 0($pop5), $pop8 + i32.store $push10=, __stack_pointer($pop5), $pop8 tee_local $push9=, $1=, $pop10 - i32.const $push1=, 1 - i32.store $drop=, 0($pop9), $pop1 i32.const $push0=, 0 - i32.store $0=, 8($1), $pop0 + i32.store $0=, 8($pop9), $pop0 + i32.const $push1=, 1 + i32.store $drop=, 0($1), $pop1 i32.const $push6=, 8 i32.add $push7=, $1, $pop6 call f1@FUNCTION, $pop7, $1 diff --git a/test/torture-s/20000605-3.c.s b/test/torture-s/20000605-3.c.s index e29d3c1ff..7b591daf6 100644 --- a/test/torture-s/20000605-3.c.s +++ b/test/torture-s/20000605-3.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %cleanup7 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20000622-1.c.s b/test/torture-s/20000622-1.c.s index d730a1e82..80bb05769 100644 --- a/test/torture-s/20000622-1.c.s +++ b/test/torture-s/20000622-1.c.s @@ -39,7 +39,8 @@ bar: # @bar .param i32, i32 .result i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/20000703-1.c.s b/test/torture-s/20000703-1.c.s index 8383700a6..1e08989f9 100644 --- a/test/torture-s/20000703-1.c.s +++ b/test/torture-s/20000703-1.c.s @@ -7,6 +7,8 @@ foo: # @foo .param i32, i32, i32 # BB#0: # %entry + i32.store $drop=, 20($0), $1 + i32.store $drop=, 24($0), $2 i32.const $push0=, 19 i32.add $push1=, $0, $pop0 i32.const $push2=, 0 @@ -15,9 +17,7 @@ foo: # @foo i32.const $push5=, 0 i32.load16_u $push4=, .L.str($pop5):p2align=0 i32.store16 $drop=, 17($0):p2align=0, $pop4 - i32.store $drop=, 20($0), $1 - i32.store $drop=, 24($0), $2 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -28,54 +28,31 @@ foo: # @foo .type bar,@function bar: # @bar .param i32, i32, i32 - .local i32, i32 # BB#0: # %entry - i32.const $push11=, 16 - i32.add $push12=, $0, $pop11 - i32.const $push6=, 0 - i32.load8_u $push13=, .L.str.1+16($pop6) - i32.store8 $drop=, 0($pop12), $pop13 - i32.const $push14=, 12 - i32.add $push15=, $0, $pop14 - i32.const $push35=, 0 - i32.load $push16=, .L.str.1+12($pop35):p2align=0 - i32.store $drop=, 0($pop15):p2align=0, $pop16 - i32.const $push17=, 8 - i32.add $push18=, $0, $pop17 - i32.const $push34=, 0 - i32.load $push19=, .L.str.1+8($pop34):p2align=0 - i32.store $drop=, 0($pop18):p2align=0, $pop19 - i32.const $push20=, 4 - i32.add $push21=, $0, $pop20 - i32.const $push33=, 0 - i32.load $push22=, .L.str.1+4($pop33):p2align=0 - i32.store $drop=, 0($pop21):p2align=0, $pop22 - i32.const $push24=, 19 - i32.add $push25=, $0, $pop24 - i32.const $push3=, 17 - i32.add $push32=, $0, $pop3 - tee_local $push31=, $4=, $pop32 - i32.const $push9=, 21 - i32.add $push10=, $0, $pop9 - i32.const $push7=, 25 - i32.add $push8=, $0, $pop7 - i32.const $push4=, 27 + i32.const $push0=, 16 + i32.add $push1=, $0, $pop0 + i32.const $push2=, 0 + i32.load8_u $push3=, .L.str.1+16($pop2) + i32.store8 $drop=, 0($pop1), $pop3 + i32.const $push4=, 8 i32.add $push5=, $0, $pop4 - i32.const $push30=, 0 - i32.store8 $push0=, 0($pop5), $pop30 - i32.store16 $push1=, 0($pop8):p2align=0, $pop0 - i32.store $push2=, 0($pop10):p2align=0, $pop1 - i32.store $push29=, 0($pop31):p2align=0, $pop2 - tee_local $push28=, $3=, $pop29 - i32.load8_u $push26=, .L.str+2($pop28) - i32.store8 $drop=, 0($pop25), $pop26 - i32.load16_u $push27=, .L.str($3):p2align=0 - i32.store16 $drop=, 0($4):p2align=0, $pop27 - i32.load $push23=, .L.str.1($3):p2align=0 - i32.store $drop=, 0($0):p2align=0, $pop23 + i32.const $push15=, 0 + i64.load $push6=, .L.str.1+8($pop15):p2align=0 + i64.store $drop=, 0($pop5):p2align=0, $pop6 + i32.const $push14=, 0 + i64.load $push7=, .L.str.1($pop14):p2align=0 + i64.store $drop=, 0($0):p2align=0, $pop7 + i32.const $push8=, 19 + i32.add $push9=, $0, $pop8 + i32.const $push13=, 0 + i32.load8_u $push10=, .L.str+2($pop13) + i32.store8 $drop=, 0($pop9), $pop10 + i32.const $push12=, 0 + i32.load16_u $push11=, .L.str($pop12):p2align=0 + i32.store16 $drop=, 17($0):p2align=0, $pop11 i32.store $drop=, 20($0), $1 i32.store $drop=, 24($0), $2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/20000706-1.c.s b/test/torture-s/20000706-1.c.s index 659f3fdc2..d0de6d411 100644 --- a/test/torture-s/20000706-1.c.s +++ b/test/torture-s/20000706-1.c.s @@ -110,44 +110,44 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push17=, __stack_pointer - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) - i32.const $push16=, 48 - i32.sub $push22=, $pop15, $pop16 - i32.store $push24=, 0($pop17), $pop22 - tee_local $push23=, $3=, $pop24 - i64.const $push0=, 8589934593 - i64.store $drop=, 24($pop23), $pop0 - i32.const $push1=, 3 - i32.store $0=, 32($3), $pop1 - i32.const $push2=, 4 - i32.store $1=, 36($3), $pop2 - i32.const $push3=, 5 - i32.store $2=, 40($3), $pop3 + i32.const $push20=, 0 + i32.const $push17=, 0 + i32.load $push18=, __stack_pointer($pop17) + i32.const $push19=, 48 + i32.sub $push25=, $pop18, $pop19 + i32.store $push27=, __stack_pointer($pop20), $pop25 + tee_local $push26=, $1=, $pop27 i32.const $push4=, 16 - i32.add $push5=, $3, $pop4 - i32.store $drop=, 0($pop5), $1 - i32.const $push6=, 12 - i32.add $push7=, $3, $pop6 - i32.store $drop=, 0($pop7), $0 - i32.const $push8=, 20 - i32.add $push9=, $3, $pop8 - i32.store $drop=, 0($pop9), $2 - i32.const $push18=, 4 - i32.add $push19=, $3, $pop18 - i32.add $push10=, $1, $pop19 - i32.load $push11=, 28($3) - i32.store $drop=, 0($pop10), $pop11 - i32.const $push12=, 1 - i32.store $drop=, 4($3), $pop12 - i32.const $push20=, 4 - i32.add $push21=, $3, $pop20 - call foo@FUNCTION, $pop21, $3 - i32.const $push13=, 0 - call exit@FUNCTION, $pop13 + i32.add $push5=, $pop26, $pop4 + i32.const $push3=, 4 + i32.store $push0=, 36($1), $pop3 + i32.store $0=, 0($pop5), $pop0 + i32.const $push7=, 12 + i32.add $push8=, $1, $pop7 + i32.const $push6=, 3 + i32.store $push1=, 32($1), $pop6 + i32.store $drop=, 0($pop8), $pop1 + i32.const $push10=, 20 + i32.add $push11=, $1, $pop10 + i32.const $push9=, 5 + i32.store $push2=, 40($1), $pop9 + i32.store $drop=, 0($pop11), $pop2 + i64.const $push12=, 8589934593 + i64.store $drop=, 24($1), $pop12 + i32.const $push21=, 4 + i32.add $push22=, $1, $pop21 + i32.add $push13=, $0, $pop22 + i32.load $push14=, 28($1) + i32.store $drop=, 0($pop13), $pop14 + i32.const $push15=, 1 + i32.store $drop=, 4($1), $pop15 + i32.const $push23=, 4 + i32.add $push24=, $1, $pop23 + call foo@FUNCTION, $pop24, $1 + i32.const $push16=, 0 + call exit@FUNCTION, $pop16 unreachable .endfunc .Lfunc_end2: diff --git a/test/torture-s/20000706-2.c.s b/test/torture-s/20000706-2.c.s index 9964c6894..0b9fd5414 100644 --- a/test/torture-s/20000706-2.c.s +++ b/test/torture-s/20000706-2.c.s @@ -110,44 +110,44 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push17=, __stack_pointer - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) - i32.const $push16=, 48 - i32.sub $push22=, $pop15, $pop16 - i32.store $push24=, 0($pop17), $pop22 - tee_local $push23=, $3=, $pop24 - i64.const $push0=, 8589934593 - i64.store $drop=, 24($pop23), $pop0 - i32.const $push1=, 3 - i32.store $0=, 32($3), $pop1 - i32.const $push2=, 4 - i32.store $1=, 36($3), $pop2 - i32.const $push3=, 5 - i32.store $2=, 40($3), $pop3 + i32.const $push20=, 0 + i32.const $push17=, 0 + i32.load $push18=, __stack_pointer($pop17) + i32.const $push19=, 48 + i32.sub $push25=, $pop18, $pop19 + i32.store $push27=, __stack_pointer($pop20), $pop25 + tee_local $push26=, $1=, $pop27 i32.const $push4=, 16 - i32.add $push5=, $3, $pop4 - i32.store $drop=, 0($pop5), $1 - i32.const $push6=, 12 - i32.add $push7=, $3, $pop6 - i32.store $drop=, 0($pop7), $0 - i32.const $push8=, 20 - i32.add $push9=, $3, $pop8 - i32.store $drop=, 0($pop9), $2 - i32.const $push18=, 4 - i32.add $push19=, $3, $pop18 - i32.add $push10=, $1, $pop19 - i32.load $push11=, 28($3) - i32.store $drop=, 0($pop10), $pop11 - i32.const $push12=, 1 - i32.store $drop=, 4($3), $pop12 - i32.const $push20=, 4 - i32.add $push21=, $3, $pop20 - call foo@FUNCTION, $3, $pop21, $3 - i32.const $push13=, 0 - call exit@FUNCTION, $pop13 + i32.add $push5=, $pop26, $pop4 + i32.const $push3=, 4 + i32.store $push0=, 36($1), $pop3 + i32.store $0=, 0($pop5), $pop0 + i32.const $push7=, 12 + i32.add $push8=, $1, $pop7 + i32.const $push6=, 3 + i32.store $push1=, 32($1), $pop6 + i32.store $drop=, 0($pop8), $pop1 + i32.const $push10=, 20 + i32.add $push11=, $1, $pop10 + i32.const $push9=, 5 + i32.store $push2=, 40($1), $pop9 + i32.store $drop=, 0($pop11), $pop2 + i64.const $push12=, 8589934593 + i64.store $drop=, 24($1), $pop12 + i32.const $push21=, 4 + i32.add $push22=, $1, $pop21 + i32.add $push13=, $0, $pop22 + i32.load $push14=, 28($1) + i32.store $drop=, 0($pop13), $pop14 + i32.const $push15=, 1 + i32.store $drop=, 4($1), $pop15 + i32.const $push23=, 4 + i32.add $push24=, $1, $pop23 + call foo@FUNCTION, $1, $pop24, $1 + i32.const $push16=, 0 + call exit@FUNCTION, $pop16 unreachable .endfunc .Lfunc_end2: diff --git a/test/torture-s/20000706-3.c.s b/test/torture-s/20000706-3.c.s index 9624975e9..76275b2d9 100644 --- a/test/torture-s/20000706-3.c.s +++ b/test/torture-s/20000706-3.c.s @@ -10,7 +10,7 @@ baz: # @baz i32.const $push1=, 0 i32.load $push0=, 0($0) i32.store $drop=, c($pop1), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size baz, .Lfunc_end0-baz @@ -23,12 +23,12 @@ bar: # @bar .param i32 # BB#0: # %entry block - i32.const $push2=, 2 - i32.ne $push3=, $0, $pop2 - br_if 0, $pop3 # 0: down to label0 + i32.const $push1=, 2 + i32.ne $push2=, $0, $pop1 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry - i32.const $push1=, 0 - i32.load $push0=, c($pop1) + i32.const $push3=, 0 + i32.load $push0=, c($pop3) i32.const $push4=, 1 i32.ne $push5=, $pop0, $pop4 br_if 0, $pop5 # 0: down to label0 diff --git a/test/torture-s/20000706-4.c.s b/test/torture-s/20000706-4.c.s index 7ff867cc4..43852b867 100644 --- a/test/torture-s/20000706-4.c.s +++ b/test/torture-s/20000706-4.c.s @@ -8,13 +8,13 @@ bar: # @bar .param i32 # BB#0: # %entry block - i32.const $push3=, 2 - i32.ne $push4=, $0, $pop3 - br_if 0, $pop4 # 0: down to label0 + i32.const $push1=, 2 + i32.ne $push2=, $0, $pop1 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry - i32.const $push1=, 0 - i32.load $push2=, c($pop1) - i32.load $push0=, 0($pop2) + i32.const $push3=, 0 + i32.load $push4=, c($pop3) + i32.load $push0=, 0($pop4) i32.const $push5=, 1 i32.ne $push6=, $pop0, $pop5 br_if 0, $pop6 # 0: down to label0 @@ -37,12 +37,12 @@ foo: # @foo .local i32 # BB#0: # %entry i32.const $push1=, 0 - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push15=, $pop7, $pop8 - i32.store $push17=, 0($pop9), $pop15 + i32.store $push17=, __stack_pointer($pop9), $pop15 tee_local $push16=, $2=, $pop17 i32.const $push13=, 12 i32.add $push14=, $pop16, $pop13 @@ -57,10 +57,10 @@ foo: # @foo i32.ne $push5=, $1, $pop4 br_if 0, $pop5 # 0: down to label1 # BB#2: # %bar.exit - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $2, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB1_3: # %if.then.i end_block # label1: diff --git a/test/torture-s/20000706-5.c.s b/test/torture-s/20000706-5.c.s index f5e201d13..95b982d7f 100644 --- a/test/torture-s/20000706-5.c.s +++ b/test/torture-s/20000706-5.c.s @@ -46,29 +46,29 @@ bar: # @bar .type foo,@function foo: # @foo .param i32, i32 - .local i32 # BB#0: # %entry - i32.load $2=, 0($0) - i32.const $push0=, 0 - i32.store $drop=, c($pop0), $0 block - i32.const $push1=, 1 - i32.ne $push2=, $2, $pop1 - br_if 0, $pop2 # 0: down to label1 + i32.const $push0=, 0 + i32.store $push13=, c($pop0), $0 + tee_local $push12=, $0=, $pop13 + i32.load $push1=, 0($pop12) + i32.const $push2=, 1 + i32.ne $push3=, $pop1, $pop2 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %lor.lhs.false.i - i32.load $push3=, 4($0) - i32.const $push4=, 2 - i32.ne $push5=, $pop3, $pop4 - br_if 0, $pop5 # 0: down to label1 + i32.load $push4=, 4($0) + i32.const $push5=, 2 + i32.ne $push6=, $pop4, $pop5 + br_if 0, $pop6 # 0: down to label1 # BB#2: # %lor.lhs.false3.i - i32.const $push7=, 4 - i32.ne $push8=, $1, $pop7 - br_if 0, $pop8 # 0: down to label1 + i32.const $push8=, 4 + i32.ne $push9=, $1, $pop8 + br_if 0, $pop9 # 0: down to label1 # BB#3: # %lor.lhs.false3.i - i32.load $push6=, 8($0) - i32.const $push9=, 3 - i32.ne $push10=, $pop6, $pop9 - br_if 0, $pop10 # 0: down to label1 + i32.load $push7=, 8($0) + i32.const $push10=, 3 + i32.ne $push11=, $pop7, $pop10 + br_if 0, $pop11 # 0: down to label1 # BB#4: # %bar.exit return .LBB1_5: # %if.then.i @@ -87,20 +87,20 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 32 i32.sub $push18=, $pop11, $pop12 - i32.store $push21=, 0($pop13), $pop18 + i32.store $push21=, __stack_pointer($pop13), $pop18 tee_local $push20=, $0=, $pop21 - i64.const $push1=, 8589934593 - i64.store $drop=, 16($pop20), $pop1 - i32.const $push3=, 12 - i32.add $push4=, $0, $pop3 - i32.const $push2=, 3 - i32.store $push0=, 24($0), $pop2 - i32.store $drop=, 0($pop4), $pop0 + i32.const $push2=, 12 + i32.add $push3=, $pop20, $pop2 + i32.const $push1=, 3 + i32.store $push0=, 24($0), $pop1 + i32.store $drop=, 0($pop3), $pop0 + i64.const $push4=, 8589934593 + i64.store $drop=, 16($0), $pop4 i32.const $push14=, 4 i32.add $push15=, $0, $pop14 i32.const $push5=, 4 diff --git a/test/torture-s/20000707-1.c.s b/test/torture-s/20000707-1.c.s index 35b66e555..fe6c753a6 100644 --- a/test/torture-s/20000707-1.c.s +++ b/test/torture-s/20000707-1.c.s @@ -51,12 +51,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push11=, $pop6, $pop7 - i32.store $push15=, 0($pop8), $pop11 + i32.store $push15=, __stack_pointer($pop8), $pop11 tee_local $push14=, $0=, $pop15 i32.const $push2=, 12 i32.add $push3=, $pop14, $pop2 diff --git a/test/torture-s/20000715-1.c.s b/test/torture-s/20000715-1.c.s index 3ff0e7bb3..fbea59c77 100644 --- a/test/torture-s/20000715-1.c.s +++ b/test/torture-s/20000715-1.c.s @@ -6,7 +6,7 @@ .type test1,@function test1: # @test1 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -17,7 +17,7 @@ test1: # @test1 .type test2,@function test2: # @test2 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -28,7 +28,7 @@ test2: # @test2 .type test3,@function test3: # @test3 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -39,12 +39,12 @@ test3: # @test3 .type test4,@function test4: # @test4 # BB#0: # %if.end8 - i32.const $push1=, 0 + i32.const $push2=, 0 i32.const $push3=, 0 - i32.const $push2=, 3 - i32.store $push0=, x($pop3), $pop2 - i32.store $drop=, y($pop1), $pop0 - return + i32.const $push1=, 3 + i32.store $push0=, y($pop3), $pop1 + i32.store $drop=, x($pop2), $pop0 + # fallthrough-return .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -55,12 +55,12 @@ test4: # @test4 .type test5,@function test5: # @test5 # BB#0: # %if.end8 - i32.const $push1=, 0 + i32.const $push2=, 0 i32.const $push3=, 0 - i32.const $push2=, 3 - i32.store $push0=, x($pop3), $pop2 - i32.store $drop=, y($pop1), $pop0 - return + i32.const $push1=, 3 + i32.store $push0=, y($pop3), $pop1 + i32.store $drop=, x($pop2), $pop0 + # fallthrough-return .endfunc .Lfunc_end4: .size test5, .Lfunc_end4-test5 @@ -71,12 +71,12 @@ test5: # @test5 .type test6,@function test6: # @test6 # BB#0: # %if.end8 - i32.const $push1=, 0 + i32.const $push2=, 0 i32.const $push3=, 0 - i32.const $push2=, 3 - i32.store $push0=, x($pop3), $pop2 - i32.store $drop=, y($pop1), $pop0 - return + i32.const $push1=, 3 + i32.store $push0=, y($pop3), $pop1 + i32.store $drop=, x($pop2), $pop0 + # fallthrough-return .endfunc .Lfunc_end5: .size test6, .Lfunc_end5-test6 diff --git a/test/torture-s/20000715-2.c.s b/test/torture-s/20000715-2.c.s index 51786e281..a760fd485 100644 --- a/test/torture-s/20000715-2.c.s +++ b/test/torture-s/20000715-2.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.add $push3=, $pop1, $pop2 i32.const $push4=, 1020 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20000717-1.c.s b/test/torture-s/20000717-1.c.s index f0954736b..be02f5eaf 100644 --- a/test/torture-s/20000717-1.c.s +++ b/test/torture-s/20000717-1.c.s @@ -66,12 +66,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push11=, $pop6, $pop7 - i32.store $push15=, 0($pop8), $pop11 + i32.store $push15=, __stack_pointer($pop8), $pop11 tee_local $push14=, $0=, $pop15 i32.const $push2=, 12 i32.add $push3=, $pop14, $pop2 diff --git a/test/torture-s/20000717-3.c.s b/test/torture-s/20000717-3.c.s index 7c7778760..803853f4f 100644 --- a/test/torture-s/20000717-3.c.s +++ b/test/torture-s/20000717-3.c.s @@ -9,13 +9,14 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $1=, c($pop1) + i32.const $push3=, 0 + i32.load $1=, c($pop3) i32.load $push0=, 0($0) - i32.const $push2=, -10 - i32.add $push3=, $pop0, $pop2 - i32.store $drop=, 0($0), $pop3 - return $1 + i32.const $push1=, -10 + i32.add $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + copy_local $push4=, $1 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20000717-4.c.s b/test/torture-s/20000717-4.c.s index ccd8c8c60..db8e5170d 100644 --- a/test/torture-s/20000717-4.c.s +++ b/test/torture-s/20000717-4.c.s @@ -9,7 +9,7 @@ x: # @x # BB#0: # %entry i32.const $push0=, 0 i32.load $push1=, s+8($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size x, .Lfunc_end0-x @@ -22,7 +22,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20000717-5.c.s b/test/torture-s/20000717-5.c.s index d960d25fb..6121f015b 100644 --- a/test/torture-s/20000717-5.c.s +++ b/test/torture-s/20000717-5.c.s @@ -98,12 +98,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 16 i32.sub $push14=, $pop9, $pop10 - i32.store $push18=, 0($pop11), $pop14 + i32.store $push18=, __stack_pointer($pop11), $pop14 tee_local $push17=, $0=, $pop18 i32.const $push2=, 12 i32.add $push3=, $pop17, $pop2 diff --git a/test/torture-s/20000722-1.c.s b/test/torture-s/20000722-1.c.s index 55f56ef7b..82b27412f 100644 --- a/test/torture-s/20000722-1.c.s +++ b/test/torture-s/20000722-1.c.s @@ -20,7 +20,7 @@ main: # @main .type bar,@function bar: # @bar # BB#0: # %foo.exit - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/20000726-1.c.s b/test/torture-s/20000726-1.c.s index 5f55922d0..a148d02af 100644 --- a/test/torture-s/20000726-1.c.s +++ b/test/torture-s/20000726-1.c.s @@ -23,7 +23,7 @@ adjust_xy: # @adjust_xy # BB#0: # %entry i32.const $push0=, 1 i32.store16 $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size adjust_xy, .Lfunc_end1-adjust_xy diff --git a/test/torture-s/20000731-1.c.s b/test/torture-s/20000731-1.c.s index 2b7d3aaca..c62c133be 100644 --- a/test/torture-s/20000731-1.c.s +++ b/test/torture-s/20000731-1.c.s @@ -8,7 +8,7 @@ foo: # @foo .result f64 # BB#0: # %entry f64.const $push0=, 0x0p0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -19,7 +19,7 @@ foo: # @foo .type do_sibcall,@function do_sibcall: # @do_sibcall # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size do_sibcall, .Lfunc_end1-do_sibcall diff --git a/test/torture-s/20000801-1.c.s b/test/torture-s/20000801-1.c.s index 3f11a37a2..c7a329d99 100644 --- a/test/torture-s/20000801-1.c.s +++ b/test/torture-s/20000801-1.c.s @@ -6,42 +6,43 @@ .type foo,@function foo: # @foo .param i32, i32 - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32 # BB#0: # %entry block - i32.const $push3=, 1 - i32.lt_s $push0=, $1, $pop3 + i32.const $push4=, 1 + i32.lt_s $push0=, $1, $pop4 br_if 0, $pop0 # 0: down to label0 # BB#1: # %while.body.preheader i32.add $2=, $0, $1 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push13=, 1 + i32.const $push16=, 3 + i32.add $push15=, $0, $pop16 + tee_local $push14=, $1=, $pop15 + i32.load8_u $3=, 0($pop14) + i32.load8_u $push1=, 0($0) + i32.store8 $drop=, 0($1), $pop1 + i32.store8 $drop=, 0($0), $3 + i32.const $push13=, 2 i32.add $push12=, $0, $pop13 tee_local $push11=, $1=, $pop12 - i32.load8_u $5=, 0($pop11) - i32.const $push10=, 2 + i32.load8_u $3=, 0($pop11) + i32.const $push10=, 1 i32.add $push9=, $0, $pop10 - tee_local $push8=, $7=, $pop9 - i32.load8_u $4=, 0($pop8) - i32.const $push7=, 3 + tee_local $push8=, $4=, $pop9 + i32.load8_u $push2=, 0($pop8) + i32.store8 $drop=, 0($1), $pop2 + i32.store8 $drop=, 0($4), $3 + i32.const $push7=, 4 i32.add $push6=, $0, $pop7 - tee_local $push5=, $6=, $pop6 - i32.load8_u $3=, 0($pop5) - i32.load8_u $push1=, 0($0) - i32.store8 $drop=, 0($6), $pop1 - i32.store8 $drop=, 0($7), $5 - i32.store8 $drop=, 0($1), $4 - i32.store8 $drop=, 0($0), $3 - i32.const $push4=, 4 - i32.add $0=, $0, $pop4 - i32.lt_u $push2=, $0, $2 - br_if 0, $pop2 # 0: up to label1 + tee_local $push5=, $0=, $pop6 + i32.lt_u $push3=, $pop5, $2 + br_if 0, $pop3 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -52,24 +53,24 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) - i32.const $push6=, 16 - i32.sub $push8=, $pop5, $pop6 - i32.store $push10=, 0($pop7), $pop8 - tee_local $push9=, $2=, $pop10 - i32.const $push0=, 0 - i32.store $0=, 12($pop9), $pop0 - i32.const $push1=, 1 - i32.store16 $1=, 12($2), $pop1 - i32.store8 $drop=, 14($2), $0 + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) + i32.const $push8=, 16 + i32.sub $push10=, $pop7, $pop8 + i32.store $push12=, __stack_pointer($pop9), $pop10 + tee_local $push11=, $1=, $pop12 + i32.const $push2=, 0 + i32.store $push0=, 12($1), $pop2 + i32.store8 $0=, 14($pop11), $pop0 block - i32.load $push2=, 12($2) - i32.ne $push3=, $1, $pop2 - br_if 0, $pop3 # 0: down to label3 + i32.const $push3=, 1 + i32.store16 $push1=, 12($1), $pop3 + i32.load $push4=, 12($1) + i32.ne $push5=, $pop1, $pop4 + br_if 0, $pop5 # 0: down to label3 # BB#1: # %if.end call exit@FUNCTION, $0 unreachable diff --git a/test/torture-s/20000801-2.c.s b/test/torture-s/20000801-2.c.s index 57f21257f..1f9381ba5 100644 --- a/test/torture-s/20000801-2.c.s +++ b/test/torture-s/20000801-2.c.s @@ -9,18 +9,19 @@ test: # @test .result i32 # BB#0: # %entry block - i32.eqz $push1=, $0 - br_if 0, $pop1 # 0: down to label0 + i32.eqz $push3=, $0 + br_if 0, $pop3 # 0: down to label0 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.load $0=, 0($0) - br_if 0, $0 # 0: up to label1 + i32.load $push2=, 0($0) + tee_local $push1=, $0=, $pop2 + br_if 0, $pop1 # 0: up to label1 .LBB0_2: # %while.end end_loop # label2: end_block # label0: i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -33,7 +34,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -46,7 +47,7 @@ baz: # @baz .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz @@ -59,26 +60,27 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push10=, $pop3, $pop4 - i32.store $push12=, 0($pop5), $pop10 + i32.store $push12=, __stack_pointer($pop5), $pop10 tee_local $push11=, $0=, $pop12 - i32.const $push0=, 0 - i32.store $drop=, 8($pop11), $pop0 i32.const $push6=, 8 i32.add $push7=, $0, $pop6 - i32.store $drop=, 12($0), $pop7 + i32.store $drop=, 12($pop11), $pop7 + i32.const $push0=, 0 + i32.store $drop=, 8($0), $pop0 i32.const $push8=, 12 i32.add $push9=, $0, $pop8 copy_local $0=, $pop9 .LBB3_1: # %while.body.i # =>This Inner Loop Header: Depth=1 loop # label3: - i32.load $0=, 0($0) - br_if 0, $0 # 0: up to label3 + i32.load $push14=, 0($0) + tee_local $push13=, $0=, $pop14 + br_if 0, $pop13 # 0: up to label3 # BB#2: # %if.end end_loop # label4: i32.const $push1=, 0 diff --git a/test/torture-s/20000801-4.c.s b/test/torture-s/20000801-4.c.s index f30c6b511..cfc4f757d 100644 --- a/test/torture-s/20000801-4.c.s +++ b/test/torture-s/20000801-4.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -21,12 +21,12 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push1=, 0 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push0=, 0($pop5), $pop8 + i32.store $push0=, __stack_pointer($pop5), $pop8 i32.const $push6=, 14 i32.add $push7=, $pop0, $pop6 i32.store $drop=, t($pop1), $pop7 diff --git a/test/torture-s/20000808-1.c.s b/test/torture-s/20000808-1.c.s index 5f082c6dc..a20153d29 100644 --- a/test/torture-s/20000808-1.c.s +++ b/test/torture-s/20000808-1.c.s @@ -6,7 +6,7 @@ .type bar,@function bar: # @bar # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -86,7 +86,7 @@ f: # @f .type foo,@function foo: # @foo # BB#0: # %f.exit - return + # fallthrough-return .endfunc .Lfunc_end2: .size foo, .Lfunc_end2-foo diff --git a/test/torture-s/20000815-1.c.s b/test/torture-s/20000815-1.c.s index 527bf1a70..ca5df717e 100644 --- a/test/torture-s/20000815-1.c.s +++ b/test/torture-s/20000815-1.c.s @@ -8,18 +8,18 @@ invalidate_memory: # @invalidate_memory .param i32 .local i32, i32, i32, i32 # BB#0: # %entry + i32.const $4=, 0 i32.load8_u $push13=, 0($0) tee_local $push12=, $0=, $pop13 - i32.const $push3=, 4 - i32.and $push1=, $pop12, $pop3 + i32.const $push2=, 4 + i32.and $push1=, $pop12, $pop2 i32.const $push11=, 255 - i32.and $push7=, $pop1, $pop11 - i32.eqz $1=, $pop7 - i32.const $push2=, 8 - i32.and $push0=, $0, $pop2 + i32.and $push8=, $pop1, $pop11 + i32.eqz $2=, $pop8 + i32.const $push3=, 8 + i32.and $push0=, $0, $pop3 i32.const $push10=, 255 - i32.and $2=, $pop0, $pop10 - i32.const $3=, 0 + i32.and $3=, $pop0, $pop10 .LBB0_1: # %for.body # =>This Loop Header: Depth=1 # Child Loop BB0_2 Depth 2 @@ -27,35 +27,32 @@ invalidate_memory: # @invalidate_memory loop # label1: block i32.const $push16=, 2 - i32.shl $push4=, $3, $pop16 + i32.shl $push4=, $4, $pop16 i32.load $push15=, table($pop4) tee_local $push14=, $0=, $pop15 - i32.eqz $push25=, $pop14 - br_if 0, $pop25 # 0: down to label3 + i32.eqz $push23=, $pop14 + br_if 0, $pop23 # 0: down to label3 .LBB0_2: # %for.body6 # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label4: - copy_local $push21=, $0 - tee_local $push20=, $4=, $pop21 - i32.load $0=, 4($pop20) + i32.load16_u $1=, 36($0) + i32.load $0=, 4($0) block - i32.load16_u $push19=, 36($4) - tee_local $push18=, $4=, $pop19 i32.const $push17=, 255 - i32.and $push5=, $pop18, $pop17 - i32.eqz $push26=, $pop5 - br_if 0, $pop26 # 0: down to label6 + i32.and $push5=, $1, $pop17 + i32.eqz $push24=, $pop5 + br_if 0, $pop24 # 0: down to label6 # BB#3: # %land.lhs.true # in Loop: Header=BB0_2 Depth=2 - br_if 6, $2 # 6: down to label0 + br_if 6, $3 # 6: down to label0 # BB#4: # %land.lhs.true # in Loop: Header=BB0_2 Depth=2 - i32.const $push22=, 256 - i32.lt_u $push8=, $4, $pop22 - i32.or $push6=, $1, $pop8 - i32.eqz $push27=, $pop6 - br_if 6, $pop27 # 6: down to label0 + i32.const $push18=, 256 + i32.lt_u $push7=, $1, $pop18 + i32.or $push6=, $2, $pop7 + i32.eqz $push25=, $pop6 + br_if 6, $pop25 # 6: down to label0 .LBB0_5: # %for.cond5.backedge # in Loop: Header=BB0_2 Depth=2 end_block # label6: @@ -64,10 +61,11 @@ invalidate_memory: # @invalidate_memory # in Loop: Header=BB0_1 Depth=1 end_loop # label5: end_block # label3: - i32.const $push24=, 1 - i32.add $3=, $3, $pop24 - i32.const $push23=, 31 - i32.lt_s $push9=, $3, $pop23 + i32.const $push22=, 1 + i32.add $push21=, $4, $pop22 + tee_local $push20=, $4=, $pop21 + i32.const $push19=, 31 + i32.lt_s $push9=, $pop20, $pop19 br_if 0, $pop9 # 0: up to label1 # BB#7: # %for.end16 end_loop # label2: @@ -89,7 +87,7 @@ cse_rtx_addr_varies_p: # @cse_rtx_addr_varies_p .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size cse_rtx_addr_varies_p, .Lfunc_end1-cse_rtx_addr_varies_p @@ -115,83 +113,81 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $1=, 0 - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $3=, 0 + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 48 i32.sub $push20=, $pop8, $pop9 - i32.store $push24=, 0($pop10), $pop20 - tee_local $push23=, $3=, $pop24 + i32.store $push24=, __stack_pointer($pop10), $pop20 + tee_local $push23=, $1=, $pop24 i32.const $push14=, 8 i32.add $push15=, $pop23, $pop14 i32.const $push22=, 0 i32.const $push0=, 40 i32.call $drop=, memset@FUNCTION, $pop15, $pop22, $pop0 - i32.const $push1=, 1 - i32.store8 $0=, 44($3), $pop1 i32.const $push21=, 0 i32.const $push16=, 8 - i32.add $push17=, $3, $pop16 + i32.add $push17=, $1, $pop16 i32.store $drop=, table($pop21), $pop17 + i32.const $push1=, 1 + i32.store8 $0=, 44($1), $pop1 i32.const $push18=, 8 - i32.add $push19=, $3, $pop18 - copy_local $2=, $pop19 + i32.add $push19=, $1, $pop18 + copy_local $4=, $pop19 .LBB3_1: # %for.body.i # =>This Loop Header: Depth=1 # Child Loop BB3_2 Depth 2 block loop # label8: block - i32.eqz $push33=, $2 - br_if 0, $pop33 # 0: down to label10 + i32.eqz $push31=, $4 + br_if 0, $pop31 # 0: down to label10 .LBB3_2: # %for.body6.i # Parent Loop BB3_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label11: - copy_local $push30=, $2 - tee_local $push29=, $4=, $pop30 - i32.load $2=, 4($pop29) + i32.load16_u $2=, 36($4) + i32.load $4=, 4($4) block - i32.load16_u $push28=, 36($4) - tee_local $push27=, $4=, $pop28 i32.const $push26=, 256 - i32.lt_u $push2=, $pop27, $pop26 + i32.lt_u $push2=, $2, $pop26 br_if 0, $pop2 # 0: down to label13 # BB#3: # %for.body6.i # in Loop: Header=BB3_2 Depth=2 - i32.const $push31=, 255 - i32.and $push3=, $4, $pop31 + i32.const $push27=, 255 + i32.and $push3=, $2, $pop27 br_if 6, $pop3 # 6: down to label7 .LBB3_4: # %for.cond5.backedge.i # in Loop: Header=BB3_2 Depth=2 end_block # label13: - br_if 0, $2 # 0: up to label11 + br_if 0, $4 # 0: up to label11 .LBB3_5: # %for.inc15.i # in Loop: Header=BB3_1 Depth=1 end_loop # label12: end_block # label10: - i32.add $1=, $1, $0 - i32.const $push32=, 30 - i32.gt_s $push4=, $1, $pop32 + i32.add $push30=, $3, $0 + tee_local $push29=, $3=, $pop30 + i32.const $push28=, 30 + i32.gt_s $push4=, $pop29, $pop28 br_if 1, $pop4 # 1: down to label9 # BB#6: # %for.inc15.i.for.body.i_crit_edge # in Loop: Header=BB3_1 Depth=1 i32.const $push25=, 2 - i32.shl $push6=, $1, $pop25 - i32.load $2=, table($pop6) + i32.shl $push6=, $3, $pop25 + i32.load $4=, table($pop6) br 0 # 0: up to label8 .LBB3_7: # %invalidate_memory.exit end_loop # label9: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 48 - i32.add $push12=, $3, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.add $push12=, $1, $pop11 + i32.store $drop=, __stack_pointer($pop13), $pop12 i32.const $push5=, 0 return $pop5 .LBB3_8: # %if.then.i end_block # label7: - call remove_from_table@FUNCTION, $2, $2 + call remove_from_table@FUNCTION, $4, $4 unreachable .endfunc .Lfunc_end3: diff --git a/test/torture-s/20000818-1.c.s b/test/torture-s/20000818-1.c.s index 4510975ce..38c98867a 100644 --- a/test/torture-s/20000818-1.c.s +++ b/test/torture-s/20000818-1.c.s @@ -22,7 +22,7 @@ yylex: # @yylex .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size yylex, .Lfunc_end1-yylex diff --git a/test/torture-s/20000819-1.c.s b/test/torture-s/20000819-1.c.s index 6a0230b93..2737b49d9 100644 --- a/test/torture-s/20000819-1.c.s +++ b/test/torture-s/20000819-1.c.s @@ -28,9 +28,10 @@ foo: # @foo br_if 3, $pop5 # 3: down to label0 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push12=, 4 - i32.add $1=, $1, $pop12 - i32.le_u $push6=, $1, $0 + i32.const $push14=, 4 + i32.add $push13=, $1, $pop14 + tee_local $push12=, $1=, $pop13 + i32.le_u $push6=, $pop12, $0 br_if 0, $pop6 # 0: up to label2 .LBB0_4: # %for.end end_loop # label3: diff --git a/test/torture-s/20000910-1.c.s b/test/torture-s/20000910-1.c.s index 1dca70458..48b830c0e 100644 --- a/test/torture-s/20000910-1.c.s +++ b/test/torture-s/20000910-1.c.s @@ -21,7 +21,7 @@ main: # @main foo: # @foo .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -33,7 +33,7 @@ foo: # @foo bar: # @bar .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar diff --git a/test/torture-s/20000914-1.c.s b/test/torture-s/20000914-1.c.s index 84e60012e..fe7e9f0b2 100644 --- a/test/torture-s/20000914-1.c.s +++ b/test/torture-s/20000914-1.c.s @@ -8,7 +8,8 @@ blah: # @blah .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size blah, .Lfunc_end0-blah diff --git a/test/torture-s/20000917-1.c.s b/test/torture-s/20000917-1.c.s index 69caf76bc..18c418d33 100644 --- a/test/torture-s/20000917-1.c.s +++ b/test/torture-s/20000917-1.c.s @@ -7,11 +7,11 @@ one: # @one .param i32 # BB#0: # %entry - i32.const $push1=, 1 - i32.store $drop=, 8($0), $pop1 - i64.const $push0=, 4294967297 - i64.store $drop=, 0($0):p2align=2, $pop0 - return + i32.const $push0=, 1 + i32.store $drop=, 8($0), $pop0 + i64.const $push1=, 4294967297 + i64.store $drop=, 0($0):p2align=2, $pop1 + # fallthrough-return .endfunc .Lfunc_end0: .size one, .Lfunc_end0-one @@ -23,11 +23,11 @@ one: # @one zero: # @zero .param i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.store $drop=, 8($0), $pop1 - i64.const $push0=, 0 - i64.store $drop=, 0($0):p2align=2, $pop0 - return + i32.const $push0=, 0 + i32.store $drop=, 8($0), $pop0 + i64.const $push1=, 0 + i64.store $drop=, 0($0):p2align=2, $pop1 + # fallthrough-return .endfunc .Lfunc_end1: .size zero, .Lfunc_end1-zero diff --git a/test/torture-s/20001009-1.c.s b/test/torture-s/20001009-1.c.s index 51c50ddaf..684e1a761 100644 --- a/test/torture-s/20001009-1.c.s +++ b/test/torture-s/20001009-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20001009-2.c.s b/test/torture-s/20001009-2.c.s index 72b95c47a..0f01eb6f0 100644 --- a/test/torture-s/20001009-2.c.s +++ b/test/torture-s/20001009-2.c.s @@ -31,7 +31,7 @@ foo: # @foo end_loop # label2: end_block # label0: i32.const $push4=, -1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -67,7 +67,7 @@ main: # @main end_loop # label5: end_block # label3: i32.const $push8=, 0 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20001011-1.c.s b/test/torture-s/20001011-1.c.s index 40ea15087..e9fb6f118 100644 --- a/test/torture-s/20001011-1.c.s +++ b/test/torture-s/20001011-1.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, .L.str i32.call $push1=, strcmp@FUNCTION, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +23,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20001013-1.c.s b/test/torture-s/20001013-1.c.s index 9b048f154..71f3c12db 100644 --- a/test/torture-s/20001013-1.c.s +++ b/test/torture-s/20001013-1.c.s @@ -23,7 +23,7 @@ foo: # @foo .LBB0_2: # %return end_block # label0: i32.const $push3=, 1 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20001017-1.c.s b/test/torture-s/20001017-1.c.s index b77ebfd0f..124583f16 100644 --- a/test/torture-s/20001017-1.c.s +++ b/test/torture-s/20001017-1.c.s @@ -28,7 +28,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20001017-2.c.s b/test/torture-s/20001017-2.c.s index 2bebe0cbf..84aa6cc5f 100644 --- a/test/torture-s/20001017-2.c.s +++ b/test/torture-s/20001017-2.c.s @@ -40,7 +40,7 @@ main: # @main .result i32 # BB#0: # %fn_4parms.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20001024-1.c.s b/test/torture-s/20001024-1.c.s index 15e1f6bdc..2773a560c 100644 --- a/test/torture-s/20001024-1.c.s +++ b/test/torture-s/20001024-1.c.s @@ -42,7 +42,7 @@ bar: # @bar .type foo,@function foo: # @foo # BB#0: # %bar.exit - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/20001026-1.c.s b/test/torture-s/20001026-1.c.s index e977305dd..da2ff7494 100644 --- a/test/torture-s/20001026-1.c.s +++ b/test/torture-s/20001026-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20001027-1.c.s b/test/torture-s/20001027-1.c.s index e38cae1f2..4ccc51b7e 100644 --- a/test/torture-s/20001027-1.c.s +++ b/test/torture-s/20001027-1.c.s @@ -6,23 +6,22 @@ .type main,@function main: # @main .result i32 - .local i32 # BB#0: # %entry - i32.const $push7=, 0 - i32.load $0=, p($pop7) - i32.const $push6=, 0 + i32.const $push8=, 0 i32.const $push1=, 1 - i32.store $drop=, x($pop6), $pop1 + i32.store $drop=, x($pop8), $pop1 block - i32.const $push2=, 2 - i32.store $push0=, 0($0), $pop2 - i32.const $push5=, 0 - i32.load $push3=, x($pop5) - i32.ne $push4=, $pop0, $pop3 - br_if 0, $pop4 # 0: down to label0 + i32.const $push7=, 0 + i32.load $push2=, p($pop7) + i32.const $push3=, 2 + i32.store $push0=, 0($pop2), $pop3 + i32.const $push6=, 0 + i32.load $push4=, x($pop6) + i32.ne $push5=, $pop0, $pop4 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end - i32.const $push8=, 0 - call exit@FUNCTION, $pop8 + i32.const $push9=, 0 + call exit@FUNCTION, $pop9 unreachable .LBB0_2: # %if.then end_block # label0: diff --git a/test/torture-s/20001031-1.c.s b/test/torture-s/20001031-1.c.s index edb31af34..2e8a91b7d 100644 --- a/test/torture-s/20001031-1.c.s +++ b/test/torture-s/20001031-1.c.s @@ -29,7 +29,7 @@ t2: # @t2 .result i32 # BB#0: # %entry i32.const $push0=, 4096 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size t2, .Lfunc_end1-t2 @@ -63,7 +63,7 @@ t4: # @t4 .result i64 # BB#0: # %entry i64.const $push0=, 4096 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size t4, .Lfunc_end3-t4 diff --git a/test/torture-s/20001101.c.s b/test/torture-s/20001101.c.s index 6fee4305b..ab9e6871e 100644 --- a/test/torture-s/20001101.c.s +++ b/test/torture-s/20001101.c.s @@ -8,11 +8,11 @@ dummy: # @dummy .param i32, i32 .result i32 # BB#0: # %entry - i32.const $push2=, 7 - i32.store $drop=, 0($1), $pop2 - i32.const $push1=, 1 - i32.store $push0=, 0($0), $pop1 - return $pop0 + i32.const $push1=, 7 + i32.store $drop=, 0($1), $pop1 + i32.const $push2=, 1 + i32.store $push0=, 0($0), $pop2 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size dummy, .Lfunc_end0-dummy diff --git a/test/torture-s/20001108-1.c.s b/test/torture-s/20001108-1.c.s index 8edfcbf9b..9dfc14671 100644 --- a/test/torture-s/20001108-1.c.s +++ b/test/torture-s/20001108-1.c.s @@ -15,7 +15,7 @@ signed_poly: # @signed_poly i64.extend_s/i32 $push3=, $1 i64.mul $push4=, $pop2, $pop3 i64.add $push5=, $pop4, $0 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size signed_poly, .Lfunc_end0-signed_poly @@ -33,7 +33,7 @@ unsigned_poly: # @unsigned_poly i64.and $push1=, $0, $pop0 i64.mul $push3=, $pop2, $pop1 i64.add $push4=, $pop3, $0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size unsigned_poly, .Lfunc_end1-unsigned_poly diff --git a/test/torture-s/20001111-1.c.s b/test/torture-s/20001111-1.c.s index 7f07efbc9..d0041d17f 100644 --- a/test/torture-s/20001111-1.c.s +++ b/test/torture-s/20001111-1.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.load8_u $push1=, next_buffer($pop5) i32.select $push3=, $pop2, $pop0, $pop1 i32.add $push4=, $pop3, $0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -25,7 +25,7 @@ foo: # @foo .type bar,@function bar: # @bar # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/20001121-1.c.s b/test/torture-s/20001121-1.c.s index 9f5ed1845..e1b74eb1d 100644 --- a/test/torture-s/20001121-1.c.s +++ b/test/torture-s/20001121-1.c.s @@ -9,7 +9,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 0 f64.load $push1=, d($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -22,7 +22,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/20001124-1.c.s b/test/torture-s/20001124-1.c.s index d8e43374a..056a33c73 100644 --- a/test/torture-s/20001124-1.c.s +++ b/test/torture-s/20001124-1.c.s @@ -9,17 +9,17 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push1=, 0 - i32.const $push0=, 512 - i32.store $drop=, s($pop1), $pop0 + i32.const $push0=, 9 + i32.store8 $drop=, s+4($pop1), $pop0 i32.const $push10=, 0 - i32.const $push3=, 9 - i32.store8 $drop=, s+4($pop10), $pop3 + i32.const $push2=, 512 + i32.store $drop=, s($pop10), $pop2 i32.const $push9=, 0 - i32.const $push2=, s - i32.store $drop=, i+8($pop9), $pop2 + i64.const $push3=, 2048 + i64.store $drop=, i($pop9), $pop3 i32.const $push8=, 0 - i64.const $push4=, 2048 - i64.store $drop=, i($pop8), $pop4 + i32.const $push4=, s + i32.store $drop=, i+8($pop8), $pop4 i32.const $push7=, 0 i64.const $push5=, 0 i64.store $drop=, f($pop7), $pop5 diff --git a/test/torture-s/20001130-1.c.s b/test/torture-s/20001130-1.c.s index 7260be541..1a0d69f1d 100644 --- a/test/torture-s/20001130-1.c.s +++ b/test/torture-s/20001130-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20001203-2.c.s b/test/torture-s/20001203-2.c.s index 1a56bcd0e..0933fbd6e 100644 --- a/test/torture-s/20001203-2.c.s +++ b/test/torture-s/20001203-2.c.s @@ -11,46 +11,47 @@ create_array_type: # @create_array_type # BB#0: # %entry block block - i32.eqz $push48=, $0 - br_if 0, $pop48 # 0: down to label1 + i32.eqz $push53=, $0 + br_if 0, $pop53 # 0: down to label1 # BB#1: # %if.end - i32.load $push2=, 0($1) - i32.const $push3=, 3 - i32.mul $push4=, $pop2, $pop3 - i32.store $drop=, 0($0), $pop4 - i32.load $1=, 4($0) - i32.const $push5=, 1 - i32.store16 $drop=, 8($0), $pop5 - i32.const $5=, 0 + i32.const $push2=, 1 + i32.store16 $drop=, 8($0), $pop2 + i32.load $push3=, 0($1) + i32.const $push4=, 3 + i32.mul $push5=, $pop3, $pop4 + i32.store $drop=, 0($0), $pop5 + i32.const $7=, 0 block - i32.eqz $push49=, $1 - br_if 0, $pop49 # 0: down to label2 + i32.load $push30=, 4($0) + tee_local $push29=, $1=, $pop30 + i32.eqz $push54=, $pop29 + br_if 0, $pop54 # 0: down to label2 # BB#2: # %cond.true i32.const $push6=, 20 i32.add $push7=, $1, $pop6 - i32.load $push34=, 0($pop7) - tee_local $push33=, $4=, $pop34 - i32.const $push32=, 16 - i32.add $push31=, $1, $pop32 - tee_local $push30=, $2=, $pop31 - i32.load $push29=, 0($pop30) - tee_local $push28=, $3=, $pop29 - i32.sub $push8=, $pop33, $pop28 + i32.load $push37=, 0($pop7) + tee_local $push36=, $2=, $pop37 + i32.const $push35=, 16 + i32.add $push34=, $1, $pop35 + tee_local $push33=, $7=, $pop34 + i32.load $push32=, 0($pop33) + tee_local $push31=, $3=, $pop32 + i32.sub $push8=, $pop36, $pop31 i32.const $push9=, 15 i32.le_s $push10=, $pop8, $pop9 br_if 2, $pop10 # 2: down to label0 # BB#3: # %if.end9 block + i32.const $push44=, 16 + i32.add $push1=, $3, $pop44 + i32.store $push43=, 0($7), $pop1 + tee_local $push42=, $3=, $pop43 i32.const $push11=, 12 i32.add $push41=, $1, $pop11 - tee_local $push40=, $6=, $pop41 + tee_local $push40=, $4=, $pop41 i32.load $push39=, 0($pop40) - tee_local $push38=, $5=, $pop39 - i32.const $push37=, 16 - i32.add $push1=, $3, $pop37 - i32.store $push36=, 0($2), $pop1 - tee_local $push35=, $3=, $pop36 - i32.ne $push12=, $pop38, $pop35 + tee_local $push38=, $7=, $pop39 + i32.ne $push12=, $pop42, $pop38 br_if 0, $pop12 # 0: down to label3 # BB#4: # %if.then16 i32.const $push13=, 28 @@ -59,31 +60,32 @@ create_array_type: # @create_array_type i32.store $drop=, 0($pop14), $pop15 .LBB0_5: # %if.end17 end_block # label3: - i32.const $push22=, 8 - i32.add $push23=, $1, $pop22 - i32.load $2=, 0($pop23) - i32.const $push21=, 16 - i32.add $push47=, $1, $pop21 - tee_local $push46=, $7=, $pop47 + i32.const $push22=, 16 + i32.add $push52=, $1, $pop22 + tee_local $push51=, $6=, $pop52 i32.const $push16=, 24 i32.add $push17=, $1, $pop16 - i32.load $push45=, 0($pop17) - tee_local $push44=, $1=, $pop45 - i32.add $push18=, $pop44, $3 - i32.const $push19=, -1 - i32.xor $push20=, $1, $pop19 - i32.and $push43=, $pop18, $pop20 - tee_local $push42=, $1=, $pop43 - i32.store $drop=, 0($pop46), $pop42 - i32.sub $push24=, $1, $2 - i32.sub $push25=, $4, $2 - i32.gt_s $push26=, $pop24, $pop25 - i32.select $push27=, $4, $1, $pop26 - i32.store $push0=, 0($7), $pop27 - i32.store $drop=, 0($6), $pop0 + i32.load $push50=, 0($pop17) + tee_local $push49=, $5=, $pop50 + i32.add $push20=, $pop49, $3 + i32.const $push18=, -1 + i32.xor $push19=, $5, $pop18 + i32.and $push21=, $pop20, $pop19 + i32.store $push48=, 0($6), $pop21 + tee_local $push47=, $3=, $pop48 + i32.const $push23=, 8 + i32.add $push24=, $1, $pop23 + i32.load $push46=, 0($pop24) + tee_local $push45=, $1=, $pop46 + i32.sub $push25=, $3, $pop45 + i32.sub $push26=, $2, $1 + i32.gt_s $push27=, $pop25, $pop26 + i32.select $push28=, $2, $pop47, $pop27 + i32.store $push0=, 0($pop51), $pop28 + i32.store $drop=, 0($4), $pop0 .LBB0_6: # %cond.end end_block # label2: - i32.store $drop=, 12($0), $5 + i32.store $drop=, 12($0), $7 return $0 .LBB0_7: # %if.then end_block # label1: @@ -121,7 +123,7 @@ get_discrete_bounds: # @get_discrete_bounds i64.store $drop=, 0($0), $pop0 i64.const $push1=, 2 i64.store $drop=, 0($1), $pop1 - return + # fallthrough-return .endfunc .Lfunc_end2: .size get_discrete_bounds, .Lfunc_end2-get_discrete_bounds @@ -148,7 +150,7 @@ xmalloc: # @xmalloc .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size xmalloc, .Lfunc_end4-xmalloc diff --git a/test/torture-s/20001228-1.c.s b/test/torture-s/20001228-1.c.s index c3fa70b6a..a8045caf0 100644 --- a/test/torture-s/20001228-1.c.s +++ b/test/torture-s/20001228-1.c.s @@ -8,7 +8,7 @@ foo1: # @foo1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo1, .Lfunc_end0-foo1 @@ -21,15 +21,15 @@ foo2: # @foo2 .result i32 .local i32 # BB#0: # %entry - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 tee_local $push5=, $0=, $pop6 i32.const $push0=, 1 i32.store $drop=, 12($pop5), $pop0 i32.load8_s $push1=, 12($0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size foo2, .Lfunc_end1-foo2 @@ -43,12 +43,12 @@ main: # @main .local i32 # BB#0: # %entry block - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push9=, $pop6, $pop7 - i32.store $push11=, 0($pop8), $pop9 + i32.store $push11=, __stack_pointer($pop8), $pop9 tee_local $push10=, $0=, $pop11 i32.const $push1=, 1 i32.store $push0=, 12($pop10), $pop1 diff --git a/test/torture-s/20001229-1.c.s b/test/torture-s/20001229-1.c.s index b08217b20..cf4e0707c 100644 --- a/test/torture-s/20001229-1.c.s +++ b/test/torture-s/20001229-1.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -18,7 +18,7 @@ foo: # @foo .type showinfo,@function showinfo: # @showinfo # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size showinfo, .Lfunc_end1-showinfo diff --git a/test/torture-s/20010116-1.c.s b/test/torture-s/20010116-1.c.s index 5e3520b99..dde912ae1 100644 --- a/test/torture-s/20010116-1.c.s +++ b/test/torture-s/20010116-1.c.s @@ -9,16 +9,14 @@ find: # @find # BB#0: # %for.cond block i32.sub $push0=, $1, $0 - i32.const $push1=, 2 - i32.shr_s $push2=, $pop0, $pop1 - i32.const $push3=, -1431655765 - i32.mul $push4=, $pop2, $pop3 - i32.const $push9=, 2 - i32.shr_s $push8=, $pop4, $pop9 - tee_local $push7=, $1=, $pop8 - i32.const $push5=, 1 - i32.lt_s $push6=, $pop7, $pop5 - br_if 0, $pop6 # 0: down to label0 + i32.const $push1=, 12 + i32.div_s $push2=, $pop0, $pop1 + i32.const $push3=, 2 + i32.shr_s $push7=, $pop2, $pop3 + tee_local $push6=, $1=, $pop7 + i32.const $push4=, 1 + i32.lt_s $push5=, $pop6, $pop4 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %for.body call ok@FUNCTION, $1 unreachable @@ -61,15 +59,16 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 48 i32.sub $push6=, $pop3, $pop4 - i32.store $0=, 0($pop5), $pop6 + i32.store $push8=, __stack_pointer($pop5), $pop6 + tee_local $push7=, $0=, $pop8 i32.const $push0=, 48 i32.add $push1=, $0, $pop0 - call find@FUNCTION, $0, $pop1 + call find@FUNCTION, $pop7, $pop1 unreachable .endfunc .Lfunc_end2: diff --git a/test/torture-s/20010118-1.c.s b/test/torture-s/20010118-1.c.s index 7c8cb5fa0..815e6cd03 100644 --- a/test/torture-s/20010118-1.c.s +++ b/test/torture-s/20010118-1.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32, i32, i32, i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -18,7 +18,6 @@ foo: # @foo .type bar,@function bar: # @bar .param i32, i32, i32, i32, i32 - .local i32 # BB#0: # %entry block block @@ -33,31 +32,31 @@ bar: # @bar br_if 1, $pop5 # 1: down to label0 .LBB1_2: # %if.then end_block # label1: - i32.load $5=, 16($0) - i32.const $push19=, 4 - i32.add $push20=, $0, $pop19 - i32.load $push6=, 20($0) - f64.convert_s/i32 $push13=, $pop6 + i32.store $drop=, 8($0), $3 + i32.store $drop=, 12($0), $4 + i32.load $push6=, 16($0) + f64.convert_s/i32 $push7=, $pop6 f64.const $push8=, 0x0p0 - f64.mul $push14=, $pop13, $pop8 + f64.mul $push9=, $pop7, $pop8 f64.const $push10=, 0x1p-1 - f64.mul $push15=, $pop14, $pop10 - i32.trunc_s/f64 $push16=, $pop15 - i32.add $push18=, $pop16, $2 - i32.store $drop=, 0($pop20), $pop18 - f64.convert_s/i32 $push7=, $5 - f64.const $push22=, 0x0p0 - f64.mul $push9=, $pop7, $pop22 - f64.const $push21=, 0x1p-1 - f64.mul $push11=, $pop9, $pop21 + f64.mul $push11=, $pop9, $pop10 i32.trunc_s/f64 $push12=, $pop11 - i32.add $push17=, $pop12, $1 - i32.store $drop=, 0($0), $pop17 - i32.store $drop=, 8($0), $3 - i32.store $drop=, 12($0), $4 + i32.add $push13=, $pop12, $1 + i32.store $drop=, 0($0), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.load $push16=, 20($0) + f64.convert_s/i32 $push17=, $pop16 + f64.const $push23=, 0x0p0 + f64.mul $push18=, $pop17, $pop23 + f64.const $push22=, 0x1p-1 + f64.mul $push19=, $pop18, $pop22 + i32.trunc_s/f64 $push20=, $pop19 + i32.add $push21=, $pop20, $2 + i32.store $drop=, 0($pop15), $pop21 .LBB1_3: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/20010119-1.c.s b/test/torture-s/20010119-1.c.s index ed8d956d4..f9eeaad7f 100644 --- a/test/torture-s/20010119-1.c.s +++ b/test/torture-s/20010119-1.c.s @@ -7,7 +7,7 @@ bar: # @bar .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -19,7 +19,7 @@ bar: # @bar baz: # @baz .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size baz, .Lfunc_end1-baz diff --git a/test/torture-s/20010129-1.c.s b/test/torture-s/20010129-1.c.s index bb9f91cc1..4c145cb2c 100644 --- a/test/torture-s/20010129-1.c.s +++ b/test/torture-s/20010129-1.c.s @@ -16,7 +16,8 @@ baz1: # @baz1 i32.const $push1=, 1 i32.add $push2=, $pop3, $pop1 i32.store $drop=, baz1.l($pop0), $pop2 - return $1 + copy_local $push6=, $1 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size baz1, .Lfunc_end0-baz1 @@ -30,7 +31,7 @@ baz2: # @baz2 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size baz2, .Lfunc_end1-baz2 @@ -78,12 +79,10 @@ foo: # @foo i32.ge_s $push4=, $9, $1 br_if 0, $pop4 # 0: down to label2 # BB#1: # %if.then.lr.ph - i32.const $push5=, 16 - i32.and $3=, $2, $pop5 - i32.const $push6=, 13834 - i32.and $push7=, $2, $pop6 + i32.const $push5=, 13834 + i32.and $push6=, $2, $pop5 i32.const $push35=, 0 - i32.ne $push15=, $pop7, $pop35 + i32.ne $push7=, $pop6, $pop35 i32.const $push8=, 128 i32.and $push9=, $2, $pop8 i32.eqz $push10=, $pop9 @@ -91,37 +90,40 @@ foo: # @foo i32.load $push11=, bar($pop34) i32.eqz $push12=, $pop11 i32.or $push33=, $pop10, $pop12 - tee_local $push32=, $10=, $pop33 - i32.or $4=, $pop15, $pop32 - i32.const $push14=, 13832 - i32.and $push2=, $2, $pop14 - i32.const $push31=, 0 - i32.ne $5=, $pop2, $pop31 - i32.const $push30=, 2 - i32.and $push1=, $2, $pop30 - i32.const $push29=, 0 - i32.ne $6=, $pop1, $pop29 - i32.const $push13=, 16384 - i32.and $push0=, $2, $pop13 + tee_local $push32=, $4=, $pop33 + i32.or $5=, $pop7, $pop32 + i32.const $push15=, 16 + i32.and $3=, $2, $pop15 + i32.const $push31=, 2 + i32.and $push1=, $2, $pop31 + i32.const $push30=, 0 + i32.ne $6=, $pop1, $pop30 + i32.const $push14=, 16384 + i32.and $push0=, $2, $pop14 i32.eqz $7=, $pop0 - i32.const $2=, 0 + i32.const $push13=, 13832 + i32.and $push2=, $2, $pop13 + i32.const $push29=, 0 + i32.ne $8=, $pop2, $pop29 + i32.const $10=, 0 .LBB3_2: # %if.then # =>This Inner Loop Header: Depth=1 loop # label3: - i32.const $8=, 0 + copy_local $2=, $10 + i32.const $10=, 0 block i32.or $push16=, $2, $3 - i32.eqz $push42=, $pop16 - br_if 0, $pop42 # 0: down to label5 + i32.eqz $push44=, $pop16 + br_if 0, $pop44 # 0: down to label5 # BB#3: # %if.end17 # in Loop: Header=BB3_2 Depth=1 i32.const $push36=, 1 - i32.select $8=, $2, $pop36, $2 + i32.select $10=, $2, $pop36, $2 block br_if 0, $3 # 0: down to label6 # BB#4: # %land.lhs.true25 # in Loop: Header=BB3_2 Depth=1 - br_if 1, $4 # 1: down to label5 + br_if 1, $5 # 1: down to label5 br 5 # 5: down to label1 .LBB3_5: # %land.lhs.true20 # in Loop: Header=BB3_2 Depth=1 @@ -130,27 +132,27 @@ foo: # @foo i32.ne $push17=, $2, $pop37 i32.or $push18=, $7, $pop17 i32.and $push19=, $6, $pop18 - i32.or $push20=, $5, $pop19 - i32.or $push21=, $10, $pop20 - i32.eqz $push43=, $pop21 - br_if 4, $pop43 # 4: down to label1 + i32.or $push20=, $8, $pop19 + i32.or $push21=, $4, $pop20 + i32.eqz $push45=, $pop21 + br_if 4, $pop45 # 4: down to label1 .LBB3_6: # %while.cond.backedge # in Loop: Header=BB3_2 Depth=1 end_block # label5: - i32.const $push40=, 0 - i32.const $push39=, 2 - i32.add $push22=, $9, $pop39 - i32.store $drop=, baz1.l($pop40), $pop22 - i32.const $push38=, 1 - i32.add $9=, $9, $pop38 - copy_local $2=, $8 - i32.lt_s $push23=, $9, $1 + i32.const $push42=, 0 + i32.const $push41=, 2 + i32.add $push22=, $9, $pop41 + i32.store $drop=, baz1.l($pop42), $pop22 + i32.const $push40=, 1 + i32.add $push39=, $9, $pop40 + tee_local $push38=, $9=, $pop39 + i32.lt_s $push23=, $pop38, $1 br_if 0, $pop23 # 0: up to label3 .LBB3_7: # %while.end end_loop # label4: end_block # label2: - i32.const $push41=, 0 - return $pop41 + i32.const $push43=, 0 + return $pop43 .LBB3_8: # %for.body end_block # label1: call abort@FUNCTION @@ -165,24 +167,24 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push0=, 0 + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push9=, $pop4, $pop5 - i32.store $push13=, 0($pop6), $pop9 - tee_local $push12=, $1=, $pop13 - i32.const $push0=, 0 - i32.store $push11=, 12($pop12), $pop0 - tee_local $push10=, $0=, $pop11 + i32.store $push12=, __stack_pointer($pop6), $pop9 + tee_local $push11=, $0=, $pop12 i32.const $push7=, 12 - i32.add $push8=, $1, $pop7 - i32.store $drop=, bar($pop10), $pop8 + i32.add $push8=, $pop11, $pop7 + i32.store $drop=, bar($pop0), $pop8 + i32.const $push10=, 0 + i32.store $0=, 12($0), $pop10 i32.const $push2=, 1 i32.const $push1=, 51217 - i32.call $drop=, foo@FUNCTION, $1, $pop2, $pop1 + i32.call $drop=, foo@FUNCTION, $0, $pop2, $pop1 call exit@FUNCTION, $0 unreachable .endfunc diff --git a/test/torture-s/20010206-1.c.s b/test/torture-s/20010206-1.c.s index c3d35147e..cd047b397 100644 --- a/test/torture-s/20010206-1.c.s +++ b/test/torture-s/20010206-1.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 26 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20010221-1.c.s b/test/torture-s/20010221-1.c.s index 83dfcb127..b48ca9ae4 100644 --- a/test/torture-s/20010221-1.c.s +++ b/test/torture-s/20010221-1.c.s @@ -8,28 +8,29 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $2=, 0 block i32.const $push8=, 0 i32.load $push7=, n($pop8) - tee_local $push6=, $2=, $pop7 + tee_local $push6=, $0=, $pop7 i32.const $push5=, 1 i32.lt_s $push0=, $pop6, $pop5 br_if 0, $pop0 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $0=, 45 + i32.const $1=, 45 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.select $0=, $1, $0, $1 - i32.const $push9=, 1 - i32.add $1=, $1, $pop9 - i32.lt_s $push1=, $1, $2 + i32.select $1=, $2, $1, $2 + i32.const $push11=, 1 + i32.add $push10=, $2, $pop11 + tee_local $push9=, $2=, $pop10 + i32.lt_s $push1=, $pop9, $0 br_if 0, $pop1 # 0: up to label1 # BB#3: # %for.end end_loop # label2: i32.const $push2=, 1 - i32.ne $push3=, $0, $pop2 + i32.ne $push3=, $1, $pop2 br_if 0, $pop3 # 0: down to label0 # BB#4: # %if.end5 i32.const $push4=, 0 diff --git a/test/torture-s/20010224-1.c.s b/test/torture-s/20010224-1.c.s index 9cf704b72..32ab04a4e 100644 --- a/test/torture-s/20010224-1.c.s +++ b/test/torture-s/20010224-1.c.s @@ -6,52 +6,54 @@ .type ba_compute_psd,@function ba_compute_psd: # @ba_compute_psd .param i32 - .local i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push18=, 1 - i32.shl $push17=, $0, $pop18 - tee_local $push16=, $1=, $pop17 - i32.load16_s $push0=, masktab($pop16) - i32.const $push15=, 1 - i32.shl $push14=, $pop0, $pop15 - tee_local $push13=, $3=, $pop14 - i32.load16_u $push12=, psd($1) - tee_local $push11=, $2=, $pop12 - i32.store16 $drop=, bndpsd($pop13), $pop11 + i32.const $push19=, 1 + i32.shl $push18=, $0, $pop19 + tee_local $push17=, $4=, $pop18 + i32.load16_s $push1=, masktab($pop17) + i32.const $push16=, 1 + i32.shl $push15=, $pop1, $pop16 + tee_local $push14=, $3=, $pop15 + i32.load16_u $push13=, psd($4) + tee_local $push12=, $4=, $pop13 + i32.store16 $drop=, bndpsd($pop14), $pop12 block - i32.const $push10=, 1 - i32.add $push9=, $0, $pop10 - tee_local $push8=, $1=, $pop9 - i32.const $push7=, 3 - i32.gt_s $push2=, $pop8, $pop7 - br_if 0, $pop2 # 0: down to label0 + i32.const $push11=, 1 + i32.add $push10=, $0, $pop11 + tee_local $push9=, $2=, $pop10 + i32.const $push8=, 3 + i32.gt_s $push3=, $pop9, $pop8 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $push1=, bndpsd - i32.add $3=, $3, $pop1 + i32.const $push2=, bndpsd + i32.add $1=, $3, $pop2 + i32.const $push21=, 3 + i32.sub $3=, $pop21, $0 i32.const $push20=, 1 - i32.shl $push3=, $1, $pop20 - i32.const $push4=, psd - i32.add $1=, $pop3, $pop4 - i32.const $push19=, 3 - i32.sub $0=, $pop19, $0 + i32.shl $push4=, $2, $pop20 + i32.const $push5=, psd + i32.add $0=, $pop4, $pop5 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.load16_u $push6=, 0($1) - i32.const $push23=, 65535 - i32.and $push5=, $2, $pop23 - i32.add $2=, $pop6, $pop5 - i32.const $push22=, 2 - i32.add $1=, $1, $pop22 - i32.const $push21=, -1 - i32.add $0=, $0, $pop21 - br_if 0, $0 # 0: up to label1 + i32.load16_u $push7=, 0($0) + i32.const $push26=, 65535 + i32.and $push6=, $4, $pop26 + i32.add $4=, $pop7, $pop6 + i32.const $push25=, 2 + i32.add $push0=, $0, $pop25 + copy_local $0=, $pop0 + i32.const $push24=, -1 + i32.add $push23=, $3, $pop24 + tee_local $push22=, $3=, $pop23 + br_if 0, $pop22 # 0: up to label1 # BB#3: # %for.cond.for.end_crit_edge end_loop # label2: - i32.store16 $drop=, 0($3), $2 + i32.store16 $drop=, 0($1), $4 .LBB0_4: # %for.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size ba_compute_psd, .Lfunc_end0-ba_compute_psd @@ -71,7 +73,7 @@ logadd: # @logadd i32.shl $push4=, $pop2, $pop3 i32.const $push6=, 16 i32.shr_s $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size logadd, .Lfunc_end1-logadd diff --git a/test/torture-s/20010403-1.c.s b/test/torture-s/20010403-1.c.s index 11e664843..f36b6dbeb 100644 --- a/test/torture-s/20010403-1.c.s +++ b/test/torture-s/20010403-1.c.s @@ -7,7 +7,7 @@ a: # @a .param i32, i32 # BB#0: # %c.exit - return + # fallthrough-return .endfunc .Lfunc_end0: .size a, .Lfunc_end0-a @@ -23,7 +23,7 @@ b: # @b i32.const $push1=, 1 i32.add $push2=, $pop0, $pop1 i32.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size b, .Lfunc_end1-b @@ -55,7 +55,7 @@ c: # @c d: # @d .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end3: .size d, .Lfunc_end3-d diff --git a/test/torture-s/20010409-1.c.s b/test/torture-s/20010409-1.c.s index b008fe319..6d184f58b 100644 --- a/test/torture-s/20010409-1.c.s +++ b/test/torture-s/20010409-1.c.s @@ -8,12 +8,12 @@ foo: # @foo .param i32, i32, i32 # BB#0: # %entry i32.const $push4=, 0 - i32.load8_s $push0=, 4($1) - i32.const $push1=, 25 - i32.mul $push2=, $2, $pop1 - i32.add $push3=, $pop0, $pop2 + i32.load8_s $push2=, 4($1) + i32.const $push0=, 25 + i32.mul $push1=, $2, $pop0 + i32.add $push3=, $pop2, $pop1 i32.store $drop=, c($pop4), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -48,9 +48,9 @@ test: # @test .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push0=, .L.str - i32.const $push1=, 200 - call foo@FUNCTION, $2, $pop0, $pop1 + i32.const $push1=, .L.str + i32.const $push0=, 200 + call foo@FUNCTION, $2, $pop1, $pop0 i32.const $push2=, 0 i32.const $push4=, 65536 i32.const $push6=, 0 @@ -70,15 +70,15 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, a - i32.store $drop=, d($pop0), $pop1 + i32.const $push1=, 0 + i32.const $push0=, a + i32.store $drop=, d($pop1), $pop0 i32.const $push8=, 0 i32.const $push7=, 0 i32.store $0=, d+4($pop8), $pop7 - i32.const $push2=, .L.str - i32.const $push3=, 200 - call foo@FUNCTION, $0, $pop2, $pop3 + i32.const $push3=, .L.str + i32.const $push2=, 200 + call foo@FUNCTION, $0, $pop3, $pop2 i32.const $push5=, 65536 i32.load $push4=, b($0) i32.select $push6=, $0, $pop5, $pop4 diff --git a/test/torture-s/20010422-1.c.s b/test/torture-s/20010422-1.c.s index 08f106346..a168d9fad 100644 --- a/test/torture-s/20010422-1.c.s +++ b/test/torture-s/20010422-1.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.const $push0=, 5 i32.lt_u $push1=, $0, $pop0 i32.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20010518-1.c.s b/test/torture-s/20010518-1.c.s index 48f48f85a..b3602ae90 100644 --- a/test/torture-s/20010518-1.c.s +++ b/test/torture-s/20010518-1.c.s @@ -20,7 +20,7 @@ add: # @add i32.add $push9=, $pop8, $10 i32.add $push10=, $pop9, $11 i32.add $push11=, $pop10, $12 - return $pop11 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size add, .Lfunc_end0-add diff --git a/test/torture-s/20010518-2.c.s b/test/torture-s/20010518-2.c.s index 5d39e2ad9..56faa0b23 100644 --- a/test/torture-s/20010518-2.c.s +++ b/test/torture-s/20010518-2.c.s @@ -8,25 +8,25 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push32=, __stack_pointer - i32.const $push29=, __stack_pointer - i32.load $push30=, 0($pop29) + i32.const $push32=, 0 + i32.const $push29=, 0 + i32.load $push30=, __stack_pointer($pop29) i32.const $push31=, 48 i32.sub $push33=, $pop30, $pop31 - i32.store $push35=, 0($pop32), $pop33 + i32.store $push35=, __stack_pointer($pop32), $pop33 tee_local $push34=, $2=, $pop35 + i32.const $push2=, 1 + i32.store16 $0=, 28($pop34), $pop2 + i32.const $push3=, 2 + i32.store $1=, 24($2), $pop3 i32.const $push4=, 3 - i32.store16 $drop=, 22($pop34), $pop4 + i32.store16 $drop=, 22($2), $pop4 i32.const $push5=, 4 i32.store16 $drop=, 20($2), $pop5 i32.const $push6=, 0 i32.store $push0=, 16($2), $pop6 i32.store8 $push1=, 15($2), $pop0 i32.store8 $drop=, 14($2), $pop1 - i32.const $push2=, 1 - i32.store16 $0=, 28($2), $pop2 - i32.const $push3=, 2 - i32.store $1=, 24($2), $pop3 i32.load16_u $push7=, 28($2) i32.store16 $drop=, 46($2), $pop7 i32.load $push8=, 24($2) @@ -52,19 +52,19 @@ main: # @main i32.ne $push18=, $pop17, $1 br_if 0, $pop18 # 0: down to label0 # BB#2: # %lor.lhs.false9 - i32.load16_u $push19=, 38($2) - i32.const $push20=, 3 - i32.ne $push21=, $pop19, $pop20 + i32.load16_u $push20=, 38($2) + i32.const $push19=, 3 + i32.ne $push21=, $pop20, $pop19 br_if 0, $pop21 # 0: down to label0 # BB#3: # %lor.lhs.false14 - i32.load16_u $push22=, 36($2) - i32.const $push23=, 4 - i32.ne $push24=, $pop22, $pop23 + i32.load16_u $push23=, 36($2) + i32.const $push22=, 4 + i32.ne $push24=, $pop23, $pop22 br_if 0, $pop24 # 0: down to label0 # BB#4: # %lor.lhs.false19 - i32.load8_u $push25=, 31($2) - i32.const $push26=, 99 - i32.ne $push27=, $pop25, $pop26 + i32.load8_u $push26=, 31($2) + i32.const $push25=, 99 + i32.ne $push27=, $pop26, $pop25 br_if 0, $pop27 # 0: down to label0 # BB#5: # %if.end i32.const $push28=, 0 diff --git a/test/torture-s/20010711-1.c.s b/test/torture-s/20010711-1.c.s index 69330a75a..cbe2945a1 100644 --- a/test/torture-s/20010711-1.c.s +++ b/test/torture-s/20010711-1.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20010717-1.c.s b/test/torture-s/20010717-1.c.s index a609a2627..eda77ee4a 100644 --- a/test/torture-s/20010717-1.c.s +++ b/test/torture-s/20010717-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20010723-1.c.s b/test/torture-s/20010723-1.c.s index d87375a78..cab334a00 100644 --- a/test/torture-s/20010723-1.c.s +++ b/test/torture-s/20010723-1.c.s @@ -8,7 +8,7 @@ test: # @test .result i32 # BB#0: # %entry i32.const $push0=, 8 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test diff --git a/test/torture-s/20010910-1.c.s b/test/torture-s/20010910-1.c.s index 5def4c2b0..7faaba2b5 100644 --- a/test/torture-s/20010910-1.c.s +++ b/test/torture-s/20010910-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %for.cond3.4 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20010915-1.c.s b/test/torture-s/20010915-1.c.s index c5bf9741d..d796c9449 100644 --- a/test/torture-s/20010915-1.c.s +++ b/test/torture-s/20010915-1.c.s @@ -9,12 +9,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 32 i32.sub $push15=, $pop12, $pop13 - i32.store $push22=, 0($pop14), $pop15 + i32.store $push22=, __stack_pointer($pop14), $pop15 tee_local $push21=, $2=, $pop22 i32.const $push2=, 16 i32.add $push3=, $pop21, $pop2 @@ -64,24 +64,24 @@ x: # @x # BB#0: # %entry block block - i32.const $push2=, 3 - i32.lt_s $push3=, $0, $pop2 - br_if 0, $pop3 # 0: down to label2 + i32.const $push1=, 3 + i32.lt_s $push2=, $0, $pop1 + br_if 0, $pop2 # 0: down to label2 # BB#1: # %entry - i32.const $push1=, 0 - i32.load $push33=, o($pop1) - tee_local $push32=, $2=, $pop33 + i32.const $push3=, 0 + i32.load $push33=, o($pop3) + tee_local $push32=, $5=, $pop33 i32.ge_s $push4=, $pop32, $0 br_if 0, $pop4 # 0: down to label2 # BB#2: # %land.lhs.true2 i32.const $push5=, 2 - i32.shl $push6=, $2, $pop5 + i32.shl $push6=, $5, $pop5 i32.add $push37=, $1, $pop6 - tee_local $push36=, $4=, $pop37 + tee_local $push36=, $2=, $pop37 i32.load $push35=, 0($pop36) tee_local $push34=, $3=, $pop35 - i32.eqz $push68=, $pop34 - br_if 0, $pop68 # 0: down to label2 + i32.eqz $push72=, $pop34 + br_if 0, $pop72 # 0: down to label2 # BB#3: # %if.then block i32.const $push7=, .L.str @@ -91,12 +91,12 @@ x: # @x i32.const $push9=, 0 i32.const $push40=, 0 i32.load $push39=, check($pop40) - tee_local $push38=, $5=, $pop39 + tee_local $push38=, $4=, $pop39 i32.const $push10=, 1 i32.add $push11=, $pop38, $pop10 i32.store $drop=, check($pop9), $pop11 i32.const $push12=, 2 - i32.ge_s $push13=, $5, $pop12 + i32.ge_s $push13=, $4, $pop12 br_if 0, $pop13 # 0: down to label3 # BB#5: # %s.exit i32.const $push14=, .L.str @@ -105,16 +105,16 @@ x: # @x # BB#6: # %lor.lhs.false.i45 i32.const $push42=, 0 i32.const $push16=, 2 - i32.add $push17=, $5, $pop16 + i32.add $push17=, $4, $pop16 i32.store $drop=, check($pop42), $pop17 i32.const $push41=, 1 - i32.ge_s $push18=, $5, $pop41 + i32.ge_s $push18=, $4, $pop41 br_if 0, $pop18 # 0: down to label3 # BB#7: # %s.exit48 i32.const $push45=, 0 i32.const $push44=, 0 i32.store $drop=, u($pop45), $pop44 - i32.load $push20=, 0($4) + i32.load $push20=, 0($2) i32.const $push43=, 1 i32.add $push19=, $3, $pop43 i32.eq $push21=, $pop20, $pop19 @@ -124,27 +124,27 @@ x: # @x block i32.const $push51=, 0 i32.const $push50=, 1 - i32.add $push49=, $2, $pop50 + i32.add $push49=, $5, $pop50 tee_local $push48=, $5=, $pop49 i32.store $push47=, o($pop51), $pop48 - tee_local $push46=, $2=, $pop47 + tee_local $push46=, $3=, $pop47 i32.ge_s $push22=, $pop46, $0 br_if 0, $pop22 # 0: down to label5 # BB#9: # %while.body.preheader - i32.const $push52=, 0 - i32.load8_u $3=, r.c.0($pop52) i32.const $push23=, 2 - i32.shl $push24=, $2, $pop23 - i32.add $2=, $1, $pop24 + i32.shl $push24=, $3, $pop23 + i32.add $3=, $1, $pop24 + i32.const $push52=, 0 + i32.load8_u $4=, r.c.0($pop52) .LBB1_10: # %while.body # =>This Inner Loop Header: Depth=1 loop # label6: - i32.load $push55=, 0($2) + i32.load $push55=, 0($3) tee_local $push54=, $1=, $pop55 - i32.load8_u $push25=, 0($pop54) + i32.load8_u $push26=, 0($pop54) i32.const $push53=, 255 - i32.and $push26=, $3, $pop53 - i32.ne $push27=, $pop25, $pop26 + i32.and $push25=, $4, $pop53 + i32.ne $push27=, $pop26, $pop25 br_if 3, $pop27 # 3: down to label4 # BB#11: # %lor.lhs.false.i50 # in Loop: Header=BB1_10 Depth=1 @@ -160,27 +160,29 @@ x: # @x br_if 3, $pop29 # 3: down to label4 # BB#13: # %r.exit # in Loop: Header=BB1_10 Depth=1 - i32.const $push66=, 0 - i32.const $push65=, 1 - i32.add $push30=, $1, $pop65 - i32.store $drop=, r.cnt($pop66), $pop30 - i32.const $push64=, 1 + i32.const $push70=, 0 + i32.const $push69=, 1 + i32.add $push30=, $1, $pop69 + i32.store $drop=, r.cnt($pop70), $pop30 + i32.const $push68=, 0 + i32.const $push67=, 1 + i32.add $push66=, $4, $pop67 + tee_local $push65=, $4=, $pop66 + i32.store8 $drop=, r.c.0($pop68), $pop65 + i32.const $push64=, 4 i32.add $3=, $3, $pop64 i32.const $push63=, 0 - i32.store8 $drop=, r.c.0($pop63), $3 i32.const $push62=, 1 - i32.add $5=, $5, $pop62 - i32.const $push61=, 4 - i32.add $2=, $2, $pop61 - i32.const $push60=, 0 - i32.store $push0=, o($pop60), $5 + i32.add $push61=, $5, $pop62 + tee_local $push60=, $5=, $pop61 + i32.store $push0=, o($pop63), $pop60 i32.lt_s $push31=, $pop0, $0 br_if 0, $pop31 # 0: up to label6 .LBB1_14: # %cleanup end_loop # label7: end_block # label5: - i32.const $push67=, 0 - return $pop67 + i32.const $push71=, 0 + return $pop71 .LBB1_15: # %if.then.i51 end_block # label4: call abort@FUNCTION @@ -282,12 +284,12 @@ r: # @r # BB#3: # %if.end i32.const $push7=, 0 i32.const $push5=, 1 - i32.add $push6=, $1, $pop5 - i32.store8 $drop=, r.c.0($pop7), $pop6 + i32.add $push6=, $0, $pop5 + i32.store $drop=, r.cnt($pop7), $pop6 i32.const $push17=, 0 i32.const $push16=, 1 - i32.add $push8=, $0, $pop16 - i32.store $drop=, r.cnt($pop17), $pop8 + i32.add $push8=, $1, $pop16 + i32.store8 $drop=, r.c.0($pop17), $pop8 i32.const $push15=, 1 return $pop15 .LBB4_4: # %if.then diff --git a/test/torture-s/20010925-1.c.s b/test/torture-s/20010925-1.c.s index 15e65e4fd..67a3f92d6 100644 --- a/test/torture-s/20010925-1.c.s +++ b/test/torture-s/20010925-1.c.s @@ -6,18 +6,17 @@ .type main,@function main: # @main .result i32 - .local i64 # BB#0: # %if.end i32.const $push0=, 0 - i64.load $0=, src($pop0) + i32.const $push6=, 0 + i32.load16_u $push1=, src+8($pop6) + i32.store16 $drop=, dst+8($pop0), $pop1 i32.const $push5=, 0 i32.const $push4=, 0 - i32.load16_u $push1=, src+8($pop4) - i32.store16 $drop=, dst+8($pop5), $pop1 + i64.load $push2=, src($pop4) + i64.store $drop=, dst($pop5), $pop2 i32.const $push3=, 0 - i64.store $drop=, dst($pop3), $0 - i32.const $push2=, 0 - call exit@FUNCTION, $pop2 + call exit@FUNCTION, $pop3 unreachable .endfunc .Lfunc_end0: @@ -41,7 +40,8 @@ foo: # @foo i32.const $3=, 0 .LBB1_2: # %return end_block # label0: - return $3 + copy_local $push1=, $3 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/20011008-3.c.s b/test/torture-s/20011008-3.c.s index 3b4e6b4f1..27fc07967 100644 --- a/test/torture-s/20011008-3.c.s +++ b/test/torture-s/20011008-3.c.s @@ -9,7 +9,7 @@ log_compare: # @log_compare .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size log_compare, .Lfunc_end0-log_compare @@ -25,9 +25,9 @@ __db_txnlist_lsnadd: # @__db_txnlist_lsnadd # BB#0: # %entry i32.const $push7=, 1 i32.and $4=, $3, $pop7 + i32.const $3=, 0 i32.const $push1=, 12 i32.add $5=, $1, $pop1 - i32.const $3=, 0 .LBB1_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label0: @@ -56,7 +56,7 @@ __db_txnlist_lsnadd: # @__db_txnlist_lsnadd i64.load $push6=, 0($pop5):p2align=2 i64.store $drop=, 0($2):p2align=2, $pop6 i32.add $push0=, $0, $3 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size __db_txnlist_lsnadd, .Lfunc_end1-__db_txnlist_lsnadd diff --git a/test/torture-s/20011019-1.c.s b/test/torture-s/20011019-1.c.s index a7b999d23..0f12014d0 100644 --- a/test/torture-s/20011019-1.c.s +++ b/test/torture-s/20011019-1.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.sub $push3=, $pop1, $pop2 i32.const $push4=, 2 i32.shr_s $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20011024-1.c.s b/test/torture-s/20011024-1.c.s index 751ac7ef6..d77012614 100644 --- a/test/torture-s/20011024-1.c.s +++ b/test/torture-s/20011024-1.c.s @@ -11,9 +11,9 @@ main: # @main i32.const $push0=, 6513249 i32.store $drop=, buf($pop6), $pop0 block - i32.const $push1=, buf - i32.const $push2=, .L.str - i32.call $push3=, strcmp@FUNCTION, $pop1, $pop2 + i32.const $push2=, buf + i32.const $push1=, .L.str + i32.call $push3=, strcmp@FUNCTION, $pop2, $pop1 br_if 0, $pop3 # 0: down to label0 # BB#1: # %foo.exit i32.const $push11=, 0 diff --git a/test/torture-s/20011113-1.c.s b/test/torture-s/20011113-1.c.s index 430ee985f..780f52e06 100644 --- a/test/torture-s/20011113-1.c.s +++ b/test/torture-s/20011113-1.c.s @@ -12,13 +12,13 @@ foo: # @foo i32.const $push2=, 8 i32.add $push3=, $0, $pop2 i32.load $push4=, 0($pop3) - i32.const $push9=, 21 - i32.ne $push10=, $pop4, $pop9 - br_if 0, $pop10 # 0: down to label0 + i32.const $push5=, 21 + i32.ne $push6=, $pop4, $pop5 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %entry - i32.const $push5=, 12 - i32.add $push6=, $0, $pop5 - i32.load $push0=, 0($pop6) + i32.const $push9=, 12 + i32.add $push10=, $0, $pop9 + i32.load $push0=, 0($pop10) i32.const $push11=, 22 i32.ne $push12=, $pop0, $pop11 br_if 0, $pop12 # 0: down to label0 @@ -86,13 +86,13 @@ baz: # @baz i32.const $push2=, 8 i32.add $push3=, $0, $pop2 i32.load $push4=, 0($pop3) - i32.const $push9=, 21 - i32.ne $push10=, $pop4, $pop9 - br_if 0, $pop10 # 0: down to label2 + i32.const $push5=, 21 + i32.ne $push6=, $pop4, $pop5 + br_if 0, $pop6 # 0: down to label2 # BB#1: # %entry - i32.const $push5=, 12 - i32.add $push6=, $0, $pop5 - i32.load $push0=, 0($pop6) + i32.const $push9=, 12 + i32.add $push10=, $0, $pop9 + i32.load $push0=, 0($pop10) i32.const $push11=, 22 i32.ne $push12=, $pop0, $pop11 br_if 0, $pop12 # 0: down to label2 diff --git a/test/torture-s/20011114-1.c.s b/test/torture-s/20011114-1.c.s index 5db5bfde7..89014ce90 100644 --- a/test/torture-s/20011114-1.c.s +++ b/test/torture-s/20011114-1.c.s @@ -9,7 +9,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.load8_s $push0=, 1($0) - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20011126-2.c.s b/test/torture-s/20011126-2.c.s index bbe54413b..a9ef202cb 100644 --- a/test/torture-s/20011126-2.c.s +++ b/test/torture-s/20011126-2.c.s @@ -6,16 +6,16 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) - i32.const $push13=, 16 - i32.sub $push16=, $pop12, $pop13 - i32.const $push14=, 12 - i32.add $push15=, $pop16, $pop14 - copy_local $3=, $pop15 - i32.const $1=, .L.str + i32.const $4=, .L.str + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) + i32.const $push12=, 16 + i32.sub $push15=, $pop11, $pop12 + i32.const $push13=, 12 + i32.add $push14=, $pop15, $pop13 + copy_local $3=, $pop14 .LBB0_1: # %while.body.outer.outer.i # =>This Loop Header: Depth=1 # Child Loop BB0_2 Depth 2 @@ -23,11 +23,11 @@ main: # @main # Child Loop BB0_8 Depth 2 loop # label0: copy_local $0=, $3 - copy_local $push21=, $1 - tee_local $push20=, $2=, $pop21 - i32.load8_u $push19=, 0($pop20) - tee_local $push18=, $1=, $pop19 - copy_local $3=, $pop18 + copy_local $push20=, $4 + tee_local $push19=, $6=, $pop20 + i32.load8_u $push18=, 0($pop19) + tee_local $push17=, $4=, $pop18 + copy_local $3=, $pop17 .LBB0_2: # %while.body.outer.i # Parent Loop BB0_1 Depth=1 # => This Loop Header: Depth=2 @@ -36,66 +36,66 @@ main: # @main block block loop # label5: - copy_local $4=, $2 - i32.const $push23=, 255 - i32.and $push1=, $3, $pop23 - i32.const $push22=, 97 - i32.ne $push2=, $pop1, $pop22 - br_if 2, $pop2 # 2: down to label4 + copy_local $5=, $6 + i32.const $push22=, 255 + i32.and $push0=, $3, $pop22 + i32.const $push21=, 97 + i32.ne $push1=, $pop0, $pop21 + br_if 2, $pop1 # 2: down to label4 .LBB0_3: # %while.cond2.i # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label7: - copy_local $push31=, $4 - tee_local $push30=, $5=, $pop31 - i32.const $push29=, 1 - i32.add $push28=, $pop30, $pop29 - tee_local $push27=, $4=, $pop28 - i32.load8_u $push26=, 0($pop27) - tee_local $push25=, $3=, $pop26 - i32.const $push24=, 120 - i32.eq $push3=, $pop25, $pop24 - br_if 0, $pop3 # 0: up to label7 + copy_local $push30=, $5 + tee_local $push29=, $1=, $pop30 + i32.const $push28=, 1 + i32.add $push27=, $pop29, $pop28 + tee_local $push26=, $5=, $pop27 + i32.load8_u $push25=, 0($pop26) + tee_local $push24=, $3=, $pop25 + i32.const $push23=, 120 + i32.eq $push2=, $pop24, $pop23 + br_if 0, $pop2 # 0: up to label7 # BB#4: # %while.cond2.i # in Loop: Header=BB0_2 Depth=2 end_loop # label8: - i32.const $push32=, 98 - i32.eq $push4=, $3, $pop32 - br_if 3, $pop4 # 3: down to label3 + i32.const $push31=, 98 + i32.eq $push3=, $3, $pop31 + br_if 3, $pop3 # 3: down to label3 # BB#5: # %while.cond11.preheader.i # in Loop: Header=BB0_2 Depth=2 i32.const $3=, 97 - i32.ge_u $push6=, $2, $4 - br_if 0, $pop6 # 0: up to label5 + i32.ge_u $push5=, $6, $5 + br_if 0, $pop5 # 0: up to label5 # BB#6: # %while.body14.i.preheader # in Loop: Header=BB0_1 Depth=1 end_loop # label6: - i32.store8 $drop=, 0($0), $1 - i32.const $push34=, 1 - i32.add $1=, $2, $pop34 + i32.store8 $drop=, 0($0), $4 i32.const $push33=, 1 i32.add $3=, $0, $pop33 - i32.ge_u $push7=, $2, $5 - br_if 3, $pop7 # 3: up to label0 + i32.const $push32=, 1 + i32.add $4=, $6, $pop32 + i32.ge_u $push6=, $6, $1 + br_if 3, $pop6 # 3: up to label0 # BB#7: # %while.body14.while.body14_crit_edge.i.preheader # in Loop: Header=BB0_1 Depth=1 - i32.add $1=, $0, $5 - i32.const $push35=, 0 - i32.sub $0=, $pop35, $2 + i32.const $push34=, 0 + i32.sub $2=, $pop34, $6 + i32.add $4=, $0, $1 .LBB0_8: # %while.body14.while.body14_crit_edge.i # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label9: - i32.const $push37=, 1 - i32.add $2=, $2, $pop37 - i32.load8_u $push8=, 0($2) - i32.store8 $drop=, 0($3), $pop8 - i32.const $push36=, 1 - i32.add $push0=, $3, $pop36 - copy_local $3=, $pop0 - i32.ne $push9=, $5, $2 - br_if 0, $pop9 # 0: up to label9 + i32.const $push38=, 1 + i32.add $push37=, $6, $pop38 + tee_local $push36=, $6=, $pop37 + i32.load8_u $push7=, 0($pop36) + i32.store8 $drop=, 0($3), $pop7 + i32.const $push35=, 1 + i32.add $3=, $3, $pop35 + i32.ne $push8=, $1, $6 + br_if 0, $pop8 # 0: up to label9 br 4 # 4: down to label2 .LBB0_9: # %while.body.i # =>This Inner Loop Header: Depth=1 @@ -106,15 +106,15 @@ main: # @main .LBB0_10: # %test.exit end_loop # label12: end_block # label3: - i32.const $push5=, 0 - return $pop5 + i32.const $push4=, 0 + return $pop4 .LBB0_11: # %while.body.outer.outer.i.loopexit # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.add $push10=, $1, $0 - i32.const $push17=, 1 - i32.add $3=, $pop10, $pop17 - copy_local $1=, $4 + i32.add $push9=, $4, $2 + i32.const $push16=, 1 + i32.add $3=, $pop9, $pop16 + copy_local $4=, $5 br 0 # 0: up to label0 .LBB0_12: end_loop # label1: diff --git a/test/torture-s/20011219-1.c.s b/test/torture-s/20011219-1.c.s index c40b6c433..f31390902 100644 --- a/test/torture-s/20011219-1.c.s +++ b/test/torture-s/20011219-1.c.s @@ -7,7 +7,7 @@ bar: # @bar .param i32, i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -37,7 +37,8 @@ foo: # @foo i32.load $2=, 0($1) .LBB1_3: # %sw.epilog end_block # label0: - return $2 + copy_local $push5=, $2 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/20020103-1.c.s b/test/torture-s/20020103-1.c.s index 8bcdb2fe1..ee00bd427 100644 --- a/test/torture-s/20020103-1.c.s +++ b/test/torture-s/20020103-1.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 65535 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -25,7 +25,7 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, -65536 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/20020107-1.c.s b/test/torture-s/20020107-1.c.s index 39a1d3701..d0d3931a9 100644 --- a/test/torture-s/20020107-1.c.s +++ b/test/torture-s/20020107-1.c.s @@ -12,7 +12,7 @@ foo: # @foo #NO_APP i32.const $push0=, 2 i32.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20020108-1.c.s b/test/torture-s/20020108-1.c.s index b4d9296e0..2bbac98b6 100644 --- a/test/torture-s/20020108-1.c.s +++ b/test/torture-s/20020108-1.c.s @@ -8,7 +8,8 @@ ashift_qi_0: # @ashift_qi_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size ashift_qi_0, .Lfunc_end0-ashift_qi_0 @@ -25,7 +26,7 @@ ashift_qi_1: # @ashift_qi_1 i32.shl $push1=, $0, $pop0 i32.const $push2=, 254 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size ashift_qi_1, .Lfunc_end1-ashift_qi_1 @@ -42,7 +43,7 @@ ashift_qi_2: # @ashift_qi_2 i32.shl $push1=, $0, $pop0 i32.const $push2=, 252 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size ashift_qi_2, .Lfunc_end2-ashift_qi_2 @@ -59,7 +60,7 @@ ashift_qi_3: # @ashift_qi_3 i32.shl $push1=, $0, $pop0 i32.const $push2=, 248 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size ashift_qi_3, .Lfunc_end3-ashift_qi_3 @@ -76,7 +77,7 @@ ashift_qi_4: # @ashift_qi_4 i32.shl $push1=, $0, $pop0 i32.const $push2=, 240 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size ashift_qi_4, .Lfunc_end4-ashift_qi_4 @@ -93,7 +94,7 @@ ashift_qi_5: # @ashift_qi_5 i32.shl $push1=, $0, $pop0 i32.const $push2=, 224 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size ashift_qi_5, .Lfunc_end5-ashift_qi_5 @@ -110,7 +111,7 @@ ashift_qi_6: # @ashift_qi_6 i32.shl $push1=, $0, $pop0 i32.const $push2=, 192 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end6: .size ashift_qi_6, .Lfunc_end6-ashift_qi_6 @@ -127,7 +128,7 @@ ashift_qi_7: # @ashift_qi_7 i32.shl $push1=, $0, $pop0 i32.const $push2=, 128 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end7: .size ashift_qi_7, .Lfunc_end7-ashift_qi_7 @@ -140,7 +141,8 @@ lshiftrt_qi_0: # @lshiftrt_qi_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size lshiftrt_qi_0, .Lfunc_end8-lshiftrt_qi_0 @@ -155,7 +157,7 @@ lshiftrt_qi_1: # @lshiftrt_qi_1 # BB#0: # %entry i32.const $push0=, 1 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end9: .size lshiftrt_qi_1, .Lfunc_end9-lshiftrt_qi_1 @@ -170,7 +172,7 @@ lshiftrt_qi_2: # @lshiftrt_qi_2 # BB#0: # %entry i32.const $push0=, 2 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end10: .size lshiftrt_qi_2, .Lfunc_end10-lshiftrt_qi_2 @@ -185,7 +187,7 @@ lshiftrt_qi_3: # @lshiftrt_qi_3 # BB#0: # %entry i32.const $push0=, 3 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end11: .size lshiftrt_qi_3, .Lfunc_end11-lshiftrt_qi_3 @@ -200,7 +202,7 @@ lshiftrt_qi_4: # @lshiftrt_qi_4 # BB#0: # %entry i32.const $push0=, 4 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end12: .size lshiftrt_qi_4, .Lfunc_end12-lshiftrt_qi_4 @@ -215,7 +217,7 @@ lshiftrt_qi_5: # @lshiftrt_qi_5 # BB#0: # %entry i32.const $push0=, 5 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end13: .size lshiftrt_qi_5, .Lfunc_end13-lshiftrt_qi_5 @@ -230,7 +232,7 @@ lshiftrt_qi_6: # @lshiftrt_qi_6 # BB#0: # %entry i32.const $push0=, 6 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end14: .size lshiftrt_qi_6, .Lfunc_end14-lshiftrt_qi_6 @@ -245,7 +247,7 @@ lshiftrt_qi_7: # @lshiftrt_qi_7 # BB#0: # %entry i32.const $push0=, 7 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end15: .size lshiftrt_qi_7, .Lfunc_end15-lshiftrt_qi_7 @@ -258,7 +260,8 @@ ashiftrt_qi_0: # @ashiftrt_qi_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end16: .size ashiftrt_qi_0, .Lfunc_end16-ashiftrt_qi_0 @@ -273,7 +276,7 @@ ashiftrt_qi_1: # @ashiftrt_qi_1 # BB#0: # %entry i32.const $push0=, 1 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end17: .size ashiftrt_qi_1, .Lfunc_end17-ashiftrt_qi_1 @@ -288,7 +291,7 @@ ashiftrt_qi_2: # @ashiftrt_qi_2 # BB#0: # %entry i32.const $push0=, 2 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end18: .size ashiftrt_qi_2, .Lfunc_end18-ashiftrt_qi_2 @@ -303,7 +306,7 @@ ashiftrt_qi_3: # @ashiftrt_qi_3 # BB#0: # %entry i32.const $push0=, 3 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end19: .size ashiftrt_qi_3, .Lfunc_end19-ashiftrt_qi_3 @@ -318,7 +321,7 @@ ashiftrt_qi_4: # @ashiftrt_qi_4 # BB#0: # %entry i32.const $push0=, 4 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end20: .size ashiftrt_qi_4, .Lfunc_end20-ashiftrt_qi_4 @@ -333,7 +336,7 @@ ashiftrt_qi_5: # @ashiftrt_qi_5 # BB#0: # %entry i32.const $push0=, 5 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end21: .size ashiftrt_qi_5, .Lfunc_end21-ashiftrt_qi_5 @@ -348,7 +351,7 @@ ashiftrt_qi_6: # @ashiftrt_qi_6 # BB#0: # %entry i32.const $push0=, 6 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end22: .size ashiftrt_qi_6, .Lfunc_end22-ashiftrt_qi_6 @@ -363,7 +366,7 @@ ashiftrt_qi_7: # @ashiftrt_qi_7 # BB#0: # %entry i32.const $push0=, 7 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end23: .size ashiftrt_qi_7, .Lfunc_end23-ashiftrt_qi_7 @@ -376,7 +379,8 @@ ashift_hi_0: # @ashift_hi_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end24: .size ashift_hi_0, .Lfunc_end24-ashift_hi_0 @@ -393,7 +397,7 @@ ashift_hi_1: # @ashift_hi_1 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65534 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end25: .size ashift_hi_1, .Lfunc_end25-ashift_hi_1 @@ -410,7 +414,7 @@ ashift_hi_2: # @ashift_hi_2 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65532 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end26: .size ashift_hi_2, .Lfunc_end26-ashift_hi_2 @@ -427,7 +431,7 @@ ashift_hi_3: # @ashift_hi_3 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65528 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end27: .size ashift_hi_3, .Lfunc_end27-ashift_hi_3 @@ -444,7 +448,7 @@ ashift_hi_4: # @ashift_hi_4 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65520 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end28: .size ashift_hi_4, .Lfunc_end28-ashift_hi_4 @@ -461,7 +465,7 @@ ashift_hi_5: # @ashift_hi_5 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65504 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end29: .size ashift_hi_5, .Lfunc_end29-ashift_hi_5 @@ -478,7 +482,7 @@ ashift_hi_6: # @ashift_hi_6 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65472 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end30: .size ashift_hi_6, .Lfunc_end30-ashift_hi_6 @@ -495,7 +499,7 @@ ashift_hi_7: # @ashift_hi_7 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65408 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end31: .size ashift_hi_7, .Lfunc_end31-ashift_hi_7 @@ -512,7 +516,7 @@ ashift_hi_8: # @ashift_hi_8 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65280 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end32: .size ashift_hi_8, .Lfunc_end32-ashift_hi_8 @@ -529,7 +533,7 @@ ashift_hi_9: # @ashift_hi_9 i32.shl $push1=, $0, $pop0 i32.const $push2=, 65024 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end33: .size ashift_hi_9, .Lfunc_end33-ashift_hi_9 @@ -546,7 +550,7 @@ ashift_hi_10: # @ashift_hi_10 i32.shl $push1=, $0, $pop0 i32.const $push2=, 64512 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end34: .size ashift_hi_10, .Lfunc_end34-ashift_hi_10 @@ -563,7 +567,7 @@ ashift_hi_11: # @ashift_hi_11 i32.shl $push1=, $0, $pop0 i32.const $push2=, 63488 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end35: .size ashift_hi_11, .Lfunc_end35-ashift_hi_11 @@ -580,7 +584,7 @@ ashift_hi_12: # @ashift_hi_12 i32.shl $push1=, $0, $pop0 i32.const $push2=, 61440 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end36: .size ashift_hi_12, .Lfunc_end36-ashift_hi_12 @@ -597,7 +601,7 @@ ashift_hi_13: # @ashift_hi_13 i32.shl $push1=, $0, $pop0 i32.const $push2=, 57344 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end37: .size ashift_hi_13, .Lfunc_end37-ashift_hi_13 @@ -614,7 +618,7 @@ ashift_hi_14: # @ashift_hi_14 i32.shl $push1=, $0, $pop0 i32.const $push2=, 49152 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end38: .size ashift_hi_14, .Lfunc_end38-ashift_hi_14 @@ -631,7 +635,7 @@ ashift_hi_15: # @ashift_hi_15 i32.shl $push1=, $0, $pop0 i32.const $push2=, 32768 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end39: .size ashift_hi_15, .Lfunc_end39-ashift_hi_15 @@ -644,7 +648,8 @@ lshiftrt_hi_0: # @lshiftrt_hi_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end40: .size lshiftrt_hi_0, .Lfunc_end40-lshiftrt_hi_0 @@ -659,7 +664,7 @@ lshiftrt_hi_1: # @lshiftrt_hi_1 # BB#0: # %entry i32.const $push0=, 1 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end41: .size lshiftrt_hi_1, .Lfunc_end41-lshiftrt_hi_1 @@ -674,7 +679,7 @@ lshiftrt_hi_2: # @lshiftrt_hi_2 # BB#0: # %entry i32.const $push0=, 2 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end42: .size lshiftrt_hi_2, .Lfunc_end42-lshiftrt_hi_2 @@ -689,7 +694,7 @@ lshiftrt_hi_3: # @lshiftrt_hi_3 # BB#0: # %entry i32.const $push0=, 3 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end43: .size lshiftrt_hi_3, .Lfunc_end43-lshiftrt_hi_3 @@ -704,7 +709,7 @@ lshiftrt_hi_4: # @lshiftrt_hi_4 # BB#0: # %entry i32.const $push0=, 4 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end44: .size lshiftrt_hi_4, .Lfunc_end44-lshiftrt_hi_4 @@ -719,7 +724,7 @@ lshiftrt_hi_5: # @lshiftrt_hi_5 # BB#0: # %entry i32.const $push0=, 5 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end45: .size lshiftrt_hi_5, .Lfunc_end45-lshiftrt_hi_5 @@ -734,7 +739,7 @@ lshiftrt_hi_6: # @lshiftrt_hi_6 # BB#0: # %entry i32.const $push0=, 6 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end46: .size lshiftrt_hi_6, .Lfunc_end46-lshiftrt_hi_6 @@ -749,7 +754,7 @@ lshiftrt_hi_7: # @lshiftrt_hi_7 # BB#0: # %entry i32.const $push0=, 7 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end47: .size lshiftrt_hi_7, .Lfunc_end47-lshiftrt_hi_7 @@ -764,7 +769,7 @@ lshiftrt_hi_8: # @lshiftrt_hi_8 # BB#0: # %entry i32.const $push0=, 8 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end48: .size lshiftrt_hi_8, .Lfunc_end48-lshiftrt_hi_8 @@ -779,7 +784,7 @@ lshiftrt_hi_9: # @lshiftrt_hi_9 # BB#0: # %entry i32.const $push0=, 9 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end49: .size lshiftrt_hi_9, .Lfunc_end49-lshiftrt_hi_9 @@ -794,7 +799,7 @@ lshiftrt_hi_10: # @lshiftrt_hi_10 # BB#0: # %entry i32.const $push0=, 10 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end50: .size lshiftrt_hi_10, .Lfunc_end50-lshiftrt_hi_10 @@ -809,7 +814,7 @@ lshiftrt_hi_11: # @lshiftrt_hi_11 # BB#0: # %entry i32.const $push0=, 11 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end51: .size lshiftrt_hi_11, .Lfunc_end51-lshiftrt_hi_11 @@ -824,7 +829,7 @@ lshiftrt_hi_12: # @lshiftrt_hi_12 # BB#0: # %entry i32.const $push0=, 12 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end52: .size lshiftrt_hi_12, .Lfunc_end52-lshiftrt_hi_12 @@ -839,7 +844,7 @@ lshiftrt_hi_13: # @lshiftrt_hi_13 # BB#0: # %entry i32.const $push0=, 13 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end53: .size lshiftrt_hi_13, .Lfunc_end53-lshiftrt_hi_13 @@ -854,7 +859,7 @@ lshiftrt_hi_14: # @lshiftrt_hi_14 # BB#0: # %entry i32.const $push0=, 14 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end54: .size lshiftrt_hi_14, .Lfunc_end54-lshiftrt_hi_14 @@ -869,7 +874,7 @@ lshiftrt_hi_15: # @lshiftrt_hi_15 # BB#0: # %entry i32.const $push0=, 15 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end55: .size lshiftrt_hi_15, .Lfunc_end55-lshiftrt_hi_15 @@ -882,7 +887,8 @@ ashiftrt_hi_0: # @ashiftrt_hi_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end56: .size ashiftrt_hi_0, .Lfunc_end56-ashiftrt_hi_0 @@ -897,7 +903,7 @@ ashiftrt_hi_1: # @ashiftrt_hi_1 # BB#0: # %entry i32.const $push0=, 1 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end57: .size ashiftrt_hi_1, .Lfunc_end57-ashiftrt_hi_1 @@ -912,7 +918,7 @@ ashiftrt_hi_2: # @ashiftrt_hi_2 # BB#0: # %entry i32.const $push0=, 2 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end58: .size ashiftrt_hi_2, .Lfunc_end58-ashiftrt_hi_2 @@ -927,7 +933,7 @@ ashiftrt_hi_3: # @ashiftrt_hi_3 # BB#0: # %entry i32.const $push0=, 3 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end59: .size ashiftrt_hi_3, .Lfunc_end59-ashiftrt_hi_3 @@ -942,7 +948,7 @@ ashiftrt_hi_4: # @ashiftrt_hi_4 # BB#0: # %entry i32.const $push0=, 4 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end60: .size ashiftrt_hi_4, .Lfunc_end60-ashiftrt_hi_4 @@ -957,7 +963,7 @@ ashiftrt_hi_5: # @ashiftrt_hi_5 # BB#0: # %entry i32.const $push0=, 5 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end61: .size ashiftrt_hi_5, .Lfunc_end61-ashiftrt_hi_5 @@ -972,7 +978,7 @@ ashiftrt_hi_6: # @ashiftrt_hi_6 # BB#0: # %entry i32.const $push0=, 6 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end62: .size ashiftrt_hi_6, .Lfunc_end62-ashiftrt_hi_6 @@ -987,7 +993,7 @@ ashiftrt_hi_7: # @ashiftrt_hi_7 # BB#0: # %entry i32.const $push0=, 7 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end63: .size ashiftrt_hi_7, .Lfunc_end63-ashiftrt_hi_7 @@ -1002,7 +1008,7 @@ ashiftrt_hi_8: # @ashiftrt_hi_8 # BB#0: # %entry i32.const $push0=, 8 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end64: .size ashiftrt_hi_8, .Lfunc_end64-ashiftrt_hi_8 @@ -1017,7 +1023,7 @@ ashiftrt_hi_9: # @ashiftrt_hi_9 # BB#0: # %entry i32.const $push0=, 9 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end65: .size ashiftrt_hi_9, .Lfunc_end65-ashiftrt_hi_9 @@ -1032,7 +1038,7 @@ ashiftrt_hi_10: # @ashiftrt_hi_10 # BB#0: # %entry i32.const $push0=, 10 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end66: .size ashiftrt_hi_10, .Lfunc_end66-ashiftrt_hi_10 @@ -1047,7 +1053,7 @@ ashiftrt_hi_11: # @ashiftrt_hi_11 # BB#0: # %entry i32.const $push0=, 11 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end67: .size ashiftrt_hi_11, .Lfunc_end67-ashiftrt_hi_11 @@ -1062,7 +1068,7 @@ ashiftrt_hi_12: # @ashiftrt_hi_12 # BB#0: # %entry i32.const $push0=, 12 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end68: .size ashiftrt_hi_12, .Lfunc_end68-ashiftrt_hi_12 @@ -1077,7 +1083,7 @@ ashiftrt_hi_13: # @ashiftrt_hi_13 # BB#0: # %entry i32.const $push0=, 13 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end69: .size ashiftrt_hi_13, .Lfunc_end69-ashiftrt_hi_13 @@ -1092,7 +1098,7 @@ ashiftrt_hi_14: # @ashiftrt_hi_14 # BB#0: # %entry i32.const $push0=, 14 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end70: .size ashiftrt_hi_14, .Lfunc_end70-ashiftrt_hi_14 @@ -1107,7 +1113,7 @@ ashiftrt_hi_15: # @ashiftrt_hi_15 # BB#0: # %entry i32.const $push0=, 15 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end71: .size ashiftrt_hi_15, .Lfunc_end71-ashiftrt_hi_15 @@ -1120,7 +1126,8 @@ ashift_si_0: # @ashift_si_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end72: .size ashift_si_0, .Lfunc_end72-ashift_si_0 @@ -1135,7 +1142,7 @@ ashift_si_1: # @ashift_si_1 # BB#0: # %entry i32.const $push0=, 1 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end73: .size ashift_si_1, .Lfunc_end73-ashift_si_1 @@ -1150,7 +1157,7 @@ ashift_si_2: # @ashift_si_2 # BB#0: # %entry i32.const $push0=, 2 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end74: .size ashift_si_2, .Lfunc_end74-ashift_si_2 @@ -1165,7 +1172,7 @@ ashift_si_3: # @ashift_si_3 # BB#0: # %entry i32.const $push0=, 3 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end75: .size ashift_si_3, .Lfunc_end75-ashift_si_3 @@ -1180,7 +1187,7 @@ ashift_si_4: # @ashift_si_4 # BB#0: # %entry i32.const $push0=, 4 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end76: .size ashift_si_4, .Lfunc_end76-ashift_si_4 @@ -1195,7 +1202,7 @@ ashift_si_5: # @ashift_si_5 # BB#0: # %entry i32.const $push0=, 5 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end77: .size ashift_si_5, .Lfunc_end77-ashift_si_5 @@ -1210,7 +1217,7 @@ ashift_si_6: # @ashift_si_6 # BB#0: # %entry i32.const $push0=, 6 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end78: .size ashift_si_6, .Lfunc_end78-ashift_si_6 @@ -1225,7 +1232,7 @@ ashift_si_7: # @ashift_si_7 # BB#0: # %entry i32.const $push0=, 7 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end79: .size ashift_si_7, .Lfunc_end79-ashift_si_7 @@ -1240,7 +1247,7 @@ ashift_si_8: # @ashift_si_8 # BB#0: # %entry i32.const $push0=, 8 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end80: .size ashift_si_8, .Lfunc_end80-ashift_si_8 @@ -1255,7 +1262,7 @@ ashift_si_9: # @ashift_si_9 # BB#0: # %entry i32.const $push0=, 9 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end81: .size ashift_si_9, .Lfunc_end81-ashift_si_9 @@ -1270,7 +1277,7 @@ ashift_si_10: # @ashift_si_10 # BB#0: # %entry i32.const $push0=, 10 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end82: .size ashift_si_10, .Lfunc_end82-ashift_si_10 @@ -1285,7 +1292,7 @@ ashift_si_11: # @ashift_si_11 # BB#0: # %entry i32.const $push0=, 11 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end83: .size ashift_si_11, .Lfunc_end83-ashift_si_11 @@ -1300,7 +1307,7 @@ ashift_si_12: # @ashift_si_12 # BB#0: # %entry i32.const $push0=, 12 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end84: .size ashift_si_12, .Lfunc_end84-ashift_si_12 @@ -1315,7 +1322,7 @@ ashift_si_13: # @ashift_si_13 # BB#0: # %entry i32.const $push0=, 13 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end85: .size ashift_si_13, .Lfunc_end85-ashift_si_13 @@ -1330,7 +1337,7 @@ ashift_si_14: # @ashift_si_14 # BB#0: # %entry i32.const $push0=, 14 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end86: .size ashift_si_14, .Lfunc_end86-ashift_si_14 @@ -1345,7 +1352,7 @@ ashift_si_15: # @ashift_si_15 # BB#0: # %entry i32.const $push0=, 15 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end87: .size ashift_si_15, .Lfunc_end87-ashift_si_15 @@ -1360,7 +1367,7 @@ ashift_si_16: # @ashift_si_16 # BB#0: # %entry i32.const $push0=, 16 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end88: .size ashift_si_16, .Lfunc_end88-ashift_si_16 @@ -1375,7 +1382,7 @@ ashift_si_17: # @ashift_si_17 # BB#0: # %entry i32.const $push0=, 17 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end89: .size ashift_si_17, .Lfunc_end89-ashift_si_17 @@ -1390,7 +1397,7 @@ ashift_si_18: # @ashift_si_18 # BB#0: # %entry i32.const $push0=, 18 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end90: .size ashift_si_18, .Lfunc_end90-ashift_si_18 @@ -1405,7 +1412,7 @@ ashift_si_19: # @ashift_si_19 # BB#0: # %entry i32.const $push0=, 19 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end91: .size ashift_si_19, .Lfunc_end91-ashift_si_19 @@ -1420,7 +1427,7 @@ ashift_si_20: # @ashift_si_20 # BB#0: # %entry i32.const $push0=, 20 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end92: .size ashift_si_20, .Lfunc_end92-ashift_si_20 @@ -1435,7 +1442,7 @@ ashift_si_21: # @ashift_si_21 # BB#0: # %entry i32.const $push0=, 21 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end93: .size ashift_si_21, .Lfunc_end93-ashift_si_21 @@ -1450,7 +1457,7 @@ ashift_si_22: # @ashift_si_22 # BB#0: # %entry i32.const $push0=, 22 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end94: .size ashift_si_22, .Lfunc_end94-ashift_si_22 @@ -1465,7 +1472,7 @@ ashift_si_23: # @ashift_si_23 # BB#0: # %entry i32.const $push0=, 23 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end95: .size ashift_si_23, .Lfunc_end95-ashift_si_23 @@ -1480,7 +1487,7 @@ ashift_si_24: # @ashift_si_24 # BB#0: # %entry i32.const $push0=, 24 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end96: .size ashift_si_24, .Lfunc_end96-ashift_si_24 @@ -1495,7 +1502,7 @@ ashift_si_25: # @ashift_si_25 # BB#0: # %entry i32.const $push0=, 25 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end97: .size ashift_si_25, .Lfunc_end97-ashift_si_25 @@ -1510,7 +1517,7 @@ ashift_si_26: # @ashift_si_26 # BB#0: # %entry i32.const $push0=, 26 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end98: .size ashift_si_26, .Lfunc_end98-ashift_si_26 @@ -1525,7 +1532,7 @@ ashift_si_27: # @ashift_si_27 # BB#0: # %entry i32.const $push0=, 27 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end99: .size ashift_si_27, .Lfunc_end99-ashift_si_27 @@ -1540,7 +1547,7 @@ ashift_si_28: # @ashift_si_28 # BB#0: # %entry i32.const $push0=, 28 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end100: .size ashift_si_28, .Lfunc_end100-ashift_si_28 @@ -1555,7 +1562,7 @@ ashift_si_29: # @ashift_si_29 # BB#0: # %entry i32.const $push0=, 29 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end101: .size ashift_si_29, .Lfunc_end101-ashift_si_29 @@ -1570,7 +1577,7 @@ ashift_si_30: # @ashift_si_30 # BB#0: # %entry i32.const $push0=, 30 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end102: .size ashift_si_30, .Lfunc_end102-ashift_si_30 @@ -1585,7 +1592,7 @@ ashift_si_31: # @ashift_si_31 # BB#0: # %entry i32.const $push0=, 31 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end103: .size ashift_si_31, .Lfunc_end103-ashift_si_31 @@ -1598,7 +1605,8 @@ lshiftrt_si_0: # @lshiftrt_si_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end104: .size lshiftrt_si_0, .Lfunc_end104-lshiftrt_si_0 @@ -1613,7 +1621,7 @@ lshiftrt_si_1: # @lshiftrt_si_1 # BB#0: # %entry i32.const $push0=, 1 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end105: .size lshiftrt_si_1, .Lfunc_end105-lshiftrt_si_1 @@ -1628,7 +1636,7 @@ lshiftrt_si_2: # @lshiftrt_si_2 # BB#0: # %entry i32.const $push0=, 2 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end106: .size lshiftrt_si_2, .Lfunc_end106-lshiftrt_si_2 @@ -1643,7 +1651,7 @@ lshiftrt_si_3: # @lshiftrt_si_3 # BB#0: # %entry i32.const $push0=, 3 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end107: .size lshiftrt_si_3, .Lfunc_end107-lshiftrt_si_3 @@ -1658,7 +1666,7 @@ lshiftrt_si_4: # @lshiftrt_si_4 # BB#0: # %entry i32.const $push0=, 4 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end108: .size lshiftrt_si_4, .Lfunc_end108-lshiftrt_si_4 @@ -1673,7 +1681,7 @@ lshiftrt_si_5: # @lshiftrt_si_5 # BB#0: # %entry i32.const $push0=, 5 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end109: .size lshiftrt_si_5, .Lfunc_end109-lshiftrt_si_5 @@ -1688,7 +1696,7 @@ lshiftrt_si_6: # @lshiftrt_si_6 # BB#0: # %entry i32.const $push0=, 6 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end110: .size lshiftrt_si_6, .Lfunc_end110-lshiftrt_si_6 @@ -1703,7 +1711,7 @@ lshiftrt_si_7: # @lshiftrt_si_7 # BB#0: # %entry i32.const $push0=, 7 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end111: .size lshiftrt_si_7, .Lfunc_end111-lshiftrt_si_7 @@ -1718,7 +1726,7 @@ lshiftrt_si_8: # @lshiftrt_si_8 # BB#0: # %entry i32.const $push0=, 8 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end112: .size lshiftrt_si_8, .Lfunc_end112-lshiftrt_si_8 @@ -1733,7 +1741,7 @@ lshiftrt_si_9: # @lshiftrt_si_9 # BB#0: # %entry i32.const $push0=, 9 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end113: .size lshiftrt_si_9, .Lfunc_end113-lshiftrt_si_9 @@ -1748,7 +1756,7 @@ lshiftrt_si_10: # @lshiftrt_si_10 # BB#0: # %entry i32.const $push0=, 10 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end114: .size lshiftrt_si_10, .Lfunc_end114-lshiftrt_si_10 @@ -1763,7 +1771,7 @@ lshiftrt_si_11: # @lshiftrt_si_11 # BB#0: # %entry i32.const $push0=, 11 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end115: .size lshiftrt_si_11, .Lfunc_end115-lshiftrt_si_11 @@ -1778,7 +1786,7 @@ lshiftrt_si_12: # @lshiftrt_si_12 # BB#0: # %entry i32.const $push0=, 12 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end116: .size lshiftrt_si_12, .Lfunc_end116-lshiftrt_si_12 @@ -1793,7 +1801,7 @@ lshiftrt_si_13: # @lshiftrt_si_13 # BB#0: # %entry i32.const $push0=, 13 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end117: .size lshiftrt_si_13, .Lfunc_end117-lshiftrt_si_13 @@ -1808,7 +1816,7 @@ lshiftrt_si_14: # @lshiftrt_si_14 # BB#0: # %entry i32.const $push0=, 14 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end118: .size lshiftrt_si_14, .Lfunc_end118-lshiftrt_si_14 @@ -1823,7 +1831,7 @@ lshiftrt_si_15: # @lshiftrt_si_15 # BB#0: # %entry i32.const $push0=, 15 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end119: .size lshiftrt_si_15, .Lfunc_end119-lshiftrt_si_15 @@ -1838,7 +1846,7 @@ lshiftrt_si_16: # @lshiftrt_si_16 # BB#0: # %entry i32.const $push0=, 16 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end120: .size lshiftrt_si_16, .Lfunc_end120-lshiftrt_si_16 @@ -1853,7 +1861,7 @@ lshiftrt_si_17: # @lshiftrt_si_17 # BB#0: # %entry i32.const $push0=, 17 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end121: .size lshiftrt_si_17, .Lfunc_end121-lshiftrt_si_17 @@ -1868,7 +1876,7 @@ lshiftrt_si_18: # @lshiftrt_si_18 # BB#0: # %entry i32.const $push0=, 18 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end122: .size lshiftrt_si_18, .Lfunc_end122-lshiftrt_si_18 @@ -1883,7 +1891,7 @@ lshiftrt_si_19: # @lshiftrt_si_19 # BB#0: # %entry i32.const $push0=, 19 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end123: .size lshiftrt_si_19, .Lfunc_end123-lshiftrt_si_19 @@ -1898,7 +1906,7 @@ lshiftrt_si_20: # @lshiftrt_si_20 # BB#0: # %entry i32.const $push0=, 20 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end124: .size lshiftrt_si_20, .Lfunc_end124-lshiftrt_si_20 @@ -1913,7 +1921,7 @@ lshiftrt_si_21: # @lshiftrt_si_21 # BB#0: # %entry i32.const $push0=, 21 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end125: .size lshiftrt_si_21, .Lfunc_end125-lshiftrt_si_21 @@ -1928,7 +1936,7 @@ lshiftrt_si_22: # @lshiftrt_si_22 # BB#0: # %entry i32.const $push0=, 22 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end126: .size lshiftrt_si_22, .Lfunc_end126-lshiftrt_si_22 @@ -1943,7 +1951,7 @@ lshiftrt_si_23: # @lshiftrt_si_23 # BB#0: # %entry i32.const $push0=, 23 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end127: .size lshiftrt_si_23, .Lfunc_end127-lshiftrt_si_23 @@ -1958,7 +1966,7 @@ lshiftrt_si_24: # @lshiftrt_si_24 # BB#0: # %entry i32.const $push0=, 24 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end128: .size lshiftrt_si_24, .Lfunc_end128-lshiftrt_si_24 @@ -1973,7 +1981,7 @@ lshiftrt_si_25: # @lshiftrt_si_25 # BB#0: # %entry i32.const $push0=, 25 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end129: .size lshiftrt_si_25, .Lfunc_end129-lshiftrt_si_25 @@ -1988,7 +1996,7 @@ lshiftrt_si_26: # @lshiftrt_si_26 # BB#0: # %entry i32.const $push0=, 26 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end130: .size lshiftrt_si_26, .Lfunc_end130-lshiftrt_si_26 @@ -2003,7 +2011,7 @@ lshiftrt_si_27: # @lshiftrt_si_27 # BB#0: # %entry i32.const $push0=, 27 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end131: .size lshiftrt_si_27, .Lfunc_end131-lshiftrt_si_27 @@ -2018,7 +2026,7 @@ lshiftrt_si_28: # @lshiftrt_si_28 # BB#0: # %entry i32.const $push0=, 28 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end132: .size lshiftrt_si_28, .Lfunc_end132-lshiftrt_si_28 @@ -2033,7 +2041,7 @@ lshiftrt_si_29: # @lshiftrt_si_29 # BB#0: # %entry i32.const $push0=, 29 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end133: .size lshiftrt_si_29, .Lfunc_end133-lshiftrt_si_29 @@ -2048,7 +2056,7 @@ lshiftrt_si_30: # @lshiftrt_si_30 # BB#0: # %entry i32.const $push0=, 30 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end134: .size lshiftrt_si_30, .Lfunc_end134-lshiftrt_si_30 @@ -2063,7 +2071,7 @@ lshiftrt_si_31: # @lshiftrt_si_31 # BB#0: # %entry i32.const $push0=, 31 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end135: .size lshiftrt_si_31, .Lfunc_end135-lshiftrt_si_31 @@ -2076,7 +2084,8 @@ ashiftrt_si_0: # @ashiftrt_si_0 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end136: .size ashiftrt_si_0, .Lfunc_end136-ashiftrt_si_0 @@ -2091,7 +2100,7 @@ ashiftrt_si_1: # @ashiftrt_si_1 # BB#0: # %entry i32.const $push0=, 1 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end137: .size ashiftrt_si_1, .Lfunc_end137-ashiftrt_si_1 @@ -2106,7 +2115,7 @@ ashiftrt_si_2: # @ashiftrt_si_2 # BB#0: # %entry i32.const $push0=, 2 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end138: .size ashiftrt_si_2, .Lfunc_end138-ashiftrt_si_2 @@ -2121,7 +2130,7 @@ ashiftrt_si_3: # @ashiftrt_si_3 # BB#0: # %entry i32.const $push0=, 3 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end139: .size ashiftrt_si_3, .Lfunc_end139-ashiftrt_si_3 @@ -2136,7 +2145,7 @@ ashiftrt_si_4: # @ashiftrt_si_4 # BB#0: # %entry i32.const $push0=, 4 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end140: .size ashiftrt_si_4, .Lfunc_end140-ashiftrt_si_4 @@ -2151,7 +2160,7 @@ ashiftrt_si_5: # @ashiftrt_si_5 # BB#0: # %entry i32.const $push0=, 5 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end141: .size ashiftrt_si_5, .Lfunc_end141-ashiftrt_si_5 @@ -2166,7 +2175,7 @@ ashiftrt_si_6: # @ashiftrt_si_6 # BB#0: # %entry i32.const $push0=, 6 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end142: .size ashiftrt_si_6, .Lfunc_end142-ashiftrt_si_6 @@ -2181,7 +2190,7 @@ ashiftrt_si_7: # @ashiftrt_si_7 # BB#0: # %entry i32.const $push0=, 7 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end143: .size ashiftrt_si_7, .Lfunc_end143-ashiftrt_si_7 @@ -2196,7 +2205,7 @@ ashiftrt_si_8: # @ashiftrt_si_8 # BB#0: # %entry i32.const $push0=, 8 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end144: .size ashiftrt_si_8, .Lfunc_end144-ashiftrt_si_8 @@ -2211,7 +2220,7 @@ ashiftrt_si_9: # @ashiftrt_si_9 # BB#0: # %entry i32.const $push0=, 9 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end145: .size ashiftrt_si_9, .Lfunc_end145-ashiftrt_si_9 @@ -2226,7 +2235,7 @@ ashiftrt_si_10: # @ashiftrt_si_10 # BB#0: # %entry i32.const $push0=, 10 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end146: .size ashiftrt_si_10, .Lfunc_end146-ashiftrt_si_10 @@ -2241,7 +2250,7 @@ ashiftrt_si_11: # @ashiftrt_si_11 # BB#0: # %entry i32.const $push0=, 11 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end147: .size ashiftrt_si_11, .Lfunc_end147-ashiftrt_si_11 @@ -2256,7 +2265,7 @@ ashiftrt_si_12: # @ashiftrt_si_12 # BB#0: # %entry i32.const $push0=, 12 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end148: .size ashiftrt_si_12, .Lfunc_end148-ashiftrt_si_12 @@ -2271,7 +2280,7 @@ ashiftrt_si_13: # @ashiftrt_si_13 # BB#0: # %entry i32.const $push0=, 13 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end149: .size ashiftrt_si_13, .Lfunc_end149-ashiftrt_si_13 @@ -2286,7 +2295,7 @@ ashiftrt_si_14: # @ashiftrt_si_14 # BB#0: # %entry i32.const $push0=, 14 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end150: .size ashiftrt_si_14, .Lfunc_end150-ashiftrt_si_14 @@ -2301,7 +2310,7 @@ ashiftrt_si_15: # @ashiftrt_si_15 # BB#0: # %entry i32.const $push0=, 15 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end151: .size ashiftrt_si_15, .Lfunc_end151-ashiftrt_si_15 @@ -2316,7 +2325,7 @@ ashiftrt_si_16: # @ashiftrt_si_16 # BB#0: # %entry i32.const $push0=, 16 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end152: .size ashiftrt_si_16, .Lfunc_end152-ashiftrt_si_16 @@ -2331,7 +2340,7 @@ ashiftrt_si_17: # @ashiftrt_si_17 # BB#0: # %entry i32.const $push0=, 17 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end153: .size ashiftrt_si_17, .Lfunc_end153-ashiftrt_si_17 @@ -2346,7 +2355,7 @@ ashiftrt_si_18: # @ashiftrt_si_18 # BB#0: # %entry i32.const $push0=, 18 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end154: .size ashiftrt_si_18, .Lfunc_end154-ashiftrt_si_18 @@ -2361,7 +2370,7 @@ ashiftrt_si_19: # @ashiftrt_si_19 # BB#0: # %entry i32.const $push0=, 19 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end155: .size ashiftrt_si_19, .Lfunc_end155-ashiftrt_si_19 @@ -2376,7 +2385,7 @@ ashiftrt_si_20: # @ashiftrt_si_20 # BB#0: # %entry i32.const $push0=, 20 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end156: .size ashiftrt_si_20, .Lfunc_end156-ashiftrt_si_20 @@ -2391,7 +2400,7 @@ ashiftrt_si_21: # @ashiftrt_si_21 # BB#0: # %entry i32.const $push0=, 21 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end157: .size ashiftrt_si_21, .Lfunc_end157-ashiftrt_si_21 @@ -2406,7 +2415,7 @@ ashiftrt_si_22: # @ashiftrt_si_22 # BB#0: # %entry i32.const $push0=, 22 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end158: .size ashiftrt_si_22, .Lfunc_end158-ashiftrt_si_22 @@ -2421,7 +2430,7 @@ ashiftrt_si_23: # @ashiftrt_si_23 # BB#0: # %entry i32.const $push0=, 23 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end159: .size ashiftrt_si_23, .Lfunc_end159-ashiftrt_si_23 @@ -2436,7 +2445,7 @@ ashiftrt_si_24: # @ashiftrt_si_24 # BB#0: # %entry i32.const $push0=, 24 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end160: .size ashiftrt_si_24, .Lfunc_end160-ashiftrt_si_24 @@ -2451,7 +2460,7 @@ ashiftrt_si_25: # @ashiftrt_si_25 # BB#0: # %entry i32.const $push0=, 25 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end161: .size ashiftrt_si_25, .Lfunc_end161-ashiftrt_si_25 @@ -2466,7 +2475,7 @@ ashiftrt_si_26: # @ashiftrt_si_26 # BB#0: # %entry i32.const $push0=, 26 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end162: .size ashiftrt_si_26, .Lfunc_end162-ashiftrt_si_26 @@ -2481,7 +2490,7 @@ ashiftrt_si_27: # @ashiftrt_si_27 # BB#0: # %entry i32.const $push0=, 27 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end163: .size ashiftrt_si_27, .Lfunc_end163-ashiftrt_si_27 @@ -2496,7 +2505,7 @@ ashiftrt_si_28: # @ashiftrt_si_28 # BB#0: # %entry i32.const $push0=, 28 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end164: .size ashiftrt_si_28, .Lfunc_end164-ashiftrt_si_28 @@ -2511,7 +2520,7 @@ ashiftrt_si_29: # @ashiftrt_si_29 # BB#0: # %entry i32.const $push0=, 29 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end165: .size ashiftrt_si_29, .Lfunc_end165-ashiftrt_si_29 @@ -2526,7 +2535,7 @@ ashiftrt_si_30: # @ashiftrt_si_30 # BB#0: # %entry i32.const $push0=, 30 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end166: .size ashiftrt_si_30, .Lfunc_end166-ashiftrt_si_30 @@ -2541,7 +2550,7 @@ ashiftrt_si_31: # @ashiftrt_si_31 # BB#0: # %entry i32.const $push0=, 31 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end167: .size ashiftrt_si_31, .Lfunc_end167-ashiftrt_si_31 diff --git a/test/torture-s/20020127-1.c.s b/test/torture-s/20020127-1.c.s index 071c5998c..26ccbd702 100644 --- a/test/torture-s/20020127-1.c.s +++ b/test/torture-s/20020127-1.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.xor $push3=, $pop1, $pop2 i32.const $push4=, 1 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20020129-1.c.s b/test/torture-s/20020129-1.c.s index dfac89710..ad1e8ee96 100644 --- a/test/torture-s/20020129-1.c.s +++ b/test/torture-s/20020129-1.c.s @@ -13,57 +13,58 @@ foo: # @foo block block i32.load $push0=, 28($0) - i32.eqz $push17=, $pop0 - br_if 0, $pop17 # 0: down to label2 + i32.eqz $push20=, $pop0 + br_if 0, $pop20 # 0: down to label2 # BB#1: # %if.end - i32.eqz $push18=, $3 - br_if 1, $pop18 # 1: down to label1 + i32.eqz $push21=, $3 + br_if 1, $pop21 # 1: down to label1 br 2 # 2: down to label0 .LBB0_2: # %if.then end_block # label2: i32.const $push1=, 28 i32.add $push2=, $0, $pop1 i32.store $2=, 0($pop2), $3 - i32.const $push12=, 28 - i32.add $push3=, $1, $pop12 + i32.const $push13=, 28 + i32.add $push3=, $1, $pop13 i32.const $push4=, 0 i32.store $drop=, 0($pop3), $pop4 - i32.eqz $push19=, $2 - br_if 0, $pop19 # 0: down to label1 + i32.eqz $push22=, $2 + br_if 0, $pop22 # 0: down to label1 .LBB0_3: # %for.body # =>This Inner Loop Header: Depth=1 loop # label3: i32.store $drop=, 4($3), $0 - i32.load $3=, 0($3) - br_if 0, $3 # 0: up to label3 + i32.load $push15=, 0($3) + tee_local $push14=, $3=, $pop15 + br_if 0, $pop14 # 0: up to label3 .LBB0_4: # %if.end7 end_loop # label4: end_block # label1: i32.load $3=, 12($1) block i32.load $push5=, 12($0) - i32.const $push13=, -1 - i32.eq $push6=, $pop5, $pop13 + i32.const $push16=, -1 + i32.eq $push6=, $pop5, $pop16 br_if 0, $pop6 # 0: down to label5 # BB#5: # %if.end22 - i32.const $push14=, -1 - i32.ne $push7=, $3, $pop14 + i32.const $push17=, -1 + i32.ne $push7=, $3, $pop17 br_if 1, $pop7 # 1: down to label0 # BB#6: # %if.end27 return .LBB0_7: # %if.end22.thread end_block # label5: - i32.load $2=, 16($1) - i32.const $push8=, 12 - i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop9), $3 - i32.store $drop=, 16($0), $2 - i32.const $push16=, 12 - i32.add $push10=, $1, $pop16 - i32.const $push15=, -1 - i32.store $drop=, 0($pop10), $pop15 + i32.load $push8=, 16($1) + i32.store $drop=, 16($0), $pop8 + i32.const $push9=, 12 + i32.add $push10=, $0, $pop9 + i32.store $drop=, 0($pop10), $3 i32.const $push11=, 0 i32.store $drop=, 16($1), $pop11 + i32.const $push19=, 12 + i32.add $push12=, $1, $pop19 + i32.const $push18=, -1 + i32.store $drop=, 0($pop12), $pop18 return .LBB0_8: # %if.then26 end_block # label0: @@ -81,20 +82,20 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push1=, 0 - i32.const $push0=, 6 - i32.store $drop=, y($pop1), $pop0 + i32.const $push0=, 145 + i32.store $drop=, y+12($pop1), $pop0 i32.const $push10=, 0 - i32.const $push3=, 145 - i32.store $drop=, y+12($pop10), $pop3 + i32.const $push2=, 6 + i32.store $drop=, y($pop10), $pop2 i32.const $push9=, 0 - i32.const $push4=, 2448 - i32.store $drop=, y+16($pop9), $pop4 + i32.const $push3=, 2448 + i32.store $drop=, y+16($pop9), $pop3 i32.const $push8=, 0 - i32.const $push5=, -1 - i32.store $drop=, x+12($pop8), $pop5 + i32.const $push4=, -1 + i32.store $drop=, x+12($pop8), $pop4 i32.const $push6=, x - i32.const $push2=, y - call foo@FUNCTION, $pop6, $pop2 + i32.const $push5=, y + call foo@FUNCTION, $pop6, $pop5 i32.const $push7=, 0 call exit@FUNCTION, $pop7 unreachable diff --git a/test/torture-s/20020206-1.c.s b/test/torture-s/20020206-1.c.s index 8c489b625..92a96f272 100644 --- a/test/torture-s/20020206-1.c.s +++ b/test/torture-s/20020206-1.c.s @@ -7,11 +7,11 @@ bar: # @bar .param i32 # BB#0: # %entry - i32.const $push1=, 31 - i32.store $drop=, 8($0), $pop1 - i64.const $push0=, 223338299568 - i64.store $drop=, 0($0):p2align=2, $pop0 - return + i32.const $push0=, 31 + i32.store $drop=, 8($0), $pop0 + i64.const $push1=, 223338299568 + i64.store $drop=, 0($0):p2align=2, $pop1 + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -56,17 +56,17 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push7=, $pop4, $pop5 - i32.store $push9=, 0($pop6), $pop7 + i32.store $push9=, __stack_pointer($pop6), $pop7 tee_local $push8=, $0=, $pop9 - i32.const $push1=, 31 - i32.store $drop=, 8($pop8), $pop1 - i64.const $push0=, 223338299568 - i64.store $drop=, 0($0), $pop0 + i32.const $push0=, 31 + i32.store $drop=, 8($pop8), $pop0 + i64.const $push1=, 223338299568 + i64.store $drop=, 0($0), $pop1 call baz@FUNCTION, $0 i32.const $push2=, 0 call exit@FUNCTION, $pop2 diff --git a/test/torture-s/20020213-1.c.s b/test/torture-s/20020213-1.c.s index 4b991dbc7..dc082a8e6 100644 --- a/test/torture-s/20020213-1.c.s +++ b/test/torture-s/20020213-1.c.s @@ -5,22 +5,23 @@ .globl foo .type foo,@function foo: # @foo - .local i32, i32 + .local i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load $push1=, b($pop0) - i32.const $push2=, -1 - i32.add $0=, $pop1, $pop2 - i32.const $push8=, 0 i32.const $push3=, 2241 + i32.const $push10=, 0 + i32.load $push1=, b($pop10) + i32.const $push2=, -1 + i32.add $push9=, $pop1, $pop2 + tee_local $push8=, $0=, $pop9 i32.const $push7=, 2241 i32.gt_s $push6=, $0, $pop7 - tee_local $push5=, $1=, $pop6 - i32.select $push4=, $pop3, $0, $pop5 - i32.store $drop=, a+4($pop8), $pop4 + tee_local $push5=, $0=, $pop6 + i32.select $push4=, $pop3, $pop8, $pop5 + i32.store $drop=, a+4($pop0), $pop4 block - i32.eqz $push9=, $1 - br_if 0, $pop9 # 0: down to label0 + i32.eqz $push11=, $0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -40,7 +41,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 2241 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -53,13 +54,13 @@ main: # @main .result i32 # BB#0: # %foo.exit i32.const $push1=, 0 - i32.const $push2=, 3384 - i32.store $drop=, b($pop1), $pop2 + i32.const $push0=, 3384 + i32.store $drop=, b($pop1), $pop0 i32.const $push4=, 0 - i64.const $push0=, 9626087063552 - i64.store $drop=, a($pop4):p2align=2, $pop0 + i64.const $push2=, 9626087063552 + i64.store $drop=, a($pop4):p2align=2, $pop2 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20020215-1.c.s b/test/torture-s/20020215-1.c.s index bc4e299fe..8edb81cef 100644 --- a/test/torture-s/20020215-1.c.s +++ b/test/torture-s/20020215-1.c.s @@ -6,24 +6,23 @@ .type foo,@function foo: # @foo .param i32, i32 - .local i32, i32 # BB#0: # %entry - i32.load $push0=, 4($1) - i32.const $push1=, 1 - i32.add $push2=, $pop0, $pop1 - i32.store $2=, 4($1), $pop2 - i32.const $push4=, 8 - i32.add $push6=, $1, $pop4 - i32.load $3=, 0($pop6) - i32.load $push3=, 0($1) - i32.store $drop=, 0($0), $pop3 - i32.const $push9=, 8 - i32.add $push5=, $0, $pop9 - i32.store $drop=, 0($pop5), $3 - i32.const $push7=, 4 - i32.add $push8=, $0, $pop7 - i32.store $drop=, 0($pop8), $2 - return + i32.load $push1=, 0($1) + i32.store $drop=, 0($0), $pop1 + i32.const $push2=, 8 + i32.add $push3=, $0, $pop2 + i32.const $push11=, 8 + i32.add $push4=, $1, $pop11 + i32.load $push5=, 0($pop4) + i32.store $drop=, 0($pop3), $pop5 + i32.const $push6=, 4 + i32.add $push7=, $0, $pop6 + i32.load $push8=, 4($1) + i32.const $push9=, 1 + i32.add $push10=, $pop8, $pop9 + i32.store $push0=, 0($pop7), $pop10 + i32.store $drop=, 4($1), $pop0 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20020216-1.c.s b/test/torture-s/20020216-1.c.s index fe5d287bf..cf2904024 100644 --- a/test/torture-s/20020216-1.c.s +++ b/test/torture-s/20020216-1.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.and $push3=, $pop1, $pop2 i32.const $push4=, -103 i32.xor $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20020219-1.c.s b/test/torture-s/20020219-1.c.s index ac9351674..cf4f27b29 100644 --- a/test/torture-s/20020219-1.c.s +++ b/test/torture-s/20020219-1.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i64 # BB#0: # %entry i64.const $push0=, -9223372036854775808 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20020225-1.c.s b/test/torture-s/20020225-1.c.s index 726d51a2b..f1b201d27 100644 --- a/test/torture-s/20020225-1.c.s +++ b/test/torture-s/20020225-1.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.const $push0=, -2147483647 i32.and $push1=, $1, $pop0 i32.add $push2=, $pop1, $0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20020226-1.c.s b/test/torture-s/20020226-1.c.s index 7f7b31bcf..c78e276c4 100644 --- a/test/torture-s/20020226-1.c.s +++ b/test/torture-s/20020226-1.c.s @@ -11,53 +11,53 @@ main: # @main block i32.const $push2=, 0 i32.load8_u $push103=, uc($pop2) - tee_local $push102=, $2=, $pop103 + tee_local $push102=, $0=, $pop103 i32.const $push4=, 8 i32.const $push101=, 0 i32.load $push100=, shift1($pop101) tee_local $push99=, $1=, $pop100 i32.sub $push98=, $pop4, $pop99 - tee_local $push97=, $0=, $pop98 + tee_local $push97=, $2=, $pop98 i32.shl $push5=, $pop102, $pop97 - i32.shr_u $push3=, $2, $1 + i32.shr_u $push3=, $0, $1 i32.or $push6=, $pop5, $pop3 i32.const $push96=, 835 i32.ne $push7=, $pop6, $pop96 br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 4 - i32.shr_u $push9=, $2, $pop8 + i32.shr_u $push10=, $0, $pop8 i32.const $push105=, 4 - i32.shl $push10=, $2, $pop105 - i32.or $push11=, $pop9, $pop10 + i32.shl $push9=, $0, $pop105 + i32.or $push11=, $pop10, $pop9 i32.const $push104=, 835 i32.ne $push12=, $pop11, $pop104 br_if 0, $pop12 # 0: down to label0 # BB#2: # %if.end11 - i32.const $push13=, 0 - i32.load16_u $push110=, us($pop13) - tee_local $push109=, $4=, $pop110 - i32.shr_u $push14=, $pop109, $1 - i32.const $push15=, 16 - i32.sub $push108=, $pop15, $1 - tee_local $push107=, $3=, $pop108 - i32.shl $push16=, $4, $pop107 - i32.or $push17=, $pop14, $pop16 + i32.const $push14=, 0 + i32.load16_u $push110=, us($pop14) + tee_local $push109=, $3=, $pop110 + i32.shr_u $push16=, $pop109, $1 + i32.const $push13=, 16 + i32.sub $push108=, $pop13, $1 + tee_local $push107=, $4=, $pop108 + i32.shl $push15=, $3, $pop107 + i32.or $push17=, $pop16, $pop15 i32.const $push106=, 19087651 i32.ne $push18=, $pop17, $pop106 br_if 0, $pop18 # 0: down to label0 # BB#3: # %if.end21 - i32.const $push19=, 4 - i32.shr_u $push20=, $4, $pop19 - i32.const $push21=, 12 - i32.shl $push22=, $4, $pop21 - i32.or $push23=, $pop20, $pop22 + i32.const $push21=, 4 + i32.shr_u $push22=, $3, $pop21 + i32.const $push19=, 12 + i32.shl $push20=, $3, $pop19 + i32.or $push23=, $pop22, $pop20 i32.const $push111=, 19087651 i32.ne $push24=, $pop23, $pop111 br_if 0, $pop24 # 0: down to label0 # BB#4: # %if.end30 - i32.const $push25=, 0 - i32.load $push114=, ui($pop25) + i32.const $push26=, 0 + i32.load $push114=, ui($pop26) tee_local $push113=, $5=, $pop114 i32.rotr $push27=, $pop113, $1 i32.const $push112=, 1073742115 @@ -73,12 +73,12 @@ main: # @main i32.const $push32=, 0 i32.load $push120=, ul($pop32) tee_local $push119=, $7=, $pop120 - i32.shr_u $push33=, $pop119, $1 - i32.const $push26=, 32 - i32.sub $push118=, $pop26, $1 + i32.shr_u $push34=, $pop119, $1 + i32.const $push25=, 32 + i32.sub $push118=, $pop25, $1 tee_local $push117=, $6=, $pop118 - i32.shl $push34=, $7, $pop117 - i32.or $push35=, $pop33, $pop34 + i32.shl $push33=, $7, $pop117 + i32.or $push35=, $pop34, $pop33 i32.const $push116=, -2128394905 i32.ne $push36=, $pop35, $pop116 br_if 0, $pop36 # 0: down to label0 @@ -91,16 +91,16 @@ main: # @main # BB#8: # %if.end60 i32.const $push40=, 0 i64.load $push126=, ull($pop40) - tee_local $push125=, $9=, $pop126 + tee_local $push125=, $8=, $pop126 i64.extend_u/i32 $push124=, $1 - tee_local $push123=, $8=, $pop124 - i64.rotr $push43=, $pop125, $pop123 + tee_local $push123=, $9=, $pop124 + i64.rotr $push41=, $pop125, $pop123 i64.const $push122=, 5124095577148911 - i64.ne $push44=, $pop43, $pop122 - br_if 0, $pop44 # 0: down to label0 + i64.ne $push42=, $pop41, $pop122 + br_if 0, $pop42 # 0: down to label0 # BB#9: # %if.end69 i64.const $push45=, 60 - i64.rotl $push46=, $9, $pop45 + i64.rotl $push46=, $8, $pop45 i64.const $push127=, 5124095577148911 i64.ne $push47=, $pop46, $pop127 br_if 0, $pop47 # 0: down to label0 @@ -110,43 +110,43 @@ main: # @main tee_local $push131=, $11=, $pop132 i64.extend_u/i32 $push130=, $pop131 tee_local $push129=, $10=, $pop130 - i64.rotr $push51=, $9, $pop129 + i64.rotr $push49=, $8, $pop129 i64.const $push128=, 1311768467750121216 - i64.ne $push52=, $pop51, $pop128 - br_if 0, $pop52 # 0: down to label0 + i64.ne $push50=, $pop49, $pop128 + br_if 0, $pop50 # 0: down to label0 # BB#11: # %if.end86 i64.const $push53=, 4 - i64.rotl $push54=, $9, $pop53 + i64.rotl $push54=, $8, $pop53 i64.const $push133=, 1311768467750121216 i64.ne $push55=, $pop54, $pop133 br_if 0, $pop55 # 0: down to label0 # BB#12: # %if.end93 - i32.shr_u $push57=, $2, $0 - i32.shl $push56=, $2, $1 + i32.shr_u $push57=, $0, $2 + i32.shl $push56=, $0, $1 i32.or $push58=, $pop57, $pop56 i32.const $push59=, 835 i32.ne $push60=, $pop58, $pop59 br_if 0, $pop60 # 0: down to label0 # BB#13: # %if.end112 - i32.shl $push61=, $4, $1 - i32.shr_u $push62=, $4, $3 - i32.or $push63=, $pop61, $pop62 + i32.shl $push62=, $3, $1 + i32.shr_u $push61=, $3, $4 + i32.or $push63=, $pop62, $pop61 i32.const $push134=, 74561 i32.ne $push64=, $pop63, $pop134 br_if 0, $pop64 # 0: down to label0 # BB#14: # %if.end122 - i32.const $push65=, 4 - i32.shl $push66=, $4, $pop65 - i32.const $push67=, 12 - i32.shr_u $push68=, $4, $pop67 - i32.or $push69=, $pop66, $pop68 + i32.const $push67=, 4 + i32.shl $push68=, $3, $pop67 + i32.const $push65=, 12 + i32.shr_u $push66=, $3, $pop65 + i32.or $push69=, $pop68, $pop66 i32.const $push135=, 74561 i32.ne $push70=, $pop69, $pop135 br_if 0, $pop70 # 0: down to label0 # BB#15: # %if.end131 - i32.shl $push71=, $5, $1 - i32.shr_u $push72=, $5, $6 - i32.or $push73=, $pop71, $pop72 + i32.shl $push72=, $5, $1 + i32.shr_u $push71=, $5, $6 + i32.or $push73=, $pop72, $pop71 i32.const $push136=, 74560 i32.ne $push74=, $pop73, $pop136 br_if 0, $pop74 # 0: down to label0 @@ -157,9 +157,9 @@ main: # @main i32.ne $push77=, $pop76, $pop137 br_if 0, $pop77 # 0: down to label0 # BB#17: # %if.end146 - i32.shl $push78=, $7, $1 - i32.shr_u $push79=, $7, $6 - i32.or $push80=, $pop78, $pop79 + i32.shl $push79=, $7, $1 + i32.shr_u $push78=, $7, $6 + i32.or $push80=, $pop79, $pop78 i32.const $push138=, 591751041 i32.ne $push81=, $pop80, $pop138 br_if 0, $pop81 # 0: down to label0 @@ -170,21 +170,21 @@ main: # @main i32.ne $push84=, $pop83, $pop139 br_if 0, $pop84 # 0: down to label0 # BB#19: # %if.end161 - i64.shl $push85=, $9, $8 - i32.const $push41=, 64 - i32.sub $push42=, $pop41, $1 - i64.extend_u/i32 $push0=, $pop42 - i64.shr_u $push86=, $9, $pop0 - i64.or $push87=, $pop85, $pop86 + i64.shl $push86=, $8, $9 + i32.const $push43=, 64 + i32.sub $push44=, $pop43, $1 + i64.extend_u/i32 $push0=, $pop44 + i64.shr_u $push85=, $8, $pop0 + i64.or $push87=, $pop86, $pop85 i64.const $push88=, 1311768467750121216 i64.ne $push89=, $pop87, $pop88 br_if 0, $pop89 # 0: down to label0 # BB#20: # %if.end178 - i32.const $push49=, 64 - i32.sub $push50=, $pop49, $11 - i64.extend_u/i32 $push1=, $pop50 - i64.shr_u $push91=, $9, $pop1 - i64.shl $push90=, $9, $10 + i32.const $push51=, 64 + i32.sub $push52=, $pop51, $11 + i64.extend_u/i32 $push1=, $pop52 + i64.shr_u $push91=, $8, $pop1 + i64.shl $push90=, $8, $10 i64.or $push92=, $pop91, $pop90 i64.const $push93=, 5124095577148911 i64.ne $push94=, $pop92, $pop93 diff --git a/test/torture-s/20020227-1.c.s b/test/torture-s/20020227-1.c.s index 604b5b7e9..8c06d2a40 100644 --- a/test/torture-s/20020227-1.c.s +++ b/test/torture-s/20020227-1.c.s @@ -20,7 +20,7 @@ main: # @main .type f1,@function f1: # @f1 # BB#0: # %f2.exit - return + # fallthrough-return .endfunc .Lfunc_end1: .size f1, .Lfunc_end1-f1 @@ -34,13 +34,13 @@ f2: # @f2 # BB#0: # %entry block f32.load $push1=, 1($0):p2align=0 - f32.const $push4=, 0x1p0 - f32.ne $push5=, $pop1, $pop4 - br_if 0, $pop5 # 0: down to label0 + f32.const $push2=, 0x1p0 + f32.ne $push3=, $pop1, $pop2 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry - i32.const $push2=, 5 - i32.add $push3=, $0, $pop2 - f32.load $push0=, 0($pop3):p2align=0 + i32.const $push4=, 5 + i32.add $push5=, $0, $pop4 + f32.load $push0=, 0($pop5):p2align=0 f32.const $push6=, 0x0p0 f32.ne $push7=, $pop0, $pop6 br_if 0, $pop7 # 0: down to label0 diff --git a/test/torture-s/20020314-1.c.s b/test/torture-s/20020314-1.c.s index 4f73ae17a..308bb3f61 100644 --- a/test/torture-s/20020314-1.c.s +++ b/test/torture-s/20020314-1.c.s @@ -7,7 +7,7 @@ f: # @f .param i32, f64 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -20,12 +20,12 @@ g: # @g .param f64, f64, f64, f64 .result f64 # BB#0: # %entry - f64.add $push0=, $0, $1 - f64.mul $push1=, $2, $3 - f64.mul $push2=, $pop0, $pop1 + f64.add $push1=, $0, $1 + f64.mul $push0=, $2, $3 + f64.mul $push2=, $pop1, $pop0 f64.mul $push3=, $pop2, $0 f64.add $push4=, $pop3, $1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size g, .Lfunc_end1-g diff --git a/test/torture-s/20020321-1.c.s b/test/torture-s/20020321-1.c.s index 99a6b8a6a..8dd8ce46d 100644 --- a/test/torture-s/20020321-1.c.s +++ b/test/torture-s/20020321-1.c.s @@ -8,7 +8,8 @@ g: # @g .param i32, i32, i32, i32, f32 .result f32 # BB#0: # %entry - return $4 + copy_local $push0=, $4 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -21,7 +22,8 @@ f: # @f .param i32, i32, i32, f32 .result f32 # BB#0: # %entry - return $3 + copy_local $push0=, $3 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -34,7 +36,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20020328-1.c.s b/test/torture-s/20020328-1.c.s index 10efbe861..d0baff575 100644 --- a/test/torture-s/20020328-1.c.s +++ b/test/torture-s/20020328-1.c.s @@ -8,7 +8,8 @@ func: # @func .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size func, .Lfunc_end0-func diff --git a/test/torture-s/20020402-2.c.s b/test/torture-s/20020402-2.c.s index e6027944a..61576798f 100644 --- a/test/torture-s/20020402-2.c.s +++ b/test/torture-s/20020402-2.c.s @@ -9,121 +9,90 @@ InitCache: # @InitCache # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, MyPte+4($pop0), $0 - i32.const $push76=, 0 + i32.const $push46=, 0 i32.const $push1=, 5 - i32.store $drop=, MyPte+12($pop76), $pop1 - i32.const $push75=, 0 + i32.store $drop=, MyPte+12($pop46), $pop1 + i32.const $push45=, 0 i32.const $push2=, MyPte+16 - i32.store $drop=, Local1($pop75), $pop2 - i32.const $push74=, 0 + i32.store $drop=, Local1($pop45), $pop2 + i32.const $push44=, 0 i32.const $push3=, MyPte+20 - i32.store $drop=, Local2($pop74), $pop3 - i32.const $push73=, 0 + i32.store $drop=, Local2($pop44), $pop3 + i32.const $push43=, 0 i32.const $push4=, MyPte+24 - i32.store $drop=, Local3($pop73), $pop4 - i32.const $push72=, 0 + i32.store $drop=, Local3($pop43), $pop4 + i32.const $push42=, 0 i32.const $push5=, MyPte+28 - i32.store $drop=, RDbf1($pop72), $pop5 - i32.const $push71=, 0 + i32.store $drop=, RDbf1($pop42), $pop5 + i32.const $push41=, 0 + i32.const $push40=, 0 + i32.store $push39=, MyPte+8($pop41), $pop40 + tee_local $push38=, $0=, $pop39 i32.const $push6=, MyPte+32 - i32.store $drop=, RDbf2($pop71), $pop6 - i32.const $push70=, 0 + i32.store $drop=, RDbf2($pop38), $pop6 i32.const $push7=, MyPte+36 - i32.store $drop=, RDbf3($pop70), $pop7 - i32.const $push69=, 0 + i32.store $drop=, RDbf3($0), $pop7 i32.const $push8=, 1 - i32.store $drop=, MyPte+36($pop69), $pop8 - i32.const $push68=, 0 + i32.store $drop=, MyPte+36($0), $pop8 i32.const $push9=, MyPte+156 - i32.store $drop=, IntVc1($pop68), $pop9 - i32.const $push67=, 0 + i32.store $drop=, IntVc1($0), $pop9 i32.const $push10=, MyPte+160 - i32.store $drop=, IntVc2($pop67), $pop10 - i32.const $push66=, 0 + i32.store $drop=, IntVc2($0), $pop10 i32.const $push11=, MyPte+164 - i32.store $drop=, IntCode3($pop66), $pop11 - i32.const $push65=, 0 + i32.store $drop=, IntCode3($0), $pop11 i32.const $push12=, MyPte+168 - i32.store $drop=, IntCode4($pop65), $pop12 - i32.const $push64=, 0 + i32.store $drop=, IntCode4($0), $pop12 i32.const $push13=, MyPte+172 - i32.store $drop=, IntCode5($pop64), $pop13 - i32.const $push63=, 0 + i32.store $drop=, IntCode5($0), $pop13 i32.const $push14=, MyPte+176 - i32.store $drop=, IntCode6($pop63), $pop14 - i32.const $push62=, 0 + i32.store $drop=, IntCode6($0), $pop14 i32.const $push15=, MyPte+180 - i32.store $drop=, Workspace($pop62), $pop15 - i32.const $push61=, 0 + i32.store $drop=, Workspace($0), $pop15 i32.const $push16=, MyPte+184 - i32.store $drop=, Workspace+4($pop61), $pop16 - i32.const $push60=, 0 + i32.store $drop=, Workspace+4($0), $pop16 i32.const $push17=, MyPte+188 - i32.store $drop=, Workspace+8($pop60), $pop17 - i32.const $push59=, 0 + i32.store $drop=, Workspace+8($0), $pop17 i32.const $push18=, MyPte+192 - i32.store $drop=, Workspace+12($pop59), $pop18 - i32.const $push58=, 0 + i32.store $drop=, Workspace+12($0), $pop18 i32.const $push19=, MyPte+196 - i32.store $drop=, Workspace+16($pop58), $pop19 - i32.const $push57=, 0 + i32.store $drop=, Workspace+16($0), $pop19 i32.const $push20=, MyPte+200 - i32.store $drop=, Workspace+20($pop57), $pop20 - i32.const $push56=, 0 + i32.store $drop=, Workspace+20($0), $pop20 i32.const $push21=, MyPte+204 - i32.store $drop=, Workspace+24($pop56), $pop21 - i32.const $push55=, 0 + i32.store $drop=, Workspace+24($0), $pop21 i32.const $push22=, MyPte+208 - i32.store $drop=, Workspace+28($pop55), $pop22 - i32.const $push54=, 0 + i32.store $drop=, Workspace+28($0), $pop22 i32.const $push23=, MyPte+212 - i32.store $drop=, Workspace+32($pop54), $pop23 - i32.const $push53=, 0 + i32.store $drop=, Workspace+32($0), $pop23 i32.const $push24=, MyPte+216 - i32.store $drop=, Workspace+36($pop53), $pop24 - i32.const $push52=, 0 + i32.store $drop=, Workspace+36($0), $pop24 i32.const $push25=, MyPte+220 - i32.store $drop=, Workspace+40($pop52), $pop25 - i32.const $push51=, 0 + i32.store $drop=, Workspace+40($0), $pop25 i32.const $push26=, MyPte+108 - i32.store $drop=, Lom1($pop51), $pop26 - i32.const $push50=, 0 + i32.store $drop=, Lom1($0), $pop26 i32.const $push27=, MyPte+112 - i32.store $drop=, Lom2($pop50), $pop27 - i32.const $push49=, 0 + i32.store $drop=, Lom2($0), $pop27 i32.const $push28=, MyPte+116 - i32.store $drop=, Lom3($pop49), $pop28 - i32.const $push48=, 0 + i32.store $drop=, Lom3($0), $pop28 i32.const $push29=, MyPte+120 - i32.store $drop=, Lom4($pop48), $pop29 - i32.const $push47=, 0 + i32.store $drop=, Lom4($0), $pop29 i32.const $push30=, MyPte+124 - i32.store $drop=, Lom5($pop47), $pop30 - i32.const $push46=, 0 + i32.store $drop=, Lom5($0), $pop30 i32.const $push31=, MyPte+128 - i32.store $drop=, Lom6($pop46), $pop31 - i32.const $push45=, 0 + i32.store $drop=, Lom6($0), $pop31 i32.const $push32=, MyPte+132 - i32.store $drop=, Lom7($pop45), $pop32 - i32.const $push44=, 0 + i32.store $drop=, Lom7($0), $pop32 i32.const $push33=, MyPte+136 - i32.store $drop=, Lom8($pop44), $pop33 - i32.const $push43=, 0 + i32.store $drop=, Lom8($0), $pop33 i32.const $push34=, MyPte+140 - i32.store $drop=, Lom9($pop43), $pop34 - i32.const $push42=, 0 + i32.store $drop=, Lom9($0), $pop34 i32.const $push35=, MyPte+144 - i32.store $drop=, Lom10($pop42), $pop35 - i32.const $push41=, 0 + i32.store $drop=, Lom10($0), $pop35 i32.const $push36=, MyPte+148 - i32.store $drop=, RDbf11($pop41), $pop36 - i32.const $push40=, 0 + i32.store $drop=, RDbf11($0), $pop36 i32.const $push37=, MyPte+152 - i32.store $drop=, RDbf12($pop40), $pop37 - i32.const $push39=, 0 - i32.const $push38=, 0 - i32.store $drop=, MyPte+8($pop39), $pop38 - return + i32.store $drop=, RDbf12($0), $pop37 + # fallthrough-return .endfunc .Lfunc_end0: .size InitCache, .Lfunc_end0-InitCache @@ -137,121 +106,121 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push1=, 0 - i32.const $push2=, 5 - i32.store $drop=, MyPte+12($pop1), $pop2 + i32.const $push0=, 5 + i32.store $drop=, MyPte+12($pop1), $pop0 i32.const $push76=, 0 - i32.const $push3=, MyPte+16 - i32.store $drop=, Local1($pop76), $pop3 + i64.const $push2=, 5 + i64.store $drop=, MyPte+4($pop76):p2align=2, $pop2 i32.const $push75=, 0 - i32.const $push4=, MyPte+20 - i32.store $drop=, Local2($pop75), $pop4 + i32.const $push3=, MyPte+16 + i32.store $drop=, Local1($pop75), $pop3 i32.const $push74=, 0 - i32.const $push5=, MyPte+24 - i32.store $drop=, Local3($pop74), $pop5 + i32.const $push4=, MyPte+20 + i32.store $drop=, Local2($pop74), $pop4 i32.const $push73=, 0 - i32.const $push6=, MyPte+28 - i32.store $drop=, RDbf1($pop73), $pop6 + i32.const $push5=, MyPte+24 + i32.store $drop=, Local3($pop73), $pop5 i32.const $push72=, 0 - i32.const $push7=, MyPte+32 - i32.store $drop=, RDbf2($pop72), $pop7 + i32.const $push6=, MyPte+28 + i32.store $drop=, RDbf1($pop72), $pop6 i32.const $push71=, 0 - i32.const $push8=, MyPte+36 - i32.store $drop=, RDbf3($pop71), $pop8 + i32.const $push7=, MyPte+32 + i32.store $drop=, RDbf2($pop71), $pop7 i32.const $push70=, 0 - i32.const $push9=, 1 - i32.store $drop=, MyPte+36($pop70), $pop9 + i32.const $push8=, MyPte+36 + i32.store $drop=, RDbf3($pop70), $pop8 i32.const $push69=, 0 - i32.const $push10=, MyPte+156 - i32.store $drop=, IntVc1($pop69), $pop10 + i32.const $push9=, 1 + i32.store $drop=, MyPte+36($pop69), $pop9 i32.const $push68=, 0 - i32.const $push11=, MyPte+160 - i32.store $drop=, IntVc2($pop68), $pop11 + i32.const $push10=, MyPte+156 + i32.store $drop=, IntVc1($pop68), $pop10 i32.const $push67=, 0 - i32.const $push12=, MyPte+164 - i32.store $drop=, IntCode3($pop67), $pop12 + i32.const $push11=, MyPte+160 + i32.store $drop=, IntVc2($pop67), $pop11 i32.const $push66=, 0 - i32.const $push13=, MyPte+168 - i32.store $drop=, IntCode4($pop66), $pop13 + i32.const $push12=, MyPte+164 + i32.store $drop=, IntCode3($pop66), $pop12 i32.const $push65=, 0 - i32.const $push14=, MyPte+172 - i32.store $drop=, IntCode5($pop65), $pop14 + i32.const $push13=, MyPte+168 + i32.store $drop=, IntCode4($pop65), $pop13 i32.const $push64=, 0 - i32.const $push15=, MyPte+176 - i32.store $drop=, IntCode6($pop64), $pop15 + i32.const $push14=, MyPte+172 + i32.store $drop=, IntCode5($pop64), $pop14 i32.const $push63=, 0 - i32.const $push16=, MyPte+180 - i32.store $drop=, Workspace($pop63), $pop16 + i32.const $push15=, MyPte+176 + i32.store $drop=, IntCode6($pop63), $pop15 i32.const $push62=, 0 - i32.const $push17=, MyPte+184 - i32.store $drop=, Workspace+4($pop62), $pop17 + i32.const $push16=, MyPte+180 + i32.store $drop=, Workspace($pop62), $pop16 i32.const $push61=, 0 - i32.const $push18=, MyPte+188 - i32.store $drop=, Workspace+8($pop61), $pop18 + i32.const $push17=, MyPte+184 + i32.store $drop=, Workspace+4($pop61), $pop17 i32.const $push60=, 0 - i32.const $push19=, MyPte+192 - i32.store $drop=, Workspace+12($pop60), $pop19 + i32.const $push18=, MyPte+188 + i32.store $drop=, Workspace+8($pop60), $pop18 i32.const $push59=, 0 - i32.const $push20=, MyPte+196 - i32.store $drop=, Workspace+16($pop59), $pop20 + i32.const $push19=, MyPte+192 + i32.store $drop=, Workspace+12($pop59), $pop19 i32.const $push58=, 0 - i32.const $push21=, MyPte+200 - i32.store $drop=, Workspace+20($pop58), $pop21 + i32.const $push20=, MyPte+196 + i32.store $drop=, Workspace+16($pop58), $pop20 i32.const $push57=, 0 - i32.const $push22=, MyPte+204 - i32.store $drop=, Workspace+24($pop57), $pop22 + i32.const $push21=, MyPte+200 + i32.store $drop=, Workspace+20($pop57), $pop21 i32.const $push56=, 0 - i32.const $push23=, MyPte+208 - i32.store $drop=, Workspace+28($pop56), $pop23 + i32.const $push22=, MyPte+204 + i32.store $drop=, Workspace+24($pop56), $pop22 i32.const $push55=, 0 - i32.const $push24=, MyPte+212 - i32.store $drop=, Workspace+32($pop55), $pop24 + i32.const $push23=, MyPte+208 + i32.store $drop=, Workspace+28($pop55), $pop23 i32.const $push54=, 0 - i32.const $push25=, MyPte+216 - i32.store $drop=, Workspace+36($pop54), $pop25 + i32.const $push24=, MyPte+212 + i32.store $drop=, Workspace+32($pop54), $pop24 i32.const $push53=, 0 - i32.const $push26=, MyPte+220 - i32.store $drop=, Workspace+40($pop53), $pop26 + i32.const $push25=, MyPte+216 + i32.store $drop=, Workspace+36($pop53), $pop25 i32.const $push52=, 0 - i32.const $push27=, MyPte+108 - i32.store $drop=, Lom1($pop52), $pop27 + i32.const $push26=, MyPte+220 + i32.store $drop=, Workspace+40($pop52), $pop26 i32.const $push51=, 0 - i32.const $push28=, MyPte+112 - i32.store $drop=, Lom2($pop51), $pop28 + i32.const $push27=, MyPte+108 + i32.store $drop=, Lom1($pop51), $pop27 i32.const $push50=, 0 - i32.const $push29=, MyPte+116 - i32.store $drop=, Lom3($pop50), $pop29 + i32.const $push28=, MyPte+112 + i32.store $drop=, Lom2($pop50), $pop28 i32.const $push49=, 0 - i32.const $push30=, MyPte+120 - i32.store $drop=, Lom4($pop49), $pop30 + i32.const $push29=, MyPte+116 + i32.store $drop=, Lom3($pop49), $pop29 i32.const $push48=, 0 - i32.const $push31=, MyPte+124 - i32.store $drop=, Lom5($pop48), $pop31 + i32.const $push30=, MyPte+120 + i32.store $drop=, Lom4($pop48), $pop30 i32.const $push47=, 0 - i32.const $push32=, MyPte+128 - i32.store $drop=, Lom6($pop47), $pop32 + i32.const $push31=, MyPte+124 + i32.store $drop=, Lom5($pop47), $pop31 i32.const $push46=, 0 - i32.const $push33=, MyPte+132 - i32.store $drop=, Lom7($pop46), $pop33 + i32.const $push32=, MyPte+128 + i32.store $drop=, Lom6($pop46), $pop32 i32.const $push45=, 0 - i32.const $push34=, MyPte+136 - i32.store $drop=, Lom8($pop45), $pop34 + i32.const $push33=, MyPte+132 + i32.store $drop=, Lom7($pop45), $pop33 i32.const $push44=, 0 - i32.const $push35=, MyPte+140 - i32.store $drop=, Lom9($pop44), $pop35 + i32.const $push34=, MyPte+136 + i32.store $drop=, Lom8($pop44), $pop34 i32.const $push43=, 0 - i32.const $push36=, MyPte+144 - i32.store $drop=, Lom10($pop43), $pop36 + i32.const $push35=, MyPte+140 + i32.store $drop=, Lom9($pop43), $pop35 i32.const $push42=, 0 - i32.const $push37=, MyPte+148 - i32.store $drop=, RDbf11($pop42), $pop37 + i32.const $push36=, MyPte+144 + i32.store $drop=, Lom10($pop42), $pop36 i32.const $push41=, 0 - i32.const $push38=, MyPte+152 - i32.store $drop=, RDbf12($pop41), $pop38 + i32.const $push37=, MyPte+148 + i32.store $drop=, RDbf11($pop41), $pop37 i32.const $push40=, 0 - i64.const $push0=, 5 - i64.store $drop=, MyPte+4($pop40):p2align=2, $pop0 + i32.const $push38=, MyPte+152 + i32.store $drop=, RDbf12($pop40), $pop38 i32.const $push39=, 0 - return $pop39 + # fallthrough-return: $pop39 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20020402-3.c.s b/test/torture-s/20020402-3.c.s index dc52896a0..3c31ff97e 100644 --- a/test/torture-s/20020402-3.c.s +++ b/test/torture-s/20020402-3.c.s @@ -9,85 +9,87 @@ blockvector_for_pc_sect: # @blockvector_for_pc_sect .result i32 .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $4=, 0 + i32.const $7=, 0 block block - i32.load $push22=, 0($1) - tee_local $push21=, $5=, $pop22 - i32.load $push20=, 0($pop21) - tee_local $push19=, $1=, $pop20 - i32.const $push18=, 2 - i32.lt_s $push1=, $pop19, $pop18 - br_if 0, $pop1 # 0: down to label1 + i32.load $push21=, 0($1) + tee_local $push20=, $2=, $pop21 + i32.load $push19=, 0($pop20) + tee_local $push18=, $1=, $pop19 + i32.const $push17=, 2 + i32.lt_s $push0=, $pop18, $pop17 + br_if 0, $pop0 # 0: down to label1 # BB#1: # %while.body.preheader - i32.const $4=, 0 - copy_local $3=, $1 + i32.const $7=, 0 + copy_local $6=, $1 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label2: + i32.const $push34=, 1 + i32.add $push1=, $1, $pop34 i32.const $push33=, 1 - i32.add $push2=, $1, $pop33 - i32.const $push32=, 1 - i32.shr_s $push31=, $pop2, $pop32 - tee_local $push30=, $7=, $pop31 - i32.add $1=, $pop30, $4 - i32.const $push29=, 2 - i32.shl $push3=, $1, $pop29 - i32.add $push4=, $5, $pop3 - i32.const $push28=, 4 - i32.add $push5=, $pop4, $pop28 - i32.load $push6=, 0($pop5) - i64.load $push7=, 0($pop6) - i64.gt_u $push27=, $pop7, $0 - tee_local $push26=, $6=, $pop27 - i32.select $4=, $4, $1, $pop26 - i32.sub $2=, $3, $1 - i32.select $push0=, $1, $3, $6 - copy_local $3=, $pop0 - i32.select $push25=, $7, $2, $6 - tee_local $push24=, $1=, $pop25 - i32.const $push23=, 1 - i32.gt_s $push8=, $pop24, $pop23 - br_if 0, $pop8 # 0: up to label2 + i32.shr_s $push32=, $pop1, $pop33 + tee_local $push31=, $3=, $pop32 + i32.add $push30=, $pop31, $7 + tee_local $push29=, $1=, $pop30 + i32.sub $4=, $6, $pop29 + i32.const $push28=, 2 + i32.shl $push2=, $1, $pop28 + i32.add $push3=, $2, $pop2 + i32.const $push27=, 4 + i32.add $push4=, $pop3, $pop27 + i32.load $push5=, 0($pop4) + i64.load $push6=, 0($pop5) + i64.gt_u $push26=, $pop6, $0 + tee_local $push25=, $5=, $pop26 + i32.select $6=, $1, $6, $pop25 + i32.select $7=, $7, $1, $5 + i32.select $push24=, $3, $4, $5 + tee_local $push23=, $1=, $pop24 + i32.const $push22=, 1 + i32.gt_s $push7=, $pop23, $pop22 + br_if 0, $pop7 # 0: up to label2 # BB#3: # %while.cond8.preheader end_loop # label3: - i32.const $3=, 0 - i32.const $push9=, -1 - i32.le_s $push10=, $4, $pop9 - br_if 1, $pop10 # 1: down to label0 + i32.const $5=, 0 + i32.const $push8=, -1 + i32.le_s $push9=, $7, $pop8 + br_if 1, $pop9 # 1: down to label0 .LBB0_4: # %while.body10.preheader end_block # label1: + i32.const $push36=, 1 + i32.add $6=, $7, $pop36 i32.const $push35=, 2 - i32.shl $push11=, $4, $pop35 - i32.add $push12=, $5, $pop11 - i32.const $push13=, 4 - i32.add $1=, $pop12, $pop13 - i32.const $push34=, 1 - i32.add $4=, $4, $pop34 + i32.shl $push10=, $7, $pop35 + i32.add $push11=, $2, $pop10 + i32.const $push12=, 4 + i32.add $1=, $pop11, $pop12 .LBB0_5: # %while.body10 # =>This Inner Loop Header: Depth=1 loop # label4: - i32.load $push14=, 0($1) - i64.load $push15=, 8($pop14) - i64.gt_u $push16=, $pop15, $0 - br_if 1, $pop16 # 1: down to label5 + i32.load $push13=, 0($1) + i64.load $push14=, 8($pop13) + i64.gt_u $push15=, $pop14, $0 + br_if 1, $pop15 # 1: down to label5 # BB#6: # %while.cond8 # in Loop: Header=BB0_5 Depth=1 - i32.const $push38=, -1 - i32.add $4=, $4, $pop38 - i32.const $push37=, -4 - i32.add $1=, $1, $pop37 - i32.const $3=, 0 - i32.const $push36=, 1 - i32.ge_s $push17=, $4, $pop36 - br_if 0, $pop17 # 0: up to label4 + i32.const $push41=, -4 + i32.add $1=, $1, $pop41 + i32.const $5=, 0 + i32.const $push40=, -1 + i32.add $push39=, $6, $pop40 + tee_local $push38=, $6=, $pop39 + i32.const $push37=, 1 + i32.ge_s $push16=, $pop38, $pop37 + br_if 0, $pop16 # 0: up to label4 br 2 # 2: down to label0 .LBB0_7: end_loop # label5: - copy_local $3=, $5 + copy_local $5=, $2 .LBB0_8: # %cleanup end_block # label0: - return $3 + copy_local $push42=, $5 + # fallthrough-return: $pop42 .endfunc .Lfunc_end0: .size blockvector_for_pc_sect, .Lfunc_end0-blockvector_for_pc_sect @@ -100,7 +102,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20020404-1.c.s b/test/torture-s/20020404-1.c.s index 090f71ccc..a3b1cbe11 100644 --- a/test/torture-s/20020404-1.c.s +++ b/test/torture-s/20020404-1.c.s @@ -9,18 +9,18 @@ main: # @main # BB#0: # %entry i32.const $push2=, 0 i32.const $push11=, 0 - i32.load8_u $push3=, bfd_make_section_anyway.foo_section($pop11) - i32.const $push4=, 1 - i32.or $push5=, $pop3, $pop4 - i32.store8 $drop=, bfd_make_section_anyway.foo_section($pop2), $pop5 + i64.const $push1=, 3735928559 + i64.store $push0=, bfd_make_section_anyway.foo_section+8($pop11), $pop1 + i64.store $drop=, bfd_make_section_anyway.foo_section+16($pop2), $pop0 i32.const $push10=, 0 + i64.const $push3=, 0 + i64.store $drop=, bfd_make_section_anyway.foo_section+24($pop10), $pop3 i32.const $push9=, 0 - i64.const $push1=, 3735928559 - i64.store $push0=, bfd_make_section_anyway.foo_section+16($pop9), $pop1 - i64.store $drop=, bfd_make_section_anyway.foo_section+8($pop10), $pop0 i32.const $push8=, 0 - i64.const $push6=, 0 - i64.store $drop=, bfd_make_section_anyway.foo_section+24($pop8), $pop6 + i32.load8_u $push4=, bfd_make_section_anyway.foo_section($pop8) + i32.const $push5=, 1 + i32.or $push6=, $pop4, $pop5 + i32.store8 $drop=, bfd_make_section_anyway.foo_section($pop9), $pop6 i32.const $push7=, 0 call exit@FUNCTION, $pop7 unreachable diff --git a/test/torture-s/20020406-1.c.s b/test/torture-s/20020406-1.c.s index c25e5bf28..30750badc 100644 --- a/test/torture-s/20020406-1.c.s +++ b/test/torture-s/20020406-1.c.s @@ -8,7 +8,8 @@ FFmul: # @FFmul .param i32, i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size FFmul, .Lfunc_end0-FFmul @@ -22,7 +23,7 @@ DUPFFdeg: # @DUPFFdeg .result i32 # BB#0: # %entry i32.load $push0=, 4($0) - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size DUPFFdeg, .Lfunc_end1-DUPFFdeg @@ -45,19 +46,20 @@ DUPFFnew: # @DUPFFnew i32.lt_s $push3=, $0, $pop0 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.then - i32.const $push8=, 8 - i32.add $push9=, $1, $pop8 - i32.const $push4=, 1 - i32.add $push5=, $0, $pop4 - i32.const $push6=, 4 - i32.call $push7=, calloc@FUNCTION, $pop5, $pop6 - i32.store $drop=, 0($pop9), $pop7 + i32.const $push4=, 8 + i32.add $push5=, $1, $pop4 + i32.const $push6=, 1 + i32.add $push7=, $0, $pop6 + i32.const $push8=, 4 + i32.call $push9=, calloc@FUNCTION, $pop7, $pop8 + i32.store $drop=, 0($pop5), $pop9 .LBB2_2: # %if.end end_block # label0: - i32.store $drop=, 0($1), $0 i32.const $push10=, -1 i32.store $drop=, 4($1), $pop10 - return $1 + i32.store $drop=, 0($1), $0 + copy_local $push13=, $1 + # fallthrough-return: $pop13 .endfunc .Lfunc_end2: .size DUPFFnew, .Lfunc_end2-DUPFFnew @@ -69,7 +71,7 @@ DUPFFnew: # @DUPFFnew DUPFFfree: # @DUPFFfree .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end3: .size DUPFFfree, .Lfunc_end3-DUPFFfree @@ -81,7 +83,7 @@ DUPFFfree: # @DUPFFfree DUPFFswap: # @DUPFFswap .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end4: .size DUPFFswap, .Lfunc_end4-DUPFFswap @@ -94,7 +96,8 @@ DUPFFcopy: # @DUPFFcopy .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size DUPFFcopy, .Lfunc_end5-DUPFFcopy @@ -106,7 +109,7 @@ DUPFFcopy: # @DUPFFcopy DUPFFshift_add: # @DUPFFshift_add .param i32, i32, i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end6: .size DUPFFshift_add, .Lfunc_end6-DUPFFshift_add @@ -120,78 +123,79 @@ DUPFFexgcd: # @DUPFFexgcd .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push22=, __stack_pointer - i32.const $push19=, __stack_pointer - i32.load $push20=, 0($pop19) + i32.const $push22=, 0 + i32.const $push19=, 0 + i32.load $push20=, __stack_pointer($pop19) i32.const $push21=, 16 i32.sub $push26=, $pop20, $pop21 - i32.store $4=, 0($pop22), $pop26 - i32.load $7=, 4($2) - i32.load $8=, 4($3) + i32.store $4=, __stack_pointer($pop22), $pop26 + i32.load $7=, 4($3) + i32.load $8=, 4($2) .LBB7_1: # %tailrecurse # =>This Inner Loop Header: Depth=1 loop # label1: - i32.store $drop=, 4($4), $8 - i32.store $drop=, 0($4), $7 copy_local $6=, $3 copy_local $3=, $2 copy_local $5=, $1 copy_local $1=, $0 + i32.store $drop=, 4($4), $7 + i32.store $drop=, 0($4), $8 i32.const $push31=, .L.str i32.call $drop=, printf@FUNCTION, $pop31, $4 copy_local $0=, $5 copy_local $2=, $6 i32.load $push30=, 4($3) - tee_local $push29=, $8=, $pop30 + tee_local $push29=, $7=, $pop30 i32.load $push28=, 4($6) - tee_local $push27=, $7=, $pop28 + tee_local $push27=, $8=, $pop28 i32.lt_s $push2=, $pop29, $pop27 br_if 0, $pop2 # 0: up to label1 # BB#2: # %if.end end_loop # label2: block i32.const $push3=, 2 - i32.ne $push4=, $8, $pop3 + i32.ne $push4=, $7, $pop3 br_if 0, $pop4 # 0: down to label3 # BB#3: # %if.end i32.const $push5=, 1 - i32.ne $push6=, $7, $pop5 + i32.ne $push6=, $8, $pop5 br_if 0, $pop6 # 0: down to label3 # BB#4: # %if.end11 block i32.load $push7=, 8($3) i32.load $push8=, 0($pop7) - i32.eqz $push39=, $pop8 - br_if 0, $pop39 # 0: down to label4 + i32.eqz $push41=, $pop8 + br_if 0, $pop41 # 0: down to label4 # BB#5: # %DUPFFnew.exit167 i32.const $push9=, 12 - i32.call $push37=, malloc@FUNCTION, $pop9 - tee_local $push36=, $7=, $pop37 + i32.call $push39=, malloc@FUNCTION, $pop9 + tee_local $push38=, $7=, $pop39 i32.const $push10=, 2 - i32.const $push35=, 4 - i32.call $push11=, calloc@FUNCTION, $pop10, $pop35 - i32.store $push0=, 8($pop36), $pop11 - i32.const $push13=, 1 - i32.store $8=, 0($pop0), $pop13 - i64.const $push12=, 1 - i64.store $drop=, 0($7):p2align=2, $pop12 - i32.const $push34=, 12 - i32.call $2=, malloc@FUNCTION, $pop34 + i32.const $push37=, 4 + i32.call $push11=, calloc@FUNCTION, $pop10, $pop37 + i32.store $push0=, 8($pop38), $pop11 + i32.const $push12=, 1 + i32.store $8=, 0($pop0), $pop12 + i64.const $push13=, 1 + i64.store $drop=, 0($7):p2align=2, $pop13 + i32.const $push36=, 12 + i32.call $2=, malloc@FUNCTION, $pop36 i32.const $push14=, 3 - i32.const $push33=, 4 - i32.call $0=, calloc@FUNCTION, $pop14, $pop33 + i32.const $push35=, 4 + i32.call $0=, calloc@FUNCTION, $pop14, $pop35 i64.const $push15=, -4294967294 i64.store $drop=, 0($2):p2align=2, $pop15 - i32.const $push32=, 4 - i32.add $push16=, $6, $pop32 - i32.load $6=, 0($pop16) i32.store $drop=, 8($2), $0 block - i32.lt_s $push17=, $6, $8 + i32.const $push34=, 4 + i32.add $push16=, $6, $pop34 + i32.load $push33=, 0($pop16) + tee_local $push32=, $6=, $pop33 + i32.lt_s $push17=, $pop32, $8 br_if 0, $pop17 # 0: down to label5 # BB#6: # %while.cond40.preheader.lr.ph - i32.const $push38=, 4 - i32.add $push18=, $3, $pop38 + i32.const $push40=, 4 + i32.add $push18=, $3, $pop40 i32.load $push1=, 0($pop18) i32.lt_s $3=, $pop1, $6 .LBB7_7: # %while.cond40.preheader @@ -210,10 +214,10 @@ DUPFFexgcd: # @DUPFFexgcd i32.store $drop=, 0($5), $2 .LBB7_10: # %cleanup end_block # label4: - i32.const $push25=, __stack_pointer + i32.const $push25=, 0 i32.const $push23=, 16 i32.add $push24=, $4, $pop23 - i32.store $drop=, 0($pop25), $pop24 + i32.store $drop=, __stack_pointer($pop25), $pop24 return $3 .LBB7_11: # %if.then10 end_block # label3: @@ -229,52 +233,52 @@ DUPFFexgcd: # @DUPFFexgcd .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) - i32.const $push13=, 16 - i32.sub $push22=, $pop12, $pop13 - i32.store $1=, 0($pop14), $pop22 - i32.const $push1=, 12 - i32.call $push29=, malloc@FUNCTION, $pop1 - tee_local $push28=, $4=, $pop29 - i32.const $push3=, 2 - i32.const $push2=, 4 - i32.call $push4=, calloc@FUNCTION, $pop3, $pop2 - i32.store $push0=, 8($pop28), $pop4 + i32.const $push16=, 0 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) + i32.const $push15=, 16 + i32.sub $push24=, $pop14, $pop15 + i32.store $1=, __stack_pointer($pop16), $pop24 + i32.const $push2=, 12 + i32.call $push31=, malloc@FUNCTION, $pop2 + tee_local $push30=, $2=, $pop31 + i32.const $push4=, 2 + i32.const $push3=, 4 + i32.call $push5=, calloc@FUNCTION, $pop4, $pop3 + i32.store $push0=, 8($pop30), $pop5 i32.const $push6=, 1 i32.store $0=, 4($pop0), $pop6 - i64.const $push5=, 4294967297 - i64.store $drop=, 0($4):p2align=2, $pop5 - i32.const $push27=, 12 - i32.call $2=, malloc@FUNCTION, $pop27 - i32.const $push7=, 3 + i64.const $push7=, 4294967297 + i64.store $drop=, 0($2):p2align=2, $pop7 + i32.const $push29=, 12 + i32.call $push28=, malloc@FUNCTION, $pop29 + tee_local $push27=, $3=, $pop28 + i32.const $push8=, 3 i32.const $push26=, 4 - i32.call $push25=, calloc@FUNCTION, $pop7, $pop26 - tee_local $push24=, $3=, $pop25 - i32.store $drop=, 8($pop24), $0 - i32.store $drop=, 8($2), $3 - i32.load $0=, 4($4) - i64.const $push8=, 8589934594 - i64.store $drop=, 0($2):p2align=2, $pop8 - i32.const $push23=, 2 - i32.store $drop=, 4($1), $pop23 + i32.call $push9=, calloc@FUNCTION, $pop8, $pop26 + i32.store $push1=, 8($pop27), $pop9 + i32.store $drop=, 8($pop1), $0 + i64.const $push10=, 8589934594 + i64.store $drop=, 0($3):p2align=2, $pop10 + i32.load $0=, 4($2) + i32.const $push25=, 2 + i32.store $drop=, 4($1), $pop25 i32.store $drop=, 0($1), $0 - i32.const $push9=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop9, $1 - i32.const $push18=, 12 - i32.add $push19=, $1, $pop18 - i32.const $push20=, 8 + i32.const $push11=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop11, $1 + i32.const $push20=, 12 i32.add $push21=, $1, $pop20 - i32.call $drop=, DUPFFexgcd@FUNCTION, $pop19, $pop21, $4, $2 - i32.const $push17=, __stack_pointer - i32.const $push15=, 16 - i32.add $push16=, $1, $pop15 - i32.store $drop=, 0($pop17), $pop16 - i32.const $push10=, 0 - return $pop10 + i32.const $push22=, 8 + i32.add $push23=, $1, $pop22 + i32.call $drop=, DUPFFexgcd@FUNCTION, $pop21, $pop23, $2, $3 + i32.const $push19=, 0 + i32.const $push17=, 16 + i32.add $push18=, $1, $pop17 + i32.store $drop=, __stack_pointer($pop19), $pop18 + i32.const $push12=, 0 + # fallthrough-return: $pop12 .endfunc .Lfunc_end8: .size main, .Lfunc_end8-main diff --git a/test/torture-s/20020411-1.c.s b/test/torture-s/20020411-1.c.s index be84e3857..25114ccbf 100644 --- a/test/torture-s/20020411-1.c.s +++ b/test/torture-s/20020411-1.c.s @@ -9,7 +9,7 @@ foo: # @foo # BB#0: # %entry i64.const $push0=, -4647714814380998656 i64.store $drop=, 0($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20020413-1.c.s b/test/torture-s/20020413-1.c.s index 3225d00c1..91faa5f1a 100644 --- a/test/torture-s/20020413-1.c.s +++ b/test/torture-s/20020413-1.c.s @@ -8,19 +8,20 @@ test: # @test .param i64, i64, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push83=, __stack_pointer - i32.const $push80=, __stack_pointer - i32.load $push81=, 0($pop80) + i32.const $push83=, 0 + i32.const $push80=, 0 + i32.load $push81=, __stack_pointer($pop80) i32.const $push82=, 16 i32.sub $push87=, $pop81, $pop82 - i32.store $3=, 0($pop83), $pop87 + i32.store $push102=, __stack_pointer($pop83), $pop87 + tee_local $push101=, $3=, $pop102 i64.const $push100=, 0 + i64.const $push0=, -9223372036854775808 + call __subtf3@FUNCTION, $pop101, $pop100, $pop0, $0, $1 i64.const $push99=, 0 - i32.call $4=, __lttf2@FUNCTION, $0, $1, $pop100, $pop99 - i32.const $5=, 0 i64.const $push98=, 0 - i64.const $push0=, -9223372036854775808 - call __subtf3@FUNCTION, $3, $pop98, $pop0, $0, $1 + i32.call $4=, __lttf2@FUNCTION, $0, $1, $pop99, $pop98 + i32.const $5=, 0 block block block @@ -42,89 +43,89 @@ test: # @test i32.ge_s $push6=, $pop5, $pop88 br_if 0, $pop6 # 0: down to label2 # BB#1: # %if.else - i64.const $push102=, 0 - i64.const $push101=, 0 - i32.call $push42=, __eqtf2@FUNCTION, $0, $1, $pop102, $pop101 - i32.eqz $push141=, $pop42 - br_if 1, $pop141 # 1: down to label1 -# BB#2: # %if.else + i64.const $push104=, 0 i64.const $push103=, 0 + i32.call $push42=, __eqtf2@FUNCTION, $0, $1, $pop104, $pop103 + i32.eqz $push143=, $pop42 + br_if 1, $pop143 # 1: down to label1 +# BB#2: # %if.else + i64.const $push105=, 0 i64.const $push43=, 4611404543450677248 - i32.call $push44=, __lttf2@FUNCTION, $0, $1, $pop103, $pop43 + i32.call $push44=, __lttf2@FUNCTION, $0, $1, $pop105, $pop43 i32.const $push45=, -1 i32.gt_s $push46=, $pop44, $pop45 br_if 1, $pop46 # 1: down to label1 # BB#3: # %while.body12 i32.const $5=, 1 - i64.const $push104=, 0 + i64.const $push106=, 0 i64.const $push47=, 4611123068473966592 - i32.call $push48=, __lttf2@FUNCTION, $0, $1, $pop104, $pop47 + i32.call $push48=, __lttf2@FUNCTION, $0, $1, $pop106, $pop47 i32.const $push49=, 0 i32.ge_s $push50=, $pop48, $pop49 br_if 1, $pop50 # 1: down to label1 # BB#4: # %while.body12.1 i32.const $5=, 2 - i64.const $push106=, 0 + i64.const $push108=, 0 i64.const $push51=, 4610841593497255936 - i32.call $push52=, __lttf2@FUNCTION, $0, $1, $pop106, $pop51 - i32.const $push105=, -1 - i32.gt_s $push53=, $pop52, $pop105 + i32.call $push52=, __lttf2@FUNCTION, $0, $1, $pop108, $pop51 + i32.const $push107=, -1 + i32.gt_s $push53=, $pop52, $pop107 br_if 1, $pop53 # 1: down to label1 # BB#5: # %while.body12.2 i32.const $5=, 3 - i64.const $push108=, 0 + i64.const $push110=, 0 i64.const $push54=, 4610560118520545280 - i32.call $push55=, __lttf2@FUNCTION, $0, $1, $pop108, $pop54 - i32.const $push107=, -1 - i32.gt_s $push56=, $pop55, $pop107 + i32.call $push55=, __lttf2@FUNCTION, $0, $1, $pop110, $pop54 + i32.const $push109=, -1 + i32.gt_s $push56=, $pop55, $pop109 br_if 1, $pop56 # 1: down to label1 # BB#6: # %while.body12.3 i32.const $5=, 4 - i64.const $push110=, 0 + i64.const $push112=, 0 i64.const $push57=, 4610278643543834624 - i32.call $push58=, __lttf2@FUNCTION, $0, $1, $pop110, $pop57 - i32.const $push109=, -1 - i32.gt_s $push59=, $pop58, $pop109 + i32.call $push58=, __lttf2@FUNCTION, $0, $1, $pop112, $pop57 + i32.const $push111=, -1 + i32.gt_s $push59=, $pop58, $pop111 br_if 1, $pop59 # 1: down to label1 # BB#7: # %while.body12.4 i32.const $5=, 5 - i64.const $push112=, 0 + i64.const $push114=, 0 i64.const $push60=, 4609997168567123968 - i32.call $push61=, __lttf2@FUNCTION, $0, $1, $pop112, $pop60 - i32.const $push111=, -1 - i32.gt_s $push62=, $pop61, $pop111 + i32.call $push61=, __lttf2@FUNCTION, $0, $1, $pop114, $pop60 + i32.const $push113=, -1 + i32.gt_s $push62=, $pop61, $pop113 br_if 1, $pop62 # 1: down to label1 # BB#8: # %while.body12.5 i32.const $5=, 6 - i64.const $push114=, 0 + i64.const $push116=, 0 i64.const $push63=, 4609715693590413312 - i32.call $push64=, __lttf2@FUNCTION, $0, $1, $pop114, $pop63 - i32.const $push113=, -1 - i32.gt_s $push65=, $pop64, $pop113 + i32.call $push64=, __lttf2@FUNCTION, $0, $1, $pop116, $pop63 + i32.const $push115=, -1 + i32.gt_s $push65=, $pop64, $pop115 br_if 1, $pop65 # 1: down to label1 # BB#9: # %while.body12.6 i32.const $5=, 7 - i64.const $push116=, 0 + i64.const $push118=, 0 i64.const $push66=, 4609434218613702656 - i32.call $push67=, __lttf2@FUNCTION, $0, $1, $pop116, $pop66 - i32.const $push115=, -1 - i32.gt_s $push68=, $pop67, $pop115 + i32.call $push67=, __lttf2@FUNCTION, $0, $1, $pop118, $pop66 + i32.const $push117=, -1 + i32.gt_s $push68=, $pop67, $pop117 br_if 1, $pop68 # 1: down to label1 # BB#10: # %while.body12.7 i32.const $5=, 8 - i64.const $push118=, 0 + i64.const $push120=, 0 i64.const $push69=, 4609152743636992000 - i32.call $push70=, __lttf2@FUNCTION, $0, $1, $pop118, $pop69 - i32.const $push117=, -1 - i32.gt_s $push71=, $pop70, $pop117 + i32.call $push70=, __lttf2@FUNCTION, $0, $1, $pop120, $pop69 + i32.const $push119=, -1 + i32.gt_s $push71=, $pop70, $pop119 br_if 1, $pop71 # 1: down to label1 # BB#11: # %while.body12.8 i32.const $5=, 9 - i64.const $push120=, 0 + i64.const $push122=, 0 i64.const $push72=, 4608871268660281344 - i32.call $push73=, __lttf2@FUNCTION, $0, $1, $pop120, $pop72 - i32.const $push119=, -1 - i32.gt_s $push74=, $pop73, $pop119 + i32.call $push73=, __lttf2@FUNCTION, $0, $1, $pop122, $pop72 + i32.const $push121=, -1 + i32.gt_s $push74=, $pop73, $pop121 br_if 1, $pop74 # 1: down to label1 # BB#12: # %while.body12.9 i32.const $5=, 10 @@ -139,99 +140,99 @@ test: # @test unreachable .LBB0_14: # %while.cond.preheader end_block # label2: - i64.const $push122=, 0 - i64.const $push121=, 4611404543450677248 - i32.call $push7=, __gttf2@FUNCTION, $0, $1, $pop122, $pop121 + i64.const $push124=, 0 + i64.const $push123=, 4611404543450677248 + i32.call $push7=, __gttf2@FUNCTION, $0, $1, $pop124, $pop123 i32.const $push8=, 1 i32.lt_s $push9=, $pop7, $pop8 br_if 0, $pop9 # 0: down to label1 # BB#15: # %while.body i32.const $5=, 1 - i64.const $push123=, 0 + i64.const $push125=, 0 i64.const $push10=, 4611686018427387904 - i32.call $push11=, __gttf2@FUNCTION, $0, $1, $pop123, $pop10 + i32.call $push11=, __gttf2@FUNCTION, $0, $1, $pop125, $pop10 i32.const $push12=, 0 i32.le_s $push13=, $pop11, $pop12 br_if 0, $pop13 # 0: down to label1 # BB#16: # %while.body.1 i32.const $5=, 2 - i64.const $push125=, 0 + i64.const $push127=, 0 i64.const $push14=, 4611967493404098560 - i32.call $push15=, __gttf2@FUNCTION, $0, $1, $pop125, $pop14 - i32.const $push124=, 1 - i32.lt_s $push16=, $pop15, $pop124 + i32.call $push15=, __gttf2@FUNCTION, $0, $1, $pop127, $pop14 + i32.const $push126=, 1 + i32.lt_s $push16=, $pop15, $pop126 br_if 0, $pop16 # 0: down to label1 # BB#17: # %while.body.2 i32.const $5=, 3 - i64.const $push127=, 0 + i64.const $push129=, 0 i64.const $push17=, 4612248968380809216 - i32.call $push18=, __gttf2@FUNCTION, $0, $1, $pop127, $pop17 - i32.const $push126=, 1 - i32.lt_s $push19=, $pop18, $pop126 + i32.call $push18=, __gttf2@FUNCTION, $0, $1, $pop129, $pop17 + i32.const $push128=, 1 + i32.lt_s $push19=, $pop18, $pop128 br_if 0, $pop19 # 0: down to label1 # BB#18: # %while.body.3 i32.const $5=, 4 - i64.const $push129=, 0 + i64.const $push131=, 0 i64.const $push20=, 4612530443357519872 - i32.call $push21=, __gttf2@FUNCTION, $0, $1, $pop129, $pop20 - i32.const $push128=, 1 - i32.lt_s $push22=, $pop21, $pop128 + i32.call $push21=, __gttf2@FUNCTION, $0, $1, $pop131, $pop20 + i32.const $push130=, 1 + i32.lt_s $push22=, $pop21, $pop130 br_if 0, $pop22 # 0: down to label1 # BB#19: # %while.body.4 i32.const $5=, 5 - i64.const $push131=, 0 + i64.const $push133=, 0 i64.const $push23=, 4612811918334230528 - i32.call $push24=, __gttf2@FUNCTION, $0, $1, $pop131, $pop23 - i32.const $push130=, 1 - i32.lt_s $push25=, $pop24, $pop130 + i32.call $push24=, __gttf2@FUNCTION, $0, $1, $pop133, $pop23 + i32.const $push132=, 1 + i32.lt_s $push25=, $pop24, $pop132 br_if 0, $pop25 # 0: down to label1 # BB#20: # %while.body.5 i32.const $5=, 6 - i64.const $push133=, 0 + i64.const $push135=, 0 i64.const $push26=, 4613093393310941184 - i32.call $push27=, __gttf2@FUNCTION, $0, $1, $pop133, $pop26 - i32.const $push132=, 1 - i32.lt_s $push28=, $pop27, $pop132 + i32.call $push27=, __gttf2@FUNCTION, $0, $1, $pop135, $pop26 + i32.const $push134=, 1 + i32.lt_s $push28=, $pop27, $pop134 br_if 0, $pop28 # 0: down to label1 # BB#21: # %while.body.6 i32.const $5=, 7 - i64.const $push135=, 0 + i64.const $push137=, 0 i64.const $push29=, 4613374868287651840 - i32.call $push30=, __gttf2@FUNCTION, $0, $1, $pop135, $pop29 - i32.const $push134=, 1 - i32.lt_s $push31=, $pop30, $pop134 + i32.call $push30=, __gttf2@FUNCTION, $0, $1, $pop137, $pop29 + i32.const $push136=, 1 + i32.lt_s $push31=, $pop30, $pop136 br_if 0, $pop31 # 0: down to label1 # BB#22: # %while.body.7 i32.const $5=, 8 - i64.const $push137=, 0 + i64.const $push139=, 0 i64.const $push32=, 4613656343264362496 - i32.call $push33=, __gttf2@FUNCTION, $0, $1, $pop137, $pop32 - i32.const $push136=, 1 - i32.lt_s $push34=, $pop33, $pop136 + i32.call $push33=, __gttf2@FUNCTION, $0, $1, $pop139, $pop32 + i32.const $push138=, 1 + i32.lt_s $push34=, $pop33, $pop138 br_if 0, $pop34 # 0: down to label1 # BB#23: # %while.body.8 i32.const $5=, 9 - i64.const $push139=, 0 + i64.const $push141=, 0 i64.const $push35=, 4613937818241073152 - i32.call $push36=, __gttf2@FUNCTION, $0, $1, $pop139, $pop35 - i32.const $push138=, 1 - i32.lt_s $push37=, $pop36, $pop138 + i32.call $push36=, __gttf2@FUNCTION, $0, $1, $pop141, $pop35 + i32.const $push140=, 1 + i32.lt_s $push37=, $pop36, $pop140 br_if 0, $pop37 # 0: down to label1 # BB#24: # %while.body.9 i32.const $5=, 10 - i64.const $push140=, 0 + i64.const $push142=, 0 i64.const $push38=, 4614219293217783808 - i32.call $push39=, __gttf2@FUNCTION, $0, $1, $pop140, $pop38 + i32.call $push39=, __gttf2@FUNCTION, $0, $1, $pop142, $pop38 i32.const $push40=, 1 i32.ge_s $push41=, $pop39, $pop40 br_if 1, $pop41 # 1: down to label0 .LBB0_25: # %if.end19 end_block # label1: i32.store $drop=, 0($2), $5 - i32.const $push86=, __stack_pointer + i32.const $push86=, 0 i32.const $push84=, 16 i32.add $push85=, $3, $pop84 - i32.store $drop=, 0($pop86), $pop85 + i32.store $drop=, __stack_pointer($pop86), $pop85 return .LBB0_26: # %while.body.10 end_block # label0: @@ -251,12 +252,12 @@ main: # @main # BB#0: # %entry i64.const $push1=, 0 i64.const $push0=, 4611826755915743232 - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push18=, $pop7, $pop8 - i32.store $push23=, 0($pop9), $pop18 + i32.store $push23=, __stack_pointer($pop9), $pop18 tee_local $push22=, $0=, $pop23 i32.const $push10=, 12 i32.add $push11=, $pop22, $pop10 diff --git a/test/torture-s/20020418-1.c.s b/test/torture-s/20020418-1.c.s index 65189cb25..15cab0b23 100644 --- a/test/torture-s/20020418-1.c.s +++ b/test/torture-s/20020418-1.c.s @@ -43,12 +43,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push10=, 0($pop5), $pop8 + i32.store $push10=, __stack_pointer($pop5), $pop8 tee_local $push9=, $0=, $pop10 i32.const $push0=, 53 i32.store $drop=, 8($pop9), $pop0 diff --git a/test/torture-s/20020503-1.c.s b/test/torture-s/20020503-1.c.s index 5e89e58e5..b4ec082e6 100644 --- a/test/torture-s/20020503-1.c.s +++ b/test/torture-s/20020503-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20020506-1.c.s b/test/torture-s/20020506-1.c.s index 223b6db40..50d87df27 100644 --- a/test/torture-s/20020506-1.c.s +++ b/test/torture-s/20020506-1.c.s @@ -288,7 +288,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size main, .Lfunc_end8-main diff --git a/test/torture-s/20020508-1.c.s b/test/torture-s/20020508-1.c.s index 6188aa11e..92aef4543 100644 --- a/test/torture-s/20020508-1.c.s +++ b/test/torture-s/20020508-1.c.s @@ -11,53 +11,53 @@ main: # @main block i32.const $push2=, 0 i32.load8_u $push103=, uc($pop2) - tee_local $push102=, $2=, $pop103 + tee_local $push102=, $0=, $pop103 i32.const $push4=, 8 i32.const $push101=, 0 i32.load $push100=, shift1($pop101) tee_local $push99=, $1=, $pop100 i32.sub $push98=, $pop4, $pop99 - tee_local $push97=, $0=, $pop98 + tee_local $push97=, $2=, $pop98 i32.shl $push5=, $pop102, $pop97 - i32.shr_u $push3=, $2, $1 + i32.shr_u $push3=, $0, $1 i32.or $push6=, $pop5, $pop3 i32.const $push96=, 835 i32.ne $push7=, $pop6, $pop96 br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push8=, 4 - i32.shr_u $push9=, $2, $pop8 + i32.shr_u $push10=, $0, $pop8 i32.const $push105=, 4 - i32.shl $push10=, $2, $pop105 - i32.or $push11=, $pop9, $pop10 + i32.shl $push9=, $0, $pop105 + i32.or $push11=, $pop10, $pop9 i32.const $push104=, 835 i32.ne $push12=, $pop11, $pop104 br_if 0, $pop12 # 0: down to label0 # BB#2: # %if.end11 - i32.const $push13=, 0 - i32.load16_u $push110=, us($pop13) - tee_local $push109=, $4=, $pop110 - i32.shr_u $push14=, $pop109, $1 - i32.const $push15=, 16 - i32.sub $push108=, $pop15, $1 - tee_local $push107=, $3=, $pop108 - i32.shl $push16=, $4, $pop107 - i32.or $push17=, $pop14, $pop16 + i32.const $push14=, 0 + i32.load16_u $push110=, us($pop14) + tee_local $push109=, $3=, $pop110 + i32.shr_u $push16=, $pop109, $1 + i32.const $push13=, 16 + i32.sub $push108=, $pop13, $1 + tee_local $push107=, $4=, $pop108 + i32.shl $push15=, $3, $pop107 + i32.or $push17=, $pop16, $pop15 i32.const $push106=, 253972259 i32.ne $push18=, $pop17, $pop106 br_if 0, $pop18 # 0: down to label0 # BB#3: # %if.end21 - i32.const $push19=, 4 - i32.shr_u $push20=, $4, $pop19 - i32.const $push21=, 12 - i32.shl $push22=, $4, $pop21 - i32.or $push23=, $pop20, $pop22 + i32.const $push21=, 4 + i32.shr_u $push22=, $3, $pop21 + i32.const $push19=, 12 + i32.shl $push20=, $3, $pop19 + i32.or $push23=, $pop22, $pop20 i32.const $push111=, 253972259 i32.ne $push24=, $pop23, $pop111 br_if 0, $pop24 # 0: down to label0 # BB#4: # %if.end30 - i32.const $push25=, 0 - i32.load $push114=, ui($pop25) + i32.const $push26=, 0 + i32.load $push114=, ui($pop26) tee_local $push113=, $5=, $pop114 i32.rotr $push27=, $pop113, $1 i32.const $push112=, 1073745699 @@ -73,12 +73,12 @@ main: # @main i32.const $push32=, 0 i32.load $push120=, ul($pop32) tee_local $push119=, $7=, $pop120 - i32.shr_u $push33=, $pop119, $1 - i32.const $push26=, 32 - i32.sub $push118=, $pop26, $1 + i32.shr_u $push34=, $pop119, $1 + i32.const $push25=, 32 + i32.sub $push118=, $pop25, $1 tee_local $push117=, $6=, $pop118 - i32.shl $push34=, $7, $pop117 - i32.or $push35=, $pop33, $pop34 + i32.shl $push33=, $7, $pop117 + i32.or $push35=, $pop34, $pop33 i32.const $push116=, -1893513881 i32.ne $push36=, $pop35, $pop116 br_if 0, $pop36 # 0: down to label0 @@ -91,16 +91,16 @@ main: # @main # BB#8: # %if.end60 i32.const $push40=, 0 i64.load $push126=, ull($pop40) - tee_local $push125=, $9=, $pop126 + tee_local $push125=, $8=, $pop126 i64.extend_u/i32 $push124=, $1 - tee_local $push123=, $8=, $pop124 - i64.rotr $push43=, $pop125, $pop123 + tee_local $push123=, $9=, $pop124 + i64.rotr $push41=, $pop125, $pop123 i64.const $push122=, 68174490360335855 - i64.ne $push44=, $pop43, $pop122 - br_if 0, $pop44 # 0: down to label0 + i64.ne $push42=, $pop41, $pop122 + br_if 0, $pop42 # 0: down to label0 # BB#9: # %if.end69 i64.const $push45=, 60 - i64.rotl $push46=, $9, $pop45 + i64.rotl $push46=, $8, $pop45 i64.const $push127=, 68174490360335855 i64.ne $push47=, $pop46, $pop127 br_if 0, $pop47 # 0: down to label0 @@ -110,43 +110,43 @@ main: # @main tee_local $push131=, $11=, $pop132 i64.extend_u/i32 $push130=, $pop131 tee_local $push129=, $10=, $pop130 - i64.rotr $push51=, $9, $pop129 + i64.rotr $push49=, $8, $pop129 i64.const $push128=, -994074541463572736 - i64.ne $push52=, $pop51, $pop128 - br_if 0, $pop52 # 0: down to label0 + i64.ne $push50=, $pop49, $pop128 + br_if 0, $pop50 # 0: down to label0 # BB#11: # %if.end86 i64.const $push53=, 4 - i64.rotl $push54=, $9, $pop53 + i64.rotl $push54=, $8, $pop53 i64.const $push133=, -994074541463572736 i64.ne $push55=, $pop54, $pop133 br_if 0, $pop55 # 0: down to label0 # BB#12: # %if.end93 - i32.shr_u $push57=, $2, $0 - i32.shl $push56=, $2, $1 + i32.shr_u $push57=, $0, $2 + i32.shl $push56=, $0, $1 i32.or $push58=, $pop57, $pop56 i32.const $push59=, 835 i32.ne $push60=, $pop58, $pop59 br_if 0, $pop60 # 0: down to label0 # BB#13: # %if.end112 - i32.shl $push61=, $4, $1 - i32.shr_u $push62=, $4, $3 - i32.or $push63=, $pop61, $pop62 + i32.shl $push62=, $3, $1 + i32.shr_u $push61=, $3, $4 + i32.or $push63=, $pop62, $pop61 i32.const $push134=, 992079 i32.ne $push64=, $pop63, $pop134 br_if 0, $pop64 # 0: down to label0 # BB#14: # %if.end122 - i32.const $push65=, 4 - i32.shl $push66=, $4, $pop65 - i32.const $push67=, 12 - i32.shr_u $push68=, $4, $pop67 - i32.or $push69=, $pop66, $pop68 + i32.const $push67=, 4 + i32.shl $push68=, $3, $pop67 + i32.const $push65=, 12 + i32.shr_u $push66=, $3, $pop65 + i32.or $push69=, $pop68, $pop66 i32.const $push135=, 992079 i32.ne $push70=, $pop69, $pop135 br_if 0, $pop70 # 0: down to label0 # BB#15: # %if.end131 - i32.shl $push71=, $5, $1 - i32.shr_u $push72=, $5, $6 - i32.or $push73=, $pop71, $pop72 + i32.shl $push72=, $5, $1 + i32.shr_u $push71=, $5, $6 + i32.or $push73=, $pop72, $pop71 i32.const $push136=, 992064 i32.ne $push74=, $pop73, $pop136 br_if 0, $pop74 # 0: down to label0 @@ -157,9 +157,9 @@ main: # @main i32.ne $push77=, $pop76, $pop137 br_if 0, $pop77 # 0: down to label0 # BB#17: # %if.end146 - i32.shl $push78=, $7, $1 - i32.shr_u $push79=, $7, $6 - i32.or $push80=, $pop78, $pop79 + i32.shl $push79=, $7, $1 + i32.shr_u $push78=, $7, $6 + i32.or $push80=, $pop79, $pop78 i32.const $push138=, 591751055 i32.ne $push81=, $pop80, $pop138 br_if 0, $pop81 # 0: down to label0 @@ -170,21 +170,21 @@ main: # @main i32.ne $push84=, $pop83, $pop139 br_if 0, $pop84 # 0: down to label0 # BB#19: # %if.end161 - i64.shl $push85=, $9, $8 - i32.const $push41=, 64 - i32.sub $push42=, $pop41, $1 - i64.extend_u/i32 $push0=, $pop42 - i64.shr_u $push86=, $9, $pop0 - i64.or $push87=, $pop85, $pop86 + i64.shl $push86=, $8, $9 + i32.const $push43=, 64 + i32.sub $push44=, $pop43, $1 + i64.extend_u/i32 $push0=, $pop44 + i64.shr_u $push85=, $8, $pop0 + i64.or $push87=, $pop86, $pop85 i64.const $push88=, -994074541463572736 i64.ne $push89=, $pop87, $pop88 br_if 0, $pop89 # 0: down to label0 # BB#20: # %if.end178 - i32.const $push49=, 64 - i32.sub $push50=, $pop49, $11 - i64.extend_u/i32 $push1=, $pop50 - i64.shr_u $push91=, $9, $pop1 - i64.shl $push90=, $9, $10 + i32.const $push51=, 64 + i32.sub $push52=, $pop51, $11 + i64.extend_u/i32 $push1=, $pop52 + i64.shr_u $push91=, $8, $pop1 + i64.shl $push90=, $8, $10 i64.or $push92=, $pop91, $pop90 i64.const $push93=, 68174490360335855 i64.ne $push94=, $pop92, $pop93 diff --git a/test/torture-s/20020508-2.c.s b/test/torture-s/20020508-2.c.s index c5104bdff..b9f6d8e37 100644 --- a/test/torture-s/20020508-2.c.s +++ b/test/torture-s/20020508-2.c.s @@ -11,69 +11,69 @@ main: # @main block i32.const $push0=, 0 i32.load8_s $push125=, c($pop0) - tee_local $push124=, $2=, $pop125 + tee_local $push124=, $0=, $pop125 i32.const $push2=, 8 i32.const $push123=, 0 i32.load $push122=, shift1($pop123) tee_local $push121=, $1=, $pop122 i32.sub $push120=, $pop2, $pop121 - tee_local $push119=, $0=, $pop120 + tee_local $push119=, $2=, $pop120 i32.shl $push3=, $pop124, $pop119 - i32.shr_s $push1=, $2, $1 + i32.shr_s $push1=, $0, $1 i32.or $push4=, $pop3, $pop1 i32.const $push118=, 835 i32.ne $push5=, $pop4, $pop118 br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 4 - i32.shr_s $push7=, $2, $pop6 + i32.shr_s $push8=, $0, $pop6 i32.const $push127=, 4 - i32.shl $push8=, $2, $pop127 - i32.or $push9=, $pop7, $pop8 + i32.shl $push7=, $0, $pop127 + i32.or $push9=, $pop8, $pop7 i32.const $push126=, 835 i32.ne $push10=, $pop9, $pop126 br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.end11 - i32.const $push11=, 0 - i32.load16_s $push132=, s($pop11) - tee_local $push131=, $4=, $pop132 - i32.shr_s $push12=, $pop131, $1 - i32.const $push13=, 16 - i32.sub $push130=, $pop13, $1 - tee_local $push129=, $3=, $pop130 - i32.shl $push14=, $4, $pop129 - i32.or $push15=, $pop12, $pop14 + i32.const $push12=, 0 + i32.load16_s $push132=, s($pop12) + tee_local $push131=, $3=, $pop132 + i32.shr_s $push14=, $pop131, $1 + i32.const $push11=, 16 + i32.sub $push130=, $pop11, $1 + tee_local $push129=, $4=, $pop130 + i32.shl $push13=, $3, $pop129 + i32.or $push15=, $pop14, $pop13 i32.const $push128=, 19087651 i32.ne $push16=, $pop15, $pop128 br_if 0, $pop16 # 0: down to label0 # BB#3: # %if.end21 - i32.const $push17=, 4 - i32.shr_s $push18=, $4, $pop17 - i32.const $push19=, 12 - i32.shl $push20=, $4, $pop19 - i32.or $push21=, $pop18, $pop20 + i32.const $push19=, 4 + i32.shr_s $push20=, $3, $pop19 + i32.const $push17=, 12 + i32.shl $push18=, $3, $pop17 + i32.or $push21=, $pop20, $pop18 i32.const $push133=, 19087651 i32.ne $push22=, $pop21, $pop133 br_if 0, $pop22 # 0: down to label0 # BB#4: # %if.end30 - i32.const $push23=, 0 - i32.load $push138=, i($pop23) - tee_local $push137=, $6=, $pop138 - i32.shr_s $push24=, $pop137, $1 - i32.const $push25=, 32 - i32.sub $push136=, $pop25, $1 - tee_local $push135=, $5=, $pop136 - i32.shl $push26=, $6, $pop135 - i32.or $push27=, $pop24, $pop26 + i32.const $push24=, 0 + i32.load $push138=, i($pop24) + tee_local $push137=, $5=, $pop138 + i32.shr_s $push26=, $pop137, $1 + i32.const $push23=, 32 + i32.sub $push136=, $pop23, $1 + tee_local $push135=, $6=, $pop136 + i32.shl $push25=, $5, $pop135 + i32.or $push27=, $pop26, $pop25 i32.const $push134=, 1073742115 i32.ne $push28=, $pop27, $pop134 br_if 0, $pop28 # 0: down to label0 # BB#5: # %if.end38 - i32.const $push29=, 4 - i32.shr_s $push30=, $6, $pop29 - i32.const $push31=, 28 - i32.shl $push32=, $6, $pop31 - i32.or $push33=, $pop30, $pop32 + i32.const $push31=, 4 + i32.shr_s $push32=, $5, $pop31 + i32.const $push29=, 28 + i32.shl $push30=, $5, $pop29 + i32.or $push33=, $pop32, $pop30 i32.const $push139=, 1073742115 i32.ne $push34=, $pop33, $pop139 br_if 0, $pop34 # 0: down to label0 @@ -81,43 +81,43 @@ main: # @main i32.const $push35=, 0 i32.load $push142=, l($pop35) tee_local $push141=, $7=, $pop142 - i32.shr_s $push36=, $pop141, $1 - i32.shl $push37=, $7, $5 - i32.or $push38=, $pop36, $pop37 + i32.shr_s $push37=, $pop141, $1 + i32.shl $push36=, $7, $6 + i32.or $push38=, $pop37, $pop36 i32.const $push140=, -2128394905 i32.ne $push39=, $pop38, $pop140 br_if 0, $pop39 # 0: down to label0 # BB#7: # %if.end53 - i32.const $push40=, 4 - i32.shr_s $push41=, $7, $pop40 - i32.const $push42=, 28 - i32.shl $push43=, $7, $pop42 - i32.or $push44=, $pop41, $pop43 + i32.const $push42=, 4 + i32.shr_s $push43=, $7, $pop42 + i32.const $push40=, 28 + i32.shl $push41=, $7, $pop40 + i32.or $push44=, $pop43, $pop41 i32.const $push143=, -2128394905 i32.ne $push45=, $pop44, $pop143 br_if 0, $pop45 # 0: down to label0 # BB#8: # %if.end60 i32.const $push46=, 0 i64.load $push150=, ll($pop46) - tee_local $push149=, $10=, $pop150 + tee_local $push149=, $8=, $pop150 i64.extend_u/i32 $push148=, $1 tee_local $push147=, $9=, $pop148 i64.shr_s $push47=, $pop149, $pop147 i32.const $push48=, 64 i32.sub $push49=, $pop48, $1 i64.extend_u/i32 $push146=, $pop49 - tee_local $push145=, $8=, $pop146 - i64.shl $push50=, $10, $pop145 + tee_local $push145=, $10=, $pop146 + i64.shl $push50=, $8, $pop145 i64.or $push51=, $pop47, $pop50 i64.const $push144=, 5124095577148911 i64.ne $push52=, $pop51, $pop144 br_if 0, $pop52 # 0: down to label0 # BB#9: # %if.end69 - i64.const $push53=, 4 - i64.shr_s $push54=, $10, $pop53 - i64.const $push55=, 60 - i64.shl $push56=, $10, $pop55 - i64.or $push57=, $pop54, $pop56 + i64.const $push55=, 4 + i64.shr_s $push56=, $8, $pop55 + i64.const $push53=, 60 + i64.shl $push54=, $8, $pop53 + i64.or $push57=, $pop56, $pop54 i64.const $push151=, 5124095577148911 i64.ne $push58=, $pop57, $pop151 br_if 0, $pop58 # 0: down to label0 @@ -129,88 +129,88 @@ main: # @main i32.sub $push62=, $pop61, $pop157 i64.extend_u/i32 $push156=, $pop62 tee_local $push155=, $12=, $pop156 - i64.shl $push63=, $10, $pop155 + i64.shl $push63=, $8, $pop155 i64.extend_u/i32 $push154=, $13 tee_local $push153=, $11=, $pop154 - i64.shr_s $push60=, $10, $pop153 + i64.shr_s $push60=, $8, $pop153 i64.or $push64=, $pop63, $pop60 i64.const $push152=, 1311768467750121216 i64.ne $push65=, $pop64, $pop152 br_if 0, $pop65 # 0: down to label0 # BB#11: # %if.end86 - i64.const $push66=, 60 - i64.shr_s $push67=, $10, $pop66 - i64.const $push68=, 4 - i64.shl $push69=, $10, $pop68 - i64.or $push70=, $pop67, $pop69 + i64.const $push68=, 60 + i64.shr_s $push69=, $8, $pop68 + i64.const $push66=, 4 + i64.shl $push67=, $8, $pop66 + i64.or $push70=, $pop69, $pop67 i64.const $push159=, 1311768467750121216 i64.ne $push71=, $pop70, $pop159 br_if 0, $pop71 # 0: down to label0 # BB#12: # %if.end93 - i32.shr_s $push73=, $2, $0 - i32.shl $push72=, $2, $1 + i32.shr_s $push73=, $0, $2 + i32.shl $push72=, $0, $1 i32.or $push74=, $pop73, $pop72 i32.const $push75=, 835 i32.ne $push76=, $pop74, $pop75 br_if 0, $pop76 # 0: down to label0 # BB#13: # %if.end112 - i32.shl $push77=, $4, $1 - i32.shr_s $push78=, $4, $3 - i32.or $push79=, $pop77, $pop78 + i32.shl $push78=, $3, $1 + i32.shr_s $push77=, $3, $4 + i32.or $push79=, $pop78, $pop77 i32.const $push160=, 74561 i32.ne $push80=, $pop79, $pop160 br_if 0, $pop80 # 0: down to label0 # BB#14: # %if.end122 - i32.const $push81=, 4 - i32.shl $push82=, $4, $pop81 - i32.const $push83=, 12 - i32.shr_s $push84=, $4, $pop83 - i32.or $push85=, $pop82, $pop84 + i32.const $push83=, 4 + i32.shl $push84=, $3, $pop83 + i32.const $push81=, 12 + i32.shr_s $push82=, $3, $pop81 + i32.or $push85=, $pop84, $pop82 i32.const $push161=, 74561 i32.ne $push86=, $pop85, $pop161 br_if 0, $pop86 # 0: down to label0 # BB#15: # %if.end131 - i32.shl $push87=, $6, $1 - i32.shr_s $push88=, $6, $5 - i32.or $push89=, $pop87, $pop88 + i32.shl $push88=, $5, $1 + i32.shr_s $push87=, $5, $6 + i32.or $push89=, $pop88, $pop87 i32.const $push162=, 74560 i32.ne $push90=, $pop89, $pop162 br_if 0, $pop90 # 0: down to label0 # BB#16: # %if.end139 - i32.const $push91=, 4 - i32.shl $push92=, $6, $pop91 - i32.const $push93=, 28 - i32.shr_s $push94=, $6, $pop93 - i32.or $push95=, $pop92, $pop94 + i32.const $push93=, 4 + i32.shl $push94=, $5, $pop93 + i32.const $push91=, 28 + i32.shr_s $push92=, $5, $pop91 + i32.or $push95=, $pop94, $pop92 i32.const $push163=, 74560 i32.ne $push96=, $pop95, $pop163 br_if 0, $pop96 # 0: down to label0 # BB#17: # %if.end146 - i32.shl $push97=, $7, $1 - i32.shr_s $push98=, $7, $5 - i32.or $push99=, $pop97, $pop98 + i32.shl $push98=, $7, $1 + i32.shr_s $push97=, $7, $6 + i32.or $push99=, $pop98, $pop97 i32.const $push164=, 591751041 i32.ne $push100=, $pop99, $pop164 br_if 0, $pop100 # 0: down to label0 # BB#18: # %if.end154 - i32.const $push101=, 4 - i32.shl $push102=, $7, $pop101 - i32.const $push103=, 28 - i32.shr_s $push104=, $7, $pop103 - i32.or $push105=, $pop102, $pop104 + i32.const $push103=, 4 + i32.shl $push104=, $7, $pop103 + i32.const $push101=, 28 + i32.shr_s $push102=, $7, $pop101 + i32.or $push105=, $pop104, $pop102 i32.const $push165=, 591751041 i32.ne $push106=, $pop105, $pop165 br_if 0, $pop106 # 0: down to label0 # BB#19: # %if.end161 - i64.shl $push107=, $10, $9 - i64.shr_s $push108=, $10, $8 - i64.or $push109=, $pop107, $pop108 + i64.shl $push108=, $8, $9 + i64.shr_s $push107=, $8, $10 + i64.or $push109=, $pop108, $pop107 i64.const $push110=, 1311768467750121216 i64.ne $push111=, $pop109, $pop110 br_if 0, $pop111 # 0: down to label0 # BB#20: # %if.end178 - i64.shr_s $push113=, $10, $12 - i64.shl $push112=, $10, $11 + i64.shr_s $push113=, $8, $12 + i64.shl $push112=, $8, $11 i64.or $push114=, $pop113, $pop112 i64.const $push115=, 5124095577148911 i64.ne $push116=, $pop114, $pop115 diff --git a/test/torture-s/20020508-3.c.s b/test/torture-s/20020508-3.c.s index 3f548040b..8eb4bc838 100644 --- a/test/torture-s/20020508-3.c.s +++ b/test/torture-s/20020508-3.c.s @@ -11,69 +11,69 @@ main: # @main block i32.const $push0=, 0 i32.load8_s $push125=, c($pop0) - tee_local $push124=, $2=, $pop125 + tee_local $push124=, $0=, $pop125 i32.const $push2=, 8 i32.const $push123=, 0 i32.load $push122=, shift1($pop123) tee_local $push121=, $1=, $pop122 i32.sub $push120=, $pop2, $pop121 - tee_local $push119=, $0=, $pop120 + tee_local $push119=, $2=, $pop120 i32.shl $push3=, $pop124, $pop119 - i32.shr_s $push1=, $2, $1 + i32.shr_s $push1=, $0, $1 i32.or $push4=, $pop3, $pop1 i32.const $push118=, 835 i32.ne $push5=, $pop4, $pop118 br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 4 - i32.shr_s $push7=, $2, $pop6 + i32.shr_s $push8=, $0, $pop6 i32.const $push127=, 4 - i32.shl $push8=, $2, $pop127 - i32.or $push9=, $pop7, $pop8 + i32.shl $push7=, $0, $pop127 + i32.or $push9=, $pop8, $pop7 i32.const $push126=, 835 i32.ne $push10=, $pop9, $pop126 br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.end11 - i32.const $push11=, 0 - i32.load16_s $push132=, s($pop11) - tee_local $push131=, $4=, $pop132 - i32.shr_s $push12=, $pop131, $1 - i32.const $push13=, 16 - i32.sub $push130=, $pop13, $1 - tee_local $push129=, $3=, $pop130 - i32.shl $push14=, $4, $pop129 - i32.or $push15=, $pop12, $pop14 + i32.const $push12=, 0 + i32.load16_s $push132=, s($pop12) + tee_local $push131=, $3=, $pop132 + i32.shr_s $push14=, $pop131, $1 + i32.const $push11=, 16 + i32.sub $push130=, $pop11, $1 + tee_local $push129=, $4=, $pop130 + i32.shl $push13=, $3, $pop129 + i32.or $push15=, $pop14, $pop13 i32.const $push128=, -221 i32.ne $push16=, $pop15, $pop128 br_if 0, $pop16 # 0: down to label0 # BB#3: # %if.end21 - i32.const $push17=, 4 - i32.shr_s $push18=, $4, $pop17 - i32.const $push19=, 12 - i32.shl $push20=, $4, $pop19 - i32.or $push21=, $pop18, $pop20 + i32.const $push19=, 4 + i32.shr_s $push20=, $3, $pop19 + i32.const $push17=, 12 + i32.shl $push18=, $3, $pop17 + i32.or $push21=, $pop20, $pop18 i32.const $push133=, -221 i32.ne $push22=, $pop21, $pop133 br_if 0, $pop22 # 0: down to label0 # BB#4: # %if.end30 - i32.const $push23=, 0 - i32.load $push138=, i($pop23) - tee_local $push137=, $6=, $pop138 - i32.shr_s $push24=, $pop137, $1 - i32.const $push25=, 32 - i32.sub $push136=, $pop25, $1 - tee_local $push135=, $5=, $pop136 - i32.shl $push26=, $6, $pop135 - i32.or $push27=, $pop24, $pop26 + i32.const $push24=, 0 + i32.load $push138=, i($pop24) + tee_local $push137=, $5=, $pop138 + i32.shr_s $push26=, $pop137, $1 + i32.const $push23=, 32 + i32.sub $push136=, $pop23, $1 + tee_local $push135=, $6=, $pop136 + i32.shl $push25=, $5, $pop135 + i32.or $push27=, $pop26, $pop25 i32.const $push134=, 1073745699 i32.ne $push28=, $pop27, $pop134 br_if 0, $pop28 # 0: down to label0 # BB#5: # %if.end38 - i32.const $push29=, 4 - i32.shr_s $push30=, $6, $pop29 - i32.const $push31=, 28 - i32.shl $push32=, $6, $pop31 - i32.or $push33=, $pop30, $pop32 + i32.const $push31=, 4 + i32.shr_s $push32=, $5, $pop31 + i32.const $push29=, 28 + i32.shl $push30=, $5, $pop29 + i32.or $push33=, $pop32, $pop30 i32.const $push139=, 1073745699 i32.ne $push34=, $pop33, $pop139 br_if 0, $pop34 # 0: down to label0 @@ -81,43 +81,43 @@ main: # @main i32.const $push35=, 0 i32.load $push142=, l($pop35) tee_local $push141=, $7=, $pop142 - i32.shr_s $push36=, $pop141, $1 - i32.shl $push37=, $7, $5 - i32.or $push38=, $pop36, $pop37 + i32.shr_s $push37=, $pop141, $1 + i32.shl $push36=, $7, $6 + i32.or $push38=, $pop37, $pop36 i32.const $push140=, -14465689 i32.ne $push39=, $pop38, $pop140 br_if 0, $pop39 # 0: down to label0 # BB#7: # %if.end53 - i32.const $push40=, 4 - i32.shr_s $push41=, $7, $pop40 - i32.const $push42=, 28 - i32.shl $push43=, $7, $pop42 - i32.or $push44=, $pop41, $pop43 + i32.const $push42=, 4 + i32.shr_s $push43=, $7, $pop42 + i32.const $push40=, 28 + i32.shl $push41=, $7, $pop40 + i32.or $push44=, $pop43, $pop41 i32.const $push143=, -14465689 i32.ne $push45=, $pop44, $pop143 br_if 0, $pop45 # 0: down to label0 # BB#8: # %if.end60 i32.const $push46=, 0 i64.load $push150=, ll($pop46) - tee_local $push149=, $10=, $pop150 + tee_local $push149=, $8=, $pop150 i64.extend_u/i32 $push148=, $1 tee_local $push147=, $9=, $pop148 i64.shr_s $push47=, $pop149, $pop147 i32.const $push48=, 64 i32.sub $push49=, $pop48, $1 i64.extend_u/i32 $push146=, $pop49 - tee_local $push145=, $8=, $pop146 - i64.shl $push50=, $10, $pop145 + tee_local $push145=, $10=, $pop146 + i64.shl $push50=, $8, $pop145 i64.or $push51=, $pop47, $pop50 i64.const $push144=, 68174490360335855 i64.ne $push52=, $pop51, $pop144 br_if 0, $pop52 # 0: down to label0 # BB#9: # %if.end69 - i64.const $push53=, 4 - i64.shr_s $push54=, $10, $pop53 - i64.const $push55=, 60 - i64.shl $push56=, $10, $pop55 - i64.or $push57=, $pop54, $pop56 + i64.const $push55=, 4 + i64.shr_s $push56=, $8, $pop55 + i64.const $push53=, 60 + i64.shl $push54=, $8, $pop53 + i64.or $push57=, $pop56, $pop54 i64.const $push151=, 68174490360335855 i64.ne $push58=, $pop57, $pop151 br_if 0, $pop58 # 0: down to label0 @@ -129,88 +129,88 @@ main: # @main i32.sub $push62=, $pop61, $pop157 i64.extend_u/i32 $push156=, $pop62 tee_local $push155=, $12=, $pop156 - i64.shl $push63=, $10, $pop155 + i64.shl $push63=, $8, $pop155 i64.extend_u/i32 $push154=, $13 tee_local $push153=, $11=, $pop154 - i64.shr_s $push60=, $10, $pop153 + i64.shr_s $push60=, $8, $pop153 i64.or $push64=, $pop63, $pop60 i64.const $push152=, -994074541463572736 i64.ne $push65=, $pop64, $pop152 br_if 0, $pop65 # 0: down to label0 # BB#11: # %if.end86 - i64.const $push66=, 60 - i64.shr_s $push67=, $10, $pop66 - i64.const $push68=, 4 - i64.shl $push69=, $10, $pop68 - i64.or $push70=, $pop67, $pop69 + i64.const $push68=, 60 + i64.shr_s $push69=, $8, $pop68 + i64.const $push66=, 4 + i64.shl $push67=, $8, $pop66 + i64.or $push70=, $pop69, $pop67 i64.const $push159=, -994074541463572736 i64.ne $push71=, $pop70, $pop159 br_if 0, $pop71 # 0: down to label0 # BB#12: # %if.end93 - i32.shr_s $push73=, $2, $0 - i32.shl $push72=, $2, $1 + i32.shr_s $push73=, $0, $2 + i32.shl $push72=, $0, $1 i32.or $push74=, $pop73, $pop72 i32.const $push75=, 835 i32.ne $push76=, $pop74, $pop75 br_if 0, $pop76 # 0: down to label0 # BB#13: # %if.end112 - i32.shl $push77=, $4, $1 - i32.shr_s $push78=, $4, $3 - i32.or $push79=, $pop77, $pop78 + i32.shl $push78=, $3, $1 + i32.shr_s $push77=, $3, $4 + i32.or $push79=, $pop78, $pop77 i32.const $push160=, -1 i32.ne $push80=, $pop79, $pop160 br_if 0, $pop80 # 0: down to label0 # BB#14: # %if.end122 - i32.const $push81=, 4 - i32.shl $push82=, $4, $pop81 - i32.const $push83=, 12 - i32.shr_s $push84=, $4, $pop83 - i32.or $push85=, $pop82, $pop84 + i32.const $push83=, 4 + i32.shl $push84=, $3, $pop83 + i32.const $push81=, 12 + i32.shr_s $push82=, $3, $pop81 + i32.or $push85=, $pop84, $pop82 i32.const $push161=, -1 i32.ne $push86=, $pop85, $pop161 br_if 0, $pop86 # 0: down to label0 # BB#15: # %if.end131 - i32.shl $push87=, $6, $1 - i32.shr_s $push88=, $6, $5 - i32.or $push89=, $pop87, $pop88 + i32.shl $push88=, $5, $1 + i32.shr_s $push87=, $5, $6 + i32.or $push89=, $pop88, $pop87 i32.const $push162=, 992064 i32.ne $push90=, $pop89, $pop162 br_if 0, $pop90 # 0: down to label0 # BB#16: # %if.end139 - i32.const $push91=, 4 - i32.shl $push92=, $6, $pop91 - i32.const $push93=, 28 - i32.shr_s $push94=, $6, $pop93 - i32.or $push95=, $pop92, $pop94 + i32.const $push93=, 4 + i32.shl $push94=, $5, $pop93 + i32.const $push91=, 28 + i32.shr_s $push92=, $5, $pop91 + i32.or $push95=, $pop94, $pop92 i32.const $push163=, 992064 i32.ne $push96=, $pop95, $pop163 br_if 0, $pop96 # 0: down to label0 # BB#17: # %if.end146 - i32.shl $push97=, $7, $1 - i32.shr_s $push98=, $7, $5 - i32.or $push99=, $pop97, $pop98 + i32.shl $push98=, $7, $1 + i32.shr_s $push97=, $7, $6 + i32.or $push99=, $pop98, $pop97 i32.const $push164=, -1 i32.ne $push100=, $pop99, $pop164 br_if 0, $pop100 # 0: down to label0 # BB#18: # %if.end154 - i32.const $push101=, 4 - i32.shl $push102=, $7, $pop101 - i32.const $push103=, 28 - i32.shr_s $push104=, $7, $pop103 - i32.or $push105=, $pop102, $pop104 + i32.const $push103=, 4 + i32.shl $push104=, $7, $pop103 + i32.const $push101=, 28 + i32.shr_s $push102=, $7, $pop101 + i32.or $push105=, $pop104, $pop102 i32.const $push165=, -1 i32.ne $push106=, $pop105, $pop165 br_if 0, $pop106 # 0: down to label0 # BB#19: # %if.end161 - i64.shl $push107=, $10, $9 - i64.shr_s $push108=, $10, $8 - i64.or $push109=, $pop107, $pop108 + i64.shl $push108=, $8, $9 + i64.shr_s $push107=, $8, $10 + i64.or $push109=, $pop108, $pop107 i64.const $push110=, -994074541463572736 i64.ne $push111=, $pop109, $pop110 br_if 0, $pop111 # 0: down to label0 # BB#20: # %if.end178 - i64.shr_s $push113=, $10, $12 - i64.shl $push112=, $10, $11 + i64.shr_s $push113=, $8, $12 + i64.shl $push112=, $8, $11 i64.or $push114=, $pop113, $pop112 i64.const $push115=, 68174490360335855 i64.ne $push116=, $pop114, $pop115 diff --git a/test/torture-s/20020510-1.c.s b/test/torture-s/20020510-1.c.s index e03576072..59b937310 100644 --- a/test/torture-s/20020510-1.c.s +++ b/test/torture-s/20020510-1.c.s @@ -144,7 +144,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/20020529-1.c.s b/test/torture-s/20020529-1.c.s index 0f1647040..4336354fe 100644 --- a/test/torture-s/20020529-1.c.s +++ b/test/torture-s/20020529-1.c.s @@ -9,67 +9,61 @@ foo: # @foo .result i32 .local i32, i32, i32 # BB#0: # %entry + i32.const $push7=, 0 + i32.load $6=, f1.beenhere($pop7) i32.const $push2=, 8 i32.add $5=, $0, $pop2 - i32.const $push6=, 0 - i32.load $4=, f1.beenhere($pop6) -.LBB0_1: # %for.cond.outer - # =>This Loop Header: Depth=1 - # Child Loop BB0_2 Depth 2 +.LBB0_1: # %for.cond + # =>This Inner Loop Header: Depth=1 block block loop # label2: - copy_local $6=, $4 -.LBB0_2: # %for.cond - # Parent Loop BB0_1 Depth=1 - # => This Inner Loop Header: Depth=2 - loop # label4: - i32.const $push10=, 1 - i32.add $4=, $6, $pop10 - i32.const $push9=, 2 - i32.ge_s $push0=, $6, $pop9 - br_if 5, $pop0 # 5: down to label0 -# BB#3: # %f1.exit - # in Loop: Header=BB0_2 Depth=2 i32.const $push11=, 1 - i32.eq $push1=, $6, $pop11 - br_if 4, $pop1 # 4: down to label1 -# BB#4: # %if.end - # in Loop: Header=BB0_2 Depth=2 + i32.add $4=, $6, $pop11 + i32.const $push10=, 2 + i32.ge_s $push0=, $6, $pop10 + br_if 3, $pop0 # 3: down to label0 +# BB#2: # %f1.exit + # in Loop: Header=BB0_1 Depth=1 + i32.const $push12=, 1 + i32.eq $push1=, $6, $pop12 + br_if 2, $pop1 # 2: down to label1 +# BB#3: # %if.end + # in Loop: Header=BB0_1 Depth=1 copy_local $6=, $4 - br_if 0, $1 # 0: up to label4 -# BB#5: # %if.end3 + br_if 0, $1 # 0: up to label2 +# BB#4: # %if.end3 # in Loop: Header=BB0_1 Depth=1 - end_loop # label5: - i32.const $push12=, 0 - i32.store $drop=, f1.beenhere($pop12), $4 - i32.load $6=, 0($0) - i32.store16 $drop=, 0($5), $3 - br_if 1, $6 # 1: down to label3 -# BB#6: # %if.end8 + i32.const $push13=, 0 + i32.store $6=, f1.beenhere($pop13), $4 + i32.store16 $4=, 0($5), $3 + i32.load $push3=, 0($0) + br_if 1, $pop3 # 1: down to label3 +# BB#5: # %if.end8 # in Loop: Header=BB0_1 Depth=1 br_if 1, $2 # 1: down to label3 -# BB#7: # %for.cond.outer.backedge +# BB#6: # %for.cond.outer.backedge # in Loop: Header=BB0_1 Depth=1 + i32.const $push9=, 16 + i32.shl $push4=, $4, $pop9 i32.const $push8=, 16 - i32.shl $push3=, $3, $pop8 - i32.const $push7=, 16 - i32.shr_s $3=, $pop3, $pop7 + i32.shr_s $3=, $pop4, $pop8 + copy_local $6=, $6 br 0 # 0: up to label2 -.LBB0_8: # %if.then10 +.LBB0_7: # %if.then10 end_loop # label3: call f2@FUNCTION unreachable -.LBB0_9: # %if.then +.LBB0_8: # %if.then end_block # label1: - i32.const $push4=, 0 - i32.store $drop=, f1.beenhere($pop4), $4 - i32.const $push13=, 0 - return $pop13 -.LBB0_10: # %if.then.i - end_block # label0: i32.const $push5=, 0 i32.store $drop=, f1.beenhere($pop5), $4 + i32.const $push14=, 0 + return $pop14 +.LBB0_9: # %if.then.i + end_block # label0: + i32.const $push6=, 0 + i32.store $drop=, f1.beenhere($pop6), $4 call abort@FUNCTION unreachable .endfunc @@ -95,13 +89,13 @@ f1: # @f1 block i32.const $push2=, 2 i32.ge_s $push3=, $1, $pop2 - br_if 0, $pop3 # 0: down to label6 + br_if 0, $pop3 # 0: down to label4 # BB#1: # %if.end i32.const $push9=, 1 i32.eq $push4=, $1, $pop9 return $pop4 .LBB1_2: # %if.then - end_block # label6: + end_block # label4: call abort@FUNCTION unreachable .endfunc @@ -128,77 +122,78 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) + i32.const $4=, 23 + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 16 i32.sub $push12=, $pop9, $pop10 - i32.store $push16=, 0($pop11), $pop12 - tee_local $push15=, $2=, $pop16 + i32.store $push18=, __stack_pointer($pop11), $pop12 + tee_local $push17=, $1=, $pop18 + i32.const $push16=, 23 + i32.store16 $drop=, 8($pop17), $pop16 i32.const $push0=, 0 - i32.store $0=, 0($pop15), $pop0 - i32.store $4=, 4($2), $2 - i32.load $2=, f1.beenhere($0) - i32.const $3=, 23 - i32.const $push14=, 23 - i32.store16 $drop=, 8($4), $pop14 + i32.store $push15=, 0($1), $pop0 + tee_local $push14=, $0=, $pop15 + i32.load $3=, f1.beenhere($pop14) + i32.store $drop=, 4($1), $1 block block i32.const $push13=, 1 - i32.gt_s $push1=, $2, $pop13 - br_if 0, $pop1 # 0: down to label8 + i32.gt_s $push1=, $3, $pop13 + br_if 0, $pop1 # 0: down to label6 # BB#1: # %f1.exit.i.preheader i32.const $push3=, 8 - i32.add $1=, $4, $pop3 + i32.add $2=, $1, $pop3 .LBB3_2: # %f1.exit.i # =>This Inner Loop Header: Depth=1 block - loop # label10: - copy_local $push20=, $2 - tee_local $push19=, $4=, $pop20 - i32.const $push18=, 1 - i32.add $2=, $pop19, $pop18 - i32.const $push17=, 1 - i32.eq $push2=, $4, $pop17 - br_if 2, $pop2 # 2: down to label9 + loop # label8: + copy_local $push22=, $3 + tee_local $push21=, $1=, $pop22 + i32.const $push20=, 1 + i32.add $3=, $pop21, $pop20 + i32.const $push19=, 1 + i32.eq $push2=, $1, $pop19 + br_if 2, $pop2 # 2: down to label7 # BB#3: # %if.end.i # in Loop: Header=BB3_2 Depth=1 - i32.const $3=, 0 - i32.const $push22=, 0 - i32.store16 $drop=, 0($1), $pop22 - i32.const $push21=, 1 - i32.le_s $push4=, $2, $pop21 - br_if 0, $pop4 # 0: up to label10 + i32.const $4=, 0 + i32.const $push24=, 0 + i32.store16 $drop=, 0($2), $pop24 + i32.const $push23=, 1 + i32.le_s $push4=, $3, $pop23 + br_if 0, $pop4 # 0: up to label8 # BB#4: # %if.then.i.i.loopexit - end_loop # label11: + end_loop # label9: + i32.const $push25=, 2 + i32.add $1=, $1, $pop25 i32.const $push5=, 0 - i32.store $drop=, f1.beenhere($pop5), $2 - i32.const $push23=, 2 - i32.add $2=, $4, $pop23 - br 2 # 2: down to label7 + i32.store $drop=, f1.beenhere($pop5), $3 + br 2 # 2: down to label5 .LBB3_5: # %foo.exit - end_block # label9: - i32.const $push24=, 0 - i32.store $drop=, f1.beenhere($pop24), $2 + end_block # label7: + i32.const $push26=, 0 + i32.store $drop=, f1.beenhere($pop26), $3 block i32.const $push6=, 65535 - i32.and $push7=, $3, $pop6 - br_if 0, $pop7 # 0: down to label12 + i32.and $push7=, $4, $pop6 + br_if 0, $pop7 # 0: down to label10 # BB#6: # %if.end - i32.const $push25=, 0 - call exit@FUNCTION, $pop25 + i32.const $push27=, 0 + call exit@FUNCTION, $pop27 unreachable .LBB3_7: # %if.then - end_block # label12: + end_block # label10: call abort@FUNCTION unreachable .LBB3_8: - end_block # label8: - i32.const $push26=, 1 - i32.add $2=, $2, $pop26 + end_block # label6: + i32.const $push28=, 1 + i32.add $1=, $3, $pop28 .LBB3_9: # %if.then.i.i - end_block # label7: - i32.store $drop=, f1.beenhere($0), $2 + end_block # label5: + i32.store $drop=, f1.beenhere($0), $1 call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/20020611-1.c.s b/test/torture-s/20020611-1.c.s index c06b62075..596f181d1 100644 --- a/test/torture-s/20020611-1.c.s +++ b/test/torture-s/20020611-1.c.s @@ -14,7 +14,7 @@ x: # @x i32.lt_u $push4=, $pop2, $pop3 i32.store $push0=, p($pop6), $pop4 i32.store $drop=, k($pop1), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size x, .Lfunc_end0-x diff --git a/test/torture-s/20020615-1.c.s b/test/torture-s/20020615-1.c.s index 2812f2d9d..b71448409 100644 --- a/test/torture-s/20020615-1.c.s +++ b/test/torture-s/20020615-1.c.s @@ -7,89 +7,92 @@ line_hints: # @line_hints .param i32, i32, i32 .result i32 - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $5=, 0 - i32.const $push48=, 0 - i32.load $push2=, 0($2) - i32.load $push3=, 0($1) - i32.sub $push47=, $pop2, $pop3 - tee_local $push46=, $4=, $pop47 - i32.sub $push6=, $pop48, $pop46 - i32.load $push45=, 4($0) - tee_local $push44=, $7=, $pop45 - i32.select $push43=, $pop6, $4, $pop44 - tee_local $push42=, $3=, $pop43 - i32.const $push41=, 0 - i32.load $push4=, 4($2) + i32.const $8=, 0 + i32.const $push52=, 0 + i32.load $push6=, 4($2) i32.load $push5=, 4($1) - i32.sub $push40=, $pop4, $pop5 - tee_local $push39=, $2=, $pop40 - i32.sub $push7=, $pop41, $pop39 - i32.load $push38=, 8($0) - tee_local $push37=, $6=, $pop38 - i32.select $push36=, $pop7, $2, $pop37 + i32.sub $push51=, $pop6, $pop5 + tee_local $push50=, $5=, $pop51 + i32.sub $push7=, $pop52, $pop50 + i32.load $push49=, 8($0) + tee_local $push48=, $4=, $pop49 + i32.select $push47=, $pop7, $5, $pop48 + tee_local $push46=, $6=, $pop47 + i32.const $push45=, 0 + i32.load $push3=, 0($2) + i32.load $push2=, 0($1) + i32.sub $push44=, $pop3, $pop2 + tee_local $push43=, $2=, $pop44 + i32.sub $push4=, $pop45, $pop43 + i32.load $push42=, 4($0) + tee_local $push41=, $3=, $pop42 + i32.select $push40=, $pop4, $2, $pop41 + tee_local $push39=, $7=, $pop40 + i32.load $push38=, 0($0) + tee_local $push37=, $1=, $pop38 + i32.select $push36=, $pop46, $pop39, $pop37 tee_local $push35=, $2=, $pop36 - i32.load $push34=, 0($0) - tee_local $push33=, $1=, $pop34 - i32.select $0=, $pop42, $pop35, $pop33 i32.const $push8=, 31 - i32.shr_s $push32=, $0, $pop8 - tee_local $push31=, $4=, $pop32 - i32.add $push9=, $0, $pop31 - i32.xor $4=, $pop9, $4 - i32.select $2=, $2, $3, $1 + i32.shr_s $push34=, $2, $pop8 + tee_local $push33=, $0=, $pop34 + i32.add $push9=, $pop35, $pop33 + i32.xor $5=, $pop9, $0 + i32.select $push32=, $7, $6, $1 + tee_local $push31=, $0=, $pop32 i32.const $push30=, 31 - i32.shr_s $push29=, $2, $pop30 - tee_local $push28=, $3=, $pop29 - i32.add $push10=, $2, $pop28 - i32.xor $3=, $pop10, $3 + i32.shr_s $push29=, $0, $pop30 + tee_local $push28=, $6=, $pop29 + i32.add $push10=, $pop31, $pop28 + i32.xor $6=, $pop10, $6 block block - i32.eqz $push56=, $0 - br_if 0, $pop56 # 0: down to label1 + i32.eqz $push60=, $0 + br_if 0, $pop60 # 0: down to label1 # BB#1: # %entry - i32.const $push49=, 4 - i32.shr_s $push1=, $4, $pop49 - i32.gt_s $push11=, $3, $pop1 + i32.const $push53=, 4 + i32.shr_s $push1=, $6, $pop53 + i32.gt_s $push11=, $5, $pop1 br_if 0, $pop11 # 0: down to label1 # BB#2: # %if.then21 i32.const $push16=, 2 i32.const $push15=, 1 i32.const $push13=, 0 i32.gt_s $push14=, $0, $pop13 - i32.select $push51=, $pop16, $pop15, $pop14 - tee_local $push50=, $0=, $pop51 + i32.select $push55=, $pop16, $pop15, $pop14 + tee_local $push54=, $0=, $pop55 i32.const $push17=, 3 - i32.xor $push18=, $pop50, $pop17 - i32.select $push12=, $6, $7, $1 - i32.select $5=, $pop18, $0, $pop12 + i32.xor $push18=, $pop54, $pop17 + i32.select $push12=, $4, $3, $1 + i32.select $8=, $pop18, $0, $pop12 br 1 # 1: down to label0 .LBB0_3: # %if.else end_block # label1: - i32.eqz $push57=, $2 - br_if 0, $pop57 # 0: down to label0 + i32.eqz $push61=, $2 + br_if 0, $pop61 # 0: down to label0 # BB#4: # %if.else - i32.const $push52=, 4 - i32.shr_s $push19=, $3, $pop52 - i32.gt_s $push20=, $4, $pop19 + i32.const $push56=, 4 + i32.shr_s $push19=, $5, $pop56 + i32.gt_s $push20=, $6, $pop19 br_if 0, $pop20 # 0: down to label0 # BB#5: # %if.then31 i32.const $push21=, 29 i32.shr_u $push22=, $2, $pop21 i32.const $push23=, 4 i32.and $push24=, $pop22, $pop23 - i32.const $push55=, 4 - i32.add $push54=, $pop24, $pop55 - tee_local $push53=, $0=, $pop54 + i32.const $push59=, 4 + i32.add $push58=, $pop24, $pop59 + tee_local $push57=, $0=, $pop58 i32.const $push25=, 12 - i32.xor $push26=, $pop53, $pop25 - i32.select $push0=, $7, $6, $1 + i32.xor $push26=, $pop57, $pop25 + i32.select $push0=, $3, $4, $1 i32.select $push27=, $pop26, $0, $pop0 return $pop27 .LBB0_6: # %if.end40 end_block # label0: - return $5 + copy_local $push62=, $8 + # fallthrough-return: $pop62 .endfunc .Lfunc_end0: .size line_hints, .Lfunc_end0-line_hints @@ -102,10 +105,10 @@ main: # @main .result i32 # BB#0: # %entry block - i32.const $push1=, main.fh - i32.const $push0=, main.gsf - i32.const $push2=, main.gsf+8 - i32.call $push3=, line_hints@FUNCTION, $pop1, $pop0, $pop2 + i32.const $push2=, main.fh + i32.const $push1=, main.gsf + i32.const $push0=, main.gsf+8 + i32.call $push3=, line_hints@FUNCTION, $pop2, $pop1, $pop0 i32.const $push4=, 1 i32.ne $push5=, $pop3, $pop4 br_if 0, $pop5 # 0: down to label2 diff --git a/test/torture-s/20020619-1.c.s b/test/torture-s/20020619-1.c.s index 618446983..f7ffda755 100644 --- a/test/torture-s/20020619-1.c.s +++ b/test/torture-s/20020619-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20020716-1.c.s b/test/torture-s/20020716-1.c.s index f6639dcba..f1b99e8b9 100644 --- a/test/torture-s/20020716-1.c.s +++ b/test/torture-s/20020716-1.c.s @@ -8,7 +8,8 @@ sub1: # @sub1 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size sub1, .Lfunc_end0-sub1 @@ -24,7 +25,7 @@ testcond: # @testcond i32.const $push1=, 0 i32.const $push0=, 5046272 i32.select $push2=, $pop1, $pop0, $0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size testcond, .Lfunc_end1-testcond diff --git a/test/torture-s/20020720-1.c.s b/test/torture-s/20020720-1.c.s index b5a408ddf..a13b652d9 100644 --- a/test/torture-s/20020720-1.c.s +++ b/test/torture-s/20020720-1.c.s @@ -7,7 +7,7 @@ foo: # @foo .param f64 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -20,7 +20,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20020805-1.c.s b/test/torture-s/20020805-1.c.s index c5f631dac..a3805a5d6 100644 --- a/test/torture-s/20020805-1.c.s +++ b/test/torture-s/20020805-1.c.s @@ -29,14 +29,14 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push1=, 2 + i32.const $push2=, 2 i32.const $push0=, 0 i32.load $push10=, n($pop0) tee_local $push9=, $0=, $pop10 - i32.sub $push2=, $pop1, $pop9 + i32.sub $push3=, $pop2, $pop9 i32.const $push8=, 0 - i32.sub $push3=, $pop8, $0 - i32.or $push4=, $pop2, $pop3 + i32.sub $push1=, $pop8, $0 + i32.or $push4=, $pop3, $pop1 i32.const $push5=, 1 i32.or $push6=, $pop4, $pop5 call check@FUNCTION, $pop6 diff --git a/test/torture-s/20020810-1.c.s b/test/torture-s/20020810-1.c.s index dc5753e3c..fe0b73aef 100644 --- a/test/torture-s/20020810-1.c.s +++ b/test/torture-s/20020810-1.c.s @@ -43,7 +43,7 @@ g: # @g i32.const $push0=, 0 i64.load $push1=, R($pop0) i64.store $drop=, 0($0):p2align=2, $pop1 - return + # fallthrough-return .endfunc .Lfunc_end1: .size g, .Lfunc_end1-g diff --git a/test/torture-s/20020819-1.c.s b/test/torture-s/20020819-1.c.s index 4567d4090..75fcd2f3c 100644 --- a/test/torture-s/20020819-1.c.s +++ b/test/torture-s/20020819-1.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20020904-1.c.s b/test/torture-s/20020904-1.c.s index c0c6e38e5..1cc03722a 100644 --- a/test/torture-s/20020904-1.c.s +++ b/test/torture-s/20020904-1.c.s @@ -10,7 +10,7 @@ fun: # @fun # BB#0: # %entry i32.const $push0=, 255 i32.div_u $push1=, $pop0, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size fun, .Lfunc_end0-fun @@ -23,7 +23,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20020916-1.c.s b/test/torture-s/20020916-1.c.s index e6f8b5b9e..5e8af4d15 100644 --- a/test/torture-s/20020916-1.c.s +++ b/test/torture-s/20020916-1.c.s @@ -10,11 +10,11 @@ foo: # @foo # BB#0: # %entry i32.const $push3=, 1 i32.const $push0=, 0 - i32.gt_s $push1=, $0, $pop0 + i32.gt_s $push2=, $0, $pop0 i32.const $push5=, 0 - i32.lt_s $push2=, $0, $pop5 - i32.select $push4=, $pop3, $pop1, $pop2 - return $pop4 + i32.lt_s $push1=, $0, $pop5 + i32.select $push4=, $pop3, $pop2, $pop1 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -27,7 +27,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20020920-1.c.s b/test/torture-s/20020920-1.c.s index fb4efc296..647b1eacf 100644 --- a/test/torture-s/20020920-1.c.s +++ b/test/torture-s/20020920-1.c.s @@ -7,11 +7,11 @@ f: # @f .param i32 # BB#0: # %entry - i32.const $push0=, 2 - i32.store $drop=, 0($0), $pop0 - i64.const $push1=, 4294967296 - i64.store $drop=, 4($0):p2align=2, $pop1 - return + i64.const $push0=, 4294967296 + i64.store $drop=, 4($0):p2align=2, $pop0 + i32.const $push1=, 2 + i32.store $drop=, 0($0), $pop1 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/20021010-1.c.s b/test/torture-s/20021010-1.c.s index 3492946d2..57bddcded 100644 --- a/test/torture-s/20021010-1.c.s +++ b/test/torture-s/20021010-1.c.s @@ -8,7 +8,7 @@ sub: # @sub .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size sub, .Lfunc_end0-sub diff --git a/test/torture-s/20021010-2.c.s b/test/torture-s/20021010-2.c.s index 125364e82..0531d3d67 100644 --- a/test/torture-s/20021010-2.c.s +++ b/test/torture-s/20021010-2.c.s @@ -6,29 +6,33 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push11=, 0 - i32.load16_s $0=, global_saveRect($pop11) - i32.const $push10=, 0 - i32.load16_s $2=, global_bounds($pop10) - i32.const $push9=, 0 - i32.load16_s $1=, global_saveRect+2($pop9) - i32.const $push8=, 0 - i32.load16_s $3=, global_bounds+2($pop8) block - i32.gt_s $push2=, $1, $3 - i32.select $push3=, $3, $1, $pop2 - i32.lt_s $push0=, $0, $2 - i32.select $push1=, $2, $0, $pop0 + i32.const $push19=, 0 + i32.load16_s $push18=, global_bounds+2($pop19) + tee_local $push17=, $0=, $pop18 + i32.const $push16=, 0 + i32.load16_s $push15=, global_saveRect+2($pop16) + tee_local $push14=, $1=, $pop15 + i32.gt_s $push2=, $1, $0 + i32.select $push3=, $pop17, $pop14, $pop2 + i32.const $push13=, 0 + i32.load16_s $push12=, global_bounds($pop13) + tee_local $push11=, $0=, $pop12 + i32.const $push10=, 0 + i32.load16_s $push9=, global_saveRect($pop10) + tee_local $push8=, $1=, $pop9 + i32.lt_s $push0=, $1, $0 + i32.select $push1=, $pop11, $pop8, $pop0 i32.sub $push4=, $pop3, $pop1 i32.const $push7=, 0 i32.load $push5=, expectedwidth($pop7) i32.ne $push6=, $pop4, $pop5 br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end26 - i32.const $push12=, 0 - call exit@FUNCTION, $pop12 + i32.const $push20=, 0 + call exit@FUNCTION, $pop20 unreachable .LBB0_2: # %if.then25 end_block # label0: diff --git a/test/torture-s/20021015-1.c.s b/test/torture-s/20021015-1.c.s index 1914b4672..278d08537 100644 --- a/test/torture-s/20021015-1.c.s +++ b/test/torture-s/20021015-1.c.s @@ -44,7 +44,7 @@ main: # @main .LBB1_2: # %for.end end_block # label1: i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20021024-1.c.s b/test/torture-s/20021024-1.c.s index 9c44e3f19..2d87e64e0 100644 --- a/test/torture-s/20021024-1.c.s +++ b/test/torture-s/20021024-1.c.s @@ -6,7 +6,7 @@ .type foo,@function foo: # @foo # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -19,32 +19,32 @@ bar: # @bar .param i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push6=, 511 - i32.and $2=, $0, $pop6 - i32.const $push4=, 6 - i32.shr_u $push5=, $0, $pop4 - i32.const $push2=, 4088 - i32.and $push7=, $pop5, $pop2 - i32.add $4=, $1, $pop7 - i32.const $push16=, 0 - i32.load $3=, cp($pop16) - i32.const $push0=, 20 - i32.shr_u $push1=, $0, $pop0 - i32.const $push15=, 4088 - i32.and $push3=, $pop1, $pop15 - i32.add $0=, $1, $pop3 + i32.const $push0=, 511 + i32.and $2=, $0, $pop0 + i32.const $push1=, 20 + i32.shr_u $push2=, $0, $pop1 + i32.const $push3=, 4088 + i32.and $push4=, $pop2, $pop3 + i32.add $4=, $1, $pop4 + i32.const $push5=, 6 + i32.shr_u $push6=, $0, $pop5 + i32.const $push16=, 4088 + i32.and $push7=, $pop6, $pop16 + i32.add $3=, $1, $pop7 + i32.const $push15=, 0 + i32.load $0=, cp($pop15) .LBB1_1: # %top # =>This Inner Loop Header: Depth=1 loop # label0: i64.const $push19=, 1 - i64.store $drop=, 0($3), $pop19 + i64.store $drop=, 0($0), $pop19 i32.const $push18=, 0 - i64.load $push9=, 0($0) - i64.load $push8=, 0($4) + i64.load $push9=, 0($4) + i64.load $push8=, 0($3) i64.add $push10=, $pop9, $pop8 i64.store $drop=, m($pop18), $pop10 i64.const $push17=, 2 - i64.store $drop=, 0($3), $pop17 + i64.store $drop=, 0($0), $pop17 i32.eqz $push20=, $2 br_if 0, $pop20 # 0: up to label0 # BB#2: # %if.end @@ -54,7 +54,7 @@ bar: # @bar i32.add $push13=, $1, $pop12 i64.const $push14=, 1 i64.store $drop=, 0($pop13), $pop14 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -67,30 +67,30 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push12=, $pop7, $pop8 - i32.store $0=, 0($pop9), $pop12 - i32.const $push0=, 0 - i64.const $push1=, 47 - i64.store $drop=, main.r+32($pop0), $pop1 + i32.store $0=, __stack_pointer($pop9), $pop12 + i32.const $push1=, 0 + i64.const $push0=, 47 + i64.store $drop=, main.r+32($pop1), $pop0 i32.const $push17=, 0 i64.const $push2=, 11 i64.store $drop=, main.r+64($pop17), $pop2 i32.const $push16=, 0 i64.const $push3=, 58 i64.store $drop=, m($pop16), $pop3 - i64.const $push4=, 2 - i64.store $drop=, 8($0), $pop4 i32.const $push15=, 0 - i64.const $push5=, 1 - i64.store $drop=, main.r+120($pop15), $pop5 + i64.const $push4=, 1 + i64.store $drop=, main.r+120($pop15), $pop4 i32.const $push14=, 0 i32.const $push10=, 8 i32.add $push11=, $0, $pop10 i32.store $drop=, cp($pop14), $pop11 + i64.const $push5=, 2 + i64.store $drop=, 8($0), $pop5 i32.const $push13=, 0 call exit@FUNCTION, $pop13 unreachable diff --git a/test/torture-s/20021113-1.c.s b/test/torture-s/20021113-1.c.s index de7839306..374651507 100644 --- a/test/torture-s/20021113-1.c.s +++ b/test/torture-s/20021113-1.c.s @@ -10,7 +10,8 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 10 i32.store $drop=, 0($0), $pop0 - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20021118-1.c.s b/test/torture-s/20021118-1.c.s index 9d9a141b9..b85fac1cd 100644 --- a/test/torture-s/20021118-1.c.s +++ b/test/torture-s/20021118-1.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.load $push0=, 12($0) i32.add $push1=, $pop0, $7 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20021118-2.c.s b/test/torture-s/20021118-2.c.s index 4e532b2d2..ca5a0e3da 100644 --- a/test/torture-s/20021118-2.c.s +++ b/test/torture-s/20021118-2.c.s @@ -12,15 +12,17 @@ t1: # @t1 call_indirect $2, $pop0 i32.const $push1=, 2 i32.shl $push2=, $1, $pop1 - i32.add $2=, $0, $pop2 + i32.add $push9=, $0, $pop2 + tee_local $push8=, $0=, $pop9 i32.const $push3=, 4 - i32.add $push4=, $2, $pop3 + i32.add $push4=, $0, $pop3 i32.load $push5=, 0($pop4) - i32.store $drop=, 0($2), $pop5 + i32.store $drop=, 0($pop8), $pop5 f32.const $push7=, 0x1.4p1 f32.const $push6=, 0x1.cp1 call_indirect $3, $pop7, $pop6 - return $2 + copy_local $push10=, $3 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size t1, .Lfunc_end0-t1 @@ -39,15 +41,17 @@ t2: # @t2 call_indirect $2, $pop1 i32.const $push2=, 2 i32.shl $push3=, $1, $pop2 - i32.add $4=, $0, $pop3 + i32.add $push10=, $0, $pop3 + tee_local $push9=, $0=, $pop10 i32.const $push4=, 4 - i32.add $push5=, $4, $pop4 + i32.add $push5=, $0, $pop4 i32.load $push6=, 0($pop5) - i32.store $drop=, 0($4), $pop6 + i32.store $drop=, 0($pop9), $pop6 f32.const $push8=, 0x1.4p1 f32.const $push7=, 0x1.cp1 call_indirect $3, $pop8, $pop7 - return $4 + copy_local $push11=, $3 + # fallthrough-return: $pop11 .endfunc .Lfunc_end1: .size t2, .Lfunc_end1-t2 diff --git a/test/torture-s/20021118-3.c.s b/test/torture-s/20021118-3.c.s index c72c98718..acd649e81 100644 --- a/test/torture-s/20021118-3.c.s +++ b/test/torture-s/20021118-3.c.s @@ -9,12 +9,12 @@ foo: # @foo .result i32 # BB#0: # %entry block - i32.const $push1=, -2 - i32.eq $push2=, $0, $pop1 - br_if 0, $pop2 # 0: down to label0 + i32.const $push2=, -2 + i32.eq $push3=, $0, $pop2 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %entry - i32.const $push3=, -100 - i32.sub $push0=, $pop3, $0 + i32.const $push1=, -100 + i32.sub $push0=, $pop1, $0 i32.const $push5=, 0 i32.ge_s $push4=, $pop0, $pop5 br_if 0, $pop4 # 0: down to label0 diff --git a/test/torture-s/20021119-1.c.s b/test/torture-s/20021119-1.c.s index 352ee2fcb..89a4f2856 100644 --- a/test/torture-s/20021119-1.c.s +++ b/test/torture-s/20021119-1.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.sub $push3=, $pop2, $pop1 i32.const $push4=, 20 i32.div_s $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -27,7 +27,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20021120-1.c.s b/test/torture-s/20021120-1.c.s index 1cd25ccf4..bb8db5415 100644 --- a/test/torture-s/20021120-1.c.s +++ b/test/torture-s/20021120-1.c.s @@ -80,493 +80,494 @@ foo: # @foo .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: + i32.const $push260=, 0 + f32.load $1=, gf($pop260) + i32.const $push259=, 0 + f32.load $2=, gf+4($pop259) i32.const $push258=, 0 - f32.load $1=, gf($pop258) + f32.load $3=, gf+8($pop258) i32.const $push257=, 0 - f32.load $2=, gf+4($pop257) + f32.load $4=, gf+12($pop257) i32.const $push256=, 0 - f32.load $3=, gf+8($pop256) + f32.load $5=, gf+16($pop256) i32.const $push255=, 0 - f32.load $4=, gf+12($pop255) + f32.load $6=, gf+20($pop255) i32.const $push254=, 0 - f32.load $5=, gf+16($pop254) + f32.load $7=, gf+24($pop254) i32.const $push253=, 0 - f32.load $6=, gf+20($pop253) + f32.load $8=, gf+28($pop253) i32.const $push252=, 0 - f32.load $7=, gf+24($pop252) + f32.load $9=, gf+32($pop252) i32.const $push251=, 0 - f32.load $8=, gf+28($pop251) + f32.load $10=, gf+36($pop251) i32.const $push250=, 0 - f32.load $9=, gf+32($pop250) + f32.load $11=, gf+40($pop250) i32.const $push249=, 0 - f32.load $10=, gf+36($pop249) + f32.load $12=, gf+44($pop249) i32.const $push248=, 0 - f32.load $11=, gf+40($pop248) + f32.load $13=, gf+48($pop248) i32.const $push247=, 0 - f32.load $12=, gf+44($pop247) + f32.load $14=, gf+52($pop247) i32.const $push246=, 0 - f32.load $13=, gf+48($pop246) + f32.load $15=, gf+56($pop246) i32.const $push245=, 0 - f32.load $14=, gf+52($pop245) + f32.load $16=, gf+60($pop245) i32.const $push244=, 0 - f32.load $15=, gf+56($pop244) + f32.load $17=, gf+64($pop244) i32.const $push243=, 0 - f32.load $16=, gf+60($pop243) + f32.load $18=, gf+68($pop243) i32.const $push242=, 0 - f32.load $17=, gf+64($pop242) + f32.load $19=, gf+72($pop242) i32.const $push241=, 0 - f32.load $18=, gf+68($pop241) + f32.load $20=, gf+76($pop241) i32.const $push240=, 0 - f32.load $19=, gf+72($pop240) + f32.load $21=, gf+80($pop240) i32.const $push239=, 0 - f32.load $20=, gf+76($pop239) + f32.load $22=, gf+84($pop239) i32.const $push238=, 0 - f32.load $21=, gf+80($pop238) + f32.load $23=, gf+88($pop238) i32.const $push237=, 0 - f32.load $22=, gf+84($pop237) + f32.load $24=, gf+92($pop237) i32.const $push236=, 0 - f32.load $23=, gf+88($pop236) + f32.load $25=, gf+96($pop236) i32.const $push235=, 0 - f32.load $24=, gf+92($pop235) + f32.load $26=, gf+100($pop235) i32.const $push234=, 0 - f32.load $25=, gf+96($pop234) + f32.load $27=, gf+104($pop234) i32.const $push233=, 0 - f32.load $26=, gf+100($pop233) + f32.load $28=, gf+108($pop233) i32.const $push232=, 0 - f32.load $27=, gf+104($pop232) + f32.load $29=, gf+112($pop232) i32.const $push231=, 0 - f32.load $28=, gf+108($pop231) + f32.load $30=, gf+116($pop231) i32.const $push230=, 0 - f32.load $29=, gf+112($pop230) + f32.load $31=, gf+120($pop230) i32.const $push229=, 0 - f32.load $30=, gf+116($pop229) + f32.load $32=, gf+124($pop229) i32.const $push228=, 0 - f32.load $31=, gf+120($pop228) + f64.load $33=, gd($pop228) i32.const $push227=, 0 - f32.load $32=, gf+124($pop227) + f64.load $34=, gd+8($pop227) i32.const $push226=, 0 - f64.load $33=, gd($pop226) + f64.load $35=, gd+16($pop226) i32.const $push225=, 0 - f64.load $34=, gd+8($pop225) + f64.load $36=, gd+24($pop225) i32.const $push224=, 0 - f64.load $35=, gd+16($pop224) + f64.load $37=, gd+32($pop224) i32.const $push223=, 0 - f64.load $36=, gd+24($pop223) + f64.load $38=, gd+40($pop223) i32.const $push222=, 0 - f64.load $37=, gd+32($pop222) + f64.load $39=, gd+48($pop222) i32.const $push221=, 0 - f64.load $38=, gd+40($pop221) + f64.load $40=, gd+56($pop221) i32.const $push220=, 0 - f64.load $39=, gd+48($pop220) + f64.load $41=, gd+64($pop220) i32.const $push219=, 0 - f64.load $40=, gd+56($pop219) + f64.load $42=, gd+72($pop219) i32.const $push218=, 0 - f64.load $41=, gd+64($pop218) + f64.load $43=, gd+80($pop218) i32.const $push217=, 0 - f64.load $42=, gd+72($pop217) + f64.load $44=, gd+88($pop217) i32.const $push216=, 0 - f64.load $43=, gd+80($pop216) + f64.load $45=, gd+96($pop216) i32.const $push215=, 0 - f64.load $44=, gd+88($pop215) + f64.load $46=, gd+104($pop215) i32.const $push214=, 0 - f64.load $45=, gd+96($pop214) + f64.load $47=, gd+112($pop214) i32.const $push213=, 0 - f64.load $46=, gd+104($pop213) + f64.load $48=, gd+120($pop213) i32.const $push212=, 0 - f64.load $47=, gd+112($pop212) + f64.load $49=, gd+128($pop212) i32.const $push211=, 0 - f64.load $48=, gd+120($pop211) + f64.load $50=, gd+136($pop211) i32.const $push210=, 0 - f64.load $49=, gd+128($pop210) + f64.load $51=, gd+144($pop210) i32.const $push209=, 0 - f64.load $50=, gd+136($pop209) + f64.load $52=, gd+152($pop209) i32.const $push208=, 0 - f64.load $51=, gd+144($pop208) + f64.load $53=, gd+160($pop208) i32.const $push207=, 0 - f64.load $52=, gd+152($pop207) + f64.load $54=, gd+168($pop207) i32.const $push206=, 0 - f64.load $53=, gd+160($pop206) + f64.load $55=, gd+176($pop206) i32.const $push205=, 0 - f64.load $54=, gd+168($pop205) + f64.load $56=, gd+184($pop205) i32.const $push204=, 0 - f64.load $55=, gd+176($pop204) + f64.load $57=, gd+192($pop204) i32.const $push203=, 0 - f64.load $56=, gd+184($pop203) + f64.load $58=, gd+200($pop203) i32.const $push202=, 0 - f64.load $57=, gd+192($pop202) + f64.load $59=, gd+208($pop202) i32.const $push201=, 0 - f64.load $58=, gd+200($pop201) + f64.load $60=, gd+216($pop201) i32.const $push200=, 0 - f64.load $59=, gd+208($pop200) + f64.load $61=, gd+224($pop200) i32.const $push199=, 0 - f64.load $60=, gd+216($pop199) + f64.load $62=, gd+232($pop199) i32.const $push198=, 0 - f64.load $61=, gd+224($pop198) + f64.load $63=, gd+240($pop198) i32.const $push197=, 0 - f64.load $62=, gd+232($pop197) + f64.load $64=, gd+248($pop197) i32.const $push196=, 0 - f64.load $63=, gd+240($pop196) + f64.load $65=, gd($pop196) i32.const $push195=, 0 - f64.load $64=, gd+248($pop195) + f64.load $66=, gd+8($pop195) i32.const $push194=, 0 - f64.load $65=, gd($pop194) + f64.load $67=, gd+16($pop194) i32.const $push193=, 0 - f64.load $66=, gd+8($pop193) + f64.load $68=, gd+24($pop193) i32.const $push192=, 0 - f64.load $67=, gd+16($pop192) + f64.load $69=, gd+32($pop192) i32.const $push191=, 0 - f64.load $68=, gd+24($pop191) + f64.load $70=, gd+40($pop191) i32.const $push190=, 0 - f64.load $69=, gd+32($pop190) + f64.load $71=, gd+48($pop190) i32.const $push189=, 0 - f64.load $70=, gd+40($pop189) + f64.load $72=, gd+56($pop189) i32.const $push188=, 0 - f64.load $71=, gd+48($pop188) + f64.load $73=, gd+64($pop188) i32.const $push187=, 0 - f64.load $72=, gd+56($pop187) + f64.load $74=, gd+72($pop187) i32.const $push186=, 0 - f64.load $73=, gd+64($pop186) + f64.load $75=, gd+80($pop186) i32.const $push185=, 0 - f64.load $74=, gd+72($pop185) + f64.load $76=, gd+88($pop185) i32.const $push184=, 0 - f64.load $75=, gd+80($pop184) + f64.load $77=, gd+96($pop184) i32.const $push183=, 0 - f64.load $76=, gd+88($pop183) + f64.load $78=, gd+104($pop183) i32.const $push182=, 0 - f64.load $77=, gd+96($pop182) + f64.load $79=, gd+112($pop182) i32.const $push181=, 0 - f64.load $78=, gd+104($pop181) + f64.load $80=, gd+120($pop181) i32.const $push180=, 0 - f64.load $79=, gd+112($pop180) + f64.load $81=, gd+128($pop180) i32.const $push179=, 0 - f64.load $80=, gd+120($pop179) + f64.load $82=, gd+136($pop179) i32.const $push178=, 0 - f64.load $81=, gd+128($pop178) + f64.load $83=, gd+144($pop178) i32.const $push177=, 0 - f64.load $82=, gd+136($pop177) + f64.load $84=, gd+152($pop177) i32.const $push176=, 0 - f64.load $83=, gd+144($pop176) + f64.load $85=, gd+160($pop176) i32.const $push175=, 0 - f64.load $84=, gd+152($pop175) + f64.load $86=, gd+168($pop175) i32.const $push174=, 0 - f64.load $85=, gd+160($pop174) + f64.load $87=, gd+176($pop174) i32.const $push173=, 0 - f64.load $86=, gd+168($pop173) + f64.load $88=, gd+184($pop173) i32.const $push172=, 0 - f64.load $87=, gd+176($pop172) + f64.load $89=, gd+192($pop172) i32.const $push171=, 0 - f64.load $88=, gd+184($pop171) + f64.load $90=, gd+200($pop171) i32.const $push170=, 0 - f64.load $89=, gd+192($pop170) + f64.load $91=, gd+208($pop170) i32.const $push169=, 0 - f64.load $90=, gd+200($pop169) + f64.load $92=, gd+216($pop169) i32.const $push168=, 0 - f64.load $91=, gd+208($pop168) + f64.load $93=, gd+224($pop168) i32.const $push167=, 0 - f64.load $92=, gd+216($pop167) + f64.load $94=, gd+232($pop167) i32.const $push166=, 0 - f64.load $93=, gd+224($pop166) + f64.load $95=, gd+240($pop166) i32.const $push165=, 0 - f64.load $94=, gd+232($pop165) + f64.load $96=, gd+248($pop165) i32.const $push164=, 0 - f64.load $95=, gd+240($pop164) + f64.load $97=, gd($pop164) i32.const $push163=, 0 - f64.load $96=, gd+248($pop163) + f64.load $98=, gd+8($pop163) i32.const $push162=, 0 - f64.load $97=, gd($pop162) + f64.load $99=, gd+16($pop162) i32.const $push161=, 0 - f64.load $98=, gd+8($pop161) + f64.load $100=, gd+24($pop161) i32.const $push160=, 0 - f64.load $99=, gd+16($pop160) + f64.load $101=, gd+32($pop160) i32.const $push159=, 0 - f64.load $100=, gd+24($pop159) + f64.load $102=, gd+40($pop159) i32.const $push158=, 0 - f64.load $101=, gd+32($pop158) + f64.load $103=, gd+48($pop158) i32.const $push157=, 0 - f64.load $102=, gd+40($pop157) + f64.load $104=, gd+56($pop157) i32.const $push156=, 0 - f64.load $103=, gd+48($pop156) + f64.load $105=, gd+64($pop156) i32.const $push155=, 0 - f64.load $104=, gd+56($pop155) + f64.load $106=, gd+72($pop155) i32.const $push154=, 0 - f64.load $105=, gd+64($pop154) + f64.load $107=, gd+80($pop154) i32.const $push153=, 0 - f64.load $106=, gd+72($pop153) + f64.load $108=, gd+88($pop153) i32.const $push152=, 0 - f64.load $107=, gd+80($pop152) + f64.load $109=, gd+96($pop152) i32.const $push151=, 0 - f64.load $108=, gd+88($pop151) + f64.load $110=, gd+104($pop151) i32.const $push150=, 0 - f64.load $109=, gd+96($pop150) + f64.load $111=, gd+112($pop150) i32.const $push149=, 0 - f64.load $110=, gd+104($pop149) + f64.load $112=, gd+120($pop149) i32.const $push148=, 0 - f64.load $111=, gd+112($pop148) + f64.load $113=, gd+128($pop148) i32.const $push147=, 0 - f64.load $112=, gd+120($pop147) + f64.load $114=, gd+136($pop147) i32.const $push146=, 0 - f64.load $113=, gd+128($pop146) + f64.load $115=, gd+144($pop146) i32.const $push145=, 0 - f64.load $114=, gd+136($pop145) + f64.load $116=, gd+152($pop145) i32.const $push144=, 0 - f64.load $115=, gd+144($pop144) + f64.load $117=, gd+160($pop144) i32.const $push143=, 0 - f64.load $116=, gd+152($pop143) + f64.load $118=, gd+168($pop143) i32.const $push142=, 0 - f64.load $117=, gd+160($pop142) + f64.load $119=, gd+176($pop142) i32.const $push141=, 0 - f64.load $118=, gd+168($pop141) + f64.load $120=, gd+184($pop141) i32.const $push140=, 0 - f64.load $119=, gd+176($pop140) + f64.load $121=, gd+192($pop140) i32.const $push139=, 0 - f64.load $120=, gd+184($pop139) + f64.load $122=, gd+200($pop139) i32.const $push138=, 0 - f64.load $121=, gd+192($pop138) + f64.load $123=, gd+208($pop138) i32.const $push137=, 0 - f64.load $122=, gd+200($pop137) + f64.load $124=, gd+216($pop137) i32.const $push136=, 0 - f64.load $123=, gd+208($pop136) + f64.load $125=, gd+224($pop136) i32.const $push135=, 0 - f64.load $124=, gd+216($pop135) + f64.load $126=, gd+232($pop135) i32.const $push134=, 0 - f64.load $125=, gd+224($pop134) + f64.load $127=, gd+240($pop134) i32.const $push133=, 0 - f64.load $126=, gd+232($pop133) + f64.load $128=, gd+248($pop133) i32.const $push132=, 0 - f64.load $127=, gd+240($pop132) + f32.store $drop=, gf($pop132), $1 i32.const $push131=, 0 - f64.load $128=, gd+248($pop131) + f32.store $drop=, gf+4($pop131), $2 i32.const $push130=, 0 - f32.store $drop=, gf($pop130), $1 + f32.store $drop=, gf+8($pop130), $3 i32.const $push129=, 0 - f32.store $drop=, gf+4($pop129), $2 + f32.store $drop=, gf+12($pop129), $4 i32.const $push128=, 0 - f32.store $drop=, gf+8($pop128), $3 + f32.store $drop=, gf+16($pop128), $5 i32.const $push127=, 0 - f32.store $drop=, gf+12($pop127), $4 + f32.store $drop=, gf+20($pop127), $6 i32.const $push126=, 0 - f32.store $drop=, gf+16($pop126), $5 + f32.store $drop=, gf+24($pop126), $7 i32.const $push125=, 0 - f32.store $drop=, gf+20($pop125), $6 + f32.store $drop=, gf+28($pop125), $8 i32.const $push124=, 0 - f32.store $drop=, gf+24($pop124), $7 + f32.store $drop=, gf+32($pop124), $9 i32.const $push123=, 0 - f32.store $drop=, gf+28($pop123), $8 + f32.store $drop=, gf+36($pop123), $10 i32.const $push122=, 0 - f32.store $drop=, gf+32($pop122), $9 + f32.store $drop=, gf+40($pop122), $11 i32.const $push121=, 0 - f32.store $drop=, gf+36($pop121), $10 + f32.store $drop=, gf+44($pop121), $12 i32.const $push120=, 0 - f32.store $drop=, gf+40($pop120), $11 + f32.store $drop=, gf+48($pop120), $13 i32.const $push119=, 0 - f32.store $drop=, gf+44($pop119), $12 + f32.store $drop=, gf+52($pop119), $14 i32.const $push118=, 0 - f32.store $drop=, gf+48($pop118), $13 + f32.store $drop=, gf+56($pop118), $15 i32.const $push117=, 0 - f32.store $drop=, gf+52($pop117), $14 + f32.store $drop=, gf+60($pop117), $16 i32.const $push116=, 0 - f32.store $drop=, gf+56($pop116), $15 + f32.store $drop=, gf+64($pop116), $17 i32.const $push115=, 0 - f32.store $drop=, gf+60($pop115), $16 + f32.store $drop=, gf+68($pop115), $18 i32.const $push114=, 0 - f32.store $drop=, gf+64($pop114), $17 + f32.store $drop=, gf+72($pop114), $19 i32.const $push113=, 0 - f32.store $drop=, gf+68($pop113), $18 + f32.store $drop=, gf+76($pop113), $20 i32.const $push112=, 0 - f32.store $drop=, gf+72($pop112), $19 + f32.store $drop=, gf+80($pop112), $21 i32.const $push111=, 0 - f32.store $drop=, gf+76($pop111), $20 + f32.store $drop=, gf+84($pop111), $22 i32.const $push110=, 0 - f32.store $drop=, gf+80($pop110), $21 + f32.store $drop=, gf+88($pop110), $23 i32.const $push109=, 0 - f32.store $drop=, gf+84($pop109), $22 + f32.store $drop=, gf+92($pop109), $24 i32.const $push108=, 0 - f32.store $drop=, gf+88($pop108), $23 + f32.store $drop=, gf+96($pop108), $25 i32.const $push107=, 0 - f32.store $drop=, gf+92($pop107), $24 + f32.store $drop=, gf+100($pop107), $26 i32.const $push106=, 0 - f32.store $drop=, gf+96($pop106), $25 + f32.store $drop=, gf+104($pop106), $27 i32.const $push105=, 0 - f32.store $drop=, gf+100($pop105), $26 + f32.store $drop=, gf+108($pop105), $28 i32.const $push104=, 0 - f32.store $drop=, gf+104($pop104), $27 + f32.store $drop=, gf+112($pop104), $29 i32.const $push103=, 0 - f32.store $drop=, gf+108($pop103), $28 + f32.store $drop=, gf+116($pop103), $30 i32.const $push102=, 0 - f32.store $drop=, gf+112($pop102), $29 + f32.store $drop=, gf+120($pop102), $31 i32.const $push101=, 0 - f32.store $drop=, gf+116($pop101), $30 - i32.const $push100=, 0 - f32.store $drop=, gf+120($pop100), $31 + f32.store $drop=, gf+124($pop101), $32 f64.add $push2=, $129, $33 - f64.add $push34=, $65, $pop2 - f64.add $129=, $97, $pop34 - f64.add $push3=, $130, $34 - f64.add $push35=, $66, $pop3 - f64.add $130=, $98, $pop35 - f64.add $push4=, $131, $35 - f64.add $push36=, $67, $pop4 - f64.add $131=, $99, $pop36 - f64.add $push5=, $132, $36 - f64.add $push37=, $68, $pop5 - f64.add $132=, $100, $pop37 - f64.add $push6=, $133, $37 - f64.add $push38=, $69, $pop6 - f64.add $133=, $101, $pop38 - f64.add $push7=, $134, $38 - f64.add $push39=, $70, $pop7 - f64.add $134=, $102, $pop39 - f64.add $push8=, $135, $39 - f64.add $push40=, $71, $pop8 - f64.add $135=, $103, $pop40 - f64.add $push9=, $136, $40 - f64.add $push41=, $72, $pop9 - f64.add $136=, $104, $pop41 - f64.add $push10=, $137, $41 - f64.add $push42=, $73, $pop10 - f64.add $137=, $105, $pop42 - f64.add $push11=, $138, $42 - f64.add $push43=, $74, $pop11 - f64.add $138=, $106, $pop43 - f64.add $push12=, $139, $43 - f64.add $push44=, $75, $pop12 - f64.add $139=, $107, $pop44 - f64.add $push13=, $140, $44 - f64.add $push45=, $76, $pop13 - f64.add $140=, $108, $pop45 - f64.add $push14=, $141, $45 - f64.add $push46=, $77, $pop14 - f64.add $141=, $109, $pop46 - f64.add $push15=, $142, $46 - f64.add $push47=, $78, $pop15 - f64.add $142=, $110, $pop47 - f64.add $push16=, $143, $47 - f64.add $push48=, $79, $pop16 - f64.add $143=, $111, $pop48 - f64.add $push17=, $144, $48 - f64.add $push49=, $80, $pop17 - f64.add $144=, $112, $pop49 - f64.add $push18=, $145, $49 - f64.add $push50=, $81, $pop18 - f64.add $145=, $113, $pop50 - f64.add $push19=, $146, $50 - f64.add $push51=, $82, $pop19 - f64.add $146=, $114, $pop51 - f64.add $push20=, $147, $51 - f64.add $push52=, $83, $pop20 - f64.add $147=, $115, $pop52 - f64.add $push21=, $148, $52 - f64.add $push53=, $84, $pop21 - f64.add $148=, $116, $pop53 - f64.add $push22=, $149, $53 - f64.add $push54=, $85, $pop22 - f64.add $149=, $117, $pop54 - f64.add $push23=, $150, $54 - f64.add $push55=, $86, $pop23 - f64.add $150=, $118, $pop55 - f64.add $push24=, $151, $55 - f64.add $push56=, $87, $pop24 - f64.add $151=, $119, $pop56 - f64.add $push25=, $152, $56 - f64.add $push57=, $88, $pop25 - f64.add $152=, $120, $pop57 - f64.add $push26=, $153, $57 - f64.add $push58=, $89, $pop26 - f64.add $153=, $121, $pop58 - f64.add $push27=, $154, $58 - f64.add $push59=, $90, $pop27 - f64.add $154=, $122, $pop59 - f64.add $push28=, $155, $59 - f64.add $push60=, $91, $pop28 - f64.add $155=, $123, $pop60 - f64.add $push29=, $156, $60 - f64.add $push61=, $92, $pop29 - f64.add $156=, $124, $pop61 - f64.add $push30=, $157, $61 - f64.add $push62=, $93, $pop30 - f64.add $157=, $125, $pop62 - f64.add $push31=, $158, $62 - f64.add $push63=, $94, $pop31 - f64.add $158=, $126, $pop63 - f64.add $push32=, $159, $63 - f64.add $push64=, $95, $pop32 - f64.add $159=, $127, $pop64 - f64.add $push33=, $160, $64 - f64.add $push65=, $96, $pop33 + f64.add $push3=, $65, $pop2 + f64.add $129=, $97, $pop3 + f64.add $push4=, $130, $34 + f64.add $push5=, $66, $pop4 + f64.add $130=, $98, $pop5 + f64.add $push6=, $131, $35 + f64.add $push7=, $67, $pop6 + f64.add $131=, $99, $pop7 + f64.add $push8=, $132, $36 + f64.add $push9=, $68, $pop8 + f64.add $132=, $100, $pop9 + f64.add $push10=, $133, $37 + f64.add $push11=, $69, $pop10 + f64.add $133=, $101, $pop11 + f64.add $push12=, $134, $38 + f64.add $push13=, $70, $pop12 + f64.add $134=, $102, $pop13 + f64.add $push14=, $135, $39 + f64.add $push15=, $71, $pop14 + f64.add $135=, $103, $pop15 + f64.add $push16=, $136, $40 + f64.add $push17=, $72, $pop16 + f64.add $136=, $104, $pop17 + f64.add $push18=, $137, $41 + f64.add $push19=, $73, $pop18 + f64.add $137=, $105, $pop19 + f64.add $push20=, $138, $42 + f64.add $push21=, $74, $pop20 + f64.add $138=, $106, $pop21 + f64.add $push22=, $139, $43 + f64.add $push23=, $75, $pop22 + f64.add $139=, $107, $pop23 + f64.add $push24=, $140, $44 + f64.add $push25=, $76, $pop24 + f64.add $140=, $108, $pop25 + f64.add $push26=, $141, $45 + f64.add $push27=, $77, $pop26 + f64.add $141=, $109, $pop27 + f64.add $push28=, $142, $46 + f64.add $push29=, $78, $pop28 + f64.add $142=, $110, $pop29 + f64.add $push30=, $143, $47 + f64.add $push31=, $79, $pop30 + f64.add $143=, $111, $pop31 + f64.add $push32=, $144, $48 + f64.add $push33=, $80, $pop32 + f64.add $144=, $112, $pop33 + f64.add $push34=, $145, $49 + f64.add $push35=, $81, $pop34 + f64.add $145=, $113, $pop35 + f64.add $push36=, $146, $50 + f64.add $push37=, $82, $pop36 + f64.add $146=, $114, $pop37 + f64.add $push38=, $147, $51 + f64.add $push39=, $83, $pop38 + f64.add $147=, $115, $pop39 + f64.add $push40=, $148, $52 + f64.add $push41=, $84, $pop40 + f64.add $148=, $116, $pop41 + f64.add $push42=, $149, $53 + f64.add $push43=, $85, $pop42 + f64.add $149=, $117, $pop43 + f64.add $push44=, $150, $54 + f64.add $push45=, $86, $pop44 + f64.add $150=, $118, $pop45 + f64.add $push46=, $151, $55 + f64.add $push47=, $87, $pop46 + f64.add $151=, $119, $pop47 + f64.add $push48=, $152, $56 + f64.add $push49=, $88, $pop48 + f64.add $152=, $120, $pop49 + f64.add $push50=, $153, $57 + f64.add $push51=, $89, $pop50 + f64.add $153=, $121, $pop51 + f64.add $push52=, $154, $58 + f64.add $push53=, $90, $pop52 + f64.add $154=, $122, $pop53 + f64.add $push54=, $155, $59 + f64.add $push55=, $91, $pop54 + f64.add $155=, $123, $pop55 + f64.add $push56=, $156, $60 + f64.add $push57=, $92, $pop56 + f64.add $156=, $124, $pop57 + f64.add $push58=, $157, $61 + f64.add $push59=, $93, $pop58 + f64.add $157=, $125, $pop59 + f64.add $push60=, $158, $62 + f64.add $push61=, $94, $pop60 + f64.add $158=, $126, $pop61 + f64.add $push62=, $159, $63 + f64.add $push63=, $95, $pop62 + f64.add $159=, $127, $pop63 + f64.add $push64=, $160, $64 + f64.add $push65=, $96, $pop64 f64.add $160=, $128, $pop65 - i32.const $push99=, 0 - f32.store $drop=, gf+124($pop99), $32 - i32.const $push98=, -1 - i32.add $0=, $0, $pop98 - br_if 0, $0 # 0: up to label1 + i32.const $push100=, -1 + i32.add $push99=, $0, $pop100 + tee_local $push98=, $0=, $pop99 + br_if 0, $pop98 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: + i32.const $push292=, 0 + f64.store $drop=, gd($pop292), $129 + i32.const $push291=, 0 + f64.store $drop=, gd+8($pop291), $130 i32.const $push290=, 0 - f64.store $drop=, gd($pop290), $129 + f64.store $drop=, gd+16($pop290), $131 i32.const $push289=, 0 - f64.store $drop=, gd+8($pop289), $130 + f64.store $drop=, gd+24($pop289), $132 i32.const $push288=, 0 - f64.store $drop=, gd+16($pop288), $131 + f64.store $drop=, gd+32($pop288), $133 i32.const $push287=, 0 - f64.store $drop=, gd+24($pop287), $132 + f64.store $drop=, gd+40($pop287), $134 i32.const $push286=, 0 - f64.store $drop=, gd+32($pop286), $133 + f64.store $drop=, gd+48($pop286), $135 i32.const $push285=, 0 - f64.store $drop=, gd+40($pop285), $134 + f64.store $drop=, gd+56($pop285), $136 i32.const $push284=, 0 - f64.store $drop=, gd+48($pop284), $135 + f64.store $drop=, gd+64($pop284), $137 i32.const $push283=, 0 - f64.store $drop=, gd+56($pop283), $136 + f64.store $drop=, gd+72($pop283), $138 i32.const $push282=, 0 - f64.store $drop=, gd+64($pop282), $137 + f64.store $drop=, gd+80($pop282), $139 i32.const $push281=, 0 - f64.store $drop=, gd+72($pop281), $138 + f64.store $drop=, gd+88($pop281), $140 i32.const $push280=, 0 - f64.store $drop=, gd+80($pop280), $139 + f64.store $drop=, gd+96($pop280), $141 i32.const $push279=, 0 - f64.store $drop=, gd+88($pop279), $140 + f64.store $drop=, gd+104($pop279), $142 i32.const $push278=, 0 - f64.store $drop=, gd+96($pop278), $141 + f64.store $drop=, gd+112($pop278), $143 i32.const $push277=, 0 - f64.store $drop=, gd+104($pop277), $142 + f64.store $drop=, gd+120($pop277), $144 i32.const $push276=, 0 - f64.store $drop=, gd+112($pop276), $143 + f64.store $drop=, gd+128($pop276), $145 i32.const $push275=, 0 - f64.store $drop=, gd+120($pop275), $144 + f64.store $drop=, gd+136($pop275), $146 i32.const $push274=, 0 - f64.store $drop=, gd+128($pop274), $145 + f64.store $drop=, gd+144($pop274), $147 i32.const $push273=, 0 - f64.store $drop=, gd+136($pop273), $146 + f64.store $drop=, gd+152($pop273), $148 i32.const $push272=, 0 - f64.store $drop=, gd+144($pop272), $147 + f64.store $drop=, gd+160($pop272), $149 i32.const $push271=, 0 - f64.store $drop=, gd+152($pop271), $148 + f64.store $drop=, gd+168($pop271), $150 i32.const $push270=, 0 - f64.store $drop=, gd+160($pop270), $149 + f64.store $drop=, gd+176($pop270), $151 i32.const $push269=, 0 - f64.store $drop=, gd+168($pop269), $150 + f64.store $drop=, gd+184($pop269), $152 i32.const $push268=, 0 - f64.store $drop=, gd+176($pop268), $151 + f64.store $drop=, gd+192($pop268), $153 i32.const $push267=, 0 - f64.store $drop=, gd+184($pop267), $152 + f64.store $drop=, gd+200($pop267), $154 i32.const $push266=, 0 - f64.store $drop=, gd+192($pop266), $153 + f64.store $drop=, gd+208($pop266), $155 i32.const $push265=, 0 - f64.store $drop=, gd+200($pop265), $154 + f64.store $drop=, gd+216($pop265), $156 i32.const $push264=, 0 - f64.store $drop=, gd+208($pop264), $155 + f64.store $drop=, gd+224($pop264), $157 i32.const $push263=, 0 - f64.store $drop=, gd+216($pop263), $156 + f64.store $drop=, gd+232($pop263), $158 i32.const $push262=, 0 - f64.store $drop=, gd+224($pop262), $157 + f64.store $drop=, gd+240($pop262), $159 i32.const $push261=, 0 - f64.store $drop=, gd+232($pop261), $158 - i32.const $push260=, 0 - f64.store $drop=, gd+240($pop260), $159 - i32.const $push259=, 0 - f64.store $drop=, gd+248($pop259), $160 - return + f64.store $drop=, gd+248($pop261), $160 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -579,31 +580,32 @@ main: # @main .result i32 .local f64, i32, i32, i32 # BB#0: # %entry - f64.const $0=, 0x0p0 i32.const $1=, 0 - i32.const $3=, gd - i32.const $2=, gf + f64.const $0=, 0x0p0 + i32.const $2=, gd + i32.const $3=, gf .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label3: - f64.store $drop=, 0($3), $0 + f64.store $drop=, 0($2), $0 f32.convert_s/i32 $push0=, $1 - f32.store $drop=, 0($2), $pop0 + f32.store $drop=, 0($3), $pop0 + i32.const $push16=, 4 + i32.add $3=, $3, $pop16 + i32.const $push15=, 8 + i32.add $2=, $2, $pop15 f64.const $push14=, 0x1p0 f64.add $0=, $0, $pop14 i32.const $push13=, 1 - i32.add $1=, $1, $pop13 - i32.const $push12=, 8 - i32.add $3=, $3, $pop12 - i32.const $push11=, 4 - i32.add $2=, $2, $pop11 + i32.add $push12=, $1, $pop13 + tee_local $push11=, $1=, $pop12 i32.const $push10=, 32 - i32.ne $push1=, $1, $pop10 + i32.ne $push1=, $pop11, $pop10 br_if 0, $pop1 # 0: up to label3 # BB#2: # %for.end end_loop # label4: - i32.const $push15=, 1 - call foo@FUNCTION, $pop15 + i32.const $push17=, 1 + call foo@FUNCTION, $pop17 i32.const $2=, gd i32.const $1=, 0 i32.const $3=, 0 @@ -611,26 +613,27 @@ main: # @main # =>This Inner Loop Header: Depth=1 block loop # label6: - f64.load $push2=, 0($2) - f64.convert_s/i32 $push3=, $1 - f64.ne $push4=, $pop2, $pop3 + f64.load $push3=, 0($2) + f64.convert_s/i32 $push2=, $1 + f64.ne $push4=, $pop3, $pop2 br_if 2, $pop4 # 2: down to label5 # BB#4: # %lor.lhs.false # in Loop: Header=BB1_3 Depth=1 - f32.load $push5=, gf($1) - f32.convert_s/i32 $push6=, $3 - f32.ne $push7=, $pop5, $pop6 + f32.load $push6=, gf($1) + f32.convert_s/i32 $push5=, $3 + f32.ne $push7=, $pop6, $pop5 br_if 2, $pop7 # 2: down to label5 # BB#5: # %for.cond3 # in Loop: Header=BB1_3 Depth=1 - i32.const $push19=, 1 - i32.add $3=, $3, $pop19 - i32.const $push18=, 8 - i32.add $2=, $2, $pop18 - i32.const $push17=, 4 - i32.add $1=, $1, $pop17 - i32.const $push16=, 31 - i32.le_s $push8=, $3, $pop16 + i32.const $push23=, 4 + i32.add $1=, $1, $pop23 + i32.const $push22=, 8 + i32.add $2=, $2, $pop22 + i32.const $push21=, 1 + i32.add $push20=, $3, $pop21 + tee_local $push19=, $3=, $pop20 + i32.const $push18=, 31 + i32.le_s $push8=, $pop19, $pop18 br_if 0, $pop8 # 0: up to label6 # BB#6: # %for.end17 end_loop # label7: diff --git a/test/torture-s/20021120-2.c.s b/test/torture-s/20021120-2.c.s index 33b04cb5a..48a8f2ab6 100644 --- a/test/torture-s/20021120-2.c.s +++ b/test/torture-s/20021120-2.c.s @@ -7,14 +7,14 @@ foo: # @foo .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 10 - i32.store $drop=, g1($pop0), $pop1 + i32.const $push1=, 0 + i32.const $push0=, 10 + i32.store $drop=, g1($pop1), $pop0 i32.const $push4=, 0 i32.const $push2=, 7930 i32.div_s $push3=, $pop2, $0 i32.store $drop=, g2($pop4), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -29,8 +29,8 @@ main: # @main i32.const $push2=, 0 i32.const $push4=, 0 i32.const $push1=, 10 - i32.store $push0=, g1($pop4), $pop1 - i32.store $drop=, g2($pop2), $pop0 + i32.store $push0=, g2($pop4), $pop1 + i32.store $drop=, g1($pop2), $pop0 i32.const $push3=, 0 call exit@FUNCTION, $pop3 unreachable diff --git a/test/torture-s/20021120-3.c.s b/test/torture-s/20021120-3.c.s index 85116f5e3..227d9969b 100644 --- a/test/torture-s/20021120-3.c.s +++ b/test/torture-s/20021120-3.c.s @@ -9,27 +9,27 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push16=, 0($pop9), $pop13 + i32.store $push16=, __stack_pointer($pop9), $pop13 tee_local $push15=, $3=, $pop16 i32.div_u $push0=, $1, $2 i32.store $drop=, 0($pop15), $pop0 i32.const $push1=, .L.str i32.call $drop=, sprintf@FUNCTION, $0, $pop1, $3 - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $3, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 i32.const $push2=, 1 - i32.add $push3=, $1, $pop2 + i32.add $push4=, $1, $pop2 i32.const $push14=, 1 - i32.add $push4=, $2, $pop14 - i32.div_u $push5=, $pop3, $pop4 - return $pop5 + i32.add $push3=, $2, $pop14 + i32.div_u $push5=, $pop4, $pop3 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -42,12 +42,12 @@ main: # @main .result i32 .local i32 # BB#0: # %if.end - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 32 i32.sub $push9=, $pop4, $pop5 - i32.store $push11=, 0($pop6), $pop9 + i32.store $push11=, __stack_pointer($pop6), $pop9 tee_local $push10=, $0=, $pop11 i32.const $push0=, 1073741823 i32.store $drop=, 0($pop10), $pop0 diff --git a/test/torture-s/20021127-1.c.s b/test/torture-s/20021127-1.c.s index 82c86e9e2..00ef59f78 100644 --- a/test/torture-s/20021127-1.c.s +++ b/test/torture-s/20021127-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20021219-1.c.s b/test/torture-s/20021219-1.c.s index 4779f51c8..1778aed2f 100644 --- a/test/torture-s/20021219-1.c.s +++ b/test/torture-s/20021219-1.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -20,53 +20,54 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.load $push13=, 0($pop12) - i32.const $push14=, 16 - i32.sub $push18=, $pop13, $pop14 - tee_local $push17=, $0=, $pop18 - i32.const $push2=, 14 - i32.add $push3=, $pop17, $pop2 - i32.const $push0=, 0 - i32.load8_u $push1=, .Lmain.str+10($pop0) - i32.store8 $drop=, 0($pop3), $pop1 - i32.const $push5=, 12 - i32.add $push6=, $0, $pop5 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) + i32.const $push15=, 16 + i32.sub $push19=, $pop14, $pop15 + tee_local $push18=, $0=, $pop19 + i32.const $push3=, 14 + i32.add $push4=, $pop18, $pop3 + i32.const $push1=, 0 + i32.load8_u $push2=, .Lmain.str+10($pop1) + i32.store8 $drop=, 0($pop4), $pop2 + i32.const $push6=, 12 + i32.add $push7=, $0, $pop6 + i32.const $push17=, 0 + i32.load16_u $push5=, .Lmain.str+8($pop17):p2align=0 + i32.store16 $drop=, 0($pop7), $pop5 i32.const $push16=, 0 - i32.load16_u $push4=, .Lmain.str+8($pop16):p2align=0 - i32.store16 $drop=, 0($pop6), $pop4 - i32.const $push15=, 0 - i64.load $push7=, .Lmain.str($pop15):p2align=0 - i64.store $drop=, 4($0):p2align=2, $pop7 - i32.const $push8=, 10 - i32.add $0=, $0, $pop8 + i64.load $push8=, .Lmain.str($pop16):p2align=0 + i64.store $drop=, 4($0):p2align=2, $pop8 + i32.const $push9=, 10 + i32.add $0=, $0, $pop9 i32.const $1=, 32 .LBB1_1: # %while.cond # =>This Inner Loop Header: Depth=1 loop # label0: block - i32.const $push23=, 255 - i32.and $push22=, $1, $pop23 - tee_local $push21=, $1=, $pop22 - i32.const $push20=, 32 - i32.eq $push9=, $pop21, $pop20 - br_if 0, $pop9 # 0: down to label2 + i32.const $push24=, 255 + i32.and $push23=, $1, $pop24 + tee_local $push22=, $1=, $pop23 + i32.const $push21=, 32 + i32.eq $push10=, $pop22, $pop21 + br_if 0, $pop10 # 0: down to label2 # BB#2: # %while.cond # in Loop: Header=BB1_1 Depth=1 - i32.const $push24=, 13 - i32.ne $push10=, $1, $pop24 - br_if 2, $pop10 # 2: down to label1 + i32.const $push25=, 13 + i32.ne $push11=, $1, $pop25 + br_if 2, $pop11 # 2: down to label1 .LBB1_3: # %while.body # in Loop: Header=BB1_1 Depth=1 end_block # label2: i32.load8_u $1=, 0($0) - i32.const $push19=, 1 - i32.add $0=, $0, $pop19 + i32.const $push20=, 1 + i32.add $push0=, $0, $pop20 + copy_local $0=, $pop0 br 0 # 0: up to label0 .LBB1_4: # %while.end end_loop # label1: - i32.const $push11=, 0 - return $pop11 + i32.const $push12=, 0 + # fallthrough-return: $pop12 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20030105-1.c.s b/test/torture-s/20030105-1.c.s index ebc5e64fa..ab250323d 100644 --- a/test/torture-s/20030105-1.c.s +++ b/test/torture-s/20030105-1.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 28 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -21,9 +21,9 @@ main: # @main .result i32 # BB#0: # %entry block - i32.call $push0=, foo@FUNCTION - i32.const $push1=, 28 - i32.ne $push2=, $pop0, $pop1 + i32.call $push1=, foo@FUNCTION + i32.const $push0=, 28 + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 diff --git a/test/torture-s/20030117-1.c.s b/test/torture-s/20030117-1.c.s index eaaca5f46..99f93e4fb 100644 --- a/test/torture-s/20030117-1.c.s +++ b/test/torture-s/20030117-1.c.s @@ -26,7 +26,7 @@ foo: # @foo i32.add $push1=, $pop0, $2 i32.const $push2=, 3 i32.div_s $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -41,12 +41,12 @@ bar: # @bar # BB#0: # %entry i32.mul $push1=, $1, $1 i32.mul $push0=, $0, $0 - i32.add $push3=, $pop1, $pop0 - i32.mul $push2=, $2, $2 - i32.add $push4=, $pop3, $pop2 + i32.add $push2=, $pop1, $pop0 + i32.mul $push3=, $2, $2 + i32.add $push4=, $pop2, $pop3 i32.const $push5=, 3 i32.div_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar diff --git a/test/torture-s/20030120-1.c.s b/test/torture-s/20030120-1.c.s index 0697a380f..b1509c451 100644 --- a/test/torture-s/20030120-1.c.s +++ b/test/torture-s/20030120-1.c.s @@ -10,7 +10,7 @@ test1: # @test1 # BB#0: # %entry i32.const $push0=, 2 i32.select $push1=, $0, $pop0, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -25,7 +25,7 @@ test2: # @test2 # BB#0: # %entry i32.const $push0=, 2 i32.select $push1=, $0, $pop0, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -44,7 +44,7 @@ test3: # @test3 i32.const $push5=, 1 i32.and $push1=, $0, $pop5 i32.select $push4=, $pop0, $pop3, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 diff --git a/test/torture-s/20030120-2.c.s b/test/torture-s/20030120-2.c.s index 02bcd1003..d5888edc1 100644 --- a/test/torture-s/20030120-2.c.s +++ b/test/torture-s/20030120-2.c.s @@ -9,16 +9,16 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push5=, 4 - i32.const $push2=, 3 - i32.const $push0=, 1 - i32.eq $push1=, $0, $pop0 + i32.const $push0=, 3 + i32.const $push2=, 1 + i32.eq $push3=, $0, $pop2 i32.const $push9=, 3 - i32.eq $push3=, $0, $pop9 - i32.select $push4=, $pop2, $pop1, $pop3 + i32.eq $push1=, $0, $pop9 + i32.select $push4=, $pop0, $pop3, $pop1 i32.const $push8=, 4 i32.eq $push6=, $0, $pop8 i32.select $push7=, $pop5, $pop4, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -31,7 +31,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20030125-1.c.s b/test/torture-s/20030125-1.c.s index 4b26aae75..bca3f5071 100644 --- a/test/torture-s/20030125-1.c.s +++ b/test/torture-s/20030125-1.c.s @@ -11,7 +11,7 @@ t: # @t f64.promote/f32 $push0=, $0 f64.call $push1=, sin@FUNCTION, $pop0 f32.demote/f64 $push2=, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size t, .Lfunc_end0-t @@ -24,7 +24,8 @@ sin: # @sin .param f64 .result f64 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size sin, .Lfunc_end1-sin @@ -38,7 +39,8 @@ q: # @q .result f32 .local f32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size q, .Lfunc_end2-q @@ -66,7 +68,8 @@ q1: # @q1 .result f64 .local f64 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size q1, .Lfunc_end4-q1 @@ -92,7 +95,8 @@ floorf: # @floorf .param f32 .result f32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size floorf, .Lfunc_end6-floorf diff --git a/test/torture-s/20030203-1.c.s b/test/torture-s/20030203-1.c.s index 52e4bc7f3..a73ca9849 100644 --- a/test/torture-s/20030203-1.c.s +++ b/test/torture-s/20030203-1.c.s @@ -12,7 +12,7 @@ do_layer3: # @do_layer3 i32.shr_u $push1=, $0, $pop0 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size do_layer3, .Lfunc_end0-do_layer3 @@ -24,7 +24,7 @@ do_layer3: # @do_layer3 f: # @f .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -37,7 +37,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20030216-1.c.s b/test/torture-s/20030216-1.c.s index 02fc87d0f..ed7d2bbe9 100644 --- a/test/torture-s/20030216-1.c.s +++ b/test/torture-s/20030216-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030218-1.c.s b/test/torture-s/20030218-1.c.s index 584a51e18..bc7db16cb 100644 --- a/test/torture-s/20030218-1.c.s +++ b/test/torture-s/20030218-1.c.s @@ -7,14 +7,13 @@ foo: # @foo .param i32 .result i32 - .local i32 # BB#0: # %entry - i32.load16_s $1=, 0($0) i32.const $push2=, 0 i32.const $push0=, 2 i32.add $push1=, $0, $pop0 i32.store $drop=, q($pop2), $pop1 - return $1 + i32.load16_s $push3=, 0($0) + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -27,19 +26,19 @@ main: # @main .result i32 .local i32 # BB#0: # %if.end - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push2=, 0 + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push8=, $pop5, $pop6 - i32.store $push11=, 0($pop7), $pop8 + i32.store $push11=, __stack_pointer($pop7), $pop8 tee_local $push10=, $0=, $pop11 - i32.const $push0=, 65280 - i32.store16 $drop=, 14($pop10), $pop0 - i32.const $push3=, 0 - i32.const $push1=, 16 - i32.add $push2=, $0, $pop1 - i32.store $drop=, q($pop3), $pop2 + i32.const $push0=, 16 + i32.add $push1=, $pop10, $pop0 + i32.store $drop=, q($pop2), $pop1 + i32.const $push3=, 65280 + i32.store16 $drop=, 14($0), $pop3 i32.const $push9=, 0 call exit@FUNCTION, $pop9 unreachable diff --git a/test/torture-s/20030221-1.c.s b/test/torture-s/20030221-1.c.s index 91bb99557..43b557368 100644 --- a/test/torture-s/20030221-1.c.s +++ b/test/torture-s/20030221-1.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 16 i32.sub $push15=, $pop9, $pop10 - i32.store $push19=, 0($pop11), $pop15 + i32.store $push19=, __stack_pointer($pop11), $pop15 tee_local $push18=, $0=, $pop19 i32.const $push17=, 0 i64.load $push1=, .Lmain.buf+8($pop17) @@ -30,10 +30,10 @@ main: # @main i32.ne $push7=, $pop5, $pop6 br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end - i32.const $push14=, __stack_pointer + i32.const $push14=, 0 i32.const $push12=, 16 i32.add $push13=, $0, $pop12 - i32.store $drop=, 0($pop14), $pop13 + i32.store $drop=, __stack_pointer($pop14), $pop13 i32.const $push20=, 0 return $pop20 .LBB0_2: # %if.then diff --git a/test/torture-s/20030222-1.c.s b/test/torture-s/20030222-1.c.s index 2a7e34d63..1a1840347 100644 --- a/test/torture-s/20030222-1.c.s +++ b/test/torture-s/20030222-1.c.s @@ -10,7 +10,7 @@ ll_to_int: # @ll_to_int #APP #NO_APP i64.store32 $drop=, 0($1), $0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size ll_to_int, .Lfunc_end0-ll_to_int @@ -23,12 +23,12 @@ main: # @main .result i32 .local i32, i64, i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 - i32.store $0=, 0($pop5), $pop6 + i32.store $0=, __stack_pointer($pop5), $pop6 i32.const $push9=, 0 i32.load $push8=, val($pop9) tee_local $push7=, $2=, $pop8 diff --git a/test/torture-s/20030224-2.c.s b/test/torture-s/20030224-2.c.s index 6bc33bcfb..4d6524a56 100644 --- a/test/torture-s/20030224-2.c.s +++ b/test/torture-s/20030224-2.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030307-1.c.s b/test/torture-s/20030307-1.c.s index 78eb6621f..062af2f3a 100644 --- a/test/torture-s/20030307-1.c.s +++ b/test/torture-s/20030307-1.c.s @@ -8,7 +8,8 @@ vfswrap_lock: # @vfswrap_lock .param i32, i32, i32, i64, i64, i32 .result i32 # BB#0: # %entry - return $5 + copy_local $push0=, $5 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size vfswrap_lock, .Lfunc_end0-vfswrap_lock @@ -21,7 +22,8 @@ fcntl_lock: # @fcntl_lock .param i32, i32, i64, i64, i32 .result i32 # BB#0: # %entry - return $4 + copy_local $push0=, $4 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size fcntl_lock, .Lfunc_end1-fcntl_lock @@ -34,7 +36,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20030313-1.c.s b/test/torture-s/20030313-1.c.s index 7a849cfc3..714e1cc82 100644 --- a/test/torture-s/20030313-1.c.s +++ b/test/torture-s/20030313-1.c.s @@ -87,42 +87,43 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) - i32.const $push10=, 160 - i32.sub $push12=, $pop9, $pop10 - i32.store $0=, 0($pop11), $pop12 - i32.const $push3=, 0 - i32.load $1=, x($pop3) - i32.const $push2=, 3 - i32.store $drop=, 16($0), $pop2 - i32.const $push16=, 0 - i32.load $2=, x+4($pop16) - i32.store $drop=, 20($0), $1 - i32.const $push4=, 4 - i32.store $drop=, 24($0), $pop4 - i32.store $drop=, 28($0), $2 i32.const $push15=, 0 - i32.load $1=, x+8($pop15) - i32.const $push5=, 5 - i32.store $drop=, 32($0), $pop5 - i32.const $push14=, 0 - i32.load $2=, x+12($pop14) - i32.store $drop=, 36($0), $1 - i32.const $push6=, 6 - i32.store $drop=, 40($0), $pop6 - i32.store $drop=, 44($0), $2 + i32.const $push12=, 0 + i32.load $push13=, __stack_pointer($pop12) + i32.const $push14=, 160 + i32.sub $push16=, $pop13, $pop14 + i32.store $push22=, __stack_pointer($pop15), $pop16 + tee_local $push21=, $0=, $pop22 i64.const $push0=, 47244640257 - i64.store $drop=, 0($0), $pop0 + i64.store $drop=, 0($pop21), $pop0 i64.const $push1=, 51539607554 i64.store $drop=, 8($0), $pop1 - i32.const $push7=, 12 - call foo@FUNCTION, $0, $pop7 - i32.const $push13=, 0 - call exit@FUNCTION, $pop13 + i32.const $push2=, 3 + i32.store $drop=, 16($0), $pop2 + i32.const $push3=, 4 + i32.store $drop=, 24($0), $pop3 + i32.const $push4=, 0 + i32.load $push5=, x($pop4) + i32.store $drop=, 20($0), $pop5 + i32.const $push20=, 0 + i32.load $push6=, x+4($pop20) + i32.store $drop=, 28($0), $pop6 + i32.const $push7=, 5 + i32.store $drop=, 32($0), $pop7 + i32.const $push19=, 0 + i32.load $push8=, x+8($pop19) + i32.store $drop=, 36($0), $pop8 + i32.const $push9=, 6 + i32.store $drop=, 40($0), $pop9 + i32.const $push18=, 0 + i32.load $push10=, x+12($pop18) + i32.store $drop=, 44($0), $pop10 + i32.const $push11=, 12 + call foo@FUNCTION, $0, $pop11 + i32.const $push17=, 0 + call exit@FUNCTION, $pop17 unreachable .endfunc .Lfunc_end1: diff --git a/test/torture-s/20030316-1.c.s b/test/torture-s/20030316-1.c.s index a0eb3fc7f..855911173 100644 --- a/test/torture-s/20030316-1.c.s +++ b/test/torture-s/20030316-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030330-1.c.s b/test/torture-s/20030330-1.c.s index d77a46ab7..84ebbd649 100644 --- a/test/torture-s/20030330-1.c.s +++ b/test/torture-s/20030330-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030401-1.c.s b/test/torture-s/20030401-1.c.s index 4ed9b35d1..2f93ee4bc 100644 --- a/test/torture-s/20030401-1.c.s +++ b/test/torture-s/20030401-1.c.s @@ -8,7 +8,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -20,7 +20,7 @@ bar: # @bar foo: # @foo .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -33,7 +33,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20030403-1.c.s b/test/torture-s/20030403-1.c.s index f698db7c5..fb76dbc25 100644 --- a/test/torture-s/20030403-1.c.s +++ b/test/torture-s/20030403-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030404-1.c.s b/test/torture-s/20030404-1.c.s index e12bcc3bb..6c5c1894b 100644 --- a/test/torture-s/20030404-1.c.s +++ b/test/torture-s/20030404-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end4 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030408-1.c.s b/test/torture-s/20030408-1.c.s index 4803e31b9..3b3c1d46b 100644 --- a/test/torture-s/20030408-1.c.s +++ b/test/torture-s/20030408-1.c.s @@ -8,7 +8,7 @@ test1: # @test1 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -21,7 +21,7 @@ test2: # @test2 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -34,7 +34,7 @@ test3: # @test3 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -47,7 +47,7 @@ test4: # @test4 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -60,7 +60,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/20030606-1.c.s b/test/torture-s/20030606-1.c.s index 3d2dac6a8..0026a088c 100644 --- a/test/torture-s/20030606-1.c.s +++ b/test/torture-s/20030606-1.c.s @@ -15,16 +15,16 @@ foo: # @foo br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.then i32.const $push5=, 4 - i32.add $push2=, $0, $pop5 - i32.store $drop=, 0($pop2), $1 - i32.const $push1=, 8 - i32.add $push3=, $0, $pop1 + i32.add $push1=, $0, $pop5 + i32.store $drop=, 0($pop1), $1 + i32.const $push2=, 8 + i32.add $push3=, $0, $pop2 return $pop3 .LBB0_2: end_block # label0: i32.const $push6=, 4 i32.add $push4=, $0, $pop6 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20030613-1.c.s b/test/torture-s/20030613-1.c.s index 165c92261..47fdbdb50 100644 --- a/test/torture-s/20030613-1.c.s +++ b/test/torture-s/20030613-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030626-1.c.s b/test/torture-s/20030626-1.c.s index 149da6eab..977c6cf3f 100644 --- a/test/torture-s/20030626-1.c.s +++ b/test/torture-s/20030626-1.c.s @@ -11,7 +11,7 @@ main: # @main i32.const $push0=, 7303014 i32.store $drop=, buf($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030626-2.c.s b/test/torture-s/20030626-2.c.s index 842847572..76acfaa19 100644 --- a/test/torture-s/20030626-2.c.s +++ b/test/torture-s/20030626-2.c.s @@ -20,7 +20,7 @@ main: # @main i64.load $push3=, .L.str.2($pop5):p2align=0 i64.store $drop=, buf($pop6), $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030714-1.c.s b/test/torture-s/20030714-1.c.s index 22fdb7019..39d366ad6 100644 --- a/test/torture-s/20030714-1.c.s +++ b/test/torture-s/20030714-1.c.s @@ -21,14 +21,15 @@ RenderBox_setStyle: # @RenderBox_setStyle block i32.const $push33=, 16 i32.and $push9=, $2, $pop33 - i32.eqz $push35=, $pop9 - br_if 0, $pop35 # 0: down to label2 + i32.eqz $push41=, $pop9 + br_if 0, $pop41 # 0: down to label2 # BB#2: # %if.then - i32.const $push34=, 16 - i32.or $2=, $2, $pop34 i32.const $push10=, 26 i32.add $push11=, $0, $pop10 - i32.store16 $drop=, 0($pop11), $2 + i32.const $push36=, 16 + i32.or $push35=, $2, $pop36 + tee_local $push34=, $2=, $pop35 + i32.store16 $drop=, 0($pop11), $pop34 .LBB0_3: # %if.end end_block # label2: i32.const $push15=, 26 @@ -43,15 +44,16 @@ RenderBox_setStyle: # @RenderBox_setStyle # BB#4: # %if.end i32.const $push17=, 1572864 i32.and $push12=, $2, $pop17 - i32.eqz $push36=, $pop12 - br_if 1, $pop36 # 1: down to label0 + i32.eqz $push42=, $pop12 + br_if 1, $pop42 # 1: down to label0 # BB#5: # %if.then39 i32.const $push20=, 26 - i32.add $0=, $0, $pop20 + i32.add $push38=, $0, $pop20 + tee_local $push37=, $0=, $pop38 i32.load16_u $push21=, 0($0) i32.const $push22=, 8 i32.or $push23=, $pop21, $pop22 - i32.store16 $drop=, 0($0), $pop23 + i32.store16 $drop=, 0($pop37), $pop23 return .LBB0_6: # %sw.bb end_block # label1: @@ -72,14 +74,15 @@ RenderBox_setStyle: # @RenderBox_setStyle br_if 0, $pop28 # 0: down to label3 # BB#8: # %if.then55 i32.const $push29=, 26 - i32.add $0=, $0, $pop29 + i32.add $push40=, $0, $pop29 + tee_local $push39=, $0=, $pop40 i32.load16_u $push30=, 0($0) i32.const $push31=, 64 i32.or $push32=, $pop30, $pop31 - i32.store16 $drop=, 0($0), $pop32 + i32.store16 $drop=, 0($pop39), $pop32 .LBB0_9: # %sw.epilog end_block # label3: - return + # fallthrough-return .endfunc .Lfunc_end0: .size RenderBox_setStyle, .Lfunc_end0-RenderBox_setStyle @@ -91,7 +94,7 @@ RenderBox_setStyle: # @RenderBox_setStyle RenderObject_setStyle: # @RenderObject_setStyle .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size RenderObject_setStyle, .Lfunc_end1-RenderObject_setStyle @@ -103,7 +106,7 @@ RenderObject_setStyle: # @RenderObject_setStyle removeFromSpecialObjects: # @removeFromSpecialObjects .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size removeFromSpecialObjects, .Lfunc_end2-removeFromSpecialObjects @@ -117,7 +120,7 @@ RenderBox_isTableCell: # @RenderBox_isTableCell .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size RenderBox_isTableCell, .Lfunc_end3-RenderBox_isTableCell @@ -128,29 +131,28 @@ RenderBox_isTableCell: # @RenderBox_isTableCell .type main,@function main: # @main .result i32 - .local i32, i32 # BB#0: # %RenderBox_setStyle.exit - i32.const $push0=, 0 - i32.load16_u $0=, g_this+26($pop0) + i32.const $push1=, 0 + i32.const $push0=, RenderBox_isTableCell@FUNCTION + i32.store $drop=, g_this+28($pop1), $pop0 + i32.const $push16=, 0 + i32.const $push15=, 0 + i32.load $push2=, g__style($pop15) + i32.const $push3=, -1966081 + i32.and $push4=, $pop2, $pop3 + i32.const $push5=, 393216 + i32.or $push6=, $pop4, $pop5 + i32.store $drop=, g__style($pop16), $pop6 i32.const $push14=, 0 - i32.load $1=, g__style($pop14) i32.const $push13=, 0 - i32.const $push3=, RenderBox_isTableCell@FUNCTION - i32.store $drop=, g_this+28($pop13), $pop3 + i32.load16_u $push7=, g_this+26($pop13) + i32.const $push8=, 65447 + i32.and $push9=, $pop7, $pop8 + i32.const $push10=, 16 + i32.or $push11=, $pop9, $pop10 + i32.store16 $drop=, g_this+26($pop14), $pop11 i32.const $push12=, 0 - i32.const $push4=, -1966081 - i32.and $push5=, $1, $pop4 - i32.const $push6=, 393216 - i32.or $push7=, $pop5, $pop6 - i32.store $drop=, g__style($pop12), $pop7 - i32.const $push11=, 0 - i32.const $push1=, 65447 - i32.and $push2=, $0, $pop1 - i32.const $push8=, 16 - i32.or $push9=, $pop2, $pop8 - i32.store16 $drop=, g_this+26($pop11), $pop9 - i32.const $push10=, 0 - call exit@FUNCTION, $pop10 + call exit@FUNCTION, $pop12 unreachable .endfunc .Lfunc_end4: diff --git a/test/torture-s/20030715-1.c.s b/test/torture-s/20030715-1.c.s index 2010000db..9cc2d954b 100644 --- a/test/torture-s/20030715-1.c.s +++ b/test/torture-s/20030715-1.c.s @@ -9,7 +9,7 @@ ap_check_cmd_context: # @ap_check_cmd_context .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size ap_check_cmd_context, .Lfunc_end0-ap_check_cmd_context @@ -43,7 +43,8 @@ server_type: # @server_type i32.const $4=, 0 .LBB1_3: # %cleanup end_block # label0: - return $4 + copy_local $push6=, $4 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size server_type, .Lfunc_end1-server_type @@ -59,7 +60,7 @@ main: # @main i32.const $push0=, 1 i32.store $drop=, ap_standalone($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20030717-1.c.s b/test/torture-s/20030717-1.c.s index 752161b2f..cd8de0a1c 100644 --- a/test/torture-s/20030717-1.c.s +++ b/test/torture-s/20030717-1.c.s @@ -7,66 +7,70 @@ bar: # @bar .param i32, i32 .result i32 - .local i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.load16_u $2=, 0($1) - i32.load $push26=, 4($1) - tee_local $push25=, $7=, $pop26 - i32.load $push24=, 24($0) - tee_local $push23=, $6=, $pop24 - i32.const $push22=, 20 - i32.mul $push0=, $pop23, $pop22 + i32.load $push28=, 4($1) + tee_local $push27=, $4=, $pop28 + i32.load $push26=, 24($0) + tee_local $push25=, $2=, $pop26 + i32.const $push24=, 20 + i32.mul $push0=, $pop25, $pop24 i32.add $push1=, $0, $pop0 i32.load $push2=, 12($pop1) - i32.sub $1=, $pop25, $pop2 + i32.sub $push23=, $pop27, $pop2 + tee_local $push22=, $7=, $pop23 i32.const $push21=, 31 - i32.shr_s $push20=, $1, $pop21 - tee_local $push19=, $4=, $pop20 - i32.add $push3=, $1, $pop19 - i32.xor $3=, $pop3, $4 - copy_local $1=, $6 - copy_local $5=, $6 + i32.shr_s $push20=, $7, $pop21 + tee_local $push19=, $7=, $pop20 + i32.add $push3=, $pop22, $pop19 + i32.xor $5=, $pop3, $7 + i32.load16_u $3=, 0($1) + copy_local $1=, $2 + copy_local $7=, $2 .LBB0_1: # %do.body # =>This Inner Loop Header: Depth=1 loop # label0: block - i32.const $push27=, 0 - i32.gt_s $push4=, $1, $pop27 + i32.const $push29=, 0 + i32.gt_s $push4=, $1, $pop29 br_if 0, $pop4 # 0: down to label2 # BB#2: # %if.then # in Loop: Header=BB0_1 Depth=1 - i32.const $push28=, 20 - i32.add $push5=, $0, $pop28 + i32.const $push30=, 20 + i32.add $push5=, $0, $pop30 i32.load $1=, 0($pop5) .LBB0_3: # %if.end # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.const $push33=, -1 - i32.add $1=, $1, $pop33 - i32.const $push32=, 20 - i32.mul $push6=, $1, $pop32 + i32.const $push39=, -1 + i32.add $push38=, $1, $pop39 + tee_local $push37=, $1=, $pop38 + i32.const $push36=, 20 + i32.mul $push6=, $1, $pop36 i32.add $push7=, $0, $pop6 i32.load $push8=, 12($pop7) - i32.sub $4=, $7, $pop8 - i32.const $push31=, 31 - i32.shr_s $push30=, $4, $pop31 - tee_local $push29=, $8=, $pop30 - i32.add $push9=, $4, $pop29 - i32.xor $push10=, $pop9, $8 - i32.lt_u $push11=, $pop10, $3 - i32.select $5=, $1, $5, $pop11 - i32.ne $push12=, $1, $6 + i32.sub $push35=, $4, $pop8 + tee_local $push34=, $6=, $pop35 + i32.const $push33=, 31 + i32.shr_s $push32=, $6, $pop33 + tee_local $push31=, $6=, $pop32 + i32.add $push9=, $pop34, $pop31 + i32.xor $push10=, $pop9, $6 + i32.lt_u $push11=, $pop10, $5 + i32.select $7=, $pop37, $7, $pop11 + i32.ne $push12=, $1, $2 br_if 0, $pop12 # 0: up to label0 # BB#4: # %do.end end_loop # label1: i32.const $push16=, 20 - i32.mul $push17=, $5, $pop16 + i32.mul $push17=, $7, $pop16 i32.add $push18=, $0, $pop17 i32.const $push13=, 9 - i32.shr_u $push14=, $2, $pop13 - i32.add $push15=, $pop14, $7 + i32.shr_u $push14=, $3, $pop13 + i32.add $push15=, $pop14, $4 i32.store $drop=, 12($pop18), $pop15 - return $5 + copy_local $push40=, $7 + # fallthrough-return: $pop40 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -79,7 +83,7 @@ main: # @main .result i32 # BB#0: # %bar.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20030718-1.c.s b/test/torture-s/20030718-1.c.s index 6cbb3f835..ec370a4c3 100644 --- a/test/torture-s/20030718-1.c.s +++ b/test/torture-s/20030718-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030821-1.c.s b/test/torture-s/20030821-1.c.s index 2aa2e493f..6ace7daba 100644 --- a/test/torture-s/20030821-1.c.s +++ b/test/torture-s/20030821-1.c.s @@ -33,7 +33,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20030828-1.c.s b/test/torture-s/20030828-1.c.s index e75a7262f..aaf1b31d7 100644 --- a/test/torture-s/20030828-1.c.s +++ b/test/torture-s/20030828-1.c.s @@ -12,7 +12,7 @@ bar: # @bar i32.load $push2=, 0($pop1) i32.const $push3=, 1 i32.add $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -25,19 +25,19 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push0=, 0 + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop8 + i32.store $push11=, __stack_pointer($pop5), $pop8 tee_local $push10=, $0=, $pop11 - i32.const $push0=, 5 - i32.store $drop=, 12($pop10), $pop0 - i32.const $push1=, 0 i32.const $push6=, 12 - i32.add $push7=, $0, $pop6 - i32.store $drop=, p($pop1), $pop7 + i32.add $push7=, $pop10, $pop6 + i32.store $drop=, p($pop0), $pop7 + i32.const $push1=, 5 + i32.store $drop=, 12($0), $pop1 i32.const $push9=, 0 call exit@FUNCTION, $pop9 unreachable diff --git a/test/torture-s/20030909-1.c.s b/test/torture-s/20030909-1.c.s index 94da7f66b..2e80cb5eb 100644 --- a/test/torture-s/20030909-1.c.s +++ b/test/torture-s/20030909-1.c.s @@ -27,7 +27,7 @@ test: # @test foo: # @foo .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/20030913-1.c.s b/test/torture-s/20030913-1.c.s index bbc06b9b9..9cc7f54a9 100644 --- a/test/torture-s/20030913-1.c.s +++ b/test/torture-s/20030913-1.c.s @@ -9,7 +9,7 @@ fn2: # @fn2 # BB#0: # %entry i32.const $push0=, glob i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size fn2, .Lfunc_end0-fn2 @@ -20,10 +20,10 @@ fn2: # @fn2 .type test,@function test: # @test # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 42 - i32.store $drop=, glob($pop0), $pop1 - return + i32.const $push1=, 0 + i32.const $push0=, 42 + i32.store $drop=, glob($pop1), $pop0 + # fallthrough-return .endfunc .Lfunc_end1: .size test, .Lfunc_end1-test diff --git a/test/torture-s/20030914-1.c.s b/test/torture-s/20030914-1.c.s index 6326de612..dcda08ff4 100644 --- a/test/torture-s/20030914-1.c.s +++ b/test/torture-s/20030914-1.c.s @@ -8,322 +8,322 @@ f: # @f .param i32, i32, i32, i64, i64 .local i32 # BB#0: # %entry - i32.const $push86=, __stack_pointer - i32.const $push83=, __stack_pointer - i32.load $push84=, 0($pop83) - i32.const $push85=, 512 - i32.sub $push214=, $pop84, $pop85 - i32.store $push248=, 0($pop86), $pop214 - tee_local $push247=, $5=, $pop248 - i32.const $push90=, 496 - i32.add $push91=, $pop247, $pop90 + i32.const $push117=, 0 + i32.const $push114=, 0 + i32.load $push115=, __stack_pointer($pop114) + i32.const $push116=, 512 + i32.sub $push245=, $pop115, $pop116 + i32.store $push279=, __stack_pointer($pop117), $pop245 + tee_local $push278=, $5=, $pop279 + i32.const $push121=, 496 + i32.add $push122=, $pop278, $pop121 i32.load $push0=, 0($2) - call __floatsitf@FUNCTION, $pop91, $pop0 - i32.const $push94=, 480 - i32.add $push95=, $5, $pop94 + call __floatsitf@FUNCTION, $pop122, $pop0 + i32.const $push125=, 480 + i32.add $push126=, $5, $pop125 i64.load $push4=, 496($5) - i32.const $push92=, 496 - i32.add $push93=, $5, $pop92 + i32.const $push123=, 496 + i32.add $push124=, $5, $pop123 i32.const $push1=, 8 - i32.add $push2=, $pop93, $pop1 + i32.add $push2=, $pop124, $pop1 i64.load $push3=, 0($pop2) - call __addtf3@FUNCTION, $pop95, $pop4, $pop3, $3, $4 - i32.const $push96=, 480 - i32.add $push97=, $5, $pop96 - i32.const $push246=, 8 - i32.add $push5=, $pop97, $pop246 - i64.load $3=, 0($pop5) - i64.load $4=, 480($5) - i32.const $push98=, 464 - i32.add $push99=, $5, $pop98 - i32.load $push6=, 4($2) - call __floatsitf@FUNCTION, $pop99, $pop6 - i32.const $push102=, 448 - i32.add $push103=, $5, $pop102 - i64.load $push9=, 464($5) - i32.const $push100=, 464 - i32.add $push101=, $5, $pop100 - i32.const $push245=, 8 - i32.add $push7=, $pop101, $pop245 - i64.load $push8=, 0($pop7) - call __addtf3@FUNCTION, $pop103, $4, $3, $pop9, $pop8 - i32.const $push104=, 448 - i32.add $push105=, $5, $pop104 - i32.const $push244=, 8 - i32.add $push10=, $pop105, $pop244 - i64.load $3=, 0($pop10) - i64.load $4=, 448($5) - i32.const $push106=, 432 - i32.add $push107=, $5, $pop106 - i32.load $push11=, 8($2) - call __floatsitf@FUNCTION, $pop107, $pop11 - i32.const $push110=, 416 - i32.add $push111=, $5, $pop110 - i64.load $push14=, 432($5) - i32.const $push108=, 432 - i32.add $push109=, $5, $pop108 - i32.const $push243=, 8 - i32.add $push12=, $pop109, $pop243 - i64.load $push13=, 0($pop12) - call __addtf3@FUNCTION, $pop111, $4, $3, $pop14, $pop13 - i32.const $push112=, 416 - i32.add $push113=, $5, $pop112 - i32.const $push242=, 8 - i32.add $push15=, $pop113, $pop242 - i64.load $3=, 0($pop15) - i64.load $4=, 416($5) - i32.const $push114=, 400 - i32.add $push115=, $5, $pop114 - i32.load $push16=, 12($2) - call __floatsitf@FUNCTION, $pop115, $pop16 - i32.const $push118=, 384 - i32.add $push119=, $5, $pop118 - i64.load $push19=, 400($5) - i32.const $push116=, 400 - i32.add $push117=, $5, $pop116 - i32.const $push241=, 8 - i32.add $push17=, $pop117, $pop241 - i64.load $push18=, 0($pop17) - call __addtf3@FUNCTION, $pop119, $4, $3, $pop19, $pop18 - i32.const $push120=, 384 - i32.add $push121=, $5, $pop120 - i32.const $push240=, 8 - i32.add $push20=, $pop121, $pop240 - i64.load $3=, 0($pop20) - i64.load $4=, 384($5) - i32.const $push122=, 368 - i32.add $push123=, $5, $pop122 - i32.load $push21=, 16($2) - call __floatsitf@FUNCTION, $pop123, $pop21 - i32.const $push126=, 352 - i32.add $push127=, $5, $pop126 - i64.load $push24=, 368($5) - i32.const $push124=, 368 - i32.add $push125=, $5, $pop124 - i32.const $push239=, 8 - i32.add $push22=, $pop125, $pop239 + call __addtf3@FUNCTION, $pop126, $pop4, $pop3, $3, $4 + i32.const $push127=, 464 + i32.add $push128=, $5, $pop127 + i32.load $push5=, 4($2) + call __floatsitf@FUNCTION, $pop128, $pop5 + i32.const $push133=, 448 + i32.add $push134=, $5, $pop133 + i64.load $push11=, 480($5) + i32.const $push131=, 480 + i32.add $push132=, $5, $pop131 + i32.const $push277=, 8 + i32.add $push8=, $pop132, $pop277 + i64.load $push9=, 0($pop8) + i64.load $push10=, 464($5) + i32.const $push129=, 464 + i32.add $push130=, $5, $pop129 + i32.const $push276=, 8 + i32.add $push6=, $pop130, $pop276 + i64.load $push7=, 0($pop6) + call __addtf3@FUNCTION, $pop134, $pop11, $pop9, $pop10, $pop7 + i32.const $push135=, 432 + i32.add $push136=, $5, $pop135 + i32.load $push12=, 8($2) + call __floatsitf@FUNCTION, $pop136, $pop12 + i32.const $push141=, 416 + i32.add $push142=, $5, $pop141 + i64.load $push18=, 448($5) + i32.const $push139=, 448 + i32.add $push140=, $5, $pop139 + i32.const $push275=, 8 + i32.add $push15=, $pop140, $pop275 + i64.load $push16=, 0($pop15) + i64.load $push17=, 432($5) + i32.const $push137=, 432 + i32.add $push138=, $5, $pop137 + i32.const $push274=, 8 + i32.add $push13=, $pop138, $pop274 + i64.load $push14=, 0($pop13) + call __addtf3@FUNCTION, $pop142, $pop18, $pop16, $pop17, $pop14 + i32.const $push143=, 400 + i32.add $push144=, $5, $pop143 + i32.load $push19=, 12($2) + call __floatsitf@FUNCTION, $pop144, $pop19 + i32.const $push149=, 384 + i32.add $push150=, $5, $pop149 + i64.load $push25=, 416($5) + i32.const $push147=, 416 + i32.add $push148=, $5, $pop147 + i32.const $push273=, 8 + i32.add $push22=, $pop148, $pop273 i64.load $push23=, 0($pop22) - call __addtf3@FUNCTION, $pop127, $4, $3, $pop24, $pop23 - i32.const $push128=, 352 - i32.add $push129=, $5, $pop128 - i32.const $push238=, 8 - i32.add $push25=, $pop129, $pop238 - i64.load $3=, 0($pop25) - i64.load $4=, 352($5) - i32.const $push130=, 336 - i32.add $push131=, $5, $pop130 - i32.load $push26=, 20($2) - call __floatsitf@FUNCTION, $pop131, $pop26 - i32.const $push134=, 320 - i32.add $push135=, $5, $pop134 - i64.load $push29=, 336($5) - i32.const $push132=, 336 - i32.add $push133=, $5, $pop132 - i32.const $push237=, 8 - i32.add $push27=, $pop133, $pop237 + i64.load $push24=, 400($5) + i32.const $push145=, 400 + i32.add $push146=, $5, $pop145 + i32.const $push272=, 8 + i32.add $push20=, $pop146, $pop272 + i64.load $push21=, 0($pop20) + call __addtf3@FUNCTION, $pop150, $pop25, $pop23, $pop24, $pop21 + i32.const $push151=, 368 + i32.add $push152=, $5, $pop151 + i32.load $push26=, 16($2) + call __floatsitf@FUNCTION, $pop152, $pop26 + i32.const $push157=, 352 + i32.add $push158=, $5, $pop157 + i64.load $push32=, 384($5) + i32.const $push155=, 384 + i32.add $push156=, $5, $pop155 + i32.const $push271=, 8 + i32.add $push29=, $pop156, $pop271 + i64.load $push30=, 0($pop29) + i64.load $push31=, 368($5) + i32.const $push153=, 368 + i32.add $push154=, $5, $pop153 + i32.const $push270=, 8 + i32.add $push27=, $pop154, $pop270 i64.load $push28=, 0($pop27) - call __addtf3@FUNCTION, $pop135, $4, $3, $pop29, $pop28 - i32.const $push136=, 320 - i32.add $push137=, $5, $pop136 - i32.const $push236=, 8 - i32.add $push30=, $pop137, $pop236 - i64.load $3=, 0($pop30) - i64.load $4=, 320($5) - i32.const $push138=, 304 - i32.add $push139=, $5, $pop138 - i32.load $push31=, 24($2) - call __floatsitf@FUNCTION, $pop139, $pop31 - i32.const $push142=, 288 - i32.add $push143=, $5, $pop142 - i64.load $push34=, 304($5) - i32.const $push140=, 304 - i32.add $push141=, $5, $pop140 - i32.const $push235=, 8 - i32.add $push32=, $pop141, $pop235 - i64.load $push33=, 0($pop32) - call __addtf3@FUNCTION, $pop143, $4, $3, $pop34, $pop33 - i32.const $push144=, 288 - i32.add $push145=, $5, $pop144 - i32.const $push234=, 8 - i32.add $push35=, $pop145, $pop234 - i64.load $3=, 0($pop35) - i64.load $4=, 288($5) - i32.const $push146=, 272 - i32.add $push147=, $5, $pop146 - i32.load $push36=, 28($2) - call __floatsitf@FUNCTION, $pop147, $pop36 - i32.const $push150=, 256 - i32.add $push151=, $5, $pop150 - i64.load $push39=, 272($5) - i32.const $push148=, 272 - i32.add $push149=, $5, $pop148 - i32.const $push233=, 8 - i32.add $push37=, $pop149, $pop233 - i64.load $push38=, 0($pop37) - call __addtf3@FUNCTION, $pop151, $4, $3, $pop39, $pop38 - i32.const $push152=, 256 - i32.add $push153=, $5, $pop152 - i32.const $push232=, 8 - i32.add $push40=, $pop153, $pop232 - i64.load $3=, 0($pop40) - i64.load $4=, 256($5) - i32.const $push154=, 240 - i32.add $push155=, $5, $pop154 - i32.load $push41=, 32($2) - call __floatsitf@FUNCTION, $pop155, $pop41 - i32.const $push158=, 224 - i32.add $push159=, $5, $pop158 - i64.load $push44=, 240($5) - i32.const $push156=, 240 - i32.add $push157=, $5, $pop156 - i32.const $push231=, 8 - i32.add $push42=, $pop157, $pop231 - i64.load $push43=, 0($pop42) - call __addtf3@FUNCTION, $pop159, $4, $3, $pop44, $pop43 - i32.const $push160=, 224 - i32.add $push161=, $5, $pop160 - i32.const $push230=, 8 - i32.add $push45=, $pop161, $pop230 - i64.load $3=, 0($pop45) - i64.load $4=, 224($5) - i32.const $push162=, 208 - i32.add $push163=, $5, $pop162 - i32.load $push46=, 36($2) - call __floatsitf@FUNCTION, $pop163, $pop46 - i32.const $push166=, 192 - i32.add $push167=, $5, $pop166 - i64.load $push49=, 208($5) - i32.const $push164=, 208 - i32.add $push165=, $5, $pop164 - i32.const $push229=, 8 - i32.add $push47=, $pop165, $pop229 - i64.load $push48=, 0($pop47) - call __addtf3@FUNCTION, $pop167, $4, $3, $pop49, $pop48 - i32.const $push168=, 192 - i32.add $push169=, $5, $pop168 - i32.const $push228=, 8 - i32.add $push50=, $pop169, $pop228 - i64.load $3=, 0($pop50) - i64.load $4=, 192($5) - i32.const $push170=, 176 - i32.add $push171=, $5, $pop170 - i32.load $push51=, 40($2) - call __floatsitf@FUNCTION, $pop171, $pop51 - i32.const $push174=, 160 - i32.add $push175=, $5, $pop174 - i64.load $push54=, 176($5) - i32.const $push172=, 176 - i32.add $push173=, $5, $pop172 - i32.const $push227=, 8 - i32.add $push52=, $pop173, $pop227 - i64.load $push53=, 0($pop52) - call __addtf3@FUNCTION, $pop175, $4, $3, $pop54, $pop53 - i32.const $push176=, 160 - i32.add $push177=, $5, $pop176 - i32.const $push226=, 8 - i32.add $push55=, $pop177, $pop226 - i64.load $3=, 0($pop55) - i64.load $4=, 160($5) - i32.const $push178=, 144 - i32.add $push179=, $5, $pop178 - i32.load $push56=, 44($2) - call __floatsitf@FUNCTION, $pop179, $pop56 - i32.const $push182=, 128 - i32.add $push183=, $5, $pop182 - i64.load $push59=, 144($5) - i32.const $push180=, 144 - i32.add $push181=, $5, $pop180 - i32.const $push225=, 8 - i32.add $push57=, $pop181, $pop225 + call __addtf3@FUNCTION, $pop158, $pop32, $pop30, $pop31, $pop28 + i32.const $push159=, 336 + i32.add $push160=, $5, $pop159 + i32.load $push33=, 20($2) + call __floatsitf@FUNCTION, $pop160, $pop33 + i32.const $push165=, 320 + i32.add $push166=, $5, $pop165 + i64.load $push39=, 352($5) + i32.const $push163=, 352 + i32.add $push164=, $5, $pop163 + i32.const $push269=, 8 + i32.add $push36=, $pop164, $pop269 + i64.load $push37=, 0($pop36) + i64.load $push38=, 336($5) + i32.const $push161=, 336 + i32.add $push162=, $5, $pop161 + i32.const $push268=, 8 + i32.add $push34=, $pop162, $pop268 + i64.load $push35=, 0($pop34) + call __addtf3@FUNCTION, $pop166, $pop39, $pop37, $pop38, $pop35 + i32.const $push167=, 304 + i32.add $push168=, $5, $pop167 + i32.load $push40=, 24($2) + call __floatsitf@FUNCTION, $pop168, $pop40 + i32.const $push173=, 288 + i32.add $push174=, $5, $pop173 + i64.load $push46=, 320($5) + i32.const $push171=, 320 + i32.add $push172=, $5, $pop171 + i32.const $push267=, 8 + i32.add $push43=, $pop172, $pop267 + i64.load $push44=, 0($pop43) + i64.load $push45=, 304($5) + i32.const $push169=, 304 + i32.add $push170=, $5, $pop169 + i32.const $push266=, 8 + i32.add $push41=, $pop170, $pop266 + i64.load $push42=, 0($pop41) + call __addtf3@FUNCTION, $pop174, $pop46, $pop44, $pop45, $pop42 + i32.const $push175=, 272 + i32.add $push176=, $5, $pop175 + i32.load $push47=, 28($2) + call __floatsitf@FUNCTION, $pop176, $pop47 + i32.const $push181=, 256 + i32.add $push182=, $5, $pop181 + i64.load $push53=, 288($5) + i32.const $push179=, 288 + i32.add $push180=, $5, $pop179 + i32.const $push265=, 8 + i32.add $push50=, $pop180, $pop265 + i64.load $push51=, 0($pop50) + i64.load $push52=, 272($5) + i32.const $push177=, 272 + i32.add $push178=, $5, $pop177 + i32.const $push264=, 8 + i32.add $push48=, $pop178, $pop264 + i64.load $push49=, 0($pop48) + call __addtf3@FUNCTION, $pop182, $pop53, $pop51, $pop52, $pop49 + i32.const $push183=, 240 + i32.add $push184=, $5, $pop183 + i32.load $push54=, 32($2) + call __floatsitf@FUNCTION, $pop184, $pop54 + i32.const $push189=, 224 + i32.add $push190=, $5, $pop189 + i64.load $push60=, 256($5) + i32.const $push187=, 256 + i32.add $push188=, $5, $pop187 + i32.const $push263=, 8 + i32.add $push57=, $pop188, $pop263 i64.load $push58=, 0($pop57) - call __addtf3@FUNCTION, $pop183, $4, $3, $pop59, $pop58 - i32.const $push184=, 128 - i32.add $push185=, $5, $pop184 - i32.const $push224=, 8 - i32.add $push60=, $pop185, $pop224 - i64.load $3=, 0($pop60) - i64.load $4=, 128($5) - i32.const $push186=, 112 - i32.add $push187=, $5, $pop186 - i32.load $push61=, 48($2) - call __floatsitf@FUNCTION, $pop187, $pop61 - i32.const $push190=, 96 - i32.add $push191=, $5, $pop190 - i64.load $push64=, 112($5) - i32.const $push188=, 112 - i32.add $push189=, $5, $pop188 - i32.const $push223=, 8 - i32.add $push62=, $pop189, $pop223 + i64.load $push59=, 240($5) + i32.const $push185=, 240 + i32.add $push186=, $5, $pop185 + i32.const $push262=, 8 + i32.add $push55=, $pop186, $pop262 + i64.load $push56=, 0($pop55) + call __addtf3@FUNCTION, $pop190, $pop60, $pop58, $pop59, $pop56 + i32.const $push191=, 208 + i32.add $push192=, $5, $pop191 + i32.load $push61=, 36($2) + call __floatsitf@FUNCTION, $pop192, $pop61 + i32.const $push197=, 192 + i32.add $push198=, $5, $pop197 + i64.load $push67=, 224($5) + i32.const $push195=, 224 + i32.add $push196=, $5, $pop195 + i32.const $push261=, 8 + i32.add $push64=, $pop196, $pop261 + i64.load $push65=, 0($pop64) + i64.load $push66=, 208($5) + i32.const $push193=, 208 + i32.add $push194=, $5, $pop193 + i32.const $push260=, 8 + i32.add $push62=, $pop194, $pop260 i64.load $push63=, 0($pop62) - call __addtf3@FUNCTION, $pop191, $4, $3, $pop64, $pop63 - i32.const $push192=, 96 - i32.add $push193=, $5, $pop192 - i32.const $push222=, 8 - i32.add $push65=, $pop193, $pop222 - i64.load $3=, 0($pop65) - i64.load $4=, 96($5) - i32.const $push194=, 80 - i32.add $push195=, $5, $pop194 - i32.load $push66=, 52($2) - call __floatsitf@FUNCTION, $pop195, $pop66 - i32.const $push198=, 64 - i32.add $push199=, $5, $pop198 - i64.load $push69=, 80($5) - i32.const $push196=, 80 - i32.add $push197=, $5, $pop196 - i32.const $push221=, 8 - i32.add $push67=, $pop197, $pop221 - i64.load $push68=, 0($pop67) - call __addtf3@FUNCTION, $pop199, $4, $3, $pop69, $pop68 - i32.const $push200=, 64 - i32.add $push201=, $5, $pop200 - i32.const $push220=, 8 - i32.add $push70=, $pop201, $pop220 - i64.load $3=, 0($pop70) - i64.load $4=, 64($5) - i32.const $push202=, 48 - i32.add $push203=, $5, $pop202 - i32.load $push71=, 56($2) - call __floatsitf@FUNCTION, $pop203, $pop71 - i32.const $push206=, 32 - i32.add $push207=, $5, $pop206 - i64.load $push74=, 48($5) - i32.const $push204=, 48 - i32.add $push205=, $5, $pop204 - i32.const $push219=, 8 - i32.add $push72=, $pop205, $pop219 - i64.load $push73=, 0($pop72) - call __addtf3@FUNCTION, $pop207, $4, $3, $pop74, $pop73 - i32.const $push208=, 32 - i32.add $push209=, $5, $pop208 - i32.const $push218=, 8 - i32.add $push75=, $pop209, $pop218 - i64.load $3=, 0($pop75) - i64.load $4=, 32($5) - i32.const $push210=, 16 - i32.add $push211=, $5, $pop210 - i32.load $push76=, 60($2) - call __floatsitf@FUNCTION, $pop211, $pop76 - i64.load $push79=, 16($5) - i32.const $push212=, 16 - i32.add $push213=, $5, $pop212 - i32.const $push217=, 8 - i32.add $push77=, $pop213, $pop217 - i64.load $push78=, 0($pop77) - call __addtf3@FUNCTION, $5, $4, $3, $pop79, $pop78 - i64.load $3=, 0($5) - i32.const $push216=, 8 - i32.add $push82=, $0, $pop216 - i32.const $push215=, 8 - i32.add $push80=, $5, $pop215 - i64.load $push81=, 0($pop80) - i64.store $drop=, 0($pop82), $pop81 - i64.store $drop=, 0($0), $3 - i32.const $push89=, __stack_pointer - i32.const $push87=, 512 - i32.add $push88=, $5, $pop87 - i32.store $drop=, 0($pop89), $pop88 - return + call __addtf3@FUNCTION, $pop198, $pop67, $pop65, $pop66, $pop63 + i32.const $push199=, 176 + i32.add $push200=, $5, $pop199 + i32.load $push68=, 40($2) + call __floatsitf@FUNCTION, $pop200, $pop68 + i32.const $push205=, 160 + i32.add $push206=, $5, $pop205 + i64.load $push74=, 192($5) + i32.const $push203=, 192 + i32.add $push204=, $5, $pop203 + i32.const $push259=, 8 + i32.add $push71=, $pop204, $pop259 + i64.load $push72=, 0($pop71) + i64.load $push73=, 176($5) + i32.const $push201=, 176 + i32.add $push202=, $5, $pop201 + i32.const $push258=, 8 + i32.add $push69=, $pop202, $pop258 + i64.load $push70=, 0($pop69) + call __addtf3@FUNCTION, $pop206, $pop74, $pop72, $pop73, $pop70 + i32.const $push207=, 144 + i32.add $push208=, $5, $pop207 + i32.load $push75=, 44($2) + call __floatsitf@FUNCTION, $pop208, $pop75 + i32.const $push213=, 128 + i32.add $push214=, $5, $pop213 + i64.load $push81=, 160($5) + i32.const $push211=, 160 + i32.add $push212=, $5, $pop211 + i32.const $push257=, 8 + i32.add $push78=, $pop212, $pop257 + i64.load $push79=, 0($pop78) + i64.load $push80=, 144($5) + i32.const $push209=, 144 + i32.add $push210=, $5, $pop209 + i32.const $push256=, 8 + i32.add $push76=, $pop210, $pop256 + i64.load $push77=, 0($pop76) + call __addtf3@FUNCTION, $pop214, $pop81, $pop79, $pop80, $pop77 + i32.const $push215=, 112 + i32.add $push216=, $5, $pop215 + i32.load $push82=, 48($2) + call __floatsitf@FUNCTION, $pop216, $pop82 + i32.const $push221=, 96 + i32.add $push222=, $5, $pop221 + i64.load $push88=, 128($5) + i32.const $push219=, 128 + i32.add $push220=, $5, $pop219 + i32.const $push255=, 8 + i32.add $push85=, $pop220, $pop255 + i64.load $push86=, 0($pop85) + i64.load $push87=, 112($5) + i32.const $push217=, 112 + i32.add $push218=, $5, $pop217 + i32.const $push254=, 8 + i32.add $push83=, $pop218, $pop254 + i64.load $push84=, 0($pop83) + call __addtf3@FUNCTION, $pop222, $pop88, $pop86, $pop87, $pop84 + i32.const $push223=, 80 + i32.add $push224=, $5, $pop223 + i32.load $push89=, 52($2) + call __floatsitf@FUNCTION, $pop224, $pop89 + i32.const $push229=, 64 + i32.add $push230=, $5, $pop229 + i64.load $push95=, 96($5) + i32.const $push227=, 96 + i32.add $push228=, $5, $pop227 + i32.const $push253=, 8 + i32.add $push92=, $pop228, $pop253 + i64.load $push93=, 0($pop92) + i64.load $push94=, 80($5) + i32.const $push225=, 80 + i32.add $push226=, $5, $pop225 + i32.const $push252=, 8 + i32.add $push90=, $pop226, $pop252 + i64.load $push91=, 0($pop90) + call __addtf3@FUNCTION, $pop230, $pop95, $pop93, $pop94, $pop91 + i32.const $push231=, 48 + i32.add $push232=, $5, $pop231 + i32.load $push96=, 56($2) + call __floatsitf@FUNCTION, $pop232, $pop96 + i32.const $push237=, 32 + i32.add $push238=, $5, $pop237 + i64.load $push102=, 64($5) + i32.const $push235=, 64 + i32.add $push236=, $5, $pop235 + i32.const $push251=, 8 + i32.add $push99=, $pop236, $pop251 + i64.load $push100=, 0($pop99) + i64.load $push101=, 48($5) + i32.const $push233=, 48 + i32.add $push234=, $5, $pop233 + i32.const $push250=, 8 + i32.add $push97=, $pop234, $pop250 + i64.load $push98=, 0($pop97) + call __addtf3@FUNCTION, $pop238, $pop102, $pop100, $pop101, $pop98 + i32.const $push239=, 16 + i32.add $push240=, $5, $pop239 + i32.load $push103=, 60($2) + call __floatsitf@FUNCTION, $pop240, $pop103 + i64.load $push109=, 32($5) + i32.const $push243=, 32 + i32.add $push244=, $5, $pop243 + i32.const $push249=, 8 + i32.add $push106=, $pop244, $pop249 + i64.load $push107=, 0($pop106) + i64.load $push108=, 16($5) + i32.const $push241=, 16 + i32.add $push242=, $5, $pop241 + i32.const $push248=, 8 + i32.add $push104=, $pop242, $pop248 + i64.load $push105=, 0($pop104) + call __addtf3@FUNCTION, $5, $pop109, $pop107, $pop108, $pop105 + i32.const $push247=, 8 + i32.add $push110=, $0, $pop247 + i32.const $push246=, 8 + i32.add $push111=, $5, $pop246 + i64.load $push112=, 0($pop111) + i64.store $drop=, 0($pop110), $pop112 + i64.load $push113=, 0($5) + i64.store $drop=, 0($0), $pop113 + i32.const $push120=, 0 + i32.const $push118=, 512 + i32.add $push119=, $5, $pop118 + i32.store $drop=, __stack_pointer($pop120), $pop119 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/20030914-2.c.s b/test/torture-s/20030914-2.c.s index 170298067..bcd31e73a 100644 --- a/test/torture-s/20030914-2.c.s +++ b/test/torture-s/20030914-2.c.s @@ -8,7 +8,8 @@ f: # @f .param i32, i32, i32 .result i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -21,18 +22,18 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 80 i32.sub $push13=, $pop6, $pop7 - i32.store $push17=, 0($pop8), $pop13 + i32.store $push17=, __stack_pointer($pop8), $pop13 tee_local $push16=, $0=, $pop17 i32.const $push9=, 8 i32.add $push10=, $pop16, $pop9 - i32.const $push0=, gs - i32.const $push1=, 72 - i32.call $drop=, memcpy@FUNCTION, $pop10, $pop0, $pop1 + i32.const $push1=, gs + i32.const $push0=, 72 + i32.call $drop=, memcpy@FUNCTION, $pop10, $pop1, $pop0 block i32.const $push11=, 8 i32.add $push12=, $0, $pop11 diff --git a/test/torture-s/20030916-1.c.s b/test/torture-s/20030916-1.c.s index cb31c1b7d..298e0086c 100644 --- a/test/torture-s/20030916-1.c.s +++ b/test/torture-s/20030916-1.c.s @@ -6,33 +6,34 @@ .type f,@function f: # @f .param i32 + .local i64 # BB#0: # %entry - i32.const $push15=, 1020 - i32.add $push16=, $0, $pop15 - i32.const $push14=, 0 - i32.store $push4=, 992($0), $pop14 - i32.store $drop=, 0($pop16), $pop4 - i32.const $push21=, 996 - i32.add $push22=, $0, $pop21 - i32.const $push19=, 1004 - i32.add $push20=, $0, $pop19 - i32.const $push17=, 1012 - i32.add $push18=, $0, $pop17 - i32.const $push12=, 8 - i32.add $push13=, $0, $pop12 - i32.const $push10=, 16 - i32.add $push11=, $0, $pop10 - i32.const $push8=, 24 - i32.add $push9=, $0, $pop8 - i64.const $push7=, 0 - i64.store $push0=, 0($0):p2align=2, $pop7 - i64.store $push1=, 0($pop9):p2align=2, $pop0 - i64.store $push2=, 0($pop11):p2align=2, $pop1 - i64.store $push3=, 0($pop13):p2align=2, $pop2 - i64.store $push5=, 0($pop18):p2align=2, $pop3 - i64.store $push6=, 0($pop20):p2align=2, $pop5 - i64.store $drop=, 0($pop22):p2align=2, $pop6 - return + i32.const $push11=, 8 + i32.add $push12=, $0, $pop11 + i32.const $push9=, 16 + i32.add $push10=, $0, $pop9 + i32.const $push7=, 24 + i32.add $push8=, $0, $pop7 + i64.const $push6=, 0 + i64.store $push0=, 0($0):p2align=2, $pop6 + i64.store $push1=, 0($pop8):p2align=2, $pop0 + i64.store $push2=, 0($pop10):p2align=2, $pop1 + i64.store $1=, 0($pop12):p2align=2, $pop2 + i32.const $push14=, 1020 + i32.add $push15=, $0, $pop14 + i32.const $push13=, 0 + i32.store $push3=, 992($0), $pop13 + i32.store $drop=, 0($pop15), $pop3 + i32.const $push20=, 996 + i32.add $push21=, $0, $pop20 + i32.const $push18=, 1004 + i32.add $push19=, $0, $pop18 + i32.const $push16=, 1012 + i32.add $push17=, $0, $pop16 + i64.store $push4=, 0($pop17):p2align=2, $1 + i64.store $push5=, 0($pop19):p2align=2, $pop4 + i64.store $drop=, 0($pop21):p2align=2, $pop5 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -45,70 +46,72 @@ main: # @main .result i32 .local i64, i32, i32, i32 # BB#0: # %entry - i32.const $push29=, __stack_pointer - i32.const $push26=, __stack_pointer - i32.load $push27=, 0($pop26) + i32.const $push29=, 0 + i32.const $push26=, 0 + i32.load $push27=, __stack_pointer($pop26) i32.const $push28=, 1024 i32.sub $push30=, $pop27, $pop28 - i32.store $2=, 0($pop29), $pop30 - i32.const $3=, 0 + i32.store $1=, __stack_pointer($pop29), $pop30 + i32.const $2=, 0 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.add $push5=, $2, $3 - i32.const $push33=, 1 - i32.store $drop=, 0($pop5), $pop33 - i32.const $push32=, 4 - i32.add $3=, $3, $pop32 + i32.add $push5=, $1, $2 + i32.const $push35=, 1 + i32.store $drop=, 0($pop5), $pop35 + i32.const $push34=, 4 + i32.add $push33=, $2, $pop34 + tee_local $push32=, $2=, $pop33 i32.const $push31=, 1024 - i32.ne $push6=, $3, $pop31 + i32.ne $push6=, $pop32, $pop31 br_if 0, $pop6 # 0: up to label0 # BB#2: # %for.end end_loop # label1: i32.const $push10=, 16 - i32.add $push11=, $2, $pop10 + i32.add $push11=, $1, $pop10 i32.const $push7=, 24 - i32.add $push8=, $2, $pop7 + i32.add $push8=, $1, $pop7 i64.const $push9=, 0 i64.store $push0=, 0($pop8), $pop9 i64.store $0=, 0($pop11), $pop0 i32.const $3=, 0 i32.const $push12=, 1020 - i32.add $push13=, $2, $pop12 - i32.const $push34=, 0 - i32.store $1=, 0($pop13), $pop34 + i32.add $push13=, $1, $pop12 + i32.const $push36=, 0 + i32.store $2=, 0($pop13), $pop36 i32.const $push18=, 996 - i32.add $push19=, $2, $pop18 + i32.add $push19=, $1, $pop18 i32.const $push16=, 1004 - i32.add $push17=, $2, $pop16 + i32.add $push17=, $1, $pop16 i32.const $push14=, 1012 - i32.add $push15=, $2, $pop14 - i64.store $push2=, 0($pop15):p2align=2, $0 - i64.store $push3=, 0($pop17):p2align=2, $pop2 - i64.store $push4=, 0($pop19):p2align=2, $pop3 - i64.store $push1=, 8($2), $pop4 - i64.store $drop=, 0($2), $pop1 - i32.store $drop=, 992($2), $1 - copy_local $2=, $2 + i32.add $push15=, $1, $pop14 + i64.store $push1=, 0($pop15):p2align=2, $0 + i64.store $push2=, 0($pop17):p2align=2, $pop1 + i64.store $push3=, 0($pop19):p2align=2, $pop2 + i64.store $push4=, 8($1), $pop3 + i64.store $drop=, 0($1), $pop4 + i32.store $drop=, 992($1), $2 + copy_local $2=, $1 .LBB1_3: # %for.body3 # =>This Inner Loop Header: Depth=1 block loop # label3: - i32.load $push20=, 0($2) - i32.const $push36=, -8 - i32.add $push21=, $3, $pop36 - i32.const $push35=, 240 - i32.lt_u $push22=, $pop21, $pop35 - i32.ne $push23=, $pop20, $pop22 + i32.load $push22=, 0($2) + i32.const $push38=, -8 + i32.add $push20=, $3, $pop38 + i32.const $push37=, 240 + i32.lt_u $push21=, $pop20, $pop37 + i32.ne $push23=, $pop22, $pop21 br_if 2, $pop23 # 2: down to label2 # BB#4: # %for.cond1 # in Loop: Header=BB1_3 Depth=1 - i32.const $push39=, 1 - i32.add $3=, $3, $pop39 - i32.const $push38=, 4 - i32.add $2=, $2, $pop38 - i32.const $push37=, 255 - i32.le_s $push24=, $3, $pop37 + i32.const $push43=, 4 + i32.add $2=, $2, $pop43 + i32.const $push42=, 1 + i32.add $push41=, $3, $pop42 + tee_local $push40=, $3=, $pop41 + i32.const $push39=, 255 + i32.le_s $push24=, $pop40, $pop39 br_if 0, $pop24 # 0: up to label3 # BB#5: # %for.end10 end_loop # label4: diff --git a/test/torture-s/20030920-1.c.s b/test/torture-s/20030920-1.c.s index 90f173a33..9e1c39514 100644 --- a/test/torture-s/20030920-1.c.s +++ b/test/torture-s/20030920-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end5 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20030928-1.c.s b/test/torture-s/20030928-1.c.s index c7f8ad587..d5bbd1bbc 100644 --- a/test/torture-s/20030928-1.c.s +++ b/test/torture-s/20030928-1.c.s @@ -6,57 +6,56 @@ .type get_addrs,@function get_addrs: # @get_addrs .param i32, i32 - .local i32, i32 # BB#0: # %entry - i32.load $2=, 4($1) i32.load $push0=, 0($1) i32.const $push1=, 1 i32.shl $push2=, $pop0, $pop1 i32.const $push3=, .L.str-131072 i32.add $push4=, $pop2, $pop3 i32.store $drop=, 0($0), $pop4 - i32.load $3=, 8($1) - i32.const $push32=, 1 - i32.shl $push5=, $2, $pop32 - i32.const $push6=, .L.str.1-262144 - i32.add $push7=, $pop5, $pop6 - i32.store $drop=, 4($0), $pop7 - i32.load $2=, 12($1) - i32.const $push31=, 1 - i32.shl $push8=, $3, $pop31 - i32.const $push9=, .L.str.2-393216 - i32.add $push10=, $pop8, $pop9 - i32.store $drop=, 8($0), $pop10 - i32.load $3=, 16($1) - i32.const $push30=, 1 - i32.shl $push11=, $2, $pop30 - i32.const $push12=, .L.str.3-524288 - i32.add $push13=, $pop11, $pop12 - i32.store $drop=, 12($0), $pop13 - i32.load $2=, 20($1) - i32.const $push29=, 1 - i32.shl $push14=, $3, $pop29 - i32.const $push15=, .L.str.4-655360 + i32.load $push5=, 4($1) + i32.const $push39=, 1 + i32.shl $push6=, $pop5, $pop39 + i32.const $push7=, .L.str.1-262144 + i32.add $push8=, $pop6, $pop7 + i32.store $drop=, 4($0), $pop8 + i32.load $push9=, 8($1) + i32.const $push38=, 1 + i32.shl $push10=, $pop9, $pop38 + i32.const $push11=, .L.str.2-393216 + i32.add $push12=, $pop10, $pop11 + i32.store $drop=, 8($0), $pop12 + i32.load $push13=, 12($1) + i32.const $push37=, 1 + i32.shl $push14=, $pop13, $pop37 + i32.const $push15=, .L.str.3-524288 i32.add $push16=, $pop14, $pop15 - i32.store $drop=, 16($0), $pop16 - i32.load $3=, 24($1) - i32.const $push28=, 1 - i32.shl $push17=, $2, $pop28 - i32.const $push18=, .L.str.5-786432 - i32.add $push19=, $pop17, $pop18 - i32.store $drop=, 20($0), $pop19 - i32.load $1=, 28($1) - i32.const $push27=, 1 - i32.shl $push20=, $3, $pop27 - i32.const $push21=, .L.str.6-917504 - i32.add $push22=, $pop20, $pop21 - i32.store $drop=, 24($0), $pop22 - i32.const $push26=, 1 - i32.shl $push23=, $1, $pop26 - i32.const $push24=, .L.str.7-1048576 - i32.add $push25=, $pop23, $pop24 - i32.store $drop=, 28($0), $pop25 - return + i32.store $drop=, 12($0), $pop16 + i32.load $push17=, 16($1) + i32.const $push36=, 1 + i32.shl $push18=, $pop17, $pop36 + i32.const $push19=, .L.str.4-655360 + i32.add $push20=, $pop18, $pop19 + i32.store $drop=, 16($0), $pop20 + i32.load $push21=, 20($1) + i32.const $push35=, 1 + i32.shl $push22=, $pop21, $pop35 + i32.const $push23=, .L.str.5-786432 + i32.add $push24=, $pop22, $pop23 + i32.store $drop=, 20($0), $pop24 + i32.load $push25=, 24($1) + i32.const $push34=, 1 + i32.shl $push26=, $pop25, $pop34 + i32.const $push27=, .L.str.6-917504 + i32.add $push28=, $pop26, $pop27 + i32.store $drop=, 24($0), $pop28 + i32.load $push29=, 28($1) + i32.const $push33=, 1 + i32.shl $push30=, $pop29, $pop33 + i32.const $push31=, .L.str.7-1048576 + i32.add $push32=, $pop30, $pop31 + i32.store $drop=, 28($0), $pop32 + # fallthrough-return .endfunc .Lfunc_end0: .size get_addrs, .Lfunc_end0-get_addrs diff --git a/test/torture-s/20031003-1.c.s b/test/torture-s/20031003-1.c.s index 3dcddb4fb..4da27f4ab 100644 --- a/test/torture-s/20031003-1.c.s +++ b/test/torture-s/20031003-1.c.s @@ -8,7 +8,8 @@ f1: # @f1 .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -21,7 +22,8 @@ f2: # @f2 .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -34,7 +36,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20031011-1.c.s b/test/torture-s/20031011-1.c.s index c4ac0239a..7539e34c4 100644 --- a/test/torture-s/20031011-1.c.s +++ b/test/torture-s/20031011-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20031012-1.c.s b/test/torture-s/20031012-1.c.s index 2f00941e9..c1c0402c4 100644 --- a/test/torture-s/20031012-1.c.s +++ b/test/torture-s/20031012-1.c.s @@ -9,29 +9,29 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 15008 i32.sub $push13=, $pop7, $pop8 - i32.store $push0=, 0($pop9), $pop13 + i32.store $push0=, __stack_pointer($pop9), $pop13 i32.const $push2=, 205 i32.const $push1=, 13371 i32.call $push16=, memset@FUNCTION, $pop0, $pop2, $pop1 - tee_local $push15=, $3=, $pop16 + tee_local $push15=, $2=, $pop16 i32.const $push3=, 0 - i32.store8 $2=, 13371($pop15), $pop3 + i32.store8 $3=, 13371($pop15), $pop3 block - i32.call $push4=, strlen@FUNCTION, $3 + i32.call $push4=, strlen@FUNCTION, $2 i32.const $push14=, 13371 i32.ne $push5=, $pop4, $pop14 br_if 0, $pop5 # 0: down to label0 # BB#1: # %foo.exit - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 15008 - i32.add $push11=, $3, $pop10 - i32.store $drop=, 0($pop12), $pop11 - return $2 + i32.add $push11=, $2, $pop10 + i32.store $drop=, __stack_pointer($pop12), $pop11 + return $3 .LBB0_2: # %if.then.i end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/20031020-1.c.s b/test/torture-s/20031020-1.c.s index 0d0dbdb2e..dc44e3b23 100644 --- a/test/torture-s/20031020-1.c.s +++ b/test/torture-s/20031020-1.c.s @@ -33,7 +33,7 @@ main: # @main i32.const $push1=, -2147473648 call foo@FUNCTION, $pop1 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20031201-1.c.s b/test/torture-s/20031201-1.c.s index 43ef794f2..a399710be 100644 --- a/test/torture-s/20031201-1.c.s +++ b/test/torture-s/20031201-1.c.s @@ -8,15 +8,19 @@ f1: # @f1 .param i32 .result i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.store $push0=, i($pop1), $0 - i64.const $push2=, 137438953504 - i64.store $drop=, 0($pop0):p2align=2, $pop2 + i32.const $push2=, 0 + i32.store $push9=, i($pop2), $0 + tee_local $push8=, $0=, $pop9 + i32.const $push3=, 32 + i32.store $push0=, 4($0), $pop3 + i32.store $drop=, 0($pop8), $pop0 call f0@FUNCTION - i32.const $push5=, 0 - i32.load $push3=, i($pop5) - i64.const $push4=, 34359738376 - i64.store $drop=, 0($pop3):p2align=2, $pop4 + i32.const $push7=, 0 + i32.load $push6=, i($pop7) + tee_local $push5=, $0=, $pop6 + i32.const $push4=, 8 + i32.store $push1=, 4($0), $pop4 + i32.store $drop=, 0($pop5), $pop1 call test@FUNCTION unreachable .endfunc @@ -28,29 +32,30 @@ f1: # @f1 .globl f0 .type f0,@function f0: # @f0 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $0=, i($pop0) - i32.const $push10=, 0 i32.const $push9=, 0 - i32.load $push8=, f0.washere($pop9) - tee_local $push7=, $1=, $pop8 - i32.const $push1=, 1 - i32.add $push2=, $pop7, $pop1 - i32.store $drop=, f0.washere($pop10), $pop2 + i32.const $push8=, 0 + i32.load $push7=, f0.washere($pop8) + tee_local $push6=, $0=, $pop7 + i32.const $push0=, 1 + i32.add $push1=, $pop6, $pop0 + i32.store $drop=, f0.washere($pop9), $pop1 block - br_if 0, $1 # 0: down to label0 + br_if 0, $0 # 0: down to label0 # BB#1: # %lor.lhs.false - i32.load16_u $push3=, 0($0) - i32.const $push11=, 32 - i32.ne $push4=, $pop3, $pop11 - br_if 0, $pop4 # 0: down to label0 + i32.const $push13=, 0 + i32.load $push12=, i($pop13) + tee_local $push11=, $0=, $pop12 + i32.load16_u $push2=, 0($pop11) + i32.const $push10=, 32 + i32.ne $push3=, $pop2, $pop10 + br_if 0, $pop3 # 0: down to label0 # BB#2: # %lor.lhs.false1 - i32.load16_u $push5=, 4($0) - i32.const $push12=, 32 - i32.ne $push6=, $pop5, $pop12 - br_if 0, $pop6 # 0: down to label0 + i32.load16_u $push4=, 4($0) + i32.const $push14=, 32 + i32.ne $push5=, $pop4, $pop14 + br_if 0, $pop5 # 0: down to label0 # BB#3: # %if.end return .LBB1_4: # %if.then @@ -100,12 +105,12 @@ test: # @test main: # @main .result i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push7=, $pop2, $pop3 - i32.store $push0=, 0($pop4), $pop7 + i32.store $push0=, __stack_pointer($pop4), $pop7 i32.const $push5=, 8 i32.add $push6=, $pop0, $pop5 i32.call $drop=, f1@FUNCTION, $pop6 diff --git a/test/torture-s/20031204-1.c.s b/test/torture-s/20031204-1.c.s index f85b55cd0..733d4c364 100644 --- a/test/torture-s/20031204-1.c.s +++ b/test/torture-s/20031204-1.c.s @@ -9,7 +9,7 @@ in_aton: # @in_aton .result i32 # BB#0: # %entry i32.const $push0=, 168496141 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size in_aton, .Lfunc_end0-in_aton @@ -24,89 +24,90 @@ root_nfs_parse_addr: # @root_nfs_parse_addr .local i32, i32, i32, i32, i32 # BB#0: # %entry i32.const $1=, 0 - copy_local $2=, $0 + copy_local $3=, $0 .LBB1_1: # %while.cond1.preheader # =>This Loop Header: Depth=1 # Child Loop BB1_2 Depth 2 block loop # label1: - copy_local $3=, $2 + copy_local $4=, $3 .LBB1_2: # %while.cond1 # Parent Loop BB1_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label3: - copy_local $push25=, $3 - tee_local $push24=, $5=, $pop25 - i32.const $push23=, 1 - i32.add $3=, $pop24, $pop23 - i32.load8_u $push22=, 0($5) - tee_local $push21=, $4=, $pop22 - i32.const $push20=, -48 - i32.add $push1=, $pop21, $pop20 - i32.const $push19=, 255 - i32.and $push2=, $pop1, $pop19 - i32.const $push18=, 10 - i32.lt_u $push3=, $pop2, $pop18 - br_if 0, $pop3 # 0: up to label3 + copy_local $push24=, $4 + tee_local $push23=, $5=, $pop24 + i32.const $push22=, 1 + i32.add $4=, $pop23, $pop22 + i32.load8_u $push21=, 0($5) + tee_local $push20=, $2=, $pop21 + i32.const $push19=, -48 + i32.add $push0=, $pop20, $pop19 + i32.const $push18=, 255 + i32.and $push1=, $pop0, $pop18 + i32.const $push17=, 10 + i32.lt_u $push2=, $pop1, $pop17 + br_if 0, $pop2 # 0: up to label3 # BB#3: # %while.end # in Loop: Header=BB1_1 Depth=1 end_loop # label4: - i32.eq $push4=, $5, $2 - br_if 1, $pop4 # 1: down to label2 + i32.eq $push3=, $5, $3 + br_if 1, $pop3 # 1: down to label2 # BB#4: # %lor.lhs.false # in Loop: Header=BB1_1 Depth=1 - i32.sub $push5=, $5, $2 - i32.const $push26=, 3 - i32.gt_s $push6=, $pop5, $pop26 - br_if 2, $pop6 # 2: down to label0 + i32.sub $push4=, $5, $3 + i32.const $push25=, 3 + i32.gt_s $push5=, $pop4, $pop25 + br_if 2, $pop5 # 2: down to label0 # BB#5: # %if.end # in Loop: Header=BB1_1 Depth=1 - i32.const $push30=, 3 - i32.eq $push9=, $1, $pop30 - i32.const $push29=, 255 - i32.and $push7=, $4, $pop29 - i32.const $push28=, 46 - i32.eq $push8=, $pop7, $pop28 - i32.or $push10=, $pop9, $pop8 - i32.add $1=, $pop10, $1 - copy_local $2=, $3 - i32.const $push27=, 4 - i32.lt_s $push11=, $1, $pop27 - br_if 0, $pop11 # 0: up to label1 + copy_local $3=, $4 + i32.const $push31=, 3 + i32.eq $push6=, $1, $pop31 + i32.const $push30=, 255 + i32.and $push7=, $2, $pop30 + i32.const $push29=, 46 + i32.eq $push8=, $pop7, $pop29 + i32.or $push9=, $pop6, $pop8 + i32.add $push28=, $pop9, $1 + tee_local $push27=, $1=, $pop28 + i32.const $push26=, 4 + i32.lt_s $push10=, $pop27, $pop26 + br_if 0, $pop10 # 0: up to label1 br 2 # 2: down to label0 .LBB1_6: end_loop # label2: - copy_local $5=, $2 + copy_local $5=, $3 .LBB1_7: # %while.end25 end_block # label0: - i32.const $3=, -1 + i32.const $4=, -1 block - i32.const $push12=, 4 - i32.ne $push13=, $1, $pop12 - br_if 0, $pop13 # 0: down to label5 + i32.const $push11=, 4 + i32.ne $push12=, $1, $pop11 + br_if 0, $pop12 # 0: down to label5 # BB#8: # %land.lhs.true block - i32.load8_u $push32=, 0($5) - tee_local $push31=, $4=, $pop32 - i32.eqz $push33=, $pop31 - br_if 0, $pop33 # 0: down to label6 + i32.load8_u $push33=, 0($5) + tee_local $push32=, $2=, $pop33 + i32.eqz $push34=, $pop32 + br_if 0, $pop34 # 0: down to label6 # BB#9: # %land.lhs.true - i32.const $push14=, 58 - i32.ne $push15=, $4, $pop14 - br_if 1, $pop15 # 1: down to label5 + i32.const $push13=, 58 + i32.ne $push14=, $2, $pop13 + br_if 1, $pop14 # 1: down to label5 # BB#10: # %if.then39 - i32.const $push17=, 0 - i32.store8 $drop=, 0($5), $pop17 + i32.const $push15=, 0 + i32.store8 $drop=, 0($5), $pop15 i32.const $push16=, 1 - i32.add $push0=, $5, $pop16 - copy_local $5=, $pop0 + i32.add $5=, $5, $pop16 .LBB1_11: # %if.end41 end_block # label6: i32.call $drop=, strcpy@FUNCTION, $0, $5 - i32.const $3=, 168496141 + i32.const $4=, 168496141 .LBB1_12: # %if.end43 end_block # label5: - return $3 + copy_local $push35=, $4 + # fallthrough-return: $pop35 .endfunc .Lfunc_end1: .size root_nfs_parse_addr, .Lfunc_end1-root_nfs_parse_addr @@ -120,87 +121,87 @@ main: # @main .local i32, i32, i32, i32, i32 # BB#0: # %entry i32.const $0=, 0 - i32.const $1=, main.addr + i32.const $2=, main.addr .LBB2_1: # %while.cond1.preheader.i # =>This Loop Header: Depth=1 # Child Loop BB2_2 Depth 2 block loop # label8: - copy_local $2=, $1 + copy_local $3=, $2 .LBB2_2: # %while.cond1.i # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label10: - copy_local $push27=, $2 - tee_local $push26=, $4=, $pop27 - i32.const $push25=, 1 - i32.add $2=, $pop26, $pop25 - i32.load8_u $push24=, 0($4) - tee_local $push23=, $3=, $pop24 - i32.const $push22=, -48 - i32.add $push1=, $pop23, $pop22 - i32.const $push21=, 255 - i32.and $push2=, $pop1, $pop21 - i32.const $push20=, 10 - i32.lt_u $push3=, $pop2, $pop20 - br_if 0, $pop3 # 0: up to label10 + copy_local $push26=, $3 + tee_local $push25=, $4=, $pop26 + i32.const $push24=, 1 + i32.add $3=, $pop25, $pop24 + i32.load8_u $push23=, 0($4) + tee_local $push22=, $1=, $pop23 + i32.const $push21=, -48 + i32.add $push0=, $pop22, $pop21 + i32.const $push20=, 255 + i32.and $push1=, $pop0, $pop20 + i32.const $push19=, 10 + i32.lt_u $push2=, $pop1, $pop19 + br_if 0, $pop2 # 0: up to label10 # BB#3: # %while.end.i # in Loop: Header=BB2_1 Depth=1 end_loop # label11: - i32.eq $push4=, $4, $1 - br_if 1, $pop4 # 1: down to label9 + i32.eq $push3=, $4, $2 + br_if 1, $pop3 # 1: down to label9 # BB#4: # %lor.lhs.false.i # in Loop: Header=BB2_1 Depth=1 - i32.sub $push5=, $4, $1 - i32.const $push28=, 3 - i32.gt_s $push6=, $pop5, $pop28 - br_if 2, $pop6 # 2: down to label7 + i32.sub $push4=, $4, $2 + i32.const $push27=, 3 + i32.gt_s $push5=, $pop4, $pop27 + br_if 2, $pop5 # 2: down to label7 # BB#5: # %if.end.i # in Loop: Header=BB2_1 Depth=1 - i32.const $push32=, 3 - i32.eq $push9=, $0, $pop32 - i32.const $push31=, 255 - i32.and $push7=, $3, $pop31 - i32.const $push30=, 46 - i32.eq $push8=, $pop7, $pop30 - i32.or $push10=, $pop9, $pop8 - i32.add $0=, $pop10, $0 - copy_local $1=, $2 - i32.const $push29=, 4 - i32.lt_s $push11=, $0, $pop29 - br_if 0, $pop11 # 0: up to label8 + copy_local $2=, $3 + i32.const $push33=, 3 + i32.eq $push6=, $0, $pop33 + i32.const $push32=, 255 + i32.and $push7=, $1, $pop32 + i32.const $push31=, 46 + i32.eq $push8=, $pop7, $pop31 + i32.or $push9=, $pop6, $pop8 + i32.add $push30=, $pop9, $0 + tee_local $push29=, $0=, $pop30 + i32.const $push28=, 4 + i32.lt_s $push10=, $pop29, $pop28 + br_if 0, $pop10 # 0: up to label8 br 2 # 2: down to label7 .LBB2_6: end_loop # label9: - copy_local $4=, $1 + copy_local $4=, $2 .LBB2_7: # %while.end25.i end_block # label7: block - i32.const $push12=, 4 - i32.ne $push13=, $0, $pop12 - br_if 0, $pop13 # 0: down to label12 + i32.const $push11=, 4 + i32.ne $push12=, $0, $pop11 + br_if 0, $pop12 # 0: down to label12 # BB#8: # %land.lhs.true.i block - i32.load8_u $push34=, 0($4) - tee_local $push33=, $2=, $pop34 - i32.eqz $push35=, $pop33 - br_if 0, $pop35 # 0: down to label13 + i32.load8_u $push35=, 0($4) + tee_local $push34=, $3=, $pop35 + i32.eqz $push36=, $pop34 + br_if 0, $pop36 # 0: down to label13 # BB#9: # %land.lhs.true.i - i32.const $push14=, 58 - i32.ne $push15=, $2, $pop14 - br_if 1, $pop15 # 1: down to label12 + i32.const $push13=, 58 + i32.ne $push14=, $3, $pop13 + br_if 1, $pop14 # 1: down to label12 # BB#10: # %if.then39.i - i32.const $push17=, 0 - i32.store8 $drop=, 0($4), $pop17 + i32.const $push15=, 0 + i32.store8 $drop=, 0($4), $pop15 i32.const $push16=, 1 - i32.add $push0=, $4, $pop16 - copy_local $4=, $pop0 + i32.add $4=, $4, $pop16 .LBB2_11: # %if.end end_block # label13: - i32.const $push18=, main.addr - i32.call $drop=, strcpy@FUNCTION, $pop18, $4 - i32.const $push19=, 0 - return $pop19 + i32.const $push17=, main.addr + i32.call $drop=, strcpy@FUNCTION, $pop17, $4 + i32.const $push18=, 0 + return $pop18 .LBB2_12: # %if.then end_block # label12: call abort@FUNCTION diff --git a/test/torture-s/20031214-1.c.s b/test/torture-s/20031214-1.c.s index 1aa0aca5c..24107b893 100644 --- a/test/torture-s/20031214-1.c.s +++ b/test/torture-s/20031214-1.c.s @@ -7,7 +7,7 @@ b: # @b .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size b, .Lfunc_end0-b @@ -18,24 +18,28 @@ b: # @b .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load $0=, k($pop0) + i32.const $push17=, 0 + i32.load $push16=, k($pop17) + tee_local $push15=, $1=, $pop16 + i32.const $push14=, 0 + i32.load $push13=, g+8($pop14) + tee_local $push12=, $0=, $pop13 + i32.gt_s $push1=, $1, $0 + i32.select $push11=, $pop15, $pop12, $pop1 + tee_local $push10=, $1=, $pop11 i32.const $push9=, 0 - i32.load $1=, g+8($pop9) - i32.const $push8=, 0 - i32.load $2=, g+12($pop8) - i32.gt_s $push1=, $0, $1 - i32.select $0=, $0, $1, $pop1 - i32.const $push7=, 0 - i32.gt_s $push2=, $0, $2 - i32.select $push3=, $0, $2, $pop2 + i32.load $push8=, g+12($pop9) + tee_local $push7=, $0=, $pop8 + i32.gt_s $push2=, $1, $0 + i32.select $push3=, $pop10, $pop7, $pop2 i32.const $push4=, 1 i32.add $push5=, $pop3, $pop4 - i32.store $drop=, k($pop7), $pop5 + i32.store $drop=, k($pop0), $pop5 i32.const $push6=, 0 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20031215-1.c.s b/test/torture-s/20031215-1.c.s index 104e2c7e2..f2b386a75 100644 --- a/test/torture-s/20031215-1.c.s +++ b/test/torture-s/20031215-1.c.s @@ -6,7 +6,7 @@ .type test1,@function test1: # @test1 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -17,7 +17,7 @@ test1: # @test1 .type test2,@function test2: # @test2 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -28,7 +28,7 @@ test2: # @test2 .type test3,@function test3: # @test3 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -41,7 +41,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/20031216-1.c.s b/test/torture-s/20031216-1.c.s index 96e94f1dc..ede72806e 100644 --- a/test/torture-s/20031216-1.c.s +++ b/test/torture-s/20031216-1.c.s @@ -29,7 +29,7 @@ ReadNumber: # @ReadNumber .result i32 # BB#0: # %entry i32.const $push0=, 10092544 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size ReadNumber, .Lfunc_end1-ReadNumber @@ -42,7 +42,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20040218-1.c.s b/test/torture-s/20040218-1.c.s index 4eaef7bb8..879153652 100644 --- a/test/torture-s/20040218-1.c.s +++ b/test/torture-s/20040218-1.c.s @@ -8,10 +8,10 @@ xb: # @xb .param i32 .result i32 # BB#0: # %entry - i32.load8_u $push0=, 0($0) - i32.load $push1=, 4($0) - i32.add $push2=, $pop0, $pop1 - return $pop2 + i32.load8_u $push1=, 0($0) + i32.load $push0=, 4($0) + i32.add $push2=, $pop1, $pop0 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size xb, .Lfunc_end0-xb @@ -24,10 +24,10 @@ xw: # @xw .param i32 .result i32 # BB#0: # %entry - i32.load16_u $push0=, 0($0) - i32.load $push1=, 4($0) - i32.add $push2=, $pop0, $pop1 - return $pop2 + i32.load16_u $push1=, 0($0) + i32.load $push0=, 4($0) + i32.add $push2=, $pop1, $pop0 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size xw, .Lfunc_end1-xw @@ -40,14 +40,14 @@ yb: # @yb .param i32 .result i32 # BB#0: # %entry - i32.load8_u $push0=, 0($0) - i32.load16_u $push1=, 2($0) - i32.add $push2=, $pop0, $pop1 + i32.load8_u $push1=, 0($0) + i32.load16_u $push0=, 2($0) + i32.add $push2=, $pop1, $pop0 i32.const $push3=, 16 i32.shl $push4=, $pop2, $pop3 i32.const $push6=, 16 i32.shr_s $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end2: .size yb, .Lfunc_end2-yb @@ -60,37 +60,37 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push17=, __stack_pointer - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) i32.const $push16=, 16 i32.sub $push24=, $pop15, $pop16 - i32.store $push26=, 0($pop17), $pop24 + i32.store $push26=, __stack_pointer($pop17), $pop24 tee_local $push25=, $0=, $pop26 - i32.const $push1=, 1048641535 - i32.store $drop=, 4($pop25), $pop1 i64.const $push0=, 68723771703295 - i64.store $drop=, 8($0), $pop0 + i64.store $drop=, 8($pop25), $pop0 + i32.const $push1=, 1048641535 + i32.store $drop=, 4($0), $pop1 block i32.const $push18=, 8 i32.add $push19=, $0, $pop18 - i32.call $push2=, xb@FUNCTION, $pop19 - i32.const $push3=, 16255 - i32.ne $push4=, $pop2, $pop3 + i32.call $push3=, xb@FUNCTION, $pop19 + i32.const $push2=, 16255 + i32.ne $push4=, $pop3, $pop2 br_if 0, $pop4 # 0: down to label0 # BB#1: # %lor.lhs.false i32.const $push20=, 8 i32.add $push21=, $0, $pop20 - i32.call $push5=, xw@FUNCTION, $pop21 - i32.const $push6=, 81535 - i32.ne $push7=, $pop5, $pop6 + i32.call $push6=, xw@FUNCTION, $pop21 + i32.const $push5=, 81535 + i32.ne $push7=, $pop6, $pop5 br_if 0, $pop7 # 0: down to label0 # BB#2: # %lor.lhs.false4 i32.const $push22=, 4 i32.add $push23=, $0, $pop22 - i32.call $push8=, yb@FUNCTION, $pop23 - i32.const $push9=, 65535 - i32.and $push10=, $pop8, $pop9 + i32.call $push9=, yb@FUNCTION, $pop23 + i32.const $push8=, 65535 + i32.and $push10=, $pop9, $pop8 i32.const $push11=, 16255 i32.ne $push12=, $pop10, $pop11 br_if 0, $pop12 # 0: down to label0 diff --git a/test/torture-s/20040223-1.c.s b/test/torture-s/20040223-1.c.s index c8b5e7e82..0b7dbe59a 100644 --- a/test/torture-s/20040223-1.c.s +++ b/test/torture-s/20040223-1.c.s @@ -29,7 +29,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20040307-1.c.s b/test/torture-s/20040307-1.c.s index 6d2ee25ae..3bee6b272 100644 --- a/test/torture-s/20040307-1.c.s +++ b/test/torture-s/20040307-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end6 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20040309-1.c.s b/test/torture-s/20040309-1.c.s index d0856543e..5998e0dca 100644 --- a/test/torture-s/20040309-1.c.s +++ b/test/torture-s/20040309-1.c.s @@ -25,7 +25,8 @@ foo: # @foo i32.and $1=, $pop6, $pop7 .LBB0_2: # %cond.end end_block # label0: - return $1 + copy_local $push9=, $1 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -38,7 +39,7 @@ main: # @main .result i32 # BB#0: # %if.end16 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20040311-1.c.s b/test/torture-s/20040311-1.c.s index 76609451c..3828c6778 100644 --- a/test/torture-s/20040311-1.c.s +++ b/test/torture-s/20040311-1.c.s @@ -10,7 +10,7 @@ test1: # @test1 # BB#0: # %entry i32.const $push0=, 31 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -25,7 +25,7 @@ test2: # @test2 # BB#0: # %entry i32.const $push0=, 31 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -40,7 +40,7 @@ test3: # @test3 # BB#0: # %entry i32.const $push0=, 31 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -55,7 +55,7 @@ test4: # @test4 # BB#0: # %entry i32.const $push0=, 31 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -68,7 +68,7 @@ main: # @main .result i32 # BB#0: # %if.end44 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/20040313-1.c.s b/test/torture-s/20040313-1.c.s index 0a3672805..6e6d897ce 100644 --- a/test/torture-s/20040313-1.c.s +++ b/test/torture-s/20040313-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20040319-1.c.s b/test/torture-s/20040319-1.c.s index 45f545bf6..221c7d6c9 100644 --- a/test/torture-s/20040319-1.c.s +++ b/test/torture-s/20040319-1.c.s @@ -14,7 +14,7 @@ blah: # @blah i32.const $push0=, -1 i32.gt_s $push1=, $0, $pop0 i32.select $push5=, $pop4, $pop3, $pop1 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size blah, .Lfunc_end0-blah diff --git a/test/torture-s/20040409-1.c.s b/test/torture-s/20040409-1.c.s index 737560605..120d84580 100644 --- a/test/torture-s/20040409-1.c.s +++ b/test/torture-s/20040409-1.c.s @@ -10,7 +10,7 @@ test1: # @test1 # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -25,7 +25,7 @@ test1u: # @test1u # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size test1u, .Lfunc_end1-test1u @@ -40,7 +40,7 @@ test2: # @test2 # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size test2, .Lfunc_end2-test2 @@ -55,7 +55,7 @@ test2u: # @test2u # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size test2u, .Lfunc_end3-test2u @@ -70,7 +70,7 @@ test3: # @test3 # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end4: .size test3, .Lfunc_end4-test3 @@ -85,7 +85,7 @@ test3u: # @test3u # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end5: .size test3u, .Lfunc_end5-test3u @@ -100,7 +100,7 @@ test4: # @test4 # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end6: .size test4, .Lfunc_end6-test4 @@ -115,7 +115,7 @@ test4u: # @test4u # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size test4u, .Lfunc_end7-test4u @@ -130,7 +130,7 @@ test5: # @test5 # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end8: .size test5, .Lfunc_end8-test5 @@ -145,7 +145,7 @@ test5u: # @test5u # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end9: .size test5u, .Lfunc_end9-test5u @@ -160,7 +160,7 @@ test6: # @test6 # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end10: .size test6, .Lfunc_end10-test6 @@ -175,7 +175,7 @@ test6u: # @test6u # BB#0: # %entry i32.const $push0=, -2147483648 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end11: .size test6u, .Lfunc_end11-test6u @@ -232,7 +232,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end14: .size main, .Lfunc_end14-main diff --git a/test/torture-s/20040409-2.c.s b/test/torture-s/20040409-2.c.s index 1aa6a042d..49ad6b099 100644 --- a/test/torture-s/20040409-2.c.s +++ b/test/torture-s/20040409-2.c.s @@ -10,7 +10,7 @@ test1: # @test1 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -25,7 +25,7 @@ test1u: # @test1u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size test1u, .Lfunc_end1-test1u @@ -40,7 +40,7 @@ test2: # @test2 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size test2, .Lfunc_end2-test2 @@ -55,7 +55,7 @@ test2u: # @test2u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size test2u, .Lfunc_end3-test2u @@ -70,7 +70,7 @@ test3: # @test3 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end4: .size test3, .Lfunc_end4-test3 @@ -85,7 +85,7 @@ test3u: # @test3u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end5: .size test3u, .Lfunc_end5-test3u @@ -100,7 +100,7 @@ test4: # @test4 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end6: .size test4, .Lfunc_end6-test4 @@ -115,7 +115,7 @@ test4u: # @test4u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size test4u, .Lfunc_end7-test4u @@ -130,7 +130,7 @@ test5: # @test5 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end8: .size test5, .Lfunc_end8-test5 @@ -145,7 +145,7 @@ test5u: # @test5u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end9: .size test5u, .Lfunc_end9-test5u @@ -160,7 +160,7 @@ test6: # @test6 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end10: .size test6, .Lfunc_end10-test6 @@ -175,7 +175,7 @@ test6u: # @test6u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end11: .size test6u, .Lfunc_end11-test6u @@ -190,7 +190,7 @@ test7: # @test7 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end12: .size test7, .Lfunc_end12-test7 @@ -205,7 +205,7 @@ test7u: # @test7u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end13: .size test7u, .Lfunc_end13-test7u @@ -220,7 +220,7 @@ test8: # @test8 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end14: .size test8, .Lfunc_end14-test8 @@ -235,7 +235,7 @@ test8u: # @test8u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end15: .size test8u, .Lfunc_end15-test8u @@ -250,7 +250,7 @@ test9: # @test9 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end16: .size test9, .Lfunc_end16-test9 @@ -265,7 +265,7 @@ test9u: # @test9u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end17: .size test9u, .Lfunc_end17-test9u @@ -280,7 +280,7 @@ test10: # @test10 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end18: .size test10, .Lfunc_end18-test10 @@ -295,7 +295,7 @@ test10u: # @test10u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end19: .size test10u, .Lfunc_end19-test10u @@ -310,7 +310,7 @@ test11: # @test11 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end20: .size test11, .Lfunc_end20-test11 @@ -325,7 +325,7 @@ test11u: # @test11u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end21: .size test11u, .Lfunc_end21-test11u @@ -340,7 +340,7 @@ test12: # @test12 # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end22: .size test12, .Lfunc_end22-test12 @@ -355,7 +355,7 @@ test12u: # @test12u # BB#0: # %entry i32.const $push0=, -2147478988 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end23: .size test12u, .Lfunc_end23-test12u @@ -412,7 +412,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end26: .size main, .Lfunc_end26-main diff --git a/test/torture-s/20040409-3.c.s b/test/torture-s/20040409-3.c.s index a34a113bf..d1dea454e 100644 --- a/test/torture-s/20040409-3.c.s +++ b/test/torture-s/20040409-3.c.s @@ -10,7 +10,7 @@ test1: # @test1 # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -25,7 +25,7 @@ test1u: # @test1u # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size test1u, .Lfunc_end1-test1u @@ -40,7 +40,7 @@ test2: # @test2 # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size test2, .Lfunc_end2-test2 @@ -55,7 +55,7 @@ test2u: # @test2u # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size test2u, .Lfunc_end3-test2u @@ -70,7 +70,7 @@ test3: # @test3 # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end4: .size test3, .Lfunc_end4-test3 @@ -85,7 +85,7 @@ test3u: # @test3u # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end5: .size test3u, .Lfunc_end5-test3u @@ -100,7 +100,7 @@ test4: # @test4 # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end6: .size test4, .Lfunc_end6-test4 @@ -115,7 +115,7 @@ test4u: # @test4u # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size test4u, .Lfunc_end7-test4u @@ -130,7 +130,7 @@ test5: # @test5 # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end8: .size test5, .Lfunc_end8-test5 @@ -145,7 +145,7 @@ test5u: # @test5u # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end9: .size test5u, .Lfunc_end9-test5u @@ -160,7 +160,7 @@ test6: # @test6 # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end10: .size test6, .Lfunc_end10-test6 @@ -175,7 +175,7 @@ test6u: # @test6u # BB#0: # %entry i32.const $push0=, 2147483647 i32.xor $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end11: .size test6u, .Lfunc_end11-test6u @@ -232,7 +232,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end14: .size main, .Lfunc_end14-main diff --git a/test/torture-s/20040411-1.c.s b/test/torture-s/20040411-1.c.s index 1549670a0..c0e60c7f9 100644 --- a/test/torture-s/20040411-1.c.s +++ b/test/torture-s/20040411-1.c.s @@ -12,13 +12,13 @@ sub1: # @sub1 i32.add $push9=, $0, $pop0 tee_local $push8=, $0=, $pop9 i32.const $push7=, 2 - i32.shl $push2=, $pop8, $pop7 - i32.const $push3=, 12 - i32.mul $push4=, $0, $pop3 + i32.shl $push4=, $pop8, $pop7 + i32.const $push2=, 12 + i32.mul $push3=, $0, $pop2 i32.const $push6=, 2 i32.eq $push1=, $1, $pop6 - i32.select $push5=, $pop2, $pop4, $pop1 - return $pop5 + i32.select $push5=, $pop4, $pop3, $pop1 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size sub1, .Lfunc_end0-sub1 @@ -31,7 +31,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20040625-1.c.s b/test/torture-s/20040625-1.c.s index a09e1e22a..07ba675a4 100644 --- a/test/torture-s/20040625-1.c.s +++ b/test/torture-s/20040625-1.c.s @@ -15,7 +15,8 @@ maybe_next: # @maybe_next i32.load $0=, 0($0):p2align=0 .LBB0_2: # %if.end end_block # label0: - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size maybe_next, .Lfunc_end0-maybe_next @@ -28,20 +29,21 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + block + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push10=, $pop5, $pop6 - i32.store $push12=, 0($pop7), $pop10 + i32.store $push14=, __stack_pointer($pop7), $pop10 + tee_local $push13=, $0=, $pop14 + i32.store $push12=, 8($pop13), $0 tee_local $push11=, $0=, $pop12 - i32.store $drop=, 8($pop11), $0 - block i32.const $push8=, 8 i32.add $push9=, $0, $pop8 i32.const $push0=, 1 i32.call $push1=, maybe_next@FUNCTION, $pop9, $pop0 - i32.ne $push2=, $0, $pop1 + i32.ne $push2=, $pop11, $pop1 br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.end i32.const $push3=, 0 diff --git a/test/torture-s/20040629-1.c.s b/test/torture-s/20040629-1.c.s index 2dab8fb81..011a98b29 100644 --- a/test/torture-s/20040629-1.c.s +++ b/test/torture-s/20040629-1.c.s @@ -11,7 +11,7 @@ ret1: # @ret1 i32.load $push1=, b($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size ret1, .Lfunc_end0-ret1 @@ -29,7 +29,7 @@ ret2: # @ret2 i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 2047 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size ret2, .Lfunc_end1-ret2 @@ -45,7 +45,7 @@ ret3: # @ret3 i32.load $push1=, b($pop0) i32.const $push2=, 17 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size ret3, .Lfunc_end2-ret3 @@ -61,7 +61,7 @@ ret4: # @ret4 i32.load $push1=, c($pop0) i32.const $push2=, 31 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size ret4, .Lfunc_end3-ret4 @@ -79,7 +79,7 @@ ret5: # @ret5 i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 1 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end4: .size ret5, .Lfunc_end4-ret5 @@ -95,7 +95,7 @@ ret6: # @ret6 i32.load $push1=, c($pop0) i32.const $push2=, 6 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size ret6, .Lfunc_end5-ret6 @@ -109,7 +109,7 @@ ret7: # @ret7 # BB#0: # %entry i32.const $push0=, 0 i32.load16_u $push1=, d($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end6: .size ret7, .Lfunc_end6-ret7 @@ -123,7 +123,7 @@ ret8: # @ret8 # BB#0: # %entry i32.const $push0=, 0 i32.load8_u $push1=, d+2($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size ret8, .Lfunc_end7-ret8 @@ -137,7 +137,7 @@ ret9: # @ret9 # BB#0: # %entry i32.const $push0=, 0 i32.load8_u $push1=, d+3($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end8: .size ret9, .Lfunc_end8-ret9 @@ -154,14 +154,14 @@ fn1_1: # @fn1_1 i32.const $push9=, 0 i32.load $push8=, b($pop9) tee_local $push7=, $1=, $pop8 - i32.add $push1=, $pop7, $0 - i32.const $push2=, 63 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.add $push3=, $pop7, $0 + i32.const $push4=, 63 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end9: .size fn1_1, .Lfunc_end9-fn1_1 @@ -178,16 +178,16 @@ fn2_1: # @fn2_1 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.add $push3=, $pop9, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -131009 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.add $push5=, $pop9, $pop4 + i32.const $push6=, 131008 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end10: .size fn2_1, .Lfunc_end10-fn2_1 @@ -199,14 +199,14 @@ fn2_1: # @fn2_1 fn3_1: # @fn3_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b($pop5) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, b($pop0), $pop4 - return + i32.load $push3=, b($pop5) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, b($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end11: .size fn3_1, .Lfunc_end11-fn3_1 @@ -223,14 +223,14 @@ fn4_1: # @fn4_1 i32.const $push9=, 0 i32.load $push8=, c($pop9) tee_local $push7=, $1=, $pop8 - i32.add $push1=, $pop7, $0 - i32.const $push2=, 31 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.add $push3=, $pop7, $0 + i32.const $push4=, 31 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end12: .size fn4_1, .Lfunc_end12-fn4_1 @@ -247,16 +247,16 @@ fn5_1: # @fn5_1 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 5 - i32.shl $push2=, $0, $pop1 - i32.add $push3=, $pop9, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -33 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 5 + i32.shl $push4=, $0, $pop3 + i32.add $push5=, $pop9, $pop4 + i32.const $push6=, 32 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end13: .size fn5_1, .Lfunc_end13-fn5_1 @@ -268,14 +268,14 @@ fn5_1: # @fn5_1 fn6_1: # @fn6_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c($pop5) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, c($pop0), $pop4 - return + i32.load $push3=, c($pop5) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, c($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end14: .size fn6_1, .Lfunc_end14-fn6_1 @@ -292,7 +292,7 @@ fn7_1: # @fn7_1 i32.load $push1=, d($pop3) i32.add $push2=, $pop1, $0 i32.store16 $drop=, d($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end15: .size fn7_1, .Lfunc_end15-fn7_1 @@ -304,16 +304,16 @@ fn7_1: # @fn7_1 fn8_1: # @fn8_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 16 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+2($pop0), $pop5 - return + i32.store8 $drop=, d+2($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end16: .size fn8_1, .Lfunc_end16-fn8_1 @@ -325,14 +325,14 @@ fn8_1: # @fn8_1 fn9_1: # @fn9_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d($pop5) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, d($pop0), $pop4 - return + i32.load $push3=, d($pop5) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, d($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end17: .size fn9_1, .Lfunc_end17-fn9_1 @@ -349,15 +349,15 @@ fn1_2: # @fn1_2 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end18: .size fn1_2, .Lfunc_end18-fn1_2 @@ -374,15 +374,15 @@ fn2_2: # @fn2_2 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 64 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 64 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end19: .size fn2_2, .Lfunc_end19-fn2_2 @@ -400,7 +400,7 @@ fn3_2: # @fn3_2 i32.const $push2=, 131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end20: .size fn3_2, .Lfunc_end20-fn3_2 @@ -417,15 +417,15 @@ fn4_2: # @fn4_2 i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end21: .size fn4_2, .Lfunc_end21-fn4_2 @@ -443,7 +443,7 @@ fn5_2: # @fn5_2 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end22: .size fn5_2, .Lfunc_end22-fn5_2 @@ -461,7 +461,7 @@ fn6_2: # @fn6_2 i32.const $push2=, 64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end23: .size fn6_2, .Lfunc_end23-fn6_2 @@ -479,7 +479,7 @@ fn7_2: # @fn7_2 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end24: .size fn7_2, .Lfunc_end24-fn7_2 @@ -499,7 +499,7 @@ fn8_2: # @fn8_2 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end25: .size fn8_2, .Lfunc_end25-fn8_2 @@ -517,7 +517,7 @@ fn9_2: # @fn9_2 i32.const $push2=, 16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end26: .size fn9_2, .Lfunc_end26-fn9_2 @@ -534,15 +534,15 @@ fn1_3: # @fn1_3 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end27: .size fn1_3, .Lfunc_end27-fn1_3 @@ -559,15 +559,15 @@ fn2_3: # @fn2_3 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 64 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 64 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end28: .size fn2_3, .Lfunc_end28-fn2_3 @@ -585,7 +585,7 @@ fn3_3: # @fn3_3 i32.const $push2=, 131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end29: .size fn3_3, .Lfunc_end29-fn3_3 @@ -602,15 +602,15 @@ fn4_3: # @fn4_3 i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end30: .size fn4_3, .Lfunc_end30-fn4_3 @@ -628,7 +628,7 @@ fn5_3: # @fn5_3 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end31: .size fn5_3, .Lfunc_end31-fn5_3 @@ -646,7 +646,7 @@ fn6_3: # @fn6_3 i32.const $push2=, 64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end32: .size fn6_3, .Lfunc_end32-fn6_3 @@ -664,7 +664,7 @@ fn7_3: # @fn7_3 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end33: .size fn7_3, .Lfunc_end33-fn7_3 @@ -684,7 +684,7 @@ fn8_3: # @fn8_3 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end34: .size fn8_3, .Lfunc_end34-fn8_3 @@ -702,7 +702,7 @@ fn9_3: # @fn9_3 i32.const $push2=, 16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end35: .size fn9_3, .Lfunc_end35-fn9_3 @@ -719,14 +719,14 @@ fn1_4: # @fn1_4 i32.const $push9=, 0 i32.load $push8=, b($pop9) tee_local $push7=, $1=, $pop8 - i32.sub $push1=, $pop7, $0 - i32.const $push2=, 63 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.sub $push3=, $pop7, $0 + i32.const $push4=, 63 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end36: .size fn1_4, .Lfunc_end36-fn1_4 @@ -743,16 +743,16 @@ fn2_4: # @fn2_4 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -131009 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, 131008 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end37: .size fn2_4, .Lfunc_end37-fn2_4 @@ -769,16 +769,16 @@ fn3_4: # @fn3_4 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, -131072 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 131071 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 17 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, -131072 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end38: .size fn3_4, .Lfunc_end38-fn3_4 @@ -795,14 +795,14 @@ fn4_4: # @fn4_4 i32.const $push9=, 0 i32.load $push8=, c($pop9) tee_local $push7=, $1=, $pop8 - i32.sub $push1=, $pop7, $0 - i32.const $push2=, 31 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.sub $push3=, $pop7, $0 + i32.const $push4=, 31 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end39: .size fn4_4, .Lfunc_end39-fn4_4 @@ -819,16 +819,16 @@ fn5_4: # @fn5_4 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 5 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -33 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 5 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, 32 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end40: .size fn5_4, .Lfunc_end40-fn5_4 @@ -845,16 +845,16 @@ fn6_4: # @fn6_4 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 63 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, -64 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end41: .size fn6_4, .Lfunc_end41-fn6_4 @@ -871,7 +871,7 @@ fn7_4: # @fn7_4 i32.load $push1=, d($pop3) i32.sub $push2=, $pop1, $0 i32.store16 $drop=, d($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end42: .size fn7_4, .Lfunc_end42-fn7_4 @@ -883,16 +883,16 @@ fn7_4: # @fn7_4 fn8_4: # @fn8_4 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.sub $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.sub $push4=, $pop3, $pop1 i32.const $push6=, 16 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+2($pop0), $pop5 - return + i32.store8 $drop=, d+2($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end43: .size fn8_4, .Lfunc_end43-fn8_4 @@ -904,16 +904,16 @@ fn8_4: # @fn8_4 fn9_4: # @fn9_4 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.sub $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.sub $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+3($pop0), $pop5 - return + i32.store8 $drop=, d+3($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end44: .size fn9_4, .Lfunc_end44-fn9_4 @@ -930,15 +930,15 @@ fn1_5: # @fn1_5 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 63 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 63 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end45: .size fn1_5, .Lfunc_end45-fn1_5 @@ -955,15 +955,15 @@ fn2_5: # @fn2_5 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 131008 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 131008 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 131008 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -131009 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end46: .size fn2_5, .Lfunc_end46-fn2_5 @@ -981,7 +981,7 @@ fn3_5: # @fn3_5 i32.const $push2=, -131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end47: .size fn3_5, .Lfunc_end47-fn3_5 @@ -998,15 +998,15 @@ fn4_5: # @fn4_5 i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 31 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 31 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end48: .size fn4_5, .Lfunc_end48-fn4_5 @@ -1024,7 +1024,7 @@ fn5_5: # @fn5_5 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end49: .size fn5_5, .Lfunc_end49-fn5_5 @@ -1042,7 +1042,7 @@ fn6_5: # @fn6_5 i32.const $push2=, -64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end50: .size fn6_5, .Lfunc_end50-fn6_5 @@ -1060,7 +1060,7 @@ fn7_5: # @fn7_5 i32.const $push2=, 65535 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end51: .size fn7_5, .Lfunc_end51-fn7_5 @@ -1080,7 +1080,7 @@ fn8_5: # @fn8_5 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end52: .size fn8_5, .Lfunc_end52-fn8_5 @@ -1098,7 +1098,7 @@ fn9_5: # @fn9_5 i32.const $push2=, -16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end53: .size fn9_5, .Lfunc_end53-fn9_5 @@ -1115,15 +1115,15 @@ fn1_6: # @fn1_6 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 63 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 63 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end54: .size fn1_6, .Lfunc_end54-fn1_6 @@ -1140,15 +1140,15 @@ fn2_6: # @fn2_6 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 131008 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 131008 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 131008 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -131009 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end55: .size fn2_6, .Lfunc_end55-fn2_6 @@ -1166,7 +1166,7 @@ fn3_6: # @fn3_6 i32.const $push2=, -131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end56: .size fn3_6, .Lfunc_end56-fn3_6 @@ -1183,15 +1183,15 @@ fn4_6: # @fn4_6 i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 31 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 31 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end57: .size fn4_6, .Lfunc_end57-fn4_6 @@ -1209,7 +1209,7 @@ fn5_6: # @fn5_6 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end58: .size fn5_6, .Lfunc_end58-fn5_6 @@ -1227,7 +1227,7 @@ fn6_6: # @fn6_6 i32.const $push2=, -64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end59: .size fn6_6, .Lfunc_end59-fn6_6 @@ -1245,7 +1245,7 @@ fn7_6: # @fn7_6 i32.const $push2=, 65535 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end60: .size fn7_6, .Lfunc_end60-fn7_6 @@ -1265,7 +1265,7 @@ fn8_6: # @fn8_6 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end61: .size fn8_6, .Lfunc_end61-fn8_6 @@ -1283,7 +1283,7 @@ fn9_6: # @fn9_6 i32.const $push2=, -16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end62: .size fn9_6, .Lfunc_end62-fn9_6 @@ -1295,14 +1295,14 @@ fn9_6: # @fn9_6 fn1_7: # @fn1_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -64 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -64 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, b($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, b($pop0), $pop4 - return + i32.load $push3=, b($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, b($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end63: .size fn1_7, .Lfunc_end63-fn1_7 @@ -1314,16 +1314,16 @@ fn1_7: # @fn1_7 fn2_7: # @fn2_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -131009 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -131009 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, b($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, b($pop0), $pop6 - return + i32.load $push5=, b($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, b($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end64: .size fn2_7, .Lfunc_end64-fn2_7 @@ -1335,16 +1335,16 @@ fn2_7: # @fn2_7 fn3_7: # @fn3_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b($pop7) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131071 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, b($pop0), $pop6 - return + i32.load $push5=, b($pop7) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131071 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, b($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end65: .size fn3_7, .Lfunc_end65-fn3_7 @@ -1356,14 +1356,14 @@ fn3_7: # @fn3_7 fn4_7: # @fn4_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -32 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -32 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, c($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, c($pop0), $pop4 - return + i32.load $push3=, c($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, c($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end66: .size fn4_7, .Lfunc_end66-fn4_7 @@ -1375,16 +1375,16 @@ fn4_7: # @fn4_7 fn5_7: # @fn5_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -33 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -33 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, c($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, c($pop0), $pop6 - return + i32.load $push5=, c($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, c($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end67: .size fn5_7, .Lfunc_end67-fn5_7 @@ -1396,16 +1396,16 @@ fn5_7: # @fn5_7 fn6_7: # @fn6_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 63 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, c($pop0), $pop6 - return + i32.load $push5=, c($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 63 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, c($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end68: .size fn6_7, .Lfunc_end68-fn6_7 @@ -1417,14 +1417,14 @@ fn6_7: # @fn6_7 fn7_7: # @fn7_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -65536 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -65536 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, d($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, d($pop0), $pop4 - return + i32.load $push3=, d($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, d($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end69: .size fn7_7, .Lfunc_end69-fn7_7 @@ -1436,16 +1436,16 @@ fn7_7: # @fn7_7 fn8_7: # @fn8_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -16711681 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -16711681 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, d($pop0), $pop6 - return + i32.load $push5=, d($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, d($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end70: .size fn8_7, .Lfunc_end70-fn8_7 @@ -1457,16 +1457,16 @@ fn8_7: # @fn8_7 fn9_7: # @fn9_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16777215 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, d($pop0), $pop6 - return + i32.load $push5=, d($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16777215 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, d($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end71: .size fn9_7, .Lfunc_end71-fn9_7 @@ -1478,14 +1478,14 @@ fn9_7: # @fn9_7 fn1_8: # @fn1_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b($pop5) - i32.const $push2=, 63 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, b($pop0), $pop4 - return + i32.load $push3=, b($pop5) + i32.const $push0=, 63 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, b($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end72: .size fn1_8, .Lfunc_end72-fn1_8 @@ -1497,16 +1497,16 @@ fn1_8: # @fn1_8 fn2_8: # @fn2_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, b($pop0), $pop6 - return + i32.load $push5=, b($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131008 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, b($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end73: .size fn2_8, .Lfunc_end73-fn2_8 @@ -1519,20 +1519,20 @@ fn3_8: # @fn3_8 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -131072 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.or $push5=, $pop4, $pop2 + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.or $push5=, $pop4, $pop1 i32.const $push6=, 131071 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, b($pop0), $pop8 - return + i32.store $drop=, b($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end74: .size fn3_8, .Lfunc_end74-fn3_8 @@ -1544,14 +1544,14 @@ fn3_8: # @fn3_8 fn4_8: # @fn4_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c($pop5) - i32.const $push2=, 31 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, c($pop0), $pop4 - return + i32.load $push3=, c($pop5) + i32.const $push0=, 31 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, c($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end75: .size fn4_8, .Lfunc_end75-fn4_8 @@ -1563,16 +1563,16 @@ fn4_8: # @fn4_8 fn5_8: # @fn5_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c($pop7) - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, c($pop0), $pop6 - return + i32.load $push5=, c($pop7) + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 32 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, c($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end76: .size fn5_8, .Lfunc_end76-fn5_8 @@ -1585,20 +1585,20 @@ fn6_8: # @fn6_8 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -64 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.or $push5=, $pop4, $pop2 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.or $push5=, $pop4, $pop1 i32.const $push6=, 63 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, c($pop0), $pop8 - return + i32.store $drop=, c($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end77: .size fn6_8, .Lfunc_end77-fn6_8 @@ -1610,14 +1610,14 @@ fn6_8: # @fn6_8 fn7_8: # @fn7_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d($pop5) - i32.const $push2=, 65535 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, d($pop0), $pop4 - return + i32.load $push3=, d($pop5) + i32.const $push0=, 65535 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, d($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end78: .size fn7_8, .Lfunc_end78-fn7_8 @@ -1629,16 +1629,16 @@ fn7_8: # @fn7_8 fn8_8: # @fn8_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16711680 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, d($pop0), $pop6 - return + i32.load $push5=, d($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16711680 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, d($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end79: .size fn8_8, .Lfunc_end79-fn8_8 @@ -1650,16 +1650,16 @@ fn8_8: # @fn8_8 fn9_8: # @fn9_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+3($pop0), $pop5 - return + i32.store8 $drop=, d+3($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end80: .size fn9_8, .Lfunc_end80-fn9_8 @@ -1671,14 +1671,14 @@ fn9_8: # @fn9_8 fn1_9: # @fn1_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b($pop5) - i32.const $push2=, 63 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, b($pop0), $pop4 - return + i32.load $push3=, b($pop5) + i32.const $push0=, 63 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, b($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end81: .size fn1_9, .Lfunc_end81-fn1_9 @@ -1690,16 +1690,16 @@ fn1_9: # @fn1_9 fn2_9: # @fn2_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, b($pop0), $pop6 - return + i32.load $push5=, b($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131008 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, b($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end82: .size fn2_9, .Lfunc_end82-fn2_9 @@ -1712,20 +1712,20 @@ fn3_9: # @fn3_9 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -131072 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.xor $push5=, $pop4, $pop2 + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.xor $push5=, $pop4, $pop1 i32.const $push6=, 131071 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, b($pop0), $pop8 - return + i32.store $drop=, b($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end83: .size fn3_9, .Lfunc_end83-fn3_9 @@ -1737,14 +1737,14 @@ fn3_9: # @fn3_9 fn4_9: # @fn4_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c($pop5) - i32.const $push2=, 31 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, c($pop0), $pop4 - return + i32.load $push3=, c($pop5) + i32.const $push0=, 31 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, c($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end84: .size fn4_9, .Lfunc_end84-fn4_9 @@ -1756,16 +1756,16 @@ fn4_9: # @fn4_9 fn5_9: # @fn5_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c($pop7) - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, c($pop0), $pop6 - return + i32.load $push5=, c($pop7) + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 32 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, c($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end85: .size fn5_9, .Lfunc_end85-fn5_9 @@ -1778,20 +1778,20 @@ fn6_9: # @fn6_9 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -64 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.xor $push5=, $pop4, $pop2 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.xor $push5=, $pop4, $pop1 i32.const $push6=, 63 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, c($pop0), $pop8 - return + i32.store $drop=, c($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end86: .size fn6_9, .Lfunc_end86-fn6_9 @@ -1803,14 +1803,14 @@ fn6_9: # @fn6_9 fn7_9: # @fn7_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d($pop5) - i32.const $push2=, 65535 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, d($pop0), $pop4 - return + i32.load $push3=, d($pop5) + i32.const $push0=, 65535 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, d($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end87: .size fn7_9, .Lfunc_end87-fn7_9 @@ -1822,16 +1822,16 @@ fn7_9: # @fn7_9 fn8_9: # @fn8_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16711680 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, d($pop0), $pop6 - return + i32.load $push5=, d($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16711680 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, d($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end88: .size fn8_9, .Lfunc_end88-fn8_9 @@ -1843,16 +1843,16 @@ fn8_9: # @fn8_9 fn9_9: # @fn9_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+3($pop0), $pop5 - return + i32.store8 $drop=, d+3($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end89: .size fn9_9, .Lfunc_end89-fn9_9 @@ -1869,14 +1869,14 @@ fn1_a: # @fn1_a i32.const $push9=, 0 i32.load $push8=, b($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push4=, -64 - i32.and $push5=, $pop7, $pop4 - i32.const $push1=, 63 - i32.and $push2=, $1, $pop1 - i32.div_u $push3=, $pop2, $0 - i32.or $push6=, $pop5, $pop3 + i32.const $push1=, -64 + i32.and $push2=, $pop7, $pop1 + i32.const $push3=, 63 + i32.and $push4=, $1, $pop3 + i32.div_u $push5=, $pop4, $0 + i32.or $push6=, $pop2, $pop5 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end90: .size fn1_a, .Lfunc_end90-fn1_a @@ -1893,18 +1893,18 @@ fn2_a: # @fn2_a i32.const $push13=, 0 i32.load $push12=, b($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.div_u $push5=, $pop4, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.div_u $push7=, $pop6, $0 i32.const $push10=, 6 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -131009 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, b($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end91: .size fn2_a, .Lfunc_end91-fn2_a @@ -1921,16 +1921,16 @@ fn3_a: # @fn3_a i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop9, $pop1 - i32.div_u $push3=, $pop2, $0 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop9, $pop3 + i32.div_u $push5=, $pop4, $0 i32.const $push8=, 17 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end92: .size fn3_a, .Lfunc_end92-fn3_a @@ -1947,14 +1947,14 @@ fn4_a: # @fn4_a i32.const $push9=, 0 i32.load $push8=, c($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push4=, -32 - i32.and $push5=, $pop7, $pop4 - i32.const $push1=, 31 - i32.and $push2=, $1, $pop1 - i32.div_u $push3=, $pop2, $0 - i32.or $push6=, $pop5, $pop3 + i32.const $push1=, -32 + i32.and $push2=, $pop7, $pop1 + i32.const $push3=, 31 + i32.and $push4=, $1, $pop3 + i32.div_u $push5=, $pop4, $0 + i32.or $push6=, $pop2, $pop5 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end93: .size fn4_a, .Lfunc_end93-fn4_a @@ -1971,18 +1971,18 @@ fn5_a: # @fn5_a i32.const $push13=, 0 i32.load $push12=, c($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.div_u $push5=, $pop4, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.div_u $push7=, $pop6, $0 i32.const $push10=, 5 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -33 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, c($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end94: .size fn5_a, .Lfunc_end94-fn5_a @@ -1999,16 +1999,16 @@ fn6_a: # @fn6_a i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop9, $pop1 - i32.div_u $push3=, $pop2, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop9, $pop3 + i32.div_u $push5=, $pop4, $0 i32.const $push8=, 6 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end95: .size fn6_a, .Lfunc_end95-fn6_a @@ -2025,7 +2025,7 @@ fn7_a: # @fn7_a i32.load16_u $push1=, d($pop3) i32.div_u $push2=, $pop1, $0 i32.store16 $drop=, d($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end96: .size fn7_a, .Lfunc_end96-fn7_a @@ -2042,7 +2042,7 @@ fn8_a: # @fn8_a i32.load8_u $push1=, d+2($pop3) i32.div_u $push2=, $pop1, $0 i32.store8 $drop=, d+2($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end97: .size fn8_a, .Lfunc_end97-fn8_a @@ -2059,7 +2059,7 @@ fn9_a: # @fn9_a i32.load8_u $push1=, d+3($pop3) i32.div_u $push2=, $pop1, $0 i32.store8 $drop=, d+3($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end98: .size fn9_a, .Lfunc_end98-fn9_a @@ -2076,14 +2076,14 @@ fn1_b: # @fn1_b i32.const $push9=, 0 i32.load $push8=, b($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push1=, 63 - i32.and $push2=, $pop7, $pop1 - i32.rem_u $push3=, $pop2, $0 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.const $push3=, 63 + i32.and $push4=, $pop7, $pop3 + i32.rem_u $push5=, $pop4, $0 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end99: .size fn1_b, .Lfunc_end99-fn1_b @@ -2100,18 +2100,18 @@ fn2_b: # @fn2_b i32.const $push13=, 0 i32.load $push12=, b($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.rem_u $push5=, $pop4, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.rem_u $push7=, $pop6, $0 i32.const $push10=, 6 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -131009 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, b($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end100: .size fn2_b, .Lfunc_end100-fn2_b @@ -2128,16 +2128,16 @@ fn3_b: # @fn3_b i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop9, $pop1 - i32.rem_u $push3=, $pop2, $0 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop9, $pop3 + i32.rem_u $push5=, $pop4, $0 i32.const $push8=, 17 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end101: .size fn3_b, .Lfunc_end101-fn3_b @@ -2154,14 +2154,14 @@ fn4_b: # @fn4_b i32.const $push9=, 0 i32.load $push8=, c($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push1=, 31 - i32.and $push2=, $pop7, $pop1 - i32.rem_u $push3=, $pop2, $0 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.const $push3=, 31 + i32.and $push4=, $pop7, $pop3 + i32.rem_u $push5=, $pop4, $0 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end102: .size fn4_b, .Lfunc_end102-fn4_b @@ -2178,18 +2178,18 @@ fn5_b: # @fn5_b i32.const $push13=, 0 i32.load $push12=, c($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.rem_u $push5=, $pop4, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.rem_u $push7=, $pop6, $0 i32.const $push10=, 5 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -33 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, c($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end103: .size fn5_b, .Lfunc_end103-fn5_b @@ -2206,16 +2206,16 @@ fn6_b: # @fn6_b i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop9, $pop1 - i32.rem_u $push3=, $pop2, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop9, $pop3 + i32.rem_u $push5=, $pop4, $0 i32.const $push8=, 6 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end104: .size fn6_b, .Lfunc_end104-fn6_b @@ -2232,7 +2232,7 @@ fn7_b: # @fn7_b i32.load16_u $push1=, d($pop3) i32.rem_u $push2=, $pop1, $0 i32.store16 $drop=, d($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end105: .size fn7_b, .Lfunc_end105-fn7_b @@ -2249,7 +2249,7 @@ fn8_b: # @fn8_b i32.load8_u $push1=, d+2($pop3) i32.rem_u $push2=, $pop1, $0 i32.store8 $drop=, d+2($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end106: .size fn8_b, .Lfunc_end106-fn8_b @@ -2266,7 +2266,7 @@ fn9_b: # @fn9_b i32.load8_u $push1=, d+3($pop3) i32.rem_u $push2=, $pop1, $0 i32.store8 $drop=, d+3($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end107: .size fn9_b, .Lfunc_end107-fn9_b @@ -2283,15 +2283,15 @@ fn1_c: # @fn1_c i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 3 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 3 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end108: .size fn1_c, .Lfunc_end108-fn1_c @@ -2308,15 +2308,15 @@ fn2_c: # @fn2_c i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 192 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 192 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end109: .size fn2_c, .Lfunc_end109-fn2_c @@ -2334,7 +2334,7 @@ fn3_c: # @fn3_c i32.const $push2=, 393216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end110: .size fn3_c, .Lfunc_end110-fn3_c @@ -2351,15 +2351,15 @@ fn4_c: # @fn4_c i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 3 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 3 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end111: .size fn4_c, .Lfunc_end111-fn4_c @@ -2377,7 +2377,7 @@ fn5_c: # @fn5_c i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end112: .size fn5_c, .Lfunc_end112-fn5_c @@ -2395,7 +2395,7 @@ fn6_c: # @fn6_c i32.const $push2=, 192 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end113: .size fn6_c, .Lfunc_end113-fn6_c @@ -2413,7 +2413,7 @@ fn7_c: # @fn7_c i32.const $push2=, 3 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end114: .size fn7_c, .Lfunc_end114-fn7_c @@ -2433,7 +2433,7 @@ fn8_c: # @fn8_c i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end115: .size fn8_c, .Lfunc_end115-fn8_c @@ -2451,7 +2451,7 @@ fn9_c: # @fn9_c i32.const $push2=, 50331648 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end116: .size fn9_c, .Lfunc_end116-fn9_c @@ -2468,15 +2468,15 @@ fn1_d: # @fn1_d i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 57 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 57 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end117: .size fn1_d, .Lfunc_end117-fn1_d @@ -2493,15 +2493,15 @@ fn2_d: # @fn2_d i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 130624 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 130624 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end118: .size fn2_d, .Lfunc_end118-fn2_d @@ -2519,7 +2519,7 @@ fn3_d: # @fn3_d i32.const $push2=, -917504 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end119: .size fn3_d, .Lfunc_end119-fn3_d @@ -2536,15 +2536,15 @@ fn4_d: # @fn4_d i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 25 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 25 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end120: .size fn4_d, .Lfunc_end120-fn4_d @@ -2562,7 +2562,7 @@ fn5_d: # @fn5_d i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end121: .size fn5_d, .Lfunc_end121-fn5_d @@ -2580,7 +2580,7 @@ fn6_d: # @fn6_d i32.const $push2=, -448 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end122: .size fn6_d, .Lfunc_end122-fn6_d @@ -2598,7 +2598,7 @@ fn7_d: # @fn7_d i32.const $push2=, 65529 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end123: .size fn7_d, .Lfunc_end123-fn7_d @@ -2618,7 +2618,7 @@ fn8_d: # @fn8_d i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end124: .size fn8_d, .Lfunc_end124-fn8_d @@ -2636,7 +2636,7 @@ fn9_d: # @fn9_d i32.const $push2=, -117440512 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end125: .size fn9_d, .Lfunc_end125-fn9_d @@ -2654,7 +2654,7 @@ fn1_e: # @fn1_e i32.const $push2=, -43 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end126: .size fn1_e, .Lfunc_end126-fn1_e @@ -2672,7 +2672,7 @@ fn2_e: # @fn2_e i32.const $push2=, -129665 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end127: .size fn2_e, .Lfunc_end127-fn2_e @@ -2690,7 +2690,7 @@ fn3_e: # @fn3_e i32.const $push2=, 2883583 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end128: .size fn3_e, .Lfunc_end128-fn3_e @@ -2708,7 +2708,7 @@ fn4_e: # @fn4_e i32.const $push2=, -11 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end129: .size fn4_e, .Lfunc_end129-fn4_e @@ -2720,7 +2720,7 @@ fn4_e: # @fn4_e fn5_e: # @fn5_e .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end130: .size fn5_e, .Lfunc_end130-fn5_e @@ -2738,7 +2738,7 @@ fn6_e: # @fn6_e i32.const $push2=, 1407 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end131: .size fn6_e, .Lfunc_end131-fn6_e @@ -2756,7 +2756,7 @@ fn7_e: # @fn7_e i32.const $push2=, -65515 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end132: .size fn7_e, .Lfunc_end132-fn7_e @@ -2774,7 +2774,7 @@ fn8_e: # @fn8_e i32.const $push2=, -15335425 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end133: .size fn8_e, .Lfunc_end133-fn8_e @@ -2792,7 +2792,7 @@ fn9_e: # @fn9_e i32.const $push2=, 369098751 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end134: .size fn9_e, .Lfunc_end134-fn9_e @@ -2810,7 +2810,7 @@ fn1_f: # @fn1_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end135: .size fn1_f, .Lfunc_end135-fn1_f @@ -2828,7 +2828,7 @@ fn2_f: # @fn2_f i32.const $push2=, 1216 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end136: .size fn2_f, .Lfunc_end136-fn2_f @@ -2846,7 +2846,7 @@ fn3_f: # @fn3_f i32.const $push2=, 2490368 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end137: .size fn3_f, .Lfunc_end137-fn3_f @@ -2864,7 +2864,7 @@ fn4_f: # @fn4_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end138: .size fn4_f, .Lfunc_end138-fn4_f @@ -2882,7 +2882,7 @@ fn5_f: # @fn5_f i32.const $push2=, 32 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end139: .size fn5_f, .Lfunc_end139-fn5_f @@ -2900,7 +2900,7 @@ fn6_f: # @fn6_f i32.const $push2=, 1216 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end140: .size fn6_f, .Lfunc_end140-fn6_f @@ -2918,7 +2918,7 @@ fn7_f: # @fn7_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end141: .size fn7_f, .Lfunc_end141-fn7_f @@ -2936,7 +2936,7 @@ fn8_f: # @fn8_f i32.const $push2=, 1245184 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end142: .size fn8_f, .Lfunc_end142-fn8_f @@ -2954,7 +2954,7 @@ fn9_f: # @fn9_f i32.const $push2=, 318767104 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end143: .size fn9_f, .Lfunc_end143-fn9_f @@ -2972,7 +2972,7 @@ fn1_g: # @fn1_g i32.const $push2=, 37 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end144: .size fn1_g, .Lfunc_end144-fn1_g @@ -2990,7 +2990,7 @@ fn2_g: # @fn2_g i32.const $push2=, 2368 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end145: .size fn2_g, .Lfunc_end145-fn2_g @@ -3008,7 +3008,7 @@ fn3_g: # @fn3_g i32.const $push2=, 4849664 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end146: .size fn3_g, .Lfunc_end146-fn3_g @@ -3026,7 +3026,7 @@ fn4_g: # @fn4_g i32.const $push2=, 5 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end147: .size fn4_g, .Lfunc_end147-fn4_g @@ -3044,7 +3044,7 @@ fn5_g: # @fn5_g i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end148: .size fn5_g, .Lfunc_end148-fn5_g @@ -3062,7 +3062,7 @@ fn6_g: # @fn6_g i32.const $push2=, 2368 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end149: .size fn6_g, .Lfunc_end149-fn6_g @@ -3080,7 +3080,7 @@ fn7_g: # @fn7_g i32.const $push2=, 37 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end150: .size fn7_g, .Lfunc_end150-fn7_g @@ -3098,7 +3098,7 @@ fn8_g: # @fn8_g i32.const $push2=, 2424832 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end151: .size fn8_g, .Lfunc_end151-fn8_g @@ -3116,7 +3116,7 @@ fn9_g: # @fn9_g i32.const $push2=, 620756992 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end152: .size fn9_g, .Lfunc_end152-fn9_g @@ -3133,15 +3133,15 @@ fn1_h: # @fn1_h i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.div_u $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 63 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.div_u $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end153: .size fn1_h, .Lfunc_end153-fn1_h @@ -3158,19 +3158,19 @@ fn2_h: # @fn2_h i32.const $push14=, 0 i32.load $push13=, b($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 17 - i32.div_u $push6=, $pop4, $pop5 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 17 + i32.div_u $push8=, $pop6, $pop7 i32.const $push11=, 6 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -131009 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, b($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end154: .size fn2_h, .Lfunc_end154-fn2_h @@ -3187,15 +3187,15 @@ fn3_h: # @fn3_h i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 2228224 - i32.div_u $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.shl $push4=, $pop2, $pop3 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 2228224 + i32.div_u $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.shl $push6=, $pop4, $pop5 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end155: .size fn3_h, .Lfunc_end155-fn3_h @@ -3212,15 +3212,15 @@ fn4_h: # @fn4_h i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.div_u $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 31 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.div_u $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end156: .size fn4_h, .Lfunc_end156-fn4_h @@ -3238,7 +3238,7 @@ fn5_h: # @fn5_h i32.const $push2=, -33 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end157: .size fn5_h, .Lfunc_end157-fn5_h @@ -3255,15 +3255,15 @@ fn6_h: # @fn6_h i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1088 - i32.div_u $push2=, $pop8, $pop1 - i32.const $push3=, 6 - i32.shl $push4=, $pop2, $pop3 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1088 + i32.div_u $push4=, $pop8, $pop3 + i32.const $push5=, 6 + i32.shl $push6=, $pop4, $pop5 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end158: .size fn6_h, .Lfunc_end158-fn6_h @@ -3281,7 +3281,7 @@ fn7_h: # @fn7_h i32.const $push2=, 17 i32.div_u $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end159: .size fn7_h, .Lfunc_end159-fn7_h @@ -3299,7 +3299,7 @@ fn8_h: # @fn8_h i32.const $push2=, 17 i32.div_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+2($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end160: .size fn8_h, .Lfunc_end160-fn8_h @@ -3317,7 +3317,7 @@ fn9_h: # @fn9_h i32.const $push2=, 285212672 i32.div_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+3($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end161: .size fn9_h, .Lfunc_end161-fn9_h @@ -3334,15 +3334,15 @@ fn1_i: # @fn1_i i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 63 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end162: .size fn1_i, .Lfunc_end162-fn1_i @@ -3359,19 +3359,19 @@ fn2_i: # @fn2_i i32.const $push14=, 0 i32.load $push13=, b($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 19 - i32.rem_u $push6=, $pop4, $pop5 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 19 + i32.rem_u $push8=, $pop6, $pop7 i32.const $push11=, 6 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -131009 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, b($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end163: .size fn2_i, .Lfunc_end163-fn2_i @@ -3388,17 +3388,17 @@ fn3_i: # @fn3_i i32.const $push12=, 0 i32.load $push11=, b($pop12) tee_local $push10=, $1=, $pop11 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop10, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop10, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 i32.const $push9=, 17 - i32.shl $push5=, $pop4, $pop9 - i32.const $push6=, 131071 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push7=, $pop6, $pop9 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end164: .size fn3_i, .Lfunc_end164-fn3_i @@ -3415,15 +3415,15 @@ fn4_i: # @fn4_i i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 31 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end165: .size fn4_i, .Lfunc_end165-fn4_i @@ -3440,19 +3440,19 @@ fn5_i: # @fn5_i i32.const $push14=, 0 i32.load $push13=, c($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 19 - i32.rem_u $push6=, $pop4, $pop5 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 19 + i32.rem_u $push8=, $pop6, $pop7 i32.const $push11=, 5 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -33 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, c($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end166: .size fn5_i, .Lfunc_end166-fn5_i @@ -3469,17 +3469,17 @@ fn6_i: # @fn6_i i32.const $push12=, 0 i32.load $push11=, c($pop12) tee_local $push10=, $1=, $pop11 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop10, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop10, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 i32.const $push9=, 6 - i32.shl $push5=, $pop4, $pop9 - i32.const $push6=, 63 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push7=, $pop6, $pop9 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end167: .size fn6_i, .Lfunc_end167-fn6_i @@ -3497,7 +3497,7 @@ fn7_i: # @fn7_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end168: .size fn7_i, .Lfunc_end168-fn7_i @@ -3515,7 +3515,7 @@ fn8_i: # @fn8_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+2($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end169: .size fn8_i, .Lfunc_end169-fn8_i @@ -3533,7 +3533,7 @@ fn9_i: # @fn9_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+3($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end170: .size fn9_i, .Lfunc_end170-fn9_i @@ -3546,16 +3546,16 @@ main: # @main .result i32 # BB#0: # %if.end1610 i32.const $push1=, 0 - i32.const $push0=, 560051 - i32.store $drop=, b($pop1), $pop0 + i32.const $push0=, -2147483595 + i32.store $drop=, c($pop1), $pop0 i32.const $push6=, 0 - i32.const $push2=, -2147483595 - i32.store $drop=, c($pop6), $pop2 + i32.const $push2=, 560051 + i32.store $drop=, b($pop6), $pop2 i32.const $push5=, 0 i32.const $push3=, -1147377476 i32.store $drop=, d($pop5), $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end171: .size main, .Lfunc_end171-main diff --git a/test/torture-s/20040703-1.c.s b/test/torture-s/20040703-1.c.s index 29dc13556..33bf3877f 100644 --- a/test/torture-s/20040703-1.c.s +++ b/test/torture-s/20040703-1.c.s @@ -6,7 +6,7 @@ .type num_lshift,@function num_lshift: # @num_lshift .param i32, i32, i32, i32 - .local i32, i64, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i64, i32, i32, i32, i32 # BB#0: # %entry block block @@ -15,238 +15,249 @@ num_lshift: # @num_lshift block block block - i32.ge_u $push1=, $3, $2 - br_if 0, $pop1 # 0: down to label6 + i32.ge_u $push0=, $3, $2 + br_if 0, $pop0 # 0: down to label6 # BB#1: # %if.else - i32.load $push95=, 4($1) - tee_local $push94=, $10=, $pop95 - copy_local $7=, $pop94 - i32.load $push93=, 0($1) - tee_local $push92=, $9=, $pop93 - copy_local $11=, $pop92 - copy_local $6=, $3 + i32.load $push96=, 4($1) + tee_local $push95=, $6=, $pop96 + copy_local $8=, $pop95 + i32.load $push94=, 0($1) + tee_local $push93=, $5=, $pop94 + copy_local $11=, $pop93 + copy_local $9=, $3 block - i32.const $push10=, 32 - i32.lt_u $push11=, $3, $pop10 - br_if 0, $pop11 # 0: down to label7 + i32.const $push9=, 32 + i32.lt_u $push10=, $3, $pop9 + br_if 0, $pop10 # 0: down to label7 # BB#2: # %if.then5 - i32.const $7=, 0 - i32.const $push13=, 4 - i32.add $push14=, $1, $pop13 - i32.const $push96=, 0 - i32.store $drop=, 0($pop14), $pop96 - i32.const $push12=, -32 - i32.add $6=, $3, $pop12 - i32.store $push0=, 0($1), $10 - copy_local $11=, $pop0 + i32.store $11=, 0($1), $6 + i32.const $8=, 0 + i32.const $push11=, 4 + i32.add $push12=, $1, $pop11 + i32.const $push97=, 0 + i32.store $drop=, 0($pop12), $pop97 + i32.const $push13=, -32 + i32.add $9=, $3, $pop13 + copy_local $11=, $11 .LBB0_3: # %if.end end_block # label7: - block - i32.eqz $push113=, $6 - br_if 0, $pop113 # 0: down to label8 + i32.eqz $push116=, $9 + br_if 1, $pop116 # 1: down to label5 # BB#4: # %if.then10 - i32.const $push16=, 32 - i32.sub $push17=, $pop16, $6 - i32.shr_u $8=, $7, $pop17 - i32.shl $7=, $7, $6 - i32.const $push18=, 4 - i32.add $push19=, $1, $pop18 - i32.store $drop=, 0($pop19), $7 - i32.shl $push15=, $11, $6 - i32.or $push98=, $8, $pop15 - tee_local $push97=, $11=, $pop98 - i32.store $drop=, 0($1), $pop97 -.LBB0_5: # %if.end18 - end_block # label8: - i32.const $push20=, 8 - i32.add $push21=, $1, $pop20 - i64.load $5=, 0($pop21):p2align=2 - i32.const $push22=, 33 - i32.lt_u $push23=, $2, $pop22 - br_if 1, $pop23 # 1: down to label5 -# BB#6: # %if.then.i + i32.const $push14=, 4 + i32.add $push15=, $1, $pop14 + i32.shl $push101=, $8, $9 + tee_local $push100=, $10=, $pop101 + i32.store $drop=, 0($pop15), $pop100 + i32.const $push17=, 32 + i32.sub $push18=, $pop17, $9 + i32.shr_u $push19=, $8, $pop18 + i32.shl $push16=, $11, $9 + i32.or $push99=, $pop19, $pop16 + tee_local $push98=, $11=, $pop99 + i32.store $drop=, 0($1), $pop98 + br 2 # 2: down to label4 +.LBB0_5: # %if.then + end_block # label6: + i32.load $push1=, 8($1) + i32.eqz $push117=, $pop1 + br_if 2, $pop117 # 2: down to label3 +# BB#6: # %if.then.land.end_crit_edge + i32.const $2=, 0 + br 3 # 3: down to label2 +.LBB0_7: + end_block # label5: + copy_local $10=, $8 +.LBB0_8: # %if.end18 + end_block # label4: + i32.const $push22=, 8 + i32.add $push23=, $1, $pop22 + i64.load $7=, 0($pop23):p2align=2 + block + block + i32.const $push20=, 33 + i32.lt_u $push21=, $2, $pop20 + br_if 0, $pop21 # 0: down to label9 +# BB#9: # %if.then.i i32.const $push30=, -32 - i32.add $push100=, $2, $pop30 - tee_local $push99=, $6=, $pop100 + i32.add $push103=, $2, $pop30 + tee_local $push102=, $9=, $pop103 i32.const $push31=, 31 - i32.gt_u $push32=, $pop99, $pop31 - br_if 2, $pop32 # 2: down to label4 -# BB#7: # %if.then2.i + i32.gt_u $push32=, $pop102, $pop31 + br_if 1, $pop32 # 1: down to label8 +# BB#10: # %if.then2.i i32.const $push33=, 1 - i32.shl $push34=, $pop33, $6 + i32.shl $push34=, $pop33, $9 i32.const $push35=, -1 i32.add $push36=, $pop34, $pop35 i32.and $11=, $11, $pop36 - br 2 # 2: down to label4 -.LBB0_8: # %if.then - end_block # label6: - i32.load $push2=, 8($1) - i32.eqz $push114=, $pop2 - br_if 2, $pop114 # 2: down to label3 -# BB#9: # %if.then.land.end_crit_edge - i32.const $2=, 0 - br 3 # 3: down to label2 -.LBB0_10: # %if.else.i - end_block # label5: + br 1 # 1: down to label8 +.LBB0_11: # %if.else.i + end_block # label9: i32.const $11=, 0 i32.const $push24=, 32 i32.eq $push25=, $2, $pop24 - br_if 0, $pop25 # 0: down to label4 -# BB#11: # %if.then5.i + br_if 0, $pop25 # 0: down to label8 +# BB#12: # %if.then5.i i32.const $push26=, 1 i32.shl $push27=, $pop26, $2 i32.const $push28=, -1 i32.add $push29=, $pop27, $pop28 - i32.and $7=, $7, $pop29 -.LBB0_12: # %num_trim.exit - end_block # label4: + i32.and $10=, $10, $pop29 +.LBB0_13: # %num_trim.exit + end_block # label8: + i32.store $9=, 0($1), $11 i32.const $push37=, 4 i32.add $push38=, $1, $pop37 - i32.store $4=, 0($pop38), $7 - i32.store $6=, 0($1), $11 - i32.wrap/i64 $push39=, $5 - i32.eqz $push115=, $pop39 - br_if 2, $pop115 # 2: down to label1 -# BB#13: # %if.then21 + i32.store $4=, 0($pop38), $10 + i32.wrap/i64 $push39=, $7 + i32.eqz $push118=, $pop39 + br_if 2, $pop118 # 2: down to label1 +# BB#14: # %if.then21 i32.const $push40=, 0 i32.store $drop=, 12($1), $pop40 br 3 # 3: down to label0 -.LBB0_14: # %land.rhs +.LBB0_15: # %land.rhs end_block # label3: - i32.load $push6=, 0($1) - i32.const $push3=, 4 - i32.add $push4=, $1, $pop3 - i32.load $push5=, 0($pop4) - i32.or $push7=, $pop6, $pop5 - i32.const $push8=, 0 - i32.ne $2=, $pop7, $pop8 -.LBB0_15: # %land.end + i32.load $push5=, 0($1) + i32.const $push2=, 4 + i32.add $push3=, $1, $pop2 + i32.load $push4=, 0($pop3) + i32.or $push6=, $pop5, $pop4 + i32.const $push7=, 0 + i32.ne $2=, $pop6, $pop7 +.LBB0_16: # %land.end end_block # label2: i32.store $drop=, 12($1), $2 - i64.const $push9=, 0 - i64.store $drop=, 0($1):p2align=2, $pop9 + i64.const $push8=, 0 + i64.store $drop=, 0($1):p2align=2, $pop8 br 1 # 1: down to label0 -.LBB0_16: # %if.else23 +.LBB0_17: # %if.else23 end_block # label1: block block block block - i32.const $push101=, 32 - i32.le_u $push41=, $2, $pop101 - br_if 0, $pop41 # 0: down to label12 -# BB#17: # %if.else8.i + i32.const $push104=, 32 + i32.le_u $push41=, $2, $pop104 + br_if 0, $pop41 # 0: down to label13 +# BB#18: # %if.else8.i i32.const $push56=, -1 i32.const $push55=, 0 i32.const $push52=, 1 i32.const $push50=, -33 i32.add $push51=, $2, $pop50 i32.shl $push53=, $pop52, $pop51 - i32.and $push54=, $6, $pop53 + i32.and $push54=, $9, $pop53 i32.select $8=, $pop56, $pop55, $pop54 i32.const $push57=, 63 i32.gt_u $push58=, $2, $pop57 - br_if 3, $pop58 # 3: down to label9 - br 1 # 1: down to label11 -.LBB0_18: # %if.else3.i - end_block # label12: + br_if 3, $pop58 # 3: down to label10 + br 1 # 1: down to label12 +.LBB0_19: # %if.else3.i + end_block # label13: i32.const $push42=, -1 i32.const $push47=, 0 i32.const $push44=, 1 - i32.const $push103=, -1 - i32.add $push43=, $2, $pop103 + i32.const $push106=, -1 + i32.add $push43=, $2, $pop106 i32.shl $push45=, $pop44, $pop43 i32.and $push46=, $4, $pop45 i32.select $8=, $pop42, $pop47, $pop46 - i32.const $push102=, 32 - i32.ne $push48=, $2, $pop102 - br_if 1, $pop48 # 1: down to label10 -.LBB0_19: # %if.then10.i - end_block # label11: + i32.const $push105=, 32 + i32.ne $push48=, $2, $pop105 + br_if 1, $pop48 # 1: down to label11 +.LBB0_20: # %if.then10.i + end_block # label12: i32.const $push59=, -32 i32.add $push60=, $2, $pop59 i32.shl $push61=, $8, $pop60 - i32.or $11=, $pop61, $6 - br 1 # 1: down to label9 -.LBB0_20: # %if.then5.i64 - end_block # label10: + i32.or $11=, $pop61, $9 + br 1 # 1: down to label10 +.LBB0_21: # %if.then5.i64 + end_block # label11: i32.shl $push49=, $8, $2 - i32.or $7=, $pop49, $4 + i32.or $10=, $pop49, $4 copy_local $11=, $8 -.LBB0_21: # %if.end15.i - end_block # label9: +.LBB0_22: # %if.end15.i + end_block # label10: i32.const $push62=, 31 - i32.gt_u $push107=, $3, $pop62 - tee_local $push106=, $4=, $pop107 - i32.select $6=, $11, $7, $pop106 - i32.select $7=, $8, $11, $4 + i32.gt_u $push110=, $3, $pop62 + tee_local $push109=, $9=, $pop110 + i32.select $4=, $8, $11, $pop109 + i32.select $11=, $11, $10, $9 + block block i32.const $push63=, -32 i32.add $push64=, $3, $pop63 - i32.select $push105=, $pop64, $3, $4 - tee_local $push104=, $3=, $pop105 - i32.eqz $push116=, $pop104 - br_if 0, $pop116 # 0: down to label13 -# BB#22: # %if.then24.i + i32.select $push108=, $pop64, $3, $9 + tee_local $push107=, $9=, $pop108 + i32.eqz $push119=, $pop107 + br_if 0, $pop119 # 0: down to label15 +# BB#23: # %if.then24.i + i32.shr_u $push65=, $4, $9 i32.const $push66=, 32 - i32.sub $push109=, $pop66, $3 - tee_local $push108=, $11=, $pop109 - i32.shl $push67=, $7, $pop108 - i32.shr_u $push65=, $6, $3 - i32.or $6=, $pop67, $pop65 - i32.shr_u $push68=, $7, $3 - i32.shl $push69=, $8, $11 - i32.or $7=, $pop68, $pop69 -.LBB0_23: # %if.end38.i - end_block # label13: + i32.sub $push112=, $pop66, $9 + tee_local $push111=, $10=, $pop112 + i32.shl $push67=, $8, $pop111 + i32.or $3=, $pop65, $pop67 + i32.shl $push69=, $4, $10 + i32.shr_u $push68=, $11, $9 + i32.or $11=, $pop69, $pop68 + br 1 # 1: down to label14 +.LBB0_24: + end_block # label15: + copy_local $3=, $4 +.LBB0_25: # %if.end38.i + end_block # label14: block block i32.const $push70=, 33 i32.lt_u $push71=, $2, $pop70 - br_if 0, $pop71 # 0: down to label15 -# BB#24: # %if.then.i61.i + br_if 0, $pop71 # 0: down to label17 +# BB#26: # %if.then.i61.i i32.const $push78=, -32 - i32.add $push111=, $2, $pop78 - tee_local $push110=, $2=, $pop111 + i32.add $push114=, $2, $pop78 + tee_local $push113=, $2=, $pop114 i32.const $push79=, 31 - i32.gt_u $push80=, $pop110, $pop79 - br_if 1, $pop80 # 1: down to label14 -# BB#25: # %if.then2.i.i + i32.gt_u $push80=, $pop113, $pop79 + br_if 1, $pop80 # 1: down to label16 +# BB#27: # %if.then2.i.i i32.const $push81=, 1 i32.shl $push82=, $pop81, $2 i32.const $push83=, -1 i32.add $push84=, $pop82, $pop83 - i32.and $7=, $7, $pop84 - br 1 # 1: down to label14 -.LBB0_26: # %if.else.i.i - end_block # label15: - i32.const $7=, 0 + i32.and $3=, $3, $pop84 + br 1 # 1: down to label16 +.LBB0_28: # %if.else.i.i + end_block # label17: + i32.const $3=, 0 i32.const $push72=, 32 i32.eq $push73=, $2, $pop72 - br_if 0, $pop73 # 0: down to label14 -# BB#27: # %if.then5.i.i + br_if 0, $pop73 # 0: down to label16 +# BB#29: # %if.then5.i.i i32.const $push74=, 1 i32.shl $push75=, $pop74, $2 i32.const $push76=, -1 i32.add $push77=, $pop75, $pop76 - i32.and $6=, $6, $pop77 -.LBB0_28: # %num_rshift.exit - end_block # label14: - i32.ne $push86=, $10, $6 - i32.ne $push85=, $9, $7 + i32.and $11=, $11, $pop77 +.LBB0_30: # %num_rshift.exit + end_block # label16: + i32.ne $push86=, $6, $11 + i32.ne $push85=, $5, $3 i32.or $push87=, $pop86, $pop85 i32.store $drop=, 12($1), $pop87 -.LBB0_29: # %if.end37 +.LBB0_31: # %if.end37 end_block # label0: - i32.const $push89=, 8 - i32.add $push91=, $1, $pop89 - i64.load $5=, 0($pop91):p2align=2 i64.load $push88=, 0($1):p2align=2 i64.store $drop=, 0($0):p2align=2, $pop88 - i32.const $push112=, 8 - i32.add $push90=, $0, $pop112 - i64.store $drop=, 0($pop90):p2align=2, $5 - return + i32.const $push89=, 8 + i32.add $push90=, $0, $pop89 + i32.const $push115=, 8 + i32.add $push91=, $1, $pop115 + i64.load $push92=, 0($pop91):p2align=2 + i64.store $drop=, 0($pop90):p2align=2, $pop92 + # fallthrough-return .endfunc .Lfunc_end0: .size num_lshift, .Lfunc_end0-num_lshift @@ -257,55 +268,56 @@ num_lshift: # @num_lshift .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push21=, __stack_pointer - i32.const $push18=, __stack_pointer - i32.load $push19=, 0($pop18) - i32.const $push20=, 32 - i32.sub $push24=, $pop19, $pop20 - i32.store $0=, 0($pop21), $pop24 - i32.const $push0=, 0 - i32.load $1=, n($pop0) + i32.const $push22=, 0 + i32.const $push19=, 0 + i32.load $push20=, __stack_pointer($pop19) + i32.const $push21=, 32 + i32.sub $push25=, $pop20, $pop21 + i32.store $push31=, __stack_pointer($pop22), $pop25 + tee_local $push30=, $0=, $pop31 i32.const $push2=, 12 - i32.add $push3=, $0, $pop2 - i32.const $push28=, 0 - i32.load $push1=, num+12($pop28) + i32.add $push3=, $pop30, $pop2 + i32.const $push0=, 0 + i32.load $push1=, num+12($pop0) i32.store $drop=, 0($pop3), $pop1 i32.const $push5=, 8 i32.add $push6=, $0, $pop5 - i32.const $push27=, 0 - i32.load $push4=, num+8($pop27) + i32.const $push29=, 0 + i32.load $push4=, num+8($pop29) i32.store $drop=, 0($pop6), $pop4 i32.const $push8=, 4 i32.add $push9=, $0, $pop8 - i32.const $push26=, 0 - i32.load $push7=, num+4($pop26) + i32.const $push28=, 0 + i32.load $push7=, num+4($pop28) i32.store $drop=, 0($pop9), $pop7 - i32.const $push25=, 0 - i32.load $push10=, num($pop25) + i32.const $push27=, 0 + i32.load $push10=, num($pop27) i32.store $drop=, 0($0), $pop10 - i32.const $push22=, 16 - i32.add $push23=, $0, $pop22 - i32.const $push11=, 64 - call num_lshift@FUNCTION, $pop23, $0, $pop11, $1 + i32.const $push23=, 16 + i32.add $push24=, $0, $pop23 + i32.const $push12=, 64 + i32.const $push26=, 0 + i32.load $push11=, n($pop26) + call num_lshift@FUNCTION, $pop24, $0, $pop12, $pop11 block - i32.load $push12=, 20($0) + i32.load $push14=, 20($0) i32.const $push13=, 196608 - i32.ne $push14=, $pop12, $pop13 - br_if 0, $pop14 # 0: down to label16 + i32.ne $push15=, $pop14, $pop13 + br_if 0, $pop15 # 0: down to label18 # BB#1: # %if.end - i32.load $push15=, 16($0) - br_if 0, $pop15 # 0: down to label16 + i32.load $push16=, 16($0) + br_if 0, $pop16 # 0: down to label18 # BB#2: # %if.end3 - i32.load $push16=, 28($0) - br_if 0, $pop16 # 0: down to label16 + i32.load $push17=, 28($0) + br_if 0, $pop17 # 0: down to label18 # BB#3: # %if.end6 - i32.const $push17=, 0 - call exit@FUNCTION, $pop17 + i32.const $push18=, 0 + call exit@FUNCTION, $pop18 unreachable .LBB1_4: # %if.then5 - end_block # label16: + end_block # label18: call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/20040704-1.c.s b/test/torture-s/20040704-1.c.s index 89f742704..b54dfa7ab 100644 --- a/test/torture-s/20040704-1.c.s +++ b/test/torture-s/20040704-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20040705-1.c.s b/test/torture-s/20040705-1.c.s index fd658d163..a44d2bd73 100644 --- a/test/torture-s/20040705-1.c.s +++ b/test/torture-s/20040705-1.c.s @@ -11,7 +11,7 @@ ret1: # @ret1 i32.load $push1=, b+8($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size ret1, .Lfunc_end0-ret1 @@ -29,7 +29,7 @@ ret2: # @ret2 i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 2047 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size ret2, .Lfunc_end1-ret2 @@ -45,7 +45,7 @@ ret3: # @ret3 i32.load $push1=, b+8($pop0) i32.const $push2=, 17 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size ret3, .Lfunc_end2-ret3 @@ -61,7 +61,7 @@ ret4: # @ret4 i32.load $push1=, c+8($pop0) i32.const $push2=, 31 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size ret4, .Lfunc_end3-ret4 @@ -79,7 +79,7 @@ ret5: # @ret5 i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 1 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end4: .size ret5, .Lfunc_end4-ret5 @@ -95,7 +95,7 @@ ret6: # @ret6 i32.load $push1=, c+8($pop0) i32.const $push2=, 6 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size ret6, .Lfunc_end5-ret6 @@ -109,7 +109,7 @@ ret7: # @ret7 # BB#0: # %entry i32.const $push0=, 0 i32.load16_u $push1=, d+8($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end6: .size ret7, .Lfunc_end6-ret7 @@ -123,7 +123,7 @@ ret8: # @ret8 # BB#0: # %entry i32.const $push0=, 0 i32.load8_u $push1=, d+10($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size ret8, .Lfunc_end7-ret8 @@ -137,7 +137,7 @@ ret9: # @ret9 # BB#0: # %entry i32.const $push0=, 0 i32.load8_u $push1=, d+11($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end8: .size ret9, .Lfunc_end8-ret9 @@ -154,14 +154,14 @@ fn1_1: # @fn1_1 i32.const $push9=, 0 i32.load $push8=, b+8($pop9) tee_local $push7=, $1=, $pop8 - i32.add $push1=, $pop7, $0 - i32.const $push2=, 63 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.add $push3=, $pop7, $0 + i32.const $push4=, 63 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end9: .size fn1_1, .Lfunc_end9-fn1_1 @@ -178,16 +178,16 @@ fn2_1: # @fn2_1 i32.const $push11=, 0 i32.load $push10=, b+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.add $push3=, $pop9, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -131009 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.add $push5=, $pop9, $pop4 + i32.const $push6=, 131008 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b+8($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end10: .size fn2_1, .Lfunc_end10-fn2_1 @@ -199,14 +199,14 @@ fn2_1: # @fn2_1 fn3_1: # @fn3_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b+8($pop5) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, b+8($pop0), $pop4 - return + i32.load $push3=, b+8($pop5) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, b+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end11: .size fn3_1, .Lfunc_end11-fn3_1 @@ -223,14 +223,14 @@ fn4_1: # @fn4_1 i32.const $push9=, 0 i32.load $push8=, c+8($pop9) tee_local $push7=, $1=, $pop8 - i32.add $push1=, $pop7, $0 - i32.const $push2=, 31 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.add $push3=, $pop7, $0 + i32.const $push4=, 31 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end12: .size fn4_1, .Lfunc_end12-fn4_1 @@ -247,16 +247,16 @@ fn5_1: # @fn5_1 i32.const $push11=, 0 i32.load $push10=, c+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 5 - i32.shl $push2=, $0, $pop1 - i32.add $push3=, $pop9, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -33 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 5 + i32.shl $push4=, $0, $pop3 + i32.add $push5=, $pop9, $pop4 + i32.const $push6=, 32 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c+8($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end13: .size fn5_1, .Lfunc_end13-fn5_1 @@ -268,14 +268,14 @@ fn5_1: # @fn5_1 fn6_1: # @fn6_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c+8($pop5) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, c+8($pop0), $pop4 - return + i32.load $push3=, c+8($pop5) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, c+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end14: .size fn6_1, .Lfunc_end14-fn6_1 @@ -292,7 +292,7 @@ fn7_1: # @fn7_1 i32.load $push1=, d+8($pop3) i32.add $push2=, $pop1, $0 i32.store16 $drop=, d+8($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end15: .size fn7_1, .Lfunc_end15-fn7_1 @@ -304,16 +304,16 @@ fn7_1: # @fn7_1 fn8_1: # @fn8_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.load $push3=, d+8($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 16 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+10($pop0), $pop5 - return + i32.store8 $drop=, d+10($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end16: .size fn8_1, .Lfunc_end16-fn8_1 @@ -325,14 +325,14 @@ fn8_1: # @fn8_1 fn9_1: # @fn9_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d+8($pop5) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, d+8($pop0), $pop4 - return + i32.load $push3=, d+8($pop5) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, d+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end17: .size fn9_1, .Lfunc_end17-fn9_1 @@ -349,15 +349,15 @@ fn1_2: # @fn1_2 i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end18: .size fn1_2, .Lfunc_end18-fn1_2 @@ -374,15 +374,15 @@ fn2_2: # @fn2_2 i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 64 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 64 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end19: .size fn2_2, .Lfunc_end19-fn2_2 @@ -400,7 +400,7 @@ fn3_2: # @fn3_2 i32.const $push2=, 131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end20: .size fn3_2, .Lfunc_end20-fn3_2 @@ -417,15 +417,15 @@ fn4_2: # @fn4_2 i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end21: .size fn4_2, .Lfunc_end21-fn4_2 @@ -443,7 +443,7 @@ fn5_2: # @fn5_2 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end22: .size fn5_2, .Lfunc_end22-fn5_2 @@ -461,7 +461,7 @@ fn6_2: # @fn6_2 i32.const $push2=, 64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end23: .size fn6_2, .Lfunc_end23-fn6_2 @@ -479,7 +479,7 @@ fn7_2: # @fn7_2 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end24: .size fn7_2, .Lfunc_end24-fn7_2 @@ -499,7 +499,7 @@ fn8_2: # @fn8_2 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+10($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end25: .size fn8_2, .Lfunc_end25-fn8_2 @@ -517,7 +517,7 @@ fn9_2: # @fn9_2 i32.const $push2=, 16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end26: .size fn9_2, .Lfunc_end26-fn9_2 @@ -534,15 +534,15 @@ fn1_3: # @fn1_3 i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end27: .size fn1_3, .Lfunc_end27-fn1_3 @@ -559,15 +559,15 @@ fn2_3: # @fn2_3 i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 64 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 64 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end28: .size fn2_3, .Lfunc_end28-fn2_3 @@ -585,7 +585,7 @@ fn3_3: # @fn3_3 i32.const $push2=, 131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end29: .size fn3_3, .Lfunc_end29-fn3_3 @@ -602,15 +602,15 @@ fn4_3: # @fn4_3 i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end30: .size fn4_3, .Lfunc_end30-fn4_3 @@ -628,7 +628,7 @@ fn5_3: # @fn5_3 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end31: .size fn5_3, .Lfunc_end31-fn5_3 @@ -646,7 +646,7 @@ fn6_3: # @fn6_3 i32.const $push2=, 64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end32: .size fn6_3, .Lfunc_end32-fn6_3 @@ -664,7 +664,7 @@ fn7_3: # @fn7_3 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end33: .size fn7_3, .Lfunc_end33-fn7_3 @@ -684,7 +684,7 @@ fn8_3: # @fn8_3 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+10($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end34: .size fn8_3, .Lfunc_end34-fn8_3 @@ -702,7 +702,7 @@ fn9_3: # @fn9_3 i32.const $push2=, 16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end35: .size fn9_3, .Lfunc_end35-fn9_3 @@ -719,14 +719,14 @@ fn1_4: # @fn1_4 i32.const $push9=, 0 i32.load $push8=, b+8($pop9) tee_local $push7=, $1=, $pop8 - i32.sub $push1=, $pop7, $0 - i32.const $push2=, 63 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.sub $push3=, $pop7, $0 + i32.const $push4=, 63 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end36: .size fn1_4, .Lfunc_end36-fn1_4 @@ -743,16 +743,16 @@ fn2_4: # @fn2_4 i32.const $push11=, 0 i32.load $push10=, b+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -131009 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, 131008 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b+8($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end37: .size fn2_4, .Lfunc_end37-fn2_4 @@ -769,16 +769,16 @@ fn3_4: # @fn3_4 i32.const $push11=, 0 i32.load $push10=, b+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, -131072 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 131071 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 17 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, -131072 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b+8($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end38: .size fn3_4, .Lfunc_end38-fn3_4 @@ -795,14 +795,14 @@ fn4_4: # @fn4_4 i32.const $push9=, 0 i32.load $push8=, c+8($pop9) tee_local $push7=, $1=, $pop8 - i32.sub $push1=, $pop7, $0 - i32.const $push2=, 31 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.sub $push3=, $pop7, $0 + i32.const $push4=, 31 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end39: .size fn4_4, .Lfunc_end39-fn4_4 @@ -819,16 +819,16 @@ fn5_4: # @fn5_4 i32.const $push11=, 0 i32.load $push10=, c+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 5 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -33 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 5 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, 32 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c+8($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end40: .size fn5_4, .Lfunc_end40-fn5_4 @@ -845,16 +845,16 @@ fn6_4: # @fn6_4 i32.const $push11=, 0 i32.load $push10=, c+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 63 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, -64 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c+8($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end41: .size fn6_4, .Lfunc_end41-fn6_4 @@ -871,7 +871,7 @@ fn7_4: # @fn7_4 i32.load $push1=, d+8($pop3) i32.sub $push2=, $pop1, $0 i32.store16 $drop=, d+8($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end42: .size fn7_4, .Lfunc_end42-fn7_4 @@ -883,16 +883,16 @@ fn7_4: # @fn7_4 fn8_4: # @fn8_4 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.sub $push4=, $pop1, $pop3 + i32.load $push3=, d+8($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.sub $push4=, $pop3, $pop1 i32.const $push6=, 16 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+10($pop0), $pop5 - return + i32.store8 $drop=, d+10($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end43: .size fn8_4, .Lfunc_end43-fn8_4 @@ -904,16 +904,16 @@ fn8_4: # @fn8_4 fn9_4: # @fn9_4 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.sub $push4=, $pop1, $pop3 + i32.load $push3=, d+8($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.sub $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+11($pop0), $pop5 - return + i32.store8 $drop=, d+11($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end44: .size fn9_4, .Lfunc_end44-fn9_4 @@ -930,15 +930,15 @@ fn1_5: # @fn1_5 i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 63 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 63 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end45: .size fn1_5, .Lfunc_end45-fn1_5 @@ -955,15 +955,15 @@ fn2_5: # @fn2_5 i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 131008 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 131008 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 131008 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -131009 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end46: .size fn2_5, .Lfunc_end46-fn2_5 @@ -981,7 +981,7 @@ fn3_5: # @fn3_5 i32.const $push2=, -131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end47: .size fn3_5, .Lfunc_end47-fn3_5 @@ -998,15 +998,15 @@ fn4_5: # @fn4_5 i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 31 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 31 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end48: .size fn4_5, .Lfunc_end48-fn4_5 @@ -1024,7 +1024,7 @@ fn5_5: # @fn5_5 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end49: .size fn5_5, .Lfunc_end49-fn5_5 @@ -1042,7 +1042,7 @@ fn6_5: # @fn6_5 i32.const $push2=, -64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end50: .size fn6_5, .Lfunc_end50-fn6_5 @@ -1060,7 +1060,7 @@ fn7_5: # @fn7_5 i32.const $push2=, 65535 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end51: .size fn7_5, .Lfunc_end51-fn7_5 @@ -1080,7 +1080,7 @@ fn8_5: # @fn8_5 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+10($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end52: .size fn8_5, .Lfunc_end52-fn8_5 @@ -1098,7 +1098,7 @@ fn9_5: # @fn9_5 i32.const $push2=, -16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end53: .size fn9_5, .Lfunc_end53-fn9_5 @@ -1115,15 +1115,15 @@ fn1_6: # @fn1_6 i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 63 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 63 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end54: .size fn1_6, .Lfunc_end54-fn1_6 @@ -1140,15 +1140,15 @@ fn2_6: # @fn2_6 i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 131008 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 131008 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 131008 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -131009 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end55: .size fn2_6, .Lfunc_end55-fn2_6 @@ -1166,7 +1166,7 @@ fn3_6: # @fn3_6 i32.const $push2=, -131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end56: .size fn3_6, .Lfunc_end56-fn3_6 @@ -1183,15 +1183,15 @@ fn4_6: # @fn4_6 i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 31 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 31 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end57: .size fn4_6, .Lfunc_end57-fn4_6 @@ -1209,7 +1209,7 @@ fn5_6: # @fn5_6 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end58: .size fn5_6, .Lfunc_end58-fn5_6 @@ -1227,7 +1227,7 @@ fn6_6: # @fn6_6 i32.const $push2=, -64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end59: .size fn6_6, .Lfunc_end59-fn6_6 @@ -1245,7 +1245,7 @@ fn7_6: # @fn7_6 i32.const $push2=, 65535 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end60: .size fn7_6, .Lfunc_end60-fn7_6 @@ -1265,7 +1265,7 @@ fn8_6: # @fn8_6 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+10($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end61: .size fn8_6, .Lfunc_end61-fn8_6 @@ -1283,7 +1283,7 @@ fn9_6: # @fn9_6 i32.const $push2=, -16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end62: .size fn9_6, .Lfunc_end62-fn9_6 @@ -1295,14 +1295,14 @@ fn9_6: # @fn9_6 fn1_7: # @fn1_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -64 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -64 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, b+8($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, b+8($pop0), $pop4 - return + i32.load $push3=, b+8($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, b+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end63: .size fn1_7, .Lfunc_end63-fn1_7 @@ -1314,16 +1314,16 @@ fn1_7: # @fn1_7 fn2_7: # @fn2_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -131009 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -131009 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, b+8($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, b+8($pop0), $pop6 - return + i32.load $push5=, b+8($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, b+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end64: .size fn2_7, .Lfunc_end64-fn2_7 @@ -1335,16 +1335,16 @@ fn2_7: # @fn2_7 fn3_7: # @fn3_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b+8($pop7) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131071 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, b+8($pop0), $pop6 - return + i32.load $push5=, b+8($pop7) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131071 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, b+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end65: .size fn3_7, .Lfunc_end65-fn3_7 @@ -1356,14 +1356,14 @@ fn3_7: # @fn3_7 fn4_7: # @fn4_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -32 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -32 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, c+8($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, c+8($pop0), $pop4 - return + i32.load $push3=, c+8($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, c+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end66: .size fn4_7, .Lfunc_end66-fn4_7 @@ -1375,16 +1375,16 @@ fn4_7: # @fn4_7 fn5_7: # @fn5_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -33 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -33 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, c+8($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, c+8($pop0), $pop6 - return + i32.load $push5=, c+8($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, c+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end67: .size fn5_7, .Lfunc_end67-fn5_7 @@ -1396,16 +1396,16 @@ fn5_7: # @fn5_7 fn6_7: # @fn6_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c+8($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 63 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, c+8($pop0), $pop6 - return + i32.load $push5=, c+8($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 63 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, c+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end68: .size fn6_7, .Lfunc_end68-fn6_7 @@ -1417,14 +1417,14 @@ fn6_7: # @fn6_7 fn7_7: # @fn7_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -65536 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -65536 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, d+8($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, d+8($pop0), $pop4 - return + i32.load $push3=, d+8($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, d+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end69: .size fn7_7, .Lfunc_end69-fn7_7 @@ -1436,16 +1436,16 @@ fn7_7: # @fn7_7 fn8_7: # @fn8_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -16711681 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -16711681 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, d+8($pop0), $pop6 - return + i32.load $push5=, d+8($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, d+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end70: .size fn8_7, .Lfunc_end70-fn8_7 @@ -1457,16 +1457,16 @@ fn8_7: # @fn8_7 fn9_7: # @fn9_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16777215 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, d+8($pop0), $pop6 - return + i32.load $push5=, d+8($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16777215 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, d+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end71: .size fn9_7, .Lfunc_end71-fn9_7 @@ -1478,14 +1478,14 @@ fn9_7: # @fn9_7 fn1_8: # @fn1_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b+8($pop5) - i32.const $push2=, 63 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, b+8($pop0), $pop4 - return + i32.load $push3=, b+8($pop5) + i32.const $push0=, 63 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, b+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end72: .size fn1_8, .Lfunc_end72-fn1_8 @@ -1497,16 +1497,16 @@ fn1_8: # @fn1_8 fn2_8: # @fn2_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b+8($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, b+8($pop0), $pop6 - return + i32.load $push5=, b+8($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131008 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, b+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end73: .size fn2_8, .Lfunc_end73-fn2_8 @@ -1519,20 +1519,20 @@ fn3_8: # @fn3_8 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, b+8($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -131072 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.or $push5=, $pop4, $pop2 + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.or $push5=, $pop4, $pop1 i32.const $push6=, 131071 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, b+8($pop0), $pop8 - return + i32.store $drop=, b+8($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end74: .size fn3_8, .Lfunc_end74-fn3_8 @@ -1544,14 +1544,14 @@ fn3_8: # @fn3_8 fn4_8: # @fn4_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c+8($pop5) - i32.const $push2=, 31 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, c+8($pop0), $pop4 - return + i32.load $push3=, c+8($pop5) + i32.const $push0=, 31 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, c+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end75: .size fn4_8, .Lfunc_end75-fn4_8 @@ -1563,16 +1563,16 @@ fn4_8: # @fn4_8 fn5_8: # @fn5_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c+8($pop7) - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, c+8($pop0), $pop6 - return + i32.load $push5=, c+8($pop7) + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 32 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, c+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end76: .size fn5_8, .Lfunc_end76-fn5_8 @@ -1585,20 +1585,20 @@ fn6_8: # @fn6_8 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, c+8($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -64 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.or $push5=, $pop4, $pop2 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.or $push5=, $pop4, $pop1 i32.const $push6=, 63 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, c+8($pop0), $pop8 - return + i32.store $drop=, c+8($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end77: .size fn6_8, .Lfunc_end77-fn6_8 @@ -1610,14 +1610,14 @@ fn6_8: # @fn6_8 fn7_8: # @fn7_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d+8($pop5) - i32.const $push2=, 65535 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, d+8($pop0), $pop4 - return + i32.load $push3=, d+8($pop5) + i32.const $push0=, 65535 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, d+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end78: .size fn7_8, .Lfunc_end78-fn7_8 @@ -1629,16 +1629,16 @@ fn7_8: # @fn7_8 fn8_8: # @fn8_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16711680 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, d+8($pop0), $pop6 - return + i32.load $push5=, d+8($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16711680 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, d+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end79: .size fn8_8, .Lfunc_end79-fn8_8 @@ -1650,16 +1650,16 @@ fn8_8: # @fn8_8 fn9_8: # @fn9_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 + i32.load $push3=, d+8($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+11($pop0), $pop5 - return + i32.store8 $drop=, d+11($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end80: .size fn9_8, .Lfunc_end80-fn9_8 @@ -1671,14 +1671,14 @@ fn9_8: # @fn9_8 fn1_9: # @fn1_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b+8($pop5) - i32.const $push2=, 63 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, b+8($pop0), $pop4 - return + i32.load $push3=, b+8($pop5) + i32.const $push0=, 63 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, b+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end81: .size fn1_9, .Lfunc_end81-fn1_9 @@ -1690,16 +1690,16 @@ fn1_9: # @fn1_9 fn2_9: # @fn2_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b+8($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, b+8($pop0), $pop6 - return + i32.load $push5=, b+8($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131008 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, b+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end82: .size fn2_9, .Lfunc_end82-fn2_9 @@ -1712,20 +1712,20 @@ fn3_9: # @fn3_9 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, b+8($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -131072 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.xor $push5=, $pop4, $pop2 + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.xor $push5=, $pop4, $pop1 i32.const $push6=, 131071 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, b+8($pop0), $pop8 - return + i32.store $drop=, b+8($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end83: .size fn3_9, .Lfunc_end83-fn3_9 @@ -1737,14 +1737,14 @@ fn3_9: # @fn3_9 fn4_9: # @fn4_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c+8($pop5) - i32.const $push2=, 31 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, c+8($pop0), $pop4 - return + i32.load $push3=, c+8($pop5) + i32.const $push0=, 31 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, c+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end84: .size fn4_9, .Lfunc_end84-fn4_9 @@ -1756,16 +1756,16 @@ fn4_9: # @fn4_9 fn5_9: # @fn5_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c+8($pop7) - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, c+8($pop0), $pop6 - return + i32.load $push5=, c+8($pop7) + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 32 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, c+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end85: .size fn5_9, .Lfunc_end85-fn5_9 @@ -1778,20 +1778,20 @@ fn6_9: # @fn6_9 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, c+8($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -64 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.xor $push5=, $pop4, $pop2 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.xor $push5=, $pop4, $pop1 i32.const $push6=, 63 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, c+8($pop0), $pop8 - return + i32.store $drop=, c+8($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end86: .size fn6_9, .Lfunc_end86-fn6_9 @@ -1803,14 +1803,14 @@ fn6_9: # @fn6_9 fn7_9: # @fn7_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d+8($pop5) - i32.const $push2=, 65535 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, d+8($pop0), $pop4 - return + i32.load $push3=, d+8($pop5) + i32.const $push0=, 65535 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, d+8($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end87: .size fn7_9, .Lfunc_end87-fn7_9 @@ -1822,16 +1822,16 @@ fn7_9: # @fn7_9 fn8_9: # @fn8_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16711680 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, d+8($pop0), $pop6 - return + i32.load $push5=, d+8($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16711680 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, d+8($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end88: .size fn8_9, .Lfunc_end88-fn8_9 @@ -1843,16 +1843,16 @@ fn8_9: # @fn8_9 fn9_9: # @fn9_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d+8($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 + i32.load $push3=, d+8($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+11($pop0), $pop5 - return + i32.store8 $drop=, d+11($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end89: .size fn9_9, .Lfunc_end89-fn9_9 @@ -1869,14 +1869,14 @@ fn1_a: # @fn1_a i32.const $push9=, 0 i32.load $push8=, b+8($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push4=, -64 - i32.and $push5=, $pop7, $pop4 - i32.const $push1=, 63 - i32.and $push2=, $1, $pop1 - i32.div_u $push3=, $pop2, $0 - i32.or $push6=, $pop5, $pop3 + i32.const $push1=, -64 + i32.and $push2=, $pop7, $pop1 + i32.const $push3=, 63 + i32.and $push4=, $1, $pop3 + i32.div_u $push5=, $pop4, $0 + i32.or $push6=, $pop2, $pop5 i32.store $drop=, b+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end90: .size fn1_a, .Lfunc_end90-fn1_a @@ -1893,18 +1893,18 @@ fn2_a: # @fn2_a i32.const $push13=, 0 i32.load $push12=, b+8($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.div_u $push5=, $pop4, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.div_u $push7=, $pop6, $0 i32.const $push10=, 6 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -131009 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, b+8($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end91: .size fn2_a, .Lfunc_end91-fn2_a @@ -1921,16 +1921,16 @@ fn3_a: # @fn3_a i32.const $push11=, 0 i32.load $push10=, b+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop9, $pop1 - i32.div_u $push3=, $pop2, $0 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop9, $pop3 + i32.div_u $push5=, $pop4, $0 i32.const $push8=, 17 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end92: .size fn3_a, .Lfunc_end92-fn3_a @@ -1947,14 +1947,14 @@ fn4_a: # @fn4_a i32.const $push9=, 0 i32.load $push8=, c+8($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push4=, -32 - i32.and $push5=, $pop7, $pop4 - i32.const $push1=, 31 - i32.and $push2=, $1, $pop1 - i32.div_u $push3=, $pop2, $0 - i32.or $push6=, $pop5, $pop3 + i32.const $push1=, -32 + i32.and $push2=, $pop7, $pop1 + i32.const $push3=, 31 + i32.and $push4=, $1, $pop3 + i32.div_u $push5=, $pop4, $0 + i32.or $push6=, $pop2, $pop5 i32.store $drop=, c+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end93: .size fn4_a, .Lfunc_end93-fn4_a @@ -1971,18 +1971,18 @@ fn5_a: # @fn5_a i32.const $push13=, 0 i32.load $push12=, c+8($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.div_u $push5=, $pop4, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.div_u $push7=, $pop6, $0 i32.const $push10=, 5 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -33 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, c+8($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end94: .size fn5_a, .Lfunc_end94-fn5_a @@ -1999,16 +1999,16 @@ fn6_a: # @fn6_a i32.const $push11=, 0 i32.load $push10=, c+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop9, $pop1 - i32.div_u $push3=, $pop2, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop9, $pop3 + i32.div_u $push5=, $pop4, $0 i32.const $push8=, 6 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end95: .size fn6_a, .Lfunc_end95-fn6_a @@ -2025,7 +2025,7 @@ fn7_a: # @fn7_a i32.load16_u $push1=, d+8($pop3) i32.div_u $push2=, $pop1, $0 i32.store16 $drop=, d+8($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end96: .size fn7_a, .Lfunc_end96-fn7_a @@ -2042,7 +2042,7 @@ fn8_a: # @fn8_a i32.load8_u $push1=, d+10($pop3) i32.div_u $push2=, $pop1, $0 i32.store8 $drop=, d+10($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end97: .size fn8_a, .Lfunc_end97-fn8_a @@ -2059,7 +2059,7 @@ fn9_a: # @fn9_a i32.load8_u $push1=, d+11($pop3) i32.div_u $push2=, $pop1, $0 i32.store8 $drop=, d+11($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end98: .size fn9_a, .Lfunc_end98-fn9_a @@ -2076,14 +2076,14 @@ fn1_b: # @fn1_b i32.const $push9=, 0 i32.load $push8=, b+8($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push1=, 63 - i32.and $push2=, $pop7, $pop1 - i32.rem_u $push3=, $pop2, $0 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.const $push3=, 63 + i32.and $push4=, $pop7, $pop3 + i32.rem_u $push5=, $pop4, $0 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end99: .size fn1_b, .Lfunc_end99-fn1_b @@ -2100,18 +2100,18 @@ fn2_b: # @fn2_b i32.const $push13=, 0 i32.load $push12=, b+8($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.rem_u $push5=, $pop4, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.rem_u $push7=, $pop6, $0 i32.const $push10=, 6 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -131009 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, b+8($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end100: .size fn2_b, .Lfunc_end100-fn2_b @@ -2128,16 +2128,16 @@ fn3_b: # @fn3_b i32.const $push11=, 0 i32.load $push10=, b+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop9, $pop1 - i32.rem_u $push3=, $pop2, $0 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop9, $pop3 + i32.rem_u $push5=, $pop4, $0 i32.const $push8=, 17 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end101: .size fn3_b, .Lfunc_end101-fn3_b @@ -2154,14 +2154,14 @@ fn4_b: # @fn4_b i32.const $push9=, 0 i32.load $push8=, c+8($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push1=, 31 - i32.and $push2=, $pop7, $pop1 - i32.rem_u $push3=, $pop2, $0 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.const $push3=, 31 + i32.and $push4=, $pop7, $pop3 + i32.rem_u $push5=, $pop4, $0 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c+8($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end102: .size fn4_b, .Lfunc_end102-fn4_b @@ -2178,18 +2178,18 @@ fn5_b: # @fn5_b i32.const $push13=, 0 i32.load $push12=, c+8($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.rem_u $push5=, $pop4, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.rem_u $push7=, $pop6, $0 i32.const $push10=, 5 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -33 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, c+8($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end103: .size fn5_b, .Lfunc_end103-fn5_b @@ -2206,16 +2206,16 @@ fn6_b: # @fn6_b i32.const $push11=, 0 i32.load $push10=, c+8($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop9, $pop1 - i32.rem_u $push3=, $pop2, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop9, $pop3 + i32.rem_u $push5=, $pop4, $0 i32.const $push8=, 6 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end104: .size fn6_b, .Lfunc_end104-fn6_b @@ -2232,7 +2232,7 @@ fn7_b: # @fn7_b i32.load16_u $push1=, d+8($pop3) i32.rem_u $push2=, $pop1, $0 i32.store16 $drop=, d+8($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end105: .size fn7_b, .Lfunc_end105-fn7_b @@ -2249,7 +2249,7 @@ fn8_b: # @fn8_b i32.load8_u $push1=, d+10($pop3) i32.rem_u $push2=, $pop1, $0 i32.store8 $drop=, d+10($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end106: .size fn8_b, .Lfunc_end106-fn8_b @@ -2266,7 +2266,7 @@ fn9_b: # @fn9_b i32.load8_u $push1=, d+11($pop3) i32.rem_u $push2=, $pop1, $0 i32.store8 $drop=, d+11($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end107: .size fn9_b, .Lfunc_end107-fn9_b @@ -2283,15 +2283,15 @@ fn1_c: # @fn1_c i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 3 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 3 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end108: .size fn1_c, .Lfunc_end108-fn1_c @@ -2308,15 +2308,15 @@ fn2_c: # @fn2_c i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 192 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 192 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end109: .size fn2_c, .Lfunc_end109-fn2_c @@ -2334,7 +2334,7 @@ fn3_c: # @fn3_c i32.const $push2=, 393216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end110: .size fn3_c, .Lfunc_end110-fn3_c @@ -2351,15 +2351,15 @@ fn4_c: # @fn4_c i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 3 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 3 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end111: .size fn4_c, .Lfunc_end111-fn4_c @@ -2377,7 +2377,7 @@ fn5_c: # @fn5_c i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end112: .size fn5_c, .Lfunc_end112-fn5_c @@ -2395,7 +2395,7 @@ fn6_c: # @fn6_c i32.const $push2=, 192 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end113: .size fn6_c, .Lfunc_end113-fn6_c @@ -2413,7 +2413,7 @@ fn7_c: # @fn7_c i32.const $push2=, 3 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end114: .size fn7_c, .Lfunc_end114-fn7_c @@ -2433,7 +2433,7 @@ fn8_c: # @fn8_c i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+10($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end115: .size fn8_c, .Lfunc_end115-fn8_c @@ -2451,7 +2451,7 @@ fn9_c: # @fn9_c i32.const $push2=, 50331648 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end116: .size fn9_c, .Lfunc_end116-fn9_c @@ -2468,15 +2468,15 @@ fn1_d: # @fn1_d i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 57 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 57 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end117: .size fn1_d, .Lfunc_end117-fn1_d @@ -2493,15 +2493,15 @@ fn2_d: # @fn2_d i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 130624 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 130624 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end118: .size fn2_d, .Lfunc_end118-fn2_d @@ -2519,7 +2519,7 @@ fn3_d: # @fn3_d i32.const $push2=, -917504 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end119: .size fn3_d, .Lfunc_end119-fn3_d @@ -2536,15 +2536,15 @@ fn4_d: # @fn4_d i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 25 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 25 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end120: .size fn4_d, .Lfunc_end120-fn4_d @@ -2562,7 +2562,7 @@ fn5_d: # @fn5_d i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end121: .size fn5_d, .Lfunc_end121-fn5_d @@ -2580,7 +2580,7 @@ fn6_d: # @fn6_d i32.const $push2=, -448 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end122: .size fn6_d, .Lfunc_end122-fn6_d @@ -2598,7 +2598,7 @@ fn7_d: # @fn7_d i32.const $push2=, 65529 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end123: .size fn7_d, .Lfunc_end123-fn7_d @@ -2618,7 +2618,7 @@ fn8_d: # @fn8_d i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+10($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end124: .size fn8_d, .Lfunc_end124-fn8_d @@ -2636,7 +2636,7 @@ fn9_d: # @fn9_d i32.const $push2=, -117440512 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end125: .size fn9_d, .Lfunc_end125-fn9_d @@ -2654,7 +2654,7 @@ fn1_e: # @fn1_e i32.const $push2=, -43 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end126: .size fn1_e, .Lfunc_end126-fn1_e @@ -2672,7 +2672,7 @@ fn2_e: # @fn2_e i32.const $push2=, -129665 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end127: .size fn2_e, .Lfunc_end127-fn2_e @@ -2690,7 +2690,7 @@ fn3_e: # @fn3_e i32.const $push2=, 2883583 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end128: .size fn3_e, .Lfunc_end128-fn3_e @@ -2708,7 +2708,7 @@ fn4_e: # @fn4_e i32.const $push2=, -11 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end129: .size fn4_e, .Lfunc_end129-fn4_e @@ -2720,7 +2720,7 @@ fn4_e: # @fn4_e fn5_e: # @fn5_e .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end130: .size fn5_e, .Lfunc_end130-fn5_e @@ -2738,7 +2738,7 @@ fn6_e: # @fn6_e i32.const $push2=, 1407 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end131: .size fn6_e, .Lfunc_end131-fn6_e @@ -2756,7 +2756,7 @@ fn7_e: # @fn7_e i32.const $push2=, -65515 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end132: .size fn7_e, .Lfunc_end132-fn7_e @@ -2774,7 +2774,7 @@ fn8_e: # @fn8_e i32.const $push2=, -15335425 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end133: .size fn8_e, .Lfunc_end133-fn8_e @@ -2792,7 +2792,7 @@ fn9_e: # @fn9_e i32.const $push2=, 369098751 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end134: .size fn9_e, .Lfunc_end134-fn9_e @@ -2810,7 +2810,7 @@ fn1_f: # @fn1_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end135: .size fn1_f, .Lfunc_end135-fn1_f @@ -2828,7 +2828,7 @@ fn2_f: # @fn2_f i32.const $push2=, 1216 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end136: .size fn2_f, .Lfunc_end136-fn2_f @@ -2846,7 +2846,7 @@ fn3_f: # @fn3_f i32.const $push2=, 2490368 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end137: .size fn3_f, .Lfunc_end137-fn3_f @@ -2864,7 +2864,7 @@ fn4_f: # @fn4_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end138: .size fn4_f, .Lfunc_end138-fn4_f @@ -2882,7 +2882,7 @@ fn5_f: # @fn5_f i32.const $push2=, 32 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end139: .size fn5_f, .Lfunc_end139-fn5_f @@ -2900,7 +2900,7 @@ fn6_f: # @fn6_f i32.const $push2=, 1216 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end140: .size fn6_f, .Lfunc_end140-fn6_f @@ -2918,7 +2918,7 @@ fn7_f: # @fn7_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end141: .size fn7_f, .Lfunc_end141-fn7_f @@ -2936,7 +2936,7 @@ fn8_f: # @fn8_f i32.const $push2=, 1245184 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end142: .size fn8_f, .Lfunc_end142-fn8_f @@ -2954,7 +2954,7 @@ fn9_f: # @fn9_f i32.const $push2=, 318767104 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end143: .size fn9_f, .Lfunc_end143-fn9_f @@ -2972,7 +2972,7 @@ fn1_g: # @fn1_g i32.const $push2=, 37 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end144: .size fn1_g, .Lfunc_end144-fn1_g @@ -2990,7 +2990,7 @@ fn2_g: # @fn2_g i32.const $push2=, 2368 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end145: .size fn2_g, .Lfunc_end145-fn2_g @@ -3008,7 +3008,7 @@ fn3_g: # @fn3_g i32.const $push2=, 4849664 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end146: .size fn3_g, .Lfunc_end146-fn3_g @@ -3026,7 +3026,7 @@ fn4_g: # @fn4_g i32.const $push2=, 5 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end147: .size fn4_g, .Lfunc_end147-fn4_g @@ -3044,7 +3044,7 @@ fn5_g: # @fn5_g i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end148: .size fn5_g, .Lfunc_end148-fn5_g @@ -3062,7 +3062,7 @@ fn6_g: # @fn6_g i32.const $push2=, 2368 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end149: .size fn6_g, .Lfunc_end149-fn6_g @@ -3080,7 +3080,7 @@ fn7_g: # @fn7_g i32.const $push2=, 37 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end150: .size fn7_g, .Lfunc_end150-fn7_g @@ -3098,7 +3098,7 @@ fn8_g: # @fn8_g i32.const $push2=, 2424832 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end151: .size fn8_g, .Lfunc_end151-fn8_g @@ -3116,7 +3116,7 @@ fn9_g: # @fn9_g i32.const $push2=, 620756992 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end152: .size fn9_g, .Lfunc_end152-fn9_g @@ -3133,15 +3133,15 @@ fn1_h: # @fn1_h i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.div_u $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 63 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.div_u $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end153: .size fn1_h, .Lfunc_end153-fn1_h @@ -3158,19 +3158,19 @@ fn2_h: # @fn2_h i32.const $push14=, 0 i32.load $push13=, b+8($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 17 - i32.div_u $push6=, $pop4, $pop5 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 17 + i32.div_u $push8=, $pop6, $pop7 i32.const $push11=, 6 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -131009 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, b+8($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end154: .size fn2_h, .Lfunc_end154-fn2_h @@ -3187,15 +3187,15 @@ fn3_h: # @fn3_h i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 2228224 - i32.div_u $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.shl $push4=, $pop2, $pop3 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 2228224 + i32.div_u $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.shl $push6=, $pop4, $pop5 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end155: .size fn3_h, .Lfunc_end155-fn3_h @@ -3212,15 +3212,15 @@ fn4_h: # @fn4_h i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.div_u $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 31 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.div_u $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end156: .size fn4_h, .Lfunc_end156-fn4_h @@ -3238,7 +3238,7 @@ fn5_h: # @fn5_h i32.const $push2=, -33 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end157: .size fn5_h, .Lfunc_end157-fn5_h @@ -3255,15 +3255,15 @@ fn6_h: # @fn6_h i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1088 - i32.div_u $push2=, $pop8, $pop1 - i32.const $push3=, 6 - i32.shl $push4=, $pop2, $pop3 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1088 + i32.div_u $push4=, $pop8, $pop3 + i32.const $push5=, 6 + i32.shl $push6=, $pop4, $pop5 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end158: .size fn6_h, .Lfunc_end158-fn6_h @@ -3281,7 +3281,7 @@ fn7_h: # @fn7_h i32.const $push2=, 17 i32.div_u $push3=, $pop1, $pop2 i32.store16 $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end159: .size fn7_h, .Lfunc_end159-fn7_h @@ -3299,7 +3299,7 @@ fn8_h: # @fn8_h i32.const $push2=, 17 i32.div_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+10($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end160: .size fn8_h, .Lfunc_end160-fn8_h @@ -3317,7 +3317,7 @@ fn9_h: # @fn9_h i32.const $push2=, 285212672 i32.div_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+11($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end161: .size fn9_h, .Lfunc_end161-fn9_h @@ -3334,15 +3334,15 @@ fn1_i: # @fn1_i i32.const $push10=, 0 i32.load $push9=, b+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 63 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end162: .size fn1_i, .Lfunc_end162-fn1_i @@ -3359,19 +3359,19 @@ fn2_i: # @fn2_i i32.const $push14=, 0 i32.load $push13=, b+8($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 19 - i32.rem_u $push6=, $pop4, $pop5 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 19 + i32.rem_u $push8=, $pop6, $pop7 i32.const $push11=, 6 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -131009 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, b+8($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end163: .size fn2_i, .Lfunc_end163-fn2_i @@ -3388,17 +3388,17 @@ fn3_i: # @fn3_i i32.const $push12=, 0 i32.load $push11=, b+8($pop12) tee_local $push10=, $1=, $pop11 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop10, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop10, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 i32.const $push9=, 17 - i32.shl $push5=, $pop4, $pop9 - i32.const $push6=, 131071 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push7=, $pop6, $pop9 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b+8($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end164: .size fn3_i, .Lfunc_end164-fn3_i @@ -3415,15 +3415,15 @@ fn4_i: # @fn4_i i32.const $push10=, 0 i32.load $push9=, c+8($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 31 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c+8($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end165: .size fn4_i, .Lfunc_end165-fn4_i @@ -3440,19 +3440,19 @@ fn5_i: # @fn5_i i32.const $push14=, 0 i32.load $push13=, c+8($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 19 - i32.rem_u $push6=, $pop4, $pop5 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 19 + i32.rem_u $push8=, $pop6, $pop7 i32.const $push11=, 5 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -33 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, c+8($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end166: .size fn5_i, .Lfunc_end166-fn5_i @@ -3469,17 +3469,17 @@ fn6_i: # @fn6_i i32.const $push12=, 0 i32.load $push11=, c+8($pop12) tee_local $push10=, $1=, $pop11 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop10, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop10, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 i32.const $push9=, 6 - i32.shl $push5=, $pop4, $pop9 - i32.const $push6=, 63 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push7=, $pop6, $pop9 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c+8($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end167: .size fn6_i, .Lfunc_end167-fn6_i @@ -3497,7 +3497,7 @@ fn7_i: # @fn7_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store16 $drop=, d+8($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end168: .size fn7_i, .Lfunc_end168-fn7_i @@ -3515,7 +3515,7 @@ fn8_i: # @fn8_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+10($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end169: .size fn8_i, .Lfunc_end169-fn8_i @@ -3533,7 +3533,7 @@ fn9_i: # @fn9_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+11($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end170: .size fn9_i, .Lfunc_end170-fn9_i @@ -3546,16 +3546,16 @@ main: # @main .result i32 # BB#0: # %if.end1610 i32.const $push1=, 0 - i32.const $push0=, 560051 - i32.store $drop=, b+8($pop1), $pop0 + i32.const $push0=, -2147483595 + i32.store $drop=, c+8($pop1), $pop0 i32.const $push6=, 0 - i32.const $push2=, -2147483595 - i32.store $drop=, c+8($pop6), $pop2 + i32.const $push2=, 560051 + i32.store $drop=, b+8($pop6), $pop2 i32.const $push5=, 0 i32.const $push3=, -1147377476 i32.store $drop=, d+8($pop5), $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end171: .size main, .Lfunc_end171-main diff --git a/test/torture-s/20040705-2.c.s b/test/torture-s/20040705-2.c.s index 26de484e0..f86836d9f 100644 --- a/test/torture-s/20040705-2.c.s +++ b/test/torture-s/20040705-2.c.s @@ -11,7 +11,7 @@ ret1: # @ret1 i32.load $push1=, b($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size ret1, .Lfunc_end0-ret1 @@ -29,7 +29,7 @@ ret2: # @ret2 i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 2047 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size ret2, .Lfunc_end1-ret2 @@ -45,7 +45,7 @@ ret3: # @ret3 i32.load $push1=, b($pop0) i32.const $push2=, 17 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size ret3, .Lfunc_end2-ret3 @@ -61,7 +61,7 @@ ret4: # @ret4 i32.load $push1=, c($pop0) i32.const $push2=, 31 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size ret4, .Lfunc_end3-ret4 @@ -79,7 +79,7 @@ ret5: # @ret5 i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 1 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end4: .size ret5, .Lfunc_end4-ret5 @@ -95,7 +95,7 @@ ret6: # @ret6 i32.load $push1=, c($pop0) i32.const $push2=, 6 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size ret6, .Lfunc_end5-ret6 @@ -109,7 +109,7 @@ ret7: # @ret7 # BB#0: # %entry i32.const $push0=, 0 i32.load16_u $push1=, d($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end6: .size ret7, .Lfunc_end6-ret7 @@ -123,7 +123,7 @@ ret8: # @ret8 # BB#0: # %entry i32.const $push0=, 0 i32.load8_u $push1=, d+2($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size ret8, .Lfunc_end7-ret8 @@ -137,7 +137,7 @@ ret9: # @ret9 # BB#0: # %entry i32.const $push0=, 0 i32.load8_u $push1=, d+3($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end8: .size ret9, .Lfunc_end8-ret9 @@ -154,14 +154,14 @@ fn1_1: # @fn1_1 i32.const $push9=, 0 i32.load $push8=, b($pop9) tee_local $push7=, $1=, $pop8 - i32.add $push1=, $pop7, $0 - i32.const $push2=, 63 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.add $push3=, $pop7, $0 + i32.const $push4=, 63 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end9: .size fn1_1, .Lfunc_end9-fn1_1 @@ -178,16 +178,16 @@ fn2_1: # @fn2_1 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.add $push3=, $pop9, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -131009 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.add $push5=, $pop9, $pop4 + i32.const $push6=, 131008 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end10: .size fn2_1, .Lfunc_end10-fn2_1 @@ -199,14 +199,14 @@ fn2_1: # @fn2_1 fn3_1: # @fn3_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b($pop5) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, b($pop0), $pop4 - return + i32.load $push3=, b($pop5) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, b($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end11: .size fn3_1, .Lfunc_end11-fn3_1 @@ -223,14 +223,14 @@ fn4_1: # @fn4_1 i32.const $push9=, 0 i32.load $push8=, c($pop9) tee_local $push7=, $1=, $pop8 - i32.add $push1=, $pop7, $0 - i32.const $push2=, 31 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.add $push3=, $pop7, $0 + i32.const $push4=, 31 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end12: .size fn4_1, .Lfunc_end12-fn4_1 @@ -247,16 +247,16 @@ fn5_1: # @fn5_1 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 5 - i32.shl $push2=, $0, $pop1 - i32.add $push3=, $pop9, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -33 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 5 + i32.shl $push4=, $0, $pop3 + i32.add $push5=, $pop9, $pop4 + i32.const $push6=, 32 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end13: .size fn5_1, .Lfunc_end13-fn5_1 @@ -268,14 +268,14 @@ fn5_1: # @fn5_1 fn6_1: # @fn6_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c($pop5) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, c($pop0), $pop4 - return + i32.load $push3=, c($pop5) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, c($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end14: .size fn6_1, .Lfunc_end14-fn6_1 @@ -292,7 +292,7 @@ fn7_1: # @fn7_1 i32.load $push1=, d($pop3) i32.add $push2=, $pop1, $0 i32.store16 $drop=, d($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end15: .size fn7_1, .Lfunc_end15-fn7_1 @@ -304,16 +304,16 @@ fn7_1: # @fn7_1 fn8_1: # @fn8_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 16 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+2($pop0), $pop5 - return + i32.store8 $drop=, d+2($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end16: .size fn8_1, .Lfunc_end16-fn8_1 @@ -325,14 +325,14 @@ fn8_1: # @fn8_1 fn9_1: # @fn9_1 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d($pop5) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 - i32.store $drop=, d($pop0), $pop4 - return + i32.load $push3=, d($pop5) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 + i32.store $drop=, d($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end17: .size fn9_1, .Lfunc_end17-fn9_1 @@ -349,15 +349,15 @@ fn1_2: # @fn1_2 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end18: .size fn1_2, .Lfunc_end18-fn1_2 @@ -374,15 +374,15 @@ fn2_2: # @fn2_2 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 64 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 64 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end19: .size fn2_2, .Lfunc_end19-fn2_2 @@ -400,7 +400,7 @@ fn3_2: # @fn3_2 i32.const $push2=, 131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end20: .size fn3_2, .Lfunc_end20-fn3_2 @@ -417,15 +417,15 @@ fn4_2: # @fn4_2 i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end21: .size fn4_2, .Lfunc_end21-fn4_2 @@ -443,7 +443,7 @@ fn5_2: # @fn5_2 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end22: .size fn5_2, .Lfunc_end22-fn5_2 @@ -461,7 +461,7 @@ fn6_2: # @fn6_2 i32.const $push2=, 64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end23: .size fn6_2, .Lfunc_end23-fn6_2 @@ -479,7 +479,7 @@ fn7_2: # @fn7_2 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end24: .size fn7_2, .Lfunc_end24-fn7_2 @@ -499,7 +499,7 @@ fn8_2: # @fn8_2 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end25: .size fn8_2, .Lfunc_end25-fn8_2 @@ -517,7 +517,7 @@ fn9_2: # @fn9_2 i32.const $push2=, 16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end26: .size fn9_2, .Lfunc_end26-fn9_2 @@ -534,15 +534,15 @@ fn1_3: # @fn1_3 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end27: .size fn1_3, .Lfunc_end27-fn1_3 @@ -559,15 +559,15 @@ fn2_3: # @fn2_3 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 64 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 64 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end28: .size fn2_3, .Lfunc_end28-fn2_3 @@ -585,7 +585,7 @@ fn3_3: # @fn3_3 i32.const $push2=, 131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end29: .size fn3_3, .Lfunc_end29-fn3_3 @@ -602,15 +602,15 @@ fn4_3: # @fn4_3 i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end30: .size fn4_3, .Lfunc_end30-fn4_3 @@ -628,7 +628,7 @@ fn5_3: # @fn5_3 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end31: .size fn5_3, .Lfunc_end31-fn5_3 @@ -646,7 +646,7 @@ fn6_3: # @fn6_3 i32.const $push2=, 64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end32: .size fn6_3, .Lfunc_end32-fn6_3 @@ -664,7 +664,7 @@ fn7_3: # @fn7_3 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end33: .size fn7_3, .Lfunc_end33-fn7_3 @@ -684,7 +684,7 @@ fn8_3: # @fn8_3 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end34: .size fn8_3, .Lfunc_end34-fn8_3 @@ -702,7 +702,7 @@ fn9_3: # @fn9_3 i32.const $push2=, 16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end35: .size fn9_3, .Lfunc_end35-fn9_3 @@ -719,14 +719,14 @@ fn1_4: # @fn1_4 i32.const $push9=, 0 i32.load $push8=, b($pop9) tee_local $push7=, $1=, $pop8 - i32.sub $push1=, $pop7, $0 - i32.const $push2=, 63 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.sub $push3=, $pop7, $0 + i32.const $push4=, 63 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end36: .size fn1_4, .Lfunc_end36-fn1_4 @@ -743,16 +743,16 @@ fn2_4: # @fn2_4 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -131009 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, 131008 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end37: .size fn2_4, .Lfunc_end37-fn2_4 @@ -769,16 +769,16 @@ fn3_4: # @fn3_4 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, -131072 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 131071 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 17 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, -131072 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end38: .size fn3_4, .Lfunc_end38-fn3_4 @@ -795,14 +795,14 @@ fn4_4: # @fn4_4 i32.const $push9=, 0 i32.load $push8=, c($pop9) tee_local $push7=, $1=, $pop8 - i32.sub $push1=, $pop7, $0 - i32.const $push2=, 31 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.sub $push3=, $pop7, $0 + i32.const $push4=, 31 + i32.and $push5=, $pop3, $pop4 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end39: .size fn4_4, .Lfunc_end39-fn4_4 @@ -819,16 +819,16 @@ fn5_4: # @fn5_4 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 5 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, -33 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 5 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, 32 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end40: .size fn5_4, .Lfunc_end40-fn5_4 @@ -845,16 +845,16 @@ fn6_4: # @fn6_4 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.sub $push3=, $pop9, $pop2 - i32.const $push4=, -64 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 63 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.const $push3=, 6 + i32.shl $push4=, $0, $pop3 + i32.sub $push5=, $pop9, $pop4 + i32.const $push6=, -64 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end41: .size fn6_4, .Lfunc_end41-fn6_4 @@ -871,7 +871,7 @@ fn7_4: # @fn7_4 i32.load $push1=, d($pop3) i32.sub $push2=, $pop1, $0 i32.store16 $drop=, d($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end42: .size fn7_4, .Lfunc_end42-fn7_4 @@ -883,16 +883,16 @@ fn7_4: # @fn7_4 fn8_4: # @fn8_4 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.sub $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.sub $push4=, $pop3, $pop1 i32.const $push6=, 16 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+2($pop0), $pop5 - return + i32.store8 $drop=, d+2($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end43: .size fn8_4, .Lfunc_end43-fn8_4 @@ -904,16 +904,16 @@ fn8_4: # @fn8_4 fn9_4: # @fn9_4 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.sub $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.sub $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+3($pop0), $pop5 - return + i32.store8 $drop=, d+3($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end44: .size fn9_4, .Lfunc_end44-fn9_4 @@ -930,15 +930,15 @@ fn1_5: # @fn1_5 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 63 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 63 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end45: .size fn1_5, .Lfunc_end45-fn1_5 @@ -955,15 +955,15 @@ fn2_5: # @fn2_5 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 131008 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 131008 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 131008 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -131009 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end46: .size fn2_5, .Lfunc_end46-fn2_5 @@ -981,7 +981,7 @@ fn3_5: # @fn3_5 i32.const $push2=, -131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end47: .size fn3_5, .Lfunc_end47-fn3_5 @@ -998,15 +998,15 @@ fn4_5: # @fn4_5 i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 31 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 31 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end48: .size fn4_5, .Lfunc_end48-fn4_5 @@ -1024,7 +1024,7 @@ fn5_5: # @fn5_5 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end49: .size fn5_5, .Lfunc_end49-fn5_5 @@ -1042,7 +1042,7 @@ fn6_5: # @fn6_5 i32.const $push2=, -64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end50: .size fn6_5, .Lfunc_end50-fn6_5 @@ -1060,7 +1060,7 @@ fn7_5: # @fn7_5 i32.const $push2=, 65535 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end51: .size fn7_5, .Lfunc_end51-fn7_5 @@ -1080,7 +1080,7 @@ fn8_5: # @fn8_5 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end52: .size fn8_5, .Lfunc_end52-fn8_5 @@ -1098,7 +1098,7 @@ fn9_5: # @fn9_5 i32.const $push2=, -16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end53: .size fn9_5, .Lfunc_end53-fn9_5 @@ -1115,15 +1115,15 @@ fn1_6: # @fn1_6 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 63 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 63 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end54: .size fn1_6, .Lfunc_end54-fn1_6 @@ -1140,15 +1140,15 @@ fn2_6: # @fn2_6 i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 131008 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 131008 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 131008 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -131009 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end55: .size fn2_6, .Lfunc_end55-fn2_6 @@ -1166,7 +1166,7 @@ fn3_6: # @fn3_6 i32.const $push2=, -131072 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end56: .size fn3_6, .Lfunc_end56-fn3_6 @@ -1183,15 +1183,15 @@ fn4_6: # @fn4_6 i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.add $push2=, $pop8, $pop1 + i32.const $push3=, 31 + i32.add $push4=, $pop8, $pop3 i32.const $push7=, 31 - i32.and $push3=, $pop2, $pop7 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.and $push5=, $pop4, $pop7 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end57: .size fn4_6, .Lfunc_end57-fn4_6 @@ -1209,7 +1209,7 @@ fn5_6: # @fn5_6 i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end58: .size fn5_6, .Lfunc_end58-fn5_6 @@ -1227,7 +1227,7 @@ fn6_6: # @fn6_6 i32.const $push2=, -64 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end59: .size fn6_6, .Lfunc_end59-fn6_6 @@ -1245,7 +1245,7 @@ fn7_6: # @fn7_6 i32.const $push2=, 65535 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end60: .size fn7_6, .Lfunc_end60-fn7_6 @@ -1265,7 +1265,7 @@ fn8_6: # @fn8_6 i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end61: .size fn8_6, .Lfunc_end61-fn8_6 @@ -1283,7 +1283,7 @@ fn9_6: # @fn9_6 i32.const $push2=, -16777216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end62: .size fn9_6, .Lfunc_end62-fn9_6 @@ -1295,14 +1295,14 @@ fn9_6: # @fn9_6 fn1_7: # @fn1_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -64 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -64 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, b($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, b($pop0), $pop4 - return + i32.load $push3=, b($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, b($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end63: .size fn1_7, .Lfunc_end63-fn1_7 @@ -1314,16 +1314,16 @@ fn1_7: # @fn1_7 fn2_7: # @fn2_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -131009 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -131009 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, b($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, b($pop0), $pop6 - return + i32.load $push5=, b($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, b($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end64: .size fn2_7, .Lfunc_end64-fn2_7 @@ -1335,16 +1335,16 @@ fn2_7: # @fn2_7 fn3_7: # @fn3_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b($pop7) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131071 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, b($pop0), $pop6 - return + i32.load $push5=, b($pop7) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131071 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, b($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end65: .size fn3_7, .Lfunc_end65-fn3_7 @@ -1356,14 +1356,14 @@ fn3_7: # @fn3_7 fn4_7: # @fn4_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -32 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -32 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, c($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, c($pop0), $pop4 - return + i32.load $push3=, c($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, c($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end66: .size fn4_7, .Lfunc_end66-fn4_7 @@ -1375,16 +1375,16 @@ fn4_7: # @fn4_7 fn5_7: # @fn5_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -33 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -33 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, c($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, c($pop0), $pop6 - return + i32.load $push5=, c($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, c($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end67: .size fn5_7, .Lfunc_end67-fn5_7 @@ -1396,16 +1396,16 @@ fn5_7: # @fn5_7 fn6_7: # @fn6_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 63 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, c($pop0), $pop6 - return + i32.load $push5=, c($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 63 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, c($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end68: .size fn6_7, .Lfunc_end68-fn6_7 @@ -1417,14 +1417,14 @@ fn6_7: # @fn6_7 fn7_7: # @fn7_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, -65536 - i32.or $push3=, $0, $pop2 + i32.const $push2=, 0 + i32.const $push0=, -65536 + i32.or $push1=, $0, $pop0 i32.const $push5=, 0 - i32.load $push1=, d($pop5) - i32.and $push4=, $pop3, $pop1 - i32.store $drop=, d($pop0), $pop4 - return + i32.load $push3=, d($pop5) + i32.and $push4=, $pop1, $pop3 + i32.store $drop=, d($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end69: .size fn7_7, .Lfunc_end69-fn7_7 @@ -1436,16 +1436,16 @@ fn7_7: # @fn7_7 fn8_7: # @fn8_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, -16711681 - i32.or $push5=, $pop3, $pop4 + i32.const $push4=, 0 + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, -16711681 + i32.or $push3=, $pop1, $pop2 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.and $push6=, $pop5, $pop1 - i32.store $drop=, d($pop0), $pop6 - return + i32.load $push5=, d($pop7) + i32.and $push6=, $pop3, $pop5 + i32.store $drop=, d($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end70: .size fn8_7, .Lfunc_end70-fn8_7 @@ -1457,16 +1457,16 @@ fn8_7: # @fn8_7 fn9_7: # @fn9_7 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16777215 - i32.or $push5=, $pop3, $pop4 - i32.and $push6=, $pop1, $pop5 - i32.store $drop=, d($pop0), $pop6 - return + i32.load $push5=, d($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16777215 + i32.or $push3=, $pop1, $pop2 + i32.and $push6=, $pop5, $pop3 + i32.store $drop=, d($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end71: .size fn9_7, .Lfunc_end71-fn9_7 @@ -1478,14 +1478,14 @@ fn9_7: # @fn9_7 fn1_8: # @fn1_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b($pop5) - i32.const $push2=, 63 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, b($pop0), $pop4 - return + i32.load $push3=, b($pop5) + i32.const $push0=, 63 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, b($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end72: .size fn1_8, .Lfunc_end72-fn1_8 @@ -1497,16 +1497,16 @@ fn1_8: # @fn1_8 fn2_8: # @fn2_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, b($pop0), $pop6 - return + i32.load $push5=, b($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131008 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, b($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end73: .size fn2_8, .Lfunc_end73-fn2_8 @@ -1519,20 +1519,20 @@ fn3_8: # @fn3_8 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -131072 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.or $push5=, $pop4, $pop2 + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.or $push5=, $pop4, $pop1 i32.const $push6=, 131071 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, b($pop0), $pop8 - return + i32.store $drop=, b($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end74: .size fn3_8, .Lfunc_end74-fn3_8 @@ -1544,14 +1544,14 @@ fn3_8: # @fn3_8 fn4_8: # @fn4_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c($pop5) - i32.const $push2=, 31 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, c($pop0), $pop4 - return + i32.load $push3=, c($pop5) + i32.const $push0=, 31 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, c($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end75: .size fn4_8, .Lfunc_end75-fn4_8 @@ -1563,16 +1563,16 @@ fn4_8: # @fn4_8 fn5_8: # @fn5_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c($pop7) - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, c($pop0), $pop6 - return + i32.load $push5=, c($pop7) + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 32 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, c($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end76: .size fn5_8, .Lfunc_end76-fn5_8 @@ -1585,20 +1585,20 @@ fn6_8: # @fn6_8 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -64 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.or $push5=, $pop4, $pop2 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.or $push5=, $pop4, $pop1 i32.const $push6=, 63 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, c($pop0), $pop8 - return + i32.store $drop=, c($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end77: .size fn6_8, .Lfunc_end77-fn6_8 @@ -1610,14 +1610,14 @@ fn6_8: # @fn6_8 fn7_8: # @fn7_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d($pop5) - i32.const $push2=, 65535 - i32.and $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - i32.store $drop=, d($pop0), $pop4 - return + i32.load $push3=, d($pop5) + i32.const $push0=, 65535 + i32.and $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 + i32.store $drop=, d($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end78: .size fn7_8, .Lfunc_end78-fn7_8 @@ -1629,16 +1629,16 @@ fn7_8: # @fn7_8 fn8_8: # @fn8_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16711680 - i32.and $push5=, $pop3, $pop4 - i32.or $push6=, $pop1, $pop5 - i32.store $drop=, d($pop0), $pop6 - return + i32.load $push5=, d($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16711680 + i32.and $push3=, $pop1, $pop2 + i32.or $push6=, $pop5, $pop3 + i32.store $drop=, d($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end79: .size fn8_8, .Lfunc_end79-fn8_8 @@ -1650,16 +1650,16 @@ fn8_8: # @fn8_8 fn9_8: # @fn9_8 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.or $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+3($pop0), $pop5 - return + i32.store8 $drop=, d+3($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end80: .size fn9_8, .Lfunc_end80-fn9_8 @@ -1671,14 +1671,14 @@ fn9_8: # @fn9_8 fn1_9: # @fn1_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, b($pop5) - i32.const $push2=, 63 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, b($pop0), $pop4 - return + i32.load $push3=, b($pop5) + i32.const $push0=, 63 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, b($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end81: .size fn1_9, .Lfunc_end81-fn1_9 @@ -1690,16 +1690,16 @@ fn1_9: # @fn1_9 fn2_9: # @fn2_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, b($pop7) - i32.const $push2=, 6 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 131008 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, b($pop0), $pop6 - return + i32.load $push5=, b($pop7) + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 131008 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, b($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end82: .size fn2_9, .Lfunc_end82-fn2_9 @@ -1712,20 +1712,20 @@ fn3_9: # @fn3_9 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -131072 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 17 - i32.shl $push2=, $0, $pop1 - i32.xor $push5=, $pop4, $pop2 + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.xor $push5=, $pop4, $pop1 i32.const $push6=, 131071 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, b($pop0), $pop8 - return + i32.store $drop=, b($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end83: .size fn3_9, .Lfunc_end83-fn3_9 @@ -1737,14 +1737,14 @@ fn3_9: # @fn3_9 fn4_9: # @fn4_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, c($pop5) - i32.const $push2=, 31 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, c($pop0), $pop4 - return + i32.load $push3=, c($pop5) + i32.const $push0=, 31 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, c($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end84: .size fn4_9, .Lfunc_end84-fn4_9 @@ -1756,16 +1756,16 @@ fn4_9: # @fn4_9 fn5_9: # @fn5_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, c($pop7) - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 32 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, c($pop0), $pop6 - return + i32.load $push5=, c($pop7) + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 32 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, c($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end85: .size fn5_9, .Lfunc_end85-fn5_9 @@ -1778,20 +1778,20 @@ fn6_9: # @fn6_9 .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 i32.const $push3=, -64 i32.and $push4=, $pop9, $pop3 - i32.const $push1=, 6 - i32.shl $push2=, $0, $pop1 - i32.xor $push5=, $pop4, $pop2 + i32.const $push0=, 6 + i32.shl $push1=, $0, $pop0 + i32.xor $push5=, $pop4, $pop1 i32.const $push6=, 63 i32.and $push7=, $1, $pop6 i32.or $push8=, $pop5, $pop7 - i32.store $drop=, c($pop0), $pop8 - return + i32.store $drop=, c($pop2), $pop8 + # fallthrough-return .endfunc .Lfunc_end86: .size fn6_9, .Lfunc_end86-fn6_9 @@ -1803,14 +1803,14 @@ fn6_9: # @fn6_9 fn7_9: # @fn7_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push5=, 0 - i32.load $push1=, d($pop5) - i32.const $push2=, 65535 - i32.and $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 - i32.store $drop=, d($pop0), $pop4 - return + i32.load $push3=, d($pop5) + i32.const $push0=, 65535 + i32.and $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 + i32.store $drop=, d($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end87: .size fn7_9, .Lfunc_end87-fn7_9 @@ -1822,16 +1822,16 @@ fn7_9: # @fn7_9 fn8_9: # @fn8_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push4=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16711680 - i32.and $push5=, $pop3, $pop4 - i32.xor $push6=, $pop1, $pop5 - i32.store $drop=, d($pop0), $pop6 - return + i32.load $push5=, d($pop7) + i32.const $push0=, 16 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, 16711680 + i32.and $push3=, $pop1, $pop2 + i32.xor $push6=, $pop5, $pop3 + i32.store $drop=, d($pop4), $pop6 + # fallthrough-return .endfunc .Lfunc_end88: .size fn8_9, .Lfunc_end88-fn8_9 @@ -1843,16 +1843,16 @@ fn8_9: # @fn8_9 fn9_9: # @fn9_9 .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, d($pop7) - i32.const $push2=, 24 - i32.shl $push3=, $0, $pop2 - i32.xor $push4=, $pop1, $pop3 + i32.load $push3=, d($pop7) + i32.const $push0=, 24 + i32.shl $push1=, $0, $pop0 + i32.xor $push4=, $pop3, $pop1 i32.const $push6=, 24 i32.shr_u $push5=, $pop4, $pop6 - i32.store8 $drop=, d+3($pop0), $pop5 - return + i32.store8 $drop=, d+3($pop2), $pop5 + # fallthrough-return .endfunc .Lfunc_end89: .size fn9_9, .Lfunc_end89-fn9_9 @@ -1869,14 +1869,14 @@ fn1_a: # @fn1_a i32.const $push9=, 0 i32.load $push8=, b($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push4=, -64 - i32.and $push5=, $pop7, $pop4 - i32.const $push1=, 63 - i32.and $push2=, $1, $pop1 - i32.div_u $push3=, $pop2, $0 - i32.or $push6=, $pop5, $pop3 + i32.const $push1=, -64 + i32.and $push2=, $pop7, $pop1 + i32.const $push3=, 63 + i32.and $push4=, $1, $pop3 + i32.div_u $push5=, $pop4, $0 + i32.or $push6=, $pop2, $pop5 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end90: .size fn1_a, .Lfunc_end90-fn1_a @@ -1893,18 +1893,18 @@ fn2_a: # @fn2_a i32.const $push13=, 0 i32.load $push12=, b($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.div_u $push5=, $pop4, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.div_u $push7=, $pop6, $0 i32.const $push10=, 6 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -131009 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, b($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end91: .size fn2_a, .Lfunc_end91-fn2_a @@ -1921,16 +1921,16 @@ fn3_a: # @fn3_a i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop9, $pop1 - i32.div_u $push3=, $pop2, $0 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop9, $pop3 + i32.div_u $push5=, $pop4, $0 i32.const $push8=, 17 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end92: .size fn3_a, .Lfunc_end92-fn3_a @@ -1947,14 +1947,14 @@ fn4_a: # @fn4_a i32.const $push9=, 0 i32.load $push8=, c($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push4=, -32 - i32.and $push5=, $pop7, $pop4 - i32.const $push1=, 31 - i32.and $push2=, $1, $pop1 - i32.div_u $push3=, $pop2, $0 - i32.or $push6=, $pop5, $pop3 + i32.const $push1=, -32 + i32.and $push2=, $pop7, $pop1 + i32.const $push3=, 31 + i32.and $push4=, $1, $pop3 + i32.div_u $push5=, $pop4, $0 + i32.or $push6=, $pop2, $pop5 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end93: .size fn4_a, .Lfunc_end93-fn4_a @@ -1971,18 +1971,18 @@ fn5_a: # @fn5_a i32.const $push13=, 0 i32.load $push12=, c($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.div_u $push5=, $pop4, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.div_u $push7=, $pop6, $0 i32.const $push10=, 5 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -33 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, c($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end94: .size fn5_a, .Lfunc_end94-fn5_a @@ -1999,16 +1999,16 @@ fn6_a: # @fn6_a i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop9, $pop1 - i32.div_u $push3=, $pop2, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop9, $pop3 + i32.div_u $push5=, $pop4, $0 i32.const $push8=, 6 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end95: .size fn6_a, .Lfunc_end95-fn6_a @@ -2025,7 +2025,7 @@ fn7_a: # @fn7_a i32.load16_u $push1=, d($pop3) i32.div_u $push2=, $pop1, $0 i32.store16 $drop=, d($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end96: .size fn7_a, .Lfunc_end96-fn7_a @@ -2042,7 +2042,7 @@ fn8_a: # @fn8_a i32.load8_u $push1=, d+2($pop3) i32.div_u $push2=, $pop1, $0 i32.store8 $drop=, d+2($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end97: .size fn8_a, .Lfunc_end97-fn8_a @@ -2059,7 +2059,7 @@ fn9_a: # @fn9_a i32.load8_u $push1=, d+3($pop3) i32.div_u $push2=, $pop1, $0 i32.store8 $drop=, d+3($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end98: .size fn9_a, .Lfunc_end98-fn9_a @@ -2076,14 +2076,14 @@ fn1_b: # @fn1_b i32.const $push9=, 0 i32.load $push8=, b($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push1=, 63 - i32.and $push2=, $pop7, $pop1 - i32.rem_u $push3=, $pop2, $0 - i32.const $push4=, -64 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.const $push3=, 63 + i32.and $push4=, $pop7, $pop3 + i32.rem_u $push5=, $pop4, $0 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, b($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end99: .size fn1_b, .Lfunc_end99-fn1_b @@ -2100,18 +2100,18 @@ fn2_b: # @fn2_b i32.const $push13=, 0 i32.load $push12=, b($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.rem_u $push5=, $pop4, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.rem_u $push7=, $pop6, $0 i32.const $push10=, 6 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -131009 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, b($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end100: .size fn2_b, .Lfunc_end100-fn2_b @@ -2128,16 +2128,16 @@ fn3_b: # @fn3_b i32.const $push11=, 0 i32.load $push10=, b($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop9, $pop1 - i32.rem_u $push3=, $pop2, $0 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop9, $pop3 + i32.rem_u $push5=, $pop4, $0 i32.const $push8=, 17 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end101: .size fn3_b, .Lfunc_end101-fn3_b @@ -2154,14 +2154,14 @@ fn4_b: # @fn4_b i32.const $push9=, 0 i32.load $push8=, c($pop9) tee_local $push7=, $1=, $pop8 - i32.const $push1=, 31 - i32.and $push2=, $pop7, $pop1 - i32.rem_u $push3=, $pop2, $0 - i32.const $push4=, -32 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.const $push3=, 31 + i32.and $push4=, $pop7, $pop3 + i32.rem_u $push5=, $pop4, $0 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store $drop=, c($pop0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end102: .size fn4_b, .Lfunc_end102-fn4_b @@ -2178,18 +2178,18 @@ fn5_b: # @fn5_b i32.const $push13=, 0 i32.load $push12=, c($pop13) tee_local $push11=, $1=, $pop12 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop11, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.rem_u $push5=, $pop4, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop11, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.rem_u $push7=, $pop6, $0 i32.const $push10=, 5 - i32.shl $push6=, $pop5, $pop10 - i32.const $push7=, -33 - i32.and $push8=, $1, $pop7 - i32.or $push9=, $pop6, $pop8 + i32.shl $push8=, $pop7, $pop10 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push9=, $pop8, $pop2 i32.store $drop=, c($pop0), $pop9 - return + # fallthrough-return .endfunc .Lfunc_end103: .size fn5_b, .Lfunc_end103-fn5_b @@ -2206,16 +2206,16 @@ fn6_b: # @fn6_b i32.const $push11=, 0 i32.load $push10=, c($pop11) tee_local $push9=, $1=, $pop10 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop9, $pop1 - i32.rem_u $push3=, $pop2, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop9, $pop3 + i32.rem_u $push5=, $pop4, $0 i32.const $push8=, 6 - i32.shl $push4=, $pop3, $pop8 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.shl $push6=, $pop5, $pop8 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end104: .size fn6_b, .Lfunc_end104-fn6_b @@ -2232,7 +2232,7 @@ fn7_b: # @fn7_b i32.load16_u $push1=, d($pop3) i32.rem_u $push2=, $pop1, $0 i32.store16 $drop=, d($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end105: .size fn7_b, .Lfunc_end105-fn7_b @@ -2249,7 +2249,7 @@ fn8_b: # @fn8_b i32.load8_u $push1=, d+2($pop3) i32.rem_u $push2=, $pop1, $0 i32.store8 $drop=, d+2($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end106: .size fn8_b, .Lfunc_end106-fn8_b @@ -2266,7 +2266,7 @@ fn9_b: # @fn9_b i32.load8_u $push1=, d+3($pop3) i32.rem_u $push2=, $pop1, $0 i32.store8 $drop=, d+3($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end107: .size fn9_b, .Lfunc_end107-fn9_b @@ -2283,15 +2283,15 @@ fn1_c: # @fn1_c i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 3 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 3 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end108: .size fn1_c, .Lfunc_end108-fn1_c @@ -2308,15 +2308,15 @@ fn2_c: # @fn2_c i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 192 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 192 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end109: .size fn2_c, .Lfunc_end109-fn2_c @@ -2334,7 +2334,7 @@ fn3_c: # @fn3_c i32.const $push2=, 393216 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end110: .size fn3_c, .Lfunc_end110-fn3_c @@ -2351,15 +2351,15 @@ fn4_c: # @fn4_c i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 3 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 3 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end111: .size fn4_c, .Lfunc_end111-fn4_c @@ -2377,7 +2377,7 @@ fn5_c: # @fn5_c i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end112: .size fn5_c, .Lfunc_end112-fn5_c @@ -2395,7 +2395,7 @@ fn6_c: # @fn6_c i32.const $push2=, 192 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end113: .size fn6_c, .Lfunc_end113-fn6_c @@ -2413,7 +2413,7 @@ fn7_c: # @fn7_c i32.const $push2=, 3 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end114: .size fn7_c, .Lfunc_end114-fn7_c @@ -2433,7 +2433,7 @@ fn8_c: # @fn8_c i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end115: .size fn8_c, .Lfunc_end115-fn8_c @@ -2451,7 +2451,7 @@ fn9_c: # @fn9_c i32.const $push2=, 50331648 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end116: .size fn9_c, .Lfunc_end116-fn9_c @@ -2468,15 +2468,15 @@ fn1_d: # @fn1_d i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 57 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 63 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 57 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 63 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end117: .size fn1_d, .Lfunc_end117-fn1_d @@ -2493,15 +2493,15 @@ fn2_d: # @fn2_d i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 130624 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 131008 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -131009 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 130624 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 131008 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end118: .size fn2_d, .Lfunc_end118-fn2_d @@ -2519,7 +2519,7 @@ fn3_d: # @fn3_d i32.const $push2=, -917504 i32.add $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end119: .size fn3_d, .Lfunc_end119-fn3_d @@ -2536,15 +2536,15 @@ fn4_d: # @fn4_d i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 25 - i32.add $push2=, $pop8, $pop1 - i32.const $push3=, 31 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 25 + i32.add $push4=, $pop8, $pop3 + i32.const $push5=, 31 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end120: .size fn4_d, .Lfunc_end120-fn4_d @@ -2562,7 +2562,7 @@ fn5_d: # @fn5_d i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end121: .size fn5_d, .Lfunc_end121-fn5_d @@ -2580,7 +2580,7 @@ fn6_d: # @fn6_d i32.const $push2=, -448 i32.add $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end122: .size fn6_d, .Lfunc_end122-fn6_d @@ -2598,7 +2598,7 @@ fn7_d: # @fn7_d i32.const $push2=, 65529 i32.add $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end123: .size fn7_d, .Lfunc_end123-fn7_d @@ -2618,7 +2618,7 @@ fn8_d: # @fn8_d i32.const $push4=, 16 i32.shr_u $push5=, $pop3, $pop4 i32.store8 $drop=, d+2($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end124: .size fn8_d, .Lfunc_end124-fn8_d @@ -2636,7 +2636,7 @@ fn9_d: # @fn9_d i32.const $push2=, -117440512 i32.add $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end125: .size fn9_d, .Lfunc_end125-fn9_d @@ -2654,7 +2654,7 @@ fn1_e: # @fn1_e i32.const $push2=, -43 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end126: .size fn1_e, .Lfunc_end126-fn1_e @@ -2672,7 +2672,7 @@ fn2_e: # @fn2_e i32.const $push2=, -129665 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end127: .size fn2_e, .Lfunc_end127-fn2_e @@ -2690,7 +2690,7 @@ fn3_e: # @fn3_e i32.const $push2=, 2883583 i32.and $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end128: .size fn3_e, .Lfunc_end128-fn3_e @@ -2708,7 +2708,7 @@ fn4_e: # @fn4_e i32.const $push2=, -11 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end129: .size fn4_e, .Lfunc_end129-fn4_e @@ -2720,7 +2720,7 @@ fn4_e: # @fn4_e fn5_e: # @fn5_e .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end130: .size fn5_e, .Lfunc_end130-fn5_e @@ -2738,7 +2738,7 @@ fn6_e: # @fn6_e i32.const $push2=, 1407 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end131: .size fn6_e, .Lfunc_end131-fn6_e @@ -2756,7 +2756,7 @@ fn7_e: # @fn7_e i32.const $push2=, -65515 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end132: .size fn7_e, .Lfunc_end132-fn7_e @@ -2774,7 +2774,7 @@ fn8_e: # @fn8_e i32.const $push2=, -15335425 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end133: .size fn8_e, .Lfunc_end133-fn8_e @@ -2792,7 +2792,7 @@ fn9_e: # @fn9_e i32.const $push2=, 369098751 i32.and $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end134: .size fn9_e, .Lfunc_end134-fn9_e @@ -2810,7 +2810,7 @@ fn1_f: # @fn1_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end135: .size fn1_f, .Lfunc_end135-fn1_f @@ -2828,7 +2828,7 @@ fn2_f: # @fn2_f i32.const $push2=, 1216 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end136: .size fn2_f, .Lfunc_end136-fn2_f @@ -2846,7 +2846,7 @@ fn3_f: # @fn3_f i32.const $push2=, 2490368 i32.or $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end137: .size fn3_f, .Lfunc_end137-fn3_f @@ -2864,7 +2864,7 @@ fn4_f: # @fn4_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end138: .size fn4_f, .Lfunc_end138-fn4_f @@ -2882,7 +2882,7 @@ fn5_f: # @fn5_f i32.const $push2=, 32 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end139: .size fn5_f, .Lfunc_end139-fn5_f @@ -2900,7 +2900,7 @@ fn6_f: # @fn6_f i32.const $push2=, 1216 i32.or $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end140: .size fn6_f, .Lfunc_end140-fn6_f @@ -2918,7 +2918,7 @@ fn7_f: # @fn7_f i32.const $push2=, 19 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end141: .size fn7_f, .Lfunc_end141-fn7_f @@ -2936,7 +2936,7 @@ fn8_f: # @fn8_f i32.const $push2=, 1245184 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end142: .size fn8_f, .Lfunc_end142-fn8_f @@ -2954,7 +2954,7 @@ fn9_f: # @fn9_f i32.const $push2=, 318767104 i32.or $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end143: .size fn9_f, .Lfunc_end143-fn9_f @@ -2972,7 +2972,7 @@ fn1_g: # @fn1_g i32.const $push2=, 37 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end144: .size fn1_g, .Lfunc_end144-fn1_g @@ -2990,7 +2990,7 @@ fn2_g: # @fn2_g i32.const $push2=, 2368 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end145: .size fn2_g, .Lfunc_end145-fn2_g @@ -3008,7 +3008,7 @@ fn3_g: # @fn3_g i32.const $push2=, 4849664 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, b($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end146: .size fn3_g, .Lfunc_end146-fn3_g @@ -3026,7 +3026,7 @@ fn4_g: # @fn4_g i32.const $push2=, 5 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end147: .size fn4_g, .Lfunc_end147-fn4_g @@ -3044,7 +3044,7 @@ fn5_g: # @fn5_g i32.const $push2=, 32 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end148: .size fn5_g, .Lfunc_end148-fn5_g @@ -3062,7 +3062,7 @@ fn6_g: # @fn6_g i32.const $push2=, 2368 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end149: .size fn6_g, .Lfunc_end149-fn6_g @@ -3080,7 +3080,7 @@ fn7_g: # @fn7_g i32.const $push2=, 37 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end150: .size fn7_g, .Lfunc_end150-fn7_g @@ -3098,7 +3098,7 @@ fn8_g: # @fn8_g i32.const $push2=, 2424832 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end151: .size fn8_g, .Lfunc_end151-fn8_g @@ -3116,7 +3116,7 @@ fn9_g: # @fn9_g i32.const $push2=, 620756992 i32.xor $push3=, $pop1, $pop2 i32.store $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end152: .size fn9_g, .Lfunc_end152-fn9_g @@ -3133,15 +3133,15 @@ fn1_h: # @fn1_h i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.div_u $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 63 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.div_u $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end153: .size fn1_h, .Lfunc_end153-fn1_h @@ -3158,19 +3158,19 @@ fn2_h: # @fn2_h i32.const $push14=, 0 i32.load $push13=, b($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 17 - i32.div_u $push6=, $pop4, $pop5 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 17 + i32.div_u $push8=, $pop6, $pop7 i32.const $push11=, 6 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -131009 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, b($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end154: .size fn2_h, .Lfunc_end154-fn2_h @@ -3187,15 +3187,15 @@ fn3_h: # @fn3_h i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 2228224 - i32.div_u $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.shl $push4=, $pop2, $pop3 - i32.const $push5=, 131071 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 2228224 + i32.div_u $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.shl $push6=, $pop4, $pop5 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end155: .size fn3_h, .Lfunc_end155-fn3_h @@ -3212,15 +3212,15 @@ fn4_h: # @fn4_h i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 17 - i32.div_u $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 31 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 17 + i32.div_u $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end156: .size fn4_h, .Lfunc_end156-fn4_h @@ -3238,7 +3238,7 @@ fn5_h: # @fn5_h i32.const $push2=, -33 i32.and $push3=, $pop1, $pop2 i32.store $drop=, c($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end157: .size fn5_h, .Lfunc_end157-fn5_h @@ -3255,15 +3255,15 @@ fn6_h: # @fn6_h i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 1088 - i32.div_u $push2=, $pop8, $pop1 - i32.const $push3=, 6 - i32.shl $push4=, $pop2, $pop3 - i32.const $push5=, 63 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1088 + i32.div_u $push4=, $pop8, $pop3 + i32.const $push5=, 6 + i32.shl $push6=, $pop4, $pop5 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end158: .size fn6_h, .Lfunc_end158-fn6_h @@ -3281,7 +3281,7 @@ fn7_h: # @fn7_h i32.const $push2=, 17 i32.div_u $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end159: .size fn7_h, .Lfunc_end159-fn7_h @@ -3299,7 +3299,7 @@ fn8_h: # @fn8_h i32.const $push2=, 17 i32.div_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+2($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end160: .size fn8_h, .Lfunc_end160-fn8_h @@ -3317,7 +3317,7 @@ fn9_h: # @fn9_h i32.const $push2=, 285212672 i32.div_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+3($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end161: .size fn9_h, .Lfunc_end161-fn9_h @@ -3334,15 +3334,15 @@ fn1_i: # @fn1_i i32.const $push10=, 0 i32.load $push9=, b($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 63 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 - i32.const $push5=, -64 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 63 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, b($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end162: .size fn1_i, .Lfunc_end162-fn1_i @@ -3359,19 +3359,19 @@ fn2_i: # @fn2_i i32.const $push14=, 0 i32.load $push13=, b($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 2047 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 19 - i32.rem_u $push6=, $pop4, $pop5 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 2047 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 19 + i32.rem_u $push8=, $pop6, $pop7 i32.const $push11=, 6 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -131009 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -131009 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, b($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end163: .size fn2_i, .Lfunc_end163-fn2_i @@ -3388,17 +3388,17 @@ fn3_i: # @fn3_i i32.const $push12=, 0 i32.load $push11=, b($pop12) tee_local $push10=, $1=, $pop11 - i32.const $push1=, 17 - i32.shr_u $push2=, $pop10, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 + i32.const $push3=, 17 + i32.shr_u $push4=, $pop10, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 i32.const $push9=, 17 - i32.shl $push5=, $pop4, $pop9 - i32.const $push6=, 131071 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push7=, $pop6, $pop9 + i32.const $push1=, 131071 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, b($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end164: .size fn3_i, .Lfunc_end164-fn3_i @@ -3415,15 +3415,15 @@ fn4_i: # @fn4_i i32.const $push10=, 0 i32.load $push9=, c($pop10) tee_local $push8=, $1=, $pop9 - i32.const $push1=, 31 - i32.and $push2=, $pop8, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 - i32.const $push5=, -32 - i32.and $push6=, $1, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 31 + i32.and $push4=, $pop8, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 + i32.const $push1=, -32 + i32.and $push2=, $1, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, c($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end165: .size fn4_i, .Lfunc_end165-fn4_i @@ -3440,19 +3440,19 @@ fn5_i: # @fn5_i i32.const $push14=, 0 i32.load $push13=, c($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop12, $pop1 - i32.const $push3=, 1 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, 19 - i32.rem_u $push6=, $pop4, $pop5 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop12, $pop3 + i32.const $push5=, 1 + i32.and $push6=, $pop4, $pop5 + i32.const $push7=, 19 + i32.rem_u $push8=, $pop6, $pop7 i32.const $push11=, 5 - i32.shl $push7=, $pop6, $pop11 - i32.const $push8=, -33 - i32.and $push9=, $1, $pop8 - i32.or $push10=, $pop7, $pop9 + i32.shl $push9=, $pop8, $pop11 + i32.const $push1=, -33 + i32.and $push2=, $1, $pop1 + i32.or $push10=, $pop9, $pop2 i32.store $drop=, c($pop0), $pop10 - return + # fallthrough-return .endfunc .Lfunc_end166: .size fn5_i, .Lfunc_end166-fn5_i @@ -3469,17 +3469,17 @@ fn6_i: # @fn6_i i32.const $push12=, 0 i32.load $push11=, c($pop12) tee_local $push10=, $1=, $pop11 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop10, $pop1 - i32.const $push3=, 19 - i32.rem_u $push4=, $pop2, $pop3 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop10, $pop3 + i32.const $push5=, 19 + i32.rem_u $push6=, $pop4, $pop5 i32.const $push9=, 6 - i32.shl $push5=, $pop4, $pop9 - i32.const $push6=, 63 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push7=, $pop6, $pop9 + i32.const $push1=, 63 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store $drop=, c($pop0), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end167: .size fn6_i, .Lfunc_end167-fn6_i @@ -3497,7 +3497,7 @@ fn7_i: # @fn7_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store16 $drop=, d($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end168: .size fn7_i, .Lfunc_end168-fn7_i @@ -3515,7 +3515,7 @@ fn8_i: # @fn8_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+2($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end169: .size fn8_i, .Lfunc_end169-fn8_i @@ -3533,7 +3533,7 @@ fn9_i: # @fn9_i i32.const $push2=, 19 i32.rem_u $push3=, $pop1, $pop2 i32.store8 $drop=, d+3($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end170: .size fn9_i, .Lfunc_end170-fn9_i @@ -3546,16 +3546,16 @@ main: # @main .result i32 # BB#0: # %if.end1610 i32.const $push1=, 0 - i32.const $push0=, 560051 - i32.store $drop=, b($pop1), $pop0 + i32.const $push0=, -2147483595 + i32.store $drop=, c($pop1), $pop0 i32.const $push6=, 0 - i32.const $push2=, -2147483595 - i32.store $drop=, c($pop6), $pop2 + i32.const $push2=, 560051 + i32.store $drop=, b($pop6), $pop2 i32.const $push5=, 0 i32.const $push3=, -1147377476 i32.store $drop=, d($pop5), $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end171: .size main, .Lfunc_end171-main diff --git a/test/torture-s/20040707-1.c.s b/test/torture-s/20040707-1.c.s index fd1173139..619775495 100644 --- a/test/torture-s/20040707-1.c.s +++ b/test/torture-s/20040707-1.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20040709-1.c.s b/test/torture-s/20040709-1.c.s index 76c74ba20..57cf2910f 100644 --- a/test/torture-s/20040709-1.c.s +++ b/test/torture-s/20040709-1.c.s @@ -6,22 +6,20 @@ .type myrnd,@function myrnd: # @myrnd .result i32 - .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push1=, 0 i32.const $push11=, 0 - i32.load $push1=, myrnd.s($pop11) - i32.const $push2=, 1103515245 - i32.mul $push3=, $pop1, $pop2 - i32.const $push4=, 12345 - i32.add $push10=, $pop3, $pop4 - tee_local $push9=, $0=, $pop10 - i32.store $drop=, myrnd.s($pop0), $pop9 - i32.const $push5=, 16 - i32.shr_u $push6=, $0, $pop5 - i32.const $push7=, 2047 - i32.and $push8=, $pop6, $pop7 - return $pop8 + i32.load $push2=, myrnd.s($pop11) + i32.const $push3=, 1103515245 + i32.mul $push4=, $pop2, $pop3 + i32.const $push5=, 12345 + i32.add $push6=, $pop4, $pop5 + i32.store $push0=, myrnd.s($pop1), $pop6 + i32.const $push7=, 16 + i32.shr_u $push8=, $pop0, $pop7 + i32.const $push9=, 2047 + i32.and $push10=, $pop8, $pop9 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size myrnd, .Lfunc_end0-myrnd @@ -35,7 +33,7 @@ retmeA: # @retmeA # BB#0: # %entry i32.load $push0=, 0($1) i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size retmeA, .Lfunc_end1-retmeA @@ -48,14 +46,14 @@ fn1A: # @fn1A .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $push1=, sA($pop0) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.const $push2=, 0 + i32.load $push3=, sA($pop2) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 17 i32.shr_u $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end2: .size fn1A, .Lfunc_end2-fn1A @@ -77,7 +75,7 @@ fn2A: # @fn2A i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end3: .size fn2A, .Lfunc_end3-fn2A @@ -93,7 +91,7 @@ retitA: # @retitA i32.load $push1=, sA($pop0) i32.const $push2=, 17 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size retitA, .Lfunc_end4-retitA @@ -106,17 +104,16 @@ fn3A: # @fn3A .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push3=, 0 i32.const $push8=, 0 - i32.load $push1=, sA($pop8) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push7=, $pop1, $pop3 - tee_local $push6=, $0=, $pop7 - i32.store $drop=, sA($pop0), $pop6 - i32.const $push5=, 17 - i32.shr_u $push4=, $0, $pop5 - return $pop4 + i32.load $push4=, sA($pop8) + i32.const $push1=, 17 + i32.shl $push2=, $0, $pop1 + i32.add $push5=, $pop4, $pop2 + i32.store $push0=, sA($pop3), $pop5 + i32.const $push7=, 17 + i32.shr_u $push6=, $pop0, $pop7 + # fallthrough-return: $pop6 .endfunc .Lfunc_end5: .size fn3A, .Lfunc_end5-fn3A @@ -126,129 +123,129 @@ fn3A: # @fn3A .globl testA .type testA,@function testA: # @testA - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push89=, 0 - i32.const $push88=, 0 - i32.load $push2=, myrnd.s($pop88) - i32.const $push87=, 1103515245 - i32.mul $push3=, $pop2, $pop87 - i32.const $push86=, 12345 - i32.add $push85=, $pop3, $pop86 - tee_local $push84=, $5=, $pop85 - i32.const $push83=, 16 - i32.shr_u $push4=, $pop84, $pop83 - i32.store8 $drop=, sA($pop89), $pop4 - i32.const $push82=, 0 - i32.const $push81=, 1103515245 - i32.mul $push5=, $5, $pop81 - i32.const $push80=, 12345 - i32.add $push79=, $pop5, $pop80 - tee_local $push78=, $5=, $pop79 - i32.const $push77=, 16 - i32.shr_u $push6=, $pop78, $pop77 - i32.store8 $drop=, sA+1($pop82), $pop6 - i32.const $push76=, 0 - i32.const $push75=, 1103515245 - i32.mul $push7=, $5, $pop75 - i32.const $push74=, 12345 - i32.add $push73=, $pop7, $pop74 - tee_local $push72=, $5=, $pop73 - i32.const $push71=, 16 - i32.shr_u $push8=, $pop72, $pop71 - i32.store8 $drop=, sA+2($pop76), $pop8 - i32.const $push70=, 0 - i32.const $push69=, 1103515245 - i32.mul $push9=, $5, $pop69 - i32.const $push68=, 12345 - i32.add $push67=, $pop9, $pop68 - tee_local $push66=, $5=, $pop67 - i32.const $push65=, 16 - i32.shr_u $push10=, $pop66, $pop65 - i32.store8 $drop=, sA+3($pop70), $pop10 - i32.const $push64=, 0 - i32.const $push63=, 1103515245 - i32.mul $push11=, $5, $pop63 - i32.const $push62=, 12345 - i32.add $push61=, $pop11, $pop62 - tee_local $push60=, $5=, $pop61 - i32.const $push59=, 16 - i32.shr_u $push12=, $pop60, $pop59 - i32.const $push58=, 2047 - i32.and $push57=, $pop12, $pop58 - tee_local $push56=, $4=, $pop57 - i32.const $push55=, 17 - i32.shl $push15=, $pop56, $pop55 - i32.const $push54=, 0 - i32.load $push53=, sA($pop54) - tee_local $push52=, $3=, $pop53 - i32.const $push51=, 131071 - i32.and $push50=, $pop52, $pop51 - tee_local $push49=, $2=, $pop50 - i32.or $push16=, $pop15, $pop49 - i32.store $1=, sA($pop64), $pop16 - i32.const $push48=, 0 - i32.const $push47=, 1103515245 - i32.mul $push13=, $5, $pop47 - i32.const $push46=, 12345 - i32.add $push45=, $pop13, $pop46 - tee_local $push44=, $5=, $pop45 - i32.store $0=, myrnd.s($pop48), $pop44 + i32.const $push91=, 0 + i32.const $push90=, 0 + i32.load $push4=, myrnd.s($pop90) + i32.const $push89=, 1103515245 + i32.mul $push5=, $pop4, $pop89 + i32.const $push88=, 12345 + i32.add $push87=, $pop5, $pop88 + tee_local $push86=, $2=, $pop87 + i32.const $push85=, 16 + i32.shr_u $push6=, $pop86, $pop85 + i32.store8 $drop=, sA($pop91), $pop6 + i32.const $push84=, 0 + i32.const $push83=, 1103515245 + i32.mul $push7=, $2, $pop83 + i32.const $push82=, 12345 + i32.add $push81=, $pop7, $pop82 + tee_local $push80=, $2=, $pop81 + i32.const $push79=, 16 + i32.shr_u $push8=, $pop80, $pop79 + i32.store8 $drop=, sA+1($pop84), $pop8 + i32.const $push78=, 0 + i32.const $push77=, 1103515245 + i32.mul $push9=, $2, $pop77 + i32.const $push76=, 12345 + i32.add $push75=, $pop9, $pop76 + tee_local $push74=, $2=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push10=, $pop74, $pop73 + i32.store8 $drop=, sA+2($pop78), $pop10 + i32.const $push72=, 0 + i32.const $push71=, 1103515245 + i32.mul $push11=, $2, $pop71 + i32.const $push70=, 12345 + i32.add $push69=, $pop11, $pop70 + tee_local $push68=, $2=, $pop69 + i32.const $push67=, 16 + i32.shr_u $push12=, $pop68, $pop67 + i32.store8 $drop=, sA+3($pop72), $pop12 block - i32.const $push43=, 16 - i32.shr_u $push14=, $5, $pop43 - i32.const $push42=, 2047 - i32.and $push41=, $pop14, $pop42 - tee_local $push40=, $5=, $pop41 - i32.add $push20=, $pop40, $4 - i32.const $push39=, 17 - i32.shl $push17=, $5, $pop39 - i32.add $push18=, $1, $pop17 - i32.const $push38=, 17 - i32.shr_u $push19=, $pop18, $pop38 - i32.ne $push21=, $pop20, $pop19 - br_if 0, $pop21 # 0: down to label0 + i32.const $push66=, 0 + i32.const $push65=, 1103515245 + i32.mul $push13=, $2, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop13, $pop64 + tee_local $push62=, $2=, $pop63 + i32.const $push61=, 1103515245 + i32.mul $push14=, $pop62, $pop61 + i32.const $push60=, 12345 + i32.add $push2=, $pop14, $pop60 + i32.store $push59=, myrnd.s($pop66), $pop2 + tee_local $push58=, $0=, $pop59 + i32.const $push57=, 16 + i32.shr_u $push18=, $pop58, $pop57 + i32.const $push56=, 2047 + i32.and $push55=, $pop18, $pop56 + tee_local $push54=, $3=, $pop55 + i32.const $push53=, 16 + i32.shr_u $push15=, $2, $pop53 + i32.const $push52=, 2047 + i32.and $push51=, $pop15, $pop52 + tee_local $push50=, $2=, $pop51 + i32.add $push19=, $pop54, $pop50 + i32.const $push49=, 17 + i32.shl $push20=, $3, $pop49 + i32.const $push48=, 0 + i32.const $push47=, 17 + i32.shl $push16=, $2, $pop47 + i32.const $push46=, 0 + i32.load $push45=, sA($pop46) + tee_local $push44=, $2=, $pop45 + i32.const $push43=, 131071 + i32.and $push42=, $pop44, $pop43 + tee_local $push41=, $3=, $pop42 + i32.or $push17=, $pop16, $pop41 + i32.store $push0=, sA($pop48), $pop17 + i32.add $push21=, $pop20, $pop0 + i32.const $push40=, 17 + i32.shr_u $push22=, $pop21, $pop40 + i32.ne $push23=, $pop19, $pop22 + br_if 0, $pop23 # 0: down to label0 # BB#1: # %if.end87 - i32.const $push108=, 0 - i32.const $push107=, 0 - i32.const $push22=, -2139243339 - i32.mul $push23=, $0, $pop22 - i32.const $push24=, -1492899873 - i32.add $push106=, $pop23, $pop24 - tee_local $push105=, $5=, $pop106 - i32.const $push104=, 1103515245 - i32.mul $push26=, $pop105, $pop104 - i32.const $push103=, 12345 - i32.add $push27=, $pop26, $pop103 - i32.store $push0=, myrnd.s($pop107), $pop27 - i32.const $push102=, 16 - i32.shr_u $push28=, $pop0, $pop102 - i32.const $push101=, 2047 - i32.and $push100=, $pop28, $pop101 - tee_local $push99=, $4=, $pop100 - i32.const $push98=, 17 - i32.shl $push31=, $pop99, $pop98 - i32.const $push97=, 16 - i32.shr_u $push25=, $5, $pop97 - i32.const $push96=, 2047 - i32.and $push95=, $pop25, $pop96 - tee_local $push94=, $5=, $pop95 - i32.const $push93=, 17 - i32.shl $push29=, $pop94, $pop93 - i32.or $push30=, $pop29, $2 - i32.add $push1=, $pop31, $pop30 - i32.store $push92=, sA($pop108), $pop1 - tee_local $push91=, $1=, $pop92 - i32.xor $push32=, $pop91, $3 - i32.const $push90=, 131071 - i32.and $push33=, $pop32, $pop90 - br_if 0, $pop33 # 0: down to label0 + i32.const $push110=, 0 + i32.const $push109=, 0 + i32.const $push24=, -2139243339 + i32.mul $push25=, $0, $pop24 + i32.const $push26=, -1492899873 + i32.add $push108=, $pop25, $pop26 + tee_local $push107=, $0=, $pop108 + i32.const $push106=, 1103515245 + i32.mul $push27=, $pop107, $pop106 + i32.const $push105=, 12345 + i32.add $push28=, $pop27, $pop105 + i32.store $push1=, myrnd.s($pop109), $pop28 + i32.const $push104=, 16 + i32.shr_u $push32=, $pop1, $pop104 + i32.const $push103=, 2047 + i32.and $push102=, $pop32, $pop103 + tee_local $push101=, $1=, $pop102 + i32.const $push100=, 17 + i32.shl $push33=, $pop101, $pop100 + i32.const $push99=, 16 + i32.shr_u $push29=, $0, $pop99 + i32.const $push98=, 2047 + i32.and $push97=, $pop29, $pop98 + tee_local $push96=, $0=, $pop97 + i32.const $push95=, 17 + i32.shl $push30=, $pop96, $pop95 + i32.or $push31=, $pop30, $3 + i32.add $push3=, $pop33, $pop31 + i32.store $push94=, sA($pop110), $pop3 + tee_local $push93=, $3=, $pop94 + i32.xor $push34=, $pop93, $2 + i32.const $push92=, 131071 + i32.and $push35=, $pop34, $pop92 + br_if 0, $pop35 # 0: down to label0 # BB#2: # %lor.lhs.false125 - i32.add $push36=, $4, $5 - i32.const $push34=, 17 - i32.shr_u $push35=, $1, $pop34 - i32.ne $push37=, $pop36, $pop35 - br_if 0, $pop37 # 0: down to label0 + i32.add $push38=, $1, $0 + i32.const $push36=, 17 + i32.shr_u $push37=, $3, $pop36 + i32.ne $push39=, $pop38, $pop37 + br_if 0, $pop39 # 0: down to label0 # BB#3: # %if.end131 return .LBB6_4: # %if.then130 @@ -268,7 +265,7 @@ retmeB: # @retmeB # BB#0: # %entry i64.load $push0=, 0($1):p2align=2 i64.store $drop=, 0($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end7: .size retmeB, .Lfunc_end7-retmeB @@ -281,14 +278,14 @@ fn1B: # @fn1B .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $push1=, sB($pop0) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.const $push2=, 0 + i32.load $push3=, sB($pop2) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 17 i32.shr_u $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end8: .size fn1B, .Lfunc_end8-fn1B @@ -310,7 +307,7 @@ fn2B: # @fn2B i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end9: .size fn2B, .Lfunc_end9-fn2B @@ -326,7 +323,7 @@ retitB: # @retitB i32.load $push1=, sB($pop0) i32.const $push2=, 17 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end10: .size retitB, .Lfunc_end10-retitB @@ -339,17 +336,16 @@ fn3B: # @fn3B .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push3=, 0 i32.const $push8=, 0 - i32.load $push1=, sB($pop8) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push7=, $pop1, $pop3 - tee_local $push6=, $0=, $pop7 - i32.store $drop=, sB($pop0), $pop6 - i32.const $push5=, 17 - i32.shr_u $push4=, $0, $pop5 - return $pop4 + i32.load $push4=, sB($pop8) + i32.const $push1=, 17 + i32.shl $push2=, $0, $pop1 + i32.add $push5=, $pop4, $pop2 + i32.store $push0=, sB($pop3), $pop5 + i32.const $push7=, 17 + i32.shr_u $push6=, $pop0, $pop7 + # fallthrough-return: $pop6 .endfunc .Lfunc_end11: .size fn3B, .Lfunc_end11-fn3B @@ -361,180 +357,180 @@ fn3B: # @fn3B testB: # @testB .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push127=, 0 - i32.const $push126=, 0 - i32.load $push2=, myrnd.s($pop126) - i32.const $push125=, 1103515245 - i32.mul $push3=, $pop2, $pop125 - i32.const $push124=, 12345 - i32.add $push123=, $pop3, $pop124 - tee_local $push122=, $4=, $pop123 - i32.const $push121=, 16 - i32.shr_u $push4=, $pop122, $pop121 - i32.store8 $drop=, sB($pop127), $pop4 - i32.const $push120=, 0 - i32.const $push119=, 1103515245 - i32.mul $push5=, $4, $pop119 - i32.const $push118=, 12345 - i32.add $push117=, $pop5, $pop118 - tee_local $push116=, $4=, $pop117 - i32.const $push115=, 16 - i32.shr_u $push6=, $pop116, $pop115 - i32.store8 $drop=, sB+1($pop120), $pop6 - i32.const $push114=, 0 - i32.const $push113=, 1103515245 - i32.mul $push7=, $4, $pop113 - i32.const $push112=, 12345 - i32.add $push111=, $pop7, $pop112 - tee_local $push110=, $4=, $pop111 - i32.const $push109=, 16 - i32.shr_u $push8=, $pop110, $pop109 - i32.store8 $drop=, sB+2($pop114), $pop8 - i32.const $push108=, 0 - i32.const $push107=, 1103515245 - i32.mul $push9=, $4, $pop107 - i32.const $push106=, 12345 - i32.add $push105=, $pop9, $pop106 - tee_local $push104=, $4=, $pop105 - i32.const $push103=, 16 - i32.shr_u $push10=, $pop104, $pop103 - i32.store8 $drop=, sB+3($pop108), $pop10 - i32.const $push102=, 0 - i32.const $push101=, 1103515245 - i32.mul $push11=, $4, $pop101 - i32.const $push100=, 12345 - i32.add $push99=, $pop11, $pop100 - tee_local $push98=, $4=, $pop99 - i32.const $push97=, 16 - i32.shr_u $push12=, $pop98, $pop97 - i32.store8 $drop=, sB+4($pop102), $pop12 - i32.const $push96=, 0 - i32.const $push95=, 1103515245 - i32.mul $push13=, $4, $pop95 - i32.const $push94=, 12345 - i32.add $push93=, $pop13, $pop94 - tee_local $push92=, $4=, $pop93 - i32.const $push91=, 16 - i32.shr_u $push14=, $pop92, $pop91 - i32.store8 $drop=, sB+5($pop96), $pop14 - i32.const $push90=, 0 - i32.const $push89=, 1103515245 - i32.mul $push15=, $4, $pop89 - i32.const $push88=, 12345 - i32.add $push87=, $pop15, $pop88 - tee_local $push86=, $4=, $pop87 - i32.const $push85=, 16 - i32.shr_u $push16=, $pop86, $pop85 - i32.store8 $drop=, sB+6($pop90), $pop16 - i32.const $push84=, 0 - i32.const $push83=, 1103515245 - i32.mul $push17=, $4, $pop83 - i32.const $push82=, 12345 - i32.add $push81=, $pop17, $pop82 - tee_local $push80=, $4=, $pop81 - i32.const $push79=, 16 - i32.shr_u $push18=, $pop80, $pop79 - i32.store8 $drop=, sB+7($pop84), $pop18 - i32.const $push78=, 0 - i32.load $2=, sB($pop78) - i32.const $push77=, 0 - i32.const $push76=, 1103515245 - i32.mul $push19=, $4, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop19, $pop75 - tee_local $push73=, $4=, $pop74 - i32.const $push72=, 1103515245 - i32.mul $push21=, $pop73, $pop72 - i32.const $push71=, 12345 - i32.add $push70=, $pop21, $pop71 - tee_local $push69=, $3=, $pop70 - i32.store $0=, myrnd.s($pop77), $pop69 - i32.const $push68=, 0 - i32.const $push67=, 16 - i32.shr_u $push20=, $4, $pop67 - i32.const $push66=, 2047 - i32.and $push65=, $pop20, $pop66 - tee_local $push64=, $4=, $pop65 - i32.const $push63=, 17 - i32.shl $push23=, $pop64, $pop63 - i32.const $push62=, 131071 - i32.and $push24=, $2, $pop62 - i32.or $push61=, $pop23, $pop24 - tee_local $push60=, $2=, $pop61 - i32.store $1=, sB($pop68), $pop60 + i32.const $push129=, 0 + i32.const $push128=, 0 + i32.load $push4=, myrnd.s($pop128) + i32.const $push127=, 1103515245 + i32.mul $push5=, $pop4, $pop127 + i32.const $push126=, 12345 + i32.add $push125=, $pop5, $pop126 + tee_local $push124=, $2=, $pop125 + i32.const $push123=, 16 + i32.shr_u $push6=, $pop124, $pop123 + i32.store8 $drop=, sB($pop129), $pop6 + i32.const $push122=, 0 + i32.const $push121=, 1103515245 + i32.mul $push7=, $2, $pop121 + i32.const $push120=, 12345 + i32.add $push119=, $pop7, $pop120 + tee_local $push118=, $2=, $pop119 + i32.const $push117=, 16 + i32.shr_u $push8=, $pop118, $pop117 + i32.store8 $drop=, sB+1($pop122), $pop8 + i32.const $push116=, 0 + i32.const $push115=, 1103515245 + i32.mul $push9=, $2, $pop115 + i32.const $push114=, 12345 + i32.add $push113=, $pop9, $pop114 + tee_local $push112=, $2=, $pop113 + i32.const $push111=, 16 + i32.shr_u $push10=, $pop112, $pop111 + i32.store8 $drop=, sB+2($pop116), $pop10 + i32.const $push110=, 0 + i32.const $push109=, 1103515245 + i32.mul $push11=, $2, $pop109 + i32.const $push108=, 12345 + i32.add $push107=, $pop11, $pop108 + tee_local $push106=, $2=, $pop107 + i32.const $push105=, 16 + i32.shr_u $push12=, $pop106, $pop105 + i32.store8 $drop=, sB+3($pop110), $pop12 + i32.const $push104=, 0 + i32.const $push103=, 1103515245 + i32.mul $push13=, $2, $pop103 + i32.const $push102=, 12345 + i32.add $push101=, $pop13, $pop102 + tee_local $push100=, $2=, $pop101 + i32.const $push99=, 16 + i32.shr_u $push14=, $pop100, $pop99 + i32.store8 $drop=, sB+4($pop104), $pop14 + i32.const $push98=, 0 + i32.const $push97=, 1103515245 + i32.mul $push15=, $2, $pop97 + i32.const $push96=, 12345 + i32.add $push95=, $pop15, $pop96 + tee_local $push94=, $2=, $pop95 + i32.const $push93=, 16 + i32.shr_u $push16=, $pop94, $pop93 + i32.store8 $drop=, sB+5($pop98), $pop16 + i32.const $push92=, 0 + i32.const $push91=, 1103515245 + i32.mul $push17=, $2, $pop91 + i32.const $push90=, 12345 + i32.add $push89=, $pop17, $pop90 + tee_local $push88=, $2=, $pop89 + i32.const $push87=, 16 + i32.shr_u $push18=, $pop88, $pop87 + i32.store8 $drop=, sB+6($pop92), $pop18 + i32.const $push86=, 0 + i32.const $push85=, 1103515245 + i32.mul $push19=, $2, $pop85 + i32.const $push84=, 12345 + i32.add $push83=, $pop19, $pop84 + tee_local $push82=, $2=, $pop83 + i32.const $push81=, 16 + i32.shr_u $push20=, $pop82, $pop81 + i32.store8 $drop=, sB+7($pop86), $pop20 + i32.const $push80=, 0 + i32.load $3=, sB($pop80) block - i32.const $push59=, 16 - i32.shr_u $push22=, $3, $pop59 - i32.const $push58=, 2047 - i32.and $push57=, $pop22, $pop58 - tee_local $push56=, $3=, $pop57 - i32.add $push28=, $pop56, $4 - i32.const $push55=, 17 - i32.shl $push25=, $3, $pop55 - i32.add $push26=, $pop25, $2 - i32.const $push54=, 17 - i32.shr_u $push27=, $pop26, $pop54 - i32.ne $push29=, $pop28, $pop27 - br_if 0, $pop29 # 0: down to label1 + i32.const $push79=, 0 + i32.const $push78=, 1103515245 + i32.mul $push21=, $2, $pop78 + i32.const $push77=, 12345 + i32.add $push76=, $pop21, $pop77 + tee_local $push75=, $2=, $pop76 + i32.const $push74=, 1103515245 + i32.mul $push22=, $pop75, $pop74 + i32.const $push73=, 12345 + i32.add $push1=, $pop22, $pop73 + i32.store $push72=, myrnd.s($pop79), $pop1 + tee_local $push71=, $0=, $pop72 + i32.const $push70=, 16 + i32.shr_u $push26=, $pop71, $pop70 + i32.const $push69=, 2047 + i32.and $push68=, $pop26, $pop69 + tee_local $push67=, $4=, $pop68 + i32.const $push66=, 16 + i32.shr_u $push24=, $2, $pop66 + i32.const $push65=, 2047 + i32.and $push64=, $pop24, $pop65 + tee_local $push63=, $2=, $pop64 + i32.add $push27=, $pop67, $pop63 + i32.const $push62=, 17 + i32.shl $push28=, $4, $pop62 + i32.const $push61=, 0 + i32.const $push60=, 17 + i32.shl $push25=, $2, $pop60 + i32.const $push59=, 131071 + i32.and $push23=, $3, $pop59 + i32.or $push2=, $pop25, $pop23 + i32.store $push58=, sB($pop61), $pop2 + tee_local $push57=, $2=, $pop58 + i32.add $push29=, $pop28, $pop57 + i32.const $push56=, 17 + i32.shr_u $push30=, $pop29, $pop56 + i32.ne $push31=, $pop27, $pop30 + br_if 0, $pop31 # 0: down to label1 # BB#1: # %if.end76 - i32.const $push154=, 0 - i32.const $push153=, 0 - i32.const $push152=, 1103515245 - i32.mul $push30=, $0, $pop152 - i32.const $push151=, 12345 - i32.add $push150=, $pop30, $pop151 + i32.const $push156=, 0 + i32.const $push155=, 0 + i32.const $push154=, 1103515245 + i32.mul $push32=, $0, $pop154 + i32.const $push153=, 12345 + i32.add $push152=, $pop32, $pop153 + tee_local $push151=, $3=, $pop152 + i32.const $push33=, -1029531031 + i32.mul $push34=, $pop151, $pop33 + i32.const $push35=, -740551042 + i32.add $push150=, $pop34, $pop35 tee_local $push149=, $4=, $pop150 - i32.const $push36=, -1029531031 - i32.mul $push37=, $pop149, $pop36 - i32.const $push38=, -740551042 - i32.add $push148=, $pop37, $pop38 - tee_local $push147=, $2=, $pop148 - i32.const $push146=, 1103515245 - i32.mul $push40=, $pop147, $pop146 - i32.const $push145=, 12345 - i32.add $push41=, $pop40, $pop145 - i32.store $push0=, myrnd.s($pop153), $pop41 - i32.const $push144=, 16 - i32.shr_u $push42=, $pop0, $pop144 - i32.const $push143=, 2047 - i32.and $push142=, $pop42, $pop143 - tee_local $push141=, $3=, $pop142 - i32.const $push140=, 17 - i32.shl $push45=, $pop141, $pop140 - i32.const $push139=, 16 - i32.shr_u $push39=, $2, $pop139 - i32.const $push138=, 2047 - i32.and $push137=, $pop39, $pop138 - tee_local $push136=, $0=, $pop137 - i32.const $push135=, 17 - i32.shl $push43=, $pop136, $pop135 - i32.const $push134=, 131071 - i32.and $push133=, $1, $pop134 - tee_local $push132=, $2=, $pop133 - i32.or $push44=, $pop43, $pop132 - i32.add $push1=, $pop45, $pop44 - i32.store $push131=, sB($pop154), $pop1 - tee_local $push130=, $1=, $pop131 - i32.const $push31=, 1 - i32.shl $push32=, $4, $pop31 - i32.const $push33=, 268304384 - i32.and $push34=, $pop32, $pop33 - i32.or $push35=, $pop34, $2 - i32.xor $push129=, $pop130, $pop35 - tee_local $push128=, $4=, $pop129 - i32.const $push46=, 63 - i32.and $push47=, $pop128, $pop46 - br_if 0, $pop47 # 0: down to label1 + i32.const $push148=, 1103515245 + i32.mul $push36=, $pop149, $pop148 + i32.const $push147=, 12345 + i32.add $push37=, $pop36, $pop147 + i32.store $push0=, myrnd.s($pop155), $pop37 + i32.const $push146=, 16 + i32.shr_u $push41=, $pop0, $pop146 + i32.const $push145=, 2047 + i32.and $push144=, $pop41, $pop145 + tee_local $push143=, $0=, $pop144 + i32.const $push142=, 17 + i32.shl $push42=, $pop143, $pop142 + i32.const $push141=, 16 + i32.shr_u $push38=, $4, $pop141 + i32.const $push140=, 2047 + i32.and $push139=, $pop38, $pop140 + tee_local $push138=, $4=, $pop139 + i32.const $push137=, 17 + i32.shl $push39=, $pop138, $pop137 + i32.const $push136=, 131071 + i32.and $push135=, $2, $pop136 + tee_local $push134=, $2=, $pop135 + i32.or $push40=, $pop39, $pop134 + i32.add $push3=, $pop42, $pop40 + i32.store $push133=, sB($pop156), $pop3 + tee_local $push132=, $1=, $pop133 + i32.const $push43=, 1 + i32.shl $push44=, $3, $pop43 + i32.const $push45=, 268304384 + i32.and $push46=, $pop44, $pop45 + i32.or $push47=, $pop46, $2 + i32.xor $push131=, $pop132, $pop47 + tee_local $push130=, $2=, $pop131 + i32.const $push48=, 63 + i32.and $push49=, $pop130, $pop48 + br_if 0, $pop49 # 0: down to label1 # BB#2: # %lor.lhs.false91 - i32.add $push52=, $3, $0 - i32.const $push49=, 17 - i32.shr_u $push50=, $1, $pop49 - i32.ne $push53=, $pop52, $pop50 - br_if 0, $pop53 # 0: down to label1 + i32.add $push53=, $0, $4 + i32.const $push51=, 17 + i32.shr_u $push52=, $1, $pop51 + i32.ne $push54=, $pop53, $pop52 + br_if 0, $pop54 # 0: down to label1 # BB#3: # %lor.lhs.false91 - i32.const $push51=, 131008 - i32.and $push48=, $4, $pop51 - br_if 0, $pop48 # 0: down to label1 + i32.const $push55=, 131008 + i32.and $push50=, $2, $pop55 + br_if 0, $pop50 # 0: down to label1 # BB#4: # %if.end115 return .LBB12_5: # %if.then114 @@ -554,7 +550,7 @@ retmeC: # @retmeC # BB#0: # %entry i64.load $push0=, 0($1):p2align=2 i64.store $drop=, 0($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end13: .size retmeC, .Lfunc_end13-retmeC @@ -567,14 +563,14 @@ fn1C: # @fn1C .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $push1=, sC+4($pop0) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.const $push2=, 0 + i32.load $push3=, sC+4($pop2) + i32.const $push0=, 17 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 17 i32.shr_u $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end14: .size fn1C, .Lfunc_end14-fn1C @@ -596,7 +592,7 @@ fn2C: # @fn2C i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end15: .size fn2C, .Lfunc_end15-fn2C @@ -612,7 +608,7 @@ retitC: # @retitC i32.load $push1=, sC+4($pop0) i32.const $push2=, 17 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end16: .size retitC, .Lfunc_end16-retitC @@ -625,17 +621,16 @@ fn3C: # @fn3C .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push3=, 0 i32.const $push8=, 0 - i32.load $push1=, sC+4($pop8) - i32.const $push2=, 17 - i32.shl $push3=, $0, $pop2 - i32.add $push7=, $pop1, $pop3 - tee_local $push6=, $0=, $pop7 - i32.store $drop=, sC+4($pop0), $pop6 - i32.const $push5=, 17 - i32.shr_u $push4=, $0, $pop5 - return $pop4 + i32.load $push4=, sC+4($pop8) + i32.const $push1=, 17 + i32.shl $push2=, $0, $pop1 + i32.add $push5=, $pop4, $pop2 + i32.store $push0=, sC+4($pop3), $pop5 + i32.const $push7=, 17 + i32.shr_u $push6=, $pop0, $pop7 + # fallthrough-return: $pop6 .endfunc .Lfunc_end17: .size fn3C, .Lfunc_end17-fn3C @@ -647,177 +642,177 @@ fn3C: # @fn3C testC: # @testC .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push127=, 0 - i32.const $push126=, 0 - i32.load $push2=, myrnd.s($pop126) - i32.const $push125=, 1103515245 - i32.mul $push3=, $pop2, $pop125 - i32.const $push124=, 12345 - i32.add $push123=, $pop3, $pop124 - tee_local $push122=, $2=, $pop123 - i32.const $push121=, 16 - i32.shr_u $push4=, $pop122, $pop121 - i32.store8 $drop=, sC($pop127), $pop4 - i32.const $push120=, 0 - i32.const $push119=, 1103515245 - i32.mul $push5=, $2, $pop119 - i32.const $push118=, 12345 - i32.add $push117=, $pop5, $pop118 - tee_local $push116=, $2=, $pop117 - i32.const $push115=, 16 - i32.shr_u $push6=, $pop116, $pop115 - i32.store8 $drop=, sC+1($pop120), $pop6 - i32.const $push114=, 0 - i32.const $push113=, 1103515245 - i32.mul $push7=, $2, $pop113 - i32.const $push112=, 12345 - i32.add $push111=, $pop7, $pop112 - tee_local $push110=, $2=, $pop111 - i32.const $push109=, 16 - i32.shr_u $push8=, $pop110, $pop109 - i32.store8 $drop=, sC+2($pop114), $pop8 - i32.const $push108=, 0 - i32.const $push107=, 1103515245 - i32.mul $push9=, $2, $pop107 - i32.const $push106=, 12345 - i32.add $push105=, $pop9, $pop106 - tee_local $push104=, $2=, $pop105 + i32.const $push129=, 0 + i32.const $push128=, 0 + i32.load $push4=, myrnd.s($pop128) + i32.const $push127=, 1103515245 + i32.mul $push5=, $pop4, $pop127 + i32.const $push126=, 12345 + i32.add $push125=, $pop5, $pop126 + tee_local $push124=, $3=, $pop125 + i32.const $push123=, 16 + i32.shr_u $push6=, $pop124, $pop123 + i32.store8 $drop=, sC($pop129), $pop6 + i32.const $push122=, 0 + i32.const $push121=, 1103515245 + i32.mul $push7=, $3, $pop121 + i32.const $push120=, 12345 + i32.add $push119=, $pop7, $pop120 + tee_local $push118=, $3=, $pop119 + i32.const $push117=, 16 + i32.shr_u $push8=, $pop118, $pop117 + i32.store8 $drop=, sC+1($pop122), $pop8 + i32.const $push116=, 0 + i32.const $push115=, 1103515245 + i32.mul $push9=, $3, $pop115 + i32.const $push114=, 12345 + i32.add $push113=, $pop9, $pop114 + tee_local $push112=, $3=, $pop113 + i32.const $push111=, 16 + i32.shr_u $push10=, $pop112, $pop111 + i32.store8 $drop=, sC+2($pop116), $pop10 + i32.const $push110=, 0 + i32.const $push109=, 1103515245 + i32.mul $push11=, $3, $pop109 + i32.const $push108=, 12345 + i32.add $push107=, $pop11, $pop108 + tee_local $push106=, $3=, $pop107 + i32.const $push105=, 16 + i32.shr_u $push12=, $pop106, $pop105 + i32.store8 $drop=, sC+3($pop110), $pop12 + i32.const $push104=, 0 i32.const $push103=, 1103515245 - i32.mul $push11=, $pop104, $pop103 + i32.mul $push13=, $3, $pop103 i32.const $push102=, 12345 - i32.add $push101=, $pop11, $pop102 - tee_local $push100=, $4=, $pop101 + i32.add $push101=, $pop13, $pop102 + tee_local $push100=, $3=, $pop101 i32.const $push99=, 16 - i32.shr_u $push12=, $pop100, $pop99 - i32.store8 $drop=, sC+4($pop108), $pop12 + i32.shr_u $push14=, $pop100, $pop99 + i32.store8 $drop=, sC+4($pop104), $pop14 i32.const $push98=, 0 i32.const $push97=, 1103515245 - i32.mul $push13=, $4, $pop97 + i32.mul $push15=, $3, $pop97 i32.const $push96=, 12345 - i32.add $push95=, $pop13, $pop96 - tee_local $push94=, $4=, $pop95 + i32.add $push95=, $pop15, $pop96 + tee_local $push94=, $3=, $pop95 i32.const $push93=, 16 - i32.shr_u $push14=, $pop94, $pop93 - i32.store8 $drop=, sC+5($pop98), $pop14 + i32.shr_u $push16=, $pop94, $pop93 + i32.store8 $drop=, sC+5($pop98), $pop16 i32.const $push92=, 0 i32.const $push91=, 1103515245 - i32.mul $push15=, $4, $pop91 + i32.mul $push17=, $3, $pop91 i32.const $push90=, 12345 - i32.add $push89=, $pop15, $pop90 - tee_local $push88=, $4=, $pop89 + i32.add $push89=, $pop17, $pop90 + tee_local $push88=, $3=, $pop89 i32.const $push87=, 16 - i32.shr_u $push16=, $pop88, $pop87 - i32.store8 $drop=, sC+6($pop92), $pop16 + i32.shr_u $push18=, $pop88, $pop87 + i32.store8 $drop=, sC+6($pop92), $pop18 i32.const $push86=, 0 i32.const $push85=, 1103515245 - i32.mul $push17=, $4, $pop85 + i32.mul $push19=, $3, $pop85 i32.const $push84=, 12345 - i32.add $push83=, $pop17, $pop84 - tee_local $push82=, $4=, $pop83 + i32.add $push83=, $pop19, $pop84 + tee_local $push82=, $3=, $pop83 i32.const $push81=, 16 - i32.shr_u $push18=, $pop82, $pop81 - i32.store8 $drop=, sC+7($pop86), $pop18 + i32.shr_u $push20=, $pop82, $pop81 + i32.store8 $drop=, sC+7($pop86), $pop20 i32.const $push80=, 0 - i32.load $1=, sC+4($pop80) - i32.const $push79=, 0 - i32.const $push78=, 16 - i32.shr_u $push10=, $2, $pop78 - i32.store8 $drop=, sC+3($pop79), $pop10 - i32.const $push77=, 0 - i32.const $push76=, 1103515245 - i32.mul $push19=, $4, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop19, $pop75 - tee_local $push73=, $4=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push20=, $pop73, $pop72 - i32.const $push71=, 2047 - i32.and $push70=, $pop20, $pop71 - tee_local $push69=, $3=, $pop70 - i32.const $push68=, 17 - i32.shl $push23=, $pop69, $pop68 - i32.const $push24=, 131071 - i32.and $push67=, $1, $pop24 - tee_local $push66=, $2=, $pop67 - i32.or $push25=, $pop23, $pop66 - i32.store $1=, sC+4($pop77), $pop25 - i32.const $push65=, 0 - i32.const $push64=, 1103515245 - i32.mul $push21=, $4, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop21, $pop63 - tee_local $push61=, $4=, $pop62 - i32.store $0=, myrnd.s($pop65), $pop61 + i32.load $2=, sC+4($pop80) block - i32.const $push60=, 16 - i32.shr_u $push22=, $4, $pop60 - i32.const $push59=, 2047 - i32.and $push58=, $pop22, $pop59 - tee_local $push57=, $4=, $pop58 - i32.add $push29=, $pop57, $3 - i32.const $push56=, 17 - i32.shl $push26=, $4, $pop56 - i32.add $push27=, $1, $pop26 - i32.const $push55=, 17 - i32.shr_u $push28=, $pop27, $pop55 - i32.ne $push30=, $pop29, $pop28 - br_if 0, $pop30 # 0: down to label2 + i32.const $push79=, 0 + i32.const $push78=, 1103515245 + i32.mul $push21=, $3, $pop78 + i32.const $push77=, 12345 + i32.add $push76=, $pop21, $pop77 + tee_local $push75=, $3=, $pop76 + i32.const $push74=, 1103515245 + i32.mul $push22=, $pop75, $pop74 + i32.const $push73=, 12345 + i32.add $push2=, $pop22, $pop73 + i32.store $push72=, myrnd.s($pop79), $pop2 + tee_local $push71=, $0=, $pop72 + i32.const $push70=, 16 + i32.shr_u $push27=, $pop71, $pop70 + i32.const $push69=, 2047 + i32.and $push68=, $pop27, $pop69 + tee_local $push67=, $4=, $pop68 + i32.const $push66=, 16 + i32.shr_u $push24=, $3, $pop66 + i32.const $push65=, 2047 + i32.and $push64=, $pop24, $pop65 + tee_local $push63=, $3=, $pop64 + i32.add $push28=, $pop67, $pop63 + i32.const $push62=, 17 + i32.shl $push29=, $4, $pop62 + i32.const $push61=, 0 + i32.const $push60=, 17 + i32.shl $push25=, $3, $pop60 + i32.const $push23=, 131071 + i32.and $push59=, $2, $pop23 + tee_local $push58=, $3=, $pop59 + i32.or $push26=, $pop25, $pop58 + i32.store $push0=, sC+4($pop61), $pop26 + i32.add $push30=, $pop29, $pop0 + i32.const $push57=, 17 + i32.shr_u $push31=, $pop30, $pop57 + i32.ne $push32=, $pop28, $pop31 + br_if 0, $pop32 # 0: down to label2 # BB#1: # %if.end80 - i32.const $push151=, 0 - i32.const $push150=, 0 - i32.const $push149=, 1103515245 - i32.mul $push31=, $0, $pop149 - i32.const $push148=, 12345 - i32.add $push147=, $pop31, $pop148 + i32.const $push153=, 0 + i32.const $push152=, 0 + i32.const $push151=, 1103515245 + i32.mul $push33=, $0, $pop151 + i32.const $push150=, 12345 + i32.add $push149=, $pop33, $pop150 + tee_local $push148=, $2=, $pop149 + i32.const $push34=, -1029531031 + i32.mul $push35=, $pop148, $pop34 + i32.const $push36=, -740551042 + i32.add $push147=, $pop35, $pop36 tee_local $push146=, $4=, $pop147 - i32.const $push37=, -1029531031 - i32.mul $push38=, $pop146, $pop37 - i32.const $push39=, -740551042 - i32.add $push145=, $pop38, $pop39 - tee_local $push144=, $1=, $pop145 - i32.const $push143=, 1103515245 - i32.mul $push41=, $pop144, $pop143 - i32.const $push142=, 12345 - i32.add $push42=, $pop41, $pop142 - i32.store $push0=, myrnd.s($pop150), $pop42 - i32.const $push141=, 16 - i32.shr_u $push43=, $pop0, $pop141 - i32.const $push140=, 2047 - i32.and $push139=, $pop43, $pop140 - tee_local $push138=, $3=, $pop139 - i32.const $push137=, 17 - i32.shl $push46=, $pop138, $pop137 - i32.const $push136=, 16 - i32.shr_u $push40=, $1, $pop136 - i32.const $push135=, 2047 - i32.and $push134=, $pop40, $pop135 - tee_local $push133=, $1=, $pop134 - i32.const $push132=, 17 - i32.shl $push44=, $pop133, $pop132 - i32.or $push45=, $pop44, $2 - i32.add $push1=, $pop46, $pop45 - i32.store $push131=, sC+4($pop151), $pop1 - tee_local $push130=, $0=, $pop131 - i32.const $push32=, 1 - i32.shl $push33=, $4, $pop32 - i32.const $push34=, 268304384 - i32.and $push35=, $pop33, $pop34 - i32.or $push36=, $pop35, $2 - i32.xor $push129=, $pop130, $pop36 - tee_local $push128=, $2=, $pop129 - i32.const $push47=, 63 - i32.and $push48=, $pop128, $pop47 - br_if 0, $pop48 # 0: down to label2 + i32.const $push145=, 1103515245 + i32.mul $push37=, $pop146, $pop145 + i32.const $push144=, 12345 + i32.add $push38=, $pop37, $pop144 + i32.store $push1=, myrnd.s($pop152), $pop38 + i32.const $push143=, 16 + i32.shr_u $push42=, $pop1, $pop143 + i32.const $push142=, 2047 + i32.and $push141=, $pop42, $pop142 + tee_local $push140=, $0=, $pop141 + i32.const $push139=, 17 + i32.shl $push43=, $pop140, $pop139 + i32.const $push138=, 16 + i32.shr_u $push39=, $4, $pop138 + i32.const $push137=, 2047 + i32.and $push136=, $pop39, $pop137 + tee_local $push135=, $4=, $pop136 + i32.const $push134=, 17 + i32.shl $push40=, $pop135, $pop134 + i32.or $push41=, $pop40, $3 + i32.add $push3=, $pop43, $pop41 + i32.store $push133=, sC+4($pop153), $pop3 + tee_local $push132=, $1=, $pop133 + i32.const $push44=, 1 + i32.shl $push45=, $2, $pop44 + i32.const $push46=, 268304384 + i32.and $push47=, $pop45, $pop46 + i32.or $push48=, $pop47, $3 + i32.xor $push131=, $pop132, $pop48 + tee_local $push130=, $3=, $pop131 + i32.const $push49=, 63 + i32.and $push50=, $pop130, $pop49 + br_if 0, $pop50 # 0: down to label2 # BB#2: # %lor.lhs.false96 - i32.add $push53=, $3, $1 - i32.const $push50=, 17 - i32.shr_u $push51=, $0, $pop50 - i32.ne $push54=, $pop53, $pop51 - br_if 0, $pop54 # 0: down to label2 + i32.add $push54=, $0, $4 + i32.const $push52=, 17 + i32.shr_u $push53=, $1, $pop52 + i32.ne $push55=, $pop54, $pop53 + br_if 0, $pop55 # 0: down to label2 # BB#3: # %lor.lhs.false96 - i32.const $push52=, 131008 - i32.and $push49=, $2, $pop52 - br_if 0, $pop49 # 0: down to label2 + i32.const $push56=, 131008 + i32.and $push51=, $3, $pop56 + br_if 0, $pop51 # 0: down to label2 # BB#4: # %if.end121 return .LBB18_5: # %if.then120 @@ -837,7 +832,7 @@ retmeD: # @retmeD # BB#0: # %entry i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end19: .size retmeD, .Lfunc_end19-retmeD @@ -858,7 +853,7 @@ fn1D: # @fn1D i32.add $push5=, $pop4, $0 i32.const $push6=, 536870911 i32.and $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end20: .size fn1D, .Lfunc_end20-fn1D @@ -881,7 +876,7 @@ fn2D: # @fn2D i32.and $push7=, $pop5, $pop6 i32.const $push8=, 15 i32.rem_u $push9=, $pop7, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end21: .size fn2D, .Lfunc_end21-fn2D @@ -898,7 +893,7 @@ retitD: # @retitD i64.const $push2=, 35 i64.shr_u $push3=, $pop1, $pop2 i32.wrap/i64 $push4=, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end22: .size retitD, .Lfunc_end22-retitD @@ -916,21 +911,21 @@ fn3D: # @fn3D i32.const $push16=, 0 i64.load $push15=, sD($pop16) tee_local $push14=, $1=, $pop15 - i64.const $push1=, 35 - i64.shr_u $push2=, $pop14, $pop1 - i32.wrap/i64 $push3=, $pop2 - i32.add $push13=, $pop3, $0 + i64.const $push3=, 35 + i64.shr_u $push4=, $pop14, $pop3 + i32.wrap/i64 $push5=, $pop4 + i32.add $push13=, $pop5, $0 tee_local $push12=, $0=, $pop13 - i64.extend_u/i32 $push4=, $pop12 + i64.extend_u/i32 $push6=, $pop12 i64.const $push11=, 35 - i64.shl $push5=, $pop4, $pop11 - i64.const $push6=, 34359738367 - i64.and $push7=, $1, $pop6 - i64.or $push8=, $pop5, $pop7 + i64.shl $push7=, $pop6, $pop11 + i64.const $push1=, 34359738367 + i64.and $push2=, $1, $pop1 + i64.or $push8=, $pop7, $pop2 i64.store $drop=, sD($pop0), $pop8 i32.const $push9=, 536870911 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end23: .size fn3D, .Lfunc_end23-fn3D @@ -940,113 +935,113 @@ fn3D: # @fn3D .globl testD .type testD,@function testD: # @testD - .local i32 + .local i32, i64 # BB#0: # %if.end158 i32.const $push1=, 0 - i32.const $push94=, 0 - i32.load $push2=, myrnd.s($pop94) + i32.const $push93=, 0 + i32.load $push2=, myrnd.s($pop93) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push93=, $pop4, $pop5 - tee_local $push92=, $0=, $pop93 + i32.add $push92=, $pop4, $pop5 + tee_local $push91=, $0=, $pop92 i32.const $push6=, 16 - i32.shr_u $push7=, $pop92, $pop6 + i32.shr_u $push7=, $pop91, $pop6 i32.store8 $drop=, sD($pop1), $pop7 - i32.const $push91=, 0 - i32.const $push90=, 1103515245 - i32.mul $push8=, $0, $pop90 - i32.const $push89=, 12345 - i32.add $push88=, $pop8, $pop89 - tee_local $push87=, $0=, $pop88 - i32.const $push86=, 16 - i32.shr_u $push9=, $pop87, $pop86 - i32.store8 $drop=, sD+1($pop91), $pop9 - i32.const $push85=, 0 - i32.const $push84=, 1103515245 - i32.mul $push10=, $0, $pop84 - i32.const $push83=, 12345 - i32.add $push82=, $pop10, $pop83 - tee_local $push81=, $0=, $pop82 - i32.const $push80=, 16 - i32.shr_u $push11=, $pop81, $pop80 - i32.store8 $drop=, sD+2($pop85), $pop11 - i32.const $push79=, 0 - i32.const $push78=, 1103515245 - i32.mul $push12=, $0, $pop78 - i32.const $push77=, 12345 - i32.add $push76=, $pop12, $pop77 - tee_local $push75=, $0=, $pop76 - i32.const $push74=, 16 - i32.shr_u $push13=, $pop75, $pop74 - i32.store8 $drop=, sD+3($pop79), $pop13 - i32.const $push73=, 0 - i32.const $push72=, 1103515245 - i32.mul $push14=, $0, $pop72 - i32.const $push71=, 12345 - i32.add $push70=, $pop14, $pop71 - tee_local $push69=, $0=, $pop70 - i32.const $push68=, 16 - i32.shr_u $push15=, $pop69, $pop68 - i32.store8 $drop=, sD+4($pop73), $pop15 - i32.const $push67=, 0 - i32.const $push66=, 1103515245 - i32.mul $push16=, $0, $pop66 - i32.const $push65=, 12345 - i32.add $push64=, $pop16, $pop65 - tee_local $push63=, $0=, $pop64 - i32.const $push62=, 16 - i32.shr_u $push17=, $pop63, $pop62 - i32.store8 $drop=, sD+5($pop67), $pop17 - i32.const $push61=, 0 - i32.const $push60=, 1103515245 - i32.mul $push18=, $0, $pop60 - i32.const $push59=, 12345 - i32.add $push58=, $pop18, $pop59 - tee_local $push57=, $0=, $pop58 - i32.const $push56=, 16 - i32.shr_u $push19=, $pop57, $pop56 - i32.store8 $drop=, sD+6($pop61), $pop19 - i32.const $push55=, 0 - i32.const $push54=, 1103515245 - i32.mul $push20=, $0, $pop54 - i32.const $push53=, 12345 - i32.add $push52=, $pop20, $pop53 - tee_local $push51=, $0=, $pop52 - i32.const $push50=, 16 - i32.shr_u $push21=, $pop51, $pop50 - i32.store8 $drop=, sD+7($pop55), $pop21 - i32.const $push49=, 0 + i32.const $push90=, 0 + i32.const $push89=, 1103515245 + i32.mul $push8=, $0, $pop89 + i32.const $push88=, 12345 + i32.add $push87=, $pop8, $pop88 + tee_local $push86=, $0=, $pop87 + i32.const $push85=, 16 + i32.shr_u $push9=, $pop86, $pop85 + i32.store8 $drop=, sD+1($pop90), $pop9 + i32.const $push84=, 0 + i32.const $push83=, 1103515245 + i32.mul $push10=, $0, $pop83 + i32.const $push82=, 12345 + i32.add $push81=, $pop10, $pop82 + tee_local $push80=, $0=, $pop81 + i32.const $push79=, 16 + i32.shr_u $push11=, $pop80, $pop79 + i32.store8 $drop=, sD+2($pop84), $pop11 + i32.const $push78=, 0 + i32.const $push77=, 1103515245 + i32.mul $push12=, $0, $pop77 + i32.const $push76=, 12345 + i32.add $push75=, $pop12, $pop76 + tee_local $push74=, $0=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push13=, $pop74, $pop73 + i32.store8 $drop=, sD+3($pop78), $pop13 + i32.const $push72=, 0 + i32.const $push71=, 1103515245 + i32.mul $push14=, $0, $pop71 + i32.const $push70=, 12345 + i32.add $push69=, $pop14, $pop70 + tee_local $push68=, $0=, $pop69 + i32.const $push67=, 16 + i32.shr_u $push15=, $pop68, $pop67 + i32.store8 $drop=, sD+4($pop72), $pop15 + i32.const $push66=, 0 + i32.const $push65=, 1103515245 + i32.mul $push16=, $0, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop16, $pop64 + tee_local $push62=, $0=, $pop63 + i32.const $push61=, 16 + i32.shr_u $push17=, $pop62, $pop61 + i32.store8 $drop=, sD+5($pop66), $pop17 + i32.const $push60=, 0 + i32.const $push59=, 1103515245 + i32.mul $push18=, $0, $pop59 + i32.const $push58=, 12345 + i32.add $push57=, $pop18, $pop58 + tee_local $push56=, $0=, $pop57 + i32.const $push55=, 16 + i32.shr_u $push19=, $pop56, $pop55 + i32.store8 $drop=, sD+6($pop60), $pop19 + i32.const $push54=, 0 + i32.const $push53=, 1103515245 + i32.mul $push20=, $0, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop20, $pop52 + tee_local $push50=, $0=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push21=, $pop50, $pop49 + i32.store8 $drop=, sD+7($pop54), $pop21 i32.const $push48=, 0 - i32.const $push23=, -341751747 - i32.mul $push24=, $0, $pop23 - i32.const $push25=, 229283573 - i32.add $push47=, $pop24, $pop25 - tee_local $push46=, $0=, $pop47 - i32.const $push45=, 1103515245 - i32.mul $push29=, $pop46, $pop45 - i32.const $push44=, 12345 - i32.add $push30=, $pop29, $pop44 - i32.store $push0=, myrnd.s($pop48), $pop30 - i32.const $push43=, 16 - i32.shr_u $push31=, $pop0, $pop43 - i32.const $push27=, 2047 - i32.and $push32=, $pop31, $pop27 - i32.const $push42=, 16 - i32.shr_u $push26=, $0, $pop42 - i32.const $push41=, 2047 - i32.and $push28=, $pop26, $pop41 - i32.add $push35=, $pop32, $pop28 - i64.extend_u/i32 $push36=, $pop35 - i64.const $push37=, 35 - i64.shl $push38=, $pop36, $pop37 - i32.const $push40=, 0 - i64.load $push22=, sD($pop40) - i64.const $push33=, 34359738367 - i64.and $push34=, $pop22, $pop33 - i64.or $push39=, $pop38, $pop34 - i64.store $drop=, sD($pop49), $pop39 - return + i64.load $1=, sD($pop48) + i32.const $push47=, 0 + i32.const $push46=, 0 + i32.const $push22=, -341751747 + i32.mul $push23=, $0, $pop22 + i32.const $push24=, 229283573 + i32.add $push45=, $pop23, $pop24 + tee_local $push44=, $0=, $pop45 + i32.const $push43=, 1103515245 + i32.mul $push25=, $pop44, $pop43 + i32.const $push42=, 12345 + i32.add $push26=, $pop25, $pop42 + i32.store $push0=, myrnd.s($pop46), $pop26 + i32.const $push41=, 16 + i32.shr_u $push30=, $pop0, $pop41 + i32.const $push28=, 2047 + i32.and $push31=, $pop30, $pop28 + i32.const $push40=, 16 + i32.shr_u $push27=, $0, $pop40 + i32.const $push39=, 2047 + i32.and $push29=, $pop27, $pop39 + i32.add $push32=, $pop31, $pop29 + i64.extend_u/i32 $push33=, $pop32 + i64.const $push34=, 35 + i64.shl $push35=, $pop33, $pop34 + i64.const $push36=, 34359738367 + i64.and $push37=, $1, $pop36 + i64.or $push38=, $pop35, $pop37 + i64.store $drop=, sD($pop47), $pop38 + # fallthrough-return .endfunc .Lfunc_end24: .size testD, .Lfunc_end24-testD @@ -1057,17 +1052,16 @@ testD: # @testD .type retmeE,@function retmeE: # @retmeE .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end25: .size retmeE, .Lfunc_end25-retmeE @@ -1088,7 +1082,7 @@ fn1E: # @fn1E i32.add $push5=, $pop4, $0 i32.const $push6=, 536870911 i32.and $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end26: .size fn1E, .Lfunc_end26-fn1E @@ -1111,7 +1105,7 @@ fn2E: # @fn2E i32.and $push7=, $pop5, $pop6 i32.const $push8=, 15 i32.rem_u $push9=, $pop7, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end27: .size fn2E, .Lfunc_end27-fn2E @@ -1128,7 +1122,7 @@ retitE: # @retitE i64.const $push2=, 35 i64.shr_u $push3=, $pop1, $pop2 i32.wrap/i64 $push4=, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end28: .size retitE, .Lfunc_end28-retitE @@ -1146,21 +1140,21 @@ fn3E: # @fn3E i32.const $push16=, 0 i64.load $push15=, sE+8($pop16) tee_local $push14=, $1=, $pop15 - i64.const $push1=, 35 - i64.shr_u $push2=, $pop14, $pop1 - i32.wrap/i64 $push3=, $pop2 - i32.add $push13=, $pop3, $0 + i64.const $push3=, 35 + i64.shr_u $push4=, $pop14, $pop3 + i32.wrap/i64 $push5=, $pop4 + i32.add $push13=, $pop5, $0 tee_local $push12=, $0=, $pop13 - i64.extend_u/i32 $push4=, $pop12 + i64.extend_u/i32 $push6=, $pop12 i64.const $push11=, 35 - i64.shl $push5=, $pop4, $pop11 - i64.const $push6=, 34359738367 - i64.and $push7=, $1, $pop6 - i64.or $push8=, $pop5, $pop7 + i64.shl $push7=, $pop6, $pop11 + i64.const $push1=, 34359738367 + i64.and $push2=, $1, $pop1 + i64.or $push8=, $pop7, $pop2 i64.store $drop=, sE+8($pop0), $pop8 i32.const $push9=, 536870911 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end29: .size fn3E, .Lfunc_end29-fn3E @@ -1170,185 +1164,185 @@ fn3E: # @fn3E .globl testE .type testE,@function testE: # @testE - .local i32 + .local i32, i64 # BB#0: # %if.end142 i32.const $push1=, 0 - i32.const $push158=, 0 - i32.load $push2=, myrnd.s($pop158) + i32.const $push157=, 0 + i32.load $push2=, myrnd.s($pop157) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push157=, $pop4, $pop5 - tee_local $push156=, $0=, $pop157 + i32.add $push156=, $pop4, $pop5 + tee_local $push155=, $0=, $pop156 i32.const $push6=, 16 - i32.shr_u $push7=, $pop156, $pop6 + i32.shr_u $push7=, $pop155, $pop6 i32.store8 $drop=, sE($pop1), $pop7 - i32.const $push155=, 0 - i32.const $push154=, 1103515245 - i32.mul $push8=, $0, $pop154 - i32.const $push153=, 12345 - i32.add $push152=, $pop8, $pop153 - tee_local $push151=, $0=, $pop152 - i32.const $push150=, 16 - i32.shr_u $push9=, $pop151, $pop150 - i32.store8 $drop=, sE+1($pop155), $pop9 - i32.const $push149=, 0 - i32.const $push148=, 1103515245 - i32.mul $push10=, $0, $pop148 - i32.const $push147=, 12345 - i32.add $push146=, $pop10, $pop147 - tee_local $push145=, $0=, $pop146 - i32.const $push144=, 16 - i32.shr_u $push11=, $pop145, $pop144 - i32.store8 $drop=, sE+2($pop149), $pop11 - i32.const $push143=, 0 - i32.const $push142=, 1103515245 - i32.mul $push12=, $0, $pop142 - i32.const $push141=, 12345 - i32.add $push140=, $pop12, $pop141 - tee_local $push139=, $0=, $pop140 - i32.const $push138=, 16 - i32.shr_u $push13=, $pop139, $pop138 - i32.store8 $drop=, sE+3($pop143), $pop13 - i32.const $push137=, 0 - i32.const $push136=, 1103515245 - i32.mul $push14=, $0, $pop136 - i32.const $push135=, 12345 - i32.add $push134=, $pop14, $pop135 - tee_local $push133=, $0=, $pop134 - i32.const $push132=, 16 - i32.shr_u $push15=, $pop133, $pop132 - i32.store8 $drop=, sE+4($pop137), $pop15 - i32.const $push131=, 0 - i32.const $push130=, 1103515245 - i32.mul $push16=, $0, $pop130 - i32.const $push129=, 12345 - i32.add $push128=, $pop16, $pop129 - tee_local $push127=, $0=, $pop128 - i32.const $push126=, 16 - i32.shr_u $push17=, $pop127, $pop126 - i32.store8 $drop=, sE+5($pop131), $pop17 - i32.const $push125=, 0 - i32.const $push124=, 1103515245 - i32.mul $push18=, $0, $pop124 - i32.const $push123=, 12345 - i32.add $push122=, $pop18, $pop123 - tee_local $push121=, $0=, $pop122 - i32.const $push120=, 16 - i32.shr_u $push19=, $pop121, $pop120 - i32.store8 $drop=, sE+6($pop125), $pop19 - i32.const $push119=, 0 - i32.const $push118=, 1103515245 - i32.mul $push20=, $0, $pop118 - i32.const $push117=, 12345 - i32.add $push116=, $pop20, $pop117 - tee_local $push115=, $0=, $pop116 - i32.const $push114=, 16 - i32.shr_u $push21=, $pop115, $pop114 - i32.store8 $drop=, sE+7($pop119), $pop21 - i32.const $push113=, 0 - i32.const $push112=, 1103515245 - i32.mul $push22=, $0, $pop112 - i32.const $push111=, 12345 - i32.add $push110=, $pop22, $pop111 - tee_local $push109=, $0=, $pop110 - i32.const $push108=, 16 - i32.shr_u $push23=, $pop109, $pop108 - i32.store8 $drop=, sE+8($pop113), $pop23 - i32.const $push107=, 0 - i32.const $push106=, 1103515245 - i32.mul $push24=, $0, $pop106 - i32.const $push105=, 12345 - i32.add $push104=, $pop24, $pop105 - tee_local $push103=, $0=, $pop104 - i32.const $push102=, 16 - i32.shr_u $push25=, $pop103, $pop102 - i32.store8 $drop=, sE+9($pop107), $pop25 - i32.const $push101=, 0 - i32.const $push100=, 1103515245 - i32.mul $push26=, $0, $pop100 - i32.const $push99=, 12345 - i32.add $push98=, $pop26, $pop99 - tee_local $push97=, $0=, $pop98 - i32.const $push96=, 16 - i32.shr_u $push27=, $pop97, $pop96 - i32.store8 $drop=, sE+10($pop101), $pop27 - i32.const $push95=, 0 - i32.const $push94=, 1103515245 - i32.mul $push28=, $0, $pop94 - i32.const $push93=, 12345 - i32.add $push92=, $pop28, $pop93 - tee_local $push91=, $0=, $pop92 - i32.const $push90=, 16 - i32.shr_u $push29=, $pop91, $pop90 - i32.store8 $drop=, sE+11($pop95), $pop29 - i32.const $push89=, 0 - i32.const $push88=, 1103515245 - i32.mul $push30=, $0, $pop88 - i32.const $push87=, 12345 - i32.add $push86=, $pop30, $pop87 - tee_local $push85=, $0=, $pop86 - i32.const $push84=, 16 - i32.shr_u $push31=, $pop85, $pop84 - i32.store8 $drop=, sE+12($pop89), $pop31 - i32.const $push83=, 0 - i32.const $push82=, 1103515245 - i32.mul $push32=, $0, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop32, $pop81 - tee_local $push79=, $0=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push33=, $pop79, $pop78 - i32.store8 $drop=, sE+13($pop83), $pop33 - i32.const $push77=, 0 - i32.const $push76=, 1103515245 - i32.mul $push34=, $0, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop34, $pop75 - tee_local $push73=, $0=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push35=, $pop73, $pop72 - i32.store8 $drop=, sE+14($pop77), $pop35 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push36=, $0, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop36, $pop69 - tee_local $push67=, $0=, $pop68 - i32.const $push66=, 16 - i32.shr_u $push37=, $pop67, $pop66 - i32.store8 $drop=, sE+15($pop71), $pop37 - i32.const $push65=, 0 + i32.const $push154=, 0 + i32.const $push153=, 1103515245 + i32.mul $push8=, $0, $pop153 + i32.const $push152=, 12345 + i32.add $push151=, $pop8, $pop152 + tee_local $push150=, $0=, $pop151 + i32.const $push149=, 16 + i32.shr_u $push9=, $pop150, $pop149 + i32.store8 $drop=, sE+1($pop154), $pop9 + i32.const $push148=, 0 + i32.const $push147=, 1103515245 + i32.mul $push10=, $0, $pop147 + i32.const $push146=, 12345 + i32.add $push145=, $pop10, $pop146 + tee_local $push144=, $0=, $pop145 + i32.const $push143=, 16 + i32.shr_u $push11=, $pop144, $pop143 + i32.store8 $drop=, sE+2($pop148), $pop11 + i32.const $push142=, 0 + i32.const $push141=, 1103515245 + i32.mul $push12=, $0, $pop141 + i32.const $push140=, 12345 + i32.add $push139=, $pop12, $pop140 + tee_local $push138=, $0=, $pop139 + i32.const $push137=, 16 + i32.shr_u $push13=, $pop138, $pop137 + i32.store8 $drop=, sE+3($pop142), $pop13 + i32.const $push136=, 0 + i32.const $push135=, 1103515245 + i32.mul $push14=, $0, $pop135 + i32.const $push134=, 12345 + i32.add $push133=, $pop14, $pop134 + tee_local $push132=, $0=, $pop133 + i32.const $push131=, 16 + i32.shr_u $push15=, $pop132, $pop131 + i32.store8 $drop=, sE+4($pop136), $pop15 + i32.const $push130=, 0 + i32.const $push129=, 1103515245 + i32.mul $push16=, $0, $pop129 + i32.const $push128=, 12345 + i32.add $push127=, $pop16, $pop128 + tee_local $push126=, $0=, $pop127 + i32.const $push125=, 16 + i32.shr_u $push17=, $pop126, $pop125 + i32.store8 $drop=, sE+5($pop130), $pop17 + i32.const $push124=, 0 + i32.const $push123=, 1103515245 + i32.mul $push18=, $0, $pop123 + i32.const $push122=, 12345 + i32.add $push121=, $pop18, $pop122 + tee_local $push120=, $0=, $pop121 + i32.const $push119=, 16 + i32.shr_u $push19=, $pop120, $pop119 + i32.store8 $drop=, sE+6($pop124), $pop19 + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push20=, $0, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop20, $pop116 + tee_local $push114=, $0=, $pop115 + i32.const $push113=, 16 + i32.shr_u $push21=, $pop114, $pop113 + i32.store8 $drop=, sE+7($pop118), $pop21 + i32.const $push112=, 0 + i32.const $push111=, 1103515245 + i32.mul $push22=, $0, $pop111 + i32.const $push110=, 12345 + i32.add $push109=, $pop22, $pop110 + tee_local $push108=, $0=, $pop109 + i32.const $push107=, 16 + i32.shr_u $push23=, $pop108, $pop107 + i32.store8 $drop=, sE+8($pop112), $pop23 + i32.const $push106=, 0 + i32.const $push105=, 1103515245 + i32.mul $push24=, $0, $pop105 + i32.const $push104=, 12345 + i32.add $push103=, $pop24, $pop104 + tee_local $push102=, $0=, $pop103 + i32.const $push101=, 16 + i32.shr_u $push25=, $pop102, $pop101 + i32.store8 $drop=, sE+9($pop106), $pop25 + i32.const $push100=, 0 + i32.const $push99=, 1103515245 + i32.mul $push26=, $0, $pop99 + i32.const $push98=, 12345 + i32.add $push97=, $pop26, $pop98 + tee_local $push96=, $0=, $pop97 + i32.const $push95=, 16 + i32.shr_u $push27=, $pop96, $pop95 + i32.store8 $drop=, sE+10($pop100), $pop27 + i32.const $push94=, 0 + i32.const $push93=, 1103515245 + i32.mul $push28=, $0, $pop93 + i32.const $push92=, 12345 + i32.add $push91=, $pop28, $pop92 + tee_local $push90=, $0=, $pop91 + i32.const $push89=, 16 + i32.shr_u $push29=, $pop90, $pop89 + i32.store8 $drop=, sE+11($pop94), $pop29 + i32.const $push88=, 0 + i32.const $push87=, 1103515245 + i32.mul $push30=, $0, $pop87 + i32.const $push86=, 12345 + i32.add $push85=, $pop30, $pop86 + tee_local $push84=, $0=, $pop85 + i32.const $push83=, 16 + i32.shr_u $push31=, $pop84, $pop83 + i32.store8 $drop=, sE+12($pop88), $pop31 + i32.const $push82=, 0 + i32.const $push81=, 1103515245 + i32.mul $push32=, $0, $pop81 + i32.const $push80=, 12345 + i32.add $push79=, $pop32, $pop80 + tee_local $push78=, $0=, $pop79 + i32.const $push77=, 16 + i32.shr_u $push33=, $pop78, $pop77 + i32.store8 $drop=, sE+13($pop82), $pop33 + i32.const $push76=, 0 + i32.const $push75=, 1103515245 + i32.mul $push34=, $0, $pop75 + i32.const $push74=, 12345 + i32.add $push73=, $pop34, $pop74 + tee_local $push72=, $0=, $pop73 + i32.const $push71=, 16 + i32.shr_u $push35=, $pop72, $pop71 + i32.store8 $drop=, sE+14($pop76), $pop35 + i32.const $push70=, 0 + i32.const $push69=, 1103515245 + i32.mul $push36=, $0, $pop69 + i32.const $push68=, 12345 + i32.add $push67=, $pop36, $pop68 + tee_local $push66=, $0=, $pop67 + i32.const $push65=, 16 + i32.shr_u $push37=, $pop66, $pop65 + i32.store8 $drop=, sE+15($pop70), $pop37 i32.const $push64=, 0 - i32.const $push39=, -341751747 - i32.mul $push40=, $0, $pop39 - i32.const $push41=, 229283573 - i32.add $push63=, $pop40, $pop41 - tee_local $push62=, $0=, $pop63 - i32.const $push61=, 1103515245 - i32.mul $push45=, $pop62, $pop61 - i32.const $push60=, 12345 - i32.add $push46=, $pop45, $pop60 - i32.store $push0=, myrnd.s($pop64), $pop46 - i32.const $push59=, 16 - i32.shr_u $push47=, $pop0, $pop59 - i32.const $push43=, 2047 - i32.and $push48=, $pop47, $pop43 - i32.const $push58=, 16 - i32.shr_u $push42=, $0, $pop58 - i32.const $push57=, 2047 - i32.and $push44=, $pop42, $pop57 - i32.add $push51=, $pop48, $pop44 - i64.extend_u/i32 $push52=, $pop51 - i64.const $push53=, 35 - i64.shl $push54=, $pop52, $pop53 - i32.const $push56=, 0 - i64.load $push38=, sE+8($pop56) - i64.const $push49=, 34359738367 - i64.and $push50=, $pop38, $pop49 - i64.or $push55=, $pop54, $pop50 - i64.store $drop=, sE+8($pop65), $pop55 - return + i64.load $1=, sE+8($pop64) + i32.const $push63=, 0 + i32.const $push62=, 0 + i32.const $push38=, -341751747 + i32.mul $push39=, $0, $pop38 + i32.const $push40=, 229283573 + i32.add $push61=, $pop39, $pop40 + tee_local $push60=, $0=, $pop61 + i32.const $push59=, 1103515245 + i32.mul $push41=, $pop60, $pop59 + i32.const $push58=, 12345 + i32.add $push42=, $pop41, $pop58 + i32.store $push0=, myrnd.s($pop62), $pop42 + i32.const $push57=, 16 + i32.shr_u $push46=, $pop0, $pop57 + i32.const $push44=, 2047 + i32.and $push47=, $pop46, $pop44 + i32.const $push56=, 16 + i32.shr_u $push43=, $0, $pop56 + i32.const $push55=, 2047 + i32.and $push45=, $pop43, $pop55 + i32.add $push48=, $pop47, $pop45 + i64.extend_u/i32 $push49=, $pop48 + i64.const $push50=, 35 + i64.shl $push51=, $pop49, $pop50 + i64.const $push52=, 34359738367 + i64.and $push53=, $1, $pop52 + i64.or $push54=, $pop51, $pop53 + i64.store $drop=, sE+8($pop63), $pop54 + # fallthrough-return .endfunc .Lfunc_end30: .size testE, .Lfunc_end30-testE @@ -1359,17 +1353,16 @@ testE: # @testE .type retmeF,@function retmeF: # @retmeF .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end31: .size retmeF, .Lfunc_end31-retmeF @@ -1390,7 +1383,7 @@ fn1F: # @fn1F i32.add $push5=, $pop4, $0 i32.const $push6=, 536870911 i32.and $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end32: .size fn1F, .Lfunc_end32-fn1F @@ -1413,7 +1406,7 @@ fn2F: # @fn2F i32.and $push7=, $pop5, $pop6 i32.const $push8=, 15 i32.rem_u $push9=, $pop7, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end33: .size fn2F, .Lfunc_end33-fn2F @@ -1430,7 +1423,7 @@ retitF: # @retitF i64.const $push2=, 35 i64.shr_u $push3=, $pop1, $pop2 i32.wrap/i64 $push4=, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end34: .size retitF, .Lfunc_end34-retitF @@ -1448,21 +1441,21 @@ fn3F: # @fn3F i32.const $push16=, 0 i64.load $push15=, sF($pop16) tee_local $push14=, $1=, $pop15 - i64.const $push1=, 35 - i64.shr_u $push2=, $pop14, $pop1 - i32.wrap/i64 $push3=, $pop2 - i32.add $push13=, $pop3, $0 + i64.const $push3=, 35 + i64.shr_u $push4=, $pop14, $pop3 + i32.wrap/i64 $push5=, $pop4 + i32.add $push13=, $pop5, $0 tee_local $push12=, $0=, $pop13 - i64.extend_u/i32 $push4=, $pop12 + i64.extend_u/i32 $push6=, $pop12 i64.const $push11=, 35 - i64.shl $push5=, $pop4, $pop11 - i64.const $push6=, 34359738367 - i64.and $push7=, $1, $pop6 - i64.or $push8=, $pop5, $pop7 + i64.shl $push7=, $pop6, $pop11 + i64.const $push1=, 34359738367 + i64.and $push2=, $1, $pop1 + i64.or $push8=, $pop7, $pop2 i64.store $drop=, sF($pop0), $pop8 i32.const $push9=, 536870911 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end35: .size fn3F, .Lfunc_end35-fn3F @@ -1472,185 +1465,185 @@ fn3F: # @fn3F .globl testF .type testF,@function testF: # @testF - .local i32 + .local i32, i64 # BB#0: # %if.end136 i32.const $push1=, 0 - i32.const $push158=, 0 - i32.load $push2=, myrnd.s($pop158) + i32.const $push157=, 0 + i32.load $push2=, myrnd.s($pop157) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push157=, $pop4, $pop5 - tee_local $push156=, $0=, $pop157 + i32.add $push156=, $pop4, $pop5 + tee_local $push155=, $0=, $pop156 i32.const $push6=, 16 - i32.shr_u $push7=, $pop156, $pop6 + i32.shr_u $push7=, $pop155, $pop6 i32.store8 $drop=, sF($pop1), $pop7 - i32.const $push155=, 0 - i32.const $push154=, 1103515245 - i32.mul $push8=, $0, $pop154 - i32.const $push153=, 12345 - i32.add $push152=, $pop8, $pop153 - tee_local $push151=, $0=, $pop152 - i32.const $push150=, 16 - i32.shr_u $push9=, $pop151, $pop150 - i32.store8 $drop=, sF+1($pop155), $pop9 - i32.const $push149=, 0 - i32.const $push148=, 1103515245 - i32.mul $push10=, $0, $pop148 - i32.const $push147=, 12345 - i32.add $push146=, $pop10, $pop147 - tee_local $push145=, $0=, $pop146 - i32.const $push144=, 16 - i32.shr_u $push11=, $pop145, $pop144 - i32.store8 $drop=, sF+2($pop149), $pop11 - i32.const $push143=, 0 - i32.const $push142=, 1103515245 - i32.mul $push12=, $0, $pop142 - i32.const $push141=, 12345 - i32.add $push140=, $pop12, $pop141 - tee_local $push139=, $0=, $pop140 - i32.const $push138=, 16 - i32.shr_u $push13=, $pop139, $pop138 - i32.store8 $drop=, sF+3($pop143), $pop13 - i32.const $push137=, 0 - i32.const $push136=, 1103515245 - i32.mul $push14=, $0, $pop136 - i32.const $push135=, 12345 - i32.add $push134=, $pop14, $pop135 - tee_local $push133=, $0=, $pop134 - i32.const $push132=, 16 - i32.shr_u $push15=, $pop133, $pop132 - i32.store8 $drop=, sF+4($pop137), $pop15 - i32.const $push131=, 0 - i32.const $push130=, 1103515245 - i32.mul $push16=, $0, $pop130 - i32.const $push129=, 12345 - i32.add $push128=, $pop16, $pop129 - tee_local $push127=, $0=, $pop128 - i32.const $push126=, 16 - i32.shr_u $push17=, $pop127, $pop126 - i32.store8 $drop=, sF+5($pop131), $pop17 - i32.const $push125=, 0 - i32.const $push124=, 1103515245 - i32.mul $push18=, $0, $pop124 - i32.const $push123=, 12345 - i32.add $push122=, $pop18, $pop123 - tee_local $push121=, $0=, $pop122 - i32.const $push120=, 16 - i32.shr_u $push19=, $pop121, $pop120 - i32.store8 $drop=, sF+6($pop125), $pop19 - i32.const $push119=, 0 - i32.const $push118=, 1103515245 - i32.mul $push20=, $0, $pop118 - i32.const $push117=, 12345 - i32.add $push116=, $pop20, $pop117 - tee_local $push115=, $0=, $pop116 - i32.const $push114=, 16 - i32.shr_u $push21=, $pop115, $pop114 - i32.store8 $drop=, sF+7($pop119), $pop21 - i32.const $push113=, 0 - i32.const $push112=, 1103515245 - i32.mul $push22=, $0, $pop112 - i32.const $push111=, 12345 - i32.add $push110=, $pop22, $pop111 - tee_local $push109=, $0=, $pop110 - i32.const $push108=, 16 - i32.shr_u $push23=, $pop109, $pop108 - i32.store8 $drop=, sF+8($pop113), $pop23 - i32.const $push107=, 0 - i32.const $push106=, 1103515245 - i32.mul $push24=, $0, $pop106 - i32.const $push105=, 12345 - i32.add $push104=, $pop24, $pop105 - tee_local $push103=, $0=, $pop104 - i32.const $push102=, 16 - i32.shr_u $push25=, $pop103, $pop102 - i32.store8 $drop=, sF+9($pop107), $pop25 - i32.const $push101=, 0 - i32.const $push100=, 1103515245 - i32.mul $push26=, $0, $pop100 - i32.const $push99=, 12345 - i32.add $push98=, $pop26, $pop99 - tee_local $push97=, $0=, $pop98 - i32.const $push96=, 16 - i32.shr_u $push27=, $pop97, $pop96 - i32.store8 $drop=, sF+10($pop101), $pop27 - i32.const $push95=, 0 - i32.const $push94=, 1103515245 - i32.mul $push28=, $0, $pop94 - i32.const $push93=, 12345 - i32.add $push92=, $pop28, $pop93 - tee_local $push91=, $0=, $pop92 - i32.const $push90=, 16 - i32.shr_u $push29=, $pop91, $pop90 - i32.store8 $drop=, sF+11($pop95), $pop29 - i32.const $push89=, 0 - i32.const $push88=, 1103515245 - i32.mul $push30=, $0, $pop88 - i32.const $push87=, 12345 - i32.add $push86=, $pop30, $pop87 - tee_local $push85=, $0=, $pop86 - i32.const $push84=, 16 - i32.shr_u $push31=, $pop85, $pop84 - i32.store8 $drop=, sF+12($pop89), $pop31 - i32.const $push83=, 0 - i32.const $push82=, 1103515245 - i32.mul $push32=, $0, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop32, $pop81 - tee_local $push79=, $0=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push33=, $pop79, $pop78 - i32.store8 $drop=, sF+13($pop83), $pop33 - i32.const $push77=, 0 - i32.const $push76=, 1103515245 - i32.mul $push34=, $0, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop34, $pop75 - tee_local $push73=, $0=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push35=, $pop73, $pop72 - i32.store8 $drop=, sF+14($pop77), $pop35 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push36=, $0, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop36, $pop69 - tee_local $push67=, $0=, $pop68 - i32.const $push66=, 16 - i32.shr_u $push37=, $pop67, $pop66 - i32.store8 $drop=, sF+15($pop71), $pop37 - i32.const $push65=, 0 + i32.const $push154=, 0 + i32.const $push153=, 1103515245 + i32.mul $push8=, $0, $pop153 + i32.const $push152=, 12345 + i32.add $push151=, $pop8, $pop152 + tee_local $push150=, $0=, $pop151 + i32.const $push149=, 16 + i32.shr_u $push9=, $pop150, $pop149 + i32.store8 $drop=, sF+1($pop154), $pop9 + i32.const $push148=, 0 + i32.const $push147=, 1103515245 + i32.mul $push10=, $0, $pop147 + i32.const $push146=, 12345 + i32.add $push145=, $pop10, $pop146 + tee_local $push144=, $0=, $pop145 + i32.const $push143=, 16 + i32.shr_u $push11=, $pop144, $pop143 + i32.store8 $drop=, sF+2($pop148), $pop11 + i32.const $push142=, 0 + i32.const $push141=, 1103515245 + i32.mul $push12=, $0, $pop141 + i32.const $push140=, 12345 + i32.add $push139=, $pop12, $pop140 + tee_local $push138=, $0=, $pop139 + i32.const $push137=, 16 + i32.shr_u $push13=, $pop138, $pop137 + i32.store8 $drop=, sF+3($pop142), $pop13 + i32.const $push136=, 0 + i32.const $push135=, 1103515245 + i32.mul $push14=, $0, $pop135 + i32.const $push134=, 12345 + i32.add $push133=, $pop14, $pop134 + tee_local $push132=, $0=, $pop133 + i32.const $push131=, 16 + i32.shr_u $push15=, $pop132, $pop131 + i32.store8 $drop=, sF+4($pop136), $pop15 + i32.const $push130=, 0 + i32.const $push129=, 1103515245 + i32.mul $push16=, $0, $pop129 + i32.const $push128=, 12345 + i32.add $push127=, $pop16, $pop128 + tee_local $push126=, $0=, $pop127 + i32.const $push125=, 16 + i32.shr_u $push17=, $pop126, $pop125 + i32.store8 $drop=, sF+5($pop130), $pop17 + i32.const $push124=, 0 + i32.const $push123=, 1103515245 + i32.mul $push18=, $0, $pop123 + i32.const $push122=, 12345 + i32.add $push121=, $pop18, $pop122 + tee_local $push120=, $0=, $pop121 + i32.const $push119=, 16 + i32.shr_u $push19=, $pop120, $pop119 + i32.store8 $drop=, sF+6($pop124), $pop19 + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push20=, $0, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop20, $pop116 + tee_local $push114=, $0=, $pop115 + i32.const $push113=, 16 + i32.shr_u $push21=, $pop114, $pop113 + i32.store8 $drop=, sF+7($pop118), $pop21 + i32.const $push112=, 0 + i32.const $push111=, 1103515245 + i32.mul $push22=, $0, $pop111 + i32.const $push110=, 12345 + i32.add $push109=, $pop22, $pop110 + tee_local $push108=, $0=, $pop109 + i32.const $push107=, 16 + i32.shr_u $push23=, $pop108, $pop107 + i32.store8 $drop=, sF+8($pop112), $pop23 + i32.const $push106=, 0 + i32.const $push105=, 1103515245 + i32.mul $push24=, $0, $pop105 + i32.const $push104=, 12345 + i32.add $push103=, $pop24, $pop104 + tee_local $push102=, $0=, $pop103 + i32.const $push101=, 16 + i32.shr_u $push25=, $pop102, $pop101 + i32.store8 $drop=, sF+9($pop106), $pop25 + i32.const $push100=, 0 + i32.const $push99=, 1103515245 + i32.mul $push26=, $0, $pop99 + i32.const $push98=, 12345 + i32.add $push97=, $pop26, $pop98 + tee_local $push96=, $0=, $pop97 + i32.const $push95=, 16 + i32.shr_u $push27=, $pop96, $pop95 + i32.store8 $drop=, sF+10($pop100), $pop27 + i32.const $push94=, 0 + i32.const $push93=, 1103515245 + i32.mul $push28=, $0, $pop93 + i32.const $push92=, 12345 + i32.add $push91=, $pop28, $pop92 + tee_local $push90=, $0=, $pop91 + i32.const $push89=, 16 + i32.shr_u $push29=, $pop90, $pop89 + i32.store8 $drop=, sF+11($pop94), $pop29 + i32.const $push88=, 0 + i32.const $push87=, 1103515245 + i32.mul $push30=, $0, $pop87 + i32.const $push86=, 12345 + i32.add $push85=, $pop30, $pop86 + tee_local $push84=, $0=, $pop85 + i32.const $push83=, 16 + i32.shr_u $push31=, $pop84, $pop83 + i32.store8 $drop=, sF+12($pop88), $pop31 + i32.const $push82=, 0 + i32.const $push81=, 1103515245 + i32.mul $push32=, $0, $pop81 + i32.const $push80=, 12345 + i32.add $push79=, $pop32, $pop80 + tee_local $push78=, $0=, $pop79 + i32.const $push77=, 16 + i32.shr_u $push33=, $pop78, $pop77 + i32.store8 $drop=, sF+13($pop82), $pop33 + i32.const $push76=, 0 + i32.const $push75=, 1103515245 + i32.mul $push34=, $0, $pop75 + i32.const $push74=, 12345 + i32.add $push73=, $pop34, $pop74 + tee_local $push72=, $0=, $pop73 + i32.const $push71=, 16 + i32.shr_u $push35=, $pop72, $pop71 + i32.store8 $drop=, sF+14($pop76), $pop35 + i32.const $push70=, 0 + i32.const $push69=, 1103515245 + i32.mul $push36=, $0, $pop69 + i32.const $push68=, 12345 + i32.add $push67=, $pop36, $pop68 + tee_local $push66=, $0=, $pop67 + i32.const $push65=, 16 + i32.shr_u $push37=, $pop66, $pop65 + i32.store8 $drop=, sF+15($pop70), $pop37 i32.const $push64=, 0 - i32.const $push39=, -341751747 - i32.mul $push40=, $0, $pop39 - i32.const $push41=, 229283573 - i32.add $push63=, $pop40, $pop41 - tee_local $push62=, $0=, $pop63 - i32.const $push61=, 1103515245 - i32.mul $push45=, $pop62, $pop61 - i32.const $push60=, 12345 - i32.add $push46=, $pop45, $pop60 - i32.store $push0=, myrnd.s($pop64), $pop46 - i32.const $push59=, 16 - i32.shr_u $push47=, $pop0, $pop59 - i32.const $push43=, 2047 - i32.and $push48=, $pop47, $pop43 - i32.const $push58=, 16 - i32.shr_u $push42=, $0, $pop58 - i32.const $push57=, 2047 - i32.and $push44=, $pop42, $pop57 - i32.add $push51=, $pop48, $pop44 - i64.extend_u/i32 $push52=, $pop51 - i64.const $push53=, 35 - i64.shl $push54=, $pop52, $pop53 - i32.const $push56=, 0 - i64.load $push38=, sF($pop56) - i64.const $push49=, 34359738367 - i64.and $push50=, $pop38, $pop49 - i64.or $push55=, $pop54, $pop50 - i64.store $drop=, sF($pop65), $pop55 - return + i64.load $1=, sF($pop64) + i32.const $push63=, 0 + i32.const $push62=, 0 + i32.const $push38=, -341751747 + i32.mul $push39=, $0, $pop38 + i32.const $push40=, 229283573 + i32.add $push61=, $pop39, $pop40 + tee_local $push60=, $0=, $pop61 + i32.const $push59=, 1103515245 + i32.mul $push41=, $pop60, $pop59 + i32.const $push58=, 12345 + i32.add $push42=, $pop41, $pop58 + i32.store $push0=, myrnd.s($pop62), $pop42 + i32.const $push57=, 16 + i32.shr_u $push46=, $pop0, $pop57 + i32.const $push44=, 2047 + i32.and $push47=, $pop46, $pop44 + i32.const $push56=, 16 + i32.shr_u $push43=, $0, $pop56 + i32.const $push55=, 2047 + i32.and $push45=, $pop43, $pop55 + i32.add $push48=, $pop47, $pop45 + i64.extend_u/i32 $push49=, $pop48 + i64.const $push50=, 35 + i64.shl $push51=, $pop49, $pop50 + i64.const $push52=, 34359738367 + i64.and $push53=, $1, $pop52 + i64.or $push54=, $pop51, $pop53 + i64.store $drop=, sF($pop63), $pop54 + # fallthrough-return .endfunc .Lfunc_end36: .size testF, .Lfunc_end36-testF @@ -1661,17 +1654,16 @@ testF: # @testF .type retmeG,@function retmeG: # @retmeG .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end37: .size retmeG, .Lfunc_end37-retmeG @@ -1684,14 +1676,14 @@ fn1G: # @fn1G .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $push1=, sG($pop0) - i32.const $push2=, 25 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.const $push2=, 0 + i32.load $push3=, sG($pop2) + i32.const $push0=, 25 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 25 i32.shr_u $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end38: .size fn1G, .Lfunc_end38-fn1G @@ -1713,7 +1705,7 @@ fn2G: # @fn2G i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end39: .size fn2G, .Lfunc_end39-fn2G @@ -1729,7 +1721,7 @@ retitG: # @retitG i32.load $push1=, sG($pop0) i32.const $push2=, 25 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end40: .size retitG, .Lfunc_end40-retitG @@ -1742,17 +1734,16 @@ fn3G: # @fn3G .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push3=, 0 i32.const $push8=, 0 - i32.load $push1=, sG($pop8) - i32.const $push2=, 25 - i32.shl $push3=, $0, $pop2 - i32.add $push7=, $pop1, $pop3 - tee_local $push6=, $0=, $pop7 - i32.store $drop=, sG($pop0), $pop6 - i32.const $push5=, 25 - i32.shr_u $push4=, $0, $pop5 - return $pop4 + i32.load $push4=, sG($pop8) + i32.const $push1=, 25 + i32.shl $push2=, $0, $pop1 + i32.add $push5=, $pop4, $pop2 + i32.store $push0=, sG($pop3), $pop5 + i32.const $push7=, 25 + i32.shr_u $push6=, $pop0, $pop7 + # fallthrough-return: $pop6 .endfunc .Lfunc_end41: .size fn3G, .Lfunc_end41-fn3G @@ -1762,233 +1753,232 @@ fn3G: # @fn3G .globl testG .type testG,@function testG: # @testG - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry i32.const $push183=, 0 i32.const $push182=, 0 - i32.load $push2=, myrnd.s($pop182) + i32.load $push4=, myrnd.s($pop182) i32.const $push181=, 1103515245 - i32.mul $push3=, $pop2, $pop181 + i32.mul $push5=, $pop4, $pop181 i32.const $push180=, 12345 - i32.add $push179=, $pop3, $pop180 - tee_local $push178=, $5=, $pop179 + i32.add $push179=, $pop5, $pop180 + tee_local $push178=, $1=, $pop179 i32.const $push177=, 16 - i32.shr_u $push4=, $pop178, $pop177 - i32.store8 $drop=, sG($pop183), $pop4 + i32.shr_u $push6=, $pop178, $pop177 + i32.store8 $drop=, sG($pop183), $pop6 i32.const $push176=, 0 i32.const $push175=, 1103515245 - i32.mul $push5=, $5, $pop175 + i32.mul $push7=, $1, $pop175 i32.const $push174=, 12345 - i32.add $push173=, $pop5, $pop174 - tee_local $push172=, $5=, $pop173 + i32.add $push173=, $pop7, $pop174 + tee_local $push172=, $1=, $pop173 i32.const $push171=, 16 - i32.shr_u $push6=, $pop172, $pop171 - i32.store8 $drop=, sG+1($pop176), $pop6 + i32.shr_u $push8=, $pop172, $pop171 + i32.store8 $drop=, sG+1($pop176), $pop8 i32.const $push170=, 0 i32.const $push169=, 1103515245 - i32.mul $push7=, $5, $pop169 + i32.mul $push9=, $1, $pop169 i32.const $push168=, 12345 - i32.add $push167=, $pop7, $pop168 - tee_local $push166=, $5=, $pop167 + i32.add $push167=, $pop9, $pop168 + tee_local $push166=, $1=, $pop167 i32.const $push165=, 16 - i32.shr_u $push8=, $pop166, $pop165 - i32.store8 $drop=, sG+2($pop170), $pop8 + i32.shr_u $push10=, $pop166, $pop165 + i32.store8 $drop=, sG+2($pop170), $pop10 i32.const $push164=, 0 i32.const $push163=, 1103515245 - i32.mul $push9=, $5, $pop163 + i32.mul $push11=, $1, $pop163 i32.const $push162=, 12345 - i32.add $push161=, $pop9, $pop162 - tee_local $push160=, $5=, $pop161 + i32.add $push161=, $pop11, $pop162 + tee_local $push160=, $1=, $pop161 i32.const $push159=, 16 - i32.shr_u $push10=, $pop160, $pop159 - i32.store8 $drop=, sG+3($pop164), $pop10 + i32.shr_u $push12=, $pop160, $pop159 + i32.store8 $drop=, sG+3($pop164), $pop12 i32.const $push158=, 0 i32.const $push157=, 1103515245 - i32.mul $push11=, $5, $pop157 + i32.mul $push13=, $1, $pop157 i32.const $push156=, 12345 - i32.add $push155=, $pop11, $pop156 - tee_local $push154=, $5=, $pop155 + i32.add $push155=, $pop13, $pop156 + tee_local $push154=, $1=, $pop155 i32.const $push153=, 16 - i32.shr_u $push12=, $pop154, $pop153 - i32.store8 $drop=, sG+4($pop158), $pop12 + i32.shr_u $push14=, $pop154, $pop153 + i32.store8 $drop=, sG+4($pop158), $pop14 i32.const $push152=, 0 i32.const $push151=, 1103515245 - i32.mul $push13=, $5, $pop151 + i32.mul $push15=, $1, $pop151 i32.const $push150=, 12345 - i32.add $push149=, $pop13, $pop150 - tee_local $push148=, $5=, $pop149 + i32.add $push149=, $pop15, $pop150 + tee_local $push148=, $1=, $pop149 i32.const $push147=, 16 - i32.shr_u $push14=, $pop148, $pop147 - i32.store8 $drop=, sG+5($pop152), $pop14 + i32.shr_u $push16=, $pop148, $pop147 + i32.store8 $drop=, sG+5($pop152), $pop16 i32.const $push146=, 0 i32.const $push145=, 1103515245 - i32.mul $push15=, $5, $pop145 + i32.mul $push17=, $1, $pop145 i32.const $push144=, 12345 - i32.add $push143=, $pop15, $pop144 - tee_local $push142=, $5=, $pop143 + i32.add $push143=, $pop17, $pop144 + tee_local $push142=, $1=, $pop143 i32.const $push141=, 16 - i32.shr_u $push16=, $pop142, $pop141 - i32.store8 $drop=, sG+6($pop146), $pop16 + i32.shr_u $push18=, $pop142, $pop141 + i32.store8 $drop=, sG+6($pop146), $pop18 i32.const $push140=, 0 i32.const $push139=, 1103515245 - i32.mul $push17=, $5, $pop139 + i32.mul $push19=, $1, $pop139 i32.const $push138=, 12345 - i32.add $push137=, $pop17, $pop138 - tee_local $push136=, $5=, $pop137 + i32.add $push137=, $pop19, $pop138 + tee_local $push136=, $1=, $pop137 i32.const $push135=, 16 - i32.shr_u $push18=, $pop136, $pop135 - i32.store8 $drop=, sG+7($pop140), $pop18 + i32.shr_u $push20=, $pop136, $pop135 + i32.store8 $drop=, sG+7($pop140), $pop20 i32.const $push134=, 0 i32.const $push133=, 1103515245 - i32.mul $push19=, $5, $pop133 + i32.mul $push21=, $1, $pop133 i32.const $push132=, 12345 - i32.add $push131=, $pop19, $pop132 - tee_local $push130=, $5=, $pop131 + i32.add $push131=, $pop21, $pop132 + tee_local $push130=, $1=, $pop131 i32.const $push129=, 16 - i32.shr_u $push20=, $pop130, $pop129 - i32.store8 $drop=, sG+8($pop134), $pop20 + i32.shr_u $push22=, $pop130, $pop129 + i32.store8 $drop=, sG+8($pop134), $pop22 i32.const $push128=, 0 i32.const $push127=, 1103515245 - i32.mul $push21=, $5, $pop127 + i32.mul $push23=, $1, $pop127 i32.const $push126=, 12345 - i32.add $push125=, $pop21, $pop126 - tee_local $push124=, $5=, $pop125 + i32.add $push125=, $pop23, $pop126 + tee_local $push124=, $1=, $pop125 i32.const $push123=, 16 - i32.shr_u $push22=, $pop124, $pop123 - i32.store8 $drop=, sG+9($pop128), $pop22 + i32.shr_u $push24=, $pop124, $pop123 + i32.store8 $drop=, sG+9($pop128), $pop24 i32.const $push122=, 0 i32.const $push121=, 1103515245 - i32.mul $push23=, $5, $pop121 + i32.mul $push25=, $1, $pop121 i32.const $push120=, 12345 - i32.add $push119=, $pop23, $pop120 - tee_local $push118=, $5=, $pop119 + i32.add $push119=, $pop25, $pop120 + tee_local $push118=, $1=, $pop119 i32.const $push117=, 16 - i32.shr_u $push24=, $pop118, $pop117 - i32.store8 $drop=, sG+10($pop122), $pop24 + i32.shr_u $push26=, $pop118, $pop117 + i32.store8 $drop=, sG+10($pop122), $pop26 i32.const $push116=, 0 i32.const $push115=, 1103515245 - i32.mul $push25=, $5, $pop115 + i32.mul $push27=, $1, $pop115 i32.const $push114=, 12345 - i32.add $push113=, $pop25, $pop114 - tee_local $push112=, $5=, $pop113 + i32.add $push113=, $pop27, $pop114 + tee_local $push112=, $1=, $pop113 i32.const $push111=, 16 - i32.shr_u $push26=, $pop112, $pop111 - i32.store8 $drop=, sG+11($pop116), $pop26 + i32.shr_u $push28=, $pop112, $pop111 + i32.store8 $drop=, sG+11($pop116), $pop28 i32.const $push110=, 0 i32.const $push109=, 1103515245 - i32.mul $push27=, $5, $pop109 + i32.mul $push29=, $1, $pop109 i32.const $push108=, 12345 - i32.add $push107=, $pop27, $pop108 - tee_local $push106=, $5=, $pop107 + i32.add $push107=, $pop29, $pop108 + tee_local $push106=, $1=, $pop107 i32.const $push105=, 16 - i32.shr_u $push28=, $pop106, $pop105 - i32.store8 $drop=, sG+12($pop110), $pop28 + i32.shr_u $push30=, $pop106, $pop105 + i32.store8 $drop=, sG+12($pop110), $pop30 i32.const $push104=, 0 i32.const $push103=, 1103515245 - i32.mul $push29=, $5, $pop103 + i32.mul $push31=, $1, $pop103 i32.const $push102=, 12345 - i32.add $push101=, $pop29, $pop102 - tee_local $push100=, $5=, $pop101 + i32.add $push101=, $pop31, $pop102 + tee_local $push100=, $1=, $pop101 i32.const $push99=, 16 - i32.shr_u $push30=, $pop100, $pop99 - i32.store8 $drop=, sG+13($pop104), $pop30 + i32.shr_u $push32=, $pop100, $pop99 + i32.store8 $drop=, sG+13($pop104), $pop32 i32.const $push98=, 0 i32.const $push97=, 1103515245 - i32.mul $push31=, $5, $pop97 + i32.mul $push33=, $1, $pop97 i32.const $push96=, 12345 - i32.add $push95=, $pop31, $pop96 - tee_local $push94=, $5=, $pop95 + i32.add $push95=, $pop33, $pop96 + tee_local $push94=, $1=, $pop95 i32.const $push93=, 16 - i32.shr_u $push32=, $pop94, $pop93 - i32.store8 $drop=, sG+14($pop98), $pop32 + i32.shr_u $push34=, $pop94, $pop93 + i32.store8 $drop=, sG+14($pop98), $pop34 i32.const $push92=, 0 i32.const $push91=, 1103515245 - i32.mul $push33=, $5, $pop91 + i32.mul $push35=, $1, $pop91 i32.const $push90=, 12345 - i32.add $push89=, $pop33, $pop90 - tee_local $push88=, $5=, $pop89 + i32.add $push89=, $pop35, $pop90 + tee_local $push88=, $2=, $pop89 i32.const $push87=, 16 - i32.shr_u $push34=, $pop88, $pop87 - i32.store8 $drop=, sG+15($pop92), $pop34 + i32.shr_u $push36=, $pop88, $pop87 + i32.store8 $drop=, sG+15($pop92), $pop36 i32.const $push86=, 0 - i32.const $push85=, 1103515245 - i32.mul $push35=, $5, $pop85 - i32.const $push84=, 12345 - i32.add $push83=, $pop35, $pop84 - tee_local $push82=, $5=, $pop83 - i32.const $push81=, 16 - i32.shr_u $push80=, $pop82, $pop81 - tee_local $push79=, $4=, $pop80 - i32.const $push78=, 25 - i32.shl $push37=, $pop79, $pop78 - i32.const $push77=, 0 - i32.load $push76=, sG($pop77) - tee_local $push75=, $3=, $pop76 - i32.const $push74=, 33554431 - i32.and $push73=, $pop75, $pop74 - tee_local $push72=, $2=, $pop73 - i32.or $push38=, $pop37, $pop72 - i32.store $1=, sG($pop86), $pop38 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push36=, $5, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop36, $pop69 - tee_local $push67=, $5=, $pop68 - i32.store $0=, myrnd.s($pop71), $pop67 + i32.load $1=, sG($pop86) block - i32.const $push66=, 16 - i32.shr_u $push65=, $5, $pop66 - tee_local $push64=, $5=, $pop65 - i32.add $push42=, $pop64, $4 - i32.const $push43=, 127 - i32.and $push44=, $pop42, $pop43 - i32.const $push63=, 25 - i32.shl $push39=, $5, $pop63 - i32.add $push40=, $1, $pop39 - i32.const $push62=, 25 - i32.shr_u $push41=, $pop40, $pop62 - i32.ne $push45=, $pop44, $pop41 - br_if 0, $pop45 # 0: down to label3 + i32.const $push85=, 0 + i32.const $push84=, 1103515245 + i32.mul $push37=, $2, $pop84 + i32.const $push83=, 12345 + i32.add $push82=, $pop37, $pop83 + tee_local $push81=, $2=, $pop82 + i32.const $push80=, 1103515245 + i32.mul $push38=, $pop81, $pop80 + i32.const $push79=, 12345 + i32.add $push2=, $pop38, $pop79 + i32.store $push78=, myrnd.s($pop85), $pop2 + tee_local $push77=, $0=, $pop78 + i32.const $push76=, 16 + i32.shr_u $push75=, $pop77, $pop76 + tee_local $push74=, $3=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push72=, $2, $pop73 + tee_local $push71=, $2=, $pop72 + i32.add $push41=, $pop74, $pop71 + i32.const $push42=, 127 + i32.and $push43=, $pop41, $pop42 + i32.const $push70=, 25 + i32.shl $push44=, $3, $pop70 + i32.const $push69=, 0 + i32.const $push68=, 25 + i32.shl $push39=, $2, $pop68 + i32.const $push67=, 33554431 + i32.and $push66=, $1, $pop67 + tee_local $push65=, $2=, $pop66 + i32.or $push40=, $pop39, $pop65 + i32.store $push0=, sG($pop69), $pop40 + i32.add $push45=, $pop44, $pop0 + i32.const $push64=, 25 + i32.shr_u $push46=, $pop45, $pop64 + i32.ne $push47=, $pop43, $pop46 + br_if 0, $pop47 # 0: down to label3 # BB#1: # %if.end76 i32.const $push200=, 0 i32.const $push199=, 0 - i32.const $push46=, -2139243339 - i32.mul $push47=, $0, $pop46 - i32.const $push48=, -1492899873 - i32.add $push198=, $pop47, $pop48 - tee_local $push197=, $5=, $pop198 + i32.const $push48=, -2139243339 + i32.mul $push49=, $0, $pop48 + i32.const $push50=, -1492899873 + i32.add $push198=, $pop49, $pop50 + tee_local $push197=, $3=, $pop198 i32.const $push196=, 1103515245 - i32.mul $push49=, $pop197, $pop196 + i32.mul $push51=, $pop197, $pop196 i32.const $push195=, 12345 - i32.add $push50=, $pop49, $pop195 - i32.store $push0=, myrnd.s($pop199), $pop50 + i32.add $push52=, $pop51, $pop195 + i32.store $push1=, myrnd.s($pop199), $pop52 i32.const $push194=, 16 - i32.shr_u $push193=, $pop0, $pop194 - tee_local $push192=, $4=, $pop193 + i32.shr_u $push193=, $pop1, $pop194 + tee_local $push192=, $0=, $pop193 i32.const $push191=, 25 - i32.shl $push53=, $pop192, $pop191 + i32.shl $push55=, $pop192, $pop191 i32.const $push190=, 16 - i32.shr_u $push189=, $5, $pop190 - tee_local $push188=, $5=, $pop189 + i32.shr_u $push189=, $3, $pop190 + tee_local $push188=, $3=, $pop189 i32.const $push187=, 25 - i32.shl $push51=, $pop188, $pop187 - i32.or $push52=, $pop51, $2 - i32.add $push1=, $pop53, $pop52 - i32.store $push186=, sG($pop200), $pop1 - tee_local $push185=, $1=, $pop186 - i32.xor $push54=, $pop185, $3 + i32.shl $push53=, $pop188, $pop187 + i32.or $push54=, $pop53, $2 + i32.add $push3=, $pop55, $pop54 + i32.store $push186=, sG($pop200), $pop3 + tee_local $push185=, $2=, $pop186 + i32.xor $push56=, $pop185, $1 i32.const $push184=, 33554431 - i32.and $push55=, $pop54, $pop184 - br_if 0, $pop55 # 0: down to label3 + i32.and $push57=, $pop56, $pop184 + br_if 0, $pop57 # 0: down to label3 # BB#2: # %lor.lhs.false109 - i32.add $push58=, $4, $5 - i32.const $push59=, 127 - i32.and $push60=, $pop58, $pop59 - i32.const $push56=, 25 - i32.shr_u $push57=, $1, $pop56 - i32.ne $push61=, $pop60, $pop57 - br_if 0, $pop61 # 0: down to label3 + i32.add $push60=, $0, $3 + i32.const $push61=, 127 + i32.and $push62=, $pop60, $pop61 + i32.const $push58=, 25 + i32.shr_u $push59=, $2, $pop58 + i32.ne $push63=, $pop62, $pop59 + br_if 0, $pop63 # 0: down to label3 # BB#3: # %if.end115 return .LBB42_4: # %if.then114 @@ -2005,17 +1995,16 @@ testG: # @testG .type retmeH,@function retmeH: # @retmeH .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end43: .size retmeH, .Lfunc_end43-retmeH @@ -2028,14 +2017,14 @@ fn1H: # @fn1H .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $push1=, sH($pop0) - i32.const $push2=, 23 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.const $push2=, 0 + i32.load $push3=, sH($pop2) + i32.const $push0=, 23 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 23 i32.shr_u $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end44: .size fn1H, .Lfunc_end44-fn1H @@ -2057,7 +2046,7 @@ fn2H: # @fn2H i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end45: .size fn2H, .Lfunc_end45-fn2H @@ -2073,7 +2062,7 @@ retitH: # @retitH i32.load $push1=, sH($pop0) i32.const $push2=, 23 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end46: .size retitH, .Lfunc_end46-retitH @@ -2086,17 +2075,16 @@ fn3H: # @fn3H .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push3=, 0 i32.const $push8=, 0 - i32.load $push1=, sH($pop8) - i32.const $push2=, 23 - i32.shl $push3=, $0, $pop2 - i32.add $push7=, $pop1, $pop3 - tee_local $push6=, $0=, $pop7 - i32.store $drop=, sH($pop0), $pop6 - i32.const $push5=, 23 - i32.shr_u $push4=, $0, $pop5 - return $pop4 + i32.load $push4=, sH($pop8) + i32.const $push1=, 23 + i32.shl $push2=, $0, $pop1 + i32.add $push5=, $pop4, $pop2 + i32.store $push0=, sH($pop3), $pop5 + i32.const $push7=, 23 + i32.shr_u $push6=, $pop0, $pop7 + # fallthrough-return: $pop6 .endfunc .Lfunc_end47: .size fn3H, .Lfunc_end47-fn3H @@ -2106,233 +2094,232 @@ fn3H: # @fn3H .globl testH .type testH,@function testH: # @testH - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry i32.const $push183=, 0 i32.const $push182=, 0 - i32.load $push2=, myrnd.s($pop182) + i32.load $push4=, myrnd.s($pop182) i32.const $push181=, 1103515245 - i32.mul $push3=, $pop2, $pop181 + i32.mul $push5=, $pop4, $pop181 i32.const $push180=, 12345 - i32.add $push179=, $pop3, $pop180 - tee_local $push178=, $5=, $pop179 + i32.add $push179=, $pop5, $pop180 + tee_local $push178=, $1=, $pop179 i32.const $push177=, 16 - i32.shr_u $push4=, $pop178, $pop177 - i32.store8 $drop=, sH($pop183), $pop4 + i32.shr_u $push6=, $pop178, $pop177 + i32.store8 $drop=, sH($pop183), $pop6 i32.const $push176=, 0 i32.const $push175=, 1103515245 - i32.mul $push5=, $5, $pop175 + i32.mul $push7=, $1, $pop175 i32.const $push174=, 12345 - i32.add $push173=, $pop5, $pop174 - tee_local $push172=, $5=, $pop173 + i32.add $push173=, $pop7, $pop174 + tee_local $push172=, $1=, $pop173 i32.const $push171=, 16 - i32.shr_u $push6=, $pop172, $pop171 - i32.store8 $drop=, sH+1($pop176), $pop6 + i32.shr_u $push8=, $pop172, $pop171 + i32.store8 $drop=, sH+1($pop176), $pop8 i32.const $push170=, 0 i32.const $push169=, 1103515245 - i32.mul $push7=, $5, $pop169 + i32.mul $push9=, $1, $pop169 i32.const $push168=, 12345 - i32.add $push167=, $pop7, $pop168 - tee_local $push166=, $5=, $pop167 + i32.add $push167=, $pop9, $pop168 + tee_local $push166=, $1=, $pop167 i32.const $push165=, 16 - i32.shr_u $push8=, $pop166, $pop165 - i32.store8 $drop=, sH+2($pop170), $pop8 + i32.shr_u $push10=, $pop166, $pop165 + i32.store8 $drop=, sH+2($pop170), $pop10 i32.const $push164=, 0 i32.const $push163=, 1103515245 - i32.mul $push9=, $5, $pop163 + i32.mul $push11=, $1, $pop163 i32.const $push162=, 12345 - i32.add $push161=, $pop9, $pop162 - tee_local $push160=, $5=, $pop161 + i32.add $push161=, $pop11, $pop162 + tee_local $push160=, $1=, $pop161 i32.const $push159=, 16 - i32.shr_u $push10=, $pop160, $pop159 - i32.store8 $drop=, sH+3($pop164), $pop10 + i32.shr_u $push12=, $pop160, $pop159 + i32.store8 $drop=, sH+3($pop164), $pop12 i32.const $push158=, 0 i32.const $push157=, 1103515245 - i32.mul $push11=, $5, $pop157 + i32.mul $push13=, $1, $pop157 i32.const $push156=, 12345 - i32.add $push155=, $pop11, $pop156 - tee_local $push154=, $5=, $pop155 + i32.add $push155=, $pop13, $pop156 + tee_local $push154=, $1=, $pop155 i32.const $push153=, 16 - i32.shr_u $push12=, $pop154, $pop153 - i32.store8 $drop=, sH+4($pop158), $pop12 + i32.shr_u $push14=, $pop154, $pop153 + i32.store8 $drop=, sH+4($pop158), $pop14 i32.const $push152=, 0 i32.const $push151=, 1103515245 - i32.mul $push13=, $5, $pop151 + i32.mul $push15=, $1, $pop151 i32.const $push150=, 12345 - i32.add $push149=, $pop13, $pop150 - tee_local $push148=, $5=, $pop149 + i32.add $push149=, $pop15, $pop150 + tee_local $push148=, $1=, $pop149 i32.const $push147=, 16 - i32.shr_u $push14=, $pop148, $pop147 - i32.store8 $drop=, sH+5($pop152), $pop14 + i32.shr_u $push16=, $pop148, $pop147 + i32.store8 $drop=, sH+5($pop152), $pop16 i32.const $push146=, 0 i32.const $push145=, 1103515245 - i32.mul $push15=, $5, $pop145 + i32.mul $push17=, $1, $pop145 i32.const $push144=, 12345 - i32.add $push143=, $pop15, $pop144 - tee_local $push142=, $5=, $pop143 + i32.add $push143=, $pop17, $pop144 + tee_local $push142=, $1=, $pop143 i32.const $push141=, 16 - i32.shr_u $push16=, $pop142, $pop141 - i32.store8 $drop=, sH+6($pop146), $pop16 + i32.shr_u $push18=, $pop142, $pop141 + i32.store8 $drop=, sH+6($pop146), $pop18 i32.const $push140=, 0 i32.const $push139=, 1103515245 - i32.mul $push17=, $5, $pop139 + i32.mul $push19=, $1, $pop139 i32.const $push138=, 12345 - i32.add $push137=, $pop17, $pop138 - tee_local $push136=, $5=, $pop137 + i32.add $push137=, $pop19, $pop138 + tee_local $push136=, $1=, $pop137 i32.const $push135=, 16 - i32.shr_u $push18=, $pop136, $pop135 - i32.store8 $drop=, sH+7($pop140), $pop18 + i32.shr_u $push20=, $pop136, $pop135 + i32.store8 $drop=, sH+7($pop140), $pop20 i32.const $push134=, 0 i32.const $push133=, 1103515245 - i32.mul $push19=, $5, $pop133 + i32.mul $push21=, $1, $pop133 i32.const $push132=, 12345 - i32.add $push131=, $pop19, $pop132 - tee_local $push130=, $5=, $pop131 + i32.add $push131=, $pop21, $pop132 + tee_local $push130=, $1=, $pop131 i32.const $push129=, 16 - i32.shr_u $push20=, $pop130, $pop129 - i32.store8 $drop=, sH+8($pop134), $pop20 + i32.shr_u $push22=, $pop130, $pop129 + i32.store8 $drop=, sH+8($pop134), $pop22 i32.const $push128=, 0 i32.const $push127=, 1103515245 - i32.mul $push21=, $5, $pop127 + i32.mul $push23=, $1, $pop127 i32.const $push126=, 12345 - i32.add $push125=, $pop21, $pop126 - tee_local $push124=, $5=, $pop125 + i32.add $push125=, $pop23, $pop126 + tee_local $push124=, $1=, $pop125 i32.const $push123=, 16 - i32.shr_u $push22=, $pop124, $pop123 - i32.store8 $drop=, sH+9($pop128), $pop22 + i32.shr_u $push24=, $pop124, $pop123 + i32.store8 $drop=, sH+9($pop128), $pop24 i32.const $push122=, 0 i32.const $push121=, 1103515245 - i32.mul $push23=, $5, $pop121 + i32.mul $push25=, $1, $pop121 i32.const $push120=, 12345 - i32.add $push119=, $pop23, $pop120 - tee_local $push118=, $5=, $pop119 + i32.add $push119=, $pop25, $pop120 + tee_local $push118=, $1=, $pop119 i32.const $push117=, 16 - i32.shr_u $push24=, $pop118, $pop117 - i32.store8 $drop=, sH+10($pop122), $pop24 + i32.shr_u $push26=, $pop118, $pop117 + i32.store8 $drop=, sH+10($pop122), $pop26 i32.const $push116=, 0 i32.const $push115=, 1103515245 - i32.mul $push25=, $5, $pop115 + i32.mul $push27=, $1, $pop115 i32.const $push114=, 12345 - i32.add $push113=, $pop25, $pop114 - tee_local $push112=, $5=, $pop113 + i32.add $push113=, $pop27, $pop114 + tee_local $push112=, $1=, $pop113 i32.const $push111=, 16 - i32.shr_u $push26=, $pop112, $pop111 - i32.store8 $drop=, sH+11($pop116), $pop26 + i32.shr_u $push28=, $pop112, $pop111 + i32.store8 $drop=, sH+11($pop116), $pop28 i32.const $push110=, 0 i32.const $push109=, 1103515245 - i32.mul $push27=, $5, $pop109 + i32.mul $push29=, $1, $pop109 i32.const $push108=, 12345 - i32.add $push107=, $pop27, $pop108 - tee_local $push106=, $5=, $pop107 + i32.add $push107=, $pop29, $pop108 + tee_local $push106=, $1=, $pop107 i32.const $push105=, 16 - i32.shr_u $push28=, $pop106, $pop105 - i32.store8 $drop=, sH+12($pop110), $pop28 + i32.shr_u $push30=, $pop106, $pop105 + i32.store8 $drop=, sH+12($pop110), $pop30 i32.const $push104=, 0 i32.const $push103=, 1103515245 - i32.mul $push29=, $5, $pop103 + i32.mul $push31=, $1, $pop103 i32.const $push102=, 12345 - i32.add $push101=, $pop29, $pop102 - tee_local $push100=, $5=, $pop101 + i32.add $push101=, $pop31, $pop102 + tee_local $push100=, $1=, $pop101 i32.const $push99=, 16 - i32.shr_u $push30=, $pop100, $pop99 - i32.store8 $drop=, sH+13($pop104), $pop30 + i32.shr_u $push32=, $pop100, $pop99 + i32.store8 $drop=, sH+13($pop104), $pop32 i32.const $push98=, 0 i32.const $push97=, 1103515245 - i32.mul $push31=, $5, $pop97 + i32.mul $push33=, $1, $pop97 i32.const $push96=, 12345 - i32.add $push95=, $pop31, $pop96 - tee_local $push94=, $5=, $pop95 + i32.add $push95=, $pop33, $pop96 + tee_local $push94=, $1=, $pop95 i32.const $push93=, 16 - i32.shr_u $push32=, $pop94, $pop93 - i32.store8 $drop=, sH+14($pop98), $pop32 + i32.shr_u $push34=, $pop94, $pop93 + i32.store8 $drop=, sH+14($pop98), $pop34 i32.const $push92=, 0 i32.const $push91=, 1103515245 - i32.mul $push33=, $5, $pop91 + i32.mul $push35=, $1, $pop91 i32.const $push90=, 12345 - i32.add $push89=, $pop33, $pop90 - tee_local $push88=, $5=, $pop89 + i32.add $push89=, $pop35, $pop90 + tee_local $push88=, $2=, $pop89 i32.const $push87=, 16 - i32.shr_u $push34=, $pop88, $pop87 - i32.store8 $drop=, sH+15($pop92), $pop34 + i32.shr_u $push36=, $pop88, $pop87 + i32.store8 $drop=, sH+15($pop92), $pop36 i32.const $push86=, 0 - i32.const $push85=, 1103515245 - i32.mul $push35=, $5, $pop85 - i32.const $push84=, 12345 - i32.add $push83=, $pop35, $pop84 - tee_local $push82=, $5=, $pop83 - i32.const $push81=, 16 - i32.shr_u $push80=, $pop82, $pop81 - tee_local $push79=, $4=, $pop80 - i32.const $push78=, 23 - i32.shl $push37=, $pop79, $pop78 - i32.const $push77=, 0 - i32.load $push76=, sH($pop77) - tee_local $push75=, $3=, $pop76 - i32.const $push74=, 8388607 - i32.and $push73=, $pop75, $pop74 - tee_local $push72=, $2=, $pop73 - i32.or $push38=, $pop37, $pop72 - i32.store $1=, sH($pop86), $pop38 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push36=, $5, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop36, $pop69 - tee_local $push67=, $5=, $pop68 - i32.store $0=, myrnd.s($pop71), $pop67 + i32.load $1=, sH($pop86) block - i32.const $push66=, 16 - i32.shr_u $push65=, $5, $pop66 - tee_local $push64=, $5=, $pop65 - i32.add $push42=, $pop64, $4 - i32.const $push43=, 511 - i32.and $push44=, $pop42, $pop43 - i32.const $push63=, 23 - i32.shl $push39=, $5, $pop63 - i32.add $push40=, $1, $pop39 - i32.const $push62=, 23 - i32.shr_u $push41=, $pop40, $pop62 - i32.ne $push45=, $pop44, $pop41 - br_if 0, $pop45 # 0: down to label4 + i32.const $push85=, 0 + i32.const $push84=, 1103515245 + i32.mul $push37=, $2, $pop84 + i32.const $push83=, 12345 + i32.add $push82=, $pop37, $pop83 + tee_local $push81=, $2=, $pop82 + i32.const $push80=, 1103515245 + i32.mul $push38=, $pop81, $pop80 + i32.const $push79=, 12345 + i32.add $push2=, $pop38, $pop79 + i32.store $push78=, myrnd.s($pop85), $pop2 + tee_local $push77=, $0=, $pop78 + i32.const $push76=, 16 + i32.shr_u $push75=, $pop77, $pop76 + tee_local $push74=, $3=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push72=, $2, $pop73 + tee_local $push71=, $2=, $pop72 + i32.add $push41=, $pop74, $pop71 + i32.const $push42=, 511 + i32.and $push43=, $pop41, $pop42 + i32.const $push70=, 23 + i32.shl $push44=, $3, $pop70 + i32.const $push69=, 0 + i32.const $push68=, 23 + i32.shl $push39=, $2, $pop68 + i32.const $push67=, 8388607 + i32.and $push66=, $1, $pop67 + tee_local $push65=, $2=, $pop66 + i32.or $push40=, $pop39, $pop65 + i32.store $push0=, sH($pop69), $pop40 + i32.add $push45=, $pop44, $pop0 + i32.const $push64=, 23 + i32.shr_u $push46=, $pop45, $pop64 + i32.ne $push47=, $pop43, $pop46 + br_if 0, $pop47 # 0: down to label4 # BB#1: # %if.end76 i32.const $push200=, 0 i32.const $push199=, 0 - i32.const $push46=, -2139243339 - i32.mul $push47=, $0, $pop46 - i32.const $push48=, -1492899873 - i32.add $push198=, $pop47, $pop48 - tee_local $push197=, $5=, $pop198 + i32.const $push48=, -2139243339 + i32.mul $push49=, $0, $pop48 + i32.const $push50=, -1492899873 + i32.add $push198=, $pop49, $pop50 + tee_local $push197=, $3=, $pop198 i32.const $push196=, 1103515245 - i32.mul $push49=, $pop197, $pop196 + i32.mul $push51=, $pop197, $pop196 i32.const $push195=, 12345 - i32.add $push50=, $pop49, $pop195 - i32.store $push0=, myrnd.s($pop199), $pop50 + i32.add $push52=, $pop51, $pop195 + i32.store $push1=, myrnd.s($pop199), $pop52 i32.const $push194=, 16 - i32.shr_u $push193=, $pop0, $pop194 - tee_local $push192=, $4=, $pop193 + i32.shr_u $push193=, $pop1, $pop194 + tee_local $push192=, $0=, $pop193 i32.const $push191=, 23 - i32.shl $push53=, $pop192, $pop191 + i32.shl $push55=, $pop192, $pop191 i32.const $push190=, 16 - i32.shr_u $push189=, $5, $pop190 - tee_local $push188=, $5=, $pop189 + i32.shr_u $push189=, $3, $pop190 + tee_local $push188=, $3=, $pop189 i32.const $push187=, 23 - i32.shl $push51=, $pop188, $pop187 - i32.or $push52=, $pop51, $2 - i32.add $push1=, $pop53, $pop52 - i32.store $push186=, sH($pop200), $pop1 - tee_local $push185=, $1=, $pop186 - i32.xor $push54=, $pop185, $3 + i32.shl $push53=, $pop188, $pop187 + i32.or $push54=, $pop53, $2 + i32.add $push3=, $pop55, $pop54 + i32.store $push186=, sH($pop200), $pop3 + tee_local $push185=, $2=, $pop186 + i32.xor $push56=, $pop185, $1 i32.const $push184=, 8388607 - i32.and $push55=, $pop54, $pop184 - br_if 0, $pop55 # 0: down to label4 + i32.and $push57=, $pop56, $pop184 + br_if 0, $pop57 # 0: down to label4 # BB#2: # %lor.lhs.false109 - i32.add $push58=, $4, $5 - i32.const $push59=, 511 - i32.and $push60=, $pop58, $pop59 - i32.const $push56=, 23 - i32.shr_u $push57=, $1, $pop56 - i32.ne $push61=, $pop60, $pop57 - br_if 0, $pop61 # 0: down to label4 + i32.add $push60=, $0, $3 + i32.const $push61=, 511 + i32.and $push62=, $pop60, $pop61 + i32.const $push58=, 23 + i32.shr_u $push59=, $2, $pop58 + i32.ne $push63=, $pop62, $pop59 + br_if 0, $pop63 # 0: down to label4 # BB#3: # %if.end115 return .LBB48_4: # %if.then114 @@ -2349,17 +2336,16 @@ testH: # @testH .type retmeI,@function retmeI: # @retmeI .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end49: .size retmeI, .Lfunc_end49-retmeI @@ -2379,7 +2365,7 @@ fn1I: # @fn1I i32.add $push4=, $pop3, $0 i32.const $push5=, 511 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end50: .size fn1I, .Lfunc_end50-fn1I @@ -2401,7 +2387,7 @@ fn2I: # @fn2I i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end51: .size fn2I, .Lfunc_end51-fn2I @@ -2417,7 +2403,7 @@ retitI: # @retitI i32.load16_u $push1=, sI($pop0) i32.const $push2=, 7 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end52: .size retitI, .Lfunc_end52-retitI @@ -2435,19 +2421,19 @@ fn3I: # @fn3I i32.const $push14=, 0 i32.load16_u $push13=, sI($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 7 - i32.shr_u $push2=, $pop12, $pop1 - i32.add $push11=, $pop2, $0 + i32.const $push3=, 7 + i32.shr_u $push4=, $pop12, $pop3 + i32.add $push11=, $pop4, $0 tee_local $push10=, $0=, $pop11 i32.const $push9=, 7 - i32.shl $push3=, $pop10, $pop9 - i32.const $push4=, 127 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.shl $push5=, $pop10, $pop9 + i32.const $push1=, 127 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store16 $drop=, sI($pop0), $pop6 i32.const $push7=, 511 i32.and $push8=, $0, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end53: .size fn3I, .Lfunc_end53-fn3I @@ -2466,171 +2452,171 @@ testI: # @testI i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push151=, $pop4, $pop5 - tee_local $push150=, $1=, $pop151 + tee_local $push150=, $0=, $pop151 i32.const $push6=, 16 i32.shr_u $push7=, $pop150, $pop6 i32.store8 $drop=, sI($pop1), $pop7 i32.const $push149=, 0 i32.const $push148=, 1103515245 - i32.mul $push8=, $1, $pop148 + i32.mul $push8=, $0, $pop148 i32.const $push147=, 12345 i32.add $push146=, $pop8, $pop147 - tee_local $push145=, $1=, $pop146 + tee_local $push145=, $0=, $pop146 i32.const $push144=, 16 i32.shr_u $push9=, $pop145, $pop144 i32.store8 $drop=, sI+1($pop149), $pop9 i32.const $push143=, 0 i32.const $push142=, 1103515245 - i32.mul $push10=, $1, $pop142 + i32.mul $push10=, $0, $pop142 i32.const $push141=, 12345 i32.add $push140=, $pop10, $pop141 - tee_local $push139=, $1=, $pop140 + tee_local $push139=, $0=, $pop140 i32.const $push138=, 16 i32.shr_u $push11=, $pop139, $pop138 i32.store8 $drop=, sI+2($pop143), $pop11 i32.const $push137=, 0 i32.const $push136=, 1103515245 - i32.mul $push12=, $1, $pop136 + i32.mul $push12=, $0, $pop136 i32.const $push135=, 12345 i32.add $push134=, $pop12, $pop135 - tee_local $push133=, $1=, $pop134 + tee_local $push133=, $0=, $pop134 i32.const $push132=, 16 i32.shr_u $push13=, $pop133, $pop132 i32.store8 $drop=, sI+3($pop137), $pop13 i32.const $push131=, 0 i32.const $push130=, 1103515245 - i32.mul $push14=, $1, $pop130 + i32.mul $push14=, $0, $pop130 i32.const $push129=, 12345 i32.add $push128=, $pop14, $pop129 - tee_local $push127=, $1=, $pop128 + tee_local $push127=, $0=, $pop128 i32.const $push126=, 16 i32.shr_u $push15=, $pop127, $pop126 i32.store8 $drop=, sI+4($pop131), $pop15 i32.const $push125=, 0 i32.const $push124=, 1103515245 - i32.mul $push16=, $1, $pop124 + i32.mul $push16=, $0, $pop124 i32.const $push123=, 12345 i32.add $push122=, $pop16, $pop123 - tee_local $push121=, $1=, $pop122 + tee_local $push121=, $0=, $pop122 i32.const $push120=, 16 i32.shr_u $push17=, $pop121, $pop120 i32.store8 $drop=, sI+5($pop125), $pop17 i32.const $push119=, 0 i32.const $push118=, 1103515245 - i32.mul $push18=, $1, $pop118 + i32.mul $push18=, $0, $pop118 i32.const $push117=, 12345 i32.add $push116=, $pop18, $pop117 - tee_local $push115=, $1=, $pop116 + tee_local $push115=, $0=, $pop116 i32.const $push114=, 16 i32.shr_u $push19=, $pop115, $pop114 i32.store8 $drop=, sI+6($pop119), $pop19 i32.const $push113=, 0 i32.const $push112=, 1103515245 - i32.mul $push20=, $1, $pop112 + i32.mul $push20=, $0, $pop112 i32.const $push111=, 12345 i32.add $push110=, $pop20, $pop111 - tee_local $push109=, $1=, $pop110 + tee_local $push109=, $0=, $pop110 i32.const $push108=, 16 i32.shr_u $push21=, $pop109, $pop108 i32.store8 $drop=, sI+7($pop113), $pop21 i32.const $push107=, 0 i32.const $push106=, 1103515245 - i32.mul $push22=, $1, $pop106 + i32.mul $push22=, $0, $pop106 i32.const $push105=, 12345 i32.add $push104=, $pop22, $pop105 - tee_local $push103=, $1=, $pop104 + tee_local $push103=, $0=, $pop104 i32.const $push102=, 16 i32.shr_u $push23=, $pop103, $pop102 i32.store8 $drop=, sI+8($pop107), $pop23 i32.const $push101=, 0 i32.const $push100=, 1103515245 - i32.mul $push24=, $1, $pop100 + i32.mul $push24=, $0, $pop100 i32.const $push99=, 12345 i32.add $push98=, $pop24, $pop99 - tee_local $push97=, $1=, $pop98 + tee_local $push97=, $0=, $pop98 i32.const $push96=, 16 i32.shr_u $push25=, $pop97, $pop96 i32.store8 $drop=, sI+9($pop101), $pop25 i32.const $push95=, 0 i32.const $push94=, 1103515245 - i32.mul $push26=, $1, $pop94 + i32.mul $push26=, $0, $pop94 i32.const $push93=, 12345 i32.add $push92=, $pop26, $pop93 - tee_local $push91=, $1=, $pop92 + tee_local $push91=, $0=, $pop92 i32.const $push90=, 16 i32.shr_u $push27=, $pop91, $pop90 i32.store8 $drop=, sI+10($pop95), $pop27 i32.const $push89=, 0 i32.const $push88=, 1103515245 - i32.mul $push28=, $1, $pop88 + i32.mul $push28=, $0, $pop88 i32.const $push87=, 12345 i32.add $push86=, $pop28, $pop87 - tee_local $push85=, $1=, $pop86 + tee_local $push85=, $0=, $pop86 i32.const $push84=, 16 i32.shr_u $push29=, $pop85, $pop84 i32.store8 $drop=, sI+11($pop89), $pop29 i32.const $push83=, 0 i32.const $push82=, 1103515245 - i32.mul $push30=, $1, $pop82 + i32.mul $push30=, $0, $pop82 i32.const $push81=, 12345 i32.add $push80=, $pop30, $pop81 - tee_local $push79=, $1=, $pop80 + tee_local $push79=, $0=, $pop80 i32.const $push78=, 16 i32.shr_u $push31=, $pop79, $pop78 i32.store8 $drop=, sI+12($pop83), $pop31 i32.const $push77=, 0 i32.const $push76=, 1103515245 - i32.mul $push32=, $1, $pop76 + i32.mul $push32=, $0, $pop76 i32.const $push75=, 12345 i32.add $push74=, $pop32, $pop75 - tee_local $push73=, $1=, $pop74 + tee_local $push73=, $0=, $pop74 i32.const $push72=, 16 i32.shr_u $push33=, $pop73, $pop72 i32.store8 $drop=, sI+13($pop77), $pop33 i32.const $push71=, 0 i32.const $push70=, 1103515245 - i32.mul $push34=, $1, $pop70 + i32.mul $push34=, $0, $pop70 i32.const $push69=, 12345 i32.add $push68=, $pop34, $pop69 - tee_local $push67=, $1=, $pop68 + tee_local $push67=, $0=, $pop68 i32.const $push66=, 16 i32.shr_u $push35=, $pop67, $pop66 i32.store8 $drop=, sI+14($pop71), $pop35 i32.const $push65=, 0 i32.const $push64=, 1103515245 - i32.mul $push36=, $1, $pop64 + i32.mul $push36=, $0, $pop64 i32.const $push63=, 12345 i32.add $push62=, $pop36, $pop63 - tee_local $push61=, $1=, $pop62 + tee_local $push61=, $0=, $pop62 i32.const $push60=, 16 i32.shr_u $push37=, $pop61, $pop60 i32.store8 $drop=, sI+15($pop65), $pop37 i32.const $push59=, 0 - i32.load16_u $0=, sI($pop59) + i32.load16_u $1=, sI($pop59) i32.const $push58=, 0 i32.const $push57=, 0 i32.const $push38=, -341751747 - i32.mul $push39=, $1, $pop38 + i32.mul $push39=, $0, $pop38 i32.const $push40=, 229283573 i32.add $push56=, $pop39, $pop40 - tee_local $push55=, $1=, $pop56 + tee_local $push55=, $0=, $pop56 i32.const $push54=, 1103515245 - i32.mul $push42=, $pop55, $pop54 + i32.mul $push41=, $pop55, $pop54 i32.const $push53=, 12345 - i32.add $push43=, $pop42, $pop53 - i32.store $push0=, myrnd.s($pop57), $pop43 + i32.add $push42=, $pop41, $pop53 + i32.store $push0=, myrnd.s($pop57), $pop42 i32.const $push52=, 16 i32.shr_u $push44=, $pop0, $pop52 i32.const $push51=, 16 - i32.shr_u $push41=, $1, $pop51 - i32.add $push47=, $pop44, $pop41 - i32.const $push48=, 7 - i32.shl $push49=, $pop47, $pop48 - i32.const $push45=, 127 - i32.and $push46=, $0, $pop45 - i32.or $push50=, $pop49, $pop46 + i32.shr_u $push43=, $0, $pop51 + i32.add $push45=, $pop44, $pop43 + i32.const $push46=, 7 + i32.shl $push47=, $pop45, $pop46 + i32.const $push48=, 127 + i32.and $push49=, $1, $pop48 + i32.or $push50=, $pop47, $pop49 i32.store16 $drop=, sI($pop58), $pop50 - return + # fallthrough-return .endfunc .Lfunc_end54: .size testI, .Lfunc_end54-testI @@ -2644,7 +2630,7 @@ retmeJ: # @retmeJ # BB#0: # %entry i32.load $push0=, 0($1):p2align=1 i32.store $drop=, 0($0):p2align=1, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end55: .size retmeJ, .Lfunc_end55-retmeJ @@ -2664,7 +2650,7 @@ fn1J: # @fn1J i32.add $push4=, $pop3, $0 i32.const $push5=, 127 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end56: .size fn1J, .Lfunc_end56-fn1J @@ -2686,7 +2672,7 @@ fn2J: # @fn2J i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end57: .size fn2J, .Lfunc_end57-fn2J @@ -2702,7 +2688,7 @@ retitJ: # @retitJ i32.load16_u $push1=, sJ($pop0) i32.const $push2=, 9 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end58: .size retitJ, .Lfunc_end58-retitJ @@ -2720,19 +2706,19 @@ fn3J: # @fn3J i32.const $push14=, 0 i32.load16_u $push13=, sJ($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 9 - i32.shr_u $push2=, $pop12, $pop1 - i32.add $push11=, $pop2, $0 + i32.const $push3=, 9 + i32.shr_u $push4=, $pop12, $pop3 + i32.add $push11=, $pop4, $0 tee_local $push10=, $0=, $pop11 i32.const $push9=, 9 - i32.shl $push3=, $pop10, $pop9 - i32.const $push4=, 511 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.shl $push5=, $pop10, $pop9 + i32.const $push1=, 511 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store16 $drop=, sJ($pop0), $pop6 i32.const $push7=, 127 i32.and $push8=, $0, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end59: .size fn3J, .Lfunc_end59-fn3J @@ -2742,108 +2728,109 @@ fn3J: # @fn3J .globl testJ .type testJ,@function testJ: # @testJ - .local i32, i32, i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push78=, 0 - i32.const $push77=, 0 - i32.load $push1=, myrnd.s($pop77) - i32.const $push76=, 1103515245 - i32.mul $push2=, $pop1, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop2, $pop75 - tee_local $push73=, $1=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push3=, $pop73, $pop72 - i32.store8 $drop=, sJ($pop78), $pop3 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push4=, $1, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop4, $pop69 - tee_local $push67=, $1=, $pop68 - i32.const $push66=, 16 - i32.shr_u $push5=, $pop67, $pop66 - i32.store8 $drop=, sJ+1($pop71), $pop5 - i32.const $push65=, 0 - i32.const $push64=, 1103515245 - i32.mul $push6=, $1, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop6, $pop63 - tee_local $push61=, $1=, $pop62 - i32.const $push60=, 16 - i32.shr_u $push7=, $pop61, $pop60 - i32.store8 $drop=, sJ+2($pop65), $pop7 - i32.const $push59=, 0 - i32.const $push58=, 1103515245 - i32.mul $push8=, $1, $pop58 - i32.const $push57=, 12345 - i32.add $push56=, $pop8, $pop57 - tee_local $push55=, $1=, $pop56 - i32.const $push54=, 16 - i32.shr_u $push9=, $pop55, $pop54 - i32.store8 $drop=, sJ+3($pop59), $pop9 - i32.const $push53=, 0 - i32.const $push52=, 1103515245 - i32.mul $push11=, $1, $pop52 - i32.const $push51=, 12345 - i32.add $push50=, $pop11, $pop51 - tee_local $push49=, $3=, $pop50 - i32.const $push48=, 16 - i32.shr_u $push47=, $pop49, $pop48 - tee_local $push46=, $2=, $pop47 - i32.const $push45=, 9 - i32.shl $push13=, $pop46, $pop45 - i32.const $push44=, 0 - i32.load16_u $push10=, sJ($pop44) - i32.const $push43=, 511 - i32.and $push14=, $pop10, $pop43 - i32.or $push15=, $pop13, $pop14 - i32.store16 $drop=, sJ($pop53), $pop15 - i32.const $push42=, 0 - i32.load $1=, sJ($pop42) - i32.const $push41=, 0 - i32.const $push40=, 1103515245 - i32.mul $push12=, $3, $pop40 - i32.const $push39=, 12345 - i32.add $push38=, $pop12, $pop39 - tee_local $push37=, $3=, $pop38 - i32.store $0=, myrnd.s($pop41), $pop37 + i32.const $push81=, 0 + i32.const $push80=, 0 + i32.load $push2=, myrnd.s($pop80) + i32.const $push79=, 1103515245 + i32.mul $push3=, $pop2, $pop79 + i32.const $push78=, 12345 + i32.add $push77=, $pop3, $pop78 + tee_local $push76=, $1=, $pop77 + i32.const $push75=, 16 + i32.shr_u $push4=, $pop76, $pop75 + i32.store8 $drop=, sJ($pop81), $pop4 + i32.const $push74=, 0 + i32.const $push73=, 1103515245 + i32.mul $push5=, $1, $pop73 + i32.const $push72=, 12345 + i32.add $push71=, $pop5, $pop72 + tee_local $push70=, $1=, $pop71 + i32.const $push69=, 16 + i32.shr_u $push6=, $pop70, $pop69 + i32.store8 $drop=, sJ+1($pop74), $pop6 + i32.const $push68=, 0 + i32.const $push67=, 1103515245 + i32.mul $push7=, $1, $pop67 + i32.const $push66=, 12345 + i32.add $push65=, $pop7, $pop66 + tee_local $push64=, $1=, $pop65 + i32.const $push63=, 16 + i32.shr_u $push8=, $pop64, $pop63 + i32.store8 $drop=, sJ+2($pop68), $pop8 + i32.const $push62=, 0 + i32.const $push61=, 1103515245 + i32.mul $push9=, $1, $pop61 + i32.const $push60=, 12345 + i32.add $push59=, $pop9, $pop60 + tee_local $push58=, $1=, $pop59 + i32.const $push57=, 16 + i32.shr_u $push10=, $pop58, $pop57 + i32.store8 $drop=, sJ+3($pop62), $pop10 + i32.const $push56=, 0 + i32.const $push55=, 1103515245 + i32.mul $push13=, $1, $pop55 + i32.const $push54=, 12345 + i32.add $push53=, $pop13, $pop54 + tee_local $push52=, $1=, $pop53 + i32.const $push51=, 16 + i32.shr_u $push50=, $pop52, $pop51 + tee_local $push49=, $2=, $pop50 + i32.const $push48=, 9 + i32.shl $push14=, $pop49, $pop48 + i32.const $push47=, 0 + i32.load16_u $push11=, sJ($pop47) + i32.const $push46=, 511 + i32.and $push12=, $pop11, $pop46 + i32.or $push15=, $pop14, $pop12 + i32.store16 $drop=, sJ($pop56), $pop15 block - i32.const $push36=, 16 - i32.shr_u $push35=, $3, $pop36 - tee_local $push34=, $3=, $pop35 - i32.add $push18=, $pop34, $2 - i32.const $push33=, 9 - i32.shr_u $push16=, $1, $pop33 - i32.add $push17=, $pop16, $3 - i32.xor $push19=, $pop18, $pop17 - i32.const $push20=, 127 - i32.and $push21=, $pop19, $pop20 - br_if 0, $pop21 # 0: down to label5 + i32.const $push45=, 0 + i32.const $push44=, 1103515245 + i32.mul $push16=, $1, $pop44 + i32.const $push43=, 12345 + i32.add $push1=, $pop16, $pop43 + i32.store $push42=, myrnd.s($pop45), $pop1 + tee_local $push41=, $0=, $pop42 + i32.const $push40=, 16 + i32.shr_u $push39=, $pop41, $pop40 + tee_local $push38=, $1=, $pop39 + i32.add $push17=, $pop38, $2 + i32.const $push37=, 0 + i32.load $push36=, sJ($pop37) + tee_local $push35=, $2=, $pop36 + i32.const $push34=, 9 + i32.shr_u $push18=, $pop35, $pop34 + i32.add $push19=, $pop18, $1 + i32.xor $push20=, $pop17, $pop19 + i32.const $push21=, 127 + i32.and $push22=, $pop20, $pop21 + br_if 0, $pop22 # 0: down to label5 # BB#1: # %if.end142 - i32.const $push88=, 0 - i32.const $push87=, 0 - i32.const $push22=, -2139243339 - i32.mul $push23=, $0, $pop22 - i32.const $push24=, -1492899873 - i32.add $push86=, $pop23, $pop24 - tee_local $push85=, $3=, $pop86 - i32.const $push84=, 1103515245 - i32.mul $push26=, $pop85, $pop84 - i32.const $push83=, 12345 - i32.add $push27=, $pop26, $pop83 - i32.store $push0=, myrnd.s($pop87), $pop27 - i32.const $push82=, 16 - i32.shr_u $push28=, $pop0, $pop82 - i32.const $push81=, 16 - i32.shr_u $push25=, $3, $pop81 - i32.add $push30=, $pop28, $pop25 - i32.const $push80=, 9 - i32.shl $push31=, $pop30, $pop80 - i32.const $push79=, 511 - i32.and $push29=, $1, $pop79 - i32.or $push32=, $pop31, $pop29 - i32.store16 $drop=, sJ($pop88), $pop32 + i32.const $push91=, 0 + i32.const $push90=, 0 + i32.const $push23=, -2139243339 + i32.mul $push24=, $0, $pop23 + i32.const $push25=, -1492899873 + i32.add $push89=, $pop24, $pop25 + tee_local $push88=, $1=, $pop89 + i32.const $push87=, 1103515245 + i32.mul $push26=, $pop88, $pop87 + i32.const $push86=, 12345 + i32.add $push27=, $pop26, $pop86 + i32.store $push0=, myrnd.s($pop90), $pop27 + i32.const $push85=, 16 + i32.shr_u $push29=, $pop0, $pop85 + i32.const $push84=, 16 + i32.shr_u $push28=, $1, $pop84 + i32.add $push30=, $pop29, $pop28 + i32.const $push83=, 9 + i32.shl $push31=, $pop30, $pop83 + i32.const $push82=, 511 + i32.and $push32=, $2, $pop82 + i32.or $push33=, $pop31, $pop32 + i32.store16 $drop=, sJ($pop91), $pop33 return .LBB60_2: # %if.then end_block # label5: @@ -2862,7 +2849,7 @@ retmeK: # @retmeK # BB#0: # %entry i32.load $push0=, 0($1) i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end61: .size retmeK, .Lfunc_end61-retmeK @@ -2880,7 +2867,7 @@ fn1K: # @fn1K i32.add $push2=, $pop1, $0 i32.const $push3=, 63 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end62: .size fn1K, .Lfunc_end62-fn1K @@ -2900,7 +2887,7 @@ fn2K: # @fn2K i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end63: .size fn2K, .Lfunc_end63-fn2K @@ -2916,7 +2903,7 @@ retitK: # @retitK i32.load $push1=, sK($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end64: .size retitK, .Lfunc_end64-retitK @@ -2934,15 +2921,16 @@ fn3K: # @fn3K i32.const $push10=, 0 i32.load $push9=, sK($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 63 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 63 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -64 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sK($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end65: .size fn3K, .Lfunc_end65-fn3K @@ -2952,72 +2940,72 @@ fn3K: # @fn3K .globl testK .type testK,@function testK: # @testK - .local i32, i32 + .local i32 # BB#0: # %if.end129 i32.const $push1=, 0 - i32.const $push56=, 0 - i32.load $push2=, myrnd.s($pop56) + i32.const $push57=, 0 + i32.load $push2=, myrnd.s($pop57) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push55=, $pop4, $pop5 - tee_local $push54=, $1=, $pop55 + i32.add $push56=, $pop4, $pop5 + tee_local $push55=, $0=, $pop56 i32.const $push6=, 16 - i32.shr_u $push7=, $pop54, $pop6 + i32.shr_u $push7=, $pop55, $pop6 i32.store8 $drop=, sK($pop1), $pop7 - i32.const $push53=, 0 - i32.const $push52=, 1103515245 - i32.mul $push8=, $1, $pop52 - i32.const $push51=, 12345 - i32.add $push50=, $pop8, $pop51 - tee_local $push49=, $1=, $pop50 - i32.const $push48=, 16 - i32.shr_u $push9=, $pop49, $pop48 - i32.store8 $drop=, sK+1($pop53), $pop9 - i32.const $push47=, 0 - i32.const $push46=, 1103515245 - i32.mul $push10=, $1, $pop46 - i32.const $push45=, 12345 - i32.add $push44=, $pop10, $pop45 - tee_local $push43=, $1=, $pop44 - i32.const $push42=, 16 - i32.shr_u $push11=, $pop43, $pop42 - i32.store8 $drop=, sK+2($pop47), $pop11 - i32.const $push41=, 0 - i32.const $push40=, 1103515245 - i32.mul $push12=, $1, $pop40 - i32.const $push39=, 12345 - i32.add $push38=, $pop12, $pop39 - tee_local $push37=, $1=, $pop38 - i32.const $push36=, 16 - i32.shr_u $push13=, $pop37, $pop36 - i32.store8 $drop=, sK+3($pop41), $pop13 + i32.const $push54=, 0 + i32.const $push53=, 1103515245 + i32.mul $push8=, $0, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop8, $pop52 + tee_local $push50=, $0=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push9=, $pop50, $pop49 + i32.store8 $drop=, sK+1($pop54), $pop9 + i32.const $push48=, 0 + i32.const $push47=, 1103515245 + i32.mul $push10=, $0, $pop47 + i32.const $push46=, 12345 + i32.add $push45=, $pop10, $pop46 + tee_local $push44=, $0=, $pop45 + i32.const $push43=, 16 + i32.shr_u $push11=, $pop44, $pop43 + i32.store8 $drop=, sK+2($pop48), $pop11 + i32.const $push42=, 0 + i32.const $push41=, 1103515245 + i32.mul $push12=, $0, $pop41 + i32.const $push40=, 12345 + i32.add $push39=, $pop12, $pop40 + tee_local $push38=, $0=, $pop39 + i32.const $push37=, 16 + i32.shr_u $push13=, $pop38, $pop37 + i32.store8 $drop=, sK+3($pop42), $pop13 + i32.const $push36=, 0 i32.const $push35=, 0 - i32.load $0=, sK($pop35) - i32.const $push34=, 0 - i32.const $push33=, 0 - i32.const $push16=, -341751747 - i32.mul $push17=, $1, $pop16 - i32.const $push18=, 229283573 - i32.add $push32=, $pop17, $pop18 - tee_local $push31=, $1=, $pop32 - i32.const $push30=, 1103515245 - i32.mul $push20=, $pop31, $pop30 - i32.const $push29=, 12345 - i32.add $push21=, $pop20, $pop29 - i32.store $push0=, myrnd.s($pop33), $pop21 - i32.const $push28=, 16 - i32.shr_u $push22=, $pop0, $pop28 - i32.const $push27=, 16 - i32.shr_u $push19=, $1, $pop27 - i32.add $push23=, $pop22, $pop19 - i32.const $push24=, 63 - i32.and $push25=, $pop23, $pop24 - i32.const $push14=, -64 - i32.and $push15=, $0, $pop14 - i32.or $push26=, $pop25, $pop15 - i32.store $drop=, sK($pop34), $pop26 - return + i32.const $push14=, -341751747 + i32.mul $push15=, $0, $pop14 + i32.const $push16=, 229283573 + i32.add $push34=, $pop15, $pop16 + tee_local $push33=, $0=, $pop34 + i32.const $push32=, 1103515245 + i32.mul $push17=, $pop33, $pop32 + i32.const $push31=, 12345 + i32.add $push18=, $pop17, $pop31 + i32.store $push0=, myrnd.s($pop35), $pop18 + i32.const $push30=, 16 + i32.shr_u $push20=, $pop0, $pop30 + i32.const $push29=, 16 + i32.shr_u $push19=, $0, $pop29 + i32.add $push21=, $pop20, $pop19 + i32.const $push22=, 63 + i32.and $push23=, $pop21, $pop22 + i32.const $push28=, 0 + i32.load $push24=, sK($pop28) + i32.const $push25=, -64 + i32.and $push26=, $pop24, $pop25 + i32.or $push27=, $pop23, $pop26 + i32.store $drop=, sK($pop36), $pop27 + # fallthrough-return .endfunc .Lfunc_end66: .size testK, .Lfunc_end66-testK @@ -3031,7 +3019,7 @@ retmeL: # @retmeL # BB#0: # %entry i64.load $push0=, 0($1):p2align=2 i64.store $drop=, 0($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end67: .size retmeL, .Lfunc_end67-retmeL @@ -3049,7 +3037,7 @@ fn1L: # @fn1L i32.add $push2=, $pop1, $0 i32.const $push3=, 63 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end68: .size fn1L, .Lfunc_end68-fn1L @@ -3069,7 +3057,7 @@ fn2L: # @fn2L i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end69: .size fn2L, .Lfunc_end69-fn2L @@ -3085,7 +3073,7 @@ retitL: # @retitL i32.load $push1=, sL($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end70: .size retitL, .Lfunc_end70-retitL @@ -3103,15 +3091,16 @@ fn3L: # @fn3L i32.const $push10=, 0 i32.load $push9=, sL($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 63 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 63 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -64 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sL($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end71: .size fn3L, .Lfunc_end71-fn3L @@ -3121,141 +3110,141 @@ fn3L: # @fn3L .globl testL .type testL,@function testL: # @testL - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push107=, 0 - i32.const $push106=, 0 - i32.load $push1=, myrnd.s($pop106) - i32.const $push105=, 1103515245 - i32.mul $push2=, $pop1, $pop105 - i32.const $push104=, 12345 - i32.add $push103=, $pop2, $pop104 - tee_local $push102=, $4=, $pop103 - i32.const $push101=, 16 - i32.shr_u $push3=, $pop102, $pop101 - i32.store8 $drop=, sL($pop107), $pop3 - i32.const $push100=, 0 - i32.const $push99=, 1103515245 - i32.mul $push4=, $4, $pop99 - i32.const $push98=, 12345 - i32.add $push97=, $pop4, $pop98 - tee_local $push96=, $4=, $pop97 - i32.const $push95=, 16 - i32.shr_u $push5=, $pop96, $pop95 - i32.store8 $drop=, sL+1($pop100), $pop5 - i32.const $push94=, 0 - i32.const $push93=, 1103515245 - i32.mul $push6=, $4, $pop93 - i32.const $push92=, 12345 - i32.add $push91=, $pop6, $pop92 - tee_local $push90=, $4=, $pop91 - i32.const $push89=, 16 - i32.shr_u $push7=, $pop90, $pop89 - i32.store8 $drop=, sL+2($pop94), $pop7 - i32.const $push88=, 0 - i32.const $push87=, 1103515245 - i32.mul $push8=, $4, $pop87 - i32.const $push86=, 12345 - i32.add $push85=, $pop8, $pop86 - tee_local $push84=, $4=, $pop85 - i32.const $push83=, 16 - i32.shr_u $push9=, $pop84, $pop83 - i32.store8 $drop=, sL+3($pop88), $pop9 - i32.const $push82=, 0 - i32.const $push81=, 1103515245 - i32.mul $push10=, $4, $pop81 - i32.const $push80=, 12345 - i32.add $push79=, $pop10, $pop80 - tee_local $push78=, $4=, $pop79 - i32.const $push77=, 16 - i32.shr_u $push11=, $pop78, $pop77 - i32.store8 $drop=, sL+4($pop82), $pop11 - i32.const $push76=, 0 - i32.const $push75=, 1103515245 - i32.mul $push12=, $4, $pop75 - i32.const $push74=, 12345 - i32.add $push73=, $pop12, $pop74 - tee_local $push72=, $4=, $pop73 - i32.const $push71=, 16 - i32.shr_u $push13=, $pop72, $pop71 - i32.store8 $drop=, sL+5($pop76), $pop13 - i32.const $push70=, 0 - i32.const $push69=, 1103515245 - i32.mul $push14=, $4, $pop69 - i32.const $push68=, 12345 - i32.add $push67=, $pop14, $pop68 - tee_local $push66=, $4=, $pop67 - i32.const $push65=, 16 - i32.shr_u $push15=, $pop66, $pop65 - i32.store8 $drop=, sL+6($pop70), $pop15 - i32.const $push64=, 0 - i32.const $push63=, 1103515245 - i32.mul $push16=, $4, $pop63 - i32.const $push62=, 12345 - i32.add $push61=, $pop16, $pop62 - tee_local $push60=, $4=, $pop61 - i32.const $push59=, 16 - i32.shr_u $push17=, $pop60, $pop59 - i32.store8 $drop=, sL+7($pop64), $pop17 - i32.const $push58=, 0 - i32.load $2=, sL($pop58) - i32.const $push57=, 0 - i32.const $push56=, 1103515245 - i32.mul $push18=, $4, $pop56 - i32.const $push55=, 12345 - i32.add $push54=, $pop18, $pop55 - tee_local $push53=, $4=, $pop54 - i32.const $push52=, 1103515245 - i32.mul $push19=, $pop53, $pop52 - i32.const $push51=, 12345 - i32.add $push50=, $pop19, $pop51 - tee_local $push49=, $3=, $pop50 - i32.store $0=, myrnd.s($pop57), $pop49 - i32.const $push48=, 0 - i32.const $push47=, 16 - i32.shr_u $push46=, $4, $pop47 - tee_local $push45=, $4=, $pop46 - i32.const $push44=, 63 - i32.and $push20=, $pop45, $pop44 - i32.const $push43=, -64 - i32.and $push21=, $2, $pop43 - i32.or $push42=, $pop20, $pop21 - tee_local $push41=, $2=, $pop42 - i32.store $1=, sL($pop48), $pop41 + i32.const $push109=, 0 + i32.const $push108=, 0 + i32.load $push3=, myrnd.s($pop108) + i32.const $push107=, 1103515245 + i32.mul $push4=, $pop3, $pop107 + i32.const $push106=, 12345 + i32.add $push105=, $pop4, $pop106 + tee_local $push104=, $1=, $pop105 + i32.const $push103=, 16 + i32.shr_u $push5=, $pop104, $pop103 + i32.store8 $drop=, sL($pop109), $pop5 + i32.const $push102=, 0 + i32.const $push101=, 1103515245 + i32.mul $push6=, $1, $pop101 + i32.const $push100=, 12345 + i32.add $push99=, $pop6, $pop100 + tee_local $push98=, $1=, $pop99 + i32.const $push97=, 16 + i32.shr_u $push7=, $pop98, $pop97 + i32.store8 $drop=, sL+1($pop102), $pop7 + i32.const $push96=, 0 + i32.const $push95=, 1103515245 + i32.mul $push8=, $1, $pop95 + i32.const $push94=, 12345 + i32.add $push93=, $pop8, $pop94 + tee_local $push92=, $1=, $pop93 + i32.const $push91=, 16 + i32.shr_u $push9=, $pop92, $pop91 + i32.store8 $drop=, sL+2($pop96), $pop9 + i32.const $push90=, 0 + i32.const $push89=, 1103515245 + i32.mul $push10=, $1, $pop89 + i32.const $push88=, 12345 + i32.add $push87=, $pop10, $pop88 + tee_local $push86=, $1=, $pop87 + i32.const $push85=, 16 + i32.shr_u $push11=, $pop86, $pop85 + i32.store8 $drop=, sL+3($pop90), $pop11 + i32.const $push84=, 0 + i32.const $push83=, 1103515245 + i32.mul $push12=, $1, $pop83 + i32.const $push82=, 12345 + i32.add $push81=, $pop12, $pop82 + tee_local $push80=, $1=, $pop81 + i32.const $push79=, 16 + i32.shr_u $push13=, $pop80, $pop79 + i32.store8 $drop=, sL+4($pop84), $pop13 + i32.const $push78=, 0 + i32.const $push77=, 1103515245 + i32.mul $push14=, $1, $pop77 + i32.const $push76=, 12345 + i32.add $push75=, $pop14, $pop76 + tee_local $push74=, $1=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push15=, $pop74, $pop73 + i32.store8 $drop=, sL+5($pop78), $pop15 + i32.const $push72=, 0 + i32.const $push71=, 1103515245 + i32.mul $push16=, $1, $pop71 + i32.const $push70=, 12345 + i32.add $push69=, $pop16, $pop70 + tee_local $push68=, $1=, $pop69 + i32.const $push67=, 16 + i32.shr_u $push17=, $pop68, $pop67 + i32.store8 $drop=, sL+6($pop72), $pop17 + i32.const $push66=, 0 + i32.const $push65=, 1103515245 + i32.mul $push18=, $1, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop18, $pop64 + tee_local $push62=, $1=, $pop63 + i32.const $push61=, 16 + i32.shr_u $push19=, $pop62, $pop61 + i32.store8 $drop=, sL+7($pop66), $pop19 + i32.const $push60=, 0 + i32.load $2=, sL($pop60) block - i32.const $push40=, 16 - i32.shr_u $push39=, $3, $pop40 - tee_local $push38=, $3=, $pop39 - i32.add $push23=, $pop38, $4 - i32.add $push22=, $2, $3 - i32.xor $push24=, $pop23, $pop22 - i32.const $push37=, 63 - i32.and $push25=, $pop24, $pop37 - br_if 0, $pop25 # 0: down to label6 + i32.const $push59=, 0 + i32.const $push58=, 1103515245 + i32.mul $push20=, $1, $pop58 + i32.const $push57=, 12345 + i32.add $push56=, $pop20, $pop57 + tee_local $push55=, $1=, $pop56 + i32.const $push54=, 1103515245 + i32.mul $push21=, $pop55, $pop54 + i32.const $push53=, 12345 + i32.add $push1=, $pop21, $pop53 + i32.store $push52=, myrnd.s($pop59), $pop1 + tee_local $push51=, $0=, $pop52 + i32.const $push50=, 16 + i32.shr_u $push49=, $pop51, $pop50 + tee_local $push48=, $3=, $pop49 + i32.const $push47=, 16 + i32.shr_u $push46=, $1, $pop47 + tee_local $push45=, $1=, $pop46 + i32.add $push25=, $pop48, $pop45 + i32.const $push44=, 0 + i32.const $push43=, 63 + i32.and $push23=, $1, $pop43 + i32.const $push42=, -64 + i32.and $push22=, $2, $pop42 + i32.or $push2=, $pop23, $pop22 + i32.store $push41=, sL($pop44), $pop2 + tee_local $push40=, $1=, $pop41 + i32.add $push24=, $pop40, $3 + i32.xor $push26=, $pop25, $pop24 + i32.const $push39=, 63 + i32.and $push27=, $pop26, $pop39 + br_if 0, $pop27 # 0: down to label6 # BB#1: # %if.end75 - i32.const $push117=, 0 - i32.const $push116=, 0 - i32.const $push27=, -2139243339 - i32.mul $push28=, $0, $pop27 - i32.const $push29=, -1492899873 - i32.add $push115=, $pop28, $pop29 - tee_local $push114=, $4=, $pop115 - i32.const $push113=, 1103515245 - i32.mul $push31=, $pop114, $pop113 - i32.const $push112=, 12345 - i32.add $push32=, $pop31, $pop112 - i32.store $push0=, myrnd.s($pop116), $pop32 - i32.const $push111=, 16 - i32.shr_u $push33=, $pop0, $pop111 - i32.const $push110=, 16 - i32.shr_u $push30=, $4, $pop110 - i32.add $push34=, $pop33, $pop30 - i32.const $push109=, 63 - i32.and $push35=, $pop34, $pop109 - i32.const $push108=, -64 - i32.and $push26=, $1, $pop108 - i32.or $push36=, $pop35, $pop26 - i32.store $drop=, sL($pop117), $pop36 + i32.const $push119=, 0 + i32.const $push118=, 0 + i32.const $push28=, -2139243339 + i32.mul $push29=, $0, $pop28 + i32.const $push30=, -1492899873 + i32.add $push117=, $pop29, $pop30 + tee_local $push116=, $2=, $pop117 + i32.const $push115=, 1103515245 + i32.mul $push31=, $pop116, $pop115 + i32.const $push114=, 12345 + i32.add $push32=, $pop31, $pop114 + i32.store $push0=, myrnd.s($pop118), $pop32 + i32.const $push113=, 16 + i32.shr_u $push34=, $pop0, $pop113 + i32.const $push112=, 16 + i32.shr_u $push33=, $2, $pop112 + i32.add $push35=, $pop34, $pop33 + i32.const $push111=, 63 + i32.and $push36=, $pop35, $pop111 + i32.const $push110=, -64 + i32.and $push37=, $1, $pop110 + i32.or $push38=, $pop36, $pop37 + i32.store $drop=, sL($pop119), $pop38 return .LBB72_2: # %if.then end_block # label6: @@ -3274,7 +3263,7 @@ retmeM: # @retmeM # BB#0: # %entry i64.load $push0=, 0($1):p2align=2 i64.store $drop=, 0($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end73: .size retmeM, .Lfunc_end73-retmeM @@ -3292,7 +3281,7 @@ fn1M: # @fn1M i32.add $push2=, $pop1, $0 i32.const $push3=, 63 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end74: .size fn1M, .Lfunc_end74-fn1M @@ -3312,7 +3301,7 @@ fn2M: # @fn2M i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end75: .size fn2M, .Lfunc_end75-fn2M @@ -3328,7 +3317,7 @@ retitM: # @retitM i32.load $push1=, sM+4($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end76: .size retitM, .Lfunc_end76-retitM @@ -3346,15 +3335,16 @@ fn3M: # @fn3M i32.const $push10=, 0 i32.load $push9=, sM+4($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 63 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 63 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -64 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sM+4($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end77: .size fn3M, .Lfunc_end77-fn3M @@ -3364,139 +3354,138 @@ fn3M: # @fn3M .globl testM .type testM,@function testM: # @testM - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry i32.const $push106=, 0 i32.const $push105=, 0 - i32.load $push1=, myrnd.s($pop105) + i32.load $push3=, myrnd.s($pop105) i32.const $push104=, 1103515245 - i32.mul $push2=, $pop1, $pop104 + i32.mul $push4=, $pop3, $pop104 i32.const $push103=, 12345 - i32.add $push102=, $pop2, $pop103 - tee_local $push101=, $4=, $pop102 + i32.add $push102=, $pop4, $pop103 + tee_local $push101=, $0=, $pop102 i32.const $push100=, 16 - i32.shr_u $push3=, $pop101, $pop100 - i32.store8 $drop=, sM($pop106), $pop3 + i32.shr_u $push5=, $pop101, $pop100 + i32.store8 $drop=, sM($pop106), $pop5 i32.const $push99=, 0 i32.const $push98=, 1103515245 - i32.mul $push4=, $4, $pop98 + i32.mul $push6=, $0, $pop98 i32.const $push97=, 12345 - i32.add $push96=, $pop4, $pop97 - tee_local $push95=, $4=, $pop96 + i32.add $push96=, $pop6, $pop97 + tee_local $push95=, $0=, $pop96 i32.const $push94=, 16 - i32.shr_u $push5=, $pop95, $pop94 - i32.store8 $drop=, sM+1($pop99), $pop5 + i32.shr_u $push7=, $pop95, $pop94 + i32.store8 $drop=, sM+1($pop99), $pop7 i32.const $push93=, 0 i32.const $push92=, 1103515245 - i32.mul $push6=, $4, $pop92 + i32.mul $push8=, $0, $pop92 i32.const $push91=, 12345 - i32.add $push90=, $pop6, $pop91 - tee_local $push89=, $4=, $pop90 + i32.add $push90=, $pop8, $pop91 + tee_local $push89=, $0=, $pop90 i32.const $push88=, 16 - i32.shr_u $push7=, $pop89, $pop88 - i32.store8 $drop=, sM+2($pop93), $pop7 + i32.shr_u $push9=, $pop89, $pop88 + i32.store8 $drop=, sM+2($pop93), $pop9 i32.const $push87=, 0 i32.const $push86=, 1103515245 - i32.mul $push8=, $4, $pop86 + i32.mul $push10=, $0, $pop86 i32.const $push85=, 12345 - i32.add $push84=, $pop8, $pop85 - tee_local $push83=, $4=, $pop84 - i32.const $push82=, 1103515245 - i32.mul $push10=, $pop83, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop10, $pop81 - tee_local $push79=, $3=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push11=, $pop79, $pop78 - i32.store8 $drop=, sM+4($pop87), $pop11 - i32.const $push77=, 0 - i32.const $push76=, 1103515245 - i32.mul $push12=, $3, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop12, $pop75 - tee_local $push73=, $3=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push13=, $pop73, $pop72 - i32.store8 $drop=, sM+5($pop77), $pop13 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push14=, $3, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop14, $pop69 - tee_local $push67=, $3=, $pop68 - i32.const $push66=, 16 - i32.shr_u $push15=, $pop67, $pop66 - i32.store8 $drop=, sM+6($pop71), $pop15 - i32.const $push65=, 0 - i32.const $push64=, 1103515245 - i32.mul $push16=, $3, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop16, $pop63 - tee_local $push61=, $3=, $pop62 - i32.const $push60=, 16 - i32.shr_u $push17=, $pop61, $pop60 - i32.store8 $drop=, sM+7($pop65), $pop17 - i32.const $push59=, 0 - i32.load $1=, sM+4($pop59) - i32.const $push58=, 0 - i32.const $push57=, 16 - i32.shr_u $push9=, $4, $pop57 - i32.store8 $drop=, sM+3($pop58), $pop9 + i32.add $push84=, $pop10, $pop85 + tee_local $push83=, $0=, $pop84 + i32.const $push82=, 16 + i32.shr_u $push11=, $pop83, $pop82 + i32.store8 $drop=, sM+3($pop87), $pop11 + i32.const $push81=, 0 + i32.const $push80=, 1103515245 + i32.mul $push12=, $0, $pop80 + i32.const $push79=, 12345 + i32.add $push78=, $pop12, $pop79 + tee_local $push77=, $0=, $pop78 + i32.const $push76=, 16 + i32.shr_u $push13=, $pop77, $pop76 + i32.store8 $drop=, sM+4($pop81), $pop13 + i32.const $push75=, 0 + i32.const $push74=, 1103515245 + i32.mul $push14=, $0, $pop74 + i32.const $push73=, 12345 + i32.add $push72=, $pop14, $pop73 + tee_local $push71=, $0=, $pop72 + i32.const $push70=, 16 + i32.shr_u $push15=, $pop71, $pop70 + i32.store8 $drop=, sM+5($pop75), $pop15 + i32.const $push69=, 0 + i32.const $push68=, 1103515245 + i32.mul $push16=, $0, $pop68 + i32.const $push67=, 12345 + i32.add $push66=, $pop16, $pop67 + tee_local $push65=, $0=, $pop66 + i32.const $push64=, 16 + i32.shr_u $push17=, $pop65, $pop64 + i32.store8 $drop=, sM+6($pop69), $pop17 + i32.const $push63=, 0 + i32.const $push62=, 1103515245 + i32.mul $push18=, $0, $pop62 + i32.const $push61=, 12345 + i32.add $push60=, $pop18, $pop61 + tee_local $push59=, $0=, $pop60 + i32.const $push58=, 16 + i32.shr_u $push19=, $pop59, $pop58 + i32.store8 $drop=, sM+7($pop63), $pop19 + i32.const $push57=, 0 + i32.load $3=, sM+4($pop57) i32.const $push56=, 0 i32.const $push55=, 1103515245 - i32.mul $push18=, $3, $pop55 + i32.mul $push20=, $0, $pop55 i32.const $push54=, 12345 - i32.add $push53=, $pop18, $pop54 - tee_local $push52=, $4=, $pop53 - i32.const $push51=, 16 - i32.shr_u $push50=, $pop52, $pop51 - tee_local $push49=, $3=, $pop50 - i32.const $push48=, 63 - i32.and $push20=, $pop49, $pop48 - i32.const $push21=, -64 - i32.and $push47=, $1, $pop21 - tee_local $push46=, $2=, $pop47 - i32.or $push22=, $pop20, $pop46 - i32.store $1=, sM+4($pop56), $pop22 - i32.const $push45=, 0 - i32.const $push44=, 1103515245 - i32.mul $push19=, $4, $pop44 - i32.const $push43=, 12345 - i32.add $push42=, $pop19, $pop43 - tee_local $push41=, $4=, $pop42 - i32.store $0=, myrnd.s($pop45), $pop41 + i32.add $push53=, $pop20, $pop54 + tee_local $push52=, $2=, $pop53 + i32.const $push51=, 1103515245 + i32.mul $push21=, $pop52, $pop51 + i32.const $push50=, 12345 + i32.add $push2=, $pop21, $pop50 + i32.store $0=, myrnd.s($pop56), $pop2 block - i32.const $push40=, 16 - i32.shr_u $push39=, $4, $pop40 - tee_local $push38=, $4=, $pop39 - i32.add $push23=, $1, $pop38 - i32.add $push24=, $4, $3 - i32.xor $push25=, $pop23, $pop24 - i32.const $push37=, 63 - i32.and $push26=, $pop25, $pop37 - br_if 0, $pop26 # 0: down to label7 + i32.const $push49=, 0 + i32.const $push48=, 16 + i32.shr_u $push47=, $2, $pop48 + tee_local $push46=, $2=, $pop47 + i32.const $push45=, 63 + i32.and $push23=, $pop46, $pop45 + i32.const $push22=, -64 + i32.and $push44=, $3, $pop22 + tee_local $push43=, $1=, $pop44 + i32.or $push24=, $pop23, $pop43 + i32.store $push0=, sM+4($pop49), $pop24 + i32.const $push42=, 16 + i32.shr_u $push41=, $0, $pop42 + tee_local $push40=, $3=, $pop41 + i32.add $push26=, $pop0, $pop40 + i32.add $push25=, $3, $2 + i32.xor $push27=, $pop26, $pop25 + i32.const $push39=, 63 + i32.and $push28=, $pop27, $pop39 + br_if 0, $pop28 # 0: down to label7 # BB#1: # %if.end79 i32.const $push115=, 0 i32.const $push114=, 0 - i32.const $push27=, -2139243339 - i32.mul $push28=, $0, $pop27 - i32.const $push29=, -1492899873 - i32.add $push113=, $pop28, $pop29 - tee_local $push112=, $4=, $pop113 + i32.const $push29=, -2139243339 + i32.mul $push30=, $0, $pop29 + i32.const $push31=, -1492899873 + i32.add $push113=, $pop30, $pop31 + tee_local $push112=, $0=, $pop113 i32.const $push111=, 1103515245 - i32.mul $push31=, $pop112, $pop111 + i32.mul $push32=, $pop112, $pop111 i32.const $push110=, 12345 - i32.add $push32=, $pop31, $pop110 - i32.store $push0=, myrnd.s($pop114), $pop32 + i32.add $push33=, $pop32, $pop110 + i32.store $push1=, myrnd.s($pop114), $pop33 i32.const $push109=, 16 - i32.shr_u $push33=, $pop0, $pop109 + i32.shr_u $push35=, $pop1, $pop109 i32.const $push108=, 16 - i32.shr_u $push30=, $4, $pop108 - i32.add $push34=, $pop33, $pop30 + i32.shr_u $push34=, $0, $pop108 + i32.add $push36=, $pop35, $pop34 i32.const $push107=, 63 - i32.and $push35=, $pop34, $pop107 - i32.or $push36=, $pop35, $2 - i32.store $drop=, sM+4($pop115), $pop36 + i32.and $push37=, $pop36, $pop107 + i32.or $push38=, $pop37, $1 + i32.store $drop=, sM+4($pop115), $pop38 return .LBB78_2: # %if.then end_block # label7: @@ -3515,7 +3504,7 @@ retmeN: # @retmeN # BB#0: # %entry i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end79: .size retmeN, .Lfunc_end79-retmeN @@ -3535,7 +3524,7 @@ fn1N: # @fn1N i32.add $push4=, $pop3, $0 i32.const $push5=, 63 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end80: .size fn1N, .Lfunc_end80-fn1N @@ -3557,7 +3546,7 @@ fn2N: # @fn2N i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end81: .size fn2N, .Lfunc_end81-fn2N @@ -3575,7 +3564,7 @@ retitN: # @retitN i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 63 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end82: .size retitN, .Lfunc_end82-retitN @@ -3593,23 +3582,23 @@ fn3N: # @fn3N i32.const $push18=, 0 i64.load $push17=, sN($pop18) tee_local $push16=, $1=, $pop17 - i64.const $push1=, 6 - i64.shr_u $push2=, $pop16, $pop1 - i32.wrap/i64 $push3=, $pop2 - i32.add $push15=, $pop3, $0 + i64.const $push3=, 6 + i64.shr_u $push4=, $pop16, $pop3 + i32.wrap/i64 $push5=, $pop4 + i32.add $push15=, $pop5, $0 tee_local $push14=, $0=, $pop15 - i32.const $push4=, 6 - i32.shl $push5=, $pop14, $pop4 - i64.extend_u/i32 $push6=, $pop5 - i64.const $push7=, 4032 - i64.and $push8=, $pop6, $pop7 - i64.const $push9=, -4033 - i64.and $push10=, $1, $pop9 - i64.or $push11=, $pop8, $pop10 + i32.const $push6=, 6 + i32.shl $push7=, $pop14, $pop6 + i64.extend_u/i32 $push8=, $pop7 + i64.const $push9=, 4032 + i64.and $push10=, $pop8, $pop9 + i64.const $push1=, -4033 + i64.and $push2=, $1, $pop1 + i64.or $push11=, $pop10, $pop2 i64.store $drop=, sN($pop0), $pop11 i32.const $push12=, 63 i32.and $push13=, $0, $pop12 - return $pop13 + # fallthrough-return: $pop13 .endfunc .Lfunc_end83: .size fn3N, .Lfunc_end83-fn3N @@ -3619,113 +3608,112 @@ fn3N: # @fn3N .globl testN .type testN,@function testN: # @testN - .local i32, i32, i64, i64, i64, i32, i32, i32 + .local i32, i64, i32, i64, i32, i32, i32, i64 # BB#0: # %lor.lhs.false i32.const $push5=, 0 - i32.const $push167=, 0 - i32.load $push6=, myrnd.s($pop167) + i32.const $push165=, 0 + i32.load $push6=, myrnd.s($pop165) i32.const $push7=, 1103515245 i32.mul $push8=, $pop6, $pop7 i32.const $push9=, 12345 - i32.add $push166=, $pop8, $pop9 - tee_local $push165=, $5=, $pop166 - i32.const $push164=, 16 - i32.shr_u $push10=, $pop165, $pop164 + i32.add $push164=, $pop8, $pop9 + tee_local $push163=, $6=, $pop164 + i32.const $push162=, 16 + i32.shr_u $push10=, $pop163, $pop162 i32.store8 $drop=, sN($pop5), $pop10 - i32.const $push163=, 0 - i32.const $push162=, 1103515245 - i32.mul $push11=, $5, $pop162 - i32.const $push161=, 12345 - i32.add $push160=, $pop11, $pop161 - tee_local $push159=, $5=, $pop160 - i32.const $push158=, 16 - i32.shr_u $push12=, $pop159, $pop158 - i32.store8 $drop=, sN+1($pop163), $pop12 - i32.const $push157=, 0 - i32.const $push156=, 1103515245 - i32.mul $push13=, $5, $pop156 - i32.const $push155=, 12345 - i32.add $push154=, $pop13, $pop155 - tee_local $push153=, $5=, $pop154 - i32.const $push152=, 16 - i32.shr_u $push14=, $pop153, $pop152 - i32.store8 $drop=, sN+2($pop157), $pop14 - i32.const $push151=, 0 - i32.const $push150=, 1103515245 - i32.mul $push15=, $5, $pop150 - i32.const $push149=, 12345 - i32.add $push148=, $pop15, $pop149 - tee_local $push147=, $5=, $pop148 - i32.const $push146=, 16 - i32.shr_u $push16=, $pop147, $pop146 - i32.store8 $drop=, sN+3($pop151), $pop16 - i32.const $push145=, 0 - i32.const $push144=, 1103515245 - i32.mul $push17=, $5, $pop144 - i32.const $push143=, 12345 - i32.add $push142=, $pop17, $pop143 - tee_local $push141=, $5=, $pop142 - i32.const $push140=, 16 - i32.shr_u $push18=, $pop141, $pop140 - i32.store8 $drop=, sN+4($pop145), $pop18 - i32.const $push139=, 0 - i32.const $push138=, 1103515245 - i32.mul $push19=, $5, $pop138 - i32.const $push137=, 12345 - i32.add $push136=, $pop19, $pop137 - tee_local $push135=, $5=, $pop136 - i32.const $push134=, 16 - i32.shr_u $push20=, $pop135, $pop134 - i32.store8 $drop=, sN+5($pop139), $pop20 - i32.const $push133=, 0 - i32.const $push132=, 1103515245 - i32.mul $push21=, $5, $pop132 - i32.const $push131=, 12345 - i32.add $push130=, $pop21, $pop131 - tee_local $push129=, $5=, $pop130 - i32.const $push128=, 16 - i32.shr_u $push22=, $pop129, $pop128 - i32.store8 $drop=, sN+6($pop133), $pop22 - i32.const $push127=, 0 - i32.const $push126=, 1103515245 - i32.mul $push23=, $5, $pop126 - i32.const $push125=, 12345 - i32.add $push124=, $pop23, $pop125 - tee_local $push123=, $5=, $pop124 - i32.const $push122=, 16 - i32.shr_u $push24=, $pop123, $pop122 - i32.store8 $drop=, sN+7($pop127), $pop24 - i32.const $push121=, 0 - i32.const $push120=, 1103515245 - i32.mul $push27=, $5, $pop120 - i32.const $push119=, 12345 - i32.add $push118=, $pop27, $pop119 - tee_local $push117=, $5=, $pop118 - i32.const $push116=, 1103515245 - i32.mul $push28=, $pop117, $pop116 - i32.const $push115=, 12345 - i32.add $push1=, $pop28, $pop115 - i32.store $0=, myrnd.s($pop121), $pop1 + i32.const $push161=, 0 + i32.const $push160=, 1103515245 + i32.mul $push11=, $6, $pop160 + i32.const $push159=, 12345 + i32.add $push158=, $pop11, $pop159 + tee_local $push157=, $6=, $pop158 + i32.const $push156=, 16 + i32.shr_u $push12=, $pop157, $pop156 + i32.store8 $drop=, sN+1($pop161), $pop12 + i32.const $push155=, 0 + i32.const $push154=, 1103515245 + i32.mul $push13=, $6, $pop154 + i32.const $push153=, 12345 + i32.add $push152=, $pop13, $pop153 + tee_local $push151=, $6=, $pop152 + i32.const $push150=, 16 + i32.shr_u $push14=, $pop151, $pop150 + i32.store8 $drop=, sN+2($pop155), $pop14 + i32.const $push149=, 0 + i32.const $push148=, 1103515245 + i32.mul $push15=, $6, $pop148 + i32.const $push147=, 12345 + i32.add $push146=, $pop15, $pop147 + tee_local $push145=, $6=, $pop146 + i32.const $push144=, 16 + i32.shr_u $push16=, $pop145, $pop144 + i32.store8 $drop=, sN+3($pop149), $pop16 + i32.const $push143=, 0 + i32.const $push142=, 1103515245 + i32.mul $push17=, $6, $pop142 + i32.const $push141=, 12345 + i32.add $push140=, $pop17, $pop141 + tee_local $push139=, $6=, $pop140 + i32.const $push138=, 16 + i32.shr_u $push18=, $pop139, $pop138 + i32.store8 $drop=, sN+4($pop143), $pop18 + i32.const $push137=, 0 + i32.const $push136=, 1103515245 + i32.mul $push19=, $6, $pop136 + i32.const $push135=, 12345 + i32.add $push134=, $pop19, $pop135 + tee_local $push133=, $6=, $pop134 + i32.const $push132=, 16 + i32.shr_u $push20=, $pop133, $pop132 + i32.store8 $drop=, sN+5($pop137), $pop20 + i32.const $push131=, 0 + i32.const $push130=, 1103515245 + i32.mul $push21=, $6, $pop130 + i32.const $push129=, 12345 + i32.add $push128=, $pop21, $pop129 + tee_local $push127=, $6=, $pop128 + i32.const $push126=, 16 + i32.shr_u $push22=, $pop127, $pop126 + i32.store8 $drop=, sN+6($pop131), $pop22 + i32.const $push125=, 0 + i32.const $push124=, 1103515245 + i32.mul $push23=, $6, $pop124 + i32.const $push123=, 12345 + i32.add $push122=, $pop23, $pop123 + tee_local $push121=, $6=, $pop122 + i32.const $push120=, 16 + i32.shr_u $push24=, $pop121, $pop120 + i32.store8 $drop=, sN+7($pop125), $pop24 + i32.const $push119=, 0 + i64.load $7=, sN($pop119) + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push25=, $6, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop25, $pop116 + tee_local $push114=, $6=, $pop115 + i32.const $push113=, 1103515245 + i32.mul $push26=, $pop114, $pop113 + i32.const $push112=, 12345 + i32.add $push1=, $pop26, $pop112 + i32.store $0=, myrnd.s($pop118), $pop1 block - i32.const $push114=, 0 - i32.const $push29=, 10 - i32.shr_u $push30=, $5, $pop29 - i64.extend_u/i32 $push31=, $pop30 - i64.const $push25=, 4032 - i64.and $push32=, $pop31, $pop25 - i32.const $push113=, 0 - i64.load $push112=, sN($pop113) - tee_local $push111=, $4=, $pop112 - i64.const $push33=, -4033 - i64.and $push110=, $pop111, $pop33 + i32.const $push111=, 0 + i32.const $push28=, 10 + i32.shr_u $push29=, $6, $pop28 + i64.extend_u/i32 $push30=, $pop29 + i64.const $push31=, 4032 + i64.and $push32=, $pop30, $pop31 + i64.const $push27=, -4033 + i64.and $push110=, $7, $pop27 tee_local $push109=, $3=, $pop110 i64.or $push2=, $pop32, $pop109 - i64.store $push108=, sN($pop114), $pop2 - tee_local $push107=, $2=, $pop108 + i64.store $push108=, sN($pop111), $pop2 + tee_local $push107=, $1=, $pop108 i64.const $push106=, 4032 - i64.or $push26=, $4, $pop106 - i64.xor $push105=, $pop107, $pop26 - tee_local $push104=, $4=, $pop105 + i64.or $push35=, $7, $pop106 + i64.xor $push105=, $pop107, $pop35 + tee_local $push104=, $7=, $pop105 i64.const $push36=, 34359734272 i64.and $push37=, $pop104, $pop36 i64.const $push103=, 0 @@ -3733,134 +3721,134 @@ testN: # @testN br_if 0, $pop38 # 0: down to label8 # BB#1: # %lor.lhs.false29 i64.const $push42=, 63 - i64.and $push43=, $4, $pop42 - i64.const $push168=, 0 - i64.ne $push44=, $pop43, $pop168 + i64.and $push43=, $7, $pop42 + i64.const $push166=, 0 + i64.ne $push44=, $pop43, $pop166 br_if 0, $pop44 # 0: down to label8 # BB#2: # %lor.lhs.false29 - i64.const $push34=, 6 - i64.shr_u $push35=, $2, $pop34 - i32.wrap/i64 $push173=, $pop35 - tee_local $push172=, $6=, $pop173 - i32.const $push171=, 16 - i32.shr_u $push170=, $5, $pop171 - tee_local $push169=, $5=, $pop170 - i32.xor $push40=, $pop172, $pop169 + i64.const $push33=, 6 + i64.shr_u $push34=, $1, $pop33 + i32.wrap/i64 $push171=, $pop34 + tee_local $push170=, $4=, $pop171 + i32.const $push169=, 16 + i32.shr_u $push168=, $6, $pop169 + tee_local $push167=, $6=, $pop168 + i32.xor $push40=, $pop170, $pop167 i32.const $push41=, 63 i32.and $push39=, $pop40, $pop41 br_if 0, $pop39 # 0: down to label8 # BB#3: # %lor.lhs.false49 - i32.const $push177=, 16 - i32.shr_u $push176=, $0, $pop177 - tee_local $push175=, $7=, $pop176 - i32.add $push3=, $6, $pop175 - i32.add $push45=, $7, $5 + i32.const $push175=, 16 + i32.shr_u $push174=, $0, $pop175 + tee_local $push173=, $2=, $pop174 + i32.add $push3=, $4, $pop173 + i32.add $push45=, $2, $6 i32.xor $push46=, $pop3, $pop45 - i32.const $push174=, 63 - i32.and $push47=, $pop46, $pop174 + i32.const $push172=, 63 + i32.and $push47=, $pop46, $pop172 br_if 0, $pop47 # 0: down to label8 # BB#4: # %lor.lhs.false69 i32.const $push52=, 0 i32.const $push48=, 1103515245 i32.mul $push49=, $0, $pop48 i32.const $push50=, 12345 - i32.add $push193=, $pop49, $pop50 - tee_local $push192=, $5=, $pop193 - i32.const $push191=, 1103515245 - i32.mul $push51=, $pop192, $pop191 - i32.const $push190=, 12345 - i32.add $push4=, $pop51, $pop190 + i32.add $push191=, $pop49, $pop50 + tee_local $push190=, $6=, $pop191 + i32.const $push189=, 1103515245 + i32.mul $push51=, $pop190, $pop189 + i32.const $push188=, 12345 + i32.add $push4=, $pop51, $pop188 i32.store $0=, myrnd.s($pop52), $pop4 - i32.const $push189=, 0 + i32.const $push187=, 0 i32.const $push53=, 10 - i32.shr_u $push54=, $5, $pop53 + i32.shr_u $push54=, $6, $pop53 i64.extend_u/i32 $push55=, $pop54 i64.const $push56=, 4032 i64.and $push57=, $pop55, $pop56 i64.or $push58=, $pop57, $3 - i64.store $push188=, sN($pop189), $pop58 - tee_local $push187=, $4=, $pop188 + i64.store $push186=, sN($pop187), $pop58 + tee_local $push185=, $7=, $pop186 i64.const $push59=, 6 - i64.shr_u $push60=, $pop187, $pop59 - i32.wrap/i64 $push186=, $pop60 - tee_local $push185=, $6=, $pop186 - i32.const $push184=, 16 - i32.shr_u $push183=, $0, $pop184 - tee_local $push182=, $7=, $pop183 - i32.add $push61=, $pop185, $pop182 - i32.const $push181=, 63 - i32.and $push62=, $pop61, $pop181 + i64.shr_u $push60=, $pop185, $pop59 + i32.wrap/i64 $push184=, $pop60 + tee_local $push183=, $4=, $pop184 + i32.const $push182=, 16 + i32.shr_u $push181=, $0, $pop182 + tee_local $push180=, $2=, $pop181 + i32.add $push61=, $pop183, $pop180 + i32.const $push179=, 63 + i32.and $push62=, $pop61, $pop179 i32.const $push63=, 15 - i32.rem_u $1=, $pop62, $pop63 - i64.xor $push180=, $4, $2 - tee_local $push179=, $2=, $pop180 + i32.rem_u $5=, $pop62, $pop63 + i64.xor $push178=, $7, $1 + tee_local $push177=, $7=, $pop178 i64.const $push64=, 34359734272 - i64.and $push65=, $pop179, $pop64 - i64.const $push178=, 0 - i64.ne $push66=, $pop65, $pop178 + i64.and $push65=, $pop177, $pop64 + i64.const $push176=, 0 + i64.ne $push66=, $pop65, $pop176 br_if 0, $pop66 # 0: down to label8 # BB#5: # %lor.lhs.false80 i64.const $push70=, 63 - i64.and $push71=, $2, $pop70 - i64.const $push194=, 0 - i64.ne $push72=, $pop71, $pop194 + i64.and $push71=, $7, $pop70 + i64.const $push192=, 0 + i64.ne $push72=, $pop71, $pop192 br_if 0, $pop72 # 0: down to label8 # BB#6: # %lor.lhs.false80 - i32.const $push197=, 16 - i32.shr_u $push196=, $5, $pop197 - tee_local $push195=, $5=, $pop196 - i32.xor $push68=, $6, $pop195 + i32.const $push195=, 16 + i32.shr_u $push194=, $6, $pop195 + tee_local $push193=, $6=, $pop194 + i32.xor $push68=, $4, $pop193 i32.const $push69=, 63 i32.and $push67=, $pop68, $pop69 br_if 0, $pop67 # 0: down to label8 # BB#7: # %lor.lhs.false100 - i32.add $push73=, $7, $5 - i32.const $push198=, 63 - i32.and $push74=, $pop73, $pop198 + i32.add $push73=, $2, $6 + i32.const $push196=, 63 + i32.and $push74=, $pop73, $pop196 i32.const $push75=, 15 i32.rem_u $push76=, $pop74, $pop75 - i32.ne $push77=, $pop76, $1 + i32.ne $push77=, $pop76, $5 br_if 0, $pop77 # 0: down to label8 # BB#8: # %lor.lhs.false125 - i32.const $push85=, 0 + i32.const $push83=, 0 i32.const $push78=, 1103515245 i32.mul $push79=, $0, $pop78 i32.const $push80=, 12345 - i32.add $push210=, $pop79, $pop80 - tee_local $push209=, $5=, $pop210 - i32.const $push86=, 10 - i32.shr_u $push87=, $pop209, $pop86 - i64.extend_u/i32 $push88=, $pop87 - i64.const $push89=, 4032 - i64.and $push90=, $pop88, $pop89 - i64.or $push91=, $pop90, $3 - i64.const $push92=, 6 - i64.shr_u $push93=, $pop91, $pop92 - i32.wrap/i64 $push94=, $pop93 - i32.const $push208=, 0 - i32.const $push207=, 1103515245 - i32.mul $push83=, $5, $pop207 - i32.const $push206=, 12345 - i32.add $push84=, $pop83, $pop206 - i32.store $push0=, myrnd.s($pop208), $pop84 - i32.const $push81=, 16 - i32.shr_u $push205=, $pop0, $pop81 - tee_local $push204=, $0=, $pop205 - i32.add $push203=, $pop94, $pop204 - tee_local $push202=, $6=, $pop203 - i32.const $push95=, 6 - i32.shl $push96=, $pop202, $pop95 - i64.extend_u/i32 $push97=, $pop96 - i64.const $push201=, 4032 - i64.and $push98=, $pop97, $pop201 - i64.or $push99=, $pop98, $3 - i64.store $drop=, sN($pop85), $pop99 - i32.const $push200=, 16 - i32.shr_u $push82=, $5, $pop200 - i32.add $push100=, $0, $pop82 - i32.xor $push101=, $pop100, $6 - i32.const $push199=, 63 - i32.and $push102=, $pop101, $pop199 + i32.add $push208=, $pop79, $pop80 + tee_local $push207=, $6=, $pop208 + i32.const $push85=, 10 + i32.shr_u $push86=, $pop207, $pop85 + i64.extend_u/i32 $push87=, $pop86 + i64.const $push88=, 4032 + i64.and $push89=, $pop87, $pop88 + i64.or $push90=, $pop89, $3 + i64.const $push91=, 6 + i64.shr_u $push92=, $pop90, $pop91 + i32.wrap/i64 $push93=, $pop92 + i32.const $push206=, 0 + i32.const $push205=, 1103515245 + i32.mul $push81=, $6, $pop205 + i32.const $push204=, 12345 + i32.add $push82=, $pop81, $pop204 + i32.store $push0=, myrnd.s($pop206), $pop82 + i32.const $push84=, 16 + i32.shr_u $push203=, $pop0, $pop84 + tee_local $push202=, $0=, $pop203 + i32.add $push201=, $pop93, $pop202 + tee_local $push200=, $4=, $pop201 + i32.const $push94=, 6 + i32.shl $push95=, $pop200, $pop94 + i64.extend_u/i32 $push96=, $pop95 + i64.const $push199=, 4032 + i64.and $push97=, $pop96, $pop199 + i64.or $push98=, $pop97, $3 + i64.store $drop=, sN($pop83), $pop98 + i32.const $push198=, 16 + i32.shr_u $push99=, $6, $pop198 + i32.add $push100=, $0, $pop99 + i32.xor $push101=, $pop100, $4 + i32.const $push197=, 63 + i32.and $push102=, $pop101, $pop197 br_if 0, $pop102 # 0: down to label8 # BB#9: # %if.end158 return @@ -3878,17 +3866,16 @@ testN: # @testN .type retmeO,@function retmeO: # @retmeO .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end85: .size retmeO, .Lfunc_end85-retmeO @@ -3906,7 +3893,7 @@ fn1O: # @fn1O i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end86: .size fn1O, .Lfunc_end86-fn1O @@ -3926,7 +3913,7 @@ fn2O: # @fn2O i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end87: .size fn2O, .Lfunc_end87-fn2O @@ -3942,7 +3929,7 @@ retitO: # @retitO i32.load $push1=, sO+8($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end88: .size retitO, .Lfunc_end88-retitO @@ -3960,19 +3947,19 @@ fn3O: # @fn3O i32.const $push14=, 0 i64.load $push13=, sO+8($pop14) tee_local $push12=, $1=, $pop13 - i32.wrap/i64 $push1=, $pop12 - i32.add $push11=, $pop1, $0 + i32.wrap/i64 $push3=, $pop12 + i32.add $push11=, $pop3, $0 tee_local $push10=, $0=, $pop11 - i64.extend_u/i32 $push2=, $pop10 - i64.const $push3=, 4095 - i64.and $push4=, $pop2, $pop3 - i64.const $push5=, -4096 - i64.and $push6=, $1, $pop5 - i64.or $push7=, $pop4, $pop6 + i64.extend_u/i32 $push4=, $pop10 + i64.const $push5=, 4095 + i64.and $push6=, $pop4, $pop5 + i64.const $push1=, -4096 + i64.and $push2=, $1, $pop1 + i64.or $push7=, $pop6, $pop2 i64.store $drop=, sO+8($pop0), $pop7 i32.const $push8=, 4095 i32.and $push9=, $0, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end89: .size fn3O, .Lfunc_end89-fn3O @@ -3985,277 +3972,279 @@ testO: # @testO .local i32, i64, i32, i32, i32 # BB#0: # %entry i32.const $push7=, 0 - i32.const $push204=, 0 - i32.load $push8=, myrnd.s($pop204) + i32.const $push206=, 0 + i32.load $push8=, myrnd.s($pop206) i32.const $push9=, 1103515245 i32.mul $push10=, $pop8, $pop9 i32.const $push11=, 12345 - i32.add $push203=, $pop10, $pop11 - tee_local $push202=, $2=, $pop203 - i32.const $push201=, 16 - i32.shr_u $push12=, $pop202, $pop201 + i32.add $push205=, $pop10, $pop11 + tee_local $push204=, $2=, $pop205 + i32.const $push203=, 16 + i32.shr_u $push12=, $pop204, $pop203 i32.store8 $drop=, sO($pop7), $pop12 - i32.const $push200=, 0 - i32.const $push199=, 1103515245 - i32.mul $push13=, $2, $pop199 - i32.const $push198=, 12345 - i32.add $push197=, $pop13, $pop198 - tee_local $push196=, $2=, $pop197 - i32.const $push195=, 16 - i32.shr_u $push14=, $pop196, $pop195 - i32.store8 $drop=, sO+1($pop200), $pop14 - i32.const $push194=, 0 - i32.const $push193=, 1103515245 - i32.mul $push15=, $2, $pop193 - i32.const $push192=, 12345 - i32.add $push191=, $pop15, $pop192 - tee_local $push190=, $2=, $pop191 - i32.const $push189=, 16 - i32.shr_u $push16=, $pop190, $pop189 - i32.store8 $drop=, sO+2($pop194), $pop16 - i32.const $push188=, 0 - i32.const $push187=, 1103515245 - i32.mul $push17=, $2, $pop187 - i32.const $push186=, 12345 - i32.add $push185=, $pop17, $pop186 - tee_local $push184=, $2=, $pop185 - i32.const $push183=, 16 - i32.shr_u $push18=, $pop184, $pop183 - i32.store8 $drop=, sO+3($pop188), $pop18 - i32.const $push182=, 0 - i32.const $push181=, 1103515245 - i32.mul $push19=, $2, $pop181 - i32.const $push180=, 12345 - i32.add $push179=, $pop19, $pop180 - tee_local $push178=, $2=, $pop179 - i32.const $push177=, 16 - i32.shr_u $push20=, $pop178, $pop177 - i32.store8 $drop=, sO+4($pop182), $pop20 - i32.const $push176=, 0 - i32.const $push175=, 1103515245 - i32.mul $push21=, $2, $pop175 - i32.const $push174=, 12345 - i32.add $push173=, $pop21, $pop174 - tee_local $push172=, $2=, $pop173 - i32.const $push171=, 16 - i32.shr_u $push22=, $pop172, $pop171 - i32.store8 $drop=, sO+5($pop176), $pop22 - i32.const $push170=, 0 - i32.const $push169=, 1103515245 - i32.mul $push23=, $2, $pop169 - i32.const $push168=, 12345 - i32.add $push167=, $pop23, $pop168 - tee_local $push166=, $2=, $pop167 - i32.const $push165=, 16 - i32.shr_u $push24=, $pop166, $pop165 - i32.store8 $drop=, sO+6($pop170), $pop24 - i32.const $push164=, 0 - i32.const $push163=, 1103515245 - i32.mul $push25=, $2, $pop163 - i32.const $push162=, 12345 - i32.add $push161=, $pop25, $pop162 - tee_local $push160=, $2=, $pop161 - i32.const $push159=, 16 - i32.shr_u $push26=, $pop160, $pop159 - i32.store8 $drop=, sO+7($pop164), $pop26 - i32.const $push158=, 0 - i32.const $push157=, 1103515245 - i32.mul $push27=, $2, $pop157 - i32.const $push156=, 12345 - i32.add $push155=, $pop27, $pop156 - tee_local $push154=, $2=, $pop155 - i32.const $push153=, 16 - i32.shr_u $push28=, $pop154, $pop153 - i32.store8 $drop=, sO+8($pop158), $pop28 - i32.const $push152=, 0 - i32.const $push151=, 1103515245 - i32.mul $push29=, $2, $pop151 - i32.const $push150=, 12345 - i32.add $push149=, $pop29, $pop150 - tee_local $push148=, $2=, $pop149 - i32.const $push147=, 16 - i32.shr_u $push30=, $pop148, $pop147 - i32.store8 $drop=, sO+9($pop152), $pop30 - i32.const $push146=, 0 - i32.const $push145=, 1103515245 - i32.mul $push31=, $2, $pop145 - i32.const $push144=, 12345 - i32.add $push143=, $pop31, $pop144 - tee_local $push142=, $2=, $pop143 - i32.const $push141=, 16 - i32.shr_u $push32=, $pop142, $pop141 - i32.store8 $drop=, sO+10($pop146), $pop32 - i32.const $push140=, 0 - i32.const $push139=, 1103515245 - i32.mul $push33=, $2, $pop139 - i32.const $push138=, 12345 - i32.add $push137=, $pop33, $pop138 - tee_local $push136=, $2=, $pop137 - i32.const $push135=, 16 - i32.shr_u $push34=, $pop136, $pop135 - i32.store8 $drop=, sO+11($pop140), $pop34 - i32.const $push134=, 0 - i32.const $push133=, 1103515245 - i32.mul $push35=, $2, $pop133 - i32.const $push132=, 12345 - i32.add $push131=, $pop35, $pop132 - tee_local $push130=, $2=, $pop131 - i32.const $push129=, 16 - i32.shr_u $push36=, $pop130, $pop129 - i32.store8 $drop=, sO+12($pop134), $pop36 - i32.const $push128=, 0 - i32.const $push127=, 1103515245 - i32.mul $push37=, $2, $pop127 - i32.const $push126=, 12345 - i32.add $push125=, $pop37, $pop126 - tee_local $push124=, $2=, $pop125 - i32.const $push123=, 16 - i32.shr_u $push38=, $pop124, $pop123 - i32.store8 $drop=, sO+13($pop128), $pop38 - i32.const $push122=, 0 - i32.const $push121=, 1103515245 - i32.mul $push39=, $2, $pop121 - i32.const $push120=, 12345 - i32.add $push119=, $pop39, $pop120 - tee_local $push118=, $2=, $pop119 - i32.const $push117=, 16 - i32.shr_u $push40=, $pop118, $pop117 - i32.store8 $drop=, sO+14($pop122), $pop40 - i32.const $push116=, 0 - i32.const $push115=, 1103515245 - i32.mul $push41=, $2, $pop115 - i32.const $push114=, 12345 - i32.add $push113=, $pop41, $pop114 - tee_local $push112=, $2=, $pop113 - i32.const $push111=, 16 - i32.shr_u $push42=, $pop112, $pop111 - i32.store8 $drop=, sO+15($pop116), $pop42 - i32.const $push110=, 0 - i64.load $1=, sO+8($pop110) - i32.const $push109=, 1103515245 - i32.mul $push43=, $2, $pop109 - i32.const $push108=, 12345 - i32.add $push107=, $pop43, $pop108 - tee_local $push106=, $0=, $pop107 - i32.const $push105=, 16 - i32.shr_u $push44=, $pop106, $pop105 - i32.const $push104=, 2047 - i32.and $2=, $pop44, $pop104 - i32.const $push103=, 0 - i32.const $push102=, 1103515245 - i32.mul $push45=, $0, $pop102 - i32.const $push101=, 12345 - i32.add $push3=, $pop45, $pop101 - i32.store $0=, myrnd.s($pop103), $pop3 + i32.const $push202=, 0 + i32.const $push201=, 1103515245 + i32.mul $push13=, $2, $pop201 + i32.const $push200=, 12345 + i32.add $push199=, $pop13, $pop200 + tee_local $push198=, $2=, $pop199 + i32.const $push197=, 16 + i32.shr_u $push14=, $pop198, $pop197 + i32.store8 $drop=, sO+1($pop202), $pop14 + i32.const $push196=, 0 + i32.const $push195=, 1103515245 + i32.mul $push15=, $2, $pop195 + i32.const $push194=, 12345 + i32.add $push193=, $pop15, $pop194 + tee_local $push192=, $2=, $pop193 + i32.const $push191=, 16 + i32.shr_u $push16=, $pop192, $pop191 + i32.store8 $drop=, sO+2($pop196), $pop16 + i32.const $push190=, 0 + i32.const $push189=, 1103515245 + i32.mul $push17=, $2, $pop189 + i32.const $push188=, 12345 + i32.add $push187=, $pop17, $pop188 + tee_local $push186=, $2=, $pop187 + i32.const $push185=, 16 + i32.shr_u $push18=, $pop186, $pop185 + i32.store8 $drop=, sO+3($pop190), $pop18 + i32.const $push184=, 0 + i32.const $push183=, 1103515245 + i32.mul $push19=, $2, $pop183 + i32.const $push182=, 12345 + i32.add $push181=, $pop19, $pop182 + tee_local $push180=, $2=, $pop181 + i32.const $push179=, 16 + i32.shr_u $push20=, $pop180, $pop179 + i32.store8 $drop=, sO+4($pop184), $pop20 + i32.const $push178=, 0 + i32.const $push177=, 1103515245 + i32.mul $push21=, $2, $pop177 + i32.const $push176=, 12345 + i32.add $push175=, $pop21, $pop176 + tee_local $push174=, $2=, $pop175 + i32.const $push173=, 16 + i32.shr_u $push22=, $pop174, $pop173 + i32.store8 $drop=, sO+5($pop178), $pop22 + i32.const $push172=, 0 + i32.const $push171=, 1103515245 + i32.mul $push23=, $2, $pop171 + i32.const $push170=, 12345 + i32.add $push169=, $pop23, $pop170 + tee_local $push168=, $2=, $pop169 + i32.const $push167=, 16 + i32.shr_u $push24=, $pop168, $pop167 + i32.store8 $drop=, sO+6($pop172), $pop24 + i32.const $push166=, 0 + i32.const $push165=, 1103515245 + i32.mul $push25=, $2, $pop165 + i32.const $push164=, 12345 + i32.add $push163=, $pop25, $pop164 + tee_local $push162=, $2=, $pop163 + i32.const $push161=, 16 + i32.shr_u $push26=, $pop162, $pop161 + i32.store8 $drop=, sO+7($pop166), $pop26 + i32.const $push160=, 0 + i32.const $push159=, 1103515245 + i32.mul $push27=, $2, $pop159 + i32.const $push158=, 12345 + i32.add $push157=, $pop27, $pop158 + tee_local $push156=, $2=, $pop157 + i32.const $push155=, 16 + i32.shr_u $push28=, $pop156, $pop155 + i32.store8 $drop=, sO+8($pop160), $pop28 + i32.const $push154=, 0 + i32.const $push153=, 1103515245 + i32.mul $push29=, $2, $pop153 + i32.const $push152=, 12345 + i32.add $push151=, $pop29, $pop152 + tee_local $push150=, $2=, $pop151 + i32.const $push149=, 16 + i32.shr_u $push30=, $pop150, $pop149 + i32.store8 $drop=, sO+9($pop154), $pop30 + i32.const $push148=, 0 + i32.const $push147=, 1103515245 + i32.mul $push31=, $2, $pop147 + i32.const $push146=, 12345 + i32.add $push145=, $pop31, $pop146 + tee_local $push144=, $2=, $pop145 + i32.const $push143=, 16 + i32.shr_u $push32=, $pop144, $pop143 + i32.store8 $drop=, sO+10($pop148), $pop32 + i32.const $push142=, 0 + i32.const $push141=, 1103515245 + i32.mul $push33=, $2, $pop141 + i32.const $push140=, 12345 + i32.add $push139=, $pop33, $pop140 + tee_local $push138=, $2=, $pop139 + i32.const $push137=, 16 + i32.shr_u $push34=, $pop138, $pop137 + i32.store8 $drop=, sO+11($pop142), $pop34 + i32.const $push136=, 0 + i32.const $push135=, 1103515245 + i32.mul $push35=, $2, $pop135 + i32.const $push134=, 12345 + i32.add $push133=, $pop35, $pop134 + tee_local $push132=, $2=, $pop133 + i32.const $push131=, 16 + i32.shr_u $push36=, $pop132, $pop131 + i32.store8 $drop=, sO+12($pop136), $pop36 + i32.const $push130=, 0 + i32.const $push129=, 1103515245 + i32.mul $push37=, $2, $pop129 + i32.const $push128=, 12345 + i32.add $push127=, $pop37, $pop128 + tee_local $push126=, $2=, $pop127 + i32.const $push125=, 16 + i32.shr_u $push38=, $pop126, $pop125 + i32.store8 $drop=, sO+13($pop130), $pop38 + i32.const $push124=, 0 + i32.const $push123=, 1103515245 + i32.mul $push39=, $2, $pop123 + i32.const $push122=, 12345 + i32.add $push121=, $pop39, $pop122 + tee_local $push120=, $2=, $pop121 + i32.const $push119=, 16 + i32.shr_u $push40=, $pop120, $pop119 + i32.store8 $drop=, sO+14($pop124), $pop40 + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push41=, $2, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop41, $pop116 + tee_local $push114=, $2=, $pop115 + i32.const $push113=, 16 + i32.shr_u $push42=, $pop114, $pop113 + i32.store8 $drop=, sO+15($pop118), $pop42 + i32.const $push112=, 0 + i64.load $1=, sO+8($pop112) + i32.const $push111=, 0 + i32.const $push110=, 1103515245 + i32.mul $push43=, $2, $pop110 + i32.const $push109=, 12345 + i32.add $push108=, $pop43, $pop109 + tee_local $push107=, $2=, $pop108 + i32.const $push106=, 1103515245 + i32.mul $push44=, $pop107, $pop106 + i32.const $push105=, 12345 + i32.add $push3=, $pop44, $pop105 + i32.store $0=, myrnd.s($pop111), $pop3 block + i32.const $push104=, 16 + i32.shr_u $push47=, $2, $pop104 + i32.const $push103=, 2047 + i32.and $push102=, $pop47, $pop103 + tee_local $push101=, $2=, $pop102 i32.const $push100=, 0 - i64.extend_u/i32 $push47=, $2 - i64.const $push48=, -4096 - i64.and $push49=, $1, $pop48 - i64.or $push50=, $pop47, $pop49 - i64.store $push0=, sO+8($pop100), $pop50 + i64.extend_u/i32 $push48=, $2 + i64.const $push45=, -4096 + i64.and $push46=, $1, $pop45 + i64.or $push49=, $pop48, $pop46 + i64.store $push0=, sO+8($pop100), $pop49 i32.wrap/i64 $push99=, $pop0 - tee_local $push98=, $3=, $pop99 + tee_local $push98=, $4=, $pop99 i32.const $push97=, 2047 i32.and $push53=, $pop98, $pop97 - i32.ne $push54=, $2, $pop53 + i32.ne $push54=, $pop101, $pop53 br_if 0, $pop54 # 0: down to label9 # BB#1: # %entry - i32.const $push208=, 16 - i32.shr_u $push46=, $0, $pop208 - i32.const $push207=, 2047 - i32.and $push206=, $pop46, $pop207 - tee_local $push205=, $4=, $pop206 - i32.add $push5=, $pop205, $2 - i32.add $push51=, $3, $4 + i32.const $push210=, 16 + i32.shr_u $push50=, $0, $pop210 + i32.const $push209=, 2047 + i32.and $push208=, $pop50, $pop209 + tee_local $push207=, $3=, $pop208 + i32.add $push5=, $pop207, $2 + i32.add $push51=, $4, $3 i32.const $push52=, 4095 i32.and $push6=, $pop51, $pop52 i32.ne $push55=, $pop5, $pop6 br_if 0, $pop55 # 0: down to label9 # BB#2: # %if.end + i32.const $push60=, 0 i32.const $push56=, 1103515245 i32.mul $push57=, $0, $pop56 i32.const $push58=, 12345 - i32.add $push218=, $pop57, $pop58 - tee_local $push217=, $0=, $pop218 - i32.const $push216=, 16 - i32.shr_u $push59=, $pop217, $pop216 - i32.const $push215=, 2047 - i32.and $2=, $pop59, $pop215 - i32.const $push61=, 0 - i32.const $push214=, 1103515245 - i32.mul $push60=, $0, $pop214 - i32.const $push213=, 12345 - i32.add $push4=, $pop60, $pop213 - i32.store $0=, myrnd.s($pop61), $pop4 - i32.const $push212=, 0 - i64.extend_u/i32 $push63=, $2 - i64.const $push64=, -4096 - i64.and $push65=, $1, $pop64 - i64.or $push66=, $pop63, $pop65 - i64.store $push1=, sO+8($pop212), $pop66 - i32.wrap/i64 $push211=, $pop1 - tee_local $push210=, $3=, $pop211 - i32.const $push209=, 2047 - i32.and $push67=, $pop210, $pop209 - i32.ne $push68=, $2, $pop67 - br_if 0, $pop68 # 0: down to label9 + i32.add $push222=, $pop57, $pop58 + tee_local $push221=, $2=, $pop222 + i32.const $push220=, 1103515245 + i32.mul $push59=, $pop221, $pop220 + i32.const $push219=, 12345 + i32.add $push4=, $pop59, $pop219 + i32.store $0=, myrnd.s($pop60), $pop4 + i32.const $push218=, 16 + i32.shr_u $push63=, $2, $pop218 + i32.const $push217=, 2047 + i32.and $push216=, $pop63, $pop217 + tee_local $push215=, $2=, $pop216 + i32.const $push214=, 0 + i64.extend_u/i32 $push64=, $2 + i64.const $push61=, -4096 + i64.and $push62=, $1, $pop61 + i64.or $push65=, $pop64, $pop62 + i64.store $push1=, sO+8($pop214), $pop65 + i32.wrap/i64 $push213=, $pop1 + tee_local $push212=, $4=, $pop213 + i32.const $push211=, 2047 + i32.and $push66=, $pop212, $pop211 + i32.ne $push67=, $pop215, $pop66 + br_if 0, $pop67 # 0: down to label9 # BB#3: # %lor.lhs.false87 - i32.const $push224=, 16 - i32.shr_u $push62=, $0, $pop224 - i32.const $push223=, 2047 - i32.and $push222=, $pop62, $pop223 - tee_local $push221=, $4=, $pop222 - i32.add $push73=, $pop221, $2 - i32.const $push71=, 15 - i32.rem_u $push74=, $pop73, $pop71 - i32.add $push69=, $3, $4 - i32.const $push220=, 4095 - i32.and $push70=, $pop69, $pop220 - i32.const $push219=, 15 - i32.rem_u $push72=, $pop70, $pop219 - i32.ne $push75=, $pop74, $pop72 + i32.const $push228=, 16 + i32.shr_u $push68=, $0, $pop228 + i32.const $push227=, 2047 + i32.and $push226=, $pop68, $pop227 + tee_local $push225=, $3=, $pop226 + i32.add $push69=, $pop225, $2 + i32.const $push70=, 15 + i32.rem_u $push71=, $pop69, $pop70 + i32.add $push72=, $4, $3 + i32.const $push224=, 4095 + i32.and $push73=, $pop72, $pop224 + i32.const $push223=, 15 + i32.rem_u $push74=, $pop73, $pop223 + i32.ne $push75=, $pop71, $pop74 br_if 0, $pop75 # 0: down to label9 # BB#4: # %lor.lhs.false124 - i32.const $push84=, 0 + i32.const $push81=, 0 i32.const $push76=, 1103515245 i32.mul $push77=, $0, $pop76 i32.const $push78=, 12345 - i32.add $push240=, $pop77, $pop78 - tee_local $push239=, $2=, $pop240 - i32.const $push79=, 16 - i32.shr_u $push80=, $pop239, $pop79 - i32.const $push81=, 2047 - i32.and $push238=, $pop80, $pop81 - tee_local $push237=, $0=, $pop238 - i64.extend_u/i32 $push86=, $pop237 - i64.const $push87=, -4096 - i64.and $push236=, $1, $pop87 - tee_local $push235=, $1=, $pop236 - i64.or $push88=, $pop86, $pop235 - i32.wrap/i64 $push89=, $pop88 - i32.const $push234=, 0 - i32.const $push233=, 1103515245 - i32.mul $push82=, $2, $pop233 - i32.const $push232=, 12345 - i32.add $push83=, $pop82, $pop232 - i32.store $push2=, myrnd.s($pop234), $pop83 - i32.const $push231=, 16 - i32.shr_u $push85=, $pop2, $pop231 - i32.const $push230=, 2047 - i32.and $push229=, $pop85, $pop230 - tee_local $push228=, $2=, $pop229 - i32.add $push227=, $pop89, $pop228 - tee_local $push226=, $3=, $pop227 - i64.extend_u/i32 $push90=, $pop226 + i32.add $push244=, $pop77, $pop78 + tee_local $push243=, $2=, $pop244 + i32.const $push83=, 16 + i32.shr_u $push84=, $pop243, $pop83 + i32.const $push85=, 2047 + i32.and $push242=, $pop84, $pop85 + tee_local $push241=, $0=, $pop242 + i64.extend_u/i32 $push86=, $pop241 + i64.const $push82=, -4096 + i64.and $push240=, $1, $pop82 + tee_local $push239=, $1=, $pop240 + i64.or $push87=, $pop86, $pop239 + i32.wrap/i64 $push88=, $pop87 + i32.const $push238=, 0 + i32.const $push237=, 1103515245 + i32.mul $push79=, $2, $pop237 + i32.const $push236=, 12345 + i32.add $push80=, $pop79, $pop236 + i32.store $push2=, myrnd.s($pop238), $pop80 + i32.const $push235=, 16 + i32.shr_u $push89=, $pop2, $pop235 + i32.const $push234=, 2047 + i32.and $push233=, $pop89, $pop234 + tee_local $push232=, $2=, $pop233 + i32.add $push231=, $pop88, $pop232 + tee_local $push230=, $4=, $pop231 + i64.extend_u/i32 $push90=, $pop230 i64.const $push91=, 4095 i64.and $push92=, $pop90, $pop91 i64.or $push93=, $pop92, $1 - i64.store $drop=, sO+8($pop84), $pop93 - i32.add $push95=, $2, $0 - i32.const $push225=, 4095 - i32.and $push94=, $3, $pop225 - i32.ne $push96=, $pop95, $pop94 + i64.store $drop=, sO+8($pop81), $pop93 + i32.add $push94=, $2, $0 + i32.const $push229=, 4095 + i32.and $push95=, $4, $pop229 + i32.ne $push96=, $pop94, $pop95 br_if 0, $pop96 # 0: down to label9 # BB#5: # %if.end140 return @@ -4273,17 +4262,16 @@ testO: # @testO .type retmeP,@function retmeP: # @retmeP .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end91: .size retmeP, .Lfunc_end91-retmeP @@ -4301,7 +4289,7 @@ fn1P: # @fn1P i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end92: .size fn1P, .Lfunc_end92-fn1P @@ -4321,7 +4309,7 @@ fn2P: # @fn2P i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end93: .size fn2P, .Lfunc_end93-fn2P @@ -4337,7 +4325,7 @@ retitP: # @retitP i32.load $push1=, sP($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end94: .size retitP, .Lfunc_end94-retitP @@ -4355,19 +4343,19 @@ fn3P: # @fn3P i32.const $push14=, 0 i64.load $push13=, sP($pop14) tee_local $push12=, $1=, $pop13 - i32.wrap/i64 $push1=, $pop12 - i32.add $push11=, $pop1, $0 + i32.wrap/i64 $push3=, $pop12 + i32.add $push11=, $pop3, $0 tee_local $push10=, $0=, $pop11 - i64.extend_u/i32 $push2=, $pop10 - i64.const $push3=, 4095 - i64.and $push4=, $pop2, $pop3 - i64.const $push5=, -4096 - i64.and $push6=, $1, $pop5 - i64.or $push7=, $pop4, $pop6 + i64.extend_u/i32 $push4=, $pop10 + i64.const $push5=, 4095 + i64.and $push6=, $pop4, $pop5 + i64.const $push1=, -4096 + i64.and $push2=, $1, $pop1 + i64.or $push7=, $pop6, $pop2 i64.store $drop=, sP($pop0), $pop7 i32.const $push8=, 4095 i32.and $push9=, $0, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end95: .size fn3P, .Lfunc_end95-fn3P @@ -4380,277 +4368,279 @@ testP: # @testP .local i32, i64, i32, i32, i32 # BB#0: # %entry i32.const $push7=, 0 - i32.const $push204=, 0 - i32.load $push8=, myrnd.s($pop204) + i32.const $push206=, 0 + i32.load $push8=, myrnd.s($pop206) i32.const $push9=, 1103515245 i32.mul $push10=, $pop8, $pop9 i32.const $push11=, 12345 - i32.add $push203=, $pop10, $pop11 - tee_local $push202=, $2=, $pop203 - i32.const $push201=, 16 - i32.shr_u $push12=, $pop202, $pop201 + i32.add $push205=, $pop10, $pop11 + tee_local $push204=, $2=, $pop205 + i32.const $push203=, 16 + i32.shr_u $push12=, $pop204, $pop203 i32.store8 $drop=, sP($pop7), $pop12 - i32.const $push200=, 0 - i32.const $push199=, 1103515245 - i32.mul $push13=, $2, $pop199 - i32.const $push198=, 12345 - i32.add $push197=, $pop13, $pop198 - tee_local $push196=, $2=, $pop197 - i32.const $push195=, 16 - i32.shr_u $push14=, $pop196, $pop195 - i32.store8 $drop=, sP+1($pop200), $pop14 - i32.const $push194=, 0 - i32.const $push193=, 1103515245 - i32.mul $push15=, $2, $pop193 - i32.const $push192=, 12345 - i32.add $push191=, $pop15, $pop192 - tee_local $push190=, $2=, $pop191 - i32.const $push189=, 16 - i32.shr_u $push16=, $pop190, $pop189 - i32.store8 $drop=, sP+2($pop194), $pop16 - i32.const $push188=, 0 - i32.const $push187=, 1103515245 - i32.mul $push17=, $2, $pop187 - i32.const $push186=, 12345 - i32.add $push185=, $pop17, $pop186 - tee_local $push184=, $2=, $pop185 - i32.const $push183=, 16 - i32.shr_u $push18=, $pop184, $pop183 - i32.store8 $drop=, sP+3($pop188), $pop18 - i32.const $push182=, 0 - i32.const $push181=, 1103515245 - i32.mul $push19=, $2, $pop181 - i32.const $push180=, 12345 - i32.add $push179=, $pop19, $pop180 - tee_local $push178=, $2=, $pop179 - i32.const $push177=, 16 - i32.shr_u $push20=, $pop178, $pop177 - i32.store8 $drop=, sP+4($pop182), $pop20 - i32.const $push176=, 0 - i32.const $push175=, 1103515245 - i32.mul $push21=, $2, $pop175 - i32.const $push174=, 12345 - i32.add $push173=, $pop21, $pop174 - tee_local $push172=, $2=, $pop173 - i32.const $push171=, 16 - i32.shr_u $push22=, $pop172, $pop171 - i32.store8 $drop=, sP+5($pop176), $pop22 - i32.const $push170=, 0 - i32.const $push169=, 1103515245 - i32.mul $push23=, $2, $pop169 - i32.const $push168=, 12345 - i32.add $push167=, $pop23, $pop168 - tee_local $push166=, $2=, $pop167 - i32.const $push165=, 16 - i32.shr_u $push24=, $pop166, $pop165 - i32.store8 $drop=, sP+6($pop170), $pop24 - i32.const $push164=, 0 - i32.const $push163=, 1103515245 - i32.mul $push25=, $2, $pop163 - i32.const $push162=, 12345 - i32.add $push161=, $pop25, $pop162 - tee_local $push160=, $2=, $pop161 - i32.const $push159=, 16 - i32.shr_u $push26=, $pop160, $pop159 - i32.store8 $drop=, sP+7($pop164), $pop26 - i32.const $push158=, 0 - i32.const $push157=, 1103515245 - i32.mul $push27=, $2, $pop157 - i32.const $push156=, 12345 - i32.add $push155=, $pop27, $pop156 - tee_local $push154=, $2=, $pop155 - i32.const $push153=, 16 - i32.shr_u $push28=, $pop154, $pop153 - i32.store8 $drop=, sP+8($pop158), $pop28 - i32.const $push152=, 0 - i32.const $push151=, 1103515245 - i32.mul $push29=, $2, $pop151 - i32.const $push150=, 12345 - i32.add $push149=, $pop29, $pop150 - tee_local $push148=, $2=, $pop149 - i32.const $push147=, 16 - i32.shr_u $push30=, $pop148, $pop147 - i32.store8 $drop=, sP+9($pop152), $pop30 - i32.const $push146=, 0 - i32.const $push145=, 1103515245 - i32.mul $push31=, $2, $pop145 - i32.const $push144=, 12345 - i32.add $push143=, $pop31, $pop144 - tee_local $push142=, $2=, $pop143 - i32.const $push141=, 16 - i32.shr_u $push32=, $pop142, $pop141 - i32.store8 $drop=, sP+10($pop146), $pop32 - i32.const $push140=, 0 - i32.const $push139=, 1103515245 - i32.mul $push33=, $2, $pop139 - i32.const $push138=, 12345 - i32.add $push137=, $pop33, $pop138 - tee_local $push136=, $2=, $pop137 - i32.const $push135=, 16 - i32.shr_u $push34=, $pop136, $pop135 - i32.store8 $drop=, sP+11($pop140), $pop34 - i32.const $push134=, 0 - i32.const $push133=, 1103515245 - i32.mul $push35=, $2, $pop133 - i32.const $push132=, 12345 - i32.add $push131=, $pop35, $pop132 - tee_local $push130=, $2=, $pop131 - i32.const $push129=, 16 - i32.shr_u $push36=, $pop130, $pop129 - i32.store8 $drop=, sP+12($pop134), $pop36 - i32.const $push128=, 0 - i32.const $push127=, 1103515245 - i32.mul $push37=, $2, $pop127 - i32.const $push126=, 12345 - i32.add $push125=, $pop37, $pop126 - tee_local $push124=, $2=, $pop125 - i32.const $push123=, 16 - i32.shr_u $push38=, $pop124, $pop123 - i32.store8 $drop=, sP+13($pop128), $pop38 - i32.const $push122=, 0 - i32.const $push121=, 1103515245 - i32.mul $push39=, $2, $pop121 - i32.const $push120=, 12345 - i32.add $push119=, $pop39, $pop120 - tee_local $push118=, $2=, $pop119 - i32.const $push117=, 16 - i32.shr_u $push40=, $pop118, $pop117 - i32.store8 $drop=, sP+14($pop122), $pop40 - i32.const $push116=, 0 - i32.const $push115=, 1103515245 - i32.mul $push41=, $2, $pop115 - i32.const $push114=, 12345 - i32.add $push113=, $pop41, $pop114 - tee_local $push112=, $2=, $pop113 - i32.const $push111=, 16 - i32.shr_u $push42=, $pop112, $pop111 - i32.store8 $drop=, sP+15($pop116), $pop42 - i32.const $push110=, 0 - i64.load $1=, sP($pop110) - i32.const $push109=, 1103515245 - i32.mul $push43=, $2, $pop109 - i32.const $push108=, 12345 - i32.add $push107=, $pop43, $pop108 - tee_local $push106=, $0=, $pop107 - i32.const $push105=, 16 - i32.shr_u $push44=, $pop106, $pop105 - i32.const $push104=, 2047 - i32.and $2=, $pop44, $pop104 - i32.const $push103=, 0 - i32.const $push102=, 1103515245 - i32.mul $push45=, $0, $pop102 - i32.const $push101=, 12345 - i32.add $push3=, $pop45, $pop101 - i32.store $0=, myrnd.s($pop103), $pop3 + i32.const $push202=, 0 + i32.const $push201=, 1103515245 + i32.mul $push13=, $2, $pop201 + i32.const $push200=, 12345 + i32.add $push199=, $pop13, $pop200 + tee_local $push198=, $2=, $pop199 + i32.const $push197=, 16 + i32.shr_u $push14=, $pop198, $pop197 + i32.store8 $drop=, sP+1($pop202), $pop14 + i32.const $push196=, 0 + i32.const $push195=, 1103515245 + i32.mul $push15=, $2, $pop195 + i32.const $push194=, 12345 + i32.add $push193=, $pop15, $pop194 + tee_local $push192=, $2=, $pop193 + i32.const $push191=, 16 + i32.shr_u $push16=, $pop192, $pop191 + i32.store8 $drop=, sP+2($pop196), $pop16 + i32.const $push190=, 0 + i32.const $push189=, 1103515245 + i32.mul $push17=, $2, $pop189 + i32.const $push188=, 12345 + i32.add $push187=, $pop17, $pop188 + tee_local $push186=, $2=, $pop187 + i32.const $push185=, 16 + i32.shr_u $push18=, $pop186, $pop185 + i32.store8 $drop=, sP+3($pop190), $pop18 + i32.const $push184=, 0 + i32.const $push183=, 1103515245 + i32.mul $push19=, $2, $pop183 + i32.const $push182=, 12345 + i32.add $push181=, $pop19, $pop182 + tee_local $push180=, $2=, $pop181 + i32.const $push179=, 16 + i32.shr_u $push20=, $pop180, $pop179 + i32.store8 $drop=, sP+4($pop184), $pop20 + i32.const $push178=, 0 + i32.const $push177=, 1103515245 + i32.mul $push21=, $2, $pop177 + i32.const $push176=, 12345 + i32.add $push175=, $pop21, $pop176 + tee_local $push174=, $2=, $pop175 + i32.const $push173=, 16 + i32.shr_u $push22=, $pop174, $pop173 + i32.store8 $drop=, sP+5($pop178), $pop22 + i32.const $push172=, 0 + i32.const $push171=, 1103515245 + i32.mul $push23=, $2, $pop171 + i32.const $push170=, 12345 + i32.add $push169=, $pop23, $pop170 + tee_local $push168=, $2=, $pop169 + i32.const $push167=, 16 + i32.shr_u $push24=, $pop168, $pop167 + i32.store8 $drop=, sP+6($pop172), $pop24 + i32.const $push166=, 0 + i32.const $push165=, 1103515245 + i32.mul $push25=, $2, $pop165 + i32.const $push164=, 12345 + i32.add $push163=, $pop25, $pop164 + tee_local $push162=, $2=, $pop163 + i32.const $push161=, 16 + i32.shr_u $push26=, $pop162, $pop161 + i32.store8 $drop=, sP+7($pop166), $pop26 + i32.const $push160=, 0 + i32.const $push159=, 1103515245 + i32.mul $push27=, $2, $pop159 + i32.const $push158=, 12345 + i32.add $push157=, $pop27, $pop158 + tee_local $push156=, $2=, $pop157 + i32.const $push155=, 16 + i32.shr_u $push28=, $pop156, $pop155 + i32.store8 $drop=, sP+8($pop160), $pop28 + i32.const $push154=, 0 + i32.const $push153=, 1103515245 + i32.mul $push29=, $2, $pop153 + i32.const $push152=, 12345 + i32.add $push151=, $pop29, $pop152 + tee_local $push150=, $2=, $pop151 + i32.const $push149=, 16 + i32.shr_u $push30=, $pop150, $pop149 + i32.store8 $drop=, sP+9($pop154), $pop30 + i32.const $push148=, 0 + i32.const $push147=, 1103515245 + i32.mul $push31=, $2, $pop147 + i32.const $push146=, 12345 + i32.add $push145=, $pop31, $pop146 + tee_local $push144=, $2=, $pop145 + i32.const $push143=, 16 + i32.shr_u $push32=, $pop144, $pop143 + i32.store8 $drop=, sP+10($pop148), $pop32 + i32.const $push142=, 0 + i32.const $push141=, 1103515245 + i32.mul $push33=, $2, $pop141 + i32.const $push140=, 12345 + i32.add $push139=, $pop33, $pop140 + tee_local $push138=, $2=, $pop139 + i32.const $push137=, 16 + i32.shr_u $push34=, $pop138, $pop137 + i32.store8 $drop=, sP+11($pop142), $pop34 + i32.const $push136=, 0 + i32.const $push135=, 1103515245 + i32.mul $push35=, $2, $pop135 + i32.const $push134=, 12345 + i32.add $push133=, $pop35, $pop134 + tee_local $push132=, $2=, $pop133 + i32.const $push131=, 16 + i32.shr_u $push36=, $pop132, $pop131 + i32.store8 $drop=, sP+12($pop136), $pop36 + i32.const $push130=, 0 + i32.const $push129=, 1103515245 + i32.mul $push37=, $2, $pop129 + i32.const $push128=, 12345 + i32.add $push127=, $pop37, $pop128 + tee_local $push126=, $2=, $pop127 + i32.const $push125=, 16 + i32.shr_u $push38=, $pop126, $pop125 + i32.store8 $drop=, sP+13($pop130), $pop38 + i32.const $push124=, 0 + i32.const $push123=, 1103515245 + i32.mul $push39=, $2, $pop123 + i32.const $push122=, 12345 + i32.add $push121=, $pop39, $pop122 + tee_local $push120=, $2=, $pop121 + i32.const $push119=, 16 + i32.shr_u $push40=, $pop120, $pop119 + i32.store8 $drop=, sP+14($pop124), $pop40 + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push41=, $2, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop41, $pop116 + tee_local $push114=, $2=, $pop115 + i32.const $push113=, 16 + i32.shr_u $push42=, $pop114, $pop113 + i32.store8 $drop=, sP+15($pop118), $pop42 + i32.const $push112=, 0 + i64.load $1=, sP($pop112) + i32.const $push111=, 0 + i32.const $push110=, 1103515245 + i32.mul $push43=, $2, $pop110 + i32.const $push109=, 12345 + i32.add $push108=, $pop43, $pop109 + tee_local $push107=, $2=, $pop108 + i32.const $push106=, 1103515245 + i32.mul $push44=, $pop107, $pop106 + i32.const $push105=, 12345 + i32.add $push3=, $pop44, $pop105 + i32.store $0=, myrnd.s($pop111), $pop3 block + i32.const $push104=, 16 + i32.shr_u $push47=, $2, $pop104 + i32.const $push103=, 2047 + i32.and $push102=, $pop47, $pop103 + tee_local $push101=, $2=, $pop102 i32.const $push100=, 0 - i64.extend_u/i32 $push47=, $2 - i64.const $push48=, -4096 - i64.and $push49=, $1, $pop48 - i64.or $push50=, $pop47, $pop49 - i64.store $push0=, sP($pop100), $pop50 + i64.extend_u/i32 $push48=, $2 + i64.const $push45=, -4096 + i64.and $push46=, $1, $pop45 + i64.or $push49=, $pop48, $pop46 + i64.store $push0=, sP($pop100), $pop49 i32.wrap/i64 $push99=, $pop0 - tee_local $push98=, $3=, $pop99 + tee_local $push98=, $4=, $pop99 i32.const $push97=, 2047 i32.and $push53=, $pop98, $pop97 - i32.ne $push54=, $2, $pop53 + i32.ne $push54=, $pop101, $pop53 br_if 0, $pop54 # 0: down to label10 # BB#1: # %entry - i32.const $push208=, 16 - i32.shr_u $push46=, $0, $pop208 - i32.const $push207=, 2047 - i32.and $push206=, $pop46, $pop207 - tee_local $push205=, $4=, $pop206 - i32.add $push5=, $pop205, $2 - i32.add $push51=, $3, $4 + i32.const $push210=, 16 + i32.shr_u $push50=, $0, $pop210 + i32.const $push209=, 2047 + i32.and $push208=, $pop50, $pop209 + tee_local $push207=, $3=, $pop208 + i32.add $push5=, $pop207, $2 + i32.add $push51=, $4, $3 i32.const $push52=, 4095 i32.and $push6=, $pop51, $pop52 i32.ne $push55=, $pop5, $pop6 br_if 0, $pop55 # 0: down to label10 # BB#2: # %if.end + i32.const $push60=, 0 i32.const $push56=, 1103515245 i32.mul $push57=, $0, $pop56 i32.const $push58=, 12345 - i32.add $push218=, $pop57, $pop58 - tee_local $push217=, $0=, $pop218 - i32.const $push216=, 16 - i32.shr_u $push59=, $pop217, $pop216 - i32.const $push215=, 2047 - i32.and $2=, $pop59, $pop215 - i32.const $push61=, 0 - i32.const $push214=, 1103515245 - i32.mul $push60=, $0, $pop214 - i32.const $push213=, 12345 - i32.add $push4=, $pop60, $pop213 - i32.store $0=, myrnd.s($pop61), $pop4 - i32.const $push212=, 0 - i64.extend_u/i32 $push63=, $2 - i64.const $push64=, -4096 - i64.and $push65=, $1, $pop64 - i64.or $push66=, $pop63, $pop65 - i64.store $push1=, sP($pop212), $pop66 - i32.wrap/i64 $push211=, $pop1 - tee_local $push210=, $3=, $pop211 - i32.const $push209=, 2047 - i32.and $push67=, $pop210, $pop209 - i32.ne $push68=, $2, $pop67 - br_if 0, $pop68 # 0: down to label10 + i32.add $push222=, $pop57, $pop58 + tee_local $push221=, $2=, $pop222 + i32.const $push220=, 1103515245 + i32.mul $push59=, $pop221, $pop220 + i32.const $push219=, 12345 + i32.add $push4=, $pop59, $pop219 + i32.store $0=, myrnd.s($pop60), $pop4 + i32.const $push218=, 16 + i32.shr_u $push63=, $2, $pop218 + i32.const $push217=, 2047 + i32.and $push216=, $pop63, $pop217 + tee_local $push215=, $2=, $pop216 + i32.const $push214=, 0 + i64.extend_u/i32 $push64=, $2 + i64.const $push61=, -4096 + i64.and $push62=, $1, $pop61 + i64.or $push65=, $pop64, $pop62 + i64.store $push1=, sP($pop214), $pop65 + i32.wrap/i64 $push213=, $pop1 + tee_local $push212=, $4=, $pop213 + i32.const $push211=, 2047 + i32.and $push66=, $pop212, $pop211 + i32.ne $push67=, $pop215, $pop66 + br_if 0, $pop67 # 0: down to label10 # BB#3: # %lor.lhs.false83 - i32.const $push224=, 16 - i32.shr_u $push62=, $0, $pop224 - i32.const $push223=, 2047 - i32.and $push222=, $pop62, $pop223 - tee_local $push221=, $4=, $pop222 - i32.add $push73=, $pop221, $2 - i32.const $push71=, 15 - i32.rem_u $push74=, $pop73, $pop71 - i32.add $push69=, $3, $4 - i32.const $push220=, 4095 - i32.and $push70=, $pop69, $pop220 - i32.const $push219=, 15 - i32.rem_u $push72=, $pop70, $pop219 - i32.ne $push75=, $pop74, $pop72 + i32.const $push228=, 16 + i32.shr_u $push68=, $0, $pop228 + i32.const $push227=, 2047 + i32.and $push226=, $pop68, $pop227 + tee_local $push225=, $3=, $pop226 + i32.add $push69=, $pop225, $2 + i32.const $push70=, 15 + i32.rem_u $push71=, $pop69, $pop70 + i32.add $push72=, $4, $3 + i32.const $push224=, 4095 + i32.and $push73=, $pop72, $pop224 + i32.const $push223=, 15 + i32.rem_u $push74=, $pop73, $pop223 + i32.ne $push75=, $pop71, $pop74 br_if 0, $pop75 # 0: down to label10 # BB#4: # %lor.lhs.false118 - i32.const $push84=, 0 + i32.const $push81=, 0 i32.const $push76=, 1103515245 i32.mul $push77=, $0, $pop76 i32.const $push78=, 12345 - i32.add $push240=, $pop77, $pop78 - tee_local $push239=, $2=, $pop240 - i32.const $push79=, 16 - i32.shr_u $push80=, $pop239, $pop79 - i32.const $push81=, 2047 - i32.and $push238=, $pop80, $pop81 - tee_local $push237=, $0=, $pop238 - i64.extend_u/i32 $push86=, $pop237 - i64.const $push87=, -4096 - i64.and $push236=, $1, $pop87 - tee_local $push235=, $1=, $pop236 - i64.or $push88=, $pop86, $pop235 - i32.wrap/i64 $push89=, $pop88 - i32.const $push234=, 0 - i32.const $push233=, 1103515245 - i32.mul $push82=, $2, $pop233 - i32.const $push232=, 12345 - i32.add $push83=, $pop82, $pop232 - i32.store $push2=, myrnd.s($pop234), $pop83 - i32.const $push231=, 16 - i32.shr_u $push85=, $pop2, $pop231 - i32.const $push230=, 2047 - i32.and $push229=, $pop85, $pop230 - tee_local $push228=, $2=, $pop229 - i32.add $push227=, $pop89, $pop228 - tee_local $push226=, $3=, $pop227 - i64.extend_u/i32 $push90=, $pop226 + i32.add $push244=, $pop77, $pop78 + tee_local $push243=, $2=, $pop244 + i32.const $push83=, 16 + i32.shr_u $push84=, $pop243, $pop83 + i32.const $push85=, 2047 + i32.and $push242=, $pop84, $pop85 + tee_local $push241=, $0=, $pop242 + i64.extend_u/i32 $push86=, $pop241 + i64.const $push82=, -4096 + i64.and $push240=, $1, $pop82 + tee_local $push239=, $1=, $pop240 + i64.or $push87=, $pop86, $pop239 + i32.wrap/i64 $push88=, $pop87 + i32.const $push238=, 0 + i32.const $push237=, 1103515245 + i32.mul $push79=, $2, $pop237 + i32.const $push236=, 12345 + i32.add $push80=, $pop79, $pop236 + i32.store $push2=, myrnd.s($pop238), $pop80 + i32.const $push235=, 16 + i32.shr_u $push89=, $pop2, $pop235 + i32.const $push234=, 2047 + i32.and $push233=, $pop89, $pop234 + tee_local $push232=, $2=, $pop233 + i32.add $push231=, $pop88, $pop232 + tee_local $push230=, $4=, $pop231 + i64.extend_u/i32 $push90=, $pop230 i64.const $push91=, 4095 i64.and $push92=, $pop90, $pop91 i64.or $push93=, $pop92, $1 - i64.store $drop=, sP($pop84), $pop93 - i32.add $push95=, $2, $0 - i32.const $push225=, 4095 - i32.and $push94=, $3, $pop225 - i32.ne $push96=, $pop95, $pop94 + i64.store $drop=, sP($pop81), $pop93 + i32.add $push94=, $2, $0 + i32.const $push229=, 4095 + i32.and $push95=, $4, $pop229 + i32.ne $push96=, $pop94, $pop95 br_if 0, $pop96 # 0: down to label10 # BB#5: # %if.end134 return @@ -4668,17 +4658,16 @@ testP: # @testP .type retmeQ,@function retmeQ: # @retmeQ .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end97: .size retmeQ, .Lfunc_end97-retmeQ @@ -4696,7 +4685,7 @@ fn1Q: # @fn1Q i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end98: .size fn1Q, .Lfunc_end98-fn1Q @@ -4716,7 +4705,7 @@ fn2Q: # @fn2Q i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end99: .size fn2Q, .Lfunc_end99-fn2Q @@ -4732,7 +4721,7 @@ retitQ: # @retitQ i32.load $push1=, sQ($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end100: .size retitQ, .Lfunc_end100-retitQ @@ -4750,15 +4739,16 @@ fn3Q: # @fn3Q i32.const $push10=, 0 i32.load $push9=, sQ($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 4095 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 4095 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -4096 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -4096 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sQ($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end101: .size fn3Q, .Lfunc_end101-fn3Q @@ -4777,173 +4767,173 @@ testQ: # @testQ i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push153=, $pop4, $pop5 - tee_local $push152=, $1=, $pop153 + tee_local $push152=, $0=, $pop153 i32.const $push6=, 16 i32.shr_u $push7=, $pop152, $pop6 i32.store8 $drop=, sQ($pop1), $pop7 i32.const $push151=, 0 i32.const $push150=, 1103515245 - i32.mul $push8=, $1, $pop150 + i32.mul $push8=, $0, $pop150 i32.const $push149=, 12345 i32.add $push148=, $pop8, $pop149 - tee_local $push147=, $1=, $pop148 + tee_local $push147=, $0=, $pop148 i32.const $push146=, 16 i32.shr_u $push9=, $pop147, $pop146 i32.store8 $drop=, sQ+1($pop151), $pop9 i32.const $push145=, 0 i32.const $push144=, 1103515245 - i32.mul $push10=, $1, $pop144 + i32.mul $push10=, $0, $pop144 i32.const $push143=, 12345 i32.add $push142=, $pop10, $pop143 - tee_local $push141=, $1=, $pop142 + tee_local $push141=, $0=, $pop142 i32.const $push140=, 16 i32.shr_u $push11=, $pop141, $pop140 i32.store8 $drop=, sQ+2($pop145), $pop11 i32.const $push139=, 0 i32.const $push138=, 1103515245 - i32.mul $push12=, $1, $pop138 + i32.mul $push12=, $0, $pop138 i32.const $push137=, 12345 i32.add $push136=, $pop12, $pop137 - tee_local $push135=, $1=, $pop136 + tee_local $push135=, $0=, $pop136 i32.const $push134=, 16 i32.shr_u $push13=, $pop135, $pop134 i32.store8 $drop=, sQ+3($pop139), $pop13 i32.const $push133=, 0 i32.const $push132=, 1103515245 - i32.mul $push14=, $1, $pop132 + i32.mul $push14=, $0, $pop132 i32.const $push131=, 12345 i32.add $push130=, $pop14, $pop131 - tee_local $push129=, $1=, $pop130 + tee_local $push129=, $0=, $pop130 i32.const $push128=, 16 i32.shr_u $push15=, $pop129, $pop128 i32.store8 $drop=, sQ+4($pop133), $pop15 i32.const $push127=, 0 i32.const $push126=, 1103515245 - i32.mul $push16=, $1, $pop126 + i32.mul $push16=, $0, $pop126 i32.const $push125=, 12345 i32.add $push124=, $pop16, $pop125 - tee_local $push123=, $1=, $pop124 + tee_local $push123=, $0=, $pop124 i32.const $push122=, 16 i32.shr_u $push17=, $pop123, $pop122 i32.store8 $drop=, sQ+5($pop127), $pop17 i32.const $push121=, 0 i32.const $push120=, 1103515245 - i32.mul $push18=, $1, $pop120 + i32.mul $push18=, $0, $pop120 i32.const $push119=, 12345 i32.add $push118=, $pop18, $pop119 - tee_local $push117=, $1=, $pop118 + tee_local $push117=, $0=, $pop118 i32.const $push116=, 16 i32.shr_u $push19=, $pop117, $pop116 i32.store8 $drop=, sQ+6($pop121), $pop19 i32.const $push115=, 0 i32.const $push114=, 1103515245 - i32.mul $push20=, $1, $pop114 + i32.mul $push20=, $0, $pop114 i32.const $push113=, 12345 i32.add $push112=, $pop20, $pop113 - tee_local $push111=, $1=, $pop112 + tee_local $push111=, $0=, $pop112 i32.const $push110=, 16 i32.shr_u $push21=, $pop111, $pop110 i32.store8 $drop=, sQ+7($pop115), $pop21 i32.const $push109=, 0 i32.const $push108=, 1103515245 - i32.mul $push22=, $1, $pop108 + i32.mul $push22=, $0, $pop108 i32.const $push107=, 12345 i32.add $push106=, $pop22, $pop107 - tee_local $push105=, $1=, $pop106 + tee_local $push105=, $0=, $pop106 i32.const $push104=, 16 i32.shr_u $push23=, $pop105, $pop104 i32.store8 $drop=, sQ+8($pop109), $pop23 i32.const $push103=, 0 i32.const $push102=, 1103515245 - i32.mul $push24=, $1, $pop102 + i32.mul $push24=, $0, $pop102 i32.const $push101=, 12345 i32.add $push100=, $pop24, $pop101 - tee_local $push99=, $1=, $pop100 + tee_local $push99=, $0=, $pop100 i32.const $push98=, 16 i32.shr_u $push25=, $pop99, $pop98 i32.store8 $drop=, sQ+9($pop103), $pop25 i32.const $push97=, 0 i32.const $push96=, 1103515245 - i32.mul $push26=, $1, $pop96 + i32.mul $push26=, $0, $pop96 i32.const $push95=, 12345 i32.add $push94=, $pop26, $pop95 - tee_local $push93=, $1=, $pop94 + tee_local $push93=, $0=, $pop94 i32.const $push92=, 16 i32.shr_u $push27=, $pop93, $pop92 i32.store8 $drop=, sQ+10($pop97), $pop27 i32.const $push91=, 0 i32.const $push90=, 1103515245 - i32.mul $push28=, $1, $pop90 + i32.mul $push28=, $0, $pop90 i32.const $push89=, 12345 i32.add $push88=, $pop28, $pop89 - tee_local $push87=, $1=, $pop88 + tee_local $push87=, $0=, $pop88 i32.const $push86=, 16 i32.shr_u $push29=, $pop87, $pop86 i32.store8 $drop=, sQ+11($pop91), $pop29 i32.const $push85=, 0 i32.const $push84=, 1103515245 - i32.mul $push30=, $1, $pop84 + i32.mul $push30=, $0, $pop84 i32.const $push83=, 12345 i32.add $push82=, $pop30, $pop83 - tee_local $push81=, $1=, $pop82 + tee_local $push81=, $0=, $pop82 i32.const $push80=, 16 i32.shr_u $push31=, $pop81, $pop80 i32.store8 $drop=, sQ+12($pop85), $pop31 i32.const $push79=, 0 i32.const $push78=, 1103515245 - i32.mul $push32=, $1, $pop78 + i32.mul $push32=, $0, $pop78 i32.const $push77=, 12345 i32.add $push76=, $pop32, $pop77 - tee_local $push75=, $1=, $pop76 + tee_local $push75=, $0=, $pop76 i32.const $push74=, 16 i32.shr_u $push33=, $pop75, $pop74 i32.store8 $drop=, sQ+13($pop79), $pop33 i32.const $push73=, 0 i32.const $push72=, 1103515245 - i32.mul $push34=, $1, $pop72 + i32.mul $push34=, $0, $pop72 i32.const $push71=, 12345 i32.add $push70=, $pop34, $pop71 - tee_local $push69=, $1=, $pop70 + tee_local $push69=, $0=, $pop70 i32.const $push68=, 16 i32.shr_u $push35=, $pop69, $pop68 i32.store8 $drop=, sQ+14($pop73), $pop35 i32.const $push67=, 0 - i32.load $0=, sQ($pop67) - i32.const $push66=, 0 - i32.const $push65=, 1103515245 - i32.mul $push36=, $1, $pop65 - i32.const $push64=, 12345 - i32.add $push63=, $pop36, $pop64 - tee_local $push62=, $1=, $pop63 - i32.const $push61=, 16 - i32.shr_u $push37=, $pop62, $pop61 - i32.store8 $drop=, sQ+15($pop66), $pop37 + i32.const $push66=, 1103515245 + i32.mul $push36=, $0, $pop66 + i32.const $push65=, 12345 + i32.add $push64=, $pop36, $pop65 + tee_local $push63=, $0=, $pop64 + i32.const $push62=, 16 + i32.shr_u $push37=, $pop63, $pop62 + i32.store8 $drop=, sQ+15($pop67), $pop37 + i32.const $push61=, 0 + i32.load $1=, sQ($pop61) i32.const $push60=, 0 i32.const $push59=, 0 - i32.const $push40=, -341751747 - i32.mul $push41=, $1, $pop40 - i32.const $push42=, 229283573 - i32.add $push58=, $pop41, $pop42 - tee_local $push57=, $1=, $pop58 + i32.const $push38=, -341751747 + i32.mul $push39=, $0, $pop38 + i32.const $push40=, 229283573 + i32.add $push58=, $pop39, $pop40 + tee_local $push57=, $0=, $pop58 i32.const $push56=, 1103515245 - i32.mul $push46=, $pop57, $pop56 + i32.mul $push41=, $pop57, $pop56 i32.const $push55=, 12345 - i32.add $push47=, $pop46, $pop55 - i32.store $push0=, myrnd.s($pop59), $pop47 + i32.add $push42=, $pop41, $pop55 + i32.store $push0=, myrnd.s($pop59), $pop42 i32.const $push54=, 16 - i32.shr_u $push48=, $pop0, $pop54 + i32.shr_u $push46=, $pop0, $pop54 i32.const $push44=, 2047 - i32.and $push49=, $pop48, $pop44 + i32.and $push47=, $pop46, $pop44 i32.const $push53=, 16 - i32.shr_u $push43=, $1, $pop53 + i32.shr_u $push43=, $0, $pop53 i32.const $push52=, 2047 i32.and $push45=, $pop43, $pop52 - i32.add $push50=, $pop49, $pop45 - i32.const $push38=, -4096 - i32.and $push39=, $0, $pop38 - i32.or $push51=, $pop50, $pop39 + i32.add $push48=, $pop47, $pop45 + i32.const $push49=, -4096 + i32.and $push50=, $1, $pop49 + i32.or $push51=, $pop48, $pop50 i32.store $drop=, sQ($pop60), $pop51 - return + # fallthrough-return .endfunc .Lfunc_end102: .size testQ, .Lfunc_end102-testQ @@ -4954,17 +4944,16 @@ testQ: # @testQ .type retmeR,@function retmeR: # @retmeR .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end103: .size retmeR, .Lfunc_end103-retmeR @@ -4982,7 +4971,7 @@ fn1R: # @fn1R i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end104: .size fn1R, .Lfunc_end104-fn1R @@ -5002,7 +4991,7 @@ fn2R: # @fn2R i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end105: .size fn2R, .Lfunc_end105-fn2R @@ -5018,7 +5007,7 @@ retitR: # @retitR i32.load $push1=, sR($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end106: .size retitR, .Lfunc_end106-retitR @@ -5036,15 +5025,16 @@ fn3R: # @fn3R i32.const $push10=, 0 i32.load $push9=, sR($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 4095 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 4095 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -4096 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -4096 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sR($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end107: .size fn3R, .Lfunc_end107-fn3R @@ -5063,173 +5053,173 @@ testR: # @testR i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push153=, $pop4, $pop5 - tee_local $push152=, $1=, $pop153 + tee_local $push152=, $0=, $pop153 i32.const $push6=, 16 i32.shr_u $push7=, $pop152, $pop6 i32.store8 $drop=, sR($pop1), $pop7 i32.const $push151=, 0 i32.const $push150=, 1103515245 - i32.mul $push8=, $1, $pop150 + i32.mul $push8=, $0, $pop150 i32.const $push149=, 12345 i32.add $push148=, $pop8, $pop149 - tee_local $push147=, $1=, $pop148 + tee_local $push147=, $0=, $pop148 i32.const $push146=, 16 i32.shr_u $push9=, $pop147, $pop146 i32.store8 $drop=, sR+1($pop151), $pop9 i32.const $push145=, 0 i32.const $push144=, 1103515245 - i32.mul $push10=, $1, $pop144 + i32.mul $push10=, $0, $pop144 i32.const $push143=, 12345 i32.add $push142=, $pop10, $pop143 - tee_local $push141=, $1=, $pop142 + tee_local $push141=, $0=, $pop142 i32.const $push140=, 16 i32.shr_u $push11=, $pop141, $pop140 i32.store8 $drop=, sR+2($pop145), $pop11 i32.const $push139=, 0 i32.const $push138=, 1103515245 - i32.mul $push12=, $1, $pop138 + i32.mul $push12=, $0, $pop138 i32.const $push137=, 12345 i32.add $push136=, $pop12, $pop137 - tee_local $push135=, $1=, $pop136 + tee_local $push135=, $0=, $pop136 i32.const $push134=, 16 i32.shr_u $push13=, $pop135, $pop134 i32.store8 $drop=, sR+3($pop139), $pop13 i32.const $push133=, 0 i32.const $push132=, 1103515245 - i32.mul $push14=, $1, $pop132 + i32.mul $push14=, $0, $pop132 i32.const $push131=, 12345 i32.add $push130=, $pop14, $pop131 - tee_local $push129=, $1=, $pop130 + tee_local $push129=, $0=, $pop130 i32.const $push128=, 16 i32.shr_u $push15=, $pop129, $pop128 i32.store8 $drop=, sR+4($pop133), $pop15 i32.const $push127=, 0 i32.const $push126=, 1103515245 - i32.mul $push16=, $1, $pop126 + i32.mul $push16=, $0, $pop126 i32.const $push125=, 12345 i32.add $push124=, $pop16, $pop125 - tee_local $push123=, $1=, $pop124 + tee_local $push123=, $0=, $pop124 i32.const $push122=, 16 i32.shr_u $push17=, $pop123, $pop122 i32.store8 $drop=, sR+5($pop127), $pop17 i32.const $push121=, 0 i32.const $push120=, 1103515245 - i32.mul $push18=, $1, $pop120 + i32.mul $push18=, $0, $pop120 i32.const $push119=, 12345 i32.add $push118=, $pop18, $pop119 - tee_local $push117=, $1=, $pop118 + tee_local $push117=, $0=, $pop118 i32.const $push116=, 16 i32.shr_u $push19=, $pop117, $pop116 i32.store8 $drop=, sR+6($pop121), $pop19 i32.const $push115=, 0 i32.const $push114=, 1103515245 - i32.mul $push20=, $1, $pop114 + i32.mul $push20=, $0, $pop114 i32.const $push113=, 12345 i32.add $push112=, $pop20, $pop113 - tee_local $push111=, $1=, $pop112 + tee_local $push111=, $0=, $pop112 i32.const $push110=, 16 i32.shr_u $push21=, $pop111, $pop110 i32.store8 $drop=, sR+7($pop115), $pop21 i32.const $push109=, 0 i32.const $push108=, 1103515245 - i32.mul $push22=, $1, $pop108 + i32.mul $push22=, $0, $pop108 i32.const $push107=, 12345 i32.add $push106=, $pop22, $pop107 - tee_local $push105=, $1=, $pop106 + tee_local $push105=, $0=, $pop106 i32.const $push104=, 16 i32.shr_u $push23=, $pop105, $pop104 i32.store8 $drop=, sR+8($pop109), $pop23 i32.const $push103=, 0 i32.const $push102=, 1103515245 - i32.mul $push24=, $1, $pop102 + i32.mul $push24=, $0, $pop102 i32.const $push101=, 12345 i32.add $push100=, $pop24, $pop101 - tee_local $push99=, $1=, $pop100 + tee_local $push99=, $0=, $pop100 i32.const $push98=, 16 i32.shr_u $push25=, $pop99, $pop98 i32.store8 $drop=, sR+9($pop103), $pop25 i32.const $push97=, 0 i32.const $push96=, 1103515245 - i32.mul $push26=, $1, $pop96 + i32.mul $push26=, $0, $pop96 i32.const $push95=, 12345 i32.add $push94=, $pop26, $pop95 - tee_local $push93=, $1=, $pop94 + tee_local $push93=, $0=, $pop94 i32.const $push92=, 16 i32.shr_u $push27=, $pop93, $pop92 i32.store8 $drop=, sR+10($pop97), $pop27 i32.const $push91=, 0 i32.const $push90=, 1103515245 - i32.mul $push28=, $1, $pop90 + i32.mul $push28=, $0, $pop90 i32.const $push89=, 12345 i32.add $push88=, $pop28, $pop89 - tee_local $push87=, $1=, $pop88 + tee_local $push87=, $0=, $pop88 i32.const $push86=, 16 i32.shr_u $push29=, $pop87, $pop86 i32.store8 $drop=, sR+11($pop91), $pop29 i32.const $push85=, 0 i32.const $push84=, 1103515245 - i32.mul $push30=, $1, $pop84 + i32.mul $push30=, $0, $pop84 i32.const $push83=, 12345 i32.add $push82=, $pop30, $pop83 - tee_local $push81=, $1=, $pop82 + tee_local $push81=, $0=, $pop82 i32.const $push80=, 16 i32.shr_u $push31=, $pop81, $pop80 i32.store8 $drop=, sR+12($pop85), $pop31 i32.const $push79=, 0 i32.const $push78=, 1103515245 - i32.mul $push32=, $1, $pop78 + i32.mul $push32=, $0, $pop78 i32.const $push77=, 12345 i32.add $push76=, $pop32, $pop77 - tee_local $push75=, $1=, $pop76 + tee_local $push75=, $0=, $pop76 i32.const $push74=, 16 i32.shr_u $push33=, $pop75, $pop74 i32.store8 $drop=, sR+13($pop79), $pop33 i32.const $push73=, 0 i32.const $push72=, 1103515245 - i32.mul $push34=, $1, $pop72 + i32.mul $push34=, $0, $pop72 i32.const $push71=, 12345 i32.add $push70=, $pop34, $pop71 - tee_local $push69=, $1=, $pop70 + tee_local $push69=, $0=, $pop70 i32.const $push68=, 16 i32.shr_u $push35=, $pop69, $pop68 i32.store8 $drop=, sR+14($pop73), $pop35 i32.const $push67=, 0 - i32.load $0=, sR($pop67) - i32.const $push66=, 0 - i32.const $push65=, 1103515245 - i32.mul $push36=, $1, $pop65 - i32.const $push64=, 12345 - i32.add $push63=, $pop36, $pop64 - tee_local $push62=, $1=, $pop63 - i32.const $push61=, 16 - i32.shr_u $push37=, $pop62, $pop61 - i32.store8 $drop=, sR+15($pop66), $pop37 + i32.const $push66=, 1103515245 + i32.mul $push36=, $0, $pop66 + i32.const $push65=, 12345 + i32.add $push64=, $pop36, $pop65 + tee_local $push63=, $0=, $pop64 + i32.const $push62=, 16 + i32.shr_u $push37=, $pop63, $pop62 + i32.store8 $drop=, sR+15($pop67), $pop37 + i32.const $push61=, 0 + i32.load $1=, sR($pop61) i32.const $push60=, 0 i32.const $push59=, 0 - i32.const $push40=, -341751747 - i32.mul $push41=, $1, $pop40 - i32.const $push42=, 229283573 - i32.add $push58=, $pop41, $pop42 - tee_local $push57=, $1=, $pop58 + i32.const $push38=, -341751747 + i32.mul $push39=, $0, $pop38 + i32.const $push40=, 229283573 + i32.add $push58=, $pop39, $pop40 + tee_local $push57=, $0=, $pop58 i32.const $push56=, 1103515245 - i32.mul $push46=, $pop57, $pop56 + i32.mul $push41=, $pop57, $pop56 i32.const $push55=, 12345 - i32.add $push47=, $pop46, $pop55 - i32.store $push0=, myrnd.s($pop59), $pop47 + i32.add $push42=, $pop41, $pop55 + i32.store $push0=, myrnd.s($pop59), $pop42 i32.const $push54=, 16 - i32.shr_u $push48=, $pop0, $pop54 + i32.shr_u $push46=, $pop0, $pop54 i32.const $push44=, 2047 - i32.and $push49=, $pop48, $pop44 + i32.and $push47=, $pop46, $pop44 i32.const $push53=, 16 - i32.shr_u $push43=, $1, $pop53 + i32.shr_u $push43=, $0, $pop53 i32.const $push52=, 2047 i32.and $push45=, $pop43, $pop52 - i32.add $push50=, $pop49, $pop45 - i32.const $push38=, -4096 - i32.and $push39=, $0, $pop38 - i32.or $push51=, $pop50, $pop39 + i32.add $push48=, $pop47, $pop45 + i32.const $push49=, -4096 + i32.and $push50=, $1, $pop49 + i32.or $push51=, $pop48, $pop50 i32.store $drop=, sR($pop60), $pop51 - return + # fallthrough-return .endfunc .Lfunc_end108: .size testR, .Lfunc_end108-testR @@ -5240,17 +5230,16 @@ testR: # @testR .type retmeS,@function retmeS: # @retmeS .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end109: .size retmeS, .Lfunc_end109-retmeS @@ -5268,7 +5257,7 @@ fn1S: # @fn1S i32.add $push2=, $pop1, $0 i32.const $push3=, 1 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end110: .size fn1S, .Lfunc_end110-fn1S @@ -5288,7 +5277,7 @@ fn2S: # @fn2S i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end111: .size fn2S, .Lfunc_end111-fn2S @@ -5304,7 +5293,7 @@ retitS: # @retitS i32.load16_u $push1=, sS($pop0) i32.const $push2=, 1 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end112: .size retitS, .Lfunc_end112-retitS @@ -5322,15 +5311,16 @@ fn3S: # @fn3S i32.const $push10=, 0 i32.load16_u $push9=, sS($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 + i32.add $push3=, $pop8, $0 i32.const $push4=, 1 - i32.and $push7=, $pop1, $pop4 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push2=, 65534 - i32.and $push3=, $1, $pop2 - i32.or $push5=, $pop6, $pop3 + i32.const $push1=, 65534 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store16 $drop=, sS($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end113: .size fn3S, .Lfunc_end113-fn3S @@ -5349,169 +5339,169 @@ testS: # @testS i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push152=, $pop4, $pop5 - tee_local $push151=, $1=, $pop152 + tee_local $push151=, $0=, $pop152 i32.const $push6=, 16 i32.shr_u $push7=, $pop151, $pop6 i32.store8 $drop=, sS($pop1), $pop7 i32.const $push150=, 0 i32.const $push149=, 1103515245 - i32.mul $push8=, $1, $pop149 + i32.mul $push8=, $0, $pop149 i32.const $push148=, 12345 i32.add $push147=, $pop8, $pop148 - tee_local $push146=, $1=, $pop147 + tee_local $push146=, $0=, $pop147 i32.const $push145=, 16 i32.shr_u $push9=, $pop146, $pop145 i32.store8 $drop=, sS+1($pop150), $pop9 i32.const $push144=, 0 i32.const $push143=, 1103515245 - i32.mul $push10=, $1, $pop143 + i32.mul $push10=, $0, $pop143 i32.const $push142=, 12345 i32.add $push141=, $pop10, $pop142 - tee_local $push140=, $1=, $pop141 + tee_local $push140=, $0=, $pop141 i32.const $push139=, 16 i32.shr_u $push11=, $pop140, $pop139 i32.store8 $drop=, sS+2($pop144), $pop11 i32.const $push138=, 0 i32.const $push137=, 1103515245 - i32.mul $push12=, $1, $pop137 + i32.mul $push12=, $0, $pop137 i32.const $push136=, 12345 i32.add $push135=, $pop12, $pop136 - tee_local $push134=, $1=, $pop135 + tee_local $push134=, $0=, $pop135 i32.const $push133=, 16 i32.shr_u $push13=, $pop134, $pop133 i32.store8 $drop=, sS+3($pop138), $pop13 i32.const $push132=, 0 i32.const $push131=, 1103515245 - i32.mul $push14=, $1, $pop131 + i32.mul $push14=, $0, $pop131 i32.const $push130=, 12345 i32.add $push129=, $pop14, $pop130 - tee_local $push128=, $1=, $pop129 + tee_local $push128=, $0=, $pop129 i32.const $push127=, 16 i32.shr_u $push15=, $pop128, $pop127 i32.store8 $drop=, sS+4($pop132), $pop15 i32.const $push126=, 0 i32.const $push125=, 1103515245 - i32.mul $push16=, $1, $pop125 + i32.mul $push16=, $0, $pop125 i32.const $push124=, 12345 i32.add $push123=, $pop16, $pop124 - tee_local $push122=, $1=, $pop123 + tee_local $push122=, $0=, $pop123 i32.const $push121=, 16 i32.shr_u $push17=, $pop122, $pop121 i32.store8 $drop=, sS+5($pop126), $pop17 i32.const $push120=, 0 i32.const $push119=, 1103515245 - i32.mul $push18=, $1, $pop119 + i32.mul $push18=, $0, $pop119 i32.const $push118=, 12345 i32.add $push117=, $pop18, $pop118 - tee_local $push116=, $1=, $pop117 + tee_local $push116=, $0=, $pop117 i32.const $push115=, 16 i32.shr_u $push19=, $pop116, $pop115 i32.store8 $drop=, sS+6($pop120), $pop19 i32.const $push114=, 0 i32.const $push113=, 1103515245 - i32.mul $push20=, $1, $pop113 + i32.mul $push20=, $0, $pop113 i32.const $push112=, 12345 i32.add $push111=, $pop20, $pop112 - tee_local $push110=, $1=, $pop111 + tee_local $push110=, $0=, $pop111 i32.const $push109=, 16 i32.shr_u $push21=, $pop110, $pop109 i32.store8 $drop=, sS+7($pop114), $pop21 i32.const $push108=, 0 i32.const $push107=, 1103515245 - i32.mul $push22=, $1, $pop107 + i32.mul $push22=, $0, $pop107 i32.const $push106=, 12345 i32.add $push105=, $pop22, $pop106 - tee_local $push104=, $1=, $pop105 + tee_local $push104=, $0=, $pop105 i32.const $push103=, 16 i32.shr_u $push23=, $pop104, $pop103 i32.store8 $drop=, sS+8($pop108), $pop23 i32.const $push102=, 0 i32.const $push101=, 1103515245 - i32.mul $push24=, $1, $pop101 + i32.mul $push24=, $0, $pop101 i32.const $push100=, 12345 i32.add $push99=, $pop24, $pop100 - tee_local $push98=, $1=, $pop99 + tee_local $push98=, $0=, $pop99 i32.const $push97=, 16 i32.shr_u $push25=, $pop98, $pop97 i32.store8 $drop=, sS+9($pop102), $pop25 i32.const $push96=, 0 i32.const $push95=, 1103515245 - i32.mul $push26=, $1, $pop95 + i32.mul $push26=, $0, $pop95 i32.const $push94=, 12345 i32.add $push93=, $pop26, $pop94 - tee_local $push92=, $1=, $pop93 + tee_local $push92=, $0=, $pop93 i32.const $push91=, 16 i32.shr_u $push27=, $pop92, $pop91 i32.store8 $drop=, sS+10($pop96), $pop27 i32.const $push90=, 0 i32.const $push89=, 1103515245 - i32.mul $push28=, $1, $pop89 + i32.mul $push28=, $0, $pop89 i32.const $push88=, 12345 i32.add $push87=, $pop28, $pop88 - tee_local $push86=, $1=, $pop87 + tee_local $push86=, $0=, $pop87 i32.const $push85=, 16 i32.shr_u $push29=, $pop86, $pop85 i32.store8 $drop=, sS+11($pop90), $pop29 i32.const $push84=, 0 i32.const $push83=, 1103515245 - i32.mul $push30=, $1, $pop83 + i32.mul $push30=, $0, $pop83 i32.const $push82=, 12345 i32.add $push81=, $pop30, $pop82 - tee_local $push80=, $1=, $pop81 + tee_local $push80=, $0=, $pop81 i32.const $push79=, 16 i32.shr_u $push31=, $pop80, $pop79 i32.store8 $drop=, sS+12($pop84), $pop31 i32.const $push78=, 0 i32.const $push77=, 1103515245 - i32.mul $push32=, $1, $pop77 + i32.mul $push32=, $0, $pop77 i32.const $push76=, 12345 i32.add $push75=, $pop32, $pop76 - tee_local $push74=, $1=, $pop75 + tee_local $push74=, $0=, $pop75 i32.const $push73=, 16 i32.shr_u $push33=, $pop74, $pop73 i32.store8 $drop=, sS+13($pop78), $pop33 i32.const $push72=, 0 i32.const $push71=, 1103515245 - i32.mul $push34=, $1, $pop71 + i32.mul $push34=, $0, $pop71 i32.const $push70=, 12345 i32.add $push69=, $pop34, $pop70 - tee_local $push68=, $1=, $pop69 + tee_local $push68=, $0=, $pop69 i32.const $push67=, 16 i32.shr_u $push35=, $pop68, $pop67 i32.store8 $drop=, sS+14($pop72), $pop35 i32.const $push66=, 0 - i32.load16_u $0=, sS($pop66) - i32.const $push65=, 0 - i32.const $push64=, 1103515245 - i32.mul $push36=, $1, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop36, $pop63 - tee_local $push61=, $1=, $pop62 - i32.const $push60=, 16 - i32.shr_u $push37=, $pop61, $pop60 - i32.store8 $drop=, sS+15($pop65), $pop37 + i32.const $push65=, 1103515245 + i32.mul $push36=, $0, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop36, $pop64 + tee_local $push62=, $0=, $pop63 + i32.const $push61=, 16 + i32.shr_u $push37=, $pop62, $pop61 + i32.store8 $drop=, sS+15($pop66), $pop37 + i32.const $push60=, 0 + i32.load16_u $1=, sS($pop60) i32.const $push59=, 0 i32.const $push58=, 0 - i32.const $push40=, -341751747 - i32.mul $push41=, $1, $pop40 - i32.const $push42=, 229283573 - i32.add $push57=, $pop41, $pop42 - tee_local $push56=, $1=, $pop57 + i32.const $push38=, -341751747 + i32.mul $push39=, $0, $pop38 + i32.const $push40=, 229283573 + i32.add $push57=, $pop39, $pop40 + tee_local $push56=, $0=, $pop57 i32.const $push55=, 1103515245 - i32.mul $push44=, $pop56, $pop55 + i32.mul $push41=, $pop56, $pop55 i32.const $push54=, 12345 - i32.add $push45=, $pop44, $pop54 - i32.store $push0=, myrnd.s($pop58), $pop45 + i32.add $push42=, $pop41, $pop54 + i32.store $push0=, myrnd.s($pop58), $pop42 i32.const $push53=, 16 - i32.shr_u $push46=, $pop0, $pop53 + i32.shr_u $push44=, $pop0, $pop53 i32.const $push52=, 16 - i32.shr_u $push43=, $1, $pop52 - i32.add $push47=, $pop46, $pop43 - i32.const $push48=, 1 - i32.and $push49=, $pop47, $pop48 - i32.const $push38=, 65534 - i32.and $push39=, $0, $pop38 - i32.or $push50=, $pop49, $pop39 + i32.shr_u $push43=, $0, $pop52 + i32.add $push45=, $pop44, $pop43 + i32.const $push46=, 1 + i32.and $push47=, $pop45, $pop46 + i32.const $push48=, 65534 + i32.and $push49=, $1, $pop48 + i32.or $push50=, $pop47, $pop49 i32.store16 $drop=, sS($pop59), $pop50 block i32.const $push51=, 1 @@ -5536,7 +5526,7 @@ retmeT: # @retmeT # BB#0: # %entry i32.load $push0=, 0($1):p2align=1 i32.store $drop=, 0($0):p2align=1, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end115: .size retmeT, .Lfunc_end115-retmeT @@ -5554,7 +5544,7 @@ fn1T: # @fn1T i32.add $push2=, $pop1, $0 i32.const $push3=, 1 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end116: .size fn1T, .Lfunc_end116-fn1T @@ -5574,7 +5564,7 @@ fn2T: # @fn2T i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end117: .size fn2T, .Lfunc_end117-fn2T @@ -5590,7 +5580,7 @@ retitT: # @retitT i32.load16_u $push1=, sT($pop0) i32.const $push2=, 1 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end118: .size retitT, .Lfunc_end118-retitT @@ -5608,15 +5598,16 @@ fn3T: # @fn3T i32.const $push10=, 0 i32.load16_u $push9=, sT($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 + i32.add $push3=, $pop8, $0 i32.const $push4=, 1 - i32.and $push7=, $pop1, $pop4 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push2=, 65534 - i32.and $push3=, $1, $pop2 - i32.or $push5=, $pop6, $pop3 + i32.const $push1=, 65534 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store16 $drop=, sT($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end119: .size fn3T, .Lfunc_end119-fn3T @@ -5626,109 +5617,110 @@ fn3T: # @fn3T .globl testT .type testT,@function testT: # @testT - .local i32, i32, i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push76=, 0 - i32.const $push75=, 0 - i32.load $push1=, myrnd.s($pop75) - i32.const $push74=, 1103515245 - i32.mul $push2=, $pop1, $pop74 - i32.const $push73=, 12345 - i32.add $push72=, $pop2, $pop73 - tee_local $push71=, $1=, $pop72 - i32.const $push70=, 16 - i32.shr_u $push3=, $pop71, $pop70 - i32.store8 $drop=, sT($pop76), $pop3 - i32.const $push69=, 0 - i32.const $push68=, 1103515245 - i32.mul $push4=, $1, $pop68 - i32.const $push67=, 12345 - i32.add $push66=, $pop4, $pop67 - tee_local $push65=, $1=, $pop66 - i32.const $push64=, 16 - i32.shr_u $push5=, $pop65, $pop64 - i32.store8 $drop=, sT+1($pop69), $pop5 - i32.const $push63=, 0 - i32.const $push62=, 1103515245 - i32.mul $push6=, $1, $pop62 - i32.const $push61=, 12345 - i32.add $push60=, $pop6, $pop61 - tee_local $push59=, $1=, $pop60 - i32.const $push58=, 16 - i32.shr_u $push7=, $pop59, $pop58 - i32.store8 $drop=, sT+2($pop63), $pop7 - i32.const $push57=, 0 - i32.const $push56=, 1103515245 - i32.mul $push8=, $1, $pop56 - i32.const $push55=, 12345 - i32.add $push54=, $pop8, $pop55 - tee_local $push53=, $1=, $pop54 - i32.const $push52=, 16 - i32.shr_u $push9=, $pop53, $pop52 - i32.store8 $drop=, sT+3($pop57), $pop9 - i32.const $push51=, 0 - i32.const $push50=, 1103515245 - i32.mul $push11=, $1, $pop50 - i32.const $push49=, 12345 - i32.add $push48=, $pop11, $pop49 - tee_local $push47=, $3=, $pop48 - i32.const $push46=, 16 - i32.shr_u $push45=, $pop47, $pop46 - tee_local $push44=, $2=, $pop45 - i32.const $push43=, 1 - i32.and $push13=, $pop44, $pop43 - i32.const $push42=, 0 - i32.load16_u $push10=, sT($pop42) - i32.const $push41=, 65534 - i32.and $push14=, $pop10, $pop41 - i32.or $push15=, $pop13, $pop14 - i32.store16 $drop=, sT($pop51), $pop15 - i32.const $push40=, 0 - i32.load $1=, sT($pop40) - i32.const $push39=, 0 - i32.const $push38=, 1103515245 - i32.mul $push12=, $3, $pop38 - i32.const $push37=, 12345 - i32.add $push36=, $pop12, $pop37 - tee_local $push35=, $3=, $pop36 - i32.store $0=, myrnd.s($pop39), $pop35 + i32.const $push79=, 0 + i32.const $push78=, 0 + i32.load $push2=, myrnd.s($pop78) + i32.const $push77=, 1103515245 + i32.mul $push3=, $pop2, $pop77 + i32.const $push76=, 12345 + i32.add $push75=, $pop3, $pop76 + tee_local $push74=, $1=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push4=, $pop74, $pop73 + i32.store8 $drop=, sT($pop79), $pop4 + i32.const $push72=, 0 + i32.const $push71=, 1103515245 + i32.mul $push5=, $1, $pop71 + i32.const $push70=, 12345 + i32.add $push69=, $pop5, $pop70 + tee_local $push68=, $1=, $pop69 + i32.const $push67=, 16 + i32.shr_u $push6=, $pop68, $pop67 + i32.store8 $drop=, sT+1($pop72), $pop6 + i32.const $push66=, 0 + i32.const $push65=, 1103515245 + i32.mul $push7=, $1, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop7, $pop64 + tee_local $push62=, $1=, $pop63 + i32.const $push61=, 16 + i32.shr_u $push8=, $pop62, $pop61 + i32.store8 $drop=, sT+2($pop66), $pop8 + i32.const $push60=, 0 + i32.const $push59=, 1103515245 + i32.mul $push9=, $1, $pop59 + i32.const $push58=, 12345 + i32.add $push57=, $pop9, $pop58 + tee_local $push56=, $1=, $pop57 + i32.const $push55=, 16 + i32.shr_u $push10=, $pop56, $pop55 + i32.store8 $drop=, sT+3($pop60), $pop10 + i32.const $push54=, 0 + i32.const $push53=, 1103515245 + i32.mul $push13=, $1, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop13, $pop52 + tee_local $push50=, $1=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push48=, $pop50, $pop49 + tee_local $push47=, $2=, $pop48 + i32.const $push46=, 1 + i32.and $push14=, $pop47, $pop46 + i32.const $push45=, 0 + i32.load16_u $push11=, sT($pop45) + i32.const $push44=, 65534 + i32.and $push12=, $pop11, $pop44 + i32.or $push15=, $pop14, $pop12 + i32.store16 $drop=, sT($pop54), $pop15 block - i32.const $push34=, 16 - i32.shr_u $push33=, $3, $pop34 - tee_local $push32=, $3=, $pop33 - i32.add $push17=, $pop32, $2 - i32.add $push16=, $3, $1 - i32.xor $push18=, $pop17, $pop16 - i32.const $push31=, 1 - i32.and $push19=, $pop18, $pop31 - br_if 0, $pop19 # 0: down to label12 + i32.const $push43=, 0 + i32.const $push42=, 1103515245 + i32.mul $push16=, $1, $pop42 + i32.const $push41=, 12345 + i32.add $push1=, $pop16, $pop41 + i32.store $push40=, myrnd.s($pop43), $pop1 + tee_local $push39=, $0=, $pop40 + i32.const $push38=, 16 + i32.shr_u $push37=, $pop39, $pop38 + tee_local $push36=, $1=, $pop37 + i32.add $push17=, $pop36, $2 + i32.const $push35=, 0 + i32.load $push34=, sT($pop35) + tee_local $push33=, $2=, $pop34 + i32.add $push18=, $1, $pop33 + i32.xor $push19=, $pop17, $pop18 + i32.const $push32=, 1 + i32.and $push20=, $pop19, $pop32 + br_if 0, $pop20 # 0: down to label12 # BB#1: # %if.end94 - i32.const $push87=, 0 - i32.const $push86=, 0 + i32.const $push90=, 0 + i32.const $push89=, 0 i32.const $push21=, -2139243339 i32.mul $push22=, $0, $pop21 i32.const $push23=, -1492899873 - i32.add $push85=, $pop22, $pop23 - tee_local $push84=, $3=, $pop85 - i32.const $push83=, 1103515245 - i32.mul $push25=, $pop84, $pop83 - i32.const $push82=, 12345 - i32.add $push26=, $pop25, $pop82 - i32.store $push0=, myrnd.s($pop86), $pop26 - i32.const $push81=, 16 - i32.shr_u $push27=, $pop0, $pop81 - i32.const $push80=, 16 - i32.shr_u $push24=, $3, $pop80 - i32.add $push28=, $pop27, $pop24 - i32.const $push79=, 1 - i32.and $push29=, $pop28, $pop79 - i32.const $push78=, 65534 - i32.and $push20=, $1, $pop78 - i32.or $push30=, $pop29, $pop20 - i32.store16 $drop=, sT($pop87), $pop30 - i32.const $push77=, 1 - i32.eqz $push88=, $pop77 - br_if 0, $pop88 # 0: down to label12 + i32.add $push88=, $pop22, $pop23 + tee_local $push87=, $1=, $pop88 + i32.const $push86=, 1103515245 + i32.mul $push24=, $pop87, $pop86 + i32.const $push85=, 12345 + i32.add $push25=, $pop24, $pop85 + i32.store $push0=, myrnd.s($pop89), $pop25 + i32.const $push84=, 16 + i32.shr_u $push27=, $pop0, $pop84 + i32.const $push83=, 16 + i32.shr_u $push26=, $1, $pop83 + i32.add $push28=, $pop27, $pop26 + i32.const $push82=, 1 + i32.and $push29=, $pop28, $pop82 + i32.const $push81=, 65534 + i32.and $push30=, $2, $pop81 + i32.or $push31=, $pop29, $pop30 + i32.store16 $drop=, sT($pop90), $pop31 + i32.const $push80=, 1 + i32.eqz $push91=, $pop80 + br_if 0, $pop91 # 0: down to label12 # BB#2: # %if.end140 return .LBB120_3: # %if.then139 @@ -5745,17 +5737,16 @@ testT: # @testT .type retmeU,@function retmeU: # @retmeU .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end121: .size retmeU, .Lfunc_end121-retmeU @@ -5775,7 +5766,7 @@ fn1U: # @fn1U i32.add $push4=, $pop3, $0 i32.const $push5=, 1 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end122: .size fn1U, .Lfunc_end122-fn1U @@ -5797,7 +5788,7 @@ fn2U: # @fn2U i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end123: .size fn2U, .Lfunc_end123-fn2U @@ -5815,7 +5806,7 @@ retitU: # @retitU i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 1 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end124: .size retitU, .Lfunc_end124-retitU @@ -5833,21 +5824,21 @@ fn3U: # @fn3U i32.const $push16=, 0 i32.load16_u $push15=, sU($pop16) tee_local $push14=, $1=, $pop15 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop14, $pop1 - i32.add $push13=, $pop2, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop14, $pop3 + i32.add $push13=, $pop4, $0 tee_local $push12=, $0=, $pop13 i32.const $push11=, 6 - i32.shl $push3=, $pop12, $pop11 - i32.const $push4=, 64 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 65471 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push5=, $pop12, $pop11 + i32.const $push6=, 64 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 65471 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store16 $drop=, sU($pop0), $pop8 i32.const $push9=, 1 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end125: .size fn3U, .Lfunc_end125-fn3U @@ -6006,7 +5997,7 @@ testU: # @testU i32.shr_u $push40=, $pop126, $pop125 i32.store8 $drop=, sU+15($pop130), $pop40 i32.const $push124=, 0 - i32.load16_u $1=, sU($pop124) + i32.load16_u $3=, sU($pop124) i32.const $push123=, 0 i32.const $push122=, 1103515245 i32.mul $push41=, $2, $pop122 @@ -6014,65 +6005,65 @@ testU: # @testU i32.add $push120=, $pop41, $pop121 tee_local $push119=, $2=, $pop120 i32.const $push118=, 1103515245 - i32.mul $push43=, $pop119, $pop118 + i32.mul $push42=, $pop119, $pop118 i32.const $push117=, 12345 - i32.add $push3=, $pop43, $pop117 + i32.add $push3=, $pop42, $pop117 i32.store $0=, myrnd.s($pop123), $pop3 block i32.const $push116=, 0 i32.const $push115=, 16 i32.shr_u $push114=, $2, $pop115 - tee_local $push113=, $4=, $pop114 - i32.const $push42=, 2047 - i32.and $push112=, $pop113, $pop42 - tee_local $push111=, $3=, $pop112 - i32.const $push44=, 6 - i32.shl $push45=, $pop111, $pop44 - i32.const $push46=, 64 - i32.and $push47=, $pop45, $pop46 - i32.const $push48=, -65 - i32.and $push110=, $1, $pop48 + tee_local $push113=, $1=, $pop114 + i32.const $push44=, 2047 + i32.and $push112=, $pop113, $pop44 + tee_local $push111=, $4=, $pop112 + i32.const $push45=, 6 + i32.shl $push46=, $pop111, $pop45 + i32.const $push47=, 64 + i32.and $push48=, $pop46, $pop47 + i32.const $push43=, -65 + i32.and $push110=, $3, $pop43 tee_local $push109=, $2=, $pop110 - i32.or $push49=, $pop47, $pop109 + i32.or $push49=, $pop48, $pop109 i32.store16 $push0=, sU($pop116), $pop49 i32.const $push50=, 65472 i32.and $push51=, $pop0, $pop50 i32.const $push108=, 6 i32.shr_u $push107=, $pop51, $pop108 - tee_local $push106=, $1=, $pop107 - i32.xor $push52=, $pop106, $3 + tee_local $push106=, $3=, $pop107 + i32.xor $push52=, $pop106, $4 i32.const $push105=, 1 i32.and $push53=, $pop52, $pop105 br_if 0, $pop53 # 0: down to label13 # BB#1: # %lor.lhs.false41 i32.const $push222=, 16 i32.shr_u $push221=, $0, $pop222 - tee_local $push220=, $3=, $pop221 - i32.add $push54=, $1, $pop220 - i32.add $push55=, $3, $4 - i32.xor $push56=, $pop54, $pop55 + tee_local $push220=, $4=, $pop221 + i32.add $push55=, $3, $pop220 + i32.add $push54=, $4, $1 + i32.xor $push56=, $pop55, $pop54 i32.const $push219=, 1 i32.and $push57=, $pop56, $pop219 br_if 0, $pop57 # 0: down to label13 # BB#2: # %if.end - i32.const $push63=, 0 + i32.const $push62=, 0 i32.const $push58=, 1103515245 i32.mul $push59=, $0, $pop58 i32.const $push60=, 12345 i32.add $push236=, $pop59, $pop60 - tee_local $push235=, $1=, $pop236 + tee_local $push235=, $3=, $pop236 i32.const $push234=, 1103515245 - i32.mul $push62=, $pop235, $pop234 + i32.mul $push61=, $pop235, $pop234 i32.const $push233=, 12345 - i32.add $push4=, $pop62, $pop233 - i32.store $0=, myrnd.s($pop63), $pop4 + i32.add $push4=, $pop61, $pop233 + i32.store $0=, myrnd.s($pop62), $pop4 i32.const $push232=, 0 i32.const $push231=, 16 - i32.shr_u $push230=, $1, $pop231 - tee_local $push229=, $3=, $pop230 - i32.const $push61=, 2047 - i32.and $push228=, $pop229, $pop61 - tee_local $push227=, $1=, $pop228 + i32.shr_u $push230=, $3, $pop231 + tee_local $push229=, $4=, $pop230 + i32.const $push63=, 2047 + i32.and $push228=, $pop229, $pop63 + tee_local $push227=, $3=, $pop228 i32.const $push64=, 6 i32.shl $push65=, $pop227, $pop64 i32.const $push66=, 64 @@ -6083,21 +6074,21 @@ testU: # @testU i32.and $push70=, $pop1, $pop69 i32.const $push226=, 6 i32.shr_u $push225=, $pop70, $pop226 - tee_local $push224=, $4=, $pop225 - i32.xor $push71=, $pop224, $1 + tee_local $push224=, $1=, $pop225 + i32.xor $push71=, $pop224, $3 i32.const $push223=, 1 i32.and $push72=, $pop71, $pop223 br_if 0, $pop72 # 0: down to label13 # BB#3: # %lor.lhs.false85 i32.const $push242=, 16 i32.shr_u $push241=, $0, $pop242 - tee_local $push240=, $1=, $pop241 - i32.add $push77=, $pop240, $3 + tee_local $push240=, $3=, $pop241 + i32.add $push77=, $pop240, $4 i32.const $push239=, 1 i32.and $push78=, $pop77, $pop239 i32.const $push75=, 15 i32.rem_u $push79=, $pop78, $pop75 - i32.add $push73=, $4, $1 + i32.add $push73=, $1, $3 i32.const $push238=, 1 i32.and $push74=, $pop73, $pop238 i32.const $push237=, 15 @@ -6105,42 +6096,42 @@ testU: # @testU i32.ne $push80=, $pop79, $pop76 br_if 0, $pop80 # 0: down to label13 # BB#4: # %lor.lhs.false130 - i32.const $push88=, 0 + i32.const $push86=, 0 i32.const $push81=, 1103515245 i32.mul $push82=, $0, $pop81 i32.const $push83=, 12345 i32.add $push254=, $pop82, $pop83 tee_local $push253=, $0=, $pop254 - i32.const $push89=, 10 - i32.shr_u $push90=, $pop253, $pop89 - i32.const $push91=, 64 - i32.and $push92=, $pop90, $pop91 - i32.or $push93=, $pop92, $2 - i32.const $push94=, 65472 - i32.and $push95=, $pop93, $pop94 - i32.const $push96=, 6 - i32.shr_u $push97=, $pop95, $pop96 + i32.const $push88=, 10 + i32.shr_u $push89=, $pop253, $pop88 + i32.const $push90=, 64 + i32.and $push91=, $pop89, $pop90 + i32.or $push92=, $pop91, $2 + i32.const $push93=, 65472 + i32.and $push94=, $pop92, $pop93 + i32.const $push95=, 6 + i32.shr_u $push96=, $pop94, $pop95 i32.const $push252=, 0 i32.const $push251=, 1103515245 - i32.mul $push86=, $0, $pop251 + i32.mul $push84=, $0, $pop251 i32.const $push250=, 12345 - i32.add $push87=, $pop86, $pop250 - i32.store $push2=, myrnd.s($pop252), $pop87 - i32.const $push84=, 16 - i32.shr_u $push249=, $pop2, $pop84 - tee_local $push248=, $1=, $pop249 - i32.add $push247=, $pop97, $pop248 - tee_local $push246=, $3=, $pop247 + i32.add $push85=, $pop84, $pop250 + i32.store $push2=, myrnd.s($pop252), $pop85 + i32.const $push87=, 16 + i32.shr_u $push249=, $pop2, $pop87 + tee_local $push248=, $3=, $pop249 + i32.add $push247=, $pop96, $pop248 + tee_local $push246=, $4=, $pop247 i32.const $push245=, 6 - i32.shl $push98=, $pop246, $pop245 + i32.shl $push97=, $pop246, $pop245 i32.const $push244=, 64 - i32.and $push99=, $pop98, $pop244 - i32.or $push100=, $pop99, $2 - i32.store16 $drop=, sU($pop88), $pop100 + i32.and $push98=, $pop97, $pop244 + i32.or $push99=, $pop98, $2 + i32.store16 $drop=, sU($pop86), $pop99 i32.const $push243=, 16 - i32.shr_u $push85=, $0, $pop243 - i32.add $push101=, $1, $pop85 - i32.xor $push102=, $pop101, $3 + i32.shr_u $push100=, $0, $pop243 + i32.add $push101=, $3, $pop100 + i32.xor $push102=, $pop101, $4 i32.const $push103=, 1 i32.and $push104=, $pop102, $pop103 br_if 0, $pop104 # 0: down to label13 @@ -6163,7 +6154,7 @@ retmeV: # @retmeV # BB#0: # %entry i32.load $push0=, 0($1):p2align=1 i32.store $drop=, 0($0):p2align=1, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end127: .size retmeV, .Lfunc_end127-retmeV @@ -6183,7 +6174,7 @@ fn1V: # @fn1V i32.add $push4=, $pop3, $0 i32.const $push5=, 1 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end128: .size fn1V, .Lfunc_end128-fn1V @@ -6203,7 +6194,7 @@ fn2V: # @fn2V i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end129: .size fn2V, .Lfunc_end129-fn2V @@ -6219,7 +6210,7 @@ retitV: # @retitV i32.load8_u $push1=, sV+1($pop0) i32.const $push2=, 1 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end130: .size retitV, .Lfunc_end130-retitV @@ -6237,21 +6228,21 @@ fn3V: # @fn3V i32.const $push16=, 0 i32.load16_u $push15=, sV($pop16) tee_local $push14=, $1=, $pop15 - i32.const $push1=, 8 - i32.shr_u $push2=, $pop14, $pop1 - i32.add $push13=, $pop2, $0 + i32.const $push3=, 8 + i32.shr_u $push4=, $pop14, $pop3 + i32.add $push13=, $pop4, $0 tee_local $push12=, $0=, $pop13 i32.const $push11=, 8 - i32.shl $push3=, $pop12, $pop11 - i32.const $push4=, 256 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 65279 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push5=, $pop12, $pop11 + i32.const $push6=, 256 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 65279 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store16 $drop=, sV($pop0), $pop8 i32.const $push9=, 1 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end131: .size fn3V, .Lfunc_end131-fn3V @@ -6263,176 +6254,177 @@ fn3V: # @fn3V testV: # @testV .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push110=, 0 - i32.const $push109=, 0 - i32.load $push3=, myrnd.s($pop109) - i32.const $push108=, 1103515245 - i32.mul $push4=, $pop3, $pop108 - i32.const $push107=, 12345 - i32.add $push106=, $pop4, $pop107 - tee_local $push105=, $1=, $pop106 - i32.const $push104=, 16 - i32.shr_u $push5=, $pop105, $pop104 - i32.store8 $drop=, sV($pop110), $pop5 - i32.const $push103=, 0 - i32.const $push102=, 1103515245 - i32.mul $push6=, $1, $pop102 - i32.const $push101=, 12345 - i32.add $push100=, $pop6, $pop101 - tee_local $push99=, $1=, $pop100 - i32.const $push98=, 16 - i32.shr_u $push7=, $pop99, $pop98 - i32.store8 $drop=, sV+1($pop103), $pop7 - i32.const $push97=, 0 - i32.const $push96=, 1103515245 - i32.mul $push8=, $1, $pop96 - i32.const $push95=, 12345 - i32.add $push94=, $pop8, $pop95 - tee_local $push93=, $1=, $pop94 - i32.const $push92=, 16 - i32.shr_u $push9=, $pop93, $pop92 - i32.store8 $drop=, sV+2($pop97), $pop9 - i32.const $push91=, 0 - i32.const $push90=, 1103515245 - i32.mul $push10=, $1, $pop90 - i32.const $push89=, 12345 - i32.add $push88=, $pop10, $pop89 - tee_local $push87=, $1=, $pop88 - i32.const $push86=, 16 - i32.shr_u $push11=, $pop87, $pop86 - i32.store8 $drop=, sV+3($pop91), $pop11 - i32.const $push85=, 0 - i32.const $push84=, 1103515245 - i32.mul $push13=, $1, $pop84 - i32.const $push83=, 12345 - i32.add $push82=, $pop13, $pop83 - tee_local $push81=, $3=, $pop82 - i32.const $push80=, 8 - i32.shr_u $push16=, $pop81, $pop80 - i32.const $push79=, 256 - i32.and $push17=, $pop16, $pop79 - i32.const $push78=, 0 - i32.load16_u $push12=, sV($pop78) - i32.const $push77=, 65279 - i32.and $push18=, $pop12, $pop77 - i32.or $push19=, $pop17, $pop18 - i32.store16 $drop=, sV($pop85), $pop19 - i32.const $push76=, 0 - i32.load $1=, sV($pop76) - i32.const $push75=, 0 - i32.const $push74=, 1103515245 - i32.mul $push15=, $3, $pop74 - i32.const $push73=, 12345 - i32.add $push72=, $pop15, $pop73 - tee_local $push71=, $2=, $pop72 - i32.store $0=, myrnd.s($pop75), $pop71 + i32.const $push113=, 0 + i32.const $push112=, 0 + i32.load $push4=, myrnd.s($pop112) + i32.const $push111=, 1103515245 + i32.mul $push5=, $pop4, $pop111 + i32.const $push110=, 12345 + i32.add $push109=, $pop5, $pop110 + tee_local $push108=, $4=, $pop109 + i32.const $push107=, 16 + i32.shr_u $push6=, $pop108, $pop107 + i32.store8 $drop=, sV($pop113), $pop6 + i32.const $push106=, 0 + i32.const $push105=, 1103515245 + i32.mul $push7=, $4, $pop105 + i32.const $push104=, 12345 + i32.add $push103=, $pop7, $pop104 + tee_local $push102=, $4=, $pop103 + i32.const $push101=, 16 + i32.shr_u $push8=, $pop102, $pop101 + i32.store8 $drop=, sV+1($pop106), $pop8 + i32.const $push100=, 0 + i32.const $push99=, 1103515245 + i32.mul $push9=, $4, $pop99 + i32.const $push98=, 12345 + i32.add $push97=, $pop9, $pop98 + tee_local $push96=, $4=, $pop97 + i32.const $push95=, 16 + i32.shr_u $push10=, $pop96, $pop95 + i32.store8 $drop=, sV+2($pop100), $pop10 + i32.const $push94=, 0 + i32.const $push93=, 1103515245 + i32.mul $push11=, $4, $pop93 + i32.const $push92=, 12345 + i32.add $push91=, $pop11, $pop92 + tee_local $push90=, $4=, $pop91 + i32.const $push89=, 16 + i32.shr_u $push12=, $pop90, $pop89 + i32.store8 $drop=, sV+3($pop94), $pop12 + i32.const $push88=, 0 + i32.const $push87=, 1103515245 + i32.mul $push15=, $4, $pop87 + i32.const $push86=, 12345 + i32.add $push85=, $pop15, $pop86 + tee_local $push84=, $4=, $pop85 + i32.const $push83=, 8 + i32.shr_u $push16=, $pop84, $pop83 + i32.const $push82=, 256 + i32.and $push17=, $pop16, $pop82 + i32.const $push81=, 0 + i32.load16_u $push13=, sV($pop81) + i32.const $push80=, 65279 + i32.and $push14=, $pop13, $pop80 + i32.or $push18=, $pop17, $pop14 + i32.store16 $drop=, sV($pop88), $pop18 block - i32.const $push70=, 16 - i32.shr_u $push69=, $2, $pop70 - tee_local $push68=, $2=, $pop69 - i32.const $push67=, 16 - i32.shr_u $push14=, $3, $pop67 - i32.add $push22=, $pop68, $pop14 - i32.const $push66=, 8 - i32.shr_u $push20=, $1, $pop66 - i32.add $push21=, $pop20, $2 - i32.xor $push23=, $pop22, $pop21 - i32.const $push65=, 1 - i32.and $push24=, $pop23, $pop65 - br_if 0, $pop24 # 0: down to label14 + i32.const $push79=, 0 + i32.const $push78=, 1103515245 + i32.mul $push19=, $4, $pop78 + i32.const $push77=, 12345 + i32.add $push2=, $pop19, $pop77 + i32.store $push76=, myrnd.s($pop79), $pop2 + tee_local $push75=, $0=, $pop76 + i32.const $push74=, 16 + i32.shr_u $push73=, $pop75, $pop74 + tee_local $push72=, $1=, $pop73 + i32.const $push71=, 16 + i32.shr_u $push20=, $4, $pop71 + i32.add $push21=, $pop72, $pop20 + i32.const $push70=, 0 + i32.load $push69=, sV($pop70) + tee_local $push68=, $4=, $pop69 + i32.const $push67=, 8 + i32.shr_u $push22=, $pop68, $pop67 + i32.add $push23=, $pop22, $1 + i32.xor $push24=, $pop21, $pop23 + i32.const $push66=, 1 + i32.and $push25=, $pop24, $pop66 + br_if 0, $pop25 # 0: down to label14 # BB#1: # %if.end - i32.const $push129=, 0 - i32.const $push128=, 1103515245 - i32.mul $push25=, $0, $pop128 - i32.const $push127=, 12345 - i32.add $push126=, $pop25, $pop127 - tee_local $push125=, $2=, $pop126 - i32.const $push124=, 1103515245 - i32.mul $push27=, $pop125, $pop124 - i32.const $push123=, 12345 - i32.add $push2=, $pop27, $pop123 - i32.store $3=, myrnd.s($pop129), $pop2 - i32.const $push122=, 0 - i32.const $push121=, 16 - i32.shr_u $push120=, $2, $pop121 - tee_local $push119=, $0=, $pop120 - i32.const $push26=, 2047 - i32.and $push118=, $pop119, $pop26 - tee_local $push117=, $2=, $pop118 - i32.const $push116=, 8 - i32.shl $push28=, $pop117, $pop116 - i32.const $push115=, 256 - i32.and $push29=, $pop28, $pop115 - i32.const $push30=, -257 - i32.and $push31=, $1, $pop30 - i32.or $push32=, $pop29, $pop31 - i32.store16 $push0=, sV($pop122), $pop32 - i32.const $push33=, 65280 - i32.and $push34=, $pop0, $pop33 - i32.const $push114=, 8 - i32.shr_u $push113=, $pop34, $pop114 - tee_local $push112=, $4=, $pop113 - i32.xor $push35=, $pop112, $2 - i32.const $push111=, 1 - i32.and $push36=, $pop35, $pop111 - br_if 0, $pop36 # 0: down to label14 + i32.const $push132=, 0 + i32.const $push131=, 1103515245 + i32.mul $push26=, $0, $pop131 + i32.const $push130=, 12345 + i32.add $push129=, $pop26, $pop130 + tee_local $push128=, $0=, $pop129 + i32.const $push127=, 1103515245 + i32.mul $push27=, $pop128, $pop127 + i32.const $push126=, 12345 + i32.add $push3=, $pop27, $pop126 + i32.store $1=, myrnd.s($pop132), $pop3 + i32.const $push125=, 0 + i32.const $push124=, 16 + i32.shr_u $push123=, $0, $pop124 + tee_local $push122=, $2=, $pop123 + i32.const $push30=, 2047 + i32.and $push121=, $pop122, $pop30 + tee_local $push120=, $0=, $pop121 + i32.const $push119=, 8 + i32.shl $push31=, $pop120, $pop119 + i32.const $push118=, 256 + i32.and $push32=, $pop31, $pop118 + i32.const $push28=, -257 + i32.and $push29=, $4, $pop28 + i32.or $push33=, $pop32, $pop29 + i32.store16 $push0=, sV($pop125), $pop33 + i32.const $push34=, 65280 + i32.and $push35=, $pop0, $pop34 + i32.const $push117=, 8 + i32.shr_u $push116=, $pop35, $pop117 + tee_local $push115=, $3=, $pop116 + i32.xor $push36=, $pop115, $0 + i32.const $push114=, 1 + i32.and $push37=, $pop36, $pop114 + br_if 0, $pop37 # 0: down to label14 # BB#2: # %lor.lhs.false89 - i32.const $push135=, 16 - i32.shr_u $push134=, $3, $pop135 - tee_local $push133=, $2=, $pop134 - i32.add $push41=, $pop133, $0 - i32.const $push132=, 1 - i32.and $push42=, $pop41, $pop132 - i32.const $push39=, 15 - i32.rem_u $push43=, $pop42, $pop39 - i32.add $push37=, $4, $2 - i32.const $push131=, 1 - i32.and $push38=, $pop37, $pop131 - i32.const $push130=, 15 - i32.rem_u $push40=, $pop38, $pop130 - i32.ne $push44=, $pop43, $pop40 - br_if 0, $pop44 # 0: down to label14 + i32.const $push138=, 16 + i32.shr_u $push137=, $1, $pop138 + tee_local $push136=, $0=, $pop137 + i32.add $push42=, $pop136, $2 + i32.const $push135=, 1 + i32.and $push43=, $pop42, $pop135 + i32.const $push40=, 15 + i32.rem_u $push44=, $pop43, $pop40 + i32.add $push38=, $3, $0 + i32.const $push134=, 1 + i32.and $push39=, $pop38, $pop134 + i32.const $push133=, 15 + i32.rem_u $push41=, $pop39, $pop133 + i32.ne $push45=, $pop44, $pop41 + br_if 0, $pop45 # 0: down to label14 # BB#3: # %lor.lhs.false136 - i32.const $push52=, 0 - i32.const $push45=, 1103515245 - i32.mul $push46=, $3, $pop45 - i32.const $push47=, 12345 - i32.add $push152=, $pop46, $pop47 - tee_local $push151=, $3=, $pop152 + i32.const $push51=, 0 + i32.const $push46=, 1103515245 + i32.mul $push47=, $1, $pop46 + i32.const $push48=, 12345 + i32.add $push155=, $pop47, $pop48 + tee_local $push154=, $1=, $pop155 i32.const $push53=, 8 - i32.shr_u $push54=, $pop151, $pop53 + i32.shr_u $push54=, $pop154, $pop53 i32.const $push55=, 256 i32.and $push56=, $pop54, $pop55 - i32.const $push150=, 65279 - i32.and $push149=, $1, $pop150 - tee_local $push148=, $1=, $pop149 - i32.or $push57=, $pop56, $pop148 - i32.const $push147=, 8 - i32.shr_u $push58=, $pop57, $pop147 - i32.const $push146=, 0 - i32.const $push145=, 1103515245 - i32.mul $push50=, $3, $pop145 - i32.const $push144=, 12345 - i32.add $push51=, $pop50, $pop144 - i32.store $push1=, myrnd.s($pop146), $pop51 - i32.const $push48=, 16 - i32.shr_u $push143=, $pop1, $pop48 - tee_local $push142=, $2=, $pop143 - i32.add $push141=, $pop58, $pop142 - tee_local $push140=, $0=, $pop141 - i32.const $push139=, 8 - i32.shl $push59=, $pop140, $pop139 - i32.const $push138=, 256 - i32.and $push60=, $pop59, $pop138 - i32.or $push61=, $pop60, $1 - i32.store16 $drop=, sV($pop52), $pop61 - i32.const $push137=, 16 - i32.shr_u $push49=, $3, $pop137 - i32.add $push62=, $2, $pop49 - i32.xor $push63=, $pop62, $0 - i32.const $push136=, 1 - i32.and $push64=, $pop63, $pop136 - br_if 0, $pop64 # 0: down to label14 + i32.const $push153=, 65279 + i32.and $push152=, $4, $pop153 + tee_local $push151=, $4=, $pop152 + i32.or $push57=, $pop56, $pop151 + i32.const $push150=, 8 + i32.shr_u $push58=, $pop57, $pop150 + i32.const $push149=, 0 + i32.const $push148=, 1103515245 + i32.mul $push49=, $1, $pop148 + i32.const $push147=, 12345 + i32.add $push50=, $pop49, $pop147 + i32.store $push1=, myrnd.s($pop149), $pop50 + i32.const $push52=, 16 + i32.shr_u $push146=, $pop1, $pop52 + tee_local $push145=, $0=, $pop146 + i32.add $push144=, $pop58, $pop145 + tee_local $push143=, $2=, $pop144 + i32.const $push142=, 8 + i32.shl $push59=, $pop143, $pop142 + i32.const $push141=, 256 + i32.and $push60=, $pop59, $pop141 + i32.or $push61=, $pop60, $4 + i32.store16 $drop=, sV($pop51), $pop61 + i32.const $push140=, 16 + i32.shr_u $push62=, $1, $pop140 + i32.add $push63=, $0, $pop62 + i32.xor $push64=, $pop63, $2 + i32.const $push139=, 1 + i32.and $push65=, $pop64, $pop139 + br_if 0, $pop65 # 0: down to label14 # BB#4: # %if.end142 return .LBB132_5: # %if.then141 @@ -6449,29 +6441,28 @@ testV: # @testV .type retmeW,@function retmeW: # @retmeW .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 24 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push13=, 24 - i32.add $push2=, $0, $pop13 - i64.store $drop=, 0($pop2), $2 - i32.const $push8=, 8 - i32.add $push10=, $1, $pop8 - i64.load $2=, 0($pop10) - i32.const $push4=, 16 - i32.add $push5=, $0, $pop4 - i32.const $push12=, 16 - i32.add $push6=, $1, $pop12 - i64.load $push7=, 0($pop6) - i64.store $drop=, 0($pop5), $pop7 - i32.const $push11=, 8 - i32.add $push9=, $0, $pop11 - i64.store $drop=, 0($pop9), $2 - return + i32.const $push1=, 24 + i32.add $push2=, $0, $pop1 + i32.const $push15=, 24 + i32.add $push3=, $1, $pop15 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + i32.const $push5=, 16 + i32.add $push6=, $0, $pop5 + i32.const $push14=, 16 + i32.add $push7=, $1, $pop14 + i64.load $push8=, 0($pop7) + i64.store $drop=, 0($pop6), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push13=, 8 + i32.add $push11=, $1, $pop13 + i64.load $push12=, 0($pop11) + i64.store $drop=, 0($pop10), $pop12 + # fallthrough-return .endfunc .Lfunc_end133: .size retmeW, .Lfunc_end133-retmeW @@ -6489,7 +6480,7 @@ fn1W: # @fn1W i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end134: .size fn1W, .Lfunc_end134-fn1W @@ -6509,7 +6500,7 @@ fn2W: # @fn2W i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end135: .size fn2W, .Lfunc_end135-fn2W @@ -6525,7 +6516,7 @@ retitW: # @retitW i32.load $push1=, sW+16($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end136: .size retitW, .Lfunc_end136-retitW @@ -6543,15 +6534,16 @@ fn3W: # @fn3W i32.const $push10=, 0 i32.load $push9=, sW+16($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 4095 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 4095 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -4096 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -4096 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sW+16($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end137: .size fn3W, .Lfunc_end137-fn3W @@ -6561,98 +6553,99 @@ fn3W: # @fn3W .globl testW .type testW,@function testW: # @testW - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.load $1=, myrnd.s($pop3) - i32.const $0=, -32 + i32.const $push1=, 0 + i32.load $2=, myrnd.s($pop1) + i32.const $1=, -32 .LBB138_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label15: i32.const $push41=, 1103515245 - i32.mul $push4=, $1, $pop41 + i32.mul $push2=, $2, $pop41 i32.const $push40=, 12345 - i32.add $push39=, $pop4, $pop40 - tee_local $push38=, $1=, $pop39 + i32.add $push39=, $pop2, $pop40 + tee_local $push38=, $2=, $pop39 i32.const $push37=, 16 - i32.shr_u $push5=, $pop38, $pop37 - i32.store8 $drop=, sW+32($0), $pop5 + i32.shr_u $push3=, $pop38, $pop37 + i32.store8 $drop=, sW+32($1), $pop3 i32.const $push36=, 1 - i32.add $0=, $0, $pop36 - br_if 0, $0 # 0: up to label15 + i32.add $push35=, $1, $pop36 + tee_local $push34=, $1=, $pop35 + br_if 0, $pop34 # 0: up to label15 # BB#2: # %for.end end_loop # label16: - i32.const $push6=, 0 - i32.const $push10=, 1103515245 - i32.mul $push11=, $1, $pop10 - i32.const $push12=, 12345 - i32.add $push73=, $pop11, $pop12 + i32.const $push9=, 0 + i32.const $push4=, 1103515245 + i32.mul $push5=, $2, $pop4 + i32.const $push6=, 12345 + i32.add $push73=, $pop5, $pop6 tee_local $push72=, $1=, $pop73 - i32.const $push13=, 16 - i32.shr_u $push14=, $pop72, $pop13 - i32.const $push15=, 2047 - i32.and $push16=, $pop14, $pop15 - i32.const $push71=, 0 - i32.load $push9=, sW+16($pop71) - i32.const $push19=, -4096 - i32.and $push70=, $pop9, $pop19 - tee_local $push69=, $0=, $pop70 - i32.or $push20=, $pop16, $pop69 - i32.store $drop=, sW+16($pop6), $pop20 + i32.const $push71=, 1103515245 + i32.mul $push7=, $pop72, $pop71 + i32.const $push70=, 12345 + i32.add $push8=, $pop7, $pop70 + i32.store $2=, myrnd.s($pop9), $pop8 + i32.const $push69=, 0 + i64.const $push10=, 4612055454334320640 + i64.store $drop=, sW+8($pop69), $pop10 i32.const $push68=, 0 + i64.const $push11=, 0 + i64.store $drop=, sW($pop68), $pop11 i32.const $push67=, 0 - i32.const $push66=, 1103515245 - i32.mul $push17=, $1, $pop66 - i32.const $push65=, 12345 - i32.add $push18=, $pop17, $pop65 - i32.store $push0=, myrnd.s($pop67), $pop18 - i32.const $push64=, 1103515245 - i32.mul $push21=, $pop0, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop21, $pop63 - tee_local $push61=, $1=, $pop62 - i32.const $push60=, 16 - i32.shr_u $push22=, $pop61, $pop60 - i32.const $push59=, 2047 - i32.and $push23=, $pop22, $pop59 - i32.or $push26=, $pop23, $0 - i32.store $drop=, sW+16($pop68), $pop26 - i32.const $push58=, 0 - i32.const $push57=, 0 + i32.const $push14=, 16 + i32.shr_u $push15=, $1, $pop14 + i32.const $push16=, 2047 + i32.and $push17=, $pop15, $pop16 + i32.const $push66=, 0 + i32.load $push12=, sW+16($pop66) + i32.const $push13=, -4096 + i32.and $push65=, $pop12, $pop13 + tee_local $push64=, $1=, $pop65 + i32.or $push18=, $pop17, $pop64 + i32.store $drop=, sW+16($pop67), $pop18 + i32.const $push63=, 0 + i32.const $push62=, 1103515245 + i32.mul $push19=, $2, $pop62 + i32.const $push61=, 12345 + i32.add $push60=, $pop19, $pop61 + tee_local $push59=, $2=, $pop60 + i32.const $push58=, 1103515245 + i32.mul $push20=, $pop59, $pop58 + i32.const $push57=, 12345 + i32.add $push21=, $pop20, $pop57 + i32.store $0=, myrnd.s($pop63), $pop21 i32.const $push56=, 0 - i32.const $push55=, 1103515245 - i32.mul $push24=, $1, $pop55 - i32.const $push54=, 12345 - i32.add $push25=, $pop24, $pop54 - i32.store $push1=, myrnd.s($pop56), $pop25 - i32.const $push53=, 1103515245 - i32.mul $push27=, $pop1, $pop53 - i32.const $push52=, 12345 - i32.add $push51=, $pop27, $pop52 - tee_local $push50=, $1=, $pop51 - i32.const $push49=, 1103515245 - i32.mul $push30=, $pop50, $pop49 - i32.const $push48=, 12345 - i32.add $push31=, $pop30, $pop48 - i32.store $push2=, myrnd.s($pop57), $pop31 - i32.const $push47=, 16 - i32.shr_u $push32=, $pop2, $pop47 - i32.const $push46=, 2047 - i32.and $push33=, $pop32, $pop46 + i32.const $push55=, 16 + i32.shr_u $push22=, $2, $pop55 + i32.const $push54=, 2047 + i32.and $push23=, $pop22, $pop54 + i32.or $push24=, $pop23, $1 + i32.store $drop=, sW+16($pop56), $pop24 + i32.const $push53=, 0 + i32.const $push52=, 0 + i32.const $push51=, 1103515245 + i32.mul $push25=, $0, $pop51 + i32.const $push50=, 12345 + i32.add $push49=, $pop25, $pop50 + tee_local $push48=, $2=, $pop49 + i32.const $push47=, 1103515245 + i32.mul $push26=, $pop48, $pop47 + i32.const $push46=, 12345 + i32.add $push27=, $pop26, $pop46 + i32.store $push0=, myrnd.s($pop52), $pop27 i32.const $push45=, 16 - i32.shr_u $push28=, $1, $pop45 + i32.shr_u $push30=, $pop0, $pop45 i32.const $push44=, 2047 - i32.and $push29=, $pop28, $pop44 - i32.add $push34=, $pop33, $pop29 - i32.or $push35=, $pop34, $0 - i32.store $drop=, sW+16($pop58), $pop35 - i32.const $push43=, 0 - i64.const $push7=, 4612055454334320640 - i64.store $drop=, sW+8($pop43), $pop7 - i32.const $push42=, 0 - i64.const $push8=, 0 - i64.store $drop=, sW($pop42), $pop8 - return + i32.and $push31=, $pop30, $pop44 + i32.const $push43=, 16 + i32.shr_u $push28=, $2, $pop43 + i32.const $push42=, 2047 + i32.and $push29=, $pop28, $pop42 + i32.add $push32=, $pop31, $pop29 + i32.or $push33=, $pop32, $1 + i32.store $drop=, sW+16($pop53), $pop33 + # fallthrough-return .endfunc .Lfunc_end138: .size testW, .Lfunc_end138-testW @@ -6663,29 +6656,28 @@ testW: # @testW .type retmeX,@function retmeX: # @retmeX .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 24 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push13=, 24 - i32.add $push2=, $0, $pop13 - i64.store $drop=, 0($pop2), $2 - i32.const $push8=, 8 - i32.add $push10=, $1, $pop8 - i64.load $2=, 0($pop10) - i32.const $push4=, 16 - i32.add $push5=, $0, $pop4 - i32.const $push12=, 16 - i32.add $push6=, $1, $pop12 - i64.load $push7=, 0($pop6) - i64.store $drop=, 0($pop5), $pop7 - i32.const $push11=, 8 - i32.add $push9=, $0, $pop11 - i64.store $drop=, 0($pop9), $2 - return + i32.const $push1=, 24 + i32.add $push2=, $0, $pop1 + i32.const $push15=, 24 + i32.add $push3=, $1, $pop15 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + i32.const $push5=, 16 + i32.add $push6=, $0, $pop5 + i32.const $push14=, 16 + i32.add $push7=, $1, $pop14 + i64.load $push8=, 0($pop7) + i64.store $drop=, 0($pop6), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push13=, 8 + i32.add $push11=, $1, $pop13 + i64.load $push12=, 0($pop11) + i64.store $drop=, 0($pop10), $pop12 + # fallthrough-return .endfunc .Lfunc_end139: .size retmeX, .Lfunc_end139-retmeX @@ -6703,7 +6695,7 @@ fn1X: # @fn1X i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end140: .size fn1X, .Lfunc_end140-fn1X @@ -6723,7 +6715,7 @@ fn2X: # @fn2X i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end141: .size fn2X, .Lfunc_end141-fn2X @@ -6739,7 +6731,7 @@ retitX: # @retitX i32.load $push1=, sX($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end142: .size retitX, .Lfunc_end142-retitX @@ -6757,15 +6749,16 @@ fn3X: # @fn3X i32.const $push10=, 0 i32.load $push9=, sX($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 4095 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 4095 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -4096 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -4096 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sX($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end143: .size fn3X, .Lfunc_end143-fn3X @@ -6775,98 +6768,99 @@ fn3X: # @fn3X .globl testX .type testX,@function testX: # @testX - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.load $1=, myrnd.s($pop3) - i32.const $0=, -32 + i32.const $push1=, 0 + i32.load $2=, myrnd.s($pop1) + i32.const $1=, -32 .LBB144_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label17: i32.const $push41=, 1103515245 - i32.mul $push4=, $1, $pop41 + i32.mul $push2=, $2, $pop41 i32.const $push40=, 12345 - i32.add $push39=, $pop4, $pop40 - tee_local $push38=, $1=, $pop39 + i32.add $push39=, $pop2, $pop40 + tee_local $push38=, $2=, $pop39 i32.const $push37=, 16 - i32.shr_u $push5=, $pop38, $pop37 - i32.store8 $drop=, sX+32($0), $pop5 + i32.shr_u $push3=, $pop38, $pop37 + i32.store8 $drop=, sX+32($1), $pop3 i32.const $push36=, 1 - i32.add $0=, $0, $pop36 - br_if 0, $0 # 0: up to label17 + i32.add $push35=, $1, $pop36 + tee_local $push34=, $1=, $pop35 + br_if 0, $pop34 # 0: up to label17 # BB#2: # %for.end end_loop # label18: - i32.const $push6=, 0 - i32.const $push10=, 1103515245 - i32.mul $push11=, $1, $pop10 - i32.const $push12=, 12345 - i32.add $push73=, $pop11, $pop12 + i32.const $push9=, 0 + i32.const $push4=, 1103515245 + i32.mul $push5=, $2, $pop4 + i32.const $push6=, 12345 + i32.add $push73=, $pop5, $pop6 tee_local $push72=, $1=, $pop73 - i32.const $push13=, 16 - i32.shr_u $push14=, $pop72, $pop13 - i32.const $push15=, 2047 - i32.and $push16=, $pop14, $pop15 - i32.const $push71=, 0 - i32.load $push9=, sX($pop71) - i32.const $push19=, -4096 - i32.and $push70=, $pop9, $pop19 - tee_local $push69=, $0=, $pop70 - i32.or $push20=, $pop16, $pop69 - i32.store $drop=, sX($pop6), $pop20 + i32.const $push71=, 1103515245 + i32.mul $push7=, $pop72, $pop71 + i32.const $push70=, 12345 + i32.add $push8=, $pop7, $pop70 + i32.store $2=, myrnd.s($pop9), $pop8 + i32.const $push69=, 0 + i64.const $push10=, 4612055454334320640 + i64.store $drop=, sX+24($pop69), $pop10 i32.const $push68=, 0 + i64.const $push11=, 0 + i64.store $drop=, sX+16($pop68), $pop11 i32.const $push67=, 0 - i32.const $push66=, 1103515245 - i32.mul $push17=, $1, $pop66 - i32.const $push65=, 12345 - i32.add $push18=, $pop17, $pop65 - i32.store $push0=, myrnd.s($pop67), $pop18 - i32.const $push64=, 1103515245 - i32.mul $push21=, $pop0, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop21, $pop63 - tee_local $push61=, $1=, $pop62 - i32.const $push60=, 16 - i32.shr_u $push22=, $pop61, $pop60 - i32.const $push59=, 2047 - i32.and $push23=, $pop22, $pop59 - i32.or $push26=, $pop23, $0 - i32.store $drop=, sX($pop68), $pop26 - i32.const $push58=, 0 - i32.const $push57=, 0 + i32.const $push14=, 16 + i32.shr_u $push15=, $1, $pop14 + i32.const $push16=, 2047 + i32.and $push17=, $pop15, $pop16 + i32.const $push66=, 0 + i32.load $push12=, sX($pop66) + i32.const $push13=, -4096 + i32.and $push65=, $pop12, $pop13 + tee_local $push64=, $1=, $pop65 + i32.or $push18=, $pop17, $pop64 + i32.store $drop=, sX($pop67), $pop18 + i32.const $push63=, 0 + i32.const $push62=, 1103515245 + i32.mul $push19=, $2, $pop62 + i32.const $push61=, 12345 + i32.add $push60=, $pop19, $pop61 + tee_local $push59=, $2=, $pop60 + i32.const $push58=, 1103515245 + i32.mul $push20=, $pop59, $pop58 + i32.const $push57=, 12345 + i32.add $push21=, $pop20, $pop57 + i32.store $0=, myrnd.s($pop63), $pop21 i32.const $push56=, 0 - i32.const $push55=, 1103515245 - i32.mul $push24=, $1, $pop55 - i32.const $push54=, 12345 - i32.add $push25=, $pop24, $pop54 - i32.store $push1=, myrnd.s($pop56), $pop25 - i32.const $push53=, 1103515245 - i32.mul $push27=, $pop1, $pop53 - i32.const $push52=, 12345 - i32.add $push51=, $pop27, $pop52 - tee_local $push50=, $1=, $pop51 - i32.const $push49=, 1103515245 - i32.mul $push30=, $pop50, $pop49 - i32.const $push48=, 12345 - i32.add $push31=, $pop30, $pop48 - i32.store $push2=, myrnd.s($pop57), $pop31 - i32.const $push47=, 16 - i32.shr_u $push32=, $pop2, $pop47 - i32.const $push46=, 2047 - i32.and $push33=, $pop32, $pop46 + i32.const $push55=, 16 + i32.shr_u $push22=, $2, $pop55 + i32.const $push54=, 2047 + i32.and $push23=, $pop22, $pop54 + i32.or $push24=, $pop23, $1 + i32.store $drop=, sX($pop56), $pop24 + i32.const $push53=, 0 + i32.const $push52=, 0 + i32.const $push51=, 1103515245 + i32.mul $push25=, $0, $pop51 + i32.const $push50=, 12345 + i32.add $push49=, $pop25, $pop50 + tee_local $push48=, $2=, $pop49 + i32.const $push47=, 1103515245 + i32.mul $push26=, $pop48, $pop47 + i32.const $push46=, 12345 + i32.add $push27=, $pop26, $pop46 + i32.store $push0=, myrnd.s($pop52), $pop27 i32.const $push45=, 16 - i32.shr_u $push28=, $1, $pop45 + i32.shr_u $push30=, $pop0, $pop45 i32.const $push44=, 2047 - i32.and $push29=, $pop28, $pop44 - i32.add $push34=, $pop33, $pop29 - i32.or $push35=, $pop34, $0 - i32.store $drop=, sX($pop58), $pop35 - i32.const $push43=, 0 - i64.const $push7=, 4612055454334320640 - i64.store $drop=, sX+24($pop43), $pop7 - i32.const $push42=, 0 - i64.const $push8=, 0 - i64.store $drop=, sX+16($pop42), $pop8 - return + i32.and $push31=, $pop30, $pop44 + i32.const $push43=, 16 + i32.shr_u $push28=, $2, $pop43 + i32.const $push42=, 2047 + i32.and $push29=, $pop28, $pop42 + i32.add $push32=, $pop31, $pop29 + i32.or $push33=, $pop32, $1 + i32.store $drop=, sX($pop53), $pop33 + # fallthrough-return .endfunc .Lfunc_end144: .size testX, .Lfunc_end144-testX @@ -6877,29 +6871,28 @@ testX: # @testX .type retmeY,@function retmeY: # @retmeY .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 24 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push13=, 24 - i32.add $push2=, $0, $pop13 - i64.store $drop=, 0($pop2), $2 - i32.const $push8=, 8 - i32.add $push10=, $1, $pop8 - i64.load $2=, 0($pop10) - i32.const $push4=, 16 - i32.add $push5=, $0, $pop4 - i32.const $push12=, 16 - i32.add $push6=, $1, $pop12 - i64.load $push7=, 0($pop6) - i64.store $drop=, 0($pop5), $pop7 - i32.const $push11=, 8 - i32.add $push9=, $0, $pop11 - i64.store $drop=, 0($pop9), $2 - return + i32.const $push1=, 24 + i32.add $push2=, $0, $pop1 + i32.const $push15=, 24 + i32.add $push3=, $1, $pop15 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + i32.const $push5=, 16 + i32.add $push6=, $0, $pop5 + i32.const $push14=, 16 + i32.add $push7=, $1, $pop14 + i64.load $push8=, 0($pop7) + i64.store $drop=, 0($pop6), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push13=, 8 + i32.add $push11=, $1, $pop13 + i64.load $push12=, 0($pop11) + i64.store $drop=, 0($pop10), $pop12 + # fallthrough-return .endfunc .Lfunc_end145: .size retmeY, .Lfunc_end145-retmeY @@ -6917,7 +6910,7 @@ fn1Y: # @fn1Y i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end146: .size fn1Y, .Lfunc_end146-fn1Y @@ -6937,7 +6930,7 @@ fn2Y: # @fn2Y i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end147: .size fn2Y, .Lfunc_end147-fn2Y @@ -6953,7 +6946,7 @@ retitY: # @retitY i32.load $push1=, sY($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end148: .size retitY, .Lfunc_end148-retitY @@ -6971,15 +6964,16 @@ fn3Y: # @fn3Y i32.const $push10=, 0 i32.load $push9=, sY($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 4095 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 4095 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -4096 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -4096 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sY($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end149: .size fn3Y, .Lfunc_end149-fn3Y @@ -6989,98 +6983,99 @@ fn3Y: # @fn3Y .globl testY .type testY,@function testY: # @testY - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.load $1=, myrnd.s($pop3) - i32.const $0=, -32 + i32.const $push1=, 0 + i32.load $2=, myrnd.s($pop1) + i32.const $1=, -32 .LBB150_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label19: i32.const $push41=, 1103515245 - i32.mul $push4=, $1, $pop41 + i32.mul $push2=, $2, $pop41 i32.const $push40=, 12345 - i32.add $push39=, $pop4, $pop40 - tee_local $push38=, $1=, $pop39 + i32.add $push39=, $pop2, $pop40 + tee_local $push38=, $2=, $pop39 i32.const $push37=, 16 - i32.shr_u $push5=, $pop38, $pop37 - i32.store8 $drop=, sY+32($0), $pop5 + i32.shr_u $push3=, $pop38, $pop37 + i32.store8 $drop=, sY+32($1), $pop3 i32.const $push36=, 1 - i32.add $0=, $0, $pop36 - br_if 0, $0 # 0: up to label19 + i32.add $push35=, $1, $pop36 + tee_local $push34=, $1=, $pop35 + br_if 0, $pop34 # 0: up to label19 # BB#2: # %for.end end_loop # label20: - i32.const $push6=, 0 - i32.const $push10=, 1103515245 - i32.mul $push11=, $1, $pop10 - i32.const $push12=, 12345 - i32.add $push73=, $pop11, $pop12 + i32.const $push9=, 0 + i32.const $push4=, 1103515245 + i32.mul $push5=, $2, $pop4 + i32.const $push6=, 12345 + i32.add $push73=, $pop5, $pop6 tee_local $push72=, $1=, $pop73 - i32.const $push13=, 16 - i32.shr_u $push14=, $pop72, $pop13 - i32.const $push15=, 2047 - i32.and $push16=, $pop14, $pop15 - i32.const $push71=, 0 - i32.load $push9=, sY($pop71) - i32.const $push19=, -4096 - i32.and $push70=, $pop9, $pop19 - tee_local $push69=, $0=, $pop70 - i32.or $push20=, $pop16, $pop69 - i32.store $drop=, sY($pop6), $pop20 + i32.const $push71=, 1103515245 + i32.mul $push7=, $pop72, $pop71 + i32.const $push70=, 12345 + i32.add $push8=, $pop7, $pop70 + i32.store $2=, myrnd.s($pop9), $pop8 + i32.const $push69=, 0 + i64.const $push10=, 4612055454334320640 + i64.store $drop=, sY+24($pop69), $pop10 i32.const $push68=, 0 + i64.const $push11=, 0 + i64.store $drop=, sY+16($pop68), $pop11 i32.const $push67=, 0 - i32.const $push66=, 1103515245 - i32.mul $push17=, $1, $pop66 - i32.const $push65=, 12345 - i32.add $push18=, $pop17, $pop65 - i32.store $push0=, myrnd.s($pop67), $pop18 - i32.const $push64=, 1103515245 - i32.mul $push21=, $pop0, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop21, $pop63 - tee_local $push61=, $1=, $pop62 - i32.const $push60=, 16 - i32.shr_u $push22=, $pop61, $pop60 - i32.const $push59=, 2047 - i32.and $push23=, $pop22, $pop59 - i32.or $push26=, $pop23, $0 - i32.store $drop=, sY($pop68), $pop26 - i32.const $push58=, 0 - i32.const $push57=, 0 + i32.const $push14=, 16 + i32.shr_u $push15=, $1, $pop14 + i32.const $push16=, 2047 + i32.and $push17=, $pop15, $pop16 + i32.const $push66=, 0 + i32.load $push12=, sY($pop66) + i32.const $push13=, -4096 + i32.and $push65=, $pop12, $pop13 + tee_local $push64=, $1=, $pop65 + i32.or $push18=, $pop17, $pop64 + i32.store $drop=, sY($pop67), $pop18 + i32.const $push63=, 0 + i32.const $push62=, 1103515245 + i32.mul $push19=, $2, $pop62 + i32.const $push61=, 12345 + i32.add $push60=, $pop19, $pop61 + tee_local $push59=, $2=, $pop60 + i32.const $push58=, 1103515245 + i32.mul $push20=, $pop59, $pop58 + i32.const $push57=, 12345 + i32.add $push21=, $pop20, $pop57 + i32.store $0=, myrnd.s($pop63), $pop21 i32.const $push56=, 0 - i32.const $push55=, 1103515245 - i32.mul $push24=, $1, $pop55 - i32.const $push54=, 12345 - i32.add $push25=, $pop24, $pop54 - i32.store $push1=, myrnd.s($pop56), $pop25 - i32.const $push53=, 1103515245 - i32.mul $push27=, $pop1, $pop53 - i32.const $push52=, 12345 - i32.add $push51=, $pop27, $pop52 - tee_local $push50=, $1=, $pop51 - i32.const $push49=, 1103515245 - i32.mul $push30=, $pop50, $pop49 - i32.const $push48=, 12345 - i32.add $push31=, $pop30, $pop48 - i32.store $push2=, myrnd.s($pop57), $pop31 - i32.const $push47=, 16 - i32.shr_u $push32=, $pop2, $pop47 - i32.const $push46=, 2047 - i32.and $push33=, $pop32, $pop46 + i32.const $push55=, 16 + i32.shr_u $push22=, $2, $pop55 + i32.const $push54=, 2047 + i32.and $push23=, $pop22, $pop54 + i32.or $push24=, $pop23, $1 + i32.store $drop=, sY($pop56), $pop24 + i32.const $push53=, 0 + i32.const $push52=, 0 + i32.const $push51=, 1103515245 + i32.mul $push25=, $0, $pop51 + i32.const $push50=, 12345 + i32.add $push49=, $pop25, $pop50 + tee_local $push48=, $2=, $pop49 + i32.const $push47=, 1103515245 + i32.mul $push26=, $pop48, $pop47 + i32.const $push46=, 12345 + i32.add $push27=, $pop26, $pop46 + i32.store $push0=, myrnd.s($pop52), $pop27 i32.const $push45=, 16 - i32.shr_u $push28=, $1, $pop45 + i32.shr_u $push30=, $pop0, $pop45 i32.const $push44=, 2047 - i32.and $push29=, $pop28, $pop44 - i32.add $push34=, $pop33, $pop29 - i32.or $push35=, $pop34, $0 - i32.store $drop=, sY($pop58), $pop35 - i32.const $push43=, 0 - i64.const $push7=, 4612055454334320640 - i64.store $drop=, sY+24($pop43), $pop7 - i32.const $push42=, 0 - i64.const $push8=, 0 - i64.store $drop=, sY+16($pop42), $pop8 - return + i32.and $push31=, $pop30, $pop44 + i32.const $push43=, 16 + i32.shr_u $push28=, $2, $pop43 + i32.const $push42=, 2047 + i32.and $push29=, $pop28, $pop42 + i32.add $push32=, $pop31, $pop29 + i32.or $push33=, $pop32, $1 + i32.store $drop=, sY($pop53), $pop33 + # fallthrough-return .endfunc .Lfunc_end150: .size testY, .Lfunc_end150-testY @@ -7091,29 +7086,28 @@ testY: # @testY .type retmeZ,@function retmeZ: # @retmeZ .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 24 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i32.const $push13=, 24 - i32.add $push2=, $0, $pop13 - i64.store $drop=, 0($pop2), $2 - i32.const $push8=, 8 - i32.add $push10=, $1, $pop8 - i64.load $2=, 0($pop10) - i32.const $push4=, 16 - i32.add $push5=, $0, $pop4 - i32.const $push12=, 16 - i32.add $push6=, $1, $pop12 - i64.load $push7=, 0($pop6) - i64.store $drop=, 0($pop5), $pop7 - i32.const $push11=, 8 - i32.add $push9=, $0, $pop11 - i64.store $drop=, 0($pop9), $2 - return + i32.const $push1=, 24 + i32.add $push2=, $0, $pop1 + i32.const $push15=, 24 + i32.add $push3=, $1, $pop15 + i64.load $push4=, 0($pop3) + i64.store $drop=, 0($pop2), $pop4 + i32.const $push5=, 16 + i32.add $push6=, $0, $pop5 + i32.const $push14=, 16 + i32.add $push7=, $1, $pop14 + i64.load $push8=, 0($pop7) + i64.store $drop=, 0($pop6), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push13=, 8 + i32.add $push11=, $1, $pop13 + i64.load $push12=, 0($pop11) + i64.store $drop=, 0($pop10), $pop12 + # fallthrough-return .endfunc .Lfunc_end151: .size retmeZ, .Lfunc_end151-retmeZ @@ -7126,14 +7120,14 @@ fn1Z: # @fn1Z .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $push1=, sZ+16($pop0) - i32.const $push2=, 20 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.const $push2=, 0 + i32.load $push3=, sZ+16($pop2) + i32.const $push0=, 20 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 20 i32.shr_u $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end152: .size fn1Z, .Lfunc_end152-fn1Z @@ -7155,7 +7149,7 @@ fn2Z: # @fn2Z i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end153: .size fn2Z, .Lfunc_end153-fn2Z @@ -7171,7 +7165,7 @@ retitZ: # @retitZ i32.load $push1=, sZ+16($pop0) i32.const $push2=, 20 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end154: .size retitZ, .Lfunc_end154-retitZ @@ -7184,17 +7178,16 @@ fn3Z: # @fn3Z .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push3=, 0 i32.const $push8=, 0 - i32.load $push1=, sZ+16($pop8) - i32.const $push2=, 20 - i32.shl $push3=, $0, $pop2 - i32.add $push7=, $pop1, $pop3 - tee_local $push6=, $0=, $pop7 - i32.store $drop=, sZ+16($pop0), $pop6 - i32.const $push5=, 20 - i32.shr_u $push4=, $0, $pop5 - return $pop4 + i32.load $push4=, sZ+16($pop8) + i32.const $push1=, 20 + i32.shl $push2=, $0, $pop1 + i32.add $push5=, $pop4, $pop2 + i32.store $push0=, sZ+16($pop3), $pop5 + i32.const $push7=, 20 + i32.shr_u $push6=, $pop0, $pop7 + # fallthrough-return: $pop6 .endfunc .Lfunc_end155: .size fn3Z, .Lfunc_end155-fn3Z @@ -7206,128 +7199,129 @@ fn3Z: # @fn3Z testZ: # @testZ .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.load $3=, myrnd.s($pop3) - i32.const $2=, -32 + i32.const $push5=, 0 + i32.load $4=, myrnd.s($pop5) + i32.const $3=, -32 .LBB156_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label21: - i32.const $push49=, 1103515245 - i32.mul $push4=, $3, $pop49 - i32.const $push48=, 12345 - i32.add $push47=, $pop4, $pop48 + i32.const $push53=, 1103515245 + i32.mul $push6=, $4, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop6, $pop52 + tee_local $push50=, $4=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push7=, $pop50, $pop49 + i32.store8 $drop=, sZ+32($3), $pop7 + i32.const $push48=, 1 + i32.add $push47=, $3, $pop48 tee_local $push46=, $3=, $pop47 - i32.const $push45=, 16 - i32.shr_u $push5=, $pop46, $pop45 - i32.store8 $drop=, sZ+32($2), $pop5 - i32.const $push44=, 1 - i32.add $2=, $2, $pop44 - br_if 0, $2 # 0: up to label21 + br_if 0, $pop46 # 0: up to label21 # BB#2: # %for.end end_loop # label22: - i32.const $push75=, 0 - i32.const $push74=, 1103515245 - i32.mul $push8=, $3, $pop74 - i32.const $push73=, 12345 - i32.add $push72=, $pop8, $pop73 - tee_local $push71=, $3=, $pop72 - i32.const $push70=, 16 - i32.shr_u $push9=, $pop71, $pop70 - i32.const $push69=, 2047 - i32.and $push68=, $pop9, $pop69 - tee_local $push67=, $4=, $pop68 - i32.const $push66=, 20 - i32.shl $push12=, $pop67, $pop66 - i32.const $push65=, 0 - i32.load $push1=, sZ+16($pop65) - i32.const $push13=, 1048575 - i32.and $push64=, $pop1, $pop13 - tee_local $push63=, $2=, $pop64 - i32.or $push14=, $pop12, $pop63 - i32.store $1=, sZ+16($pop75), $pop14 - i32.const $push62=, 0 - i64.const $push6=, 4612055454334320640 - i64.store $drop=, sZ+8($pop62), $pop6 - i32.const $push61=, 0 - i64.const $push7=, 0 - i64.store $drop=, sZ($pop61), $pop7 - i32.const $push60=, 0 - i32.const $push59=, 1103515245 - i32.mul $push10=, $3, $pop59 - i32.const $push58=, 12345 - i32.add $push57=, $pop10, $pop58 - tee_local $push56=, $3=, $pop57 - i32.store $0=, myrnd.s($pop60), $pop56 + i32.const $push79=, 0 + i64.const $push8=, 4612055454334320640 + i64.store $drop=, sZ+8($pop79), $pop8 + i32.const $push78=, 0 + i64.const $push9=, 0 + i64.store $drop=, sZ($pop78), $pop9 block - i32.const $push55=, 16 - i32.shr_u $push11=, $3, $pop55 - i32.const $push54=, 2047 - i32.and $push53=, $pop11, $pop54 - tee_local $push52=, $3=, $pop53 - i32.add $push18=, $pop52, $4 - i32.const $push51=, 20 - i32.shl $push15=, $3, $pop51 - i32.add $push16=, $1, $pop15 - i32.const $push50=, 20 - i32.shr_u $push17=, $pop16, $pop50 - i32.ne $push19=, $pop18, $pop17 - br_if 0, $pop19 # 0: down to label23 + i32.const $push77=, 0 + i32.const $push76=, 1103515245 + i32.mul $push10=, $4, $pop76 + i32.const $push75=, 12345 + i32.add $push74=, $pop10, $pop75 + tee_local $push73=, $3=, $pop74 + i32.const $push72=, 1103515245 + i32.mul $push11=, $pop73, $pop72 + i32.const $push71=, 12345 + i32.add $push3=, $pop11, $pop71 + i32.store $push70=, myrnd.s($pop77), $pop3 + tee_local $push69=, $0=, $pop70 + i32.const $push68=, 16 + i32.shr_u $push16=, $pop69, $pop68 + i32.const $push67=, 2047 + i32.and $push66=, $pop16, $pop67 + tee_local $push65=, $4=, $pop66 + i32.const $push64=, 16 + i32.shr_u $push13=, $3, $pop64 + i32.const $push63=, 2047 + i32.and $push62=, $pop13, $pop63 + tee_local $push61=, $3=, $pop62 + i32.add $push17=, $pop65, $pop61 + i32.const $push60=, 20 + i32.shl $push18=, $4, $pop60 + i32.const $push59=, 0 + i32.const $push58=, 20 + i32.shl $push14=, $3, $pop58 + i32.const $push57=, 0 + i32.load $push2=, sZ+16($pop57) + i32.const $push12=, 1048575 + i32.and $push56=, $pop2, $pop12 + tee_local $push55=, $3=, $pop56 + i32.or $push15=, $pop14, $pop55 + i32.store $push0=, sZ+16($pop59), $pop15 + i32.add $push19=, $pop18, $pop0 + i32.const $push54=, 20 + i32.shr_u $push20=, $pop19, $pop54 + i32.ne $push21=, $pop17, $pop20 + br_if 0, $pop21 # 0: down to label23 # BB#3: # %if.end80 - i32.const $push99=, 0 - i32.const $push98=, 0 - i32.const $push97=, 1103515245 - i32.mul $push20=, $0, $pop97 - i32.const $push96=, 12345 - i32.add $push95=, $pop20, $pop96 - tee_local $push94=, $3=, $pop95 - i32.const $push26=, -1029531031 - i32.mul $push27=, $pop94, $pop26 - i32.const $push28=, -740551042 - i32.add $push93=, $pop27, $pop28 - tee_local $push92=, $4=, $pop93 - i32.const $push91=, 1103515245 - i32.mul $push30=, $pop92, $pop91 - i32.const $push90=, 12345 - i32.add $push31=, $pop30, $pop90 - i32.store $push0=, myrnd.s($pop98), $pop31 - i32.const $push89=, 16 - i32.shr_u $push32=, $pop0, $pop89 - i32.const $push88=, 2047 - i32.and $push87=, $pop32, $pop88 - tee_local $push86=, $1=, $pop87 - i32.const $push85=, 20 - i32.shl $push35=, $pop86, $pop85 - i32.const $push84=, 16 - i32.shr_u $push29=, $4, $pop84 - i32.const $push83=, 2047 - i32.and $push82=, $pop29, $pop83 - tee_local $push81=, $4=, $pop82 - i32.const $push80=, 20 - i32.shl $push33=, $pop81, $pop80 - i32.or $push34=, $pop33, $2 - i32.add $push2=, $pop35, $pop34 - i32.store $push79=, sZ+16($pop99), $pop2 - tee_local $push78=, $0=, $pop79 - i32.const $push21=, 4 - i32.shl $push22=, $3, $pop21 - i32.const $push23=, 2146435072 - i32.and $push24=, $pop22, $pop23 - i32.or $push25=, $pop24, $2 - i32.xor $push77=, $pop78, $pop25 - tee_local $push76=, $2=, $pop77 - i32.const $push36=, 1040384 - i32.and $push37=, $pop76, $pop36 - br_if 0, $pop37 # 0: down to label23 + i32.const $push103=, 0 + i32.const $push102=, 0 + i32.const $push101=, 1103515245 + i32.mul $push22=, $0, $pop101 + i32.const $push100=, 12345 + i32.add $push99=, $pop22, $pop100 + tee_local $push98=, $4=, $pop99 + i32.const $push23=, -1029531031 + i32.mul $push24=, $pop98, $pop23 + i32.const $push25=, -740551042 + i32.add $push97=, $pop24, $pop25 + tee_local $push96=, $0=, $pop97 + i32.const $push95=, 1103515245 + i32.mul $push26=, $pop96, $pop95 + i32.const $push94=, 12345 + i32.add $push27=, $pop26, $pop94 + i32.store $push1=, myrnd.s($pop102), $pop27 + i32.const $push93=, 16 + i32.shr_u $push31=, $pop1, $pop93 + i32.const $push92=, 2047 + i32.and $push91=, $pop31, $pop92 + tee_local $push90=, $2=, $pop91 + i32.const $push89=, 20 + i32.shl $push32=, $pop90, $pop89 + i32.const $push88=, 16 + i32.shr_u $push28=, $0, $pop88 + i32.const $push87=, 2047 + i32.and $push86=, $pop28, $pop87 + tee_local $push85=, $0=, $pop86 + i32.const $push84=, 20 + i32.shl $push29=, $pop85, $pop84 + i32.or $push30=, $pop29, $3 + i32.add $push4=, $pop32, $pop30 + i32.store $push83=, sZ+16($pop103), $pop4 + tee_local $push82=, $1=, $pop83 + i32.const $push33=, 4 + i32.shl $push34=, $4, $pop33 + i32.const $push35=, 2146435072 + i32.and $push36=, $pop34, $pop35 + i32.or $push37=, $pop36, $3 + i32.xor $push81=, $pop82, $pop37 + tee_local $push80=, $3=, $pop81 + i32.const $push38=, 1040384 + i32.and $push39=, $pop80, $pop38 + br_if 0, $pop39 # 0: down to label23 # BB#4: # %lor.lhs.false98 - i32.add $push42=, $1, $4 - i32.const $push39=, 20 - i32.shr_u $push40=, $0, $pop39 - i32.ne $push43=, $pop42, $pop40 - br_if 0, $pop43 # 0: down to label23 + i32.add $push43=, $2, $0 + i32.const $push41=, 20 + i32.shr_u $push42=, $1, $pop41 + i32.ne $push44=, $pop43, $pop42 + br_if 0, $pop44 # 0: down to label23 # BB#5: # %lor.lhs.false98 - i32.const $push41=, 8191 - i32.and $push38=, $2, $pop41 - br_if 0, $pop38 # 0: down to label23 + i32.const $push45=, 8191 + i32.and $push40=, $3, $pop45 + br_if 0, $pop40 # 0: down to label23 # BB#6: # %if.end121 return .LBB156_7: # %if.then120 diff --git a/test/torture-s/20040709-2.c.s b/test/torture-s/20040709-2.c.s index 0c2eca292..4898df0e9 100644 --- a/test/torture-s/20040709-2.c.s +++ b/test/torture-s/20040709-2.c.s @@ -6,22 +6,20 @@ .type myrnd,@function myrnd: # @myrnd .result i32 - .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push1=, 0 i32.const $push11=, 0 - i32.load $push1=, myrnd.s($pop11) - i32.const $push2=, 1103515245 - i32.mul $push3=, $pop1, $pop2 - i32.const $push4=, 12345 - i32.add $push10=, $pop3, $pop4 - tee_local $push9=, $0=, $pop10 - i32.store $drop=, myrnd.s($pop0), $pop9 - i32.const $push5=, 16 - i32.shr_u $push6=, $0, $pop5 - i32.const $push7=, 2047 - i32.and $push8=, $pop6, $pop7 - return $pop8 + i32.load $push2=, myrnd.s($pop11) + i32.const $push3=, 1103515245 + i32.mul $push4=, $pop2, $pop3 + i32.const $push5=, 12345 + i32.add $push6=, $pop4, $pop5 + i32.store $push0=, myrnd.s($pop1), $pop6 + i32.const $push7=, 16 + i32.shr_u $push8=, $pop0, $pop7 + i32.const $push9=, 2047 + i32.and $push10=, $pop8, $pop9 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size myrnd, .Lfunc_end0-myrnd @@ -35,7 +33,7 @@ retmeA: # @retmeA # BB#0: # %entry i32.load16_u $push0=, 0($1):p2align=0 i32.store16 $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size retmeA, .Lfunc_end1-retmeA @@ -55,7 +53,7 @@ fn1A: # @fn1A i32.add $push4=, $pop3, $0 i32.const $push5=, 2047 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end2: .size fn1A, .Lfunc_end2-fn1A @@ -77,7 +75,7 @@ fn2A: # @fn2A i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end3: .size fn2A, .Lfunc_end3-fn2A @@ -93,7 +91,7 @@ retitA: # @retitA i32.load16_u $push1=, sA($pop0) i32.const $push2=, 5 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size retitA, .Lfunc_end4-retitA @@ -111,19 +109,19 @@ fn3A: # @fn3A i32.const $push14=, 0 i32.load16_u $push13=, sA($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop12, $pop1 - i32.add $push11=, $pop2, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop12, $pop3 + i32.add $push11=, $pop4, $0 tee_local $push10=, $0=, $pop11 i32.const $push9=, 5 - i32.shl $push3=, $pop10, $pop9 - i32.const $push4=, 31 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.shl $push5=, $pop10, $pop9 + i32.const $push1=, 31 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store16 $drop=, sA($pop0), $pop6 i32.const $push7=, 2047 i32.and $push8=, $0, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end5: .size fn3A, .Lfunc_end5-fn3A @@ -133,54 +131,54 @@ fn3A: # @fn3A .globl testA .type testA,@function testA: # @testA - .local i32, i32 + .local i32 # BB#0: # %if.end106 i32.const $push1=, 0 - i32.const $push40=, 0 - i32.load $push2=, myrnd.s($pop40) + i32.const $push41=, 0 + i32.load $push2=, myrnd.s($pop41) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push39=, $pop4, $pop5 - tee_local $push38=, $1=, $pop39 + i32.add $push40=, $pop4, $pop5 + tee_local $push39=, $0=, $pop40 i32.const $push6=, 16 - i32.shr_u $push7=, $pop38, $pop6 + i32.shr_u $push7=, $pop39, $pop6 i32.store8 $drop=, sA($pop1), $pop7 - i32.const $push37=, 0 - i32.const $push36=, 1103515245 - i32.mul $push8=, $1, $pop36 - i32.const $push35=, 12345 - i32.add $push34=, $pop8, $pop35 - tee_local $push33=, $1=, $pop34 - i32.const $push32=, 16 - i32.shr_u $push9=, $pop33, $pop32 - i32.store8 $drop=, sA+1($pop37), $pop9 + i32.const $push38=, 0 + i32.const $push37=, 1103515245 + i32.mul $push8=, $0, $pop37 + i32.const $push36=, 12345 + i32.add $push35=, $pop8, $pop36 + tee_local $push34=, $0=, $pop35 + i32.const $push33=, 16 + i32.shr_u $push9=, $pop34, $pop33 + i32.store8 $drop=, sA+1($pop38), $pop9 + i32.const $push32=, 0 i32.const $push31=, 0 - i32.load16_u $0=, sA($pop31) - i32.const $push30=, 0 - i32.const $push29=, 0 i32.const $push10=, -341751747 - i32.mul $push11=, $1, $pop10 + i32.mul $push11=, $0, $pop10 i32.const $push12=, 229283573 - i32.add $push28=, $pop11, $pop12 - tee_local $push27=, $1=, $pop28 - i32.const $push26=, 1103515245 - i32.mul $push14=, $pop27, $pop26 - i32.const $push25=, 12345 - i32.add $push15=, $pop14, $pop25 - i32.store $push0=, myrnd.s($pop29), $pop15 - i32.const $push24=, 16 - i32.shr_u $push16=, $pop0, $pop24 - i32.const $push23=, 16 - i32.shr_u $push13=, $1, $pop23 - i32.add $push19=, $pop16, $pop13 - i32.const $push20=, 5 - i32.shl $push21=, $pop19, $pop20 - i32.const $push17=, 31 - i32.and $push18=, $0, $pop17 - i32.or $push22=, $pop21, $pop18 - i32.store16 $drop=, sA($pop30), $pop22 - return + i32.add $push30=, $pop11, $pop12 + tee_local $push29=, $0=, $pop30 + i32.const $push28=, 1103515245 + i32.mul $push13=, $pop29, $pop28 + i32.const $push27=, 12345 + i32.add $push14=, $pop13, $pop27 + i32.store $push0=, myrnd.s($pop31), $pop14 + i32.const $push26=, 16 + i32.shr_u $push16=, $pop0, $pop26 + i32.const $push25=, 16 + i32.shr_u $push15=, $0, $pop25 + i32.add $push17=, $pop16, $pop15 + i32.const $push18=, 5 + i32.shl $push19=, $pop17, $pop18 + i32.const $push24=, 0 + i32.load16_u $push20=, sA($pop24) + i32.const $push21=, 31 + i32.and $push22=, $pop20, $pop21 + i32.or $push23=, $pop19, $pop22 + i32.store16 $drop=, sA($pop32), $pop23 + # fallthrough-return .endfunc .Lfunc_end6: .size testA, .Lfunc_end6-testA @@ -191,17 +189,16 @@ testA: # @testA .type retmeB,@function retmeB: # @retmeB .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 4 - i32.add $push3=, $1, $pop1 - i32.load16_u $2=, 0($pop3):p2align=0 i32.load $push0=, 0($1):p2align=0 i32.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 4 - i32.add $push2=, $0, $pop4 - i32.store16 $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 4 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 4 + i32.add $push3=, $1, $pop5 + i32.load16_u $push4=, 0($pop3):p2align=0 + i32.store16 $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end7: .size retmeB, .Lfunc_end7-retmeB @@ -221,7 +218,7 @@ fn1B: # @fn1B i32.add $push4=, $pop3, $0 i32.const $push5=, 2047 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end8: .size fn1B, .Lfunc_end8-fn1B @@ -243,7 +240,7 @@ fn2B: # @fn2B i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end9: .size fn2B, .Lfunc_end9-fn2B @@ -259,7 +256,7 @@ retitB: # @retitB i32.load16_u $push1=, sB($pop0) i32.const $push2=, 5 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end10: .size retitB, .Lfunc_end10-retitB @@ -277,19 +274,19 @@ fn3B: # @fn3B i32.const $push14=, 0 i32.load16_u $push13=, sB($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop12, $pop1 - i32.add $push11=, $pop2, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop12, $pop3 + i32.add $push11=, $pop4, $0 tee_local $push10=, $0=, $pop11 i32.const $push9=, 5 - i32.shl $push3=, $pop10, $pop9 - i32.const $push4=, 31 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.shl $push5=, $pop10, $pop9 + i32.const $push1=, 31 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store16 $drop=, sB($pop0), $pop6 i32.const $push7=, 2047 i32.and $push8=, $0, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end11: .size fn3B, .Lfunc_end11-fn3B @@ -308,81 +305,81 @@ testB: # @testB i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push71=, $pop4, $pop5 - tee_local $push70=, $1=, $pop71 + tee_local $push70=, $0=, $pop71 i32.const $push6=, 16 i32.shr_u $push7=, $pop70, $pop6 i32.store8 $drop=, sB($pop1), $pop7 i32.const $push69=, 0 i32.const $push68=, 1103515245 - i32.mul $push8=, $1, $pop68 + i32.mul $push8=, $0, $pop68 i32.const $push67=, 12345 i32.add $push66=, $pop8, $pop67 - tee_local $push65=, $1=, $pop66 + tee_local $push65=, $0=, $pop66 i32.const $push64=, 16 i32.shr_u $push9=, $pop65, $pop64 i32.store8 $drop=, sB+1($pop69), $pop9 i32.const $push63=, 0 i32.const $push62=, 1103515245 - i32.mul $push10=, $1, $pop62 + i32.mul $push10=, $0, $pop62 i32.const $push61=, 12345 i32.add $push60=, $pop10, $pop61 - tee_local $push59=, $1=, $pop60 + tee_local $push59=, $0=, $pop60 i32.const $push58=, 16 i32.shr_u $push11=, $pop59, $pop58 i32.store8 $drop=, sB+2($pop63), $pop11 i32.const $push57=, 0 i32.const $push56=, 1103515245 - i32.mul $push12=, $1, $pop56 + i32.mul $push12=, $0, $pop56 i32.const $push55=, 12345 i32.add $push54=, $pop12, $pop55 - tee_local $push53=, $1=, $pop54 + tee_local $push53=, $0=, $pop54 i32.const $push52=, 16 i32.shr_u $push13=, $pop53, $pop52 i32.store8 $drop=, sB+3($pop57), $pop13 i32.const $push51=, 0 i32.const $push50=, 1103515245 - i32.mul $push14=, $1, $pop50 + i32.mul $push14=, $0, $pop50 i32.const $push49=, 12345 i32.add $push48=, $pop14, $pop49 - tee_local $push47=, $1=, $pop48 + tee_local $push47=, $0=, $pop48 i32.const $push46=, 16 i32.shr_u $push15=, $pop47, $pop46 i32.store8 $drop=, sB+4($pop51), $pop15 i32.const $push45=, 0 i32.const $push44=, 1103515245 - i32.mul $push16=, $1, $pop44 + i32.mul $push16=, $0, $pop44 i32.const $push43=, 12345 i32.add $push42=, $pop16, $pop43 - tee_local $push41=, $1=, $pop42 + tee_local $push41=, $0=, $pop42 i32.const $push40=, 16 i32.shr_u $push17=, $pop41, $pop40 i32.store8 $drop=, sB+5($pop45), $pop17 i32.const $push39=, 0 - i32.load16_u $0=, sB($pop39) + i32.load16_u $1=, sB($pop39) i32.const $push38=, 0 i32.const $push37=, 0 i32.const $push18=, -341751747 - i32.mul $push19=, $1, $pop18 + i32.mul $push19=, $0, $pop18 i32.const $push20=, 229283573 i32.add $push36=, $pop19, $pop20 - tee_local $push35=, $1=, $pop36 + tee_local $push35=, $0=, $pop36 i32.const $push34=, 1103515245 - i32.mul $push22=, $pop35, $pop34 + i32.mul $push21=, $pop35, $pop34 i32.const $push33=, 12345 - i32.add $push23=, $pop22, $pop33 - i32.store $push0=, myrnd.s($pop37), $pop23 + i32.add $push22=, $pop21, $pop33 + i32.store $push0=, myrnd.s($pop37), $pop22 i32.const $push32=, 16 i32.shr_u $push24=, $pop0, $pop32 i32.const $push31=, 16 - i32.shr_u $push21=, $1, $pop31 - i32.add $push27=, $pop24, $pop21 - i32.const $push28=, 5 - i32.shl $push29=, $pop27, $pop28 - i32.const $push25=, 31 - i32.and $push26=, $0, $pop25 - i32.or $push30=, $pop29, $pop26 + i32.shr_u $push23=, $0, $pop31 + i32.add $push25=, $pop24, $pop23 + i32.const $push26=, 5 + i32.shl $push27=, $pop25, $pop26 + i32.const $push28=, 31 + i32.and $push29=, $1, $pop28 + i32.or $push30=, $pop27, $pop29 i32.store16 $drop=, sB($pop38), $pop30 - return + # fallthrough-return .endfunc .Lfunc_end12: .size testB, .Lfunc_end12-testB @@ -393,17 +390,16 @@ testB: # @testB .type retmeC,@function retmeC: # @retmeC .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 4 - i32.add $push3=, $1, $pop1 - i32.load16_u $2=, 0($pop3):p2align=0 i32.load $push0=, 0($1):p2align=0 i32.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 4 - i32.add $push2=, $0, $pop4 - i32.store16 $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 4 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 4 + i32.add $push3=, $1, $pop5 + i32.load16_u $push4=, 0($pop3):p2align=0 + i32.store16 $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end13: .size retmeC, .Lfunc_end13-retmeC @@ -423,7 +419,7 @@ fn1C: # @fn1C i32.add $push4=, $pop3, $0 i32.const $push5=, 2047 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end14: .size fn1C, .Lfunc_end14-fn1C @@ -445,7 +441,7 @@ fn2C: # @fn2C i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end15: .size fn2C, .Lfunc_end15-fn2C @@ -461,7 +457,7 @@ retitC: # @retitC i32.load16_u $push1=, sC+4($pop0) i32.const $push2=, 5 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end16: .size retitC, .Lfunc_end16-retitC @@ -479,19 +475,19 @@ fn3C: # @fn3C i32.const $push14=, 0 i32.load16_u $push13=, sC+4($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 5 - i32.shr_u $push2=, $pop12, $pop1 - i32.add $push11=, $pop2, $0 + i32.const $push3=, 5 + i32.shr_u $push4=, $pop12, $pop3 + i32.add $push11=, $pop4, $0 tee_local $push10=, $0=, $pop11 i32.const $push9=, 5 - i32.shl $push3=, $pop10, $pop9 - i32.const $push4=, 31 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.shl $push5=, $pop10, $pop9 + i32.const $push1=, 31 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store16 $drop=, sC+4($pop0), $pop6 i32.const $push7=, 2047 i32.and $push8=, $0, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end17: .size fn3C, .Lfunc_end17-fn3C @@ -501,7 +497,7 @@ fn3C: # @fn3C .globl testC .type testC,@function testC: # @testC - .local i32, i32 + .local i32, i32, i32, i32, i32 # BB#0: # %if.end142 i32.const $push1=, 0 i32.const $push72=, 0 @@ -510,81 +506,81 @@ testC: # @testC i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push71=, $pop4, $pop5 - tee_local $push70=, $1=, $pop71 - i32.const $push6=, 16 - i32.shr_u $push7=, $pop70, $pop6 - i32.store8 $drop=, sC($pop1), $pop7 - i32.const $push69=, 0 - i32.const $push68=, 1103515245 - i32.mul $push8=, $1, $pop68 - i32.const $push67=, 12345 - i32.add $push66=, $pop8, $pop67 - tee_local $push65=, $1=, $pop66 - i32.const $push64=, 16 - i32.shr_u $push9=, $pop65, $pop64 - i32.store8 $drop=, sC+1($pop69), $pop9 - i32.const $push63=, 0 - i32.const $push62=, 1103515245 - i32.mul $push10=, $1, $pop62 - i32.const $push61=, 12345 - i32.add $push60=, $pop10, $pop61 - tee_local $push59=, $1=, $pop60 - i32.const $push58=, 16 - i32.shr_u $push11=, $pop59, $pop58 - i32.store8 $drop=, sC+2($pop63), $pop11 - i32.const $push57=, 0 - i32.const $push56=, 1103515245 - i32.mul $push12=, $1, $pop56 - i32.const $push55=, 12345 - i32.add $push54=, $pop12, $pop55 - tee_local $push53=, $1=, $pop54 - i32.const $push52=, 16 - i32.shr_u $push13=, $pop53, $pop52 - i32.store8 $drop=, sC+3($pop57), $pop13 - i32.const $push51=, 0 - i32.const $push50=, 1103515245 - i32.mul $push14=, $1, $pop50 - i32.const $push49=, 12345 - i32.add $push48=, $pop14, $pop49 - tee_local $push47=, $1=, $pop48 + tee_local $push70=, $0=, $pop71 + i32.const $push69=, 1103515245 + i32.mul $push6=, $pop70, $pop69 + i32.const $push68=, 12345 + i32.add $push67=, $pop6, $pop68 + tee_local $push66=, $1=, $pop67 + i32.const $push65=, 1103515245 + i32.mul $push7=, $pop66, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop7, $pop64 + tee_local $push62=, $2=, $pop63 + i32.const $push61=, 1103515245 + i32.mul $push8=, $pop62, $pop61 + i32.const $push60=, 12345 + i32.add $push59=, $pop8, $pop60 + tee_local $push58=, $3=, $pop59 + i32.const $push57=, 1103515245 + i32.mul $push9=, $pop58, $pop57 + i32.const $push56=, 12345 + i32.add $push55=, $pop9, $pop56 + tee_local $push54=, $4=, $pop55 + i32.const $push10=, 16 + i32.shr_u $push11=, $pop54, $pop10 + i32.store8 $drop=, sC+4($pop1), $pop11 + i32.const $push53=, 0 + i32.const $push52=, 1103515245 + i32.mul $push12=, $4, $pop52 + i32.const $push51=, 12345 + i32.add $push50=, $pop12, $pop51 + tee_local $push49=, $4=, $pop50 + i32.const $push48=, 16 + i32.shr_u $push13=, $pop49, $pop48 + i32.store8 $drop=, sC+5($pop53), $pop13 + i32.const $push47=, 0 i32.const $push46=, 16 - i32.shr_u $push15=, $pop47, $pop46 - i32.store8 $drop=, sC+4($pop51), $pop15 + i32.shr_u $push14=, $0, $pop46 + i32.store8 $drop=, sC($pop47), $pop14 i32.const $push45=, 0 - i32.const $push44=, 1103515245 - i32.mul $push16=, $1, $pop44 - i32.const $push43=, 12345 - i32.add $push42=, $pop16, $pop43 - tee_local $push41=, $1=, $pop42 + i32.const $push44=, 16 + i32.shr_u $push15=, $1, $pop44 + i32.store8 $drop=, sC+1($pop45), $pop15 + i32.const $push43=, 0 + i32.const $push42=, 16 + i32.shr_u $push16=, $2, $pop42 + i32.store8 $drop=, sC+2($pop43), $pop16 + i32.const $push41=, 0 i32.const $push40=, 16 - i32.shr_u $push17=, $pop41, $pop40 - i32.store8 $drop=, sC+5($pop45), $pop17 + i32.shr_u $push17=, $3, $pop40 + i32.store8 $drop=, sC+3($pop41), $pop17 i32.const $push39=, 0 i32.load16_u $0=, sC+4($pop39) i32.const $push38=, 0 i32.const $push37=, 0 i32.const $push18=, -341751747 - i32.mul $push19=, $1, $pop18 + i32.mul $push19=, $4, $pop18 i32.const $push20=, 229283573 i32.add $push36=, $pop19, $pop20 tee_local $push35=, $1=, $pop36 i32.const $push34=, 1103515245 - i32.mul $push22=, $pop35, $pop34 + i32.mul $push21=, $pop35, $pop34 i32.const $push33=, 12345 - i32.add $push23=, $pop22, $pop33 - i32.store $push0=, myrnd.s($pop37), $pop23 + i32.add $push22=, $pop21, $pop33 + i32.store $push0=, myrnd.s($pop37), $pop22 i32.const $push32=, 16 i32.shr_u $push24=, $pop0, $pop32 i32.const $push31=, 16 - i32.shr_u $push21=, $1, $pop31 - i32.add $push27=, $pop24, $pop21 - i32.const $push28=, 5 - i32.shl $push29=, $pop27, $pop28 - i32.const $push25=, 31 - i32.and $push26=, $0, $pop25 - i32.or $push30=, $pop29, $pop26 + i32.shr_u $push23=, $1, $pop31 + i32.add $push25=, $pop24, $pop23 + i32.const $push26=, 5 + i32.shl $push27=, $pop25, $pop26 + i32.const $push28=, 31 + i32.and $push29=, $0, $pop28 + i32.or $push30=, $pop27, $pop29 i32.store16 $drop=, sC+4($pop38), $pop30 - return + # fallthrough-return .endfunc .Lfunc_end18: .size testC, .Lfunc_end18-testC @@ -598,7 +594,7 @@ retmeD: # @retmeD # BB#0: # %entry i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end19: .size retmeD, .Lfunc_end19-retmeD @@ -619,7 +615,7 @@ fn1D: # @fn1D i32.add $push5=, $pop4, $0 i32.const $push6=, 536870911 i32.and $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end20: .size fn1D, .Lfunc_end20-fn1D @@ -642,7 +638,7 @@ fn2D: # @fn2D i32.and $push7=, $pop5, $pop6 i32.const $push8=, 15 i32.rem_u $push9=, $pop7, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end21: .size fn2D, .Lfunc_end21-fn2D @@ -659,7 +655,7 @@ retitD: # @retitD i64.const $push2=, 35 i64.shr_u $push3=, $pop1, $pop2 i32.wrap/i64 $push4=, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end22: .size retitD, .Lfunc_end22-retitD @@ -677,21 +673,21 @@ fn3D: # @fn3D i32.const $push16=, 0 i64.load $push15=, sD($pop16) tee_local $push14=, $1=, $pop15 - i64.const $push1=, 35 - i64.shr_u $push2=, $pop14, $pop1 - i32.wrap/i64 $push3=, $pop2 - i32.add $push13=, $pop3, $0 + i64.const $push3=, 35 + i64.shr_u $push4=, $pop14, $pop3 + i32.wrap/i64 $push5=, $pop4 + i32.add $push13=, $pop5, $0 tee_local $push12=, $0=, $pop13 - i64.extend_u/i32 $push4=, $pop12 + i64.extend_u/i32 $push6=, $pop12 i64.const $push11=, 35 - i64.shl $push5=, $pop4, $pop11 - i64.const $push6=, 34359738367 - i64.and $push7=, $1, $pop6 - i64.or $push8=, $pop5, $pop7 + i64.shl $push7=, $pop6, $pop11 + i64.const $push1=, 34359738367 + i64.and $push2=, $1, $pop1 + i64.or $push8=, $pop7, $pop2 i64.store $drop=, sD($pop0), $pop8 i32.const $push9=, 536870911 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end23: .size fn3D, .Lfunc_end23-fn3D @@ -701,113 +697,113 @@ fn3D: # @fn3D .globl testD .type testD,@function testD: # @testD - .local i32 + .local i32, i64 # BB#0: # %if.end158 i32.const $push1=, 0 - i32.const $push94=, 0 - i32.load $push2=, myrnd.s($pop94) + i32.const $push93=, 0 + i32.load $push2=, myrnd.s($pop93) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push93=, $pop4, $pop5 - tee_local $push92=, $0=, $pop93 + i32.add $push92=, $pop4, $pop5 + tee_local $push91=, $0=, $pop92 i32.const $push6=, 16 - i32.shr_u $push7=, $pop92, $pop6 + i32.shr_u $push7=, $pop91, $pop6 i32.store8 $drop=, sD($pop1), $pop7 - i32.const $push91=, 0 - i32.const $push90=, 1103515245 - i32.mul $push8=, $0, $pop90 - i32.const $push89=, 12345 - i32.add $push88=, $pop8, $pop89 - tee_local $push87=, $0=, $pop88 - i32.const $push86=, 16 - i32.shr_u $push9=, $pop87, $pop86 - i32.store8 $drop=, sD+1($pop91), $pop9 - i32.const $push85=, 0 - i32.const $push84=, 1103515245 - i32.mul $push10=, $0, $pop84 - i32.const $push83=, 12345 - i32.add $push82=, $pop10, $pop83 - tee_local $push81=, $0=, $pop82 - i32.const $push80=, 16 - i32.shr_u $push11=, $pop81, $pop80 - i32.store8 $drop=, sD+2($pop85), $pop11 - i32.const $push79=, 0 - i32.const $push78=, 1103515245 - i32.mul $push12=, $0, $pop78 - i32.const $push77=, 12345 - i32.add $push76=, $pop12, $pop77 - tee_local $push75=, $0=, $pop76 - i32.const $push74=, 16 - i32.shr_u $push13=, $pop75, $pop74 - i32.store8 $drop=, sD+3($pop79), $pop13 - i32.const $push73=, 0 - i32.const $push72=, 1103515245 - i32.mul $push14=, $0, $pop72 - i32.const $push71=, 12345 - i32.add $push70=, $pop14, $pop71 - tee_local $push69=, $0=, $pop70 - i32.const $push68=, 16 - i32.shr_u $push15=, $pop69, $pop68 - i32.store8 $drop=, sD+4($pop73), $pop15 - i32.const $push67=, 0 - i32.const $push66=, 1103515245 - i32.mul $push16=, $0, $pop66 - i32.const $push65=, 12345 - i32.add $push64=, $pop16, $pop65 - tee_local $push63=, $0=, $pop64 - i32.const $push62=, 16 - i32.shr_u $push17=, $pop63, $pop62 - i32.store8 $drop=, sD+5($pop67), $pop17 - i32.const $push61=, 0 - i32.const $push60=, 1103515245 - i32.mul $push18=, $0, $pop60 - i32.const $push59=, 12345 - i32.add $push58=, $pop18, $pop59 - tee_local $push57=, $0=, $pop58 - i32.const $push56=, 16 - i32.shr_u $push19=, $pop57, $pop56 - i32.store8 $drop=, sD+6($pop61), $pop19 - i32.const $push55=, 0 - i32.const $push54=, 1103515245 - i32.mul $push20=, $0, $pop54 - i32.const $push53=, 12345 - i32.add $push52=, $pop20, $pop53 - tee_local $push51=, $0=, $pop52 - i32.const $push50=, 16 - i32.shr_u $push21=, $pop51, $pop50 - i32.store8 $drop=, sD+7($pop55), $pop21 - i32.const $push49=, 0 + i32.const $push90=, 0 + i32.const $push89=, 1103515245 + i32.mul $push8=, $0, $pop89 + i32.const $push88=, 12345 + i32.add $push87=, $pop8, $pop88 + tee_local $push86=, $0=, $pop87 + i32.const $push85=, 16 + i32.shr_u $push9=, $pop86, $pop85 + i32.store8 $drop=, sD+1($pop90), $pop9 + i32.const $push84=, 0 + i32.const $push83=, 1103515245 + i32.mul $push10=, $0, $pop83 + i32.const $push82=, 12345 + i32.add $push81=, $pop10, $pop82 + tee_local $push80=, $0=, $pop81 + i32.const $push79=, 16 + i32.shr_u $push11=, $pop80, $pop79 + i32.store8 $drop=, sD+2($pop84), $pop11 + i32.const $push78=, 0 + i32.const $push77=, 1103515245 + i32.mul $push12=, $0, $pop77 + i32.const $push76=, 12345 + i32.add $push75=, $pop12, $pop76 + tee_local $push74=, $0=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push13=, $pop74, $pop73 + i32.store8 $drop=, sD+3($pop78), $pop13 + i32.const $push72=, 0 + i32.const $push71=, 1103515245 + i32.mul $push14=, $0, $pop71 + i32.const $push70=, 12345 + i32.add $push69=, $pop14, $pop70 + tee_local $push68=, $0=, $pop69 + i32.const $push67=, 16 + i32.shr_u $push15=, $pop68, $pop67 + i32.store8 $drop=, sD+4($pop72), $pop15 + i32.const $push66=, 0 + i32.const $push65=, 1103515245 + i32.mul $push16=, $0, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop16, $pop64 + tee_local $push62=, $0=, $pop63 + i32.const $push61=, 16 + i32.shr_u $push17=, $pop62, $pop61 + i32.store8 $drop=, sD+5($pop66), $pop17 + i32.const $push60=, 0 + i32.const $push59=, 1103515245 + i32.mul $push18=, $0, $pop59 + i32.const $push58=, 12345 + i32.add $push57=, $pop18, $pop58 + tee_local $push56=, $0=, $pop57 + i32.const $push55=, 16 + i32.shr_u $push19=, $pop56, $pop55 + i32.store8 $drop=, sD+6($pop60), $pop19 + i32.const $push54=, 0 + i32.const $push53=, 1103515245 + i32.mul $push20=, $0, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop20, $pop52 + tee_local $push50=, $0=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push21=, $pop50, $pop49 + i32.store8 $drop=, sD+7($pop54), $pop21 i32.const $push48=, 0 - i32.const $push23=, -341751747 - i32.mul $push24=, $0, $pop23 - i32.const $push25=, 229283573 - i32.add $push47=, $pop24, $pop25 - tee_local $push46=, $0=, $pop47 - i32.const $push45=, 1103515245 - i32.mul $push29=, $pop46, $pop45 - i32.const $push44=, 12345 - i32.add $push30=, $pop29, $pop44 - i32.store $push0=, myrnd.s($pop48), $pop30 - i32.const $push43=, 16 - i32.shr_u $push31=, $pop0, $pop43 - i32.const $push27=, 2047 - i32.and $push32=, $pop31, $pop27 - i32.const $push42=, 16 - i32.shr_u $push26=, $0, $pop42 - i32.const $push41=, 2047 - i32.and $push28=, $pop26, $pop41 - i32.add $push35=, $pop32, $pop28 - i64.extend_u/i32 $push36=, $pop35 - i64.const $push37=, 35 - i64.shl $push38=, $pop36, $pop37 - i32.const $push40=, 0 - i64.load $push22=, sD($pop40) - i64.const $push33=, 34359738367 - i64.and $push34=, $pop22, $pop33 - i64.or $push39=, $pop38, $pop34 - i64.store $drop=, sD($pop49), $pop39 - return + i64.load $1=, sD($pop48) + i32.const $push47=, 0 + i32.const $push46=, 0 + i32.const $push22=, -341751747 + i32.mul $push23=, $0, $pop22 + i32.const $push24=, 229283573 + i32.add $push45=, $pop23, $pop24 + tee_local $push44=, $0=, $pop45 + i32.const $push43=, 1103515245 + i32.mul $push25=, $pop44, $pop43 + i32.const $push42=, 12345 + i32.add $push26=, $pop25, $pop42 + i32.store $push0=, myrnd.s($pop46), $pop26 + i32.const $push41=, 16 + i32.shr_u $push30=, $pop0, $pop41 + i32.const $push28=, 2047 + i32.and $push31=, $pop30, $pop28 + i32.const $push40=, 16 + i32.shr_u $push27=, $0, $pop40 + i32.const $push39=, 2047 + i32.and $push29=, $pop27, $pop39 + i32.add $push32=, $pop31, $pop29 + i64.extend_u/i32 $push33=, $pop32 + i64.const $push34=, 35 + i64.shl $push35=, $pop33, $pop34 + i64.const $push36=, 34359738367 + i64.and $push37=, $1, $pop36 + i64.or $push38=, $pop35, $pop37 + i64.store $drop=, sD($pop47), $pop38 + # fallthrough-return .endfunc .Lfunc_end24: .size testD, .Lfunc_end24-testD @@ -818,17 +814,16 @@ testD: # @testD .type retmeE,@function retmeE: # @retmeE .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3):p2align=0 + i64.store $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end25: .size retmeE, .Lfunc_end25-retmeE @@ -849,7 +844,7 @@ fn1E: # @fn1E i32.add $push5=, $pop4, $0 i32.const $push6=, 536870911 i32.and $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end26: .size fn1E, .Lfunc_end26-fn1E @@ -872,7 +867,7 @@ fn2E: # @fn2E i32.and $push7=, $pop5, $pop6 i32.const $push8=, 15 i32.rem_u $push9=, $pop7, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end27: .size fn2E, .Lfunc_end27-fn2E @@ -889,7 +884,7 @@ retitE: # @retitE i64.const $push2=, 35 i64.shr_u $push3=, $pop1, $pop2 i32.wrap/i64 $push4=, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end28: .size retitE, .Lfunc_end28-retitE @@ -907,21 +902,21 @@ fn3E: # @fn3E i32.const $push16=, 0 i64.load $push15=, sE+8($pop16) tee_local $push14=, $1=, $pop15 - i64.const $push1=, 35 - i64.shr_u $push2=, $pop14, $pop1 - i32.wrap/i64 $push3=, $pop2 - i32.add $push13=, $pop3, $0 + i64.const $push3=, 35 + i64.shr_u $push4=, $pop14, $pop3 + i32.wrap/i64 $push5=, $pop4 + i32.add $push13=, $pop5, $0 tee_local $push12=, $0=, $pop13 - i64.extend_u/i32 $push4=, $pop12 + i64.extend_u/i32 $push6=, $pop12 i64.const $push11=, 35 - i64.shl $push5=, $pop4, $pop11 - i64.const $push6=, 34359738367 - i64.and $push7=, $1, $pop6 - i64.or $push8=, $pop5, $pop7 + i64.shl $push7=, $pop6, $pop11 + i64.const $push1=, 34359738367 + i64.and $push2=, $1, $pop1 + i64.or $push8=, $pop7, $pop2 i64.store $drop=, sE+8($pop0), $pop8 i32.const $push9=, 536870911 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end29: .size fn3E, .Lfunc_end29-fn3E @@ -931,185 +926,185 @@ fn3E: # @fn3E .globl testE .type testE,@function testE: # @testE - .local i32 + .local i32, i64 # BB#0: # %if.end142 i32.const $push1=, 0 - i32.const $push158=, 0 - i32.load $push2=, myrnd.s($pop158) + i32.const $push157=, 0 + i32.load $push2=, myrnd.s($pop157) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push157=, $pop4, $pop5 - tee_local $push156=, $0=, $pop157 + i32.add $push156=, $pop4, $pop5 + tee_local $push155=, $0=, $pop156 i32.const $push6=, 16 - i32.shr_u $push7=, $pop156, $pop6 + i32.shr_u $push7=, $pop155, $pop6 i32.store8 $drop=, sE($pop1), $pop7 - i32.const $push155=, 0 - i32.const $push154=, 1103515245 - i32.mul $push8=, $0, $pop154 - i32.const $push153=, 12345 - i32.add $push152=, $pop8, $pop153 - tee_local $push151=, $0=, $pop152 - i32.const $push150=, 16 - i32.shr_u $push9=, $pop151, $pop150 - i32.store8 $drop=, sE+1($pop155), $pop9 - i32.const $push149=, 0 - i32.const $push148=, 1103515245 - i32.mul $push10=, $0, $pop148 - i32.const $push147=, 12345 - i32.add $push146=, $pop10, $pop147 - tee_local $push145=, $0=, $pop146 - i32.const $push144=, 16 - i32.shr_u $push11=, $pop145, $pop144 - i32.store8 $drop=, sE+2($pop149), $pop11 - i32.const $push143=, 0 - i32.const $push142=, 1103515245 - i32.mul $push12=, $0, $pop142 - i32.const $push141=, 12345 - i32.add $push140=, $pop12, $pop141 - tee_local $push139=, $0=, $pop140 - i32.const $push138=, 16 - i32.shr_u $push13=, $pop139, $pop138 - i32.store8 $drop=, sE+3($pop143), $pop13 - i32.const $push137=, 0 - i32.const $push136=, 1103515245 - i32.mul $push14=, $0, $pop136 - i32.const $push135=, 12345 - i32.add $push134=, $pop14, $pop135 - tee_local $push133=, $0=, $pop134 - i32.const $push132=, 16 - i32.shr_u $push15=, $pop133, $pop132 - i32.store8 $drop=, sE+4($pop137), $pop15 - i32.const $push131=, 0 - i32.const $push130=, 1103515245 - i32.mul $push16=, $0, $pop130 - i32.const $push129=, 12345 - i32.add $push128=, $pop16, $pop129 - tee_local $push127=, $0=, $pop128 - i32.const $push126=, 16 - i32.shr_u $push17=, $pop127, $pop126 - i32.store8 $drop=, sE+5($pop131), $pop17 - i32.const $push125=, 0 - i32.const $push124=, 1103515245 - i32.mul $push18=, $0, $pop124 - i32.const $push123=, 12345 - i32.add $push122=, $pop18, $pop123 - tee_local $push121=, $0=, $pop122 - i32.const $push120=, 16 - i32.shr_u $push19=, $pop121, $pop120 - i32.store8 $drop=, sE+6($pop125), $pop19 - i32.const $push119=, 0 - i32.const $push118=, 1103515245 - i32.mul $push20=, $0, $pop118 - i32.const $push117=, 12345 - i32.add $push116=, $pop20, $pop117 - tee_local $push115=, $0=, $pop116 - i32.const $push114=, 16 - i32.shr_u $push21=, $pop115, $pop114 - i32.store8 $drop=, sE+7($pop119), $pop21 - i32.const $push113=, 0 - i32.const $push112=, 1103515245 - i32.mul $push22=, $0, $pop112 - i32.const $push111=, 12345 - i32.add $push110=, $pop22, $pop111 - tee_local $push109=, $0=, $pop110 - i32.const $push108=, 16 - i32.shr_u $push23=, $pop109, $pop108 - i32.store8 $drop=, sE+8($pop113), $pop23 - i32.const $push107=, 0 - i32.const $push106=, 1103515245 - i32.mul $push24=, $0, $pop106 - i32.const $push105=, 12345 - i32.add $push104=, $pop24, $pop105 - tee_local $push103=, $0=, $pop104 - i32.const $push102=, 16 - i32.shr_u $push25=, $pop103, $pop102 - i32.store8 $drop=, sE+9($pop107), $pop25 - i32.const $push101=, 0 - i32.const $push100=, 1103515245 - i32.mul $push26=, $0, $pop100 - i32.const $push99=, 12345 - i32.add $push98=, $pop26, $pop99 - tee_local $push97=, $0=, $pop98 - i32.const $push96=, 16 - i32.shr_u $push27=, $pop97, $pop96 - i32.store8 $drop=, sE+10($pop101), $pop27 - i32.const $push95=, 0 - i32.const $push94=, 1103515245 - i32.mul $push28=, $0, $pop94 - i32.const $push93=, 12345 - i32.add $push92=, $pop28, $pop93 - tee_local $push91=, $0=, $pop92 - i32.const $push90=, 16 - i32.shr_u $push29=, $pop91, $pop90 - i32.store8 $drop=, sE+11($pop95), $pop29 - i32.const $push89=, 0 - i32.const $push88=, 1103515245 - i32.mul $push30=, $0, $pop88 - i32.const $push87=, 12345 - i32.add $push86=, $pop30, $pop87 - tee_local $push85=, $0=, $pop86 - i32.const $push84=, 16 - i32.shr_u $push31=, $pop85, $pop84 - i32.store8 $drop=, sE+12($pop89), $pop31 - i32.const $push83=, 0 - i32.const $push82=, 1103515245 - i32.mul $push32=, $0, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop32, $pop81 - tee_local $push79=, $0=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push33=, $pop79, $pop78 - i32.store8 $drop=, sE+13($pop83), $pop33 - i32.const $push77=, 0 - i32.const $push76=, 1103515245 - i32.mul $push34=, $0, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop34, $pop75 - tee_local $push73=, $0=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push35=, $pop73, $pop72 - i32.store8 $drop=, sE+14($pop77), $pop35 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push36=, $0, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop36, $pop69 - tee_local $push67=, $0=, $pop68 - i32.const $push66=, 16 - i32.shr_u $push37=, $pop67, $pop66 - i32.store8 $drop=, sE+15($pop71), $pop37 - i32.const $push65=, 0 + i32.const $push154=, 0 + i32.const $push153=, 1103515245 + i32.mul $push8=, $0, $pop153 + i32.const $push152=, 12345 + i32.add $push151=, $pop8, $pop152 + tee_local $push150=, $0=, $pop151 + i32.const $push149=, 16 + i32.shr_u $push9=, $pop150, $pop149 + i32.store8 $drop=, sE+1($pop154), $pop9 + i32.const $push148=, 0 + i32.const $push147=, 1103515245 + i32.mul $push10=, $0, $pop147 + i32.const $push146=, 12345 + i32.add $push145=, $pop10, $pop146 + tee_local $push144=, $0=, $pop145 + i32.const $push143=, 16 + i32.shr_u $push11=, $pop144, $pop143 + i32.store8 $drop=, sE+2($pop148), $pop11 + i32.const $push142=, 0 + i32.const $push141=, 1103515245 + i32.mul $push12=, $0, $pop141 + i32.const $push140=, 12345 + i32.add $push139=, $pop12, $pop140 + tee_local $push138=, $0=, $pop139 + i32.const $push137=, 16 + i32.shr_u $push13=, $pop138, $pop137 + i32.store8 $drop=, sE+3($pop142), $pop13 + i32.const $push136=, 0 + i32.const $push135=, 1103515245 + i32.mul $push14=, $0, $pop135 + i32.const $push134=, 12345 + i32.add $push133=, $pop14, $pop134 + tee_local $push132=, $0=, $pop133 + i32.const $push131=, 16 + i32.shr_u $push15=, $pop132, $pop131 + i32.store8 $drop=, sE+4($pop136), $pop15 + i32.const $push130=, 0 + i32.const $push129=, 1103515245 + i32.mul $push16=, $0, $pop129 + i32.const $push128=, 12345 + i32.add $push127=, $pop16, $pop128 + tee_local $push126=, $0=, $pop127 + i32.const $push125=, 16 + i32.shr_u $push17=, $pop126, $pop125 + i32.store8 $drop=, sE+5($pop130), $pop17 + i32.const $push124=, 0 + i32.const $push123=, 1103515245 + i32.mul $push18=, $0, $pop123 + i32.const $push122=, 12345 + i32.add $push121=, $pop18, $pop122 + tee_local $push120=, $0=, $pop121 + i32.const $push119=, 16 + i32.shr_u $push19=, $pop120, $pop119 + i32.store8 $drop=, sE+6($pop124), $pop19 + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push20=, $0, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop20, $pop116 + tee_local $push114=, $0=, $pop115 + i32.const $push113=, 16 + i32.shr_u $push21=, $pop114, $pop113 + i32.store8 $drop=, sE+7($pop118), $pop21 + i32.const $push112=, 0 + i32.const $push111=, 1103515245 + i32.mul $push22=, $0, $pop111 + i32.const $push110=, 12345 + i32.add $push109=, $pop22, $pop110 + tee_local $push108=, $0=, $pop109 + i32.const $push107=, 16 + i32.shr_u $push23=, $pop108, $pop107 + i32.store8 $drop=, sE+8($pop112), $pop23 + i32.const $push106=, 0 + i32.const $push105=, 1103515245 + i32.mul $push24=, $0, $pop105 + i32.const $push104=, 12345 + i32.add $push103=, $pop24, $pop104 + tee_local $push102=, $0=, $pop103 + i32.const $push101=, 16 + i32.shr_u $push25=, $pop102, $pop101 + i32.store8 $drop=, sE+9($pop106), $pop25 + i32.const $push100=, 0 + i32.const $push99=, 1103515245 + i32.mul $push26=, $0, $pop99 + i32.const $push98=, 12345 + i32.add $push97=, $pop26, $pop98 + tee_local $push96=, $0=, $pop97 + i32.const $push95=, 16 + i32.shr_u $push27=, $pop96, $pop95 + i32.store8 $drop=, sE+10($pop100), $pop27 + i32.const $push94=, 0 + i32.const $push93=, 1103515245 + i32.mul $push28=, $0, $pop93 + i32.const $push92=, 12345 + i32.add $push91=, $pop28, $pop92 + tee_local $push90=, $0=, $pop91 + i32.const $push89=, 16 + i32.shr_u $push29=, $pop90, $pop89 + i32.store8 $drop=, sE+11($pop94), $pop29 + i32.const $push88=, 0 + i32.const $push87=, 1103515245 + i32.mul $push30=, $0, $pop87 + i32.const $push86=, 12345 + i32.add $push85=, $pop30, $pop86 + tee_local $push84=, $0=, $pop85 + i32.const $push83=, 16 + i32.shr_u $push31=, $pop84, $pop83 + i32.store8 $drop=, sE+12($pop88), $pop31 + i32.const $push82=, 0 + i32.const $push81=, 1103515245 + i32.mul $push32=, $0, $pop81 + i32.const $push80=, 12345 + i32.add $push79=, $pop32, $pop80 + tee_local $push78=, $0=, $pop79 + i32.const $push77=, 16 + i32.shr_u $push33=, $pop78, $pop77 + i32.store8 $drop=, sE+13($pop82), $pop33 + i32.const $push76=, 0 + i32.const $push75=, 1103515245 + i32.mul $push34=, $0, $pop75 + i32.const $push74=, 12345 + i32.add $push73=, $pop34, $pop74 + tee_local $push72=, $0=, $pop73 + i32.const $push71=, 16 + i32.shr_u $push35=, $pop72, $pop71 + i32.store8 $drop=, sE+14($pop76), $pop35 + i32.const $push70=, 0 + i32.const $push69=, 1103515245 + i32.mul $push36=, $0, $pop69 + i32.const $push68=, 12345 + i32.add $push67=, $pop36, $pop68 + tee_local $push66=, $0=, $pop67 + i32.const $push65=, 16 + i32.shr_u $push37=, $pop66, $pop65 + i32.store8 $drop=, sE+15($pop70), $pop37 i32.const $push64=, 0 - i32.const $push39=, -341751747 - i32.mul $push40=, $0, $pop39 - i32.const $push41=, 229283573 - i32.add $push63=, $pop40, $pop41 - tee_local $push62=, $0=, $pop63 - i32.const $push61=, 1103515245 - i32.mul $push45=, $pop62, $pop61 - i32.const $push60=, 12345 - i32.add $push46=, $pop45, $pop60 - i32.store $push0=, myrnd.s($pop64), $pop46 - i32.const $push59=, 16 - i32.shr_u $push47=, $pop0, $pop59 - i32.const $push43=, 2047 - i32.and $push48=, $pop47, $pop43 - i32.const $push58=, 16 - i32.shr_u $push42=, $0, $pop58 - i32.const $push57=, 2047 - i32.and $push44=, $pop42, $pop57 - i32.add $push51=, $pop48, $pop44 - i64.extend_u/i32 $push52=, $pop51 - i64.const $push53=, 35 - i64.shl $push54=, $pop52, $pop53 - i32.const $push56=, 0 - i64.load $push38=, sE+8($pop56) - i64.const $push49=, 34359738367 - i64.and $push50=, $pop38, $pop49 - i64.or $push55=, $pop54, $pop50 - i64.store $drop=, sE+8($pop65), $pop55 - return + i64.load $1=, sE+8($pop64) + i32.const $push63=, 0 + i32.const $push62=, 0 + i32.const $push38=, -341751747 + i32.mul $push39=, $0, $pop38 + i32.const $push40=, 229283573 + i32.add $push61=, $pop39, $pop40 + tee_local $push60=, $0=, $pop61 + i32.const $push59=, 1103515245 + i32.mul $push41=, $pop60, $pop59 + i32.const $push58=, 12345 + i32.add $push42=, $pop41, $pop58 + i32.store $push0=, myrnd.s($pop62), $pop42 + i32.const $push57=, 16 + i32.shr_u $push46=, $pop0, $pop57 + i32.const $push44=, 2047 + i32.and $push47=, $pop46, $pop44 + i32.const $push56=, 16 + i32.shr_u $push43=, $0, $pop56 + i32.const $push55=, 2047 + i32.and $push45=, $pop43, $pop55 + i32.add $push48=, $pop47, $pop45 + i64.extend_u/i32 $push49=, $pop48 + i64.const $push50=, 35 + i64.shl $push51=, $pop49, $pop50 + i64.const $push52=, 34359738367 + i64.and $push53=, $1, $pop52 + i64.or $push54=, $pop51, $pop53 + i64.store $drop=, sE+8($pop63), $pop54 + # fallthrough-return .endfunc .Lfunc_end30: .size testE, .Lfunc_end30-testE @@ -1120,17 +1115,16 @@ testE: # @testE .type retmeF,@function retmeF: # @retmeF .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3):p2align=0 + i64.store $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end31: .size retmeF, .Lfunc_end31-retmeF @@ -1151,7 +1145,7 @@ fn1F: # @fn1F i32.add $push5=, $pop4, $0 i32.const $push6=, 536870911 i32.and $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end32: .size fn1F, .Lfunc_end32-fn1F @@ -1174,7 +1168,7 @@ fn2F: # @fn2F i32.and $push7=, $pop5, $pop6 i32.const $push8=, 15 i32.rem_u $push9=, $pop7, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end33: .size fn2F, .Lfunc_end33-fn2F @@ -1191,7 +1185,7 @@ retitF: # @retitF i64.const $push2=, 35 i64.shr_u $push3=, $pop1, $pop2 i32.wrap/i64 $push4=, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end34: .size retitF, .Lfunc_end34-retitF @@ -1209,21 +1203,21 @@ fn3F: # @fn3F i32.const $push16=, 0 i64.load $push15=, sF($pop16) tee_local $push14=, $1=, $pop15 - i64.const $push1=, 35 - i64.shr_u $push2=, $pop14, $pop1 - i32.wrap/i64 $push3=, $pop2 - i32.add $push13=, $pop3, $0 + i64.const $push3=, 35 + i64.shr_u $push4=, $pop14, $pop3 + i32.wrap/i64 $push5=, $pop4 + i32.add $push13=, $pop5, $0 tee_local $push12=, $0=, $pop13 - i64.extend_u/i32 $push4=, $pop12 + i64.extend_u/i32 $push6=, $pop12 i64.const $push11=, 35 - i64.shl $push5=, $pop4, $pop11 - i64.const $push6=, 34359738367 - i64.and $push7=, $1, $pop6 - i64.or $push8=, $pop5, $pop7 + i64.shl $push7=, $pop6, $pop11 + i64.const $push1=, 34359738367 + i64.and $push2=, $1, $pop1 + i64.or $push8=, $pop7, $pop2 i64.store $drop=, sF($pop0), $pop8 i32.const $push9=, 536870911 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end35: .size fn3F, .Lfunc_end35-fn3F @@ -1233,185 +1227,185 @@ fn3F: # @fn3F .globl testF .type testF,@function testF: # @testF - .local i32 + .local i32, i64 # BB#0: # %if.end136 i32.const $push1=, 0 - i32.const $push158=, 0 - i32.load $push2=, myrnd.s($pop158) + i32.const $push157=, 0 + i32.load $push2=, myrnd.s($pop157) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push157=, $pop4, $pop5 - tee_local $push156=, $0=, $pop157 + i32.add $push156=, $pop4, $pop5 + tee_local $push155=, $0=, $pop156 i32.const $push6=, 16 - i32.shr_u $push7=, $pop156, $pop6 + i32.shr_u $push7=, $pop155, $pop6 i32.store8 $drop=, sF($pop1), $pop7 - i32.const $push155=, 0 - i32.const $push154=, 1103515245 - i32.mul $push8=, $0, $pop154 - i32.const $push153=, 12345 - i32.add $push152=, $pop8, $pop153 - tee_local $push151=, $0=, $pop152 - i32.const $push150=, 16 - i32.shr_u $push9=, $pop151, $pop150 - i32.store8 $drop=, sF+1($pop155), $pop9 - i32.const $push149=, 0 - i32.const $push148=, 1103515245 - i32.mul $push10=, $0, $pop148 - i32.const $push147=, 12345 - i32.add $push146=, $pop10, $pop147 - tee_local $push145=, $0=, $pop146 - i32.const $push144=, 16 - i32.shr_u $push11=, $pop145, $pop144 - i32.store8 $drop=, sF+2($pop149), $pop11 - i32.const $push143=, 0 - i32.const $push142=, 1103515245 - i32.mul $push12=, $0, $pop142 - i32.const $push141=, 12345 - i32.add $push140=, $pop12, $pop141 - tee_local $push139=, $0=, $pop140 - i32.const $push138=, 16 - i32.shr_u $push13=, $pop139, $pop138 - i32.store8 $drop=, sF+3($pop143), $pop13 - i32.const $push137=, 0 - i32.const $push136=, 1103515245 - i32.mul $push14=, $0, $pop136 - i32.const $push135=, 12345 - i32.add $push134=, $pop14, $pop135 - tee_local $push133=, $0=, $pop134 - i32.const $push132=, 16 - i32.shr_u $push15=, $pop133, $pop132 - i32.store8 $drop=, sF+4($pop137), $pop15 - i32.const $push131=, 0 - i32.const $push130=, 1103515245 - i32.mul $push16=, $0, $pop130 - i32.const $push129=, 12345 - i32.add $push128=, $pop16, $pop129 - tee_local $push127=, $0=, $pop128 - i32.const $push126=, 16 - i32.shr_u $push17=, $pop127, $pop126 - i32.store8 $drop=, sF+5($pop131), $pop17 - i32.const $push125=, 0 - i32.const $push124=, 1103515245 - i32.mul $push18=, $0, $pop124 - i32.const $push123=, 12345 - i32.add $push122=, $pop18, $pop123 - tee_local $push121=, $0=, $pop122 - i32.const $push120=, 16 - i32.shr_u $push19=, $pop121, $pop120 - i32.store8 $drop=, sF+6($pop125), $pop19 - i32.const $push119=, 0 - i32.const $push118=, 1103515245 - i32.mul $push20=, $0, $pop118 - i32.const $push117=, 12345 - i32.add $push116=, $pop20, $pop117 - tee_local $push115=, $0=, $pop116 - i32.const $push114=, 16 - i32.shr_u $push21=, $pop115, $pop114 - i32.store8 $drop=, sF+7($pop119), $pop21 - i32.const $push113=, 0 - i32.const $push112=, 1103515245 - i32.mul $push22=, $0, $pop112 - i32.const $push111=, 12345 - i32.add $push110=, $pop22, $pop111 - tee_local $push109=, $0=, $pop110 - i32.const $push108=, 16 - i32.shr_u $push23=, $pop109, $pop108 - i32.store8 $drop=, sF+8($pop113), $pop23 - i32.const $push107=, 0 - i32.const $push106=, 1103515245 - i32.mul $push24=, $0, $pop106 - i32.const $push105=, 12345 - i32.add $push104=, $pop24, $pop105 - tee_local $push103=, $0=, $pop104 - i32.const $push102=, 16 - i32.shr_u $push25=, $pop103, $pop102 - i32.store8 $drop=, sF+9($pop107), $pop25 - i32.const $push101=, 0 - i32.const $push100=, 1103515245 - i32.mul $push26=, $0, $pop100 - i32.const $push99=, 12345 - i32.add $push98=, $pop26, $pop99 - tee_local $push97=, $0=, $pop98 - i32.const $push96=, 16 - i32.shr_u $push27=, $pop97, $pop96 - i32.store8 $drop=, sF+10($pop101), $pop27 - i32.const $push95=, 0 - i32.const $push94=, 1103515245 - i32.mul $push28=, $0, $pop94 - i32.const $push93=, 12345 - i32.add $push92=, $pop28, $pop93 - tee_local $push91=, $0=, $pop92 - i32.const $push90=, 16 - i32.shr_u $push29=, $pop91, $pop90 - i32.store8 $drop=, sF+11($pop95), $pop29 - i32.const $push89=, 0 - i32.const $push88=, 1103515245 - i32.mul $push30=, $0, $pop88 - i32.const $push87=, 12345 - i32.add $push86=, $pop30, $pop87 - tee_local $push85=, $0=, $pop86 - i32.const $push84=, 16 - i32.shr_u $push31=, $pop85, $pop84 - i32.store8 $drop=, sF+12($pop89), $pop31 - i32.const $push83=, 0 - i32.const $push82=, 1103515245 - i32.mul $push32=, $0, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop32, $pop81 - tee_local $push79=, $0=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push33=, $pop79, $pop78 - i32.store8 $drop=, sF+13($pop83), $pop33 - i32.const $push77=, 0 - i32.const $push76=, 1103515245 - i32.mul $push34=, $0, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop34, $pop75 - tee_local $push73=, $0=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push35=, $pop73, $pop72 - i32.store8 $drop=, sF+14($pop77), $pop35 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push36=, $0, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop36, $pop69 - tee_local $push67=, $0=, $pop68 - i32.const $push66=, 16 - i32.shr_u $push37=, $pop67, $pop66 - i32.store8 $drop=, sF+15($pop71), $pop37 - i32.const $push65=, 0 + i32.const $push154=, 0 + i32.const $push153=, 1103515245 + i32.mul $push8=, $0, $pop153 + i32.const $push152=, 12345 + i32.add $push151=, $pop8, $pop152 + tee_local $push150=, $0=, $pop151 + i32.const $push149=, 16 + i32.shr_u $push9=, $pop150, $pop149 + i32.store8 $drop=, sF+1($pop154), $pop9 + i32.const $push148=, 0 + i32.const $push147=, 1103515245 + i32.mul $push10=, $0, $pop147 + i32.const $push146=, 12345 + i32.add $push145=, $pop10, $pop146 + tee_local $push144=, $0=, $pop145 + i32.const $push143=, 16 + i32.shr_u $push11=, $pop144, $pop143 + i32.store8 $drop=, sF+2($pop148), $pop11 + i32.const $push142=, 0 + i32.const $push141=, 1103515245 + i32.mul $push12=, $0, $pop141 + i32.const $push140=, 12345 + i32.add $push139=, $pop12, $pop140 + tee_local $push138=, $0=, $pop139 + i32.const $push137=, 16 + i32.shr_u $push13=, $pop138, $pop137 + i32.store8 $drop=, sF+3($pop142), $pop13 + i32.const $push136=, 0 + i32.const $push135=, 1103515245 + i32.mul $push14=, $0, $pop135 + i32.const $push134=, 12345 + i32.add $push133=, $pop14, $pop134 + tee_local $push132=, $0=, $pop133 + i32.const $push131=, 16 + i32.shr_u $push15=, $pop132, $pop131 + i32.store8 $drop=, sF+4($pop136), $pop15 + i32.const $push130=, 0 + i32.const $push129=, 1103515245 + i32.mul $push16=, $0, $pop129 + i32.const $push128=, 12345 + i32.add $push127=, $pop16, $pop128 + tee_local $push126=, $0=, $pop127 + i32.const $push125=, 16 + i32.shr_u $push17=, $pop126, $pop125 + i32.store8 $drop=, sF+5($pop130), $pop17 + i32.const $push124=, 0 + i32.const $push123=, 1103515245 + i32.mul $push18=, $0, $pop123 + i32.const $push122=, 12345 + i32.add $push121=, $pop18, $pop122 + tee_local $push120=, $0=, $pop121 + i32.const $push119=, 16 + i32.shr_u $push19=, $pop120, $pop119 + i32.store8 $drop=, sF+6($pop124), $pop19 + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push20=, $0, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop20, $pop116 + tee_local $push114=, $0=, $pop115 + i32.const $push113=, 16 + i32.shr_u $push21=, $pop114, $pop113 + i32.store8 $drop=, sF+7($pop118), $pop21 + i32.const $push112=, 0 + i32.const $push111=, 1103515245 + i32.mul $push22=, $0, $pop111 + i32.const $push110=, 12345 + i32.add $push109=, $pop22, $pop110 + tee_local $push108=, $0=, $pop109 + i32.const $push107=, 16 + i32.shr_u $push23=, $pop108, $pop107 + i32.store8 $drop=, sF+8($pop112), $pop23 + i32.const $push106=, 0 + i32.const $push105=, 1103515245 + i32.mul $push24=, $0, $pop105 + i32.const $push104=, 12345 + i32.add $push103=, $pop24, $pop104 + tee_local $push102=, $0=, $pop103 + i32.const $push101=, 16 + i32.shr_u $push25=, $pop102, $pop101 + i32.store8 $drop=, sF+9($pop106), $pop25 + i32.const $push100=, 0 + i32.const $push99=, 1103515245 + i32.mul $push26=, $0, $pop99 + i32.const $push98=, 12345 + i32.add $push97=, $pop26, $pop98 + tee_local $push96=, $0=, $pop97 + i32.const $push95=, 16 + i32.shr_u $push27=, $pop96, $pop95 + i32.store8 $drop=, sF+10($pop100), $pop27 + i32.const $push94=, 0 + i32.const $push93=, 1103515245 + i32.mul $push28=, $0, $pop93 + i32.const $push92=, 12345 + i32.add $push91=, $pop28, $pop92 + tee_local $push90=, $0=, $pop91 + i32.const $push89=, 16 + i32.shr_u $push29=, $pop90, $pop89 + i32.store8 $drop=, sF+11($pop94), $pop29 + i32.const $push88=, 0 + i32.const $push87=, 1103515245 + i32.mul $push30=, $0, $pop87 + i32.const $push86=, 12345 + i32.add $push85=, $pop30, $pop86 + tee_local $push84=, $0=, $pop85 + i32.const $push83=, 16 + i32.shr_u $push31=, $pop84, $pop83 + i32.store8 $drop=, sF+12($pop88), $pop31 + i32.const $push82=, 0 + i32.const $push81=, 1103515245 + i32.mul $push32=, $0, $pop81 + i32.const $push80=, 12345 + i32.add $push79=, $pop32, $pop80 + tee_local $push78=, $0=, $pop79 + i32.const $push77=, 16 + i32.shr_u $push33=, $pop78, $pop77 + i32.store8 $drop=, sF+13($pop82), $pop33 + i32.const $push76=, 0 + i32.const $push75=, 1103515245 + i32.mul $push34=, $0, $pop75 + i32.const $push74=, 12345 + i32.add $push73=, $pop34, $pop74 + tee_local $push72=, $0=, $pop73 + i32.const $push71=, 16 + i32.shr_u $push35=, $pop72, $pop71 + i32.store8 $drop=, sF+14($pop76), $pop35 + i32.const $push70=, 0 + i32.const $push69=, 1103515245 + i32.mul $push36=, $0, $pop69 + i32.const $push68=, 12345 + i32.add $push67=, $pop36, $pop68 + tee_local $push66=, $0=, $pop67 + i32.const $push65=, 16 + i32.shr_u $push37=, $pop66, $pop65 + i32.store8 $drop=, sF+15($pop70), $pop37 i32.const $push64=, 0 - i32.const $push39=, -341751747 - i32.mul $push40=, $0, $pop39 - i32.const $push41=, 229283573 - i32.add $push63=, $pop40, $pop41 - tee_local $push62=, $0=, $pop63 - i32.const $push61=, 1103515245 - i32.mul $push45=, $pop62, $pop61 - i32.const $push60=, 12345 - i32.add $push46=, $pop45, $pop60 - i32.store $push0=, myrnd.s($pop64), $pop46 - i32.const $push59=, 16 - i32.shr_u $push47=, $pop0, $pop59 - i32.const $push43=, 2047 - i32.and $push48=, $pop47, $pop43 - i32.const $push58=, 16 - i32.shr_u $push42=, $0, $pop58 - i32.const $push57=, 2047 - i32.and $push44=, $pop42, $pop57 - i32.add $push51=, $pop48, $pop44 - i64.extend_u/i32 $push52=, $pop51 - i64.const $push53=, 35 - i64.shl $push54=, $pop52, $pop53 - i32.const $push56=, 0 - i64.load $push38=, sF($pop56) - i64.const $push49=, 34359738367 - i64.and $push50=, $pop38, $pop49 - i64.or $push55=, $pop54, $pop50 - i64.store $drop=, sF($pop65), $pop55 - return + i64.load $1=, sF($pop64) + i32.const $push63=, 0 + i32.const $push62=, 0 + i32.const $push38=, -341751747 + i32.mul $push39=, $0, $pop38 + i32.const $push40=, 229283573 + i32.add $push61=, $pop39, $pop40 + tee_local $push60=, $0=, $pop61 + i32.const $push59=, 1103515245 + i32.mul $push41=, $pop60, $pop59 + i32.const $push58=, 12345 + i32.add $push42=, $pop41, $pop58 + i32.store $push0=, myrnd.s($pop62), $pop42 + i32.const $push57=, 16 + i32.shr_u $push46=, $pop0, $pop57 + i32.const $push44=, 2047 + i32.and $push47=, $pop46, $pop44 + i32.const $push56=, 16 + i32.shr_u $push43=, $0, $pop56 + i32.const $push55=, 2047 + i32.and $push45=, $pop43, $pop55 + i32.add $push48=, $pop47, $pop45 + i64.extend_u/i32 $push49=, $pop48 + i64.const $push50=, 35 + i64.shl $push51=, $pop49, $pop50 + i64.const $push52=, 34359738367 + i64.and $push53=, $1, $pop52 + i64.or $push54=, $pop51, $pop53 + i64.store $drop=, sF($pop63), $pop54 + # fallthrough-return .endfunc .Lfunc_end36: .size testF, .Lfunc_end36-testF @@ -1422,17 +1416,16 @@ testF: # @testF .type retmeG,@function retmeG: # @retmeG .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i32.load8_u $2=, 0($pop3) i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i32.store8 $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i32.load8_u $push4=, 0($pop3) + i32.store8 $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end37: .size retmeG, .Lfunc_end37-retmeG @@ -1452,7 +1445,7 @@ fn1G: # @fn1G i32.add $push4=, $pop3, $0 i32.const $push5=, 63 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end38: .size fn1G, .Lfunc_end38-fn1G @@ -1474,7 +1467,7 @@ fn2G: # @fn2G i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end39: .size fn2G, .Lfunc_end39-fn2G @@ -1490,7 +1483,7 @@ retitG: # @retitG i32.load8_u $push1=, sG($pop0) i32.const $push2=, 2 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end40: .size retitG, .Lfunc_end40-retitG @@ -1508,19 +1501,19 @@ fn3G: # @fn3G i32.const $push14=, 0 i32.load8_u $push13=, sG($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 2 - i32.shr_u $push2=, $pop12, $pop1 - i32.add $push11=, $pop2, $0 + i32.const $push3=, 2 + i32.shr_u $push4=, $pop12, $pop3 + i32.add $push11=, $pop4, $0 tee_local $push10=, $0=, $pop11 i32.const $push9=, 2 - i32.shl $push3=, $pop10, $pop9 - i32.const $push4=, 3 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.shl $push5=, $pop10, $pop9 + i32.const $push1=, 3 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store8 $drop=, sG($pop0), $pop6 i32.const $push7=, 63 i32.and $push8=, $0, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end41: .size fn3G, .Lfunc_end41-fn3G @@ -1539,104 +1532,104 @@ testG: # @testG i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push93=, $pop4, $pop5 - tee_local $push92=, $1=, $pop93 + tee_local $push92=, $0=, $pop93 i32.const $push91=, 1103515245 - i32.mul $push8=, $pop92, $pop91 + i32.mul $push6=, $pop92, $pop91 i32.const $push90=, 12345 - i32.add $push89=, $pop8, $pop90 - tee_local $push88=, $0=, $pop89 - i32.const $push6=, 16 - i32.shr_u $push9=, $pop88, $pop6 - i32.store8 $drop=, sG+1($pop1), $pop9 + i32.add $push89=, $pop6, $pop90 + tee_local $push88=, $1=, $pop89 + i32.const $push7=, 16 + i32.shr_u $push8=, $pop88, $pop7 + i32.store8 $drop=, sG+1($pop1), $pop8 i32.const $push87=, 0 i32.const $push86=, 1103515245 - i32.mul $push10=, $0, $pop86 + i32.mul $push9=, $1, $pop86 i32.const $push85=, 12345 - i32.add $push84=, $pop10, $pop85 - tee_local $push83=, $0=, $pop84 + i32.add $push84=, $pop9, $pop85 + tee_local $push83=, $1=, $pop84 i32.const $push82=, 16 - i32.shr_u $push11=, $pop83, $pop82 - i32.store8 $drop=, sG+2($pop87), $pop11 + i32.shr_u $push10=, $pop83, $pop82 + i32.store8 $drop=, sG+2($pop87), $pop10 i32.const $push81=, 0 i32.const $push80=, 1103515245 - i32.mul $push12=, $0, $pop80 + i32.mul $push11=, $1, $pop80 i32.const $push79=, 12345 - i32.add $push78=, $pop12, $pop79 - tee_local $push77=, $0=, $pop78 + i32.add $push78=, $pop11, $pop79 + tee_local $push77=, $1=, $pop78 i32.const $push76=, 16 - i32.shr_u $push13=, $pop77, $pop76 - i32.store8 $drop=, sG+3($pop81), $pop13 + i32.shr_u $push12=, $pop77, $pop76 + i32.store8 $drop=, sG+3($pop81), $pop12 i32.const $push75=, 0 i32.const $push74=, 1103515245 - i32.mul $push14=, $0, $pop74 + i32.mul $push13=, $1, $pop74 i32.const $push73=, 12345 - i32.add $push72=, $pop14, $pop73 - tee_local $push71=, $0=, $pop72 + i32.add $push72=, $pop13, $pop73 + tee_local $push71=, $1=, $pop72 i32.const $push70=, 16 - i32.shr_u $push15=, $pop71, $pop70 - i32.store8 $drop=, sG+4($pop75), $pop15 + i32.shr_u $push14=, $pop71, $pop70 + i32.store8 $drop=, sG+4($pop75), $pop14 i32.const $push69=, 0 i32.const $push68=, 1103515245 - i32.mul $push16=, $0, $pop68 + i32.mul $push15=, $1, $pop68 i32.const $push67=, 12345 - i32.add $push66=, $pop16, $pop67 - tee_local $push65=, $0=, $pop66 + i32.add $push66=, $pop15, $pop67 + tee_local $push65=, $1=, $pop66 i32.const $push64=, 16 - i32.shr_u $push17=, $pop65, $pop64 - i32.store8 $drop=, sG+5($pop69), $pop17 + i32.shr_u $push16=, $pop65, $pop64 + i32.store8 $drop=, sG+5($pop69), $pop16 i32.const $push63=, 0 i32.const $push62=, 1103515245 - i32.mul $push18=, $0, $pop62 + i32.mul $push17=, $1, $pop62 i32.const $push61=, 12345 - i32.add $push60=, $pop18, $pop61 - tee_local $push59=, $0=, $pop60 + i32.add $push60=, $pop17, $pop61 + tee_local $push59=, $1=, $pop60 i32.const $push58=, 16 - i32.shr_u $push19=, $pop59, $pop58 - i32.store8 $drop=, sG+6($pop63), $pop19 + i32.shr_u $push18=, $pop59, $pop58 + i32.store8 $drop=, sG+6($pop63), $pop18 i32.const $push57=, 0 i32.const $push56=, 1103515245 - i32.mul $push20=, $0, $pop56 + i32.mul $push19=, $1, $pop56 i32.const $push55=, 12345 - i32.add $push54=, $pop20, $pop55 - tee_local $push53=, $0=, $pop54 + i32.add $push54=, $pop19, $pop55 + tee_local $push53=, $1=, $pop54 i32.const $push52=, 16 - i32.shr_u $push21=, $pop53, $pop52 - i32.store8 $drop=, sG+7($pop57), $pop21 + i32.shr_u $push20=, $pop53, $pop52 + i32.store8 $drop=, sG+7($pop57), $pop20 i32.const $push51=, 0 i32.const $push50=, 1103515245 - i32.mul $push22=, $0, $pop50 + i32.mul $push21=, $1, $pop50 i32.const $push49=, 12345 - i32.add $push48=, $pop22, $pop49 - tee_local $push47=, $0=, $pop48 + i32.add $push48=, $pop21, $pop49 + tee_local $push47=, $1=, $pop48 i32.const $push46=, 16 - i32.shr_u $push23=, $pop47, $pop46 - i32.store8 $drop=, sG+8($pop51), $pop23 + i32.shr_u $push22=, $pop47, $pop46 + i32.store8 $drop=, sG+8($pop51), $pop22 i32.const $push45=, 0 i32.const $push44=, 0 - i32.const $push24=, -341751747 - i32.mul $push25=, $0, $pop24 - i32.const $push26=, 229283573 - i32.add $push43=, $pop25, $pop26 - tee_local $push42=, $0=, $pop43 + i32.const $push23=, -341751747 + i32.mul $push24=, $1, $pop23 + i32.const $push25=, 229283573 + i32.add $push43=, $pop24, $pop25 + tee_local $push42=, $1=, $pop43 i32.const $push41=, 1103515245 - i32.mul $push28=, $pop42, $pop41 + i32.mul $push26=, $pop42, $pop41 i32.const $push40=, 12345 - i32.add $push29=, $pop28, $pop40 - i32.store $push0=, myrnd.s($pop44), $pop29 + i32.add $push27=, $pop26, $pop40 + i32.store $push0=, myrnd.s($pop44), $pop27 i32.const $push39=, 16 - i32.shr_u $push30=, $pop0, $pop39 + i32.shr_u $push29=, $pop0, $pop39 i32.const $push38=, 16 - i32.shr_u $push27=, $0, $pop38 - i32.add $push33=, $pop30, $pop27 - i32.const $push34=, 2 - i32.shl $push35=, $pop33, $pop34 + i32.shr_u $push28=, $1, $pop38 + i32.add $push30=, $pop29, $pop28 + i32.const $push31=, 2 + i32.shl $push32=, $pop30, $pop31 i32.const $push37=, 16 - i32.shr_u $push7=, $1, $pop37 - i32.const $push31=, 3 - i32.and $push32=, $pop7, $pop31 - i32.or $push36=, $pop35, $pop32 + i32.shr_u $push33=, $0, $pop37 + i32.const $push34=, 3 + i32.and $push35=, $pop33, $pop34 + i32.or $push36=, $pop32, $pop35 i32.store8 $drop=, sG($pop45), $pop36 - return + # fallthrough-return .endfunc .Lfunc_end42: .size testG, .Lfunc_end42-testG @@ -1647,17 +1640,16 @@ testG: # @testG .type retmeH,@function retmeH: # @retmeH .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i32.load16_u $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i32.store16 $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i32.load16_u $push4=, 0($pop3):p2align=0 + i32.store16 $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end43: .size retmeH, .Lfunc_end43-retmeH @@ -1675,7 +1667,7 @@ fn1H: # @fn1H i32.add $push2=, $pop1, $0 i32.const $push3=, 255 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end44: .size fn1H, .Lfunc_end44-fn1H @@ -1695,7 +1687,7 @@ fn2H: # @fn2H i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end45: .size fn2H, .Lfunc_end45-fn2H @@ -1709,7 +1701,7 @@ retitH: # @retitH # BB#0: # %entry i32.const $push0=, 0 i32.load8_u $push1=, sH+1($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end46: .size retitH, .Lfunc_end46-retitH @@ -1722,15 +1714,14 @@ fn3H: # @fn3H .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push1=, 0 i32.const $push6=, 0 - i32.load8_u $push1=, sH+1($pop6) - i32.add $push5=, $pop1, $0 - tee_local $push4=, $0=, $pop5 - i32.store8 $drop=, sH+1($pop0), $pop4 - i32.const $push2=, 255 - i32.and $push3=, $0, $pop2 - return $pop3 + i32.load8_u $push2=, sH+1($pop6) + i32.add $push3=, $pop2, $0 + i32.store8 $push0=, sH+1($pop1), $pop3 + i32.const $push4=, 255 + i32.and $push5=, $pop0, $pop4 + # fallthrough-return: $pop5 .endfunc .Lfunc_end47: .size fn3H, .Lfunc_end47-fn3H @@ -1836,28 +1827,28 @@ testH: # @testH i32.store8 $drop=, sH+9($pop52), $pop25 i32.const $push46=, 0 i32.const $push45=, 0 - i32.const $push27=, -341751747 - i32.mul $push28=, $0, $pop27 - i32.const $push29=, 229283573 - i32.add $push44=, $pop28, $pop29 - tee_local $push43=, $0=, $pop44 - i32.const $push42=, 1103515245 - i32.mul $push31=, $pop43, $pop42 - i32.const $push41=, 12345 - i32.add $push32=, $pop31, $pop41 - i32.store $push0=, myrnd.s($pop45), $pop32 - i32.const $push40=, 16 - i32.shr_u $push33=, $pop0, $pop40 + i32.load8_u $push31=, sH($pop45) + i32.const $push44=, 0 + i32.const $push26=, -341751747 + i32.mul $push27=, $0, $pop26 + i32.const $push28=, 229283573 + i32.add $push43=, $pop27, $pop28 + tee_local $push42=, $0=, $pop43 + i32.const $push41=, 1103515245 + i32.mul $push29=, $pop42, $pop41 + i32.const $push40=, 12345 + i32.add $push30=, $pop29, $pop40 + i32.store $push0=, myrnd.s($pop44), $pop30 i32.const $push39=, 16 - i32.shr_u $push30=, $0, $pop39 - i32.add $push34=, $pop33, $pop30 + i32.shr_u $push33=, $pop0, $pop39 + i32.const $push38=, 16 + i32.shr_u $push32=, $0, $pop38 + i32.add $push34=, $pop33, $pop32 i32.const $push35=, 8 i32.shl $push36=, $pop34, $pop35 - i32.const $push38=, 0 - i32.load8_u $push26=, sH($pop38) - i32.or $push37=, $pop36, $pop26 + i32.or $push37=, $pop31, $pop36 i32.store16 $drop=, sH($pop46), $pop37 - return + # fallthrough-return .endfunc .Lfunc_end48: .size testH, .Lfunc_end48-testH @@ -1868,17 +1859,16 @@ testH: # @testH .type retmeI,@function retmeI: # @retmeI .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i32.load8_u $2=, 0($pop3) i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i32.store8 $drop=, 0($pop2), $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i32.load8_u $push4=, 0($pop3) + i32.store8 $drop=, 0($pop2), $pop4 + # fallthrough-return .endfunc .Lfunc_end49: .size retmeI, .Lfunc_end49-retmeI @@ -1898,7 +1888,7 @@ fn1I: # @fn1I i32.add $push4=, $pop3, $0 i32.const $push5=, 1 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end50: .size fn1I, .Lfunc_end50-fn1I @@ -1920,7 +1910,7 @@ fn2I: # @fn2I i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end51: .size fn2I, .Lfunc_end51-fn2I @@ -1936,7 +1926,7 @@ retitI: # @retitI i32.load8_u $push1=, sI($pop0) i32.const $push2=, 7 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end52: .size retitI, .Lfunc_end52-retitI @@ -1954,19 +1944,19 @@ fn3I: # @fn3I i32.const $push14=, 0 i32.load8_u $push13=, sI($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 7 - i32.shr_u $push2=, $pop12, $pop1 - i32.add $push11=, $pop2, $0 + i32.const $push3=, 7 + i32.shr_u $push4=, $pop12, $pop3 + i32.add $push11=, $pop4, $0 tee_local $push10=, $0=, $pop11 i32.const $push9=, 7 - i32.shl $push3=, $pop10, $pop9 - i32.const $push4=, 127 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.shl $push5=, $pop10, $pop9 + i32.const $push1=, 127 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store8 $drop=, sI($pop0), $pop6 i32.const $push7=, 1 i32.and $push8=, $0, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end53: .size fn3I, .Lfunc_end53-fn3I @@ -1985,104 +1975,104 @@ testI: # @testI i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push93=, $pop4, $pop5 - tee_local $push92=, $1=, $pop93 + tee_local $push92=, $0=, $pop93 i32.const $push91=, 1103515245 - i32.mul $push8=, $pop92, $pop91 + i32.mul $push6=, $pop92, $pop91 i32.const $push90=, 12345 - i32.add $push89=, $pop8, $pop90 - tee_local $push88=, $0=, $pop89 - i32.const $push6=, 16 - i32.shr_u $push9=, $pop88, $pop6 - i32.store8 $drop=, sI+1($pop1), $pop9 + i32.add $push89=, $pop6, $pop90 + tee_local $push88=, $1=, $pop89 + i32.const $push7=, 16 + i32.shr_u $push8=, $pop88, $pop7 + i32.store8 $drop=, sI+1($pop1), $pop8 i32.const $push87=, 0 i32.const $push86=, 1103515245 - i32.mul $push10=, $0, $pop86 + i32.mul $push9=, $1, $pop86 i32.const $push85=, 12345 - i32.add $push84=, $pop10, $pop85 - tee_local $push83=, $0=, $pop84 + i32.add $push84=, $pop9, $pop85 + tee_local $push83=, $1=, $pop84 i32.const $push82=, 16 - i32.shr_u $push11=, $pop83, $pop82 - i32.store8 $drop=, sI+2($pop87), $pop11 + i32.shr_u $push10=, $pop83, $pop82 + i32.store8 $drop=, sI+2($pop87), $pop10 i32.const $push81=, 0 i32.const $push80=, 1103515245 - i32.mul $push12=, $0, $pop80 + i32.mul $push11=, $1, $pop80 i32.const $push79=, 12345 - i32.add $push78=, $pop12, $pop79 - tee_local $push77=, $0=, $pop78 + i32.add $push78=, $pop11, $pop79 + tee_local $push77=, $1=, $pop78 i32.const $push76=, 16 - i32.shr_u $push13=, $pop77, $pop76 - i32.store8 $drop=, sI+3($pop81), $pop13 + i32.shr_u $push12=, $pop77, $pop76 + i32.store8 $drop=, sI+3($pop81), $pop12 i32.const $push75=, 0 i32.const $push74=, 1103515245 - i32.mul $push14=, $0, $pop74 + i32.mul $push13=, $1, $pop74 i32.const $push73=, 12345 - i32.add $push72=, $pop14, $pop73 - tee_local $push71=, $0=, $pop72 + i32.add $push72=, $pop13, $pop73 + tee_local $push71=, $1=, $pop72 i32.const $push70=, 16 - i32.shr_u $push15=, $pop71, $pop70 - i32.store8 $drop=, sI+4($pop75), $pop15 + i32.shr_u $push14=, $pop71, $pop70 + i32.store8 $drop=, sI+4($pop75), $pop14 i32.const $push69=, 0 i32.const $push68=, 1103515245 - i32.mul $push16=, $0, $pop68 + i32.mul $push15=, $1, $pop68 i32.const $push67=, 12345 - i32.add $push66=, $pop16, $pop67 - tee_local $push65=, $0=, $pop66 + i32.add $push66=, $pop15, $pop67 + tee_local $push65=, $1=, $pop66 i32.const $push64=, 16 - i32.shr_u $push17=, $pop65, $pop64 - i32.store8 $drop=, sI+5($pop69), $pop17 + i32.shr_u $push16=, $pop65, $pop64 + i32.store8 $drop=, sI+5($pop69), $pop16 i32.const $push63=, 0 i32.const $push62=, 1103515245 - i32.mul $push18=, $0, $pop62 + i32.mul $push17=, $1, $pop62 i32.const $push61=, 12345 - i32.add $push60=, $pop18, $pop61 - tee_local $push59=, $0=, $pop60 + i32.add $push60=, $pop17, $pop61 + tee_local $push59=, $1=, $pop60 i32.const $push58=, 16 - i32.shr_u $push19=, $pop59, $pop58 - i32.store8 $drop=, sI+6($pop63), $pop19 + i32.shr_u $push18=, $pop59, $pop58 + i32.store8 $drop=, sI+6($pop63), $pop18 i32.const $push57=, 0 i32.const $push56=, 1103515245 - i32.mul $push20=, $0, $pop56 + i32.mul $push19=, $1, $pop56 i32.const $push55=, 12345 - i32.add $push54=, $pop20, $pop55 - tee_local $push53=, $0=, $pop54 + i32.add $push54=, $pop19, $pop55 + tee_local $push53=, $1=, $pop54 i32.const $push52=, 16 - i32.shr_u $push21=, $pop53, $pop52 - i32.store8 $drop=, sI+7($pop57), $pop21 + i32.shr_u $push20=, $pop53, $pop52 + i32.store8 $drop=, sI+7($pop57), $pop20 i32.const $push51=, 0 i32.const $push50=, 1103515245 - i32.mul $push22=, $0, $pop50 + i32.mul $push21=, $1, $pop50 i32.const $push49=, 12345 - i32.add $push48=, $pop22, $pop49 - tee_local $push47=, $0=, $pop48 + i32.add $push48=, $pop21, $pop49 + tee_local $push47=, $1=, $pop48 i32.const $push46=, 16 - i32.shr_u $push23=, $pop47, $pop46 - i32.store8 $drop=, sI+8($pop51), $pop23 + i32.shr_u $push22=, $pop47, $pop46 + i32.store8 $drop=, sI+8($pop51), $pop22 i32.const $push45=, 0 i32.const $push44=, 0 - i32.const $push24=, -341751747 - i32.mul $push25=, $0, $pop24 - i32.const $push26=, 229283573 - i32.add $push43=, $pop25, $pop26 - tee_local $push42=, $0=, $pop43 + i32.const $push23=, -341751747 + i32.mul $push24=, $1, $pop23 + i32.const $push25=, 229283573 + i32.add $push43=, $pop24, $pop25 + tee_local $push42=, $1=, $pop43 i32.const $push41=, 1103515245 - i32.mul $push28=, $pop42, $pop41 + i32.mul $push26=, $pop42, $pop41 i32.const $push40=, 12345 - i32.add $push29=, $pop28, $pop40 - i32.store $push0=, myrnd.s($pop44), $pop29 + i32.add $push27=, $pop26, $pop40 + i32.store $push0=, myrnd.s($pop44), $pop27 i32.const $push39=, 16 - i32.shr_u $push30=, $pop0, $pop39 + i32.shr_u $push29=, $pop0, $pop39 i32.const $push38=, 16 - i32.shr_u $push27=, $0, $pop38 - i32.add $push33=, $pop30, $pop27 - i32.const $push34=, 7 - i32.shl $push35=, $pop33, $pop34 + i32.shr_u $push28=, $1, $pop38 + i32.add $push30=, $pop29, $pop28 + i32.const $push31=, 7 + i32.shl $push32=, $pop30, $pop31 i32.const $push37=, 16 - i32.shr_u $push7=, $1, $pop37 - i32.const $push31=, 127 - i32.and $push32=, $pop7, $pop31 - i32.or $push36=, $pop35, $pop32 + i32.shr_u $push33=, $0, $pop37 + i32.const $push34=, 127 + i32.and $push35=, $pop33, $pop34 + i32.or $push36=, $pop32, $pop35 i32.store8 $drop=, sI($pop45), $pop36 - return + # fallthrough-return .endfunc .Lfunc_end54: .size testI, .Lfunc_end54-testI @@ -2096,7 +2086,7 @@ retmeJ: # @retmeJ # BB#0: # %entry i32.load $push0=, 0($1):p2align=0 i32.store $drop=, 0($0):p2align=1, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end55: .size retmeJ, .Lfunc_end55-retmeJ @@ -2116,7 +2106,7 @@ fn1J: # @fn1J i32.add $push4=, $pop3, $0 i32.const $push5=, 127 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end56: .size fn1J, .Lfunc_end56-fn1J @@ -2138,7 +2128,7 @@ fn2J: # @fn2J i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end57: .size fn2J, .Lfunc_end57-fn2J @@ -2154,7 +2144,7 @@ retitJ: # @retitJ i32.load16_u $push1=, sJ($pop0) i32.const $push2=, 9 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end58: .size retitJ, .Lfunc_end58-retitJ @@ -2172,19 +2162,19 @@ fn3J: # @fn3J i32.const $push14=, 0 i32.load16_u $push13=, sJ($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push1=, 9 - i32.shr_u $push2=, $pop12, $pop1 - i32.add $push11=, $pop2, $0 + i32.const $push3=, 9 + i32.shr_u $push4=, $pop12, $pop3 + i32.add $push11=, $pop4, $0 tee_local $push10=, $0=, $pop11 i32.const $push9=, 9 - i32.shl $push3=, $pop10, $pop9 - i32.const $push4=, 511 - i32.and $push5=, $1, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.shl $push5=, $pop10, $pop9 + i32.const $push1=, 511 + i32.and $push2=, $1, $pop1 + i32.or $push6=, $pop5, $pop2 i32.store16 $drop=, sJ($pop0), $pop6 i32.const $push7=, 127 i32.and $push8=, $0, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end59: .size fn3J, .Lfunc_end59-fn3J @@ -2194,108 +2184,109 @@ fn3J: # @fn3J .globl testJ .type testJ,@function testJ: # @testJ - .local i32, i32, i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push78=, 0 - i32.const $push77=, 0 - i32.load $push1=, myrnd.s($pop77) - i32.const $push76=, 1103515245 - i32.mul $push2=, $pop1, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop2, $pop75 - tee_local $push73=, $1=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push3=, $pop73, $pop72 - i32.store8 $drop=, sJ($pop78), $pop3 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push4=, $1, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop4, $pop69 - tee_local $push67=, $1=, $pop68 - i32.const $push66=, 16 - i32.shr_u $push5=, $pop67, $pop66 - i32.store8 $drop=, sJ+1($pop71), $pop5 - i32.const $push65=, 0 - i32.const $push64=, 1103515245 - i32.mul $push6=, $1, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop6, $pop63 - tee_local $push61=, $1=, $pop62 - i32.const $push60=, 16 - i32.shr_u $push7=, $pop61, $pop60 - i32.store8 $drop=, sJ+2($pop65), $pop7 - i32.const $push59=, 0 - i32.const $push58=, 1103515245 - i32.mul $push8=, $1, $pop58 - i32.const $push57=, 12345 - i32.add $push56=, $pop8, $pop57 - tee_local $push55=, $1=, $pop56 - i32.const $push54=, 16 - i32.shr_u $push9=, $pop55, $pop54 - i32.store8 $drop=, sJ+3($pop59), $pop9 - i32.const $push53=, 0 - i32.const $push52=, 1103515245 - i32.mul $push11=, $1, $pop52 - i32.const $push51=, 12345 - i32.add $push50=, $pop11, $pop51 - tee_local $push49=, $3=, $pop50 - i32.const $push48=, 16 - i32.shr_u $push47=, $pop49, $pop48 - tee_local $push46=, $2=, $pop47 - i32.const $push45=, 9 - i32.shl $push13=, $pop46, $pop45 - i32.const $push44=, 0 - i32.load16_u $push10=, sJ($pop44) - i32.const $push43=, 511 - i32.and $push14=, $pop10, $pop43 - i32.or $push15=, $pop13, $pop14 - i32.store16 $drop=, sJ($pop53), $pop15 - i32.const $push42=, 0 - i32.load $1=, sJ($pop42) - i32.const $push41=, 0 - i32.const $push40=, 1103515245 - i32.mul $push12=, $3, $pop40 - i32.const $push39=, 12345 - i32.add $push38=, $pop12, $pop39 - tee_local $push37=, $3=, $pop38 - i32.store $0=, myrnd.s($pop41), $pop37 + i32.const $push81=, 0 + i32.const $push80=, 0 + i32.load $push2=, myrnd.s($pop80) + i32.const $push79=, 1103515245 + i32.mul $push3=, $pop2, $pop79 + i32.const $push78=, 12345 + i32.add $push77=, $pop3, $pop78 + tee_local $push76=, $1=, $pop77 + i32.const $push75=, 16 + i32.shr_u $push4=, $pop76, $pop75 + i32.store8 $drop=, sJ($pop81), $pop4 + i32.const $push74=, 0 + i32.const $push73=, 1103515245 + i32.mul $push5=, $1, $pop73 + i32.const $push72=, 12345 + i32.add $push71=, $pop5, $pop72 + tee_local $push70=, $1=, $pop71 + i32.const $push69=, 16 + i32.shr_u $push6=, $pop70, $pop69 + i32.store8 $drop=, sJ+1($pop74), $pop6 + i32.const $push68=, 0 + i32.const $push67=, 1103515245 + i32.mul $push7=, $1, $pop67 + i32.const $push66=, 12345 + i32.add $push65=, $pop7, $pop66 + tee_local $push64=, $1=, $pop65 + i32.const $push63=, 16 + i32.shr_u $push8=, $pop64, $pop63 + i32.store8 $drop=, sJ+2($pop68), $pop8 + i32.const $push62=, 0 + i32.const $push61=, 1103515245 + i32.mul $push9=, $1, $pop61 + i32.const $push60=, 12345 + i32.add $push59=, $pop9, $pop60 + tee_local $push58=, $1=, $pop59 + i32.const $push57=, 16 + i32.shr_u $push10=, $pop58, $pop57 + i32.store8 $drop=, sJ+3($pop62), $pop10 + i32.const $push56=, 0 + i32.const $push55=, 1103515245 + i32.mul $push13=, $1, $pop55 + i32.const $push54=, 12345 + i32.add $push53=, $pop13, $pop54 + tee_local $push52=, $1=, $pop53 + i32.const $push51=, 16 + i32.shr_u $push50=, $pop52, $pop51 + tee_local $push49=, $2=, $pop50 + i32.const $push48=, 9 + i32.shl $push14=, $pop49, $pop48 + i32.const $push47=, 0 + i32.load16_u $push11=, sJ($pop47) + i32.const $push46=, 511 + i32.and $push12=, $pop11, $pop46 + i32.or $push15=, $pop14, $pop12 + i32.store16 $drop=, sJ($pop56), $pop15 block - i32.const $push36=, 16 - i32.shr_u $push35=, $3, $pop36 - tee_local $push34=, $3=, $pop35 - i32.add $push18=, $pop34, $2 - i32.const $push33=, 9 - i32.shr_u $push16=, $1, $pop33 - i32.add $push17=, $pop16, $3 - i32.xor $push19=, $pop18, $pop17 - i32.const $push20=, 127 - i32.and $push21=, $pop19, $pop20 - br_if 0, $pop21 # 0: down to label0 + i32.const $push45=, 0 + i32.const $push44=, 1103515245 + i32.mul $push16=, $1, $pop44 + i32.const $push43=, 12345 + i32.add $push1=, $pop16, $pop43 + i32.store $push42=, myrnd.s($pop45), $pop1 + tee_local $push41=, $0=, $pop42 + i32.const $push40=, 16 + i32.shr_u $push39=, $pop41, $pop40 + tee_local $push38=, $1=, $pop39 + i32.add $push17=, $pop38, $2 + i32.const $push37=, 0 + i32.load $push36=, sJ($pop37) + tee_local $push35=, $2=, $pop36 + i32.const $push34=, 9 + i32.shr_u $push18=, $pop35, $pop34 + i32.add $push19=, $pop18, $1 + i32.xor $push20=, $pop17, $pop19 + i32.const $push21=, 127 + i32.and $push22=, $pop20, $pop21 + br_if 0, $pop22 # 0: down to label0 # BB#1: # %if.end142 - i32.const $push88=, 0 - i32.const $push87=, 0 - i32.const $push22=, -2139243339 - i32.mul $push23=, $0, $pop22 - i32.const $push24=, -1492899873 - i32.add $push86=, $pop23, $pop24 - tee_local $push85=, $3=, $pop86 - i32.const $push84=, 1103515245 - i32.mul $push26=, $pop85, $pop84 - i32.const $push83=, 12345 - i32.add $push27=, $pop26, $pop83 - i32.store $push0=, myrnd.s($pop87), $pop27 - i32.const $push82=, 16 - i32.shr_u $push28=, $pop0, $pop82 - i32.const $push81=, 16 - i32.shr_u $push25=, $3, $pop81 - i32.add $push30=, $pop28, $pop25 - i32.const $push80=, 9 - i32.shl $push31=, $pop30, $pop80 - i32.const $push79=, 511 - i32.and $push29=, $1, $pop79 - i32.or $push32=, $pop31, $pop29 - i32.store16 $drop=, sJ($pop88), $pop32 + i32.const $push91=, 0 + i32.const $push90=, 0 + i32.const $push23=, -2139243339 + i32.mul $push24=, $0, $pop23 + i32.const $push25=, -1492899873 + i32.add $push89=, $pop24, $pop25 + tee_local $push88=, $1=, $pop89 + i32.const $push87=, 1103515245 + i32.mul $push26=, $pop88, $pop87 + i32.const $push86=, 12345 + i32.add $push27=, $pop26, $pop86 + i32.store $push0=, myrnd.s($pop90), $pop27 + i32.const $push85=, 16 + i32.shr_u $push29=, $pop0, $pop85 + i32.const $push84=, 16 + i32.shr_u $push28=, $1, $pop84 + i32.add $push30=, $pop29, $pop28 + i32.const $push83=, 9 + i32.shl $push31=, $pop30, $pop83 + i32.const $push82=, 511 + i32.and $push32=, $2, $pop82 + i32.or $push33=, $pop31, $pop32 + i32.store16 $drop=, sJ($pop91), $pop33 return .LBB60_2: # %if.then end_block # label0: @@ -2314,7 +2305,7 @@ retmeK: # @retmeK # BB#0: # %entry i32.load $push0=, 0($1):p2align=0 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end61: .size retmeK, .Lfunc_end61-retmeK @@ -2332,7 +2323,7 @@ fn1K: # @fn1K i32.add $push2=, $pop1, $0 i32.const $push3=, 63 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end62: .size fn1K, .Lfunc_end62-fn1K @@ -2352,7 +2343,7 @@ fn2K: # @fn2K i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end63: .size fn2K, .Lfunc_end63-fn2K @@ -2368,7 +2359,7 @@ retitK: # @retitK i32.load $push1=, sK($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end64: .size retitK, .Lfunc_end64-retitK @@ -2386,15 +2377,16 @@ fn3K: # @fn3K i32.const $push10=, 0 i32.load $push9=, sK($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 63 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 63 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -64 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sK($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end65: .size fn3K, .Lfunc_end65-fn3K @@ -2404,72 +2396,72 @@ fn3K: # @fn3K .globl testK .type testK,@function testK: # @testK - .local i32, i32 + .local i32 # BB#0: # %if.end129 i32.const $push1=, 0 - i32.const $push56=, 0 - i32.load $push2=, myrnd.s($pop56) + i32.const $push57=, 0 + i32.load $push2=, myrnd.s($pop57) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push55=, $pop4, $pop5 - tee_local $push54=, $1=, $pop55 + i32.add $push56=, $pop4, $pop5 + tee_local $push55=, $0=, $pop56 i32.const $push6=, 16 - i32.shr_u $push7=, $pop54, $pop6 + i32.shr_u $push7=, $pop55, $pop6 i32.store8 $drop=, sK($pop1), $pop7 - i32.const $push53=, 0 - i32.const $push52=, 1103515245 - i32.mul $push8=, $1, $pop52 - i32.const $push51=, 12345 - i32.add $push50=, $pop8, $pop51 - tee_local $push49=, $1=, $pop50 - i32.const $push48=, 16 - i32.shr_u $push9=, $pop49, $pop48 - i32.store8 $drop=, sK+1($pop53), $pop9 - i32.const $push47=, 0 - i32.const $push46=, 1103515245 - i32.mul $push10=, $1, $pop46 - i32.const $push45=, 12345 - i32.add $push44=, $pop10, $pop45 - tee_local $push43=, $1=, $pop44 - i32.const $push42=, 16 - i32.shr_u $push11=, $pop43, $pop42 - i32.store8 $drop=, sK+2($pop47), $pop11 - i32.const $push41=, 0 - i32.const $push40=, 1103515245 - i32.mul $push12=, $1, $pop40 - i32.const $push39=, 12345 - i32.add $push38=, $pop12, $pop39 - tee_local $push37=, $1=, $pop38 - i32.const $push36=, 16 - i32.shr_u $push13=, $pop37, $pop36 - i32.store8 $drop=, sK+3($pop41), $pop13 + i32.const $push54=, 0 + i32.const $push53=, 1103515245 + i32.mul $push8=, $0, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop8, $pop52 + tee_local $push50=, $0=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push9=, $pop50, $pop49 + i32.store8 $drop=, sK+1($pop54), $pop9 + i32.const $push48=, 0 + i32.const $push47=, 1103515245 + i32.mul $push10=, $0, $pop47 + i32.const $push46=, 12345 + i32.add $push45=, $pop10, $pop46 + tee_local $push44=, $0=, $pop45 + i32.const $push43=, 16 + i32.shr_u $push11=, $pop44, $pop43 + i32.store8 $drop=, sK+2($pop48), $pop11 + i32.const $push42=, 0 + i32.const $push41=, 1103515245 + i32.mul $push12=, $0, $pop41 + i32.const $push40=, 12345 + i32.add $push39=, $pop12, $pop40 + tee_local $push38=, $0=, $pop39 + i32.const $push37=, 16 + i32.shr_u $push13=, $pop38, $pop37 + i32.store8 $drop=, sK+3($pop42), $pop13 + i32.const $push36=, 0 i32.const $push35=, 0 - i32.load $0=, sK($pop35) - i32.const $push34=, 0 - i32.const $push33=, 0 - i32.const $push16=, -341751747 - i32.mul $push17=, $1, $pop16 - i32.const $push18=, 229283573 - i32.add $push32=, $pop17, $pop18 - tee_local $push31=, $1=, $pop32 - i32.const $push30=, 1103515245 - i32.mul $push20=, $pop31, $pop30 - i32.const $push29=, 12345 - i32.add $push21=, $pop20, $pop29 - i32.store $push0=, myrnd.s($pop33), $pop21 - i32.const $push28=, 16 - i32.shr_u $push22=, $pop0, $pop28 - i32.const $push27=, 16 - i32.shr_u $push19=, $1, $pop27 - i32.add $push23=, $pop22, $pop19 - i32.const $push24=, 63 - i32.and $push25=, $pop23, $pop24 - i32.const $push14=, -64 - i32.and $push15=, $0, $pop14 - i32.or $push26=, $pop25, $pop15 - i32.store $drop=, sK($pop34), $pop26 - return + i32.const $push14=, -341751747 + i32.mul $push15=, $0, $pop14 + i32.const $push16=, 229283573 + i32.add $push34=, $pop15, $pop16 + tee_local $push33=, $0=, $pop34 + i32.const $push32=, 1103515245 + i32.mul $push17=, $pop33, $pop32 + i32.const $push31=, 12345 + i32.add $push18=, $pop17, $pop31 + i32.store $push0=, myrnd.s($pop35), $pop18 + i32.const $push30=, 16 + i32.shr_u $push20=, $pop0, $pop30 + i32.const $push29=, 16 + i32.shr_u $push19=, $0, $pop29 + i32.add $push21=, $pop20, $pop19 + i32.const $push22=, 63 + i32.and $push23=, $pop21, $pop22 + i32.const $push28=, 0 + i32.load $push24=, sK($pop28) + i32.const $push25=, -64 + i32.and $push26=, $pop24, $pop25 + i32.or $push27=, $pop23, $pop26 + i32.store $drop=, sK($pop36), $pop27 + # fallthrough-return .endfunc .Lfunc_end66: .size testK, .Lfunc_end66-testK @@ -2483,7 +2475,7 @@ retmeL: # @retmeL # BB#0: # %entry i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end67: .size retmeL, .Lfunc_end67-retmeL @@ -2501,7 +2493,7 @@ fn1L: # @fn1L i32.add $push2=, $pop1, $0 i32.const $push3=, 63 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end68: .size fn1L, .Lfunc_end68-fn1L @@ -2521,7 +2513,7 @@ fn2L: # @fn2L i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end69: .size fn2L, .Lfunc_end69-fn2L @@ -2537,7 +2529,7 @@ retitL: # @retitL i32.load $push1=, sL($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end70: .size retitL, .Lfunc_end70-retitL @@ -2555,15 +2547,16 @@ fn3L: # @fn3L i32.const $push10=, 0 i32.load $push9=, sL($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 63 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 63 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -64 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sL($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end71: .size fn3L, .Lfunc_end71-fn3L @@ -2573,141 +2566,141 @@ fn3L: # @fn3L .globl testL .type testL,@function testL: # @testL - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push107=, 0 - i32.const $push106=, 0 - i32.load $push1=, myrnd.s($pop106) - i32.const $push105=, 1103515245 - i32.mul $push2=, $pop1, $pop105 - i32.const $push104=, 12345 - i32.add $push103=, $pop2, $pop104 - tee_local $push102=, $4=, $pop103 - i32.const $push101=, 16 - i32.shr_u $push3=, $pop102, $pop101 - i32.store8 $drop=, sL($pop107), $pop3 - i32.const $push100=, 0 - i32.const $push99=, 1103515245 - i32.mul $push4=, $4, $pop99 - i32.const $push98=, 12345 - i32.add $push97=, $pop4, $pop98 - tee_local $push96=, $4=, $pop97 - i32.const $push95=, 16 - i32.shr_u $push5=, $pop96, $pop95 - i32.store8 $drop=, sL+1($pop100), $pop5 - i32.const $push94=, 0 - i32.const $push93=, 1103515245 - i32.mul $push6=, $4, $pop93 - i32.const $push92=, 12345 - i32.add $push91=, $pop6, $pop92 - tee_local $push90=, $4=, $pop91 - i32.const $push89=, 16 - i32.shr_u $push7=, $pop90, $pop89 - i32.store8 $drop=, sL+2($pop94), $pop7 - i32.const $push88=, 0 - i32.const $push87=, 1103515245 - i32.mul $push8=, $4, $pop87 - i32.const $push86=, 12345 - i32.add $push85=, $pop8, $pop86 - tee_local $push84=, $4=, $pop85 - i32.const $push83=, 16 - i32.shr_u $push9=, $pop84, $pop83 - i32.store8 $drop=, sL+3($pop88), $pop9 - i32.const $push82=, 0 - i32.const $push81=, 1103515245 - i32.mul $push10=, $4, $pop81 - i32.const $push80=, 12345 - i32.add $push79=, $pop10, $pop80 - tee_local $push78=, $4=, $pop79 - i32.const $push77=, 16 - i32.shr_u $push11=, $pop78, $pop77 - i32.store8 $drop=, sL+4($pop82), $pop11 - i32.const $push76=, 0 - i32.const $push75=, 1103515245 - i32.mul $push12=, $4, $pop75 - i32.const $push74=, 12345 - i32.add $push73=, $pop12, $pop74 - tee_local $push72=, $4=, $pop73 - i32.const $push71=, 16 - i32.shr_u $push13=, $pop72, $pop71 - i32.store8 $drop=, sL+5($pop76), $pop13 - i32.const $push70=, 0 - i32.const $push69=, 1103515245 - i32.mul $push14=, $4, $pop69 - i32.const $push68=, 12345 - i32.add $push67=, $pop14, $pop68 - tee_local $push66=, $4=, $pop67 - i32.const $push65=, 16 - i32.shr_u $push15=, $pop66, $pop65 - i32.store8 $drop=, sL+6($pop70), $pop15 - i32.const $push64=, 0 - i32.const $push63=, 1103515245 - i32.mul $push16=, $4, $pop63 - i32.const $push62=, 12345 - i32.add $push61=, $pop16, $pop62 - tee_local $push60=, $4=, $pop61 - i32.const $push59=, 16 - i32.shr_u $push17=, $pop60, $pop59 - i32.store8 $drop=, sL+7($pop64), $pop17 - i32.const $push58=, 0 - i32.load $2=, sL($pop58) - i32.const $push57=, 0 - i32.const $push56=, 1103515245 - i32.mul $push18=, $4, $pop56 - i32.const $push55=, 12345 - i32.add $push54=, $pop18, $pop55 - tee_local $push53=, $4=, $pop54 - i32.const $push52=, 1103515245 - i32.mul $push19=, $pop53, $pop52 - i32.const $push51=, 12345 - i32.add $push50=, $pop19, $pop51 - tee_local $push49=, $3=, $pop50 - i32.store $0=, myrnd.s($pop57), $pop49 - i32.const $push48=, 0 - i32.const $push47=, 16 - i32.shr_u $push46=, $4, $pop47 - tee_local $push45=, $4=, $pop46 - i32.const $push44=, 63 - i32.and $push20=, $pop45, $pop44 - i32.const $push43=, -64 - i32.and $push21=, $2, $pop43 - i32.or $push42=, $pop20, $pop21 - tee_local $push41=, $2=, $pop42 - i32.store $1=, sL($pop48), $pop41 + i32.const $push109=, 0 + i32.const $push108=, 0 + i32.load $push3=, myrnd.s($pop108) + i32.const $push107=, 1103515245 + i32.mul $push4=, $pop3, $pop107 + i32.const $push106=, 12345 + i32.add $push105=, $pop4, $pop106 + tee_local $push104=, $1=, $pop105 + i32.const $push103=, 16 + i32.shr_u $push5=, $pop104, $pop103 + i32.store8 $drop=, sL($pop109), $pop5 + i32.const $push102=, 0 + i32.const $push101=, 1103515245 + i32.mul $push6=, $1, $pop101 + i32.const $push100=, 12345 + i32.add $push99=, $pop6, $pop100 + tee_local $push98=, $1=, $pop99 + i32.const $push97=, 16 + i32.shr_u $push7=, $pop98, $pop97 + i32.store8 $drop=, sL+1($pop102), $pop7 + i32.const $push96=, 0 + i32.const $push95=, 1103515245 + i32.mul $push8=, $1, $pop95 + i32.const $push94=, 12345 + i32.add $push93=, $pop8, $pop94 + tee_local $push92=, $1=, $pop93 + i32.const $push91=, 16 + i32.shr_u $push9=, $pop92, $pop91 + i32.store8 $drop=, sL+2($pop96), $pop9 + i32.const $push90=, 0 + i32.const $push89=, 1103515245 + i32.mul $push10=, $1, $pop89 + i32.const $push88=, 12345 + i32.add $push87=, $pop10, $pop88 + tee_local $push86=, $1=, $pop87 + i32.const $push85=, 16 + i32.shr_u $push11=, $pop86, $pop85 + i32.store8 $drop=, sL+3($pop90), $pop11 + i32.const $push84=, 0 + i32.const $push83=, 1103515245 + i32.mul $push12=, $1, $pop83 + i32.const $push82=, 12345 + i32.add $push81=, $pop12, $pop82 + tee_local $push80=, $1=, $pop81 + i32.const $push79=, 16 + i32.shr_u $push13=, $pop80, $pop79 + i32.store8 $drop=, sL+4($pop84), $pop13 + i32.const $push78=, 0 + i32.const $push77=, 1103515245 + i32.mul $push14=, $1, $pop77 + i32.const $push76=, 12345 + i32.add $push75=, $pop14, $pop76 + tee_local $push74=, $1=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push15=, $pop74, $pop73 + i32.store8 $drop=, sL+5($pop78), $pop15 + i32.const $push72=, 0 + i32.const $push71=, 1103515245 + i32.mul $push16=, $1, $pop71 + i32.const $push70=, 12345 + i32.add $push69=, $pop16, $pop70 + tee_local $push68=, $1=, $pop69 + i32.const $push67=, 16 + i32.shr_u $push17=, $pop68, $pop67 + i32.store8 $drop=, sL+6($pop72), $pop17 + i32.const $push66=, 0 + i32.const $push65=, 1103515245 + i32.mul $push18=, $1, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop18, $pop64 + tee_local $push62=, $1=, $pop63 + i32.const $push61=, 16 + i32.shr_u $push19=, $pop62, $pop61 + i32.store8 $drop=, sL+7($pop66), $pop19 + i32.const $push60=, 0 + i32.load $2=, sL($pop60) block - i32.const $push40=, 16 - i32.shr_u $push39=, $3, $pop40 - tee_local $push38=, $3=, $pop39 - i32.add $push23=, $pop38, $4 - i32.add $push22=, $2, $3 - i32.xor $push24=, $pop23, $pop22 - i32.const $push37=, 63 - i32.and $push25=, $pop24, $pop37 - br_if 0, $pop25 # 0: down to label1 + i32.const $push59=, 0 + i32.const $push58=, 1103515245 + i32.mul $push20=, $1, $pop58 + i32.const $push57=, 12345 + i32.add $push56=, $pop20, $pop57 + tee_local $push55=, $1=, $pop56 + i32.const $push54=, 1103515245 + i32.mul $push21=, $pop55, $pop54 + i32.const $push53=, 12345 + i32.add $push1=, $pop21, $pop53 + i32.store $push52=, myrnd.s($pop59), $pop1 + tee_local $push51=, $0=, $pop52 + i32.const $push50=, 16 + i32.shr_u $push49=, $pop51, $pop50 + tee_local $push48=, $3=, $pop49 + i32.const $push47=, 16 + i32.shr_u $push46=, $1, $pop47 + tee_local $push45=, $1=, $pop46 + i32.add $push25=, $pop48, $pop45 + i32.const $push44=, 0 + i32.const $push43=, 63 + i32.and $push23=, $1, $pop43 + i32.const $push42=, -64 + i32.and $push22=, $2, $pop42 + i32.or $push2=, $pop23, $pop22 + i32.store $push41=, sL($pop44), $pop2 + tee_local $push40=, $1=, $pop41 + i32.add $push24=, $pop40, $3 + i32.xor $push26=, $pop25, $pop24 + i32.const $push39=, 63 + i32.and $push27=, $pop26, $pop39 + br_if 0, $pop27 # 0: down to label1 # BB#1: # %if.end75 - i32.const $push117=, 0 - i32.const $push116=, 0 - i32.const $push27=, -2139243339 - i32.mul $push28=, $0, $pop27 - i32.const $push29=, -1492899873 - i32.add $push115=, $pop28, $pop29 - tee_local $push114=, $4=, $pop115 - i32.const $push113=, 1103515245 - i32.mul $push31=, $pop114, $pop113 - i32.const $push112=, 12345 - i32.add $push32=, $pop31, $pop112 - i32.store $push0=, myrnd.s($pop116), $pop32 - i32.const $push111=, 16 - i32.shr_u $push33=, $pop0, $pop111 - i32.const $push110=, 16 - i32.shr_u $push30=, $4, $pop110 - i32.add $push34=, $pop33, $pop30 - i32.const $push109=, 63 - i32.and $push35=, $pop34, $pop109 - i32.const $push108=, -64 - i32.and $push26=, $1, $pop108 - i32.or $push36=, $pop35, $pop26 - i32.store $drop=, sL($pop117), $pop36 + i32.const $push119=, 0 + i32.const $push118=, 0 + i32.const $push28=, -2139243339 + i32.mul $push29=, $0, $pop28 + i32.const $push30=, -1492899873 + i32.add $push117=, $pop29, $pop30 + tee_local $push116=, $2=, $pop117 + i32.const $push115=, 1103515245 + i32.mul $push31=, $pop116, $pop115 + i32.const $push114=, 12345 + i32.add $push32=, $pop31, $pop114 + i32.store $push0=, myrnd.s($pop118), $pop32 + i32.const $push113=, 16 + i32.shr_u $push34=, $pop0, $pop113 + i32.const $push112=, 16 + i32.shr_u $push33=, $2, $pop112 + i32.add $push35=, $pop34, $pop33 + i32.const $push111=, 63 + i32.and $push36=, $pop35, $pop111 + i32.const $push110=, -64 + i32.and $push37=, $1, $pop110 + i32.or $push38=, $pop36, $pop37 + i32.store $drop=, sL($pop119), $pop38 return .LBB72_2: # %if.then end_block # label1: @@ -2726,7 +2719,7 @@ retmeM: # @retmeM # BB#0: # %entry i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end73: .size retmeM, .Lfunc_end73-retmeM @@ -2744,7 +2737,7 @@ fn1M: # @fn1M i32.add $push2=, $pop1, $0 i32.const $push3=, 63 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end74: .size fn1M, .Lfunc_end74-fn1M @@ -2764,7 +2757,7 @@ fn2M: # @fn2M i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end75: .size fn2M, .Lfunc_end75-fn2M @@ -2780,7 +2773,7 @@ retitM: # @retitM i32.load $push1=, sM+4($pop0) i32.const $push2=, 63 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end76: .size retitM, .Lfunc_end76-retitM @@ -2798,15 +2791,16 @@ fn3M: # @fn3M i32.const $push10=, 0 i32.load $push9=, sM+4($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 63 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 63 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -64 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -64 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sM+4($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end77: .size fn3M, .Lfunc_end77-fn3M @@ -2816,139 +2810,138 @@ fn3M: # @fn3M .globl testM .type testM,@function testM: # @testM - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry i32.const $push106=, 0 i32.const $push105=, 0 - i32.load $push1=, myrnd.s($pop105) + i32.load $push3=, myrnd.s($pop105) i32.const $push104=, 1103515245 - i32.mul $push2=, $pop1, $pop104 + i32.mul $push4=, $pop3, $pop104 i32.const $push103=, 12345 - i32.add $push102=, $pop2, $pop103 - tee_local $push101=, $4=, $pop102 + i32.add $push102=, $pop4, $pop103 + tee_local $push101=, $0=, $pop102 i32.const $push100=, 16 - i32.shr_u $push3=, $pop101, $pop100 - i32.store8 $drop=, sM($pop106), $pop3 + i32.shr_u $push5=, $pop101, $pop100 + i32.store8 $drop=, sM($pop106), $pop5 i32.const $push99=, 0 i32.const $push98=, 1103515245 - i32.mul $push4=, $4, $pop98 + i32.mul $push6=, $0, $pop98 i32.const $push97=, 12345 - i32.add $push96=, $pop4, $pop97 - tee_local $push95=, $4=, $pop96 + i32.add $push96=, $pop6, $pop97 + tee_local $push95=, $0=, $pop96 i32.const $push94=, 16 - i32.shr_u $push5=, $pop95, $pop94 - i32.store8 $drop=, sM+1($pop99), $pop5 + i32.shr_u $push7=, $pop95, $pop94 + i32.store8 $drop=, sM+1($pop99), $pop7 i32.const $push93=, 0 i32.const $push92=, 1103515245 - i32.mul $push6=, $4, $pop92 + i32.mul $push8=, $0, $pop92 i32.const $push91=, 12345 - i32.add $push90=, $pop6, $pop91 - tee_local $push89=, $4=, $pop90 + i32.add $push90=, $pop8, $pop91 + tee_local $push89=, $0=, $pop90 i32.const $push88=, 16 - i32.shr_u $push7=, $pop89, $pop88 - i32.store8 $drop=, sM+2($pop93), $pop7 + i32.shr_u $push9=, $pop89, $pop88 + i32.store8 $drop=, sM+2($pop93), $pop9 i32.const $push87=, 0 i32.const $push86=, 1103515245 - i32.mul $push8=, $4, $pop86 + i32.mul $push10=, $0, $pop86 i32.const $push85=, 12345 - i32.add $push84=, $pop8, $pop85 - tee_local $push83=, $4=, $pop84 - i32.const $push82=, 1103515245 - i32.mul $push10=, $pop83, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop10, $pop81 - tee_local $push79=, $3=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push11=, $pop79, $pop78 - i32.store8 $drop=, sM+4($pop87), $pop11 - i32.const $push77=, 0 - i32.const $push76=, 1103515245 - i32.mul $push12=, $3, $pop76 - i32.const $push75=, 12345 - i32.add $push74=, $pop12, $pop75 - tee_local $push73=, $3=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push13=, $pop73, $pop72 - i32.store8 $drop=, sM+5($pop77), $pop13 - i32.const $push71=, 0 - i32.const $push70=, 1103515245 - i32.mul $push14=, $3, $pop70 - i32.const $push69=, 12345 - i32.add $push68=, $pop14, $pop69 - tee_local $push67=, $3=, $pop68 - i32.const $push66=, 16 - i32.shr_u $push15=, $pop67, $pop66 - i32.store8 $drop=, sM+6($pop71), $pop15 - i32.const $push65=, 0 - i32.const $push64=, 1103515245 - i32.mul $push16=, $3, $pop64 - i32.const $push63=, 12345 - i32.add $push62=, $pop16, $pop63 - tee_local $push61=, $3=, $pop62 - i32.const $push60=, 16 - i32.shr_u $push17=, $pop61, $pop60 - i32.store8 $drop=, sM+7($pop65), $pop17 - i32.const $push59=, 0 - i32.load $1=, sM+4($pop59) - i32.const $push58=, 0 - i32.const $push57=, 16 - i32.shr_u $push9=, $4, $pop57 - i32.store8 $drop=, sM+3($pop58), $pop9 + i32.add $push84=, $pop10, $pop85 + tee_local $push83=, $0=, $pop84 + i32.const $push82=, 16 + i32.shr_u $push11=, $pop83, $pop82 + i32.store8 $drop=, sM+3($pop87), $pop11 + i32.const $push81=, 0 + i32.const $push80=, 1103515245 + i32.mul $push12=, $0, $pop80 + i32.const $push79=, 12345 + i32.add $push78=, $pop12, $pop79 + tee_local $push77=, $0=, $pop78 + i32.const $push76=, 16 + i32.shr_u $push13=, $pop77, $pop76 + i32.store8 $drop=, sM+4($pop81), $pop13 + i32.const $push75=, 0 + i32.const $push74=, 1103515245 + i32.mul $push14=, $0, $pop74 + i32.const $push73=, 12345 + i32.add $push72=, $pop14, $pop73 + tee_local $push71=, $0=, $pop72 + i32.const $push70=, 16 + i32.shr_u $push15=, $pop71, $pop70 + i32.store8 $drop=, sM+5($pop75), $pop15 + i32.const $push69=, 0 + i32.const $push68=, 1103515245 + i32.mul $push16=, $0, $pop68 + i32.const $push67=, 12345 + i32.add $push66=, $pop16, $pop67 + tee_local $push65=, $0=, $pop66 + i32.const $push64=, 16 + i32.shr_u $push17=, $pop65, $pop64 + i32.store8 $drop=, sM+6($pop69), $pop17 + i32.const $push63=, 0 + i32.const $push62=, 1103515245 + i32.mul $push18=, $0, $pop62 + i32.const $push61=, 12345 + i32.add $push60=, $pop18, $pop61 + tee_local $push59=, $0=, $pop60 + i32.const $push58=, 16 + i32.shr_u $push19=, $pop59, $pop58 + i32.store8 $drop=, sM+7($pop63), $pop19 + i32.const $push57=, 0 + i32.load $3=, sM+4($pop57) i32.const $push56=, 0 i32.const $push55=, 1103515245 - i32.mul $push18=, $3, $pop55 + i32.mul $push20=, $0, $pop55 i32.const $push54=, 12345 - i32.add $push53=, $pop18, $pop54 - tee_local $push52=, $4=, $pop53 - i32.const $push51=, 16 - i32.shr_u $push50=, $pop52, $pop51 - tee_local $push49=, $3=, $pop50 - i32.const $push48=, 63 - i32.and $push20=, $pop49, $pop48 - i32.const $push21=, -64 - i32.and $push47=, $1, $pop21 - tee_local $push46=, $2=, $pop47 - i32.or $push22=, $pop20, $pop46 - i32.store $1=, sM+4($pop56), $pop22 - i32.const $push45=, 0 - i32.const $push44=, 1103515245 - i32.mul $push19=, $4, $pop44 - i32.const $push43=, 12345 - i32.add $push42=, $pop19, $pop43 - tee_local $push41=, $4=, $pop42 - i32.store $0=, myrnd.s($pop45), $pop41 + i32.add $push53=, $pop20, $pop54 + tee_local $push52=, $2=, $pop53 + i32.const $push51=, 1103515245 + i32.mul $push21=, $pop52, $pop51 + i32.const $push50=, 12345 + i32.add $push2=, $pop21, $pop50 + i32.store $0=, myrnd.s($pop56), $pop2 block - i32.const $push40=, 16 - i32.shr_u $push39=, $4, $pop40 - tee_local $push38=, $4=, $pop39 - i32.add $push23=, $1, $pop38 - i32.add $push24=, $4, $3 - i32.xor $push25=, $pop23, $pop24 - i32.const $push37=, 63 - i32.and $push26=, $pop25, $pop37 - br_if 0, $pop26 # 0: down to label2 + i32.const $push49=, 0 + i32.const $push48=, 16 + i32.shr_u $push47=, $2, $pop48 + tee_local $push46=, $2=, $pop47 + i32.const $push45=, 63 + i32.and $push23=, $pop46, $pop45 + i32.const $push22=, -64 + i32.and $push44=, $3, $pop22 + tee_local $push43=, $1=, $pop44 + i32.or $push24=, $pop23, $pop43 + i32.store $push0=, sM+4($pop49), $pop24 + i32.const $push42=, 16 + i32.shr_u $push41=, $0, $pop42 + tee_local $push40=, $3=, $pop41 + i32.add $push26=, $pop0, $pop40 + i32.add $push25=, $3, $2 + i32.xor $push27=, $pop26, $pop25 + i32.const $push39=, 63 + i32.and $push28=, $pop27, $pop39 + br_if 0, $pop28 # 0: down to label2 # BB#1: # %if.end107 i32.const $push115=, 0 i32.const $push114=, 0 - i32.const $push27=, -2139243339 - i32.mul $push28=, $0, $pop27 - i32.const $push29=, -1492899873 - i32.add $push113=, $pop28, $pop29 - tee_local $push112=, $4=, $pop113 + i32.const $push29=, -2139243339 + i32.mul $push30=, $0, $pop29 + i32.const $push31=, -1492899873 + i32.add $push113=, $pop30, $pop31 + tee_local $push112=, $0=, $pop113 i32.const $push111=, 1103515245 - i32.mul $push31=, $pop112, $pop111 + i32.mul $push32=, $pop112, $pop111 i32.const $push110=, 12345 - i32.add $push32=, $pop31, $pop110 - i32.store $push0=, myrnd.s($pop114), $pop32 + i32.add $push33=, $pop32, $pop110 + i32.store $push1=, myrnd.s($pop114), $pop33 i32.const $push109=, 16 - i32.shr_u $push33=, $pop0, $pop109 + i32.shr_u $push35=, $pop1, $pop109 i32.const $push108=, 16 - i32.shr_u $push30=, $4, $pop108 - i32.add $push34=, $pop33, $pop30 + i32.shr_u $push34=, $0, $pop108 + i32.add $push36=, $pop35, $pop34 i32.const $push107=, 63 - i32.and $push35=, $pop34, $pop107 - i32.or $push36=, $pop35, $2 - i32.store $drop=, sM+4($pop115), $pop36 + i32.and $push37=, $pop36, $pop107 + i32.or $push38=, $pop37, $1 + i32.store $drop=, sM+4($pop115), $pop38 return .LBB78_2: # %if.then end_block # label2: @@ -2967,7 +2960,7 @@ retmeN: # @retmeN # BB#0: # %entry i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end79: .size retmeN, .Lfunc_end79-retmeN @@ -2987,7 +2980,7 @@ fn1N: # @fn1N i32.add $push4=, $pop3, $0 i32.const $push5=, 63 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end80: .size fn1N, .Lfunc_end80-fn1N @@ -3009,7 +3002,7 @@ fn2N: # @fn2N i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end81: .size fn2N, .Lfunc_end81-fn2N @@ -3027,7 +3020,7 @@ retitN: # @retitN i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 63 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end82: .size retitN, .Lfunc_end82-retitN @@ -3045,23 +3038,23 @@ fn3N: # @fn3N i32.const $push18=, 0 i64.load $push17=, sN($pop18) tee_local $push16=, $1=, $pop17 - i64.const $push1=, 6 - i64.shr_u $push2=, $pop16, $pop1 - i32.wrap/i64 $push3=, $pop2 - i32.add $push15=, $pop3, $0 + i64.const $push3=, 6 + i64.shr_u $push4=, $pop16, $pop3 + i32.wrap/i64 $push5=, $pop4 + i32.add $push15=, $pop5, $0 tee_local $push14=, $0=, $pop15 - i32.const $push4=, 6 - i32.shl $push5=, $pop14, $pop4 - i64.extend_u/i32 $push6=, $pop5 - i64.const $push7=, 4032 - i64.and $push8=, $pop6, $pop7 - i64.const $push9=, -4033 - i64.and $push10=, $1, $pop9 - i64.or $push11=, $pop8, $pop10 + i32.const $push6=, 6 + i32.shl $push7=, $pop14, $pop6 + i64.extend_u/i32 $push8=, $pop7 + i64.const $push9=, 4032 + i64.and $push10=, $pop8, $pop9 + i64.const $push1=, -4033 + i64.and $push2=, $1, $pop1 + i64.or $push11=, $pop10, $pop2 i64.store $drop=, sN($pop0), $pop11 i32.const $push12=, 63 i32.and $push13=, $0, $pop12 - return $pop13 + # fallthrough-return: $pop13 .endfunc .Lfunc_end83: .size fn3N, .Lfunc_end83-fn3N @@ -3071,113 +3064,112 @@ fn3N: # @fn3N .globl testN .type testN,@function testN: # @testN - .local i32, i32, i64, i64, i64, i32, i32, i32 + .local i32, i64, i32, i64, i32, i32, i32, i64 # BB#0: # %lor.lhs.false i32.const $push5=, 0 - i32.const $push167=, 0 - i32.load $push6=, myrnd.s($pop167) + i32.const $push165=, 0 + i32.load $push6=, myrnd.s($pop165) i32.const $push7=, 1103515245 i32.mul $push8=, $pop6, $pop7 i32.const $push9=, 12345 - i32.add $push166=, $pop8, $pop9 - tee_local $push165=, $5=, $pop166 - i32.const $push164=, 16 - i32.shr_u $push10=, $pop165, $pop164 + i32.add $push164=, $pop8, $pop9 + tee_local $push163=, $6=, $pop164 + i32.const $push162=, 16 + i32.shr_u $push10=, $pop163, $pop162 i32.store8 $drop=, sN($pop5), $pop10 - i32.const $push163=, 0 - i32.const $push162=, 1103515245 - i32.mul $push11=, $5, $pop162 - i32.const $push161=, 12345 - i32.add $push160=, $pop11, $pop161 - tee_local $push159=, $5=, $pop160 - i32.const $push158=, 16 - i32.shr_u $push12=, $pop159, $pop158 - i32.store8 $drop=, sN+1($pop163), $pop12 - i32.const $push157=, 0 - i32.const $push156=, 1103515245 - i32.mul $push13=, $5, $pop156 - i32.const $push155=, 12345 - i32.add $push154=, $pop13, $pop155 - tee_local $push153=, $5=, $pop154 - i32.const $push152=, 16 - i32.shr_u $push14=, $pop153, $pop152 - i32.store8 $drop=, sN+2($pop157), $pop14 - i32.const $push151=, 0 - i32.const $push150=, 1103515245 - i32.mul $push15=, $5, $pop150 - i32.const $push149=, 12345 - i32.add $push148=, $pop15, $pop149 - tee_local $push147=, $5=, $pop148 - i32.const $push146=, 16 - i32.shr_u $push16=, $pop147, $pop146 - i32.store8 $drop=, sN+3($pop151), $pop16 - i32.const $push145=, 0 - i32.const $push144=, 1103515245 - i32.mul $push17=, $5, $pop144 - i32.const $push143=, 12345 - i32.add $push142=, $pop17, $pop143 - tee_local $push141=, $5=, $pop142 - i32.const $push140=, 16 - i32.shr_u $push18=, $pop141, $pop140 - i32.store8 $drop=, sN+4($pop145), $pop18 - i32.const $push139=, 0 - i32.const $push138=, 1103515245 - i32.mul $push19=, $5, $pop138 - i32.const $push137=, 12345 - i32.add $push136=, $pop19, $pop137 - tee_local $push135=, $5=, $pop136 - i32.const $push134=, 16 - i32.shr_u $push20=, $pop135, $pop134 - i32.store8 $drop=, sN+5($pop139), $pop20 - i32.const $push133=, 0 - i32.const $push132=, 1103515245 - i32.mul $push21=, $5, $pop132 - i32.const $push131=, 12345 - i32.add $push130=, $pop21, $pop131 - tee_local $push129=, $5=, $pop130 - i32.const $push128=, 16 - i32.shr_u $push22=, $pop129, $pop128 - i32.store8 $drop=, sN+6($pop133), $pop22 - i32.const $push127=, 0 - i32.const $push126=, 1103515245 - i32.mul $push23=, $5, $pop126 - i32.const $push125=, 12345 - i32.add $push124=, $pop23, $pop125 - tee_local $push123=, $5=, $pop124 - i32.const $push122=, 16 - i32.shr_u $push24=, $pop123, $pop122 - i32.store8 $drop=, sN+7($pop127), $pop24 - i32.const $push121=, 0 - i32.const $push120=, 1103515245 - i32.mul $push27=, $5, $pop120 - i32.const $push119=, 12345 - i32.add $push118=, $pop27, $pop119 - tee_local $push117=, $5=, $pop118 - i32.const $push116=, 1103515245 - i32.mul $push28=, $pop117, $pop116 - i32.const $push115=, 12345 - i32.add $push1=, $pop28, $pop115 - i32.store $0=, myrnd.s($pop121), $pop1 + i32.const $push161=, 0 + i32.const $push160=, 1103515245 + i32.mul $push11=, $6, $pop160 + i32.const $push159=, 12345 + i32.add $push158=, $pop11, $pop159 + tee_local $push157=, $6=, $pop158 + i32.const $push156=, 16 + i32.shr_u $push12=, $pop157, $pop156 + i32.store8 $drop=, sN+1($pop161), $pop12 + i32.const $push155=, 0 + i32.const $push154=, 1103515245 + i32.mul $push13=, $6, $pop154 + i32.const $push153=, 12345 + i32.add $push152=, $pop13, $pop153 + tee_local $push151=, $6=, $pop152 + i32.const $push150=, 16 + i32.shr_u $push14=, $pop151, $pop150 + i32.store8 $drop=, sN+2($pop155), $pop14 + i32.const $push149=, 0 + i32.const $push148=, 1103515245 + i32.mul $push15=, $6, $pop148 + i32.const $push147=, 12345 + i32.add $push146=, $pop15, $pop147 + tee_local $push145=, $6=, $pop146 + i32.const $push144=, 16 + i32.shr_u $push16=, $pop145, $pop144 + i32.store8 $drop=, sN+3($pop149), $pop16 + i32.const $push143=, 0 + i32.const $push142=, 1103515245 + i32.mul $push17=, $6, $pop142 + i32.const $push141=, 12345 + i32.add $push140=, $pop17, $pop141 + tee_local $push139=, $6=, $pop140 + i32.const $push138=, 16 + i32.shr_u $push18=, $pop139, $pop138 + i32.store8 $drop=, sN+4($pop143), $pop18 + i32.const $push137=, 0 + i32.const $push136=, 1103515245 + i32.mul $push19=, $6, $pop136 + i32.const $push135=, 12345 + i32.add $push134=, $pop19, $pop135 + tee_local $push133=, $6=, $pop134 + i32.const $push132=, 16 + i32.shr_u $push20=, $pop133, $pop132 + i32.store8 $drop=, sN+5($pop137), $pop20 + i32.const $push131=, 0 + i32.const $push130=, 1103515245 + i32.mul $push21=, $6, $pop130 + i32.const $push129=, 12345 + i32.add $push128=, $pop21, $pop129 + tee_local $push127=, $6=, $pop128 + i32.const $push126=, 16 + i32.shr_u $push22=, $pop127, $pop126 + i32.store8 $drop=, sN+6($pop131), $pop22 + i32.const $push125=, 0 + i32.const $push124=, 1103515245 + i32.mul $push23=, $6, $pop124 + i32.const $push123=, 12345 + i32.add $push122=, $pop23, $pop123 + tee_local $push121=, $6=, $pop122 + i32.const $push120=, 16 + i32.shr_u $push24=, $pop121, $pop120 + i32.store8 $drop=, sN+7($pop125), $pop24 + i32.const $push119=, 0 + i64.load $7=, sN($pop119) + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push25=, $6, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop25, $pop116 + tee_local $push114=, $6=, $pop115 + i32.const $push113=, 1103515245 + i32.mul $push26=, $pop114, $pop113 + i32.const $push112=, 12345 + i32.add $push1=, $pop26, $pop112 + i32.store $0=, myrnd.s($pop118), $pop1 block - i32.const $push114=, 0 - i32.const $push29=, 10 - i32.shr_u $push30=, $5, $pop29 - i64.extend_u/i32 $push31=, $pop30 - i64.const $push25=, 4032 - i64.and $push32=, $pop31, $pop25 - i32.const $push113=, 0 - i64.load $push112=, sN($pop113) - tee_local $push111=, $4=, $pop112 - i64.const $push33=, -4033 - i64.and $push110=, $pop111, $pop33 + i32.const $push111=, 0 + i32.const $push28=, 10 + i32.shr_u $push29=, $6, $pop28 + i64.extend_u/i32 $push30=, $pop29 + i64.const $push31=, 4032 + i64.and $push32=, $pop30, $pop31 + i64.const $push27=, -4033 + i64.and $push110=, $7, $pop27 tee_local $push109=, $3=, $pop110 i64.or $push2=, $pop32, $pop109 - i64.store $push108=, sN($pop114), $pop2 - tee_local $push107=, $2=, $pop108 + i64.store $push108=, sN($pop111), $pop2 + tee_local $push107=, $1=, $pop108 i64.const $push106=, 4032 - i64.or $push26=, $4, $pop106 - i64.xor $push105=, $pop107, $pop26 - tee_local $push104=, $4=, $pop105 + i64.or $push35=, $7, $pop106 + i64.xor $push105=, $pop107, $pop35 + tee_local $push104=, $7=, $pop105 i64.const $push36=, 34359734272 i64.and $push37=, $pop104, $pop36 i64.const $push103=, 0 @@ -3185,134 +3177,134 @@ testN: # @testN br_if 0, $pop38 # 0: down to label3 # BB#1: # %lor.lhs.false29 i64.const $push42=, 63 - i64.and $push43=, $4, $pop42 - i64.const $push168=, 0 - i64.ne $push44=, $pop43, $pop168 + i64.and $push43=, $7, $pop42 + i64.const $push166=, 0 + i64.ne $push44=, $pop43, $pop166 br_if 0, $pop44 # 0: down to label3 # BB#2: # %lor.lhs.false29 - i64.const $push34=, 6 - i64.shr_u $push35=, $2, $pop34 - i32.wrap/i64 $push173=, $pop35 - tee_local $push172=, $6=, $pop173 - i32.const $push171=, 16 - i32.shr_u $push170=, $5, $pop171 - tee_local $push169=, $5=, $pop170 - i32.xor $push40=, $pop172, $pop169 + i64.const $push33=, 6 + i64.shr_u $push34=, $1, $pop33 + i32.wrap/i64 $push171=, $pop34 + tee_local $push170=, $4=, $pop171 + i32.const $push169=, 16 + i32.shr_u $push168=, $6, $pop169 + tee_local $push167=, $6=, $pop168 + i32.xor $push40=, $pop170, $pop167 i32.const $push41=, 63 i32.and $push39=, $pop40, $pop41 br_if 0, $pop39 # 0: down to label3 # BB#3: # %lor.lhs.false49 - i32.const $push177=, 16 - i32.shr_u $push176=, $0, $pop177 - tee_local $push175=, $7=, $pop176 - i32.add $push3=, $6, $pop175 - i32.add $push45=, $7, $5 + i32.const $push175=, 16 + i32.shr_u $push174=, $0, $pop175 + tee_local $push173=, $2=, $pop174 + i32.add $push3=, $4, $pop173 + i32.add $push45=, $2, $6 i32.xor $push46=, $pop3, $pop45 - i32.const $push174=, 63 - i32.and $push47=, $pop46, $pop174 + i32.const $push172=, 63 + i32.and $push47=, $pop46, $pop172 br_if 0, $pop47 # 0: down to label3 # BB#4: # %lor.lhs.false69 i32.const $push52=, 0 i32.const $push48=, 1103515245 i32.mul $push49=, $0, $pop48 i32.const $push50=, 12345 - i32.add $push193=, $pop49, $pop50 - tee_local $push192=, $5=, $pop193 - i32.const $push191=, 1103515245 - i32.mul $push51=, $pop192, $pop191 - i32.const $push190=, 12345 - i32.add $push4=, $pop51, $pop190 + i32.add $push191=, $pop49, $pop50 + tee_local $push190=, $6=, $pop191 + i32.const $push189=, 1103515245 + i32.mul $push51=, $pop190, $pop189 + i32.const $push188=, 12345 + i32.add $push4=, $pop51, $pop188 i32.store $0=, myrnd.s($pop52), $pop4 - i32.const $push189=, 0 + i32.const $push187=, 0 i32.const $push53=, 10 - i32.shr_u $push54=, $5, $pop53 + i32.shr_u $push54=, $6, $pop53 i64.extend_u/i32 $push55=, $pop54 i64.const $push56=, 4032 i64.and $push57=, $pop55, $pop56 i64.or $push58=, $pop57, $3 - i64.store $push188=, sN($pop189), $pop58 - tee_local $push187=, $4=, $pop188 + i64.store $push186=, sN($pop187), $pop58 + tee_local $push185=, $7=, $pop186 i64.const $push59=, 6 - i64.shr_u $push60=, $pop187, $pop59 - i32.wrap/i64 $push186=, $pop60 - tee_local $push185=, $6=, $pop186 - i32.const $push184=, 16 - i32.shr_u $push183=, $0, $pop184 - tee_local $push182=, $7=, $pop183 - i32.add $push61=, $pop185, $pop182 - i32.const $push181=, 63 - i32.and $push62=, $pop61, $pop181 + i64.shr_u $push60=, $pop185, $pop59 + i32.wrap/i64 $push184=, $pop60 + tee_local $push183=, $4=, $pop184 + i32.const $push182=, 16 + i32.shr_u $push181=, $0, $pop182 + tee_local $push180=, $2=, $pop181 + i32.add $push61=, $pop183, $pop180 + i32.const $push179=, 63 + i32.and $push62=, $pop61, $pop179 i32.const $push63=, 15 - i32.rem_u $1=, $pop62, $pop63 - i64.xor $push180=, $4, $2 - tee_local $push179=, $2=, $pop180 + i32.rem_u $5=, $pop62, $pop63 + i64.xor $push178=, $7, $1 + tee_local $push177=, $7=, $pop178 i64.const $push64=, 34359734272 - i64.and $push65=, $pop179, $pop64 - i64.const $push178=, 0 - i64.ne $push66=, $pop65, $pop178 + i64.and $push65=, $pop177, $pop64 + i64.const $push176=, 0 + i64.ne $push66=, $pop65, $pop176 br_if 0, $pop66 # 0: down to label3 # BB#5: # %lor.lhs.false80 i64.const $push70=, 63 - i64.and $push71=, $2, $pop70 - i64.const $push194=, 0 - i64.ne $push72=, $pop71, $pop194 + i64.and $push71=, $7, $pop70 + i64.const $push192=, 0 + i64.ne $push72=, $pop71, $pop192 br_if 0, $pop72 # 0: down to label3 # BB#6: # %lor.lhs.false80 - i32.const $push197=, 16 - i32.shr_u $push196=, $5, $pop197 - tee_local $push195=, $5=, $pop196 - i32.xor $push68=, $6, $pop195 + i32.const $push195=, 16 + i32.shr_u $push194=, $6, $pop195 + tee_local $push193=, $6=, $pop194 + i32.xor $push68=, $4, $pop193 i32.const $push69=, 63 i32.and $push67=, $pop68, $pop69 br_if 0, $pop67 # 0: down to label3 # BB#7: # %lor.lhs.false100 - i32.add $push73=, $7, $5 - i32.const $push198=, 63 - i32.and $push74=, $pop73, $pop198 + i32.add $push73=, $2, $6 + i32.const $push196=, 63 + i32.and $push74=, $pop73, $pop196 i32.const $push75=, 15 i32.rem_u $push76=, $pop74, $pop75 - i32.ne $push77=, $pop76, $1 + i32.ne $push77=, $pop76, $5 br_if 0, $pop77 # 0: down to label3 # BB#8: # %lor.lhs.false125 - i32.const $push85=, 0 + i32.const $push83=, 0 i32.const $push78=, 1103515245 i32.mul $push79=, $0, $pop78 i32.const $push80=, 12345 - i32.add $push210=, $pop79, $pop80 - tee_local $push209=, $5=, $pop210 - i32.const $push86=, 10 - i32.shr_u $push87=, $pop209, $pop86 - i64.extend_u/i32 $push88=, $pop87 - i64.const $push89=, 4032 - i64.and $push90=, $pop88, $pop89 - i64.or $push91=, $pop90, $3 - i64.const $push92=, 6 - i64.shr_u $push93=, $pop91, $pop92 - i32.wrap/i64 $push94=, $pop93 - i32.const $push208=, 0 - i32.const $push207=, 1103515245 - i32.mul $push83=, $5, $pop207 - i32.const $push206=, 12345 - i32.add $push84=, $pop83, $pop206 - i32.store $push0=, myrnd.s($pop208), $pop84 - i32.const $push81=, 16 - i32.shr_u $push205=, $pop0, $pop81 - tee_local $push204=, $0=, $pop205 - i32.add $push203=, $pop94, $pop204 - tee_local $push202=, $6=, $pop203 - i32.const $push95=, 6 - i32.shl $push96=, $pop202, $pop95 - i64.extend_u/i32 $push97=, $pop96 - i64.const $push201=, 4032 - i64.and $push98=, $pop97, $pop201 - i64.or $push99=, $pop98, $3 - i64.store $drop=, sN($pop85), $pop99 - i32.const $push200=, 16 - i32.shr_u $push82=, $5, $pop200 - i32.add $push100=, $0, $pop82 - i32.xor $push101=, $pop100, $6 - i32.const $push199=, 63 - i32.and $push102=, $pop101, $pop199 + i32.add $push208=, $pop79, $pop80 + tee_local $push207=, $6=, $pop208 + i32.const $push85=, 10 + i32.shr_u $push86=, $pop207, $pop85 + i64.extend_u/i32 $push87=, $pop86 + i64.const $push88=, 4032 + i64.and $push89=, $pop87, $pop88 + i64.or $push90=, $pop89, $3 + i64.const $push91=, 6 + i64.shr_u $push92=, $pop90, $pop91 + i32.wrap/i64 $push93=, $pop92 + i32.const $push206=, 0 + i32.const $push205=, 1103515245 + i32.mul $push81=, $6, $pop205 + i32.const $push204=, 12345 + i32.add $push82=, $pop81, $pop204 + i32.store $push0=, myrnd.s($pop206), $pop82 + i32.const $push84=, 16 + i32.shr_u $push203=, $pop0, $pop84 + tee_local $push202=, $0=, $pop203 + i32.add $push201=, $pop93, $pop202 + tee_local $push200=, $4=, $pop201 + i32.const $push94=, 6 + i32.shl $push95=, $pop200, $pop94 + i64.extend_u/i32 $push96=, $pop95 + i64.const $push199=, 4032 + i64.and $push97=, $pop96, $pop199 + i64.or $push98=, $pop97, $3 + i64.store $drop=, sN($pop83), $pop98 + i32.const $push198=, 16 + i32.shr_u $push99=, $6, $pop198 + i32.add $push100=, $0, $pop99 + i32.xor $push101=, $pop100, $4 + i32.const $push197=, 63 + i32.and $push102=, $pop101, $pop197 br_if 0, $pop102 # 0: down to label3 # BB#9: # %if.end158 return @@ -3330,17 +3322,16 @@ testN: # @testN .type retmeO,@function retmeO: # @retmeO .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3):p2align=0 + i64.store $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end85: .size retmeO, .Lfunc_end85-retmeO @@ -3358,7 +3349,7 @@ fn1O: # @fn1O i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end86: .size fn1O, .Lfunc_end86-fn1O @@ -3378,7 +3369,7 @@ fn2O: # @fn2O i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end87: .size fn2O, .Lfunc_end87-fn2O @@ -3394,7 +3385,7 @@ retitO: # @retitO i32.load $push1=, sO+8($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end88: .size retitO, .Lfunc_end88-retitO @@ -3412,19 +3403,19 @@ fn3O: # @fn3O i32.const $push14=, 0 i64.load $push13=, sO+8($pop14) tee_local $push12=, $1=, $pop13 - i32.wrap/i64 $push1=, $pop12 - i32.add $push11=, $pop1, $0 + i32.wrap/i64 $push3=, $pop12 + i32.add $push11=, $pop3, $0 tee_local $push10=, $0=, $pop11 - i64.extend_u/i32 $push2=, $pop10 - i64.const $push3=, 4095 - i64.and $push4=, $pop2, $pop3 - i64.const $push5=, -4096 - i64.and $push6=, $1, $pop5 - i64.or $push7=, $pop4, $pop6 + i64.extend_u/i32 $push4=, $pop10 + i64.const $push5=, 4095 + i64.and $push6=, $pop4, $pop5 + i64.const $push1=, -4096 + i64.and $push2=, $1, $pop1 + i64.or $push7=, $pop6, $pop2 i64.store $drop=, sO+8($pop0), $pop7 i32.const $push8=, 4095 i32.and $push9=, $0, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end89: .size fn3O, .Lfunc_end89-fn3O @@ -3437,277 +3428,279 @@ testO: # @testO .local i32, i64, i32, i32, i32 # BB#0: # %entry i32.const $push7=, 0 - i32.const $push204=, 0 - i32.load $push8=, myrnd.s($pop204) + i32.const $push206=, 0 + i32.load $push8=, myrnd.s($pop206) i32.const $push9=, 1103515245 i32.mul $push10=, $pop8, $pop9 i32.const $push11=, 12345 - i32.add $push203=, $pop10, $pop11 - tee_local $push202=, $2=, $pop203 - i32.const $push201=, 16 - i32.shr_u $push12=, $pop202, $pop201 + i32.add $push205=, $pop10, $pop11 + tee_local $push204=, $2=, $pop205 + i32.const $push203=, 16 + i32.shr_u $push12=, $pop204, $pop203 i32.store8 $drop=, sO($pop7), $pop12 - i32.const $push200=, 0 - i32.const $push199=, 1103515245 - i32.mul $push13=, $2, $pop199 - i32.const $push198=, 12345 - i32.add $push197=, $pop13, $pop198 - tee_local $push196=, $2=, $pop197 - i32.const $push195=, 16 - i32.shr_u $push14=, $pop196, $pop195 - i32.store8 $drop=, sO+1($pop200), $pop14 - i32.const $push194=, 0 - i32.const $push193=, 1103515245 - i32.mul $push15=, $2, $pop193 - i32.const $push192=, 12345 - i32.add $push191=, $pop15, $pop192 - tee_local $push190=, $2=, $pop191 - i32.const $push189=, 16 - i32.shr_u $push16=, $pop190, $pop189 - i32.store8 $drop=, sO+2($pop194), $pop16 - i32.const $push188=, 0 - i32.const $push187=, 1103515245 - i32.mul $push17=, $2, $pop187 - i32.const $push186=, 12345 - i32.add $push185=, $pop17, $pop186 - tee_local $push184=, $2=, $pop185 - i32.const $push183=, 16 - i32.shr_u $push18=, $pop184, $pop183 - i32.store8 $drop=, sO+3($pop188), $pop18 - i32.const $push182=, 0 - i32.const $push181=, 1103515245 - i32.mul $push19=, $2, $pop181 - i32.const $push180=, 12345 - i32.add $push179=, $pop19, $pop180 - tee_local $push178=, $2=, $pop179 - i32.const $push177=, 16 - i32.shr_u $push20=, $pop178, $pop177 - i32.store8 $drop=, sO+4($pop182), $pop20 - i32.const $push176=, 0 - i32.const $push175=, 1103515245 - i32.mul $push21=, $2, $pop175 - i32.const $push174=, 12345 - i32.add $push173=, $pop21, $pop174 - tee_local $push172=, $2=, $pop173 - i32.const $push171=, 16 - i32.shr_u $push22=, $pop172, $pop171 - i32.store8 $drop=, sO+5($pop176), $pop22 - i32.const $push170=, 0 - i32.const $push169=, 1103515245 - i32.mul $push23=, $2, $pop169 - i32.const $push168=, 12345 - i32.add $push167=, $pop23, $pop168 - tee_local $push166=, $2=, $pop167 - i32.const $push165=, 16 - i32.shr_u $push24=, $pop166, $pop165 - i32.store8 $drop=, sO+6($pop170), $pop24 - i32.const $push164=, 0 - i32.const $push163=, 1103515245 - i32.mul $push25=, $2, $pop163 - i32.const $push162=, 12345 - i32.add $push161=, $pop25, $pop162 - tee_local $push160=, $2=, $pop161 - i32.const $push159=, 16 - i32.shr_u $push26=, $pop160, $pop159 - i32.store8 $drop=, sO+7($pop164), $pop26 - i32.const $push158=, 0 - i32.const $push157=, 1103515245 - i32.mul $push27=, $2, $pop157 - i32.const $push156=, 12345 - i32.add $push155=, $pop27, $pop156 - tee_local $push154=, $2=, $pop155 - i32.const $push153=, 16 - i32.shr_u $push28=, $pop154, $pop153 - i32.store8 $drop=, sO+8($pop158), $pop28 - i32.const $push152=, 0 - i32.const $push151=, 1103515245 - i32.mul $push29=, $2, $pop151 - i32.const $push150=, 12345 - i32.add $push149=, $pop29, $pop150 - tee_local $push148=, $2=, $pop149 - i32.const $push147=, 16 - i32.shr_u $push30=, $pop148, $pop147 - i32.store8 $drop=, sO+9($pop152), $pop30 - i32.const $push146=, 0 - i32.const $push145=, 1103515245 - i32.mul $push31=, $2, $pop145 - i32.const $push144=, 12345 - i32.add $push143=, $pop31, $pop144 - tee_local $push142=, $2=, $pop143 - i32.const $push141=, 16 - i32.shr_u $push32=, $pop142, $pop141 - i32.store8 $drop=, sO+10($pop146), $pop32 - i32.const $push140=, 0 - i32.const $push139=, 1103515245 - i32.mul $push33=, $2, $pop139 - i32.const $push138=, 12345 - i32.add $push137=, $pop33, $pop138 - tee_local $push136=, $2=, $pop137 - i32.const $push135=, 16 - i32.shr_u $push34=, $pop136, $pop135 - i32.store8 $drop=, sO+11($pop140), $pop34 - i32.const $push134=, 0 - i32.const $push133=, 1103515245 - i32.mul $push35=, $2, $pop133 - i32.const $push132=, 12345 - i32.add $push131=, $pop35, $pop132 - tee_local $push130=, $2=, $pop131 - i32.const $push129=, 16 - i32.shr_u $push36=, $pop130, $pop129 - i32.store8 $drop=, sO+12($pop134), $pop36 - i32.const $push128=, 0 - i32.const $push127=, 1103515245 - i32.mul $push37=, $2, $pop127 - i32.const $push126=, 12345 - i32.add $push125=, $pop37, $pop126 - tee_local $push124=, $2=, $pop125 - i32.const $push123=, 16 - i32.shr_u $push38=, $pop124, $pop123 - i32.store8 $drop=, sO+13($pop128), $pop38 - i32.const $push122=, 0 - i32.const $push121=, 1103515245 - i32.mul $push39=, $2, $pop121 - i32.const $push120=, 12345 - i32.add $push119=, $pop39, $pop120 - tee_local $push118=, $2=, $pop119 - i32.const $push117=, 16 - i32.shr_u $push40=, $pop118, $pop117 - i32.store8 $drop=, sO+14($pop122), $pop40 - i32.const $push116=, 0 - i32.const $push115=, 1103515245 - i32.mul $push41=, $2, $pop115 - i32.const $push114=, 12345 - i32.add $push113=, $pop41, $pop114 - tee_local $push112=, $2=, $pop113 - i32.const $push111=, 16 - i32.shr_u $push42=, $pop112, $pop111 - i32.store8 $drop=, sO+15($pop116), $pop42 - i32.const $push110=, 0 - i64.load $1=, sO+8($pop110) - i32.const $push109=, 1103515245 - i32.mul $push43=, $2, $pop109 - i32.const $push108=, 12345 - i32.add $push107=, $pop43, $pop108 - tee_local $push106=, $0=, $pop107 - i32.const $push105=, 16 - i32.shr_u $push44=, $pop106, $pop105 - i32.const $push104=, 2047 - i32.and $2=, $pop44, $pop104 - i32.const $push103=, 0 - i32.const $push102=, 1103515245 - i32.mul $push45=, $0, $pop102 - i32.const $push101=, 12345 - i32.add $push3=, $pop45, $pop101 - i32.store $0=, myrnd.s($pop103), $pop3 + i32.const $push202=, 0 + i32.const $push201=, 1103515245 + i32.mul $push13=, $2, $pop201 + i32.const $push200=, 12345 + i32.add $push199=, $pop13, $pop200 + tee_local $push198=, $2=, $pop199 + i32.const $push197=, 16 + i32.shr_u $push14=, $pop198, $pop197 + i32.store8 $drop=, sO+1($pop202), $pop14 + i32.const $push196=, 0 + i32.const $push195=, 1103515245 + i32.mul $push15=, $2, $pop195 + i32.const $push194=, 12345 + i32.add $push193=, $pop15, $pop194 + tee_local $push192=, $2=, $pop193 + i32.const $push191=, 16 + i32.shr_u $push16=, $pop192, $pop191 + i32.store8 $drop=, sO+2($pop196), $pop16 + i32.const $push190=, 0 + i32.const $push189=, 1103515245 + i32.mul $push17=, $2, $pop189 + i32.const $push188=, 12345 + i32.add $push187=, $pop17, $pop188 + tee_local $push186=, $2=, $pop187 + i32.const $push185=, 16 + i32.shr_u $push18=, $pop186, $pop185 + i32.store8 $drop=, sO+3($pop190), $pop18 + i32.const $push184=, 0 + i32.const $push183=, 1103515245 + i32.mul $push19=, $2, $pop183 + i32.const $push182=, 12345 + i32.add $push181=, $pop19, $pop182 + tee_local $push180=, $2=, $pop181 + i32.const $push179=, 16 + i32.shr_u $push20=, $pop180, $pop179 + i32.store8 $drop=, sO+4($pop184), $pop20 + i32.const $push178=, 0 + i32.const $push177=, 1103515245 + i32.mul $push21=, $2, $pop177 + i32.const $push176=, 12345 + i32.add $push175=, $pop21, $pop176 + tee_local $push174=, $2=, $pop175 + i32.const $push173=, 16 + i32.shr_u $push22=, $pop174, $pop173 + i32.store8 $drop=, sO+5($pop178), $pop22 + i32.const $push172=, 0 + i32.const $push171=, 1103515245 + i32.mul $push23=, $2, $pop171 + i32.const $push170=, 12345 + i32.add $push169=, $pop23, $pop170 + tee_local $push168=, $2=, $pop169 + i32.const $push167=, 16 + i32.shr_u $push24=, $pop168, $pop167 + i32.store8 $drop=, sO+6($pop172), $pop24 + i32.const $push166=, 0 + i32.const $push165=, 1103515245 + i32.mul $push25=, $2, $pop165 + i32.const $push164=, 12345 + i32.add $push163=, $pop25, $pop164 + tee_local $push162=, $2=, $pop163 + i32.const $push161=, 16 + i32.shr_u $push26=, $pop162, $pop161 + i32.store8 $drop=, sO+7($pop166), $pop26 + i32.const $push160=, 0 + i32.const $push159=, 1103515245 + i32.mul $push27=, $2, $pop159 + i32.const $push158=, 12345 + i32.add $push157=, $pop27, $pop158 + tee_local $push156=, $2=, $pop157 + i32.const $push155=, 16 + i32.shr_u $push28=, $pop156, $pop155 + i32.store8 $drop=, sO+8($pop160), $pop28 + i32.const $push154=, 0 + i32.const $push153=, 1103515245 + i32.mul $push29=, $2, $pop153 + i32.const $push152=, 12345 + i32.add $push151=, $pop29, $pop152 + tee_local $push150=, $2=, $pop151 + i32.const $push149=, 16 + i32.shr_u $push30=, $pop150, $pop149 + i32.store8 $drop=, sO+9($pop154), $pop30 + i32.const $push148=, 0 + i32.const $push147=, 1103515245 + i32.mul $push31=, $2, $pop147 + i32.const $push146=, 12345 + i32.add $push145=, $pop31, $pop146 + tee_local $push144=, $2=, $pop145 + i32.const $push143=, 16 + i32.shr_u $push32=, $pop144, $pop143 + i32.store8 $drop=, sO+10($pop148), $pop32 + i32.const $push142=, 0 + i32.const $push141=, 1103515245 + i32.mul $push33=, $2, $pop141 + i32.const $push140=, 12345 + i32.add $push139=, $pop33, $pop140 + tee_local $push138=, $2=, $pop139 + i32.const $push137=, 16 + i32.shr_u $push34=, $pop138, $pop137 + i32.store8 $drop=, sO+11($pop142), $pop34 + i32.const $push136=, 0 + i32.const $push135=, 1103515245 + i32.mul $push35=, $2, $pop135 + i32.const $push134=, 12345 + i32.add $push133=, $pop35, $pop134 + tee_local $push132=, $2=, $pop133 + i32.const $push131=, 16 + i32.shr_u $push36=, $pop132, $pop131 + i32.store8 $drop=, sO+12($pop136), $pop36 + i32.const $push130=, 0 + i32.const $push129=, 1103515245 + i32.mul $push37=, $2, $pop129 + i32.const $push128=, 12345 + i32.add $push127=, $pop37, $pop128 + tee_local $push126=, $2=, $pop127 + i32.const $push125=, 16 + i32.shr_u $push38=, $pop126, $pop125 + i32.store8 $drop=, sO+13($pop130), $pop38 + i32.const $push124=, 0 + i32.const $push123=, 1103515245 + i32.mul $push39=, $2, $pop123 + i32.const $push122=, 12345 + i32.add $push121=, $pop39, $pop122 + tee_local $push120=, $2=, $pop121 + i32.const $push119=, 16 + i32.shr_u $push40=, $pop120, $pop119 + i32.store8 $drop=, sO+14($pop124), $pop40 + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push41=, $2, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop41, $pop116 + tee_local $push114=, $2=, $pop115 + i32.const $push113=, 16 + i32.shr_u $push42=, $pop114, $pop113 + i32.store8 $drop=, sO+15($pop118), $pop42 + i32.const $push112=, 0 + i64.load $1=, sO+8($pop112) + i32.const $push111=, 0 + i32.const $push110=, 1103515245 + i32.mul $push43=, $2, $pop110 + i32.const $push109=, 12345 + i32.add $push108=, $pop43, $pop109 + tee_local $push107=, $2=, $pop108 + i32.const $push106=, 1103515245 + i32.mul $push44=, $pop107, $pop106 + i32.const $push105=, 12345 + i32.add $push3=, $pop44, $pop105 + i32.store $0=, myrnd.s($pop111), $pop3 block + i32.const $push104=, 16 + i32.shr_u $push47=, $2, $pop104 + i32.const $push103=, 2047 + i32.and $push102=, $pop47, $pop103 + tee_local $push101=, $2=, $pop102 i32.const $push100=, 0 - i64.extend_u/i32 $push47=, $2 - i64.const $push48=, -4096 - i64.and $push49=, $1, $pop48 - i64.or $push50=, $pop47, $pop49 - i64.store $push0=, sO+8($pop100), $pop50 + i64.extend_u/i32 $push48=, $2 + i64.const $push45=, -4096 + i64.and $push46=, $1, $pop45 + i64.or $push49=, $pop48, $pop46 + i64.store $push0=, sO+8($pop100), $pop49 i32.wrap/i64 $push99=, $pop0 - tee_local $push98=, $3=, $pop99 + tee_local $push98=, $4=, $pop99 i32.const $push97=, 2047 i32.and $push53=, $pop98, $pop97 - i32.ne $push54=, $2, $pop53 + i32.ne $push54=, $pop101, $pop53 br_if 0, $pop54 # 0: down to label4 # BB#1: # %entry - i32.const $push208=, 16 - i32.shr_u $push46=, $0, $pop208 - i32.const $push207=, 2047 - i32.and $push206=, $pop46, $pop207 - tee_local $push205=, $4=, $pop206 - i32.add $push5=, $pop205, $2 - i32.add $push51=, $3, $4 + i32.const $push210=, 16 + i32.shr_u $push50=, $0, $pop210 + i32.const $push209=, 2047 + i32.and $push208=, $pop50, $pop209 + tee_local $push207=, $3=, $pop208 + i32.add $push5=, $pop207, $2 + i32.add $push51=, $4, $3 i32.const $push52=, 4095 i32.and $push6=, $pop51, $pop52 i32.ne $push55=, $pop5, $pop6 br_if 0, $pop55 # 0: down to label4 # BB#2: # %if.end + i32.const $push60=, 0 i32.const $push56=, 1103515245 i32.mul $push57=, $0, $pop56 i32.const $push58=, 12345 - i32.add $push218=, $pop57, $pop58 - tee_local $push217=, $0=, $pop218 - i32.const $push216=, 16 - i32.shr_u $push59=, $pop217, $pop216 - i32.const $push215=, 2047 - i32.and $2=, $pop59, $pop215 - i32.const $push61=, 0 - i32.const $push214=, 1103515245 - i32.mul $push60=, $0, $pop214 - i32.const $push213=, 12345 - i32.add $push4=, $pop60, $pop213 - i32.store $0=, myrnd.s($pop61), $pop4 - i32.const $push212=, 0 - i64.extend_u/i32 $push63=, $2 - i64.const $push64=, -4096 - i64.and $push65=, $1, $pop64 - i64.or $push66=, $pop63, $pop65 - i64.store $push1=, sO+8($pop212), $pop66 - i32.wrap/i64 $push211=, $pop1 - tee_local $push210=, $3=, $pop211 - i32.const $push209=, 2047 - i32.and $push67=, $pop210, $pop209 - i32.ne $push68=, $2, $pop67 - br_if 0, $pop68 # 0: down to label4 + i32.add $push222=, $pop57, $pop58 + tee_local $push221=, $2=, $pop222 + i32.const $push220=, 1103515245 + i32.mul $push59=, $pop221, $pop220 + i32.const $push219=, 12345 + i32.add $push4=, $pop59, $pop219 + i32.store $0=, myrnd.s($pop60), $pop4 + i32.const $push218=, 16 + i32.shr_u $push63=, $2, $pop218 + i32.const $push217=, 2047 + i32.and $push216=, $pop63, $pop217 + tee_local $push215=, $2=, $pop216 + i32.const $push214=, 0 + i64.extend_u/i32 $push64=, $2 + i64.const $push61=, -4096 + i64.and $push62=, $1, $pop61 + i64.or $push65=, $pop64, $pop62 + i64.store $push1=, sO+8($pop214), $pop65 + i32.wrap/i64 $push213=, $pop1 + tee_local $push212=, $4=, $pop213 + i32.const $push211=, 2047 + i32.and $push66=, $pop212, $pop211 + i32.ne $push67=, $pop215, $pop66 + br_if 0, $pop67 # 0: down to label4 # BB#3: # %lor.lhs.false87 - i32.const $push224=, 16 - i32.shr_u $push62=, $0, $pop224 - i32.const $push223=, 2047 - i32.and $push222=, $pop62, $pop223 - tee_local $push221=, $4=, $pop222 - i32.add $push73=, $pop221, $2 - i32.const $push71=, 15 - i32.rem_u $push74=, $pop73, $pop71 - i32.add $push69=, $3, $4 - i32.const $push220=, 4095 - i32.and $push70=, $pop69, $pop220 - i32.const $push219=, 15 - i32.rem_u $push72=, $pop70, $pop219 - i32.ne $push75=, $pop74, $pop72 + i32.const $push228=, 16 + i32.shr_u $push68=, $0, $pop228 + i32.const $push227=, 2047 + i32.and $push226=, $pop68, $pop227 + tee_local $push225=, $3=, $pop226 + i32.add $push69=, $pop225, $2 + i32.const $push70=, 15 + i32.rem_u $push71=, $pop69, $pop70 + i32.add $push72=, $4, $3 + i32.const $push224=, 4095 + i32.and $push73=, $pop72, $pop224 + i32.const $push223=, 15 + i32.rem_u $push74=, $pop73, $pop223 + i32.ne $push75=, $pop71, $pop74 br_if 0, $pop75 # 0: down to label4 # BB#4: # %lor.lhs.false124 - i32.const $push84=, 0 + i32.const $push81=, 0 i32.const $push76=, 1103515245 i32.mul $push77=, $0, $pop76 i32.const $push78=, 12345 - i32.add $push240=, $pop77, $pop78 - tee_local $push239=, $2=, $pop240 - i32.const $push79=, 16 - i32.shr_u $push80=, $pop239, $pop79 - i32.const $push81=, 2047 - i32.and $push238=, $pop80, $pop81 - tee_local $push237=, $0=, $pop238 - i64.extend_u/i32 $push86=, $pop237 - i64.const $push87=, -4096 - i64.and $push236=, $1, $pop87 - tee_local $push235=, $1=, $pop236 - i64.or $push88=, $pop86, $pop235 - i32.wrap/i64 $push89=, $pop88 - i32.const $push234=, 0 - i32.const $push233=, 1103515245 - i32.mul $push82=, $2, $pop233 - i32.const $push232=, 12345 - i32.add $push83=, $pop82, $pop232 - i32.store $push2=, myrnd.s($pop234), $pop83 - i32.const $push231=, 16 - i32.shr_u $push85=, $pop2, $pop231 - i32.const $push230=, 2047 - i32.and $push229=, $pop85, $pop230 - tee_local $push228=, $2=, $pop229 - i32.add $push227=, $pop89, $pop228 - tee_local $push226=, $3=, $pop227 - i64.extend_u/i32 $push90=, $pop226 + i32.add $push244=, $pop77, $pop78 + tee_local $push243=, $2=, $pop244 + i32.const $push83=, 16 + i32.shr_u $push84=, $pop243, $pop83 + i32.const $push85=, 2047 + i32.and $push242=, $pop84, $pop85 + tee_local $push241=, $0=, $pop242 + i64.extend_u/i32 $push86=, $pop241 + i64.const $push82=, -4096 + i64.and $push240=, $1, $pop82 + tee_local $push239=, $1=, $pop240 + i64.or $push87=, $pop86, $pop239 + i32.wrap/i64 $push88=, $pop87 + i32.const $push238=, 0 + i32.const $push237=, 1103515245 + i32.mul $push79=, $2, $pop237 + i32.const $push236=, 12345 + i32.add $push80=, $pop79, $pop236 + i32.store $push2=, myrnd.s($pop238), $pop80 + i32.const $push235=, 16 + i32.shr_u $push89=, $pop2, $pop235 + i32.const $push234=, 2047 + i32.and $push233=, $pop89, $pop234 + tee_local $push232=, $2=, $pop233 + i32.add $push231=, $pop88, $pop232 + tee_local $push230=, $4=, $pop231 + i64.extend_u/i32 $push90=, $pop230 i64.const $push91=, 4095 i64.and $push92=, $pop90, $pop91 i64.or $push93=, $pop92, $1 - i64.store $drop=, sO+8($pop84), $pop93 - i32.add $push95=, $2, $0 - i32.const $push225=, 4095 - i32.and $push94=, $3, $pop225 - i32.ne $push96=, $pop95, $pop94 + i64.store $drop=, sO+8($pop81), $pop93 + i32.add $push94=, $2, $0 + i32.const $push229=, 4095 + i32.and $push95=, $4, $pop229 + i32.ne $push96=, $pop94, $pop95 br_if 0, $pop96 # 0: down to label4 # BB#5: # %if.end140 return @@ -3725,17 +3718,16 @@ testO: # @testO .type retmeP,@function retmeP: # @retmeP .param i32, i32 - .local i64 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i64.load $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i64.store $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i64.load $push4=, 0($pop3):p2align=0 + i64.store $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end91: .size retmeP, .Lfunc_end91-retmeP @@ -3753,7 +3745,7 @@ fn1P: # @fn1P i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end92: .size fn1P, .Lfunc_end92-fn1P @@ -3773,7 +3765,7 @@ fn2P: # @fn2P i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end93: .size fn2P, .Lfunc_end93-fn2P @@ -3789,7 +3781,7 @@ retitP: # @retitP i32.load $push1=, sP($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end94: .size retitP, .Lfunc_end94-retitP @@ -3807,19 +3799,19 @@ fn3P: # @fn3P i32.const $push14=, 0 i64.load $push13=, sP($pop14) tee_local $push12=, $1=, $pop13 - i32.wrap/i64 $push1=, $pop12 - i32.add $push11=, $pop1, $0 + i32.wrap/i64 $push3=, $pop12 + i32.add $push11=, $pop3, $0 tee_local $push10=, $0=, $pop11 - i64.extend_u/i32 $push2=, $pop10 - i64.const $push3=, 4095 - i64.and $push4=, $pop2, $pop3 - i64.const $push5=, -4096 - i64.and $push6=, $1, $pop5 - i64.or $push7=, $pop4, $pop6 + i64.extend_u/i32 $push4=, $pop10 + i64.const $push5=, 4095 + i64.and $push6=, $pop4, $pop5 + i64.const $push1=, -4096 + i64.and $push2=, $1, $pop1 + i64.or $push7=, $pop6, $pop2 i64.store $drop=, sP($pop0), $pop7 i32.const $push8=, 4095 i32.and $push9=, $0, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end95: .size fn3P, .Lfunc_end95-fn3P @@ -3832,277 +3824,279 @@ testP: # @testP .local i32, i64, i32, i32, i32 # BB#0: # %entry i32.const $push7=, 0 - i32.const $push204=, 0 - i32.load $push8=, myrnd.s($pop204) + i32.const $push206=, 0 + i32.load $push8=, myrnd.s($pop206) i32.const $push9=, 1103515245 i32.mul $push10=, $pop8, $pop9 i32.const $push11=, 12345 - i32.add $push203=, $pop10, $pop11 - tee_local $push202=, $2=, $pop203 - i32.const $push201=, 16 - i32.shr_u $push12=, $pop202, $pop201 + i32.add $push205=, $pop10, $pop11 + tee_local $push204=, $2=, $pop205 + i32.const $push203=, 16 + i32.shr_u $push12=, $pop204, $pop203 i32.store8 $drop=, sP($pop7), $pop12 - i32.const $push200=, 0 - i32.const $push199=, 1103515245 - i32.mul $push13=, $2, $pop199 - i32.const $push198=, 12345 - i32.add $push197=, $pop13, $pop198 - tee_local $push196=, $2=, $pop197 - i32.const $push195=, 16 - i32.shr_u $push14=, $pop196, $pop195 - i32.store8 $drop=, sP+1($pop200), $pop14 - i32.const $push194=, 0 - i32.const $push193=, 1103515245 - i32.mul $push15=, $2, $pop193 - i32.const $push192=, 12345 - i32.add $push191=, $pop15, $pop192 - tee_local $push190=, $2=, $pop191 - i32.const $push189=, 16 - i32.shr_u $push16=, $pop190, $pop189 - i32.store8 $drop=, sP+2($pop194), $pop16 - i32.const $push188=, 0 - i32.const $push187=, 1103515245 - i32.mul $push17=, $2, $pop187 - i32.const $push186=, 12345 - i32.add $push185=, $pop17, $pop186 - tee_local $push184=, $2=, $pop185 - i32.const $push183=, 16 - i32.shr_u $push18=, $pop184, $pop183 - i32.store8 $drop=, sP+3($pop188), $pop18 - i32.const $push182=, 0 - i32.const $push181=, 1103515245 - i32.mul $push19=, $2, $pop181 - i32.const $push180=, 12345 - i32.add $push179=, $pop19, $pop180 - tee_local $push178=, $2=, $pop179 - i32.const $push177=, 16 - i32.shr_u $push20=, $pop178, $pop177 - i32.store8 $drop=, sP+4($pop182), $pop20 - i32.const $push176=, 0 - i32.const $push175=, 1103515245 - i32.mul $push21=, $2, $pop175 - i32.const $push174=, 12345 - i32.add $push173=, $pop21, $pop174 - tee_local $push172=, $2=, $pop173 - i32.const $push171=, 16 - i32.shr_u $push22=, $pop172, $pop171 - i32.store8 $drop=, sP+5($pop176), $pop22 - i32.const $push170=, 0 - i32.const $push169=, 1103515245 - i32.mul $push23=, $2, $pop169 - i32.const $push168=, 12345 - i32.add $push167=, $pop23, $pop168 - tee_local $push166=, $2=, $pop167 - i32.const $push165=, 16 - i32.shr_u $push24=, $pop166, $pop165 - i32.store8 $drop=, sP+6($pop170), $pop24 - i32.const $push164=, 0 - i32.const $push163=, 1103515245 - i32.mul $push25=, $2, $pop163 - i32.const $push162=, 12345 - i32.add $push161=, $pop25, $pop162 - tee_local $push160=, $2=, $pop161 - i32.const $push159=, 16 - i32.shr_u $push26=, $pop160, $pop159 - i32.store8 $drop=, sP+7($pop164), $pop26 - i32.const $push158=, 0 - i32.const $push157=, 1103515245 - i32.mul $push27=, $2, $pop157 - i32.const $push156=, 12345 - i32.add $push155=, $pop27, $pop156 - tee_local $push154=, $2=, $pop155 - i32.const $push153=, 16 - i32.shr_u $push28=, $pop154, $pop153 - i32.store8 $drop=, sP+8($pop158), $pop28 - i32.const $push152=, 0 - i32.const $push151=, 1103515245 - i32.mul $push29=, $2, $pop151 - i32.const $push150=, 12345 - i32.add $push149=, $pop29, $pop150 - tee_local $push148=, $2=, $pop149 - i32.const $push147=, 16 - i32.shr_u $push30=, $pop148, $pop147 - i32.store8 $drop=, sP+9($pop152), $pop30 - i32.const $push146=, 0 - i32.const $push145=, 1103515245 - i32.mul $push31=, $2, $pop145 - i32.const $push144=, 12345 - i32.add $push143=, $pop31, $pop144 - tee_local $push142=, $2=, $pop143 - i32.const $push141=, 16 - i32.shr_u $push32=, $pop142, $pop141 - i32.store8 $drop=, sP+10($pop146), $pop32 - i32.const $push140=, 0 - i32.const $push139=, 1103515245 - i32.mul $push33=, $2, $pop139 - i32.const $push138=, 12345 - i32.add $push137=, $pop33, $pop138 - tee_local $push136=, $2=, $pop137 - i32.const $push135=, 16 - i32.shr_u $push34=, $pop136, $pop135 - i32.store8 $drop=, sP+11($pop140), $pop34 - i32.const $push134=, 0 - i32.const $push133=, 1103515245 - i32.mul $push35=, $2, $pop133 - i32.const $push132=, 12345 - i32.add $push131=, $pop35, $pop132 - tee_local $push130=, $2=, $pop131 - i32.const $push129=, 16 - i32.shr_u $push36=, $pop130, $pop129 - i32.store8 $drop=, sP+12($pop134), $pop36 - i32.const $push128=, 0 - i32.const $push127=, 1103515245 - i32.mul $push37=, $2, $pop127 - i32.const $push126=, 12345 - i32.add $push125=, $pop37, $pop126 - tee_local $push124=, $2=, $pop125 - i32.const $push123=, 16 - i32.shr_u $push38=, $pop124, $pop123 - i32.store8 $drop=, sP+13($pop128), $pop38 - i32.const $push122=, 0 - i32.const $push121=, 1103515245 - i32.mul $push39=, $2, $pop121 - i32.const $push120=, 12345 - i32.add $push119=, $pop39, $pop120 - tee_local $push118=, $2=, $pop119 - i32.const $push117=, 16 - i32.shr_u $push40=, $pop118, $pop117 - i32.store8 $drop=, sP+14($pop122), $pop40 - i32.const $push116=, 0 - i32.const $push115=, 1103515245 - i32.mul $push41=, $2, $pop115 - i32.const $push114=, 12345 - i32.add $push113=, $pop41, $pop114 - tee_local $push112=, $2=, $pop113 - i32.const $push111=, 16 - i32.shr_u $push42=, $pop112, $pop111 - i32.store8 $drop=, sP+15($pop116), $pop42 - i32.const $push110=, 0 - i64.load $1=, sP($pop110) - i32.const $push109=, 1103515245 - i32.mul $push43=, $2, $pop109 - i32.const $push108=, 12345 - i32.add $push107=, $pop43, $pop108 - tee_local $push106=, $0=, $pop107 - i32.const $push105=, 16 - i32.shr_u $push44=, $pop106, $pop105 - i32.const $push104=, 2047 - i32.and $2=, $pop44, $pop104 - i32.const $push103=, 0 - i32.const $push102=, 1103515245 - i32.mul $push45=, $0, $pop102 - i32.const $push101=, 12345 - i32.add $push3=, $pop45, $pop101 - i32.store $0=, myrnd.s($pop103), $pop3 + i32.const $push202=, 0 + i32.const $push201=, 1103515245 + i32.mul $push13=, $2, $pop201 + i32.const $push200=, 12345 + i32.add $push199=, $pop13, $pop200 + tee_local $push198=, $2=, $pop199 + i32.const $push197=, 16 + i32.shr_u $push14=, $pop198, $pop197 + i32.store8 $drop=, sP+1($pop202), $pop14 + i32.const $push196=, 0 + i32.const $push195=, 1103515245 + i32.mul $push15=, $2, $pop195 + i32.const $push194=, 12345 + i32.add $push193=, $pop15, $pop194 + tee_local $push192=, $2=, $pop193 + i32.const $push191=, 16 + i32.shr_u $push16=, $pop192, $pop191 + i32.store8 $drop=, sP+2($pop196), $pop16 + i32.const $push190=, 0 + i32.const $push189=, 1103515245 + i32.mul $push17=, $2, $pop189 + i32.const $push188=, 12345 + i32.add $push187=, $pop17, $pop188 + tee_local $push186=, $2=, $pop187 + i32.const $push185=, 16 + i32.shr_u $push18=, $pop186, $pop185 + i32.store8 $drop=, sP+3($pop190), $pop18 + i32.const $push184=, 0 + i32.const $push183=, 1103515245 + i32.mul $push19=, $2, $pop183 + i32.const $push182=, 12345 + i32.add $push181=, $pop19, $pop182 + tee_local $push180=, $2=, $pop181 + i32.const $push179=, 16 + i32.shr_u $push20=, $pop180, $pop179 + i32.store8 $drop=, sP+4($pop184), $pop20 + i32.const $push178=, 0 + i32.const $push177=, 1103515245 + i32.mul $push21=, $2, $pop177 + i32.const $push176=, 12345 + i32.add $push175=, $pop21, $pop176 + tee_local $push174=, $2=, $pop175 + i32.const $push173=, 16 + i32.shr_u $push22=, $pop174, $pop173 + i32.store8 $drop=, sP+5($pop178), $pop22 + i32.const $push172=, 0 + i32.const $push171=, 1103515245 + i32.mul $push23=, $2, $pop171 + i32.const $push170=, 12345 + i32.add $push169=, $pop23, $pop170 + tee_local $push168=, $2=, $pop169 + i32.const $push167=, 16 + i32.shr_u $push24=, $pop168, $pop167 + i32.store8 $drop=, sP+6($pop172), $pop24 + i32.const $push166=, 0 + i32.const $push165=, 1103515245 + i32.mul $push25=, $2, $pop165 + i32.const $push164=, 12345 + i32.add $push163=, $pop25, $pop164 + tee_local $push162=, $2=, $pop163 + i32.const $push161=, 16 + i32.shr_u $push26=, $pop162, $pop161 + i32.store8 $drop=, sP+7($pop166), $pop26 + i32.const $push160=, 0 + i32.const $push159=, 1103515245 + i32.mul $push27=, $2, $pop159 + i32.const $push158=, 12345 + i32.add $push157=, $pop27, $pop158 + tee_local $push156=, $2=, $pop157 + i32.const $push155=, 16 + i32.shr_u $push28=, $pop156, $pop155 + i32.store8 $drop=, sP+8($pop160), $pop28 + i32.const $push154=, 0 + i32.const $push153=, 1103515245 + i32.mul $push29=, $2, $pop153 + i32.const $push152=, 12345 + i32.add $push151=, $pop29, $pop152 + tee_local $push150=, $2=, $pop151 + i32.const $push149=, 16 + i32.shr_u $push30=, $pop150, $pop149 + i32.store8 $drop=, sP+9($pop154), $pop30 + i32.const $push148=, 0 + i32.const $push147=, 1103515245 + i32.mul $push31=, $2, $pop147 + i32.const $push146=, 12345 + i32.add $push145=, $pop31, $pop146 + tee_local $push144=, $2=, $pop145 + i32.const $push143=, 16 + i32.shr_u $push32=, $pop144, $pop143 + i32.store8 $drop=, sP+10($pop148), $pop32 + i32.const $push142=, 0 + i32.const $push141=, 1103515245 + i32.mul $push33=, $2, $pop141 + i32.const $push140=, 12345 + i32.add $push139=, $pop33, $pop140 + tee_local $push138=, $2=, $pop139 + i32.const $push137=, 16 + i32.shr_u $push34=, $pop138, $pop137 + i32.store8 $drop=, sP+11($pop142), $pop34 + i32.const $push136=, 0 + i32.const $push135=, 1103515245 + i32.mul $push35=, $2, $pop135 + i32.const $push134=, 12345 + i32.add $push133=, $pop35, $pop134 + tee_local $push132=, $2=, $pop133 + i32.const $push131=, 16 + i32.shr_u $push36=, $pop132, $pop131 + i32.store8 $drop=, sP+12($pop136), $pop36 + i32.const $push130=, 0 + i32.const $push129=, 1103515245 + i32.mul $push37=, $2, $pop129 + i32.const $push128=, 12345 + i32.add $push127=, $pop37, $pop128 + tee_local $push126=, $2=, $pop127 + i32.const $push125=, 16 + i32.shr_u $push38=, $pop126, $pop125 + i32.store8 $drop=, sP+13($pop130), $pop38 + i32.const $push124=, 0 + i32.const $push123=, 1103515245 + i32.mul $push39=, $2, $pop123 + i32.const $push122=, 12345 + i32.add $push121=, $pop39, $pop122 + tee_local $push120=, $2=, $pop121 + i32.const $push119=, 16 + i32.shr_u $push40=, $pop120, $pop119 + i32.store8 $drop=, sP+14($pop124), $pop40 + i32.const $push118=, 0 + i32.const $push117=, 1103515245 + i32.mul $push41=, $2, $pop117 + i32.const $push116=, 12345 + i32.add $push115=, $pop41, $pop116 + tee_local $push114=, $2=, $pop115 + i32.const $push113=, 16 + i32.shr_u $push42=, $pop114, $pop113 + i32.store8 $drop=, sP+15($pop118), $pop42 + i32.const $push112=, 0 + i64.load $1=, sP($pop112) + i32.const $push111=, 0 + i32.const $push110=, 1103515245 + i32.mul $push43=, $2, $pop110 + i32.const $push109=, 12345 + i32.add $push108=, $pop43, $pop109 + tee_local $push107=, $2=, $pop108 + i32.const $push106=, 1103515245 + i32.mul $push44=, $pop107, $pop106 + i32.const $push105=, 12345 + i32.add $push3=, $pop44, $pop105 + i32.store $0=, myrnd.s($pop111), $pop3 block + i32.const $push104=, 16 + i32.shr_u $push47=, $2, $pop104 + i32.const $push103=, 2047 + i32.and $push102=, $pop47, $pop103 + tee_local $push101=, $2=, $pop102 i32.const $push100=, 0 - i64.extend_u/i32 $push47=, $2 - i64.const $push48=, -4096 - i64.and $push49=, $1, $pop48 - i64.or $push50=, $pop47, $pop49 - i64.store $push0=, sP($pop100), $pop50 + i64.extend_u/i32 $push48=, $2 + i64.const $push45=, -4096 + i64.and $push46=, $1, $pop45 + i64.or $push49=, $pop48, $pop46 + i64.store $push0=, sP($pop100), $pop49 i32.wrap/i64 $push99=, $pop0 - tee_local $push98=, $3=, $pop99 + tee_local $push98=, $4=, $pop99 i32.const $push97=, 2047 i32.and $push53=, $pop98, $pop97 - i32.ne $push54=, $2, $pop53 + i32.ne $push54=, $pop101, $pop53 br_if 0, $pop54 # 0: down to label5 # BB#1: # %entry - i32.const $push208=, 16 - i32.shr_u $push46=, $0, $pop208 - i32.const $push207=, 2047 - i32.and $push206=, $pop46, $pop207 - tee_local $push205=, $4=, $pop206 - i32.add $push5=, $pop205, $2 - i32.add $push51=, $3, $4 + i32.const $push210=, 16 + i32.shr_u $push50=, $0, $pop210 + i32.const $push209=, 2047 + i32.and $push208=, $pop50, $pop209 + tee_local $push207=, $3=, $pop208 + i32.add $push5=, $pop207, $2 + i32.add $push51=, $4, $3 i32.const $push52=, 4095 i32.and $push6=, $pop51, $pop52 i32.ne $push55=, $pop5, $pop6 br_if 0, $pop55 # 0: down to label5 # BB#2: # %if.end + i32.const $push60=, 0 i32.const $push56=, 1103515245 i32.mul $push57=, $0, $pop56 i32.const $push58=, 12345 - i32.add $push218=, $pop57, $pop58 - tee_local $push217=, $0=, $pop218 - i32.const $push216=, 16 - i32.shr_u $push59=, $pop217, $pop216 - i32.const $push215=, 2047 - i32.and $2=, $pop59, $pop215 - i32.const $push61=, 0 - i32.const $push214=, 1103515245 - i32.mul $push60=, $0, $pop214 - i32.const $push213=, 12345 - i32.add $push4=, $pop60, $pop213 - i32.store $0=, myrnd.s($pop61), $pop4 - i32.const $push212=, 0 - i64.extend_u/i32 $push63=, $2 - i64.const $push64=, -4096 - i64.and $push65=, $1, $pop64 - i64.or $push66=, $pop63, $pop65 - i64.store $push1=, sP($pop212), $pop66 - i32.wrap/i64 $push211=, $pop1 - tee_local $push210=, $3=, $pop211 - i32.const $push209=, 2047 - i32.and $push67=, $pop210, $pop209 - i32.ne $push68=, $2, $pop67 - br_if 0, $pop68 # 0: down to label5 + i32.add $push222=, $pop57, $pop58 + tee_local $push221=, $2=, $pop222 + i32.const $push220=, 1103515245 + i32.mul $push59=, $pop221, $pop220 + i32.const $push219=, 12345 + i32.add $push4=, $pop59, $pop219 + i32.store $0=, myrnd.s($pop60), $pop4 + i32.const $push218=, 16 + i32.shr_u $push63=, $2, $pop218 + i32.const $push217=, 2047 + i32.and $push216=, $pop63, $pop217 + tee_local $push215=, $2=, $pop216 + i32.const $push214=, 0 + i64.extend_u/i32 $push64=, $2 + i64.const $push61=, -4096 + i64.and $push62=, $1, $pop61 + i64.or $push65=, $pop64, $pop62 + i64.store $push1=, sP($pop214), $pop65 + i32.wrap/i64 $push213=, $pop1 + tee_local $push212=, $4=, $pop213 + i32.const $push211=, 2047 + i32.and $push66=, $pop212, $pop211 + i32.ne $push67=, $pop215, $pop66 + br_if 0, $pop67 # 0: down to label5 # BB#3: # %lor.lhs.false83 - i32.const $push224=, 16 - i32.shr_u $push62=, $0, $pop224 - i32.const $push223=, 2047 - i32.and $push222=, $pop62, $pop223 - tee_local $push221=, $4=, $pop222 - i32.add $push73=, $pop221, $2 - i32.const $push71=, 15 - i32.rem_u $push74=, $pop73, $pop71 - i32.add $push69=, $3, $4 - i32.const $push220=, 4095 - i32.and $push70=, $pop69, $pop220 - i32.const $push219=, 15 - i32.rem_u $push72=, $pop70, $pop219 - i32.ne $push75=, $pop74, $pop72 + i32.const $push228=, 16 + i32.shr_u $push68=, $0, $pop228 + i32.const $push227=, 2047 + i32.and $push226=, $pop68, $pop227 + tee_local $push225=, $3=, $pop226 + i32.add $push69=, $pop225, $2 + i32.const $push70=, 15 + i32.rem_u $push71=, $pop69, $pop70 + i32.add $push72=, $4, $3 + i32.const $push224=, 4095 + i32.and $push73=, $pop72, $pop224 + i32.const $push223=, 15 + i32.rem_u $push74=, $pop73, $pop223 + i32.ne $push75=, $pop71, $pop74 br_if 0, $pop75 # 0: down to label5 # BB#4: # %lor.lhs.false118 - i32.const $push84=, 0 + i32.const $push81=, 0 i32.const $push76=, 1103515245 i32.mul $push77=, $0, $pop76 i32.const $push78=, 12345 - i32.add $push240=, $pop77, $pop78 - tee_local $push239=, $2=, $pop240 - i32.const $push79=, 16 - i32.shr_u $push80=, $pop239, $pop79 - i32.const $push81=, 2047 - i32.and $push238=, $pop80, $pop81 - tee_local $push237=, $0=, $pop238 - i64.extend_u/i32 $push86=, $pop237 - i64.const $push87=, -4096 - i64.and $push236=, $1, $pop87 - tee_local $push235=, $1=, $pop236 - i64.or $push88=, $pop86, $pop235 - i32.wrap/i64 $push89=, $pop88 - i32.const $push234=, 0 - i32.const $push233=, 1103515245 - i32.mul $push82=, $2, $pop233 - i32.const $push232=, 12345 - i32.add $push83=, $pop82, $pop232 - i32.store $push2=, myrnd.s($pop234), $pop83 - i32.const $push231=, 16 - i32.shr_u $push85=, $pop2, $pop231 - i32.const $push230=, 2047 - i32.and $push229=, $pop85, $pop230 - tee_local $push228=, $2=, $pop229 - i32.add $push227=, $pop89, $pop228 - tee_local $push226=, $3=, $pop227 - i64.extend_u/i32 $push90=, $pop226 + i32.add $push244=, $pop77, $pop78 + tee_local $push243=, $2=, $pop244 + i32.const $push83=, 16 + i32.shr_u $push84=, $pop243, $pop83 + i32.const $push85=, 2047 + i32.and $push242=, $pop84, $pop85 + tee_local $push241=, $0=, $pop242 + i64.extend_u/i32 $push86=, $pop241 + i64.const $push82=, -4096 + i64.and $push240=, $1, $pop82 + tee_local $push239=, $1=, $pop240 + i64.or $push87=, $pop86, $pop239 + i32.wrap/i64 $push88=, $pop87 + i32.const $push238=, 0 + i32.const $push237=, 1103515245 + i32.mul $push79=, $2, $pop237 + i32.const $push236=, 12345 + i32.add $push80=, $pop79, $pop236 + i32.store $push2=, myrnd.s($pop238), $pop80 + i32.const $push235=, 16 + i32.shr_u $push89=, $pop2, $pop235 + i32.const $push234=, 2047 + i32.and $push233=, $pop89, $pop234 + tee_local $push232=, $2=, $pop233 + i32.add $push231=, $pop88, $pop232 + tee_local $push230=, $4=, $pop231 + i64.extend_u/i32 $push90=, $pop230 i64.const $push91=, 4095 i64.and $push92=, $pop90, $pop91 i64.or $push93=, $pop92, $1 - i64.store $drop=, sP($pop84), $pop93 - i32.add $push95=, $2, $0 - i32.const $push225=, 4095 - i32.and $push94=, $3, $pop225 - i32.ne $push96=, $pop95, $pop94 + i64.store $drop=, sP($pop81), $pop93 + i32.add $push94=, $2, $0 + i32.const $push229=, 4095 + i32.and $push95=, $4, $pop229 + i32.ne $push96=, $pop94, $pop95 br_if 0, $pop96 # 0: down to label5 # BB#5: # %if.end134 return @@ -4120,17 +4114,16 @@ testP: # @testP .type retmeQ,@function retmeQ: # @retmeQ .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i32.load16_u $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i32.store16 $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i32.load16_u $push4=, 0($pop3):p2align=0 + i32.store16 $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end97: .size retmeQ, .Lfunc_end97-retmeQ @@ -4148,7 +4141,7 @@ fn1Q: # @fn1Q i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end98: .size fn1Q, .Lfunc_end98-fn1Q @@ -4168,7 +4161,7 @@ fn2Q: # @fn2Q i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end99: .size fn2Q, .Lfunc_end99-fn2Q @@ -4184,7 +4177,7 @@ retitQ: # @retitQ i32.load16_u $push1=, sQ($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end100: .size retitQ, .Lfunc_end100-retitQ @@ -4202,15 +4195,16 @@ fn3Q: # @fn3Q i32.const $push10=, 0 i32.load16_u $push9=, sQ($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 + i32.add $push3=, $pop8, $0 i32.const $push4=, 4095 - i32.and $push7=, $pop1, $pop4 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push2=, 61440 - i32.and $push3=, $1, $pop2 - i32.or $push5=, $pop6, $pop3 + i32.const $push1=, 61440 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store16 $drop=, sQ($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end101: .size fn3Q, .Lfunc_end101-fn3Q @@ -4220,128 +4214,128 @@ fn3Q: # @fn3Q .globl testQ .type testQ,@function testQ: # @testQ - .local i32 + .local i32, i32 # BB#0: # %if.end90 i32.const $push1=, 0 - i32.const $push107=, 0 - i32.load $push2=, myrnd.s($pop107) + i32.const $push106=, 0 + i32.load $push2=, myrnd.s($pop106) i32.const $push3=, 1103515245 i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 - i32.add $push106=, $pop4, $pop5 - tee_local $push105=, $0=, $pop106 + i32.add $push105=, $pop4, $pop5 + tee_local $push104=, $0=, $pop105 i32.const $push6=, 16 - i32.shr_u $push7=, $pop105, $pop6 + i32.shr_u $push7=, $pop104, $pop6 i32.store8 $drop=, sQ($pop1), $pop7 - i32.const $push104=, 0 - i32.const $push103=, 1103515245 - i32.mul $push8=, $0, $pop103 - i32.const $push102=, 12345 - i32.add $push101=, $pop8, $pop102 - tee_local $push100=, $0=, $pop101 - i32.const $push99=, 16 - i32.shr_u $push9=, $pop100, $pop99 - i32.store8 $drop=, sQ+1($pop104), $pop9 - i32.const $push98=, 0 - i32.const $push97=, 1103515245 - i32.mul $push10=, $0, $pop97 - i32.const $push96=, 12345 - i32.add $push95=, $pop10, $pop96 - tee_local $push94=, $0=, $pop95 - i32.const $push93=, 16 - i32.shr_u $push11=, $pop94, $pop93 - i32.store8 $drop=, sQ+2($pop98), $pop11 - i32.const $push92=, 0 - i32.const $push91=, 1103515245 - i32.mul $push12=, $0, $pop91 - i32.const $push90=, 12345 - i32.add $push89=, $pop12, $pop90 - tee_local $push88=, $0=, $pop89 - i32.const $push87=, 16 - i32.shr_u $push13=, $pop88, $pop87 - i32.store8 $drop=, sQ+3($pop92), $pop13 - i32.const $push86=, 0 - i32.const $push85=, 1103515245 - i32.mul $push14=, $0, $pop85 - i32.const $push84=, 12345 - i32.add $push83=, $pop14, $pop84 - tee_local $push82=, $0=, $pop83 - i32.const $push81=, 16 - i32.shr_u $push15=, $pop82, $pop81 - i32.store8 $drop=, sQ+4($pop86), $pop15 - i32.const $push80=, 0 - i32.const $push79=, 1103515245 - i32.mul $push16=, $0, $pop79 - i32.const $push78=, 12345 - i32.add $push77=, $pop16, $pop78 - tee_local $push76=, $0=, $pop77 - i32.const $push75=, 16 - i32.shr_u $push17=, $pop76, $pop75 - i32.store8 $drop=, sQ+5($pop80), $pop17 - i32.const $push74=, 0 - i32.const $push73=, 1103515245 - i32.mul $push18=, $0, $pop73 - i32.const $push72=, 12345 - i32.add $push71=, $pop18, $pop72 - tee_local $push70=, $0=, $pop71 - i32.const $push69=, 16 - i32.shr_u $push19=, $pop70, $pop69 - i32.store8 $drop=, sQ+6($pop74), $pop19 - i32.const $push68=, 0 - i32.const $push67=, 1103515245 - i32.mul $push20=, $0, $pop67 - i32.const $push66=, 12345 - i32.add $push65=, $pop20, $pop66 - tee_local $push64=, $0=, $pop65 - i32.const $push63=, 16 - i32.shr_u $push21=, $pop64, $pop63 - i32.store8 $drop=, sQ+7($pop68), $pop21 - i32.const $push62=, 0 - i32.const $push61=, 1103515245 - i32.mul $push22=, $0, $pop61 - i32.const $push60=, 12345 - i32.add $push59=, $pop22, $pop60 - tee_local $push58=, $0=, $pop59 - i32.const $push57=, 16 - i32.shr_u $push23=, $pop58, $pop57 - i32.store8 $drop=, sQ+8($pop62), $pop23 - i32.const $push56=, 0 - i32.const $push55=, 1103515245 - i32.mul $push24=, $0, $pop55 - i32.const $push54=, 12345 - i32.add $push53=, $pop24, $pop54 - tee_local $push52=, $0=, $pop53 - i32.const $push51=, 16 - i32.shr_u $push25=, $pop52, $pop51 - i32.store8 $drop=, sQ+9($pop56), $pop25 - i32.const $push50=, 0 + i32.const $push103=, 0 + i32.const $push102=, 1103515245 + i32.mul $push8=, $0, $pop102 + i32.const $push101=, 12345 + i32.add $push100=, $pop8, $pop101 + tee_local $push99=, $0=, $pop100 + i32.const $push98=, 16 + i32.shr_u $push9=, $pop99, $pop98 + i32.store8 $drop=, sQ+1($pop103), $pop9 + i32.const $push97=, 0 + i32.const $push96=, 1103515245 + i32.mul $push10=, $0, $pop96 + i32.const $push95=, 12345 + i32.add $push94=, $pop10, $pop95 + tee_local $push93=, $0=, $pop94 + i32.const $push92=, 16 + i32.shr_u $push11=, $pop93, $pop92 + i32.store8 $drop=, sQ+2($pop97), $pop11 + i32.const $push91=, 0 + i32.const $push90=, 1103515245 + i32.mul $push12=, $0, $pop90 + i32.const $push89=, 12345 + i32.add $push88=, $pop12, $pop89 + tee_local $push87=, $0=, $pop88 + i32.const $push86=, 16 + i32.shr_u $push13=, $pop87, $pop86 + i32.store8 $drop=, sQ+3($pop91), $pop13 + i32.const $push85=, 0 + i32.const $push84=, 1103515245 + i32.mul $push14=, $0, $pop84 + i32.const $push83=, 12345 + i32.add $push82=, $pop14, $pop83 + tee_local $push81=, $0=, $pop82 + i32.const $push80=, 16 + i32.shr_u $push15=, $pop81, $pop80 + i32.store8 $drop=, sQ+4($pop85), $pop15 + i32.const $push79=, 0 + i32.const $push78=, 1103515245 + i32.mul $push16=, $0, $pop78 + i32.const $push77=, 12345 + i32.add $push76=, $pop16, $pop77 + tee_local $push75=, $0=, $pop76 + i32.const $push74=, 16 + i32.shr_u $push17=, $pop75, $pop74 + i32.store8 $drop=, sQ+5($pop79), $pop17 + i32.const $push73=, 0 + i32.const $push72=, 1103515245 + i32.mul $push18=, $0, $pop72 + i32.const $push71=, 12345 + i32.add $push70=, $pop18, $pop71 + tee_local $push69=, $0=, $pop70 + i32.const $push68=, 16 + i32.shr_u $push19=, $pop69, $pop68 + i32.store8 $drop=, sQ+6($pop73), $pop19 + i32.const $push67=, 0 + i32.const $push66=, 1103515245 + i32.mul $push20=, $0, $pop66 + i32.const $push65=, 12345 + i32.add $push64=, $pop20, $pop65 + tee_local $push63=, $0=, $pop64 + i32.const $push62=, 16 + i32.shr_u $push21=, $pop63, $pop62 + i32.store8 $drop=, sQ+7($pop67), $pop21 + i32.const $push61=, 0 + i32.const $push60=, 1103515245 + i32.mul $push22=, $0, $pop60 + i32.const $push59=, 12345 + i32.add $push58=, $pop22, $pop59 + tee_local $push57=, $0=, $pop58 + i32.const $push56=, 16 + i32.shr_u $push23=, $pop57, $pop56 + i32.store8 $drop=, sQ+8($pop61), $pop23 + i32.const $push55=, 0 + i32.const $push54=, 1103515245 + i32.mul $push24=, $0, $pop54 + i32.const $push53=, 12345 + i32.add $push52=, $pop24, $pop53 + tee_local $push51=, $0=, $pop52 + i32.const $push50=, 16 + i32.shr_u $push25=, $pop51, $pop50 + i32.store8 $drop=, sQ+9($pop55), $pop25 i32.const $push49=, 0 - i32.const $push27=, -341751747 - i32.mul $push28=, $0, $pop27 - i32.const $push29=, 229283573 - i32.add $push48=, $pop28, $pop29 - tee_local $push47=, $0=, $pop48 - i32.const $push46=, 1103515245 - i32.mul $push33=, $pop47, $pop46 - i32.const $push45=, 12345 - i32.add $push34=, $pop33, $pop45 - i32.store $push0=, myrnd.s($pop49), $pop34 - i32.const $push44=, 16 - i32.shr_u $push35=, $pop0, $pop44 - i32.const $push31=, 2047 - i32.and $push36=, $pop35, $pop31 - i32.const $push43=, 16 - i32.shr_u $push30=, $0, $pop43 - i32.const $push42=, 2047 - i32.and $push32=, $pop30, $pop42 - i32.add $push39=, $pop36, $pop32 - i32.const $push41=, 0 - i32.load16_u $push26=, sQ($pop41) + i32.load16_u $1=, sQ($pop49) + i32.const $push48=, 0 + i32.const $push47=, 0 + i32.const $push26=, -341751747 + i32.mul $push27=, $0, $pop26 + i32.const $push28=, 229283573 + i32.add $push46=, $pop27, $pop28 + tee_local $push45=, $0=, $pop46 + i32.const $push44=, 1103515245 + i32.mul $push29=, $pop45, $pop44 + i32.const $push43=, 12345 + i32.add $push30=, $pop29, $pop43 + i32.store $push0=, myrnd.s($pop47), $pop30 + i32.const $push42=, 16 + i32.shr_u $push34=, $pop0, $pop42 + i32.const $push32=, 2047 + i32.and $push35=, $pop34, $pop32 + i32.const $push41=, 16 + i32.shr_u $push31=, $0, $pop41 + i32.const $push40=, 2047 + i32.and $push33=, $pop31, $pop40 + i32.add $push36=, $pop35, $pop33 i32.const $push37=, 61440 - i32.and $push38=, $pop26, $pop37 - i32.or $push40=, $pop39, $pop38 - i32.store16 $drop=, sQ($pop50), $pop40 - return + i32.and $push38=, $1, $pop37 + i32.or $push39=, $pop36, $pop38 + i32.store16 $drop=, sQ($pop48), $pop39 + # fallthrough-return .endfunc .Lfunc_end102: .size testQ, .Lfunc_end102-testQ @@ -4352,17 +4346,16 @@ testQ: # @testQ .type retmeR,@function retmeR: # @retmeR .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i32.load16_u $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i32.store16 $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i32.load16_u $push4=, 0($pop3):p2align=0 + i32.store16 $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end103: .size retmeR, .Lfunc_end103-retmeR @@ -4380,7 +4373,7 @@ fn1R: # @fn1R i32.add $push2=, $pop1, $0 i32.const $push3=, 3 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end104: .size fn1R, .Lfunc_end104-fn1R @@ -4400,7 +4393,7 @@ fn2R: # @fn2R i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end105: .size fn2R, .Lfunc_end105-fn2R @@ -4416,7 +4409,7 @@ retitR: # @retitR i32.load16_u $push1=, sR($pop0) i32.const $push2=, 3 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end106: .size retitR, .Lfunc_end106-retitR @@ -4434,15 +4427,16 @@ fn3R: # @fn3R i32.const $push10=, 0 i32.load16_u $push9=, sR($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 + i32.add $push3=, $pop8, $0 i32.const $push4=, 3 - i32.and $push7=, $pop1, $pop4 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push2=, 65532 - i32.and $push3=, $1, $pop2 - i32.or $push5=, $pop6, $pop3 + i32.const $push1=, 65532 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store16 $drop=, sR($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end107: .size fn3R, .Lfunc_end107-fn3R @@ -4461,115 +4455,115 @@ testR: # @testR i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push104=, $pop4, $pop5 - tee_local $push103=, $1=, $pop104 + tee_local $push103=, $0=, $pop104 i32.const $push6=, 16 i32.shr_u $push7=, $pop103, $pop6 i32.store8 $drop=, sR($pop1), $pop7 i32.const $push102=, 0 i32.const $push101=, 1103515245 - i32.mul $push8=, $1, $pop101 + i32.mul $push8=, $0, $pop101 i32.const $push100=, 12345 i32.add $push99=, $pop8, $pop100 - tee_local $push98=, $1=, $pop99 + tee_local $push98=, $0=, $pop99 i32.const $push97=, 16 i32.shr_u $push9=, $pop98, $pop97 i32.store8 $drop=, sR+1($pop102), $pop9 i32.const $push96=, 0 i32.const $push95=, 1103515245 - i32.mul $push10=, $1, $pop95 + i32.mul $push10=, $0, $pop95 i32.const $push94=, 12345 i32.add $push93=, $pop10, $pop94 - tee_local $push92=, $1=, $pop93 + tee_local $push92=, $0=, $pop93 i32.const $push91=, 16 i32.shr_u $push11=, $pop92, $pop91 i32.store8 $drop=, sR+2($pop96), $pop11 i32.const $push90=, 0 i32.const $push89=, 1103515245 - i32.mul $push12=, $1, $pop89 + i32.mul $push12=, $0, $pop89 i32.const $push88=, 12345 i32.add $push87=, $pop12, $pop88 - tee_local $push86=, $1=, $pop87 + tee_local $push86=, $0=, $pop87 i32.const $push85=, 16 i32.shr_u $push13=, $pop86, $pop85 i32.store8 $drop=, sR+3($pop90), $pop13 i32.const $push84=, 0 i32.const $push83=, 1103515245 - i32.mul $push14=, $1, $pop83 + i32.mul $push14=, $0, $pop83 i32.const $push82=, 12345 i32.add $push81=, $pop14, $pop82 - tee_local $push80=, $1=, $pop81 + tee_local $push80=, $0=, $pop81 i32.const $push79=, 16 i32.shr_u $push15=, $pop80, $pop79 i32.store8 $drop=, sR+4($pop84), $pop15 i32.const $push78=, 0 i32.const $push77=, 1103515245 - i32.mul $push16=, $1, $pop77 + i32.mul $push16=, $0, $pop77 i32.const $push76=, 12345 i32.add $push75=, $pop16, $pop76 - tee_local $push74=, $1=, $pop75 + tee_local $push74=, $0=, $pop75 i32.const $push73=, 16 i32.shr_u $push17=, $pop74, $pop73 i32.store8 $drop=, sR+5($pop78), $pop17 i32.const $push72=, 0 i32.const $push71=, 1103515245 - i32.mul $push18=, $1, $pop71 + i32.mul $push18=, $0, $pop71 i32.const $push70=, 12345 i32.add $push69=, $pop18, $pop70 - tee_local $push68=, $1=, $pop69 + tee_local $push68=, $0=, $pop69 i32.const $push67=, 16 i32.shr_u $push19=, $pop68, $pop67 i32.store8 $drop=, sR+6($pop72), $pop19 i32.const $push66=, 0 i32.const $push65=, 1103515245 - i32.mul $push20=, $1, $pop65 + i32.mul $push20=, $0, $pop65 i32.const $push64=, 12345 i32.add $push63=, $pop20, $pop64 - tee_local $push62=, $1=, $pop63 + tee_local $push62=, $0=, $pop63 i32.const $push61=, 16 i32.shr_u $push21=, $pop62, $pop61 i32.store8 $drop=, sR+7($pop66), $pop21 i32.const $push60=, 0 i32.const $push59=, 1103515245 - i32.mul $push22=, $1, $pop59 + i32.mul $push22=, $0, $pop59 i32.const $push58=, 12345 i32.add $push57=, $pop22, $pop58 - tee_local $push56=, $1=, $pop57 + tee_local $push56=, $0=, $pop57 i32.const $push55=, 16 i32.shr_u $push23=, $pop56, $pop55 i32.store8 $drop=, sR+8($pop60), $pop23 i32.const $push54=, 0 - i32.load16_u $0=, sR($pop54) - i32.const $push53=, 0 - i32.const $push52=, 1103515245 - i32.mul $push24=, $1, $pop52 - i32.const $push51=, 12345 - i32.add $push50=, $pop24, $pop51 - tee_local $push49=, $1=, $pop50 - i32.const $push48=, 16 - i32.shr_u $push25=, $pop49, $pop48 - i32.store8 $drop=, sR+9($pop53), $pop25 + i32.const $push53=, 1103515245 + i32.mul $push24=, $0, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop24, $pop52 + tee_local $push50=, $0=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push25=, $pop50, $pop49 + i32.store8 $drop=, sR+9($pop54), $pop25 + i32.const $push48=, 0 + i32.load16_u $1=, sR($pop48) i32.const $push47=, 0 i32.const $push46=, 0 - i32.const $push28=, -341751747 - i32.mul $push29=, $1, $pop28 - i32.const $push30=, 229283573 - i32.add $push45=, $pop29, $pop30 - tee_local $push44=, $1=, $pop45 + i32.const $push26=, -341751747 + i32.mul $push27=, $0, $pop26 + i32.const $push28=, 229283573 + i32.add $push45=, $pop27, $pop28 + tee_local $push44=, $0=, $pop45 i32.const $push43=, 1103515245 - i32.mul $push32=, $pop44, $pop43 + i32.mul $push29=, $pop44, $pop43 i32.const $push42=, 12345 - i32.add $push33=, $pop32, $pop42 - i32.store $push0=, myrnd.s($pop46), $pop33 + i32.add $push30=, $pop29, $pop42 + i32.store $push0=, myrnd.s($pop46), $pop30 i32.const $push41=, 16 - i32.shr_u $push34=, $pop0, $pop41 + i32.shr_u $push32=, $pop0, $pop41 i32.const $push40=, 16 - i32.shr_u $push31=, $1, $pop40 - i32.add $push35=, $pop34, $pop31 - i32.const $push36=, 3 - i32.and $push37=, $pop35, $pop36 - i32.const $push26=, 65532 - i32.and $push27=, $0, $pop26 - i32.or $push38=, $pop37, $pop27 + i32.shr_u $push31=, $0, $pop40 + i32.add $push33=, $pop32, $pop31 + i32.const $push34=, 3 + i32.and $push35=, $pop33, $pop34 + i32.const $push36=, 65532 + i32.and $push37=, $1, $pop36 + i32.or $push38=, $pop35, $pop37 i32.store16 $drop=, sR($pop47), $pop38 block i32.const $push39=, 1 @@ -4591,17 +4585,16 @@ testR: # @testR .type retmeS,@function retmeS: # @retmeS .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i32.load16_u $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i32.store16 $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i32.load16_u $push4=, 0($pop3):p2align=0 + i32.store16 $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end109: .size retmeS, .Lfunc_end109-retmeS @@ -4619,7 +4612,7 @@ fn1S: # @fn1S i32.add $push2=, $pop1, $0 i32.const $push3=, 1 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end110: .size fn1S, .Lfunc_end110-fn1S @@ -4639,7 +4632,7 @@ fn2S: # @fn2S i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end111: .size fn2S, .Lfunc_end111-fn2S @@ -4655,7 +4648,7 @@ retitS: # @retitS i32.load16_u $push1=, sS($pop0) i32.const $push2=, 1 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end112: .size retitS, .Lfunc_end112-retitS @@ -4673,15 +4666,16 @@ fn3S: # @fn3S i32.const $push10=, 0 i32.load16_u $push9=, sS($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 + i32.add $push3=, $pop8, $0 i32.const $push4=, 1 - i32.and $push7=, $pop1, $pop4 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push2=, 65534 - i32.and $push3=, $1, $pop2 - i32.or $push5=, $pop6, $pop3 + i32.const $push1=, 65534 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store16 $drop=, sS($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end113: .size fn3S, .Lfunc_end113-fn3S @@ -4700,115 +4694,115 @@ testS: # @testS i32.mul $push4=, $pop2, $pop3 i32.const $push5=, 12345 i32.add $push104=, $pop4, $pop5 - tee_local $push103=, $1=, $pop104 + tee_local $push103=, $0=, $pop104 i32.const $push6=, 16 i32.shr_u $push7=, $pop103, $pop6 i32.store8 $drop=, sS($pop1), $pop7 i32.const $push102=, 0 i32.const $push101=, 1103515245 - i32.mul $push8=, $1, $pop101 + i32.mul $push8=, $0, $pop101 i32.const $push100=, 12345 i32.add $push99=, $pop8, $pop100 - tee_local $push98=, $1=, $pop99 + tee_local $push98=, $0=, $pop99 i32.const $push97=, 16 i32.shr_u $push9=, $pop98, $pop97 i32.store8 $drop=, sS+1($pop102), $pop9 i32.const $push96=, 0 i32.const $push95=, 1103515245 - i32.mul $push10=, $1, $pop95 + i32.mul $push10=, $0, $pop95 i32.const $push94=, 12345 i32.add $push93=, $pop10, $pop94 - tee_local $push92=, $1=, $pop93 + tee_local $push92=, $0=, $pop93 i32.const $push91=, 16 i32.shr_u $push11=, $pop92, $pop91 i32.store8 $drop=, sS+2($pop96), $pop11 i32.const $push90=, 0 i32.const $push89=, 1103515245 - i32.mul $push12=, $1, $pop89 + i32.mul $push12=, $0, $pop89 i32.const $push88=, 12345 i32.add $push87=, $pop12, $pop88 - tee_local $push86=, $1=, $pop87 + tee_local $push86=, $0=, $pop87 i32.const $push85=, 16 i32.shr_u $push13=, $pop86, $pop85 i32.store8 $drop=, sS+3($pop90), $pop13 i32.const $push84=, 0 i32.const $push83=, 1103515245 - i32.mul $push14=, $1, $pop83 + i32.mul $push14=, $0, $pop83 i32.const $push82=, 12345 i32.add $push81=, $pop14, $pop82 - tee_local $push80=, $1=, $pop81 + tee_local $push80=, $0=, $pop81 i32.const $push79=, 16 i32.shr_u $push15=, $pop80, $pop79 i32.store8 $drop=, sS+4($pop84), $pop15 i32.const $push78=, 0 i32.const $push77=, 1103515245 - i32.mul $push16=, $1, $pop77 + i32.mul $push16=, $0, $pop77 i32.const $push76=, 12345 i32.add $push75=, $pop16, $pop76 - tee_local $push74=, $1=, $pop75 + tee_local $push74=, $0=, $pop75 i32.const $push73=, 16 i32.shr_u $push17=, $pop74, $pop73 i32.store8 $drop=, sS+5($pop78), $pop17 i32.const $push72=, 0 i32.const $push71=, 1103515245 - i32.mul $push18=, $1, $pop71 + i32.mul $push18=, $0, $pop71 i32.const $push70=, 12345 i32.add $push69=, $pop18, $pop70 - tee_local $push68=, $1=, $pop69 + tee_local $push68=, $0=, $pop69 i32.const $push67=, 16 i32.shr_u $push19=, $pop68, $pop67 i32.store8 $drop=, sS+6($pop72), $pop19 i32.const $push66=, 0 i32.const $push65=, 1103515245 - i32.mul $push20=, $1, $pop65 + i32.mul $push20=, $0, $pop65 i32.const $push64=, 12345 i32.add $push63=, $pop20, $pop64 - tee_local $push62=, $1=, $pop63 + tee_local $push62=, $0=, $pop63 i32.const $push61=, 16 i32.shr_u $push21=, $pop62, $pop61 i32.store8 $drop=, sS+7($pop66), $pop21 i32.const $push60=, 0 i32.const $push59=, 1103515245 - i32.mul $push22=, $1, $pop59 + i32.mul $push22=, $0, $pop59 i32.const $push58=, 12345 i32.add $push57=, $pop22, $pop58 - tee_local $push56=, $1=, $pop57 + tee_local $push56=, $0=, $pop57 i32.const $push55=, 16 i32.shr_u $push23=, $pop56, $pop55 i32.store8 $drop=, sS+8($pop60), $pop23 i32.const $push54=, 0 - i32.load16_u $0=, sS($pop54) - i32.const $push53=, 0 - i32.const $push52=, 1103515245 - i32.mul $push24=, $1, $pop52 - i32.const $push51=, 12345 - i32.add $push50=, $pop24, $pop51 - tee_local $push49=, $1=, $pop50 - i32.const $push48=, 16 - i32.shr_u $push25=, $pop49, $pop48 - i32.store8 $drop=, sS+9($pop53), $pop25 + i32.const $push53=, 1103515245 + i32.mul $push24=, $0, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop24, $pop52 + tee_local $push50=, $0=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push25=, $pop50, $pop49 + i32.store8 $drop=, sS+9($pop54), $pop25 + i32.const $push48=, 0 + i32.load16_u $1=, sS($pop48) i32.const $push47=, 0 i32.const $push46=, 0 - i32.const $push28=, -341751747 - i32.mul $push29=, $1, $pop28 - i32.const $push30=, 229283573 - i32.add $push45=, $pop29, $pop30 - tee_local $push44=, $1=, $pop45 + i32.const $push26=, -341751747 + i32.mul $push27=, $0, $pop26 + i32.const $push28=, 229283573 + i32.add $push45=, $pop27, $pop28 + tee_local $push44=, $0=, $pop45 i32.const $push43=, 1103515245 - i32.mul $push32=, $pop44, $pop43 + i32.mul $push29=, $pop44, $pop43 i32.const $push42=, 12345 - i32.add $push33=, $pop32, $pop42 - i32.store $push0=, myrnd.s($pop46), $pop33 + i32.add $push30=, $pop29, $pop42 + i32.store $push0=, myrnd.s($pop46), $pop30 i32.const $push41=, 16 - i32.shr_u $push34=, $pop0, $pop41 + i32.shr_u $push32=, $pop0, $pop41 i32.const $push40=, 16 - i32.shr_u $push31=, $1, $pop40 - i32.add $push35=, $pop34, $pop31 - i32.const $push36=, 1 - i32.and $push37=, $pop35, $pop36 - i32.const $push26=, 65534 - i32.and $push27=, $0, $pop26 - i32.or $push38=, $pop37, $pop27 + i32.shr_u $push31=, $0, $pop40 + i32.add $push33=, $pop32, $pop31 + i32.const $push34=, 1 + i32.and $push35=, $pop33, $pop34 + i32.const $push36=, 65534 + i32.and $push37=, $1, $pop36 + i32.or $push38=, $pop35, $pop37 i32.store16 $drop=, sS($pop47), $pop38 block i32.const $push39=, 1 @@ -4833,7 +4827,7 @@ retmeT: # @retmeT # BB#0: # %entry i32.load $push0=, 0($1):p2align=0 i32.store $drop=, 0($0):p2align=1, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end115: .size retmeT, .Lfunc_end115-retmeT @@ -4851,7 +4845,7 @@ fn1T: # @fn1T i32.add $push2=, $pop1, $0 i32.const $push3=, 1 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end116: .size fn1T, .Lfunc_end116-fn1T @@ -4871,7 +4865,7 @@ fn2T: # @fn2T i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end117: .size fn2T, .Lfunc_end117-fn2T @@ -4887,7 +4881,7 @@ retitT: # @retitT i32.load16_u $push1=, sT($pop0) i32.const $push2=, 1 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end118: .size retitT, .Lfunc_end118-retitT @@ -4905,15 +4899,16 @@ fn3T: # @fn3T i32.const $push10=, 0 i32.load16_u $push9=, sT($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 + i32.add $push3=, $pop8, $0 i32.const $push4=, 1 - i32.and $push7=, $pop1, $pop4 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push2=, 65534 - i32.and $push3=, $1, $pop2 - i32.or $push5=, $pop6, $pop3 + i32.const $push1=, 65534 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store16 $drop=, sT($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end119: .size fn3T, .Lfunc_end119-fn3T @@ -4923,109 +4918,110 @@ fn3T: # @fn3T .globl testT .type testT,@function testT: # @testT - .local i32, i32, i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push76=, 0 - i32.const $push75=, 0 - i32.load $push1=, myrnd.s($pop75) - i32.const $push74=, 1103515245 - i32.mul $push2=, $pop1, $pop74 - i32.const $push73=, 12345 - i32.add $push72=, $pop2, $pop73 - tee_local $push71=, $1=, $pop72 - i32.const $push70=, 16 - i32.shr_u $push3=, $pop71, $pop70 - i32.store8 $drop=, sT($pop76), $pop3 - i32.const $push69=, 0 - i32.const $push68=, 1103515245 - i32.mul $push4=, $1, $pop68 - i32.const $push67=, 12345 - i32.add $push66=, $pop4, $pop67 - tee_local $push65=, $1=, $pop66 - i32.const $push64=, 16 - i32.shr_u $push5=, $pop65, $pop64 - i32.store8 $drop=, sT+1($pop69), $pop5 - i32.const $push63=, 0 - i32.const $push62=, 1103515245 - i32.mul $push6=, $1, $pop62 - i32.const $push61=, 12345 - i32.add $push60=, $pop6, $pop61 - tee_local $push59=, $1=, $pop60 - i32.const $push58=, 16 - i32.shr_u $push7=, $pop59, $pop58 - i32.store8 $drop=, sT+2($pop63), $pop7 - i32.const $push57=, 0 - i32.const $push56=, 1103515245 - i32.mul $push8=, $1, $pop56 - i32.const $push55=, 12345 - i32.add $push54=, $pop8, $pop55 - tee_local $push53=, $1=, $pop54 - i32.const $push52=, 16 - i32.shr_u $push9=, $pop53, $pop52 - i32.store8 $drop=, sT+3($pop57), $pop9 - i32.const $push51=, 0 - i32.const $push50=, 1103515245 - i32.mul $push11=, $1, $pop50 - i32.const $push49=, 12345 - i32.add $push48=, $pop11, $pop49 - tee_local $push47=, $3=, $pop48 - i32.const $push46=, 16 - i32.shr_u $push45=, $pop47, $pop46 - tee_local $push44=, $2=, $pop45 - i32.const $push43=, 1 - i32.and $push13=, $pop44, $pop43 - i32.const $push42=, 0 - i32.load16_u $push10=, sT($pop42) - i32.const $push41=, 65534 - i32.and $push14=, $pop10, $pop41 - i32.or $push15=, $pop13, $pop14 - i32.store16 $drop=, sT($pop51), $pop15 - i32.const $push40=, 0 - i32.load $1=, sT($pop40) - i32.const $push39=, 0 - i32.const $push38=, 1103515245 - i32.mul $push12=, $3, $pop38 - i32.const $push37=, 12345 - i32.add $push36=, $pop12, $pop37 - tee_local $push35=, $3=, $pop36 - i32.store $0=, myrnd.s($pop39), $pop35 + i32.const $push79=, 0 + i32.const $push78=, 0 + i32.load $push2=, myrnd.s($pop78) + i32.const $push77=, 1103515245 + i32.mul $push3=, $pop2, $pop77 + i32.const $push76=, 12345 + i32.add $push75=, $pop3, $pop76 + tee_local $push74=, $1=, $pop75 + i32.const $push73=, 16 + i32.shr_u $push4=, $pop74, $pop73 + i32.store8 $drop=, sT($pop79), $pop4 + i32.const $push72=, 0 + i32.const $push71=, 1103515245 + i32.mul $push5=, $1, $pop71 + i32.const $push70=, 12345 + i32.add $push69=, $pop5, $pop70 + tee_local $push68=, $1=, $pop69 + i32.const $push67=, 16 + i32.shr_u $push6=, $pop68, $pop67 + i32.store8 $drop=, sT+1($pop72), $pop6 + i32.const $push66=, 0 + i32.const $push65=, 1103515245 + i32.mul $push7=, $1, $pop65 + i32.const $push64=, 12345 + i32.add $push63=, $pop7, $pop64 + tee_local $push62=, $1=, $pop63 + i32.const $push61=, 16 + i32.shr_u $push8=, $pop62, $pop61 + i32.store8 $drop=, sT+2($pop66), $pop8 + i32.const $push60=, 0 + i32.const $push59=, 1103515245 + i32.mul $push9=, $1, $pop59 + i32.const $push58=, 12345 + i32.add $push57=, $pop9, $pop58 + tee_local $push56=, $1=, $pop57 + i32.const $push55=, 16 + i32.shr_u $push10=, $pop56, $pop55 + i32.store8 $drop=, sT+3($pop60), $pop10 + i32.const $push54=, 0 + i32.const $push53=, 1103515245 + i32.mul $push13=, $1, $pop53 + i32.const $push52=, 12345 + i32.add $push51=, $pop13, $pop52 + tee_local $push50=, $1=, $pop51 + i32.const $push49=, 16 + i32.shr_u $push48=, $pop50, $pop49 + tee_local $push47=, $2=, $pop48 + i32.const $push46=, 1 + i32.and $push14=, $pop47, $pop46 + i32.const $push45=, 0 + i32.load16_u $push11=, sT($pop45) + i32.const $push44=, 65534 + i32.and $push12=, $pop11, $pop44 + i32.or $push15=, $pop14, $pop12 + i32.store16 $drop=, sT($pop54), $pop15 block - i32.const $push34=, 16 - i32.shr_u $push33=, $3, $pop34 - tee_local $push32=, $3=, $pop33 - i32.add $push17=, $pop32, $2 - i32.add $push16=, $3, $1 - i32.xor $push18=, $pop17, $pop16 - i32.const $push31=, 1 - i32.and $push19=, $pop18, $pop31 - br_if 0, $pop19 # 0: down to label8 + i32.const $push43=, 0 + i32.const $push42=, 1103515245 + i32.mul $push16=, $1, $pop42 + i32.const $push41=, 12345 + i32.add $push1=, $pop16, $pop41 + i32.store $push40=, myrnd.s($pop43), $pop1 + tee_local $push39=, $0=, $pop40 + i32.const $push38=, 16 + i32.shr_u $push37=, $pop39, $pop38 + tee_local $push36=, $1=, $pop37 + i32.add $push17=, $pop36, $2 + i32.const $push35=, 0 + i32.load $push34=, sT($pop35) + tee_local $push33=, $2=, $pop34 + i32.add $push18=, $1, $pop33 + i32.xor $push19=, $pop17, $pop18 + i32.const $push32=, 1 + i32.and $push20=, $pop19, $pop32 + br_if 0, $pop20 # 0: down to label8 # BB#1: # %if.end94 - i32.const $push87=, 0 - i32.const $push86=, 0 + i32.const $push90=, 0 + i32.const $push89=, 0 i32.const $push21=, -2139243339 i32.mul $push22=, $0, $pop21 i32.const $push23=, -1492899873 - i32.add $push85=, $pop22, $pop23 - tee_local $push84=, $3=, $pop85 - i32.const $push83=, 1103515245 - i32.mul $push25=, $pop84, $pop83 - i32.const $push82=, 12345 - i32.add $push26=, $pop25, $pop82 - i32.store $push0=, myrnd.s($pop86), $pop26 - i32.const $push81=, 16 - i32.shr_u $push27=, $pop0, $pop81 - i32.const $push80=, 16 - i32.shr_u $push24=, $3, $pop80 - i32.add $push28=, $pop27, $pop24 - i32.const $push79=, 1 - i32.and $push29=, $pop28, $pop79 - i32.const $push78=, 65534 - i32.and $push20=, $1, $pop78 - i32.or $push30=, $pop29, $pop20 - i32.store16 $drop=, sT($pop87), $pop30 - i32.const $push77=, 1 - i32.eqz $push88=, $pop77 - br_if 0, $pop88 # 0: down to label8 + i32.add $push88=, $pop22, $pop23 + tee_local $push87=, $1=, $pop88 + i32.const $push86=, 1103515245 + i32.mul $push24=, $pop87, $pop86 + i32.const $push85=, 12345 + i32.add $push25=, $pop24, $pop85 + i32.store $push0=, myrnd.s($pop89), $pop25 + i32.const $push84=, 16 + i32.shr_u $push27=, $pop0, $pop84 + i32.const $push83=, 16 + i32.shr_u $push26=, $1, $pop83 + i32.add $push28=, $pop27, $pop26 + i32.const $push82=, 1 + i32.and $push29=, $pop28, $pop82 + i32.const $push81=, 65534 + i32.and $push30=, $2, $pop81 + i32.or $push31=, $pop29, $pop30 + i32.store16 $drop=, sT($pop90), $pop31 + i32.const $push80=, 1 + i32.eqz $push91=, $pop80 + br_if 0, $pop91 # 0: down to label8 # BB#2: # %if.end140 return .LBB120_3: # %if.then139 @@ -5042,17 +5038,16 @@ testT: # @testT .type retmeU,@function retmeU: # @retmeU .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 8 - i32.add $push3=, $1, $pop1 - i32.load16_u $2=, 0($pop3):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i32.store16 $drop=, 0($pop2):p2align=0, $2 - return + i32.const $push1=, 8 + i32.add $push2=, $0, $pop1 + i32.const $push5=, 8 + i32.add $push3=, $1, $pop5 + i32.load16_u $push4=, 0($pop3):p2align=0 + i32.store16 $drop=, 0($pop2):p2align=0, $pop4 + # fallthrough-return .endfunc .Lfunc_end121: .size retmeU, .Lfunc_end121-retmeU @@ -5072,7 +5067,7 @@ fn1U: # @fn1U i32.add $push4=, $pop3, $0 i32.const $push5=, 1 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end122: .size fn1U, .Lfunc_end122-fn1U @@ -5094,7 +5089,7 @@ fn2U: # @fn2U i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end123: .size fn2U, .Lfunc_end123-fn2U @@ -5112,7 +5107,7 @@ retitU: # @retitU i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 1 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end124: .size retitU, .Lfunc_end124-retitU @@ -5130,21 +5125,21 @@ fn3U: # @fn3U i32.const $push16=, 0 i32.load16_u $push15=, sU($pop16) tee_local $push14=, $1=, $pop15 - i32.const $push1=, 6 - i32.shr_u $push2=, $pop14, $pop1 - i32.add $push13=, $pop2, $0 + i32.const $push3=, 6 + i32.shr_u $push4=, $pop14, $pop3 + i32.add $push13=, $pop4, $0 tee_local $push12=, $0=, $pop13 i32.const $push11=, 6 - i32.shl $push3=, $pop12, $pop11 - i32.const $push4=, 64 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 65471 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push5=, $pop12, $pop11 + i32.const $push6=, 64 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 65471 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store16 $drop=, sU($pop0), $pop8 i32.const $push9=, 1 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end125: .size fn3U, .Lfunc_end125-fn3U @@ -5249,7 +5244,7 @@ testU: # @testU i32.shr_u $push28=, $pop114, $pop113 i32.store8 $drop=, sU+9($pop118), $pop28 i32.const $push112=, 0 - i32.load16_u $1=, sU($pop112) + i32.load16_u $3=, sU($pop112) i32.const $push111=, 0 i32.const $push110=, 1103515245 i32.mul $push29=, $2, $pop110 @@ -5257,65 +5252,65 @@ testU: # @testU i32.add $push108=, $pop29, $pop109 tee_local $push107=, $2=, $pop108 i32.const $push106=, 1103515245 - i32.mul $push31=, $pop107, $pop106 + i32.mul $push30=, $pop107, $pop106 i32.const $push105=, 12345 - i32.add $push3=, $pop31, $pop105 + i32.add $push3=, $pop30, $pop105 i32.store $0=, myrnd.s($pop111), $pop3 block i32.const $push104=, 0 i32.const $push103=, 16 i32.shr_u $push102=, $2, $pop103 - tee_local $push101=, $4=, $pop102 - i32.const $push30=, 2047 - i32.and $push100=, $pop101, $pop30 - tee_local $push99=, $3=, $pop100 - i32.const $push32=, 6 - i32.shl $push33=, $pop99, $pop32 - i32.const $push34=, 64 - i32.and $push35=, $pop33, $pop34 - i32.const $push36=, -65 - i32.and $push98=, $1, $pop36 + tee_local $push101=, $1=, $pop102 + i32.const $push32=, 2047 + i32.and $push100=, $pop101, $pop32 + tee_local $push99=, $4=, $pop100 + i32.const $push33=, 6 + i32.shl $push34=, $pop99, $pop33 + i32.const $push35=, 64 + i32.and $push36=, $pop34, $pop35 + i32.const $push31=, -65 + i32.and $push98=, $3, $pop31 tee_local $push97=, $2=, $pop98 - i32.or $push37=, $pop35, $pop97 + i32.or $push37=, $pop36, $pop97 i32.store16 $push0=, sU($pop104), $pop37 i32.const $push38=, 65472 i32.and $push39=, $pop0, $pop38 i32.const $push96=, 6 i32.shr_u $push95=, $pop39, $pop96 - tee_local $push94=, $1=, $pop95 - i32.xor $push40=, $pop94, $3 + tee_local $push94=, $3=, $pop95 + i32.xor $push40=, $pop94, $4 i32.const $push93=, 1 i32.and $push41=, $pop40, $pop93 br_if 0, $pop41 # 0: down to label9 # BB#1: # %lor.lhs.false41 i32.const $push174=, 16 i32.shr_u $push173=, $0, $pop174 - tee_local $push172=, $3=, $pop173 - i32.add $push42=, $1, $pop172 - i32.add $push43=, $3, $4 - i32.xor $push44=, $pop42, $pop43 + tee_local $push172=, $4=, $pop173 + i32.add $push43=, $3, $pop172 + i32.add $push42=, $4, $1 + i32.xor $push44=, $pop43, $pop42 i32.const $push171=, 1 i32.and $push45=, $pop44, $pop171 br_if 0, $pop45 # 0: down to label9 # BB#2: # %if.end - i32.const $push51=, 0 + i32.const $push50=, 0 i32.const $push46=, 1103515245 i32.mul $push47=, $0, $pop46 i32.const $push48=, 12345 i32.add $push188=, $pop47, $pop48 - tee_local $push187=, $1=, $pop188 + tee_local $push187=, $3=, $pop188 i32.const $push186=, 1103515245 - i32.mul $push50=, $pop187, $pop186 + i32.mul $push49=, $pop187, $pop186 i32.const $push185=, 12345 - i32.add $push4=, $pop50, $pop185 - i32.store $0=, myrnd.s($pop51), $pop4 + i32.add $push4=, $pop49, $pop185 + i32.store $0=, myrnd.s($pop50), $pop4 i32.const $push184=, 0 i32.const $push183=, 16 - i32.shr_u $push182=, $1, $pop183 - tee_local $push181=, $3=, $pop182 - i32.const $push49=, 2047 - i32.and $push180=, $pop181, $pop49 - tee_local $push179=, $1=, $pop180 + i32.shr_u $push182=, $3, $pop183 + tee_local $push181=, $4=, $pop182 + i32.const $push51=, 2047 + i32.and $push180=, $pop181, $pop51 + tee_local $push179=, $3=, $pop180 i32.const $push52=, 6 i32.shl $push53=, $pop179, $pop52 i32.const $push54=, 64 @@ -5326,21 +5321,21 @@ testU: # @testU i32.and $push58=, $pop1, $pop57 i32.const $push178=, 6 i32.shr_u $push177=, $pop58, $pop178 - tee_local $push176=, $4=, $pop177 - i32.xor $push59=, $pop176, $1 + tee_local $push176=, $1=, $pop177 + i32.xor $push59=, $pop176, $3 i32.const $push175=, 1 i32.and $push60=, $pop59, $pop175 br_if 0, $pop60 # 0: down to label9 # BB#3: # %lor.lhs.false85 i32.const $push194=, 16 i32.shr_u $push193=, $0, $pop194 - tee_local $push192=, $1=, $pop193 - i32.add $push65=, $pop192, $3 + tee_local $push192=, $3=, $pop193 + i32.add $push65=, $pop192, $4 i32.const $push191=, 1 i32.and $push66=, $pop65, $pop191 i32.const $push63=, 15 i32.rem_u $push67=, $pop66, $pop63 - i32.add $push61=, $4, $1 + i32.add $push61=, $1, $3 i32.const $push190=, 1 i32.and $push62=, $pop61, $pop190 i32.const $push189=, 15 @@ -5348,42 +5343,42 @@ testU: # @testU i32.ne $push68=, $pop67, $pop64 br_if 0, $pop68 # 0: down to label9 # BB#4: # %lor.lhs.false130 - i32.const $push76=, 0 + i32.const $push74=, 0 i32.const $push69=, 1103515245 i32.mul $push70=, $0, $pop69 i32.const $push71=, 12345 i32.add $push206=, $pop70, $pop71 tee_local $push205=, $0=, $pop206 - i32.const $push77=, 10 - i32.shr_u $push78=, $pop205, $pop77 - i32.const $push79=, 64 - i32.and $push80=, $pop78, $pop79 - i32.or $push81=, $pop80, $2 - i32.const $push82=, 65472 - i32.and $push83=, $pop81, $pop82 - i32.const $push84=, 6 - i32.shr_u $push85=, $pop83, $pop84 + i32.const $push76=, 10 + i32.shr_u $push77=, $pop205, $pop76 + i32.const $push78=, 64 + i32.and $push79=, $pop77, $pop78 + i32.or $push80=, $pop79, $2 + i32.const $push81=, 65472 + i32.and $push82=, $pop80, $pop81 + i32.const $push83=, 6 + i32.shr_u $push84=, $pop82, $pop83 i32.const $push204=, 0 i32.const $push203=, 1103515245 - i32.mul $push74=, $0, $pop203 + i32.mul $push72=, $0, $pop203 i32.const $push202=, 12345 - i32.add $push75=, $pop74, $pop202 - i32.store $push2=, myrnd.s($pop204), $pop75 - i32.const $push72=, 16 - i32.shr_u $push201=, $pop2, $pop72 - tee_local $push200=, $1=, $pop201 - i32.add $push199=, $pop85, $pop200 - tee_local $push198=, $3=, $pop199 + i32.add $push73=, $pop72, $pop202 + i32.store $push2=, myrnd.s($pop204), $pop73 + i32.const $push75=, 16 + i32.shr_u $push201=, $pop2, $pop75 + tee_local $push200=, $3=, $pop201 + i32.add $push199=, $pop84, $pop200 + tee_local $push198=, $4=, $pop199 i32.const $push197=, 6 - i32.shl $push86=, $pop198, $pop197 + i32.shl $push85=, $pop198, $pop197 i32.const $push196=, 64 - i32.and $push87=, $pop86, $pop196 - i32.or $push88=, $pop87, $2 - i32.store16 $drop=, sU($pop76), $pop88 + i32.and $push86=, $pop85, $pop196 + i32.or $push87=, $pop86, $2 + i32.store16 $drop=, sU($pop74), $pop87 i32.const $push195=, 16 - i32.shr_u $push73=, $0, $pop195 - i32.add $push89=, $1, $pop73 - i32.xor $push90=, $pop89, $3 + i32.shr_u $push88=, $0, $pop195 + i32.add $push89=, $3, $pop88 + i32.xor $push90=, $pop89, $4 i32.const $push91=, 1 i32.and $push92=, $pop90, $pop91 br_if 0, $pop92 # 0: down to label9 @@ -5406,7 +5401,7 @@ retmeV: # @retmeV # BB#0: # %entry i32.load $push0=, 0($1):p2align=0 i32.store $drop=, 0($0):p2align=1, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end127: .size retmeV, .Lfunc_end127-retmeV @@ -5426,7 +5421,7 @@ fn1V: # @fn1V i32.add $push4=, $pop3, $0 i32.const $push5=, 1 i32.and $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end128: .size fn1V, .Lfunc_end128-fn1V @@ -5446,7 +5441,7 @@ fn2V: # @fn2V i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end129: .size fn2V, .Lfunc_end129-fn2V @@ -5462,7 +5457,7 @@ retitV: # @retitV i32.load8_u $push1=, sV+1($pop0) i32.const $push2=, 1 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end130: .size retitV, .Lfunc_end130-retitV @@ -5480,21 +5475,21 @@ fn3V: # @fn3V i32.const $push16=, 0 i32.load16_u $push15=, sV($pop16) tee_local $push14=, $1=, $pop15 - i32.const $push1=, 8 - i32.shr_u $push2=, $pop14, $pop1 - i32.add $push13=, $pop2, $0 + i32.const $push3=, 8 + i32.shr_u $push4=, $pop14, $pop3 + i32.add $push13=, $pop4, $0 tee_local $push12=, $0=, $pop13 i32.const $push11=, 8 - i32.shl $push3=, $pop12, $pop11 - i32.const $push4=, 256 - i32.and $push5=, $pop3, $pop4 - i32.const $push6=, 65279 - i32.and $push7=, $1, $pop6 - i32.or $push8=, $pop5, $pop7 + i32.shl $push5=, $pop12, $pop11 + i32.const $push6=, 256 + i32.and $push7=, $pop5, $pop6 + i32.const $push1=, 65279 + i32.and $push2=, $1, $pop1 + i32.or $push8=, $pop7, $pop2 i32.store16 $drop=, sV($pop0), $pop8 i32.const $push9=, 1 i32.and $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end131: .size fn3V, .Lfunc_end131-fn3V @@ -5506,176 +5501,177 @@ fn3V: # @fn3V testV: # @testV .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push110=, 0 - i32.const $push109=, 0 - i32.load $push3=, myrnd.s($pop109) - i32.const $push108=, 1103515245 - i32.mul $push4=, $pop3, $pop108 - i32.const $push107=, 12345 - i32.add $push106=, $pop4, $pop107 - tee_local $push105=, $1=, $pop106 - i32.const $push104=, 16 - i32.shr_u $push5=, $pop105, $pop104 - i32.store8 $drop=, sV($pop110), $pop5 - i32.const $push103=, 0 - i32.const $push102=, 1103515245 - i32.mul $push6=, $1, $pop102 - i32.const $push101=, 12345 - i32.add $push100=, $pop6, $pop101 - tee_local $push99=, $1=, $pop100 - i32.const $push98=, 16 - i32.shr_u $push7=, $pop99, $pop98 - i32.store8 $drop=, sV+1($pop103), $pop7 - i32.const $push97=, 0 - i32.const $push96=, 1103515245 - i32.mul $push8=, $1, $pop96 - i32.const $push95=, 12345 - i32.add $push94=, $pop8, $pop95 - tee_local $push93=, $1=, $pop94 - i32.const $push92=, 16 - i32.shr_u $push9=, $pop93, $pop92 - i32.store8 $drop=, sV+2($pop97), $pop9 - i32.const $push91=, 0 - i32.const $push90=, 1103515245 - i32.mul $push10=, $1, $pop90 - i32.const $push89=, 12345 - i32.add $push88=, $pop10, $pop89 - tee_local $push87=, $1=, $pop88 - i32.const $push86=, 16 - i32.shr_u $push11=, $pop87, $pop86 - i32.store8 $drop=, sV+3($pop91), $pop11 - i32.const $push85=, 0 - i32.const $push84=, 1103515245 - i32.mul $push13=, $1, $pop84 - i32.const $push83=, 12345 - i32.add $push82=, $pop13, $pop83 - tee_local $push81=, $3=, $pop82 - i32.const $push80=, 8 - i32.shr_u $push16=, $pop81, $pop80 - i32.const $push79=, 256 - i32.and $push17=, $pop16, $pop79 - i32.const $push78=, 0 - i32.load16_u $push12=, sV($pop78) - i32.const $push77=, 65279 - i32.and $push18=, $pop12, $pop77 - i32.or $push19=, $pop17, $pop18 - i32.store16 $drop=, sV($pop85), $pop19 - i32.const $push76=, 0 - i32.load $1=, sV($pop76) - i32.const $push75=, 0 - i32.const $push74=, 1103515245 - i32.mul $push15=, $3, $pop74 - i32.const $push73=, 12345 - i32.add $push72=, $pop15, $pop73 - tee_local $push71=, $2=, $pop72 - i32.store $0=, myrnd.s($pop75), $pop71 + i32.const $push113=, 0 + i32.const $push112=, 0 + i32.load $push4=, myrnd.s($pop112) + i32.const $push111=, 1103515245 + i32.mul $push5=, $pop4, $pop111 + i32.const $push110=, 12345 + i32.add $push109=, $pop5, $pop110 + tee_local $push108=, $4=, $pop109 + i32.const $push107=, 16 + i32.shr_u $push6=, $pop108, $pop107 + i32.store8 $drop=, sV($pop113), $pop6 + i32.const $push106=, 0 + i32.const $push105=, 1103515245 + i32.mul $push7=, $4, $pop105 + i32.const $push104=, 12345 + i32.add $push103=, $pop7, $pop104 + tee_local $push102=, $4=, $pop103 + i32.const $push101=, 16 + i32.shr_u $push8=, $pop102, $pop101 + i32.store8 $drop=, sV+1($pop106), $pop8 + i32.const $push100=, 0 + i32.const $push99=, 1103515245 + i32.mul $push9=, $4, $pop99 + i32.const $push98=, 12345 + i32.add $push97=, $pop9, $pop98 + tee_local $push96=, $4=, $pop97 + i32.const $push95=, 16 + i32.shr_u $push10=, $pop96, $pop95 + i32.store8 $drop=, sV+2($pop100), $pop10 + i32.const $push94=, 0 + i32.const $push93=, 1103515245 + i32.mul $push11=, $4, $pop93 + i32.const $push92=, 12345 + i32.add $push91=, $pop11, $pop92 + tee_local $push90=, $4=, $pop91 + i32.const $push89=, 16 + i32.shr_u $push12=, $pop90, $pop89 + i32.store8 $drop=, sV+3($pop94), $pop12 + i32.const $push88=, 0 + i32.const $push87=, 1103515245 + i32.mul $push15=, $4, $pop87 + i32.const $push86=, 12345 + i32.add $push85=, $pop15, $pop86 + tee_local $push84=, $4=, $pop85 + i32.const $push83=, 8 + i32.shr_u $push16=, $pop84, $pop83 + i32.const $push82=, 256 + i32.and $push17=, $pop16, $pop82 + i32.const $push81=, 0 + i32.load16_u $push13=, sV($pop81) + i32.const $push80=, 65279 + i32.and $push14=, $pop13, $pop80 + i32.or $push18=, $pop17, $pop14 + i32.store16 $drop=, sV($pop88), $pop18 block - i32.const $push70=, 16 - i32.shr_u $push69=, $2, $pop70 - tee_local $push68=, $2=, $pop69 - i32.const $push67=, 16 - i32.shr_u $push14=, $3, $pop67 - i32.add $push22=, $pop68, $pop14 - i32.const $push66=, 8 - i32.shr_u $push20=, $1, $pop66 - i32.add $push21=, $pop20, $2 - i32.xor $push23=, $pop22, $pop21 - i32.const $push65=, 1 - i32.and $push24=, $pop23, $pop65 - br_if 0, $pop24 # 0: down to label10 + i32.const $push79=, 0 + i32.const $push78=, 1103515245 + i32.mul $push19=, $4, $pop78 + i32.const $push77=, 12345 + i32.add $push2=, $pop19, $pop77 + i32.store $push76=, myrnd.s($pop79), $pop2 + tee_local $push75=, $0=, $pop76 + i32.const $push74=, 16 + i32.shr_u $push73=, $pop75, $pop74 + tee_local $push72=, $1=, $pop73 + i32.const $push71=, 16 + i32.shr_u $push20=, $4, $pop71 + i32.add $push21=, $pop72, $pop20 + i32.const $push70=, 0 + i32.load $push69=, sV($pop70) + tee_local $push68=, $4=, $pop69 + i32.const $push67=, 8 + i32.shr_u $push22=, $pop68, $pop67 + i32.add $push23=, $pop22, $1 + i32.xor $push24=, $pop21, $pop23 + i32.const $push66=, 1 + i32.and $push25=, $pop24, $pop66 + br_if 0, $pop25 # 0: down to label10 # BB#1: # %if.end - i32.const $push129=, 0 - i32.const $push128=, 1103515245 - i32.mul $push25=, $0, $pop128 - i32.const $push127=, 12345 - i32.add $push126=, $pop25, $pop127 - tee_local $push125=, $2=, $pop126 - i32.const $push124=, 1103515245 - i32.mul $push27=, $pop125, $pop124 - i32.const $push123=, 12345 - i32.add $push2=, $pop27, $pop123 - i32.store $3=, myrnd.s($pop129), $pop2 - i32.const $push122=, 0 - i32.const $push121=, 16 - i32.shr_u $push120=, $2, $pop121 - tee_local $push119=, $0=, $pop120 - i32.const $push26=, 2047 - i32.and $push118=, $pop119, $pop26 - tee_local $push117=, $2=, $pop118 - i32.const $push116=, 8 - i32.shl $push28=, $pop117, $pop116 - i32.const $push115=, 256 - i32.and $push29=, $pop28, $pop115 - i32.const $push30=, -257 - i32.and $push31=, $1, $pop30 - i32.or $push32=, $pop29, $pop31 - i32.store16 $push0=, sV($pop122), $pop32 - i32.const $push33=, 65280 - i32.and $push34=, $pop0, $pop33 - i32.const $push114=, 8 - i32.shr_u $push113=, $pop34, $pop114 - tee_local $push112=, $4=, $pop113 - i32.xor $push35=, $pop112, $2 - i32.const $push111=, 1 - i32.and $push36=, $pop35, $pop111 - br_if 0, $pop36 # 0: down to label10 + i32.const $push132=, 0 + i32.const $push131=, 1103515245 + i32.mul $push26=, $0, $pop131 + i32.const $push130=, 12345 + i32.add $push129=, $pop26, $pop130 + tee_local $push128=, $0=, $pop129 + i32.const $push127=, 1103515245 + i32.mul $push27=, $pop128, $pop127 + i32.const $push126=, 12345 + i32.add $push3=, $pop27, $pop126 + i32.store $1=, myrnd.s($pop132), $pop3 + i32.const $push125=, 0 + i32.const $push124=, 16 + i32.shr_u $push123=, $0, $pop124 + tee_local $push122=, $2=, $pop123 + i32.const $push30=, 2047 + i32.and $push121=, $pop122, $pop30 + tee_local $push120=, $0=, $pop121 + i32.const $push119=, 8 + i32.shl $push31=, $pop120, $pop119 + i32.const $push118=, 256 + i32.and $push32=, $pop31, $pop118 + i32.const $push28=, -257 + i32.and $push29=, $4, $pop28 + i32.or $push33=, $pop32, $pop29 + i32.store16 $push0=, sV($pop125), $pop33 + i32.const $push34=, 65280 + i32.and $push35=, $pop0, $pop34 + i32.const $push117=, 8 + i32.shr_u $push116=, $pop35, $pop117 + tee_local $push115=, $3=, $pop116 + i32.xor $push36=, $pop115, $0 + i32.const $push114=, 1 + i32.and $push37=, $pop36, $pop114 + br_if 0, $pop37 # 0: down to label10 # BB#2: # %lor.lhs.false89 - i32.const $push135=, 16 - i32.shr_u $push134=, $3, $pop135 - tee_local $push133=, $2=, $pop134 - i32.add $push41=, $pop133, $0 - i32.const $push132=, 1 - i32.and $push42=, $pop41, $pop132 - i32.const $push39=, 15 - i32.rem_u $push43=, $pop42, $pop39 - i32.add $push37=, $4, $2 - i32.const $push131=, 1 - i32.and $push38=, $pop37, $pop131 - i32.const $push130=, 15 - i32.rem_u $push40=, $pop38, $pop130 - i32.ne $push44=, $pop43, $pop40 - br_if 0, $pop44 # 0: down to label10 + i32.const $push138=, 16 + i32.shr_u $push137=, $1, $pop138 + tee_local $push136=, $0=, $pop137 + i32.add $push42=, $pop136, $2 + i32.const $push135=, 1 + i32.and $push43=, $pop42, $pop135 + i32.const $push40=, 15 + i32.rem_u $push44=, $pop43, $pop40 + i32.add $push38=, $3, $0 + i32.const $push134=, 1 + i32.and $push39=, $pop38, $pop134 + i32.const $push133=, 15 + i32.rem_u $push41=, $pop39, $pop133 + i32.ne $push45=, $pop44, $pop41 + br_if 0, $pop45 # 0: down to label10 # BB#3: # %lor.lhs.false136 - i32.const $push52=, 0 - i32.const $push45=, 1103515245 - i32.mul $push46=, $3, $pop45 - i32.const $push47=, 12345 - i32.add $push152=, $pop46, $pop47 - tee_local $push151=, $3=, $pop152 + i32.const $push51=, 0 + i32.const $push46=, 1103515245 + i32.mul $push47=, $1, $pop46 + i32.const $push48=, 12345 + i32.add $push155=, $pop47, $pop48 + tee_local $push154=, $1=, $pop155 i32.const $push53=, 8 - i32.shr_u $push54=, $pop151, $pop53 + i32.shr_u $push54=, $pop154, $pop53 i32.const $push55=, 256 i32.and $push56=, $pop54, $pop55 - i32.const $push150=, 65279 - i32.and $push149=, $1, $pop150 - tee_local $push148=, $1=, $pop149 - i32.or $push57=, $pop56, $pop148 - i32.const $push147=, 8 - i32.shr_u $push58=, $pop57, $pop147 - i32.const $push146=, 0 - i32.const $push145=, 1103515245 - i32.mul $push50=, $3, $pop145 - i32.const $push144=, 12345 - i32.add $push51=, $pop50, $pop144 - i32.store $push1=, myrnd.s($pop146), $pop51 - i32.const $push48=, 16 - i32.shr_u $push143=, $pop1, $pop48 - tee_local $push142=, $2=, $pop143 - i32.add $push141=, $pop58, $pop142 - tee_local $push140=, $0=, $pop141 - i32.const $push139=, 8 - i32.shl $push59=, $pop140, $pop139 - i32.const $push138=, 256 - i32.and $push60=, $pop59, $pop138 - i32.or $push61=, $pop60, $1 - i32.store16 $drop=, sV($pop52), $pop61 - i32.const $push137=, 16 - i32.shr_u $push49=, $3, $pop137 - i32.add $push62=, $2, $pop49 - i32.xor $push63=, $pop62, $0 - i32.const $push136=, 1 - i32.and $push64=, $pop63, $pop136 - br_if 0, $pop64 # 0: down to label10 + i32.const $push153=, 65279 + i32.and $push152=, $4, $pop153 + tee_local $push151=, $4=, $pop152 + i32.or $push57=, $pop56, $pop151 + i32.const $push150=, 8 + i32.shr_u $push58=, $pop57, $pop150 + i32.const $push149=, 0 + i32.const $push148=, 1103515245 + i32.mul $push49=, $1, $pop148 + i32.const $push147=, 12345 + i32.add $push50=, $pop49, $pop147 + i32.store $push1=, myrnd.s($pop149), $pop50 + i32.const $push52=, 16 + i32.shr_u $push146=, $pop1, $pop52 + tee_local $push145=, $0=, $pop146 + i32.add $push144=, $pop58, $pop145 + tee_local $push143=, $2=, $pop144 + i32.const $push142=, 8 + i32.shl $push59=, $pop143, $pop142 + i32.const $push141=, 256 + i32.and $push60=, $pop59, $pop141 + i32.or $push61=, $pop60, $4 + i32.store16 $drop=, sV($pop51), $pop61 + i32.const $push140=, 16 + i32.shr_u $push62=, $1, $pop140 + i32.add $push63=, $0, $pop62 + i32.xor $push64=, $pop63, $2 + i32.const $push139=, 1 + i32.and $push65=, $pop64, $pop139 + br_if 0, $pop65 # 0: down to label10 # BB#4: # %if.end142 return .LBB132_5: # %if.then141 @@ -5692,23 +5688,22 @@ testV: # @testV .type retmeW,@function retmeW: # @retmeW .param i32, i32 - .local i32, i64 # BB#0: # %entry - i32.const $push1=, 16 - i32.add $push3=, $1, $pop1 - i32.load $2=, 0($pop3):p2align=0 - i32.const $push4=, 8 - i32.add $push6=, $1, $pop4 - i64.load $3=, 0($pop6):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push8=, 16 - i32.add $push2=, $0, $pop8 - i32.store $drop=, 0($pop2):p2align=0, $2 - i32.const $push7=, 8 - i32.add $push5=, $0, $pop7 - i64.store $drop=, 0($pop5):p2align=0, $3 - return + i32.const $push1=, 16 + i32.add $push2=, $0, $pop1 + i32.const $push10=, 16 + i32.add $push3=, $1, $pop10 + i32.load $push4=, 0($pop3):p2align=0 + i32.store $drop=, 0($pop2):p2align=0, $pop4 + i32.const $push5=, 8 + i32.add $push6=, $0, $pop5 + i32.const $push9=, 8 + i32.add $push7=, $1, $pop9 + i64.load $push8=, 0($pop7):p2align=0 + i64.store $drop=, 0($pop6):p2align=0, $pop8 + # fallthrough-return .endfunc .Lfunc_end133: .size retmeW, .Lfunc_end133-retmeW @@ -5726,7 +5721,7 @@ fn1W: # @fn1W i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end134: .size fn1W, .Lfunc_end134-fn1W @@ -5746,7 +5741,7 @@ fn2W: # @fn2W i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end135: .size fn2W, .Lfunc_end135-fn2W @@ -5762,7 +5757,7 @@ retitW: # @retitW i32.load $push1=, sW+16($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end136: .size retitW, .Lfunc_end136-retitW @@ -5780,15 +5775,16 @@ fn3W: # @fn3W i32.const $push10=, 0 i32.load $push9=, sW+16($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 4095 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 4095 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -4096 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -4096 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sW+16($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end137: .size fn3W, .Lfunc_end137-fn3W @@ -5798,117 +5794,117 @@ fn3W: # @fn3W .globl testW .type testW,@function testW: # @testW - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.const $push98=, 0 - i32.load $push4=, myrnd.s($pop98) - i32.const $push5=, 1670464429 - i32.mul $push6=, $pop4, $pop5 - i32.const $push7=, 2121308585 - i32.add $push97=, $pop6, $pop7 - tee_local $push96=, $0=, $pop97 - i32.const $push8=, 16 - i32.shr_u $push9=, $pop96, $pop8 - i32.store8 $drop=, sW+16($pop3), $pop9 - i32.const $push95=, 0 - i32.const $push10=, 1103515245 - i32.mul $push11=, $0, $pop10 - i32.const $push12=, 12345 - i32.add $push94=, $pop11, $pop12 - tee_local $push93=, $0=, $pop94 - i32.const $push92=, 16 - i32.shr_u $push13=, $pop93, $pop92 - i32.store8 $drop=, sW+17($pop95), $pop13 - i32.const $push91=, 0 - i32.const $push90=, 1103515245 - i32.mul $push14=, $0, $pop90 - i32.const $push89=, 12345 - i32.add $push88=, $pop14, $pop89 - tee_local $push87=, $0=, $pop88 - i32.const $push86=, 16 - i32.shr_u $push15=, $pop87, $pop86 - i32.store8 $drop=, sW+18($pop91), $pop15 - i32.const $push85=, 0 - i32.const $push84=, 1103515245 - i32.mul $push16=, $0, $pop84 - i32.const $push83=, 12345 - i32.add $push82=, $pop16, $pop83 - tee_local $push81=, $0=, $pop82 - i32.const $push80=, 16 - i32.shr_u $push17=, $pop81, $pop80 - i32.store8 $drop=, sW+19($pop85), $pop17 - i32.const $push79=, 0 - i32.const $push78=, 1103515245 - i32.mul $push21=, $0, $pop78 - i32.const $push77=, 12345 - i32.add $push76=, $pop21, $pop77 - tee_local $push75=, $1=, $pop76 - i32.const $push74=, 16 - i32.shr_u $push22=, $pop75, $pop74 - i32.const $push23=, 2047 - i32.and $push24=, $pop22, $pop23 - i32.const $push73=, 0 - i32.load $push20=, sW+16($pop73) - i32.const $push27=, -4096 - i32.and $push72=, $pop20, $pop27 - tee_local $push71=, $0=, $pop72 - i32.or $push28=, $pop24, $pop71 - i32.store $drop=, sW+16($pop79), $pop28 - i32.const $push70=, 0 - i32.const $push69=, 0 - i32.const $push68=, 1103515245 - i32.mul $push25=, $1, $pop68 - i32.const $push67=, 12345 - i32.add $push26=, $pop25, $pop67 - i32.store $push0=, myrnd.s($pop69), $pop26 - i32.const $push66=, 1103515245 - i32.mul $push29=, $pop0, $pop66 - i32.const $push65=, 12345 - i32.add $push64=, $pop29, $pop65 - tee_local $push63=, $1=, $pop64 - i32.const $push62=, 16 - i32.shr_u $push30=, $pop63, $pop62 - i32.const $push61=, 2047 - i32.and $push31=, $pop30, $pop61 - i32.or $push34=, $pop31, $0 - i32.store $drop=, sW+16($pop70), $pop34 - i32.const $push60=, 0 - i32.const $push59=, 0 - i32.const $push58=, 0 - i32.const $push57=, 1103515245 - i32.mul $push32=, $1, $pop57 - i32.const $push56=, 12345 - i32.add $push33=, $pop32, $pop56 - i32.store $push1=, myrnd.s($pop58), $pop33 - i32.const $push55=, 1103515245 - i32.mul $push35=, $pop1, $pop55 - i32.const $push54=, 12345 - i32.add $push53=, $pop35, $pop54 - tee_local $push52=, $1=, $pop53 + i32.const $push1=, 0 + i32.const $push96=, 0 + i32.load $push2=, myrnd.s($pop96) + i32.const $push3=, 1670464429 + i32.mul $push4=, $pop2, $pop3 + i32.const $push5=, 2121308585 + i32.add $push95=, $pop4, $pop5 + tee_local $push94=, $2=, $pop95 + i32.const $push6=, 16 + i32.shr_u $push7=, $pop94, $pop6 + i32.store8 $drop=, sW+16($pop1), $pop7 + i32.const $push93=, 0 + i32.const $push8=, 1103515245 + i32.mul $push9=, $2, $pop8 + i32.const $push10=, 12345 + i32.add $push92=, $pop9, $pop10 + tee_local $push91=, $2=, $pop92 + i32.const $push90=, 16 + i32.shr_u $push11=, $pop91, $pop90 + i32.store8 $drop=, sW+17($pop93), $pop11 + i32.const $push89=, 0 + i32.const $push88=, 1103515245 + i32.mul $push12=, $2, $pop88 + i32.const $push87=, 12345 + i32.add $push86=, $pop12, $pop87 + tee_local $push85=, $2=, $pop86 + i32.const $push84=, 16 + i32.shr_u $push13=, $pop85, $pop84 + i32.store8 $drop=, sW+18($pop89), $pop13 + i32.const $push83=, 0 + i32.const $push82=, 1103515245 + i32.mul $push14=, $2, $pop82 + i32.const $push81=, 12345 + i32.add $push80=, $pop14, $pop81 + tee_local $push79=, $2=, $pop80 + i32.const $push78=, 16 + i32.shr_u $push15=, $pop79, $pop78 + i32.store8 $drop=, sW+19($pop83), $pop15 + i32.const $push77=, 0 + i64.const $push16=, 4612055454334320640 + i64.store $drop=, sW+8($pop77), $pop16 + i32.const $push76=, 0 + i64.const $push17=, 0 + i64.store $drop=, sW($pop76), $pop17 + i32.const $push75=, 0 + i32.const $push74=, 1103515245 + i32.mul $push18=, $2, $pop74 + i32.const $push73=, 12345 + i32.add $push72=, $pop18, $pop73 + tee_local $push71=, $2=, $pop72 + i32.const $push70=, 1103515245 + i32.mul $push19=, $pop71, $pop70 + i32.const $push69=, 12345 + i32.add $push20=, $pop19, $pop69 + i32.store $0=, myrnd.s($pop75), $pop20 + i32.const $push68=, 0 + i32.const $push67=, 16 + i32.shr_u $push23=, $2, $pop67 + i32.const $push24=, 2047 + i32.and $push25=, $pop23, $pop24 + i32.const $push66=, 0 + i32.load $push21=, sW+16($pop66) + i32.const $push22=, -4096 + i32.and $push65=, $pop21, $pop22 + tee_local $push64=, $2=, $pop65 + i32.or $push26=, $pop25, $pop64 + i32.store $drop=, sW+16($pop68), $pop26 + i32.const $push63=, 0 + i32.const $push62=, 1103515245 + i32.mul $push27=, $0, $pop62 + i32.const $push61=, 12345 + i32.add $push60=, $pop27, $pop61 + tee_local $push59=, $0=, $pop60 + i32.const $push58=, 1103515245 + i32.mul $push28=, $pop59, $pop58 + i32.const $push57=, 12345 + i32.add $push29=, $pop28, $pop57 + i32.store $1=, myrnd.s($pop63), $pop29 + i32.const $push56=, 0 + i32.const $push55=, 16 + i32.shr_u $push30=, $0, $pop55 + i32.const $push54=, 2047 + i32.and $push31=, $pop30, $pop54 + i32.or $push32=, $pop31, $2 + i32.store $drop=, sW+16($pop56), $pop32 + i32.const $push53=, 0 + i32.const $push52=, 0 i32.const $push51=, 1103515245 - i32.mul $push38=, $pop52, $pop51 + i32.mul $push33=, $1, $pop51 i32.const $push50=, 12345 - i32.add $push39=, $pop38, $pop50 - i32.store $push2=, myrnd.s($pop59), $pop39 - i32.const $push49=, 16 - i32.shr_u $push40=, $pop2, $pop49 - i32.const $push48=, 2047 - i32.and $push41=, $pop40, $pop48 - i32.const $push47=, 16 - i32.shr_u $push36=, $1, $pop47 - i32.const $push46=, 2047 - i32.and $push37=, $pop36, $pop46 - i32.add $push42=, $pop41, $pop37 - i32.or $push43=, $pop42, $0 - i32.store $drop=, sW+16($pop60), $pop43 - i32.const $push45=, 0 - i64.const $push18=, 4612055454334320640 - i64.store $drop=, sW+8($pop45), $pop18 - i32.const $push44=, 0 - i64.const $push19=, 0 - i64.store $drop=, sW($pop44), $pop19 - return + i32.add $push49=, $pop33, $pop50 + tee_local $push48=, $0=, $pop49 + i32.const $push47=, 1103515245 + i32.mul $push34=, $pop48, $pop47 + i32.const $push46=, 12345 + i32.add $push35=, $pop34, $pop46 + i32.store $push0=, myrnd.s($pop52), $pop35 + i32.const $push45=, 16 + i32.shr_u $push38=, $pop0, $pop45 + i32.const $push44=, 2047 + i32.and $push39=, $pop38, $pop44 + i32.const $push43=, 16 + i32.shr_u $push36=, $0, $pop43 + i32.const $push42=, 2047 + i32.and $push37=, $pop36, $pop42 + i32.add $push40=, $pop39, $pop37 + i32.or $push41=, $pop40, $2 + i32.store $drop=, sW+16($pop53), $pop41 + # fallthrough-return .endfunc .Lfunc_end138: .size testW, .Lfunc_end138-testW @@ -5919,23 +5915,22 @@ testW: # @testW .type retmeX,@function retmeX: # @retmeX .param i32, i32 - .local i32, i64 # BB#0: # %entry - i32.const $push1=, 16 - i32.add $push3=, $1, $pop1 - i32.load $2=, 0($pop3):p2align=0 - i32.const $push4=, 8 - i32.add $push6=, $1, $pop4 - i64.load $3=, 0($pop6):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push8=, 16 - i32.add $push2=, $0, $pop8 - i32.store $drop=, 0($pop2):p2align=0, $2 - i32.const $push7=, 8 - i32.add $push5=, $0, $pop7 - i64.store $drop=, 0($pop5):p2align=0, $3 - return + i32.const $push1=, 16 + i32.add $push2=, $0, $pop1 + i32.const $push10=, 16 + i32.add $push3=, $1, $pop10 + i32.load $push4=, 0($pop3):p2align=0 + i32.store $drop=, 0($pop2):p2align=0, $pop4 + i32.const $push5=, 8 + i32.add $push6=, $0, $pop5 + i32.const $push9=, 8 + i32.add $push7=, $1, $pop9 + i64.load $push8=, 0($pop7):p2align=0 + i64.store $drop=, 0($pop6):p2align=0, $pop8 + # fallthrough-return .endfunc .Lfunc_end139: .size retmeX, .Lfunc_end139-retmeX @@ -5953,7 +5948,7 @@ fn1X: # @fn1X i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end140: .size fn1X, .Lfunc_end140-fn1X @@ -5973,7 +5968,7 @@ fn2X: # @fn2X i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end141: .size fn2X, .Lfunc_end141-fn2X @@ -5989,7 +5984,7 @@ retitX: # @retitX i32.load $push1=, sX($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end142: .size retitX, .Lfunc_end142-retitX @@ -6007,15 +6002,16 @@ fn3X: # @fn3X i32.const $push10=, 0 i32.load $push9=, sX($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 4095 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 4095 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -4096 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -4096 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sX($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end143: .size fn3X, .Lfunc_end143-fn3X @@ -6025,117 +6021,117 @@ fn3X: # @fn3X .globl testX .type testX,@function testX: # @testX - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.const $push98=, 0 - i32.load $push4=, myrnd.s($pop98) - i32.const $push5=, 1103515245 - i32.mul $push6=, $pop4, $pop5 - i32.const $push7=, 12345 - i32.add $push97=, $pop6, $pop7 - tee_local $push96=, $0=, $pop97 - i32.const $push8=, 16 - i32.shr_u $push9=, $pop96, $pop8 - i32.store8 $drop=, sX($pop3), $pop9 - i32.const $push95=, 0 - i32.const $push94=, 1103515245 - i32.mul $push10=, $0, $pop94 - i32.const $push93=, 12345 - i32.add $push92=, $pop10, $pop93 - tee_local $push91=, $0=, $pop92 - i32.const $push90=, 16 - i32.shr_u $push11=, $pop91, $pop90 - i32.store8 $drop=, sX+1($pop95), $pop11 - i32.const $push89=, 0 - i32.const $push88=, 1103515245 - i32.mul $push12=, $0, $pop88 - i32.const $push87=, 12345 - i32.add $push86=, $pop12, $pop87 - tee_local $push85=, $0=, $pop86 - i32.const $push84=, 16 - i32.shr_u $push13=, $pop85, $pop84 - i32.store8 $drop=, sX+2($pop89), $pop13 - i32.const $push83=, 0 - i32.const $push82=, 1103515245 - i32.mul $push14=, $0, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop14, $pop81 - tee_local $push79=, $0=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push15=, $pop79, $pop78 - i32.store8 $drop=, sX+3($pop83), $pop15 - i32.const $push77=, 0 - i32.const $push19=, 1670464429 - i32.mul $push20=, $0, $pop19 - i32.const $push21=, 2121308585 - i32.add $push76=, $pop20, $pop21 - tee_local $push75=, $1=, $pop76 - i32.const $push74=, 16 - i32.shr_u $push22=, $pop75, $pop74 - i32.const $push23=, 2047 - i32.and $push24=, $pop22, $pop23 + i32.const $push1=, 0 + i32.const $push96=, 0 + i32.load $push2=, myrnd.s($pop96) + i32.const $push3=, 1103515245 + i32.mul $push4=, $pop2, $pop3 + i32.const $push5=, 12345 + i32.add $push95=, $pop4, $pop5 + tee_local $push94=, $2=, $pop95 + i32.const $push6=, 16 + i32.shr_u $push7=, $pop94, $pop6 + i32.store8 $drop=, sX($pop1), $pop7 + i32.const $push93=, 0 + i32.const $push92=, 1103515245 + i32.mul $push8=, $2, $pop92 + i32.const $push91=, 12345 + i32.add $push90=, $pop8, $pop91 + tee_local $push89=, $2=, $pop90 + i32.const $push88=, 16 + i32.shr_u $push9=, $pop89, $pop88 + i32.store8 $drop=, sX+1($pop93), $pop9 + i32.const $push87=, 0 + i32.const $push86=, 1103515245 + i32.mul $push10=, $2, $pop86 + i32.const $push85=, 12345 + i32.add $push84=, $pop10, $pop85 + tee_local $push83=, $2=, $pop84 + i32.const $push82=, 16 + i32.shr_u $push11=, $pop83, $pop82 + i32.store8 $drop=, sX+2($pop87), $pop11 + i32.const $push81=, 0 + i32.const $push80=, 1103515245 + i32.mul $push12=, $2, $pop80 + i32.const $push79=, 12345 + i32.add $push78=, $pop12, $pop79 + tee_local $push77=, $2=, $pop78 + i32.const $push76=, 16 + i32.shr_u $push13=, $pop77, $pop76 + i32.store8 $drop=, sX+3($pop81), $pop13 + i32.const $push75=, 0 + i64.const $push14=, 4612055454334320640 + i64.store $drop=, sX+12($pop75):p2align=2, $pop14 + i32.const $push74=, 0 + i64.const $push15=, 0 + i64.store $drop=, sX+4($pop74):p2align=2, $pop15 i32.const $push73=, 0 - i32.load $push18=, sX($pop73) - i32.const $push27=, -4096 - i32.and $push72=, $pop18, $pop27 - tee_local $push71=, $0=, $pop72 - i32.or $push28=, $pop24, $pop71 - i32.store $drop=, sX($pop77), $pop28 - i32.const $push70=, 0 - i32.const $push69=, 0 - i32.const $push68=, 1103515245 - i32.mul $push25=, $1, $pop68 - i32.const $push67=, 12345 - i32.add $push26=, $pop25, $pop67 - i32.store $push0=, myrnd.s($pop69), $pop26 - i32.const $push66=, 1103515245 - i32.mul $push29=, $pop0, $pop66 - i32.const $push65=, 12345 - i32.add $push64=, $pop29, $pop65 - tee_local $push63=, $1=, $pop64 - i32.const $push62=, 16 - i32.shr_u $push30=, $pop63, $pop62 - i32.const $push61=, 2047 - i32.and $push31=, $pop30, $pop61 - i32.or $push34=, $pop31, $0 - i32.store $drop=, sX($pop70), $pop34 - i32.const $push60=, 0 - i32.const $push59=, 0 - i32.const $push58=, 0 - i32.const $push57=, 1103515245 - i32.mul $push32=, $1, $pop57 - i32.const $push56=, 12345 - i32.add $push33=, $pop32, $pop56 - i32.store $push1=, myrnd.s($pop58), $pop33 - i32.const $push55=, 1103515245 - i32.mul $push35=, $pop1, $pop55 - i32.const $push54=, 12345 - i32.add $push53=, $pop35, $pop54 - tee_local $push52=, $1=, $pop53 + i32.const $push16=, 1670464429 + i32.mul $push17=, $2, $pop16 + i32.const $push18=, 2121308585 + i32.add $push72=, $pop17, $pop18 + tee_local $push71=, $2=, $pop72 + i32.const $push70=, 1103515245 + i32.mul $push19=, $pop71, $pop70 + i32.const $push69=, 12345 + i32.add $push20=, $pop19, $pop69 + i32.store $0=, myrnd.s($pop73), $pop20 + i32.const $push68=, 0 + i32.const $push67=, 16 + i32.shr_u $push23=, $2, $pop67 + i32.const $push24=, 2047 + i32.and $push25=, $pop23, $pop24 + i32.const $push66=, 0 + i32.load $push21=, sX($pop66) + i32.const $push22=, -4096 + i32.and $push65=, $pop21, $pop22 + tee_local $push64=, $2=, $pop65 + i32.or $push26=, $pop25, $pop64 + i32.store $drop=, sX($pop68), $pop26 + i32.const $push63=, 0 + i32.const $push62=, 1103515245 + i32.mul $push27=, $0, $pop62 + i32.const $push61=, 12345 + i32.add $push60=, $pop27, $pop61 + tee_local $push59=, $0=, $pop60 + i32.const $push58=, 1103515245 + i32.mul $push28=, $pop59, $pop58 + i32.const $push57=, 12345 + i32.add $push29=, $pop28, $pop57 + i32.store $1=, myrnd.s($pop63), $pop29 + i32.const $push56=, 0 + i32.const $push55=, 16 + i32.shr_u $push30=, $0, $pop55 + i32.const $push54=, 2047 + i32.and $push31=, $pop30, $pop54 + i32.or $push32=, $pop31, $2 + i32.store $drop=, sX($pop56), $pop32 + i32.const $push53=, 0 + i32.const $push52=, 0 i32.const $push51=, 1103515245 - i32.mul $push38=, $pop52, $pop51 + i32.mul $push33=, $1, $pop51 i32.const $push50=, 12345 - i32.add $push39=, $pop38, $pop50 - i32.store $push2=, myrnd.s($pop59), $pop39 - i32.const $push49=, 16 - i32.shr_u $push40=, $pop2, $pop49 - i32.const $push48=, 2047 - i32.and $push41=, $pop40, $pop48 - i32.const $push47=, 16 - i32.shr_u $push36=, $1, $pop47 - i32.const $push46=, 2047 - i32.and $push37=, $pop36, $pop46 - i32.add $push42=, $pop41, $pop37 - i32.or $push43=, $pop42, $0 - i32.store $drop=, sX($pop60), $pop43 - i32.const $push45=, 0 - i64.const $push16=, 4612055454334320640 - i64.store $drop=, sX+12($pop45):p2align=2, $pop16 - i32.const $push44=, 0 - i64.const $push17=, 0 - i64.store $drop=, sX+4($pop44):p2align=2, $pop17 - return + i32.add $push49=, $pop33, $pop50 + tee_local $push48=, $0=, $pop49 + i32.const $push47=, 1103515245 + i32.mul $push34=, $pop48, $pop47 + i32.const $push46=, 12345 + i32.add $push35=, $pop34, $pop46 + i32.store $push0=, myrnd.s($pop52), $pop35 + i32.const $push45=, 16 + i32.shr_u $push38=, $pop0, $pop45 + i32.const $push44=, 2047 + i32.and $push39=, $pop38, $pop44 + i32.const $push43=, 16 + i32.shr_u $push36=, $0, $pop43 + i32.const $push42=, 2047 + i32.and $push37=, $pop36, $pop42 + i32.add $push40=, $pop39, $pop37 + i32.or $push41=, $pop40, $2 + i32.store $drop=, sX($pop53), $pop41 + # fallthrough-return .endfunc .Lfunc_end144: .size testX, .Lfunc_end144-testX @@ -6146,23 +6142,22 @@ testX: # @testX .type retmeY,@function retmeY: # @retmeY .param i32, i32 - .local i32, i64 # BB#0: # %entry - i32.const $push1=, 16 - i32.add $push3=, $1, $pop1 - i32.load $2=, 0($pop3):p2align=0 - i32.const $push4=, 8 - i32.add $push6=, $1, $pop4 - i64.load $3=, 0($pop6):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push8=, 16 - i32.add $push2=, $0, $pop8 - i32.store $drop=, 0($pop2):p2align=0, $2 - i32.const $push7=, 8 - i32.add $push5=, $0, $pop7 - i64.store $drop=, 0($pop5):p2align=0, $3 - return + i32.const $push1=, 16 + i32.add $push2=, $0, $pop1 + i32.const $push10=, 16 + i32.add $push3=, $1, $pop10 + i32.load $push4=, 0($pop3):p2align=0 + i32.store $drop=, 0($pop2):p2align=0, $pop4 + i32.const $push5=, 8 + i32.add $push6=, $0, $pop5 + i32.const $push9=, 8 + i32.add $push7=, $1, $pop9 + i64.load $push8=, 0($pop7):p2align=0 + i64.store $drop=, 0($pop6):p2align=0, $pop8 + # fallthrough-return .endfunc .Lfunc_end145: .size retmeY, .Lfunc_end145-retmeY @@ -6180,7 +6175,7 @@ fn1Y: # @fn1Y i32.add $push2=, $pop1, $0 i32.const $push3=, 4095 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end146: .size fn1Y, .Lfunc_end146-fn1Y @@ -6200,7 +6195,7 @@ fn2Y: # @fn2Y i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.rem_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end147: .size fn2Y, .Lfunc_end147-fn2Y @@ -6216,7 +6211,7 @@ retitY: # @retitY i32.load $push1=, sY($pop0) i32.const $push2=, 4095 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end148: .size retitY, .Lfunc_end148-retitY @@ -6234,15 +6229,16 @@ fn3Y: # @fn3Y i32.const $push10=, 0 i32.load $push9=, sY($pop10) tee_local $push8=, $1=, $pop9 - i32.add $push1=, $pop8, $0 - i32.const $push2=, 4095 - i32.and $push7=, $pop1, $pop2 + i32.add $push3=, $pop8, $0 + i32.const $push4=, 4095 + i32.and $push7=, $pop3, $pop4 tee_local $push6=, $0=, $pop7 - i32.const $push3=, -4096 - i32.and $push4=, $1, $pop3 - i32.or $push5=, $pop6, $pop4 + i32.const $push1=, -4096 + i32.and $push2=, $1, $pop1 + i32.or $push5=, $pop6, $pop2 i32.store $drop=, sY($pop0), $pop5 - return $0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end149: .size fn3Y, .Lfunc_end149-fn3Y @@ -6252,117 +6248,117 @@ fn3Y: # @fn3Y .globl testY .type testY,@function testY: # @testY - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.const $push98=, 0 - i32.load $push4=, myrnd.s($pop98) - i32.const $push5=, 1103515245 - i32.mul $push6=, $pop4, $pop5 - i32.const $push7=, 12345 - i32.add $push97=, $pop6, $pop7 - tee_local $push96=, $0=, $pop97 - i32.const $push8=, 16 - i32.shr_u $push9=, $pop96, $pop8 - i32.store8 $drop=, sY($pop3), $pop9 - i32.const $push95=, 0 - i32.const $push94=, 1103515245 - i32.mul $push10=, $0, $pop94 - i32.const $push93=, 12345 - i32.add $push92=, $pop10, $pop93 - tee_local $push91=, $0=, $pop92 - i32.const $push90=, 16 - i32.shr_u $push11=, $pop91, $pop90 - i32.store8 $drop=, sY+1($pop95), $pop11 - i32.const $push89=, 0 - i32.const $push88=, 1103515245 - i32.mul $push12=, $0, $pop88 - i32.const $push87=, 12345 - i32.add $push86=, $pop12, $pop87 - tee_local $push85=, $0=, $pop86 - i32.const $push84=, 16 - i32.shr_u $push13=, $pop85, $pop84 - i32.store8 $drop=, sY+2($pop89), $pop13 - i32.const $push83=, 0 - i32.const $push82=, 1103515245 - i32.mul $push14=, $0, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop14, $pop81 - tee_local $push79=, $0=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push15=, $pop79, $pop78 - i32.store8 $drop=, sY+3($pop83), $pop15 - i32.const $push77=, 0 - i32.const $push19=, 1670464429 - i32.mul $push20=, $0, $pop19 - i32.const $push21=, 2121308585 - i32.add $push76=, $pop20, $pop21 - tee_local $push75=, $1=, $pop76 - i32.const $push74=, 16 - i32.shr_u $push22=, $pop75, $pop74 - i32.const $push23=, 2047 - i32.and $push24=, $pop22, $pop23 + i32.const $push1=, 0 + i32.const $push96=, 0 + i32.load $push2=, myrnd.s($pop96) + i32.const $push3=, 1103515245 + i32.mul $push4=, $pop2, $pop3 + i32.const $push5=, 12345 + i32.add $push95=, $pop4, $pop5 + tee_local $push94=, $2=, $pop95 + i32.const $push6=, 16 + i32.shr_u $push7=, $pop94, $pop6 + i32.store8 $drop=, sY($pop1), $pop7 + i32.const $push93=, 0 + i32.const $push92=, 1103515245 + i32.mul $push8=, $2, $pop92 + i32.const $push91=, 12345 + i32.add $push90=, $pop8, $pop91 + tee_local $push89=, $2=, $pop90 + i32.const $push88=, 16 + i32.shr_u $push9=, $pop89, $pop88 + i32.store8 $drop=, sY+1($pop93), $pop9 + i32.const $push87=, 0 + i32.const $push86=, 1103515245 + i32.mul $push10=, $2, $pop86 + i32.const $push85=, 12345 + i32.add $push84=, $pop10, $pop85 + tee_local $push83=, $2=, $pop84 + i32.const $push82=, 16 + i32.shr_u $push11=, $pop83, $pop82 + i32.store8 $drop=, sY+2($pop87), $pop11 + i32.const $push81=, 0 + i32.const $push80=, 1103515245 + i32.mul $push12=, $2, $pop80 + i32.const $push79=, 12345 + i32.add $push78=, $pop12, $pop79 + tee_local $push77=, $2=, $pop78 + i32.const $push76=, 16 + i32.shr_u $push13=, $pop77, $pop76 + i32.store8 $drop=, sY+3($pop81), $pop13 + i32.const $push75=, 0 + i64.const $push14=, 4612055454334320640 + i64.store $drop=, sY+12($pop75):p2align=2, $pop14 + i32.const $push74=, 0 + i64.const $push15=, 0 + i64.store $drop=, sY+4($pop74):p2align=2, $pop15 i32.const $push73=, 0 - i32.load $push18=, sY($pop73) - i32.const $push27=, -4096 - i32.and $push72=, $pop18, $pop27 - tee_local $push71=, $0=, $pop72 - i32.or $push28=, $pop24, $pop71 - i32.store $drop=, sY($pop77), $pop28 - i32.const $push70=, 0 - i32.const $push69=, 0 - i32.const $push68=, 1103515245 - i32.mul $push25=, $1, $pop68 - i32.const $push67=, 12345 - i32.add $push26=, $pop25, $pop67 - i32.store $push0=, myrnd.s($pop69), $pop26 - i32.const $push66=, 1103515245 - i32.mul $push29=, $pop0, $pop66 - i32.const $push65=, 12345 - i32.add $push64=, $pop29, $pop65 - tee_local $push63=, $1=, $pop64 - i32.const $push62=, 16 - i32.shr_u $push30=, $pop63, $pop62 - i32.const $push61=, 2047 - i32.and $push31=, $pop30, $pop61 - i32.or $push34=, $pop31, $0 - i32.store $drop=, sY($pop70), $pop34 - i32.const $push60=, 0 - i32.const $push59=, 0 - i32.const $push58=, 0 - i32.const $push57=, 1103515245 - i32.mul $push32=, $1, $pop57 - i32.const $push56=, 12345 - i32.add $push33=, $pop32, $pop56 - i32.store $push1=, myrnd.s($pop58), $pop33 - i32.const $push55=, 1103515245 - i32.mul $push35=, $pop1, $pop55 - i32.const $push54=, 12345 - i32.add $push53=, $pop35, $pop54 - tee_local $push52=, $1=, $pop53 + i32.const $push16=, 1670464429 + i32.mul $push17=, $2, $pop16 + i32.const $push18=, 2121308585 + i32.add $push72=, $pop17, $pop18 + tee_local $push71=, $2=, $pop72 + i32.const $push70=, 1103515245 + i32.mul $push19=, $pop71, $pop70 + i32.const $push69=, 12345 + i32.add $push20=, $pop19, $pop69 + i32.store $0=, myrnd.s($pop73), $pop20 + i32.const $push68=, 0 + i32.const $push67=, 16 + i32.shr_u $push23=, $2, $pop67 + i32.const $push24=, 2047 + i32.and $push25=, $pop23, $pop24 + i32.const $push66=, 0 + i32.load $push21=, sY($pop66) + i32.const $push22=, -4096 + i32.and $push65=, $pop21, $pop22 + tee_local $push64=, $2=, $pop65 + i32.or $push26=, $pop25, $pop64 + i32.store $drop=, sY($pop68), $pop26 + i32.const $push63=, 0 + i32.const $push62=, 1103515245 + i32.mul $push27=, $0, $pop62 + i32.const $push61=, 12345 + i32.add $push60=, $pop27, $pop61 + tee_local $push59=, $0=, $pop60 + i32.const $push58=, 1103515245 + i32.mul $push28=, $pop59, $pop58 + i32.const $push57=, 12345 + i32.add $push29=, $pop28, $pop57 + i32.store $1=, myrnd.s($pop63), $pop29 + i32.const $push56=, 0 + i32.const $push55=, 16 + i32.shr_u $push30=, $0, $pop55 + i32.const $push54=, 2047 + i32.and $push31=, $pop30, $pop54 + i32.or $push32=, $pop31, $2 + i32.store $drop=, sY($pop56), $pop32 + i32.const $push53=, 0 + i32.const $push52=, 0 i32.const $push51=, 1103515245 - i32.mul $push38=, $pop52, $pop51 + i32.mul $push33=, $1, $pop51 i32.const $push50=, 12345 - i32.add $push39=, $pop38, $pop50 - i32.store $push2=, myrnd.s($pop59), $pop39 - i32.const $push49=, 16 - i32.shr_u $push40=, $pop2, $pop49 - i32.const $push48=, 2047 - i32.and $push41=, $pop40, $pop48 - i32.const $push47=, 16 - i32.shr_u $push36=, $1, $pop47 - i32.const $push46=, 2047 - i32.and $push37=, $pop36, $pop46 - i32.add $push42=, $pop41, $pop37 - i32.or $push43=, $pop42, $0 - i32.store $drop=, sY($pop60), $pop43 - i32.const $push45=, 0 - i64.const $push16=, 4612055454334320640 - i64.store $drop=, sY+12($pop45):p2align=2, $pop16 - i32.const $push44=, 0 - i64.const $push17=, 0 - i64.store $drop=, sY+4($pop44):p2align=2, $pop17 - return + i32.add $push49=, $pop33, $pop50 + tee_local $push48=, $0=, $pop49 + i32.const $push47=, 1103515245 + i32.mul $push34=, $pop48, $pop47 + i32.const $push46=, 12345 + i32.add $push35=, $pop34, $pop46 + i32.store $push0=, myrnd.s($pop52), $pop35 + i32.const $push45=, 16 + i32.shr_u $push38=, $pop0, $pop45 + i32.const $push44=, 2047 + i32.and $push39=, $pop38, $pop44 + i32.const $push43=, 16 + i32.shr_u $push36=, $0, $pop43 + i32.const $push42=, 2047 + i32.and $push37=, $pop36, $pop42 + i32.add $push40=, $pop39, $pop37 + i32.or $push41=, $pop40, $2 + i32.store $drop=, sY($pop53), $pop41 + # fallthrough-return .endfunc .Lfunc_end150: .size testY, .Lfunc_end150-testY @@ -6373,23 +6369,22 @@ testY: # @testY .type retmeZ,@function retmeZ: # @retmeZ .param i32, i32 - .local i32, i64 # BB#0: # %entry - i32.const $push1=, 16 - i32.add $push3=, $1, $pop1 - i32.load $2=, 0($pop3):p2align=0 - i32.const $push4=, 8 - i32.add $push6=, $1, $pop4 - i64.load $3=, 0($pop6):p2align=0 i64.load $push0=, 0($1):p2align=0 i64.store $drop=, 0($0):p2align=0, $pop0 - i32.const $push8=, 16 - i32.add $push2=, $0, $pop8 - i32.store $drop=, 0($pop2):p2align=0, $2 - i32.const $push7=, 8 - i32.add $push5=, $0, $pop7 - i64.store $drop=, 0($pop5):p2align=0, $3 - return + i32.const $push1=, 16 + i32.add $push2=, $0, $pop1 + i32.const $push10=, 16 + i32.add $push3=, $1, $pop10 + i32.load $push4=, 0($pop3):p2align=0 + i32.store $drop=, 0($pop2):p2align=0, $pop4 + i32.const $push5=, 8 + i32.add $push6=, $0, $pop5 + i32.const $push9=, 8 + i32.add $push7=, $1, $pop9 + i64.load $push8=, 0($pop7):p2align=0 + i64.store $drop=, 0($pop6):p2align=0, $pop8 + # fallthrough-return .endfunc .Lfunc_end151: .size retmeZ, .Lfunc_end151-retmeZ @@ -6402,14 +6397,14 @@ fn1Z: # @fn1Z .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $push1=, sZ+16($pop0) - i32.const $push2=, 20 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.const $push2=, 0 + i32.load $push3=, sZ+16($pop2) + i32.const $push0=, 20 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push6=, 20 i32.shr_u $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end152: .size fn1Z, .Lfunc_end152-fn1Z @@ -6431,7 +6426,7 @@ fn2Z: # @fn2Z i32.and $push6=, $pop4, $pop5 i32.const $push7=, 15 i32.rem_u $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end153: .size fn2Z, .Lfunc_end153-fn2Z @@ -6447,7 +6442,7 @@ retitZ: # @retitZ i32.load $push1=, sZ+16($pop0) i32.const $push2=, 20 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end154: .size retitZ, .Lfunc_end154-retitZ @@ -6460,17 +6455,16 @@ fn3Z: # @fn3Z .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push3=, 0 i32.const $push8=, 0 - i32.load $push1=, sZ+16($pop8) - i32.const $push2=, 20 - i32.shl $push3=, $0, $pop2 - i32.add $push7=, $pop1, $pop3 - tee_local $push6=, $0=, $pop7 - i32.store $drop=, sZ+16($pop0), $pop6 - i32.const $push5=, 20 - i32.shr_u $push4=, $0, $pop5 - return $pop4 + i32.load $push4=, sZ+16($pop8) + i32.const $push1=, 20 + i32.shl $push2=, $0, $pop1 + i32.add $push5=, $pop4, $pop2 + i32.store $push0=, sZ+16($pop3), $pop5 + i32.const $push7=, 20 + i32.shr_u $push6=, $pop0, $pop7 + # fallthrough-return: $pop6 .endfunc .Lfunc_end155: .size fn3Z, .Lfunc_end155-fn3Z @@ -6482,147 +6476,147 @@ fn3Z: # @fn3Z testZ: # @testZ .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push100=, 0 - i32.const $push99=, 0 - i32.load $push3=, myrnd.s($pop99) - i32.const $push4=, 1670464429 - i32.mul $push5=, $pop3, $pop4 - i32.const $push6=, 2121308585 - i32.add $push98=, $pop5, $pop6 - tee_local $push97=, $2=, $pop98 - i32.const $push96=, 16 - i32.shr_u $push7=, $pop97, $pop96 - i32.store8 $drop=, sZ+16($pop100), $pop7 - i32.const $push95=, 0 - i32.const $push94=, 1103515245 - i32.mul $push8=, $2, $pop94 - i32.const $push93=, 12345 - i32.add $push92=, $pop8, $pop93 - tee_local $push91=, $2=, $pop92 - i32.const $push90=, 16 - i32.shr_u $push9=, $pop91, $pop90 - i32.store8 $drop=, sZ+17($pop95), $pop9 - i32.const $push89=, 0 - i32.const $push88=, 1103515245 - i32.mul $push10=, $2, $pop88 - i32.const $push87=, 12345 - i32.add $push86=, $pop10, $pop87 - tee_local $push85=, $2=, $pop86 - i32.const $push84=, 16 - i32.shr_u $push11=, $pop85, $pop84 - i32.store8 $drop=, sZ+18($pop89), $pop11 - i32.const $push83=, 0 - i32.const $push82=, 1103515245 - i32.mul $push12=, $2, $pop82 - i32.const $push81=, 12345 - i32.add $push80=, $pop12, $pop81 - tee_local $push79=, $2=, $pop80 - i32.const $push78=, 16 - i32.shr_u $push13=, $pop79, $pop78 - i32.store8 $drop=, sZ+19($pop83), $pop13 + i32.const $push102=, 0 + i32.const $push101=, 0 + i32.load $push5=, myrnd.s($pop101) + i32.const $push6=, 1670464429 + i32.mul $push7=, $pop5, $pop6 + i32.const $push8=, 2121308585 + i32.add $push100=, $pop7, $pop8 + tee_local $push99=, $3=, $pop100 + i32.const $push98=, 16 + i32.shr_u $push9=, $pop99, $pop98 + i32.store8 $drop=, sZ+16($pop102), $pop9 + i32.const $push97=, 0 + i32.const $push96=, 1103515245 + i32.mul $push10=, $3, $pop96 + i32.const $push95=, 12345 + i32.add $push94=, $pop10, $pop95 + tee_local $push93=, $3=, $pop94 + i32.const $push92=, 16 + i32.shr_u $push11=, $pop93, $pop92 + i32.store8 $drop=, sZ+17($pop97), $pop11 + i32.const $push91=, 0 + i32.const $push90=, 1103515245 + i32.mul $push12=, $3, $pop90 + i32.const $push89=, 12345 + i32.add $push88=, $pop12, $pop89 + tee_local $push87=, $3=, $pop88 + i32.const $push86=, 16 + i32.shr_u $push13=, $pop87, $pop86 + i32.store8 $drop=, sZ+18($pop91), $pop13 + i32.const $push85=, 0 + i32.const $push84=, 1103515245 + i32.mul $push14=, $3, $pop84 + i32.const $push83=, 12345 + i32.add $push82=, $pop14, $pop83 + tee_local $push81=, $3=, $pop82 + i32.const $push80=, 16 + i32.shr_u $push15=, $pop81, $pop80 + i32.store8 $drop=, sZ+19($pop85), $pop15 + i32.const $push79=, 0 + i64.const $push16=, 4612055454334320640 + i64.store $drop=, sZ+8($pop79), $pop16 + i32.const $push78=, 0 + i64.const $push17=, 0 + i64.store $drop=, sZ($pop78), $pop17 + block i32.const $push77=, 0 i32.const $push76=, 1103515245 - i32.mul $push16=, $2, $pop76 + i32.mul $push18=, $3, $pop76 i32.const $push75=, 12345 - i32.add $push74=, $pop16, $pop75 - tee_local $push73=, $4=, $pop74 - i32.const $push72=, 16 - i32.shr_u $push17=, $pop73, $pop72 - i32.const $push71=, 2047 - i32.and $push70=, $pop17, $pop71 - tee_local $push69=, $3=, $pop70 - i32.const $push68=, 20 - i32.shl $push20=, $pop69, $pop68 - i32.const $push67=, 0 - i32.load $push1=, sZ+16($pop67) - i32.const $push21=, 1048575 - i32.and $push66=, $pop1, $pop21 - tee_local $push65=, $2=, $pop66 - i32.or $push22=, $pop20, $pop65 - i32.store $1=, sZ+16($pop77), $pop22 - i32.const $push64=, 0 - i64.const $push14=, 4612055454334320640 - i64.store $drop=, sZ+8($pop64), $pop14 - i32.const $push63=, 0 - i64.const $push15=, 0 - i64.store $drop=, sZ($pop63), $pop15 - i32.const $push62=, 0 - i32.const $push61=, 1103515245 - i32.mul $push18=, $4, $pop61 - i32.const $push60=, 12345 - i32.add $push59=, $pop18, $pop60 - tee_local $push58=, $4=, $pop59 - i32.store $0=, myrnd.s($pop62), $pop58 - block - i32.const $push57=, 16 - i32.shr_u $push19=, $4, $pop57 - i32.const $push56=, 2047 - i32.and $push55=, $pop19, $pop56 - tee_local $push54=, $4=, $pop55 - i32.add $push26=, $pop54, $3 - i32.const $push53=, 20 - i32.shl $push23=, $4, $pop53 - i32.add $push24=, $1, $pop23 - i32.const $push52=, 20 - i32.shr_u $push25=, $pop24, $pop52 - i32.ne $push27=, $pop26, $pop25 - br_if 0, $pop27 # 0: down to label11 + i32.add $push74=, $pop18, $pop75 + tee_local $push73=, $3=, $pop74 + i32.const $push72=, 1103515245 + i32.mul $push19=, $pop73, $pop72 + i32.const $push71=, 12345 + i32.add $push3=, $pop19, $pop71 + i32.store $push70=, myrnd.s($pop77), $pop3 + tee_local $push69=, $0=, $pop70 + i32.const $push68=, 16 + i32.shr_u $push24=, $pop69, $pop68 + i32.const $push67=, 2047 + i32.and $push66=, $pop24, $pop67 + tee_local $push65=, $4=, $pop66 + i32.const $push64=, 16 + i32.shr_u $push21=, $3, $pop64 + i32.const $push63=, 2047 + i32.and $push62=, $pop21, $pop63 + tee_local $push61=, $3=, $pop62 + i32.add $push25=, $pop65, $pop61 + i32.const $push60=, 20 + i32.shl $push26=, $4, $pop60 + i32.const $push59=, 0 + i32.const $push58=, 20 + i32.shl $push22=, $3, $pop58 + i32.const $push57=, 0 + i32.load $push2=, sZ+16($pop57) + i32.const $push20=, 1048575 + i32.and $push56=, $pop2, $pop20 + tee_local $push55=, $3=, $pop56 + i32.or $push23=, $pop22, $pop55 + i32.store $push0=, sZ+16($pop59), $pop23 + i32.add $push27=, $pop26, $pop0 + i32.const $push54=, 20 + i32.shr_u $push28=, $pop27, $pop54 + i32.ne $push29=, $pop25, $pop28 + br_if 0, $pop29 # 0: down to label11 # BB#1: # %if.end80 - i32.const $push124=, 0 - i32.const $push123=, 0 - i32.const $push122=, 1103515245 - i32.mul $push28=, $0, $pop122 - i32.const $push121=, 12345 - i32.add $push120=, $pop28, $pop121 - tee_local $push119=, $4=, $pop120 - i32.const $push34=, -1029531031 - i32.mul $push35=, $pop119, $pop34 - i32.const $push36=, -740551042 - i32.add $push118=, $pop35, $pop36 - tee_local $push117=, $3=, $pop118 - i32.const $push116=, 1103515245 - i32.mul $push38=, $pop117, $pop116 - i32.const $push115=, 12345 - i32.add $push39=, $pop38, $pop115 - i32.store $push0=, myrnd.s($pop123), $pop39 - i32.const $push114=, 16 - i32.shr_u $push40=, $pop0, $pop114 - i32.const $push113=, 2047 - i32.and $push112=, $pop40, $pop113 - tee_local $push111=, $1=, $pop112 - i32.const $push110=, 20 - i32.shl $push43=, $pop111, $pop110 - i32.const $push109=, 16 - i32.shr_u $push37=, $3, $pop109 - i32.const $push108=, 2047 - i32.and $push107=, $pop37, $pop108 - tee_local $push106=, $3=, $pop107 - i32.const $push105=, 20 - i32.shl $push41=, $pop106, $pop105 - i32.or $push42=, $pop41, $2 - i32.add $push2=, $pop43, $pop42 - i32.store $push104=, sZ+16($pop124), $pop2 - tee_local $push103=, $0=, $pop104 - i32.const $push29=, 4 - i32.shl $push30=, $4, $pop29 - i32.const $push31=, 2146435072 - i32.and $push32=, $pop30, $pop31 - i32.or $push33=, $pop32, $2 - i32.xor $push102=, $pop103, $pop33 - tee_local $push101=, $2=, $pop102 - i32.const $push44=, 1040384 - i32.and $push45=, $pop101, $pop44 - br_if 0, $pop45 # 0: down to label11 + i32.const $push126=, 0 + i32.const $push125=, 0 + i32.const $push124=, 1103515245 + i32.mul $push30=, $0, $pop124 + i32.const $push123=, 12345 + i32.add $push122=, $pop30, $pop123 + tee_local $push121=, $4=, $pop122 + i32.const $push31=, -1029531031 + i32.mul $push32=, $pop121, $pop31 + i32.const $push33=, -740551042 + i32.add $push120=, $pop32, $pop33 + tee_local $push119=, $0=, $pop120 + i32.const $push118=, 1103515245 + i32.mul $push34=, $pop119, $pop118 + i32.const $push117=, 12345 + i32.add $push35=, $pop34, $pop117 + i32.store $push1=, myrnd.s($pop125), $pop35 + i32.const $push116=, 16 + i32.shr_u $push39=, $pop1, $pop116 + i32.const $push115=, 2047 + i32.and $push114=, $pop39, $pop115 + tee_local $push113=, $2=, $pop114 + i32.const $push112=, 20 + i32.shl $push40=, $pop113, $pop112 + i32.const $push111=, 16 + i32.shr_u $push36=, $0, $pop111 + i32.const $push110=, 2047 + i32.and $push109=, $pop36, $pop110 + tee_local $push108=, $0=, $pop109 + i32.const $push107=, 20 + i32.shl $push37=, $pop108, $pop107 + i32.or $push38=, $pop37, $3 + i32.add $push4=, $pop40, $pop38 + i32.store $push106=, sZ+16($pop126), $pop4 + tee_local $push105=, $1=, $pop106 + i32.const $push41=, 4 + i32.shl $push42=, $4, $pop41 + i32.const $push43=, 2146435072 + i32.and $push44=, $pop42, $pop43 + i32.or $push45=, $pop44, $3 + i32.xor $push104=, $pop105, $pop45 + tee_local $push103=, $3=, $pop104 + i32.const $push46=, 1040384 + i32.and $push47=, $pop103, $pop46 + br_if 0, $pop47 # 0: down to label11 # BB#2: # %lor.lhs.false98 - i32.add $push50=, $1, $3 - i32.const $push47=, 20 - i32.shr_u $push48=, $0, $pop47 - i32.ne $push51=, $pop50, $pop48 - br_if 0, $pop51 # 0: down to label11 + i32.add $push51=, $2, $0 + i32.const $push49=, 20 + i32.shr_u $push50=, $1, $pop49 + i32.ne $push52=, $pop51, $pop50 + br_if 0, $pop52 # 0: down to label11 # BB#3: # %lor.lhs.false98 - i32.const $push49=, 8191 - i32.and $push46=, $2, $pop49 - br_if 0, $pop46 # 0: down to label11 + i32.const $push53=, 8191 + i32.and $push48=, $3, $pop53 + br_if 0, $pop48 # 0: down to label11 # BB#4: # %if.end121 return .LBB156_5: # %if.then120 diff --git a/test/torture-s/20040805-1.c.s b/test/torture-s/20040805-1.c.s index 14ba93040..a78c176f8 100644 --- a/test/torture-s/20040805-1.c.s +++ b/test/torture-s/20040805-1.c.s @@ -8,9 +8,9 @@ main: # @main .result i32 # BB#0: # %entry block - i32.call $push0=, foo@FUNCTION - i32.const $push1=, 102 - i32.ne $push2=, $pop0, $pop1 + i32.call $push1=, foo@FUNCTION + i32.const $push0=, 102 + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 @@ -38,7 +38,7 @@ foo: # @foo i32.call $push3=, bar@FUNCTION, $pop2 i32.call $push4=, bar@FUNCTION, $0 i32.add $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -55,7 +55,8 @@ bar: # @bar i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store $drop=, a($pop0), $pop3 - return $0 + copy_local $push5=, $0 + # fallthrough-return: $pop5 .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar diff --git a/test/torture-s/20040811-1.c.s b/test/torture-s/20040811-1.c.s index eda915e8c..3c706927f 100644 --- a/test/torture-s/20040811-1.c.s +++ b/test/torture-s/20040811-1.c.s @@ -8,43 +8,44 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.load $push9=, 0($pop7) - tee_local $push8=, $2=, $pop9 - copy_local $drop=, $pop8 - i32.const $1=, 0 + i32.const $push8=, 0 + i32.load $push10=, __stack_pointer($pop8) + tee_local $push9=, $4=, $pop10 + copy_local $drop=, $pop9 + i32.const $3=, 0 .LBB0_1: # %lab # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push21=, 1000 - i32.rem_s $push0=, $1, $pop21 - i32.const $push20=, 2 - i32.shl $push19=, $pop0, $pop20 - tee_local $push18=, $4=, $pop19 - i32.const $push17=, 19 - i32.add $push2=, $pop18, $pop17 - i32.const $push16=, -16 - i32.and $push3=, $pop2, $pop16 - i32.sub $push15=, $2, $pop3 - tee_local $push14=, $3=, $pop15 - copy_local $drop=, $pop14 - i32.const $push13=, 1 - i32.store $0=, 0($3), $pop13 - i32.add $push4=, $3, $4 - i32.const $push12=, 2 - i32.store $drop=, 0($pop4), $pop12 - i32.const $push11=, 0 - i32.store $drop=, p($pop11), $3 - i32.add $1=, $1, $0 - copy_local $push1=, $2 - copy_local $2=, $pop1 - i32.const $push10=, 1000000 - i32.ne $push5=, $1, $pop10 - br_if 0, $pop5 # 0: up to label0 + i32.const $push24=, 1000 + i32.rem_s $push1=, $3, $pop24 + i32.const $push23=, 2 + i32.shl $push22=, $pop1, $pop23 + tee_local $push21=, $1=, $pop22 + i32.const $push20=, 19 + i32.add $push2=, $pop21, $pop20 + i32.const $push19=, -16 + i32.and $push3=, $pop2, $pop19 + i32.sub $push18=, $4, $pop3 + tee_local $push17=, $2=, $pop18 + copy_local $drop=, $pop17 + i32.const $push16=, 1 + i32.store $0=, 0($2), $pop16 + i32.const $push15=, 0 + i32.store $push0=, p($pop15), $2 + i32.add $push5=, $pop0, $1 + i32.const $push14=, 2 + i32.store $drop=, 0($pop5), $pop14 + copy_local $push4=, $4 + copy_local $4=, $pop4 + i32.add $push13=, $3, $0 + tee_local $push12=, $3=, $pop13 + i32.const $push11=, 1000000 + i32.ne $push6=, $pop12, $pop11 + br_if 0, $pop6 # 0: up to label0 # BB#2: # %cleanup3 end_loop # label1: - i32.const $push6=, 0 - return $pop6 + i32.const $push7=, 0 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20040823-1.c.s b/test/torture-s/20040823-1.c.s index 5c3f5de55..457d016aa 100644 --- a/test/torture-s/20040823-1.c.s +++ b/test/torture-s/20040823-1.c.s @@ -31,19 +31,19 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push10=, 0($pop5), $pop8 + i32.store $push10=, __stack_pointer($pop5), $pop8 tee_local $push9=, $0=, $pop10 + i32.const $push0=, 1 + i32.store $drop=, 12($pop9), $pop0 + i32.const $push1=, 0 i32.const $push6=, 12 - i32.add $push7=, $pop9, $pop6 - i32.store $drop=, pwarn($pop0), $pop7 - i32.const $push1=, 1 - i32.store $drop=, 12($0), $pop1 + i32.add $push7=, $0, $pop6 + i32.store $drop=, pwarn($pop1), $pop7 call bla@FUNCTION unreachable .endfunc diff --git a/test/torture-s/20040917-1.c.s b/test/torture-s/20040917-1.c.s index 627438cf8..b88a3a183 100644 --- a/test/torture-s/20040917-1.c.s +++ b/test/torture-s/20040917-1.c.s @@ -6,10 +6,10 @@ .type not_inlinable,@function not_inlinable: # @not_inlinable # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, -10 - i32.store $drop=, test_var($pop0), $pop1 - return + i32.const $push1=, 0 + i32.const $push0=, -10 + i32.store $drop=, test_var($pop1), $pop0 + # fallthrough-return .endfunc .Lfunc_end0: .size not_inlinable, .Lfunc_end0-not_inlinable diff --git a/test/torture-s/20041011-1.c.s b/test/torture-s/20041011-1.c.s index 327c6d91c..3d5688a51 100644 --- a/test/torture-s/20041011-1.c.s +++ b/test/torture-s/20041011-1.c.s @@ -10,8 +10,8 @@ t1: # @t1 .local i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push67=, $0 - br_if 0, $pop67 # 0: down to label0 + i32.eqz $push69=, $0 + br_if 0, $pop69 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -21,129 +21,130 @@ t1: # @t1 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: + i32.const $push68=, 0 + i32.load $3=, gvol+4($pop68) + i32.const $push67=, 0 + i32.load $4=, gvol+8($pop67) i32.const $push66=, 0 - i32.load $3=, gvol+4($pop66) + i32.load $5=, gvol+12($pop66) i32.const $push65=, 0 - i32.load $4=, gvol+8($pop65) + i32.load $6=, gvol+16($pop65) i32.const $push64=, 0 - i32.load $5=, gvol+12($pop64) + i32.load $7=, gvol+20($pop64) i32.const $push63=, 0 - i32.load $6=, gvol+16($pop63) + i32.load $8=, gvol+24($pop63) i32.const $push62=, 0 - i32.load $7=, gvol+20($pop62) + i32.load $9=, gvol+28($pop62) i32.const $push61=, 0 - i32.load $8=, gvol+24($pop61) + i32.load $10=, gvol+32($pop61) i32.const $push60=, 0 - i32.load $9=, gvol+28($pop60) + i32.load $11=, gvol+36($pop60) i32.const $push59=, 0 - i32.load $10=, gvol+32($pop59) + i32.load $12=, gvol+40($pop59) i32.const $push58=, 0 - i32.load $11=, gvol+36($pop58) + i32.load $13=, gvol+44($pop58) i32.const $push57=, 0 - i32.load $12=, gvol+40($pop57) + i32.load $14=, gvol+48($pop57) i32.const $push56=, 0 - i32.load $13=, gvol+44($pop56) + i32.load $15=, gvol+52($pop56) i32.const $push55=, 0 - i32.load $14=, gvol+48($pop55) + i32.load $16=, gvol+56($pop55) i32.const $push54=, 0 - i32.load $15=, gvol+52($pop54) + i32.load $17=, gvol+60($pop54) i32.const $push53=, 0 - i32.load $16=, gvol+56($pop53) + i32.load $18=, gvol+64($pop53) i32.const $push52=, 0 - i32.load $17=, gvol+60($pop52) + i32.load $19=, gvol+68($pop52) i32.const $push51=, 0 - i32.load $18=, gvol+64($pop51) + i32.load $20=, gvol+72($pop51) i32.const $push50=, 0 - i32.load $19=, gvol+68($pop50) + i32.load $21=, gvol+76($pop50) i32.const $push49=, 0 - i32.load $20=, gvol+72($pop49) + i32.load $22=, gvol+80($pop49) i32.const $push48=, 0 - i32.load $21=, gvol+76($pop48) + i32.load $23=, gvol+84($pop48) i32.const $push47=, 0 - i32.load $22=, gvol+80($pop47) + i32.load $24=, gvol+88($pop47) i32.const $push46=, 0 - i32.load $23=, gvol+84($pop46) + i32.load $25=, gvol+92($pop46) i32.const $push45=, 0 - i32.load $24=, gvol+88($pop45) + i32.load $26=, gvol+96($pop45) i32.const $push44=, 0 - i32.load $25=, gvol+92($pop44) + i32.load $27=, gvol+100($pop44) i32.const $push43=, 0 - i32.load $26=, gvol+96($pop43) + i32.load $28=, gvol+104($pop43) i32.const $push42=, 0 - i32.load $27=, gvol+100($pop42) + i32.load $29=, gvol+108($pop42) i32.const $push41=, 0 - i32.load $28=, gvol+104($pop41) + i32.load $30=, gvol+112($pop41) i32.const $push40=, 0 - i32.load $29=, gvol+108($pop40) + i32.load $31=, gvol+116($pop40) i32.const $push39=, 0 - i32.load $30=, gvol+112($pop39) + i32.load $32=, gvol+120($pop39) i32.const $push38=, 0 - i32.load $31=, gvol+116($pop38) + i32.store $drop=, gvol+4($pop38), $3 i32.const $push37=, 0 - i32.load $32=, gvol+120($pop37) + i32.store $drop=, gvol+8($pop37), $4 i32.const $push36=, 0 - i32.store $drop=, gvol+4($pop36), $3 + i32.store $drop=, gvol+12($pop36), $5 i32.const $push35=, 0 - i32.store $drop=, gvol+8($pop35), $4 + i32.store $drop=, gvol+16($pop35), $6 i32.const $push34=, 0 - i32.store $drop=, gvol+12($pop34), $5 + i32.store $drop=, gvol+20($pop34), $7 i32.const $push33=, 0 - i32.store $drop=, gvol+16($pop33), $6 + i32.store $drop=, gvol+24($pop33), $8 i32.const $push32=, 0 - i32.store $drop=, gvol+20($pop32), $7 + i32.store $drop=, gvol+28($pop32), $9 i32.const $push31=, 0 - i32.store $drop=, gvol+24($pop31), $8 + i32.store $drop=, gvol+32($pop31), $10 i32.const $push30=, 0 - i32.store $drop=, gvol+28($pop30), $9 + i32.store $drop=, gvol+36($pop30), $11 i32.const $push29=, 0 - i32.store $drop=, gvol+32($pop29), $10 + i32.store $drop=, gvol+40($pop29), $12 i32.const $push28=, 0 - i32.store $drop=, gvol+36($pop28), $11 + i32.store $drop=, gvol+44($pop28), $13 i32.const $push27=, 0 - i32.store $drop=, gvol+40($pop27), $12 + i32.store $drop=, gvol+48($pop27), $14 i32.const $push26=, 0 - i32.store $drop=, gvol+44($pop26), $13 + i32.store $drop=, gvol+52($pop26), $15 i32.const $push25=, 0 - i32.store $drop=, gvol+48($pop25), $14 + i32.store $drop=, gvol+56($pop25), $16 i32.const $push24=, 0 - i32.store $drop=, gvol+52($pop24), $15 + i32.store $drop=, gvol+60($pop24), $17 i32.const $push23=, 0 - i32.store $drop=, gvol+56($pop23), $16 + i32.store $drop=, gvol+64($pop23), $18 i32.const $push22=, 0 - i32.store $drop=, gvol+60($pop22), $17 + i32.store $drop=, gvol+68($pop22), $19 i32.const $push21=, 0 - i32.store $drop=, gvol+64($pop21), $18 + i32.store $drop=, gvol+72($pop21), $20 i32.const $push20=, 0 - i32.store $drop=, gvol+68($pop20), $19 + i32.store $drop=, gvol+76($pop20), $21 i32.const $push19=, 0 - i32.store $drop=, gvol+72($pop19), $20 + i32.store $drop=, gvol+80($pop19), $22 i32.const $push18=, 0 - i32.store $drop=, gvol+76($pop18), $21 + i32.store $drop=, gvol+84($pop18), $23 i32.const $push17=, 0 - i32.store $drop=, gvol+80($pop17), $22 + i32.store $drop=, gvol+88($pop17), $24 i32.const $push16=, 0 - i32.store $drop=, gvol+84($pop16), $23 + i32.store $drop=, gvol+92($pop16), $25 i32.const $push15=, 0 - i32.store $drop=, gvol+88($pop15), $24 + i32.store $drop=, gvol+96($pop15), $26 i32.const $push14=, 0 - i32.store $drop=, gvol+92($pop14), $25 + i32.store $drop=, gvol+100($pop14), $27 i32.const $push13=, 0 - i32.store $drop=, gvol+96($pop13), $26 + i32.store $drop=, gvol+104($pop13), $28 i32.const $push12=, 0 - i32.store $drop=, gvol+100($pop12), $27 + i32.store $drop=, gvol+108($pop12), $29 i32.const $push11=, 0 - i32.store $drop=, gvol+104($pop11), $28 + i32.store $drop=, gvol+112($pop11), $30 i32.const $push10=, 0 - i32.store $drop=, gvol+108($pop10), $29 + i32.store $drop=, gvol+116($pop10), $31 i32.const $push9=, 0 - i32.store $drop=, gvol+112($pop9), $30 - i32.const $push8=, 0 - i32.store $drop=, gvol+116($pop8), $31 - i32.const $push7=, 0 - i32.store $drop=, gvol+120($pop7), $32 - i32.const $push6=, -1 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label1 + i32.store $drop=, gvol+120($pop9), $32 + i32.const $push8=, -1 + i32.add $push7=, $0, $pop8 + tee_local $push6=, $0=, $pop7 + br_if 0, $pop6 # 0: up to label1 # BB#3: # %while.end.loopexit end_loop # label2: i64.const $push3=, -2048 @@ -151,7 +152,8 @@ t1: # @t1 i64.sub $1=, $pop4, $2 .LBB0_4: # %while.end end_block # label0: - return $1 + copy_local $push70=, $1 + # fallthrough-return: $pop70 .endfunc .Lfunc_end0: .size t1, .Lfunc_end0-t1 @@ -166,8 +168,8 @@ t2: # @t2 .local i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push67=, $0 - br_if 0, $pop67 # 0: down to label3 + i32.eqz $push69=, $0 + br_if 0, $pop69 # 0: down to label3 # BB#1: # %while.body.preheader i32.const $push4=, -1 i32.add $push0=, $0, $pop4 @@ -175,139 +177,141 @@ t2: # @t2 .LBB1_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label4: + i32.const $push67=, 0 + i32.load $3=, gvol+4($pop67) + i32.const $push66=, 0 + i32.load $4=, gvol+8($pop66) i32.const $push65=, 0 - i32.load $3=, gvol+4($pop65) + i32.load $5=, gvol+12($pop65) i32.const $push64=, 0 - i32.load $4=, gvol+8($pop64) + i32.load $6=, gvol+16($pop64) i32.const $push63=, 0 - i32.load $5=, gvol+12($pop63) + i32.load $7=, gvol+20($pop63) i32.const $push62=, 0 - i32.load $6=, gvol+16($pop62) + i32.load $8=, gvol+24($pop62) i32.const $push61=, 0 - i32.load $7=, gvol+20($pop61) + i32.load $9=, gvol+28($pop61) i32.const $push60=, 0 - i32.load $8=, gvol+24($pop60) + i32.load $10=, gvol+32($pop60) i32.const $push59=, 0 - i32.load $9=, gvol+28($pop59) + i32.load $11=, gvol+36($pop59) i32.const $push58=, 0 - i32.load $10=, gvol+32($pop58) + i32.load $12=, gvol+40($pop58) i32.const $push57=, 0 - i32.load $11=, gvol+36($pop57) + i32.load $13=, gvol+44($pop57) i32.const $push56=, 0 - i32.load $12=, gvol+40($pop56) + i32.load $14=, gvol+48($pop56) i32.const $push55=, 0 - i32.load $13=, gvol+44($pop55) + i32.load $15=, gvol+52($pop55) i32.const $push54=, 0 - i32.load $14=, gvol+48($pop54) + i32.load $16=, gvol+56($pop54) i32.const $push53=, 0 - i32.load $15=, gvol+52($pop53) + i32.load $17=, gvol+60($pop53) i32.const $push52=, 0 - i32.load $16=, gvol+56($pop52) + i32.load $18=, gvol+64($pop52) i32.const $push51=, 0 - i32.load $17=, gvol+60($pop51) + i32.load $19=, gvol+68($pop51) i32.const $push50=, 0 - i32.load $18=, gvol+64($pop50) + i32.load $20=, gvol+72($pop50) i32.const $push49=, 0 - i32.load $19=, gvol+68($pop49) + i32.load $21=, gvol+76($pop49) i32.const $push48=, 0 - i32.load $20=, gvol+72($pop48) + i32.load $22=, gvol+80($pop48) i32.const $push47=, 0 - i32.load $21=, gvol+76($pop47) + i32.load $23=, gvol+84($pop47) i32.const $push46=, 0 - i32.load $22=, gvol+80($pop46) + i32.load $24=, gvol+88($pop46) i32.const $push45=, 0 - i32.load $23=, gvol+84($pop45) + i32.load $25=, gvol+92($pop45) i32.const $push44=, 0 - i32.load $24=, gvol+88($pop44) + i32.load $26=, gvol+96($pop44) i32.const $push43=, 0 - i32.load $25=, gvol+92($pop43) + i32.load $27=, gvol+100($pop43) i32.const $push42=, 0 - i32.load $26=, gvol+96($pop42) + i32.load $28=, gvol+104($pop42) i32.const $push41=, 0 - i32.load $27=, gvol+100($pop41) + i32.load $29=, gvol+108($pop41) i32.const $push40=, 0 - i32.load $28=, gvol+104($pop40) + i32.load $30=, gvol+112($pop40) i32.const $push39=, 0 - i32.load $29=, gvol+108($pop39) + i32.load $31=, gvol+116($pop39) i32.const $push38=, 0 - i32.load $30=, gvol+112($pop38) + i32.load $32=, gvol+120($pop38) i32.const $push37=, 0 - i32.load $31=, gvol+116($pop37) + i32.store $drop=, gvol+4($pop37), $3 i32.const $push36=, 0 - i32.load $32=, gvol+120($pop36) + i32.store $drop=, gvol+8($pop36), $4 i32.const $push35=, 0 - i32.store $drop=, gvol+4($pop35), $3 + i32.store $drop=, gvol+12($pop35), $5 i32.const $push34=, 0 - i32.store $drop=, gvol+8($pop34), $4 + i32.store $drop=, gvol+16($pop34), $6 i32.const $push33=, 0 - i32.store $drop=, gvol+12($pop33), $5 + i32.store $drop=, gvol+20($pop33), $7 i32.const $push32=, 0 - i32.store $drop=, gvol+16($pop32), $6 + i32.store $drop=, gvol+24($pop32), $8 i32.const $push31=, 0 - i32.store $drop=, gvol+20($pop31), $7 + i32.store $drop=, gvol+28($pop31), $9 i32.const $push30=, 0 - i32.store $drop=, gvol+24($pop30), $8 + i32.store $drop=, gvol+32($pop30), $10 i32.const $push29=, 0 - i32.store $drop=, gvol+28($pop29), $9 + i32.store $drop=, gvol+36($pop29), $11 i32.const $push28=, 0 - i32.store $drop=, gvol+32($pop28), $10 + i32.store $drop=, gvol+40($pop28), $12 i32.const $push27=, 0 - i32.store $drop=, gvol+36($pop27), $11 + i32.store $drop=, gvol+44($pop27), $13 i32.const $push26=, 0 - i32.store $drop=, gvol+40($pop26), $12 + i32.store $drop=, gvol+48($pop26), $14 i32.const $push25=, 0 - i32.store $drop=, gvol+44($pop25), $13 + i32.store $drop=, gvol+52($pop25), $15 i32.const $push24=, 0 - i32.store $drop=, gvol+48($pop24), $14 + i32.store $drop=, gvol+56($pop24), $16 i32.const $push23=, 0 - i32.store $drop=, gvol+52($pop23), $15 + i32.store $drop=, gvol+60($pop23), $17 i32.const $push22=, 0 - i32.store $drop=, gvol+56($pop22), $16 + i32.store $drop=, gvol+64($pop22), $18 i32.const $push21=, 0 - i32.store $drop=, gvol+60($pop21), $17 + i32.store $drop=, gvol+68($pop21), $19 i32.const $push20=, 0 - i32.store $drop=, gvol+64($pop20), $18 + i32.store $drop=, gvol+72($pop20), $20 i32.const $push19=, 0 - i32.store $drop=, gvol+68($pop19), $19 + i32.store $drop=, gvol+76($pop19), $21 i32.const $push18=, 0 - i32.store $drop=, gvol+72($pop18), $20 + i32.store $drop=, gvol+80($pop18), $22 i32.const $push17=, 0 - i32.store $drop=, gvol+76($pop17), $21 + i32.store $drop=, gvol+84($pop17), $23 i32.const $push16=, 0 - i32.store $drop=, gvol+80($pop16), $22 + i32.store $drop=, gvol+88($pop16), $24 i32.const $push15=, 0 - i32.store $drop=, gvol+84($pop15), $23 + i32.store $drop=, gvol+92($pop15), $25 i32.const $push14=, 0 - i32.store $drop=, gvol+88($pop14), $24 + i32.store $drop=, gvol+96($pop14), $26 i32.const $push13=, 0 - i32.store $drop=, gvol+92($pop13), $25 + i32.store $drop=, gvol+100($pop13), $27 i32.const $push12=, 0 - i32.store $drop=, gvol+96($pop12), $26 + i32.store $drop=, gvol+104($pop12), $28 i32.const $push11=, 0 - i32.store $drop=, gvol+100($pop11), $27 + i32.store $drop=, gvol+108($pop11), $29 i32.const $push10=, 0 - i32.store $drop=, gvol+104($pop10), $28 + i32.store $drop=, gvol+112($pop10), $30 i32.const $push9=, 0 - i32.store $drop=, gvol+108($pop9), $29 + i32.store $drop=, gvol+116($pop9), $31 i32.const $push8=, 0 - i32.store $drop=, gvol+112($pop8), $30 - i32.const $push7=, 0 - i32.store $drop=, gvol+116($pop7), $31 - i32.const $push6=, 0 - i32.store $drop=, gvol+120($pop6), $32 - i32.const $push5=, -1 - i32.add $0=, $0, $pop5 - br_if 0, $0 # 0: up to label4 + i32.store $drop=, gvol+120($pop8), $32 + i32.const $push7=, -1 + i32.add $push6=, $0, $pop7 + tee_local $push5=, $0=, $pop6 + br_if 0, $pop5 # 0: up to label4 # BB#3: # %while.end.loopexit end_loop # label5: i64.const $push1=, -513 i64.mul $push2=, $2, $pop1 i64.add $push3=, $1, $pop2 - i64.const $push66=, -513 - i64.add $1=, $pop3, $pop66 + i64.const $push68=, -513 + i64.add $1=, $pop3, $pop68 .LBB1_4: # %while.end end_block # label3: - return $1 + copy_local $push70=, $1 + # fallthrough-return: $pop70 .endfunc .Lfunc_end1: .size t2, .Lfunc_end1-t2 @@ -322,8 +326,8 @@ t3: # @t3 .local i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push67=, $0 - br_if 0, $pop67 # 0: down to label6 + i32.eqz $push69=, $0 + br_if 0, $pop69 # 0: down to label6 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -333,129 +337,130 @@ t3: # @t3 .LBB2_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label7: + i32.const $push68=, 0 + i32.load $3=, gvol+4($pop68) + i32.const $push67=, 0 + i32.load $4=, gvol+8($pop67) i32.const $push66=, 0 - i32.load $3=, gvol+4($pop66) + i32.load $5=, gvol+12($pop66) i32.const $push65=, 0 - i32.load $4=, gvol+8($pop65) + i32.load $6=, gvol+16($pop65) i32.const $push64=, 0 - i32.load $5=, gvol+12($pop64) + i32.load $7=, gvol+20($pop64) i32.const $push63=, 0 - i32.load $6=, gvol+16($pop63) + i32.load $8=, gvol+24($pop63) i32.const $push62=, 0 - i32.load $7=, gvol+20($pop62) + i32.load $9=, gvol+28($pop62) i32.const $push61=, 0 - i32.load $8=, gvol+24($pop61) + i32.load $10=, gvol+32($pop61) i32.const $push60=, 0 - i32.load $9=, gvol+28($pop60) + i32.load $11=, gvol+36($pop60) i32.const $push59=, 0 - i32.load $10=, gvol+32($pop59) + i32.load $12=, gvol+40($pop59) i32.const $push58=, 0 - i32.load $11=, gvol+36($pop58) + i32.load $13=, gvol+44($pop58) i32.const $push57=, 0 - i32.load $12=, gvol+40($pop57) + i32.load $14=, gvol+48($pop57) i32.const $push56=, 0 - i32.load $13=, gvol+44($pop56) + i32.load $15=, gvol+52($pop56) i32.const $push55=, 0 - i32.load $14=, gvol+48($pop55) + i32.load $16=, gvol+56($pop55) i32.const $push54=, 0 - i32.load $15=, gvol+52($pop54) + i32.load $17=, gvol+60($pop54) i32.const $push53=, 0 - i32.load $16=, gvol+56($pop53) + i32.load $18=, gvol+64($pop53) i32.const $push52=, 0 - i32.load $17=, gvol+60($pop52) + i32.load $19=, gvol+68($pop52) i32.const $push51=, 0 - i32.load $18=, gvol+64($pop51) + i32.load $20=, gvol+72($pop51) i32.const $push50=, 0 - i32.load $19=, gvol+68($pop50) + i32.load $21=, gvol+76($pop50) i32.const $push49=, 0 - i32.load $20=, gvol+72($pop49) + i32.load $22=, gvol+80($pop49) i32.const $push48=, 0 - i32.load $21=, gvol+76($pop48) + i32.load $23=, gvol+84($pop48) i32.const $push47=, 0 - i32.load $22=, gvol+80($pop47) + i32.load $24=, gvol+88($pop47) i32.const $push46=, 0 - i32.load $23=, gvol+84($pop46) + i32.load $25=, gvol+92($pop46) i32.const $push45=, 0 - i32.load $24=, gvol+88($pop45) + i32.load $26=, gvol+96($pop45) i32.const $push44=, 0 - i32.load $25=, gvol+92($pop44) + i32.load $27=, gvol+100($pop44) i32.const $push43=, 0 - i32.load $26=, gvol+96($pop43) + i32.load $28=, gvol+104($pop43) i32.const $push42=, 0 - i32.load $27=, gvol+100($pop42) + i32.load $29=, gvol+108($pop42) i32.const $push41=, 0 - i32.load $28=, gvol+104($pop41) + i32.load $30=, gvol+112($pop41) i32.const $push40=, 0 - i32.load $29=, gvol+108($pop40) + i32.load $31=, gvol+116($pop40) i32.const $push39=, 0 - i32.load $30=, gvol+112($pop39) + i32.load $32=, gvol+120($pop39) i32.const $push38=, 0 - i32.load $31=, gvol+116($pop38) + i32.store $drop=, gvol+4($pop38), $3 i32.const $push37=, 0 - i32.load $32=, gvol+120($pop37) + i32.store $drop=, gvol+8($pop37), $4 i32.const $push36=, 0 - i32.store $drop=, gvol+4($pop36), $3 + i32.store $drop=, gvol+12($pop36), $5 i32.const $push35=, 0 - i32.store $drop=, gvol+8($pop35), $4 + i32.store $drop=, gvol+16($pop35), $6 i32.const $push34=, 0 - i32.store $drop=, gvol+12($pop34), $5 + i32.store $drop=, gvol+20($pop34), $7 i32.const $push33=, 0 - i32.store $drop=, gvol+16($pop33), $6 + i32.store $drop=, gvol+24($pop33), $8 i32.const $push32=, 0 - i32.store $drop=, gvol+20($pop32), $7 + i32.store $drop=, gvol+28($pop32), $9 i32.const $push31=, 0 - i32.store $drop=, gvol+24($pop31), $8 + i32.store $drop=, gvol+32($pop31), $10 i32.const $push30=, 0 - i32.store $drop=, gvol+28($pop30), $9 + i32.store $drop=, gvol+36($pop30), $11 i32.const $push29=, 0 - i32.store $drop=, gvol+32($pop29), $10 + i32.store $drop=, gvol+40($pop29), $12 i32.const $push28=, 0 - i32.store $drop=, gvol+36($pop28), $11 + i32.store $drop=, gvol+44($pop28), $13 i32.const $push27=, 0 - i32.store $drop=, gvol+40($pop27), $12 + i32.store $drop=, gvol+48($pop27), $14 i32.const $push26=, 0 - i32.store $drop=, gvol+44($pop26), $13 + i32.store $drop=, gvol+52($pop26), $15 i32.const $push25=, 0 - i32.store $drop=, gvol+48($pop25), $14 + i32.store $drop=, gvol+56($pop25), $16 i32.const $push24=, 0 - i32.store $drop=, gvol+52($pop24), $15 + i32.store $drop=, gvol+60($pop24), $17 i32.const $push23=, 0 - i32.store $drop=, gvol+56($pop23), $16 + i32.store $drop=, gvol+64($pop23), $18 i32.const $push22=, 0 - i32.store $drop=, gvol+60($pop22), $17 + i32.store $drop=, gvol+68($pop22), $19 i32.const $push21=, 0 - i32.store $drop=, gvol+64($pop21), $18 + i32.store $drop=, gvol+72($pop21), $20 i32.const $push20=, 0 - i32.store $drop=, gvol+68($pop20), $19 + i32.store $drop=, gvol+76($pop20), $21 i32.const $push19=, 0 - i32.store $drop=, gvol+72($pop19), $20 + i32.store $drop=, gvol+80($pop19), $22 i32.const $push18=, 0 - i32.store $drop=, gvol+76($pop18), $21 + i32.store $drop=, gvol+84($pop18), $23 i32.const $push17=, 0 - i32.store $drop=, gvol+80($pop17), $22 + i32.store $drop=, gvol+88($pop17), $24 i32.const $push16=, 0 - i32.store $drop=, gvol+84($pop16), $23 + i32.store $drop=, gvol+92($pop16), $25 i32.const $push15=, 0 - i32.store $drop=, gvol+88($pop15), $24 + i32.store $drop=, gvol+96($pop15), $26 i32.const $push14=, 0 - i32.store $drop=, gvol+92($pop14), $25 + i32.store $drop=, gvol+100($pop14), $27 i32.const $push13=, 0 - i32.store $drop=, gvol+96($pop13), $26 + i32.store $drop=, gvol+104($pop13), $28 i32.const $push12=, 0 - i32.store $drop=, gvol+100($pop12), $27 + i32.store $drop=, gvol+108($pop12), $29 i32.const $push11=, 0 - i32.store $drop=, gvol+104($pop11), $28 + i32.store $drop=, gvol+112($pop11), $30 i32.const $push10=, 0 - i32.store $drop=, gvol+108($pop10), $29 + i32.store $drop=, gvol+116($pop10), $31 i32.const $push9=, 0 - i32.store $drop=, gvol+112($pop9), $30 - i32.const $push8=, 0 - i32.store $drop=, gvol+116($pop8), $31 - i32.const $push7=, 0 - i32.store $drop=, gvol+120($pop7), $32 - i32.const $push6=, -1 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label7 + i32.store $drop=, gvol+120($pop9), $32 + i32.const $push8=, -1 + i32.add $push7=, $0, $pop8 + tee_local $push6=, $0=, $pop7 + br_if 0, $pop6 # 0: up to label7 # BB#3: # %while.end.loopexit end_loop # label8: i64.const $push3=, -512 @@ -463,7 +468,8 @@ t3: # @t3 i64.sub $1=, $pop4, $2 .LBB2_4: # %while.end end_block # label6: - return $1 + copy_local $push70=, $1 + # fallthrough-return: $pop70 .endfunc .Lfunc_end2: .size t3, .Lfunc_end2-t3 @@ -478,8 +484,8 @@ t4: # @t4 .local i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push67=, $0 - br_if 0, $pop67 # 0: down to label9 + i32.eqz $push69=, $0 + br_if 0, $pop69 # 0: down to label9 # BB#1: # %while.body.preheader i32.const $push4=, -1 i32.add $push0=, $0, $pop4 @@ -487,139 +493,141 @@ t4: # @t4 .LBB3_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label10: + i32.const $push67=, 0 + i32.load $3=, gvol+4($pop67) + i32.const $push66=, 0 + i32.load $4=, gvol+8($pop66) i32.const $push65=, 0 - i32.load $3=, gvol+4($pop65) + i32.load $5=, gvol+12($pop65) i32.const $push64=, 0 - i32.load $4=, gvol+8($pop64) + i32.load $6=, gvol+16($pop64) i32.const $push63=, 0 - i32.load $5=, gvol+12($pop63) + i32.load $7=, gvol+20($pop63) i32.const $push62=, 0 - i32.load $6=, gvol+16($pop62) + i32.load $8=, gvol+24($pop62) i32.const $push61=, 0 - i32.load $7=, gvol+20($pop61) + i32.load $9=, gvol+28($pop61) i32.const $push60=, 0 - i32.load $8=, gvol+24($pop60) + i32.load $10=, gvol+32($pop60) i32.const $push59=, 0 - i32.load $9=, gvol+28($pop59) + i32.load $11=, gvol+36($pop59) i32.const $push58=, 0 - i32.load $10=, gvol+32($pop58) + i32.load $12=, gvol+40($pop58) i32.const $push57=, 0 - i32.load $11=, gvol+36($pop57) + i32.load $13=, gvol+44($pop57) i32.const $push56=, 0 - i32.load $12=, gvol+40($pop56) + i32.load $14=, gvol+48($pop56) i32.const $push55=, 0 - i32.load $13=, gvol+44($pop55) + i32.load $15=, gvol+52($pop55) i32.const $push54=, 0 - i32.load $14=, gvol+48($pop54) + i32.load $16=, gvol+56($pop54) i32.const $push53=, 0 - i32.load $15=, gvol+52($pop53) + i32.load $17=, gvol+60($pop53) i32.const $push52=, 0 - i32.load $16=, gvol+56($pop52) + i32.load $18=, gvol+64($pop52) i32.const $push51=, 0 - i32.load $17=, gvol+60($pop51) + i32.load $19=, gvol+68($pop51) i32.const $push50=, 0 - i32.load $18=, gvol+64($pop50) + i32.load $20=, gvol+72($pop50) i32.const $push49=, 0 - i32.load $19=, gvol+68($pop49) + i32.load $21=, gvol+76($pop49) i32.const $push48=, 0 - i32.load $20=, gvol+72($pop48) + i32.load $22=, gvol+80($pop48) i32.const $push47=, 0 - i32.load $21=, gvol+76($pop47) + i32.load $23=, gvol+84($pop47) i32.const $push46=, 0 - i32.load $22=, gvol+80($pop46) + i32.load $24=, gvol+88($pop46) i32.const $push45=, 0 - i32.load $23=, gvol+84($pop45) + i32.load $25=, gvol+92($pop45) i32.const $push44=, 0 - i32.load $24=, gvol+88($pop44) + i32.load $26=, gvol+96($pop44) i32.const $push43=, 0 - i32.load $25=, gvol+92($pop43) + i32.load $27=, gvol+100($pop43) i32.const $push42=, 0 - i32.load $26=, gvol+96($pop42) + i32.load $28=, gvol+104($pop42) i32.const $push41=, 0 - i32.load $27=, gvol+100($pop41) + i32.load $29=, gvol+108($pop41) i32.const $push40=, 0 - i32.load $28=, gvol+104($pop40) + i32.load $30=, gvol+112($pop40) i32.const $push39=, 0 - i32.load $29=, gvol+108($pop39) + i32.load $31=, gvol+116($pop39) i32.const $push38=, 0 - i32.load $30=, gvol+112($pop38) + i32.load $32=, gvol+120($pop38) i32.const $push37=, 0 - i32.load $31=, gvol+116($pop37) + i32.store $drop=, gvol+4($pop37), $3 i32.const $push36=, 0 - i32.load $32=, gvol+120($pop36) + i32.store $drop=, gvol+8($pop36), $4 i32.const $push35=, 0 - i32.store $drop=, gvol+4($pop35), $3 + i32.store $drop=, gvol+12($pop35), $5 i32.const $push34=, 0 - i32.store $drop=, gvol+8($pop34), $4 + i32.store $drop=, gvol+16($pop34), $6 i32.const $push33=, 0 - i32.store $drop=, gvol+12($pop33), $5 + i32.store $drop=, gvol+20($pop33), $7 i32.const $push32=, 0 - i32.store $drop=, gvol+16($pop32), $6 + i32.store $drop=, gvol+24($pop32), $8 i32.const $push31=, 0 - i32.store $drop=, gvol+20($pop31), $7 + i32.store $drop=, gvol+28($pop31), $9 i32.const $push30=, 0 - i32.store $drop=, gvol+24($pop30), $8 + i32.store $drop=, gvol+32($pop30), $10 i32.const $push29=, 0 - i32.store $drop=, gvol+28($pop29), $9 + i32.store $drop=, gvol+36($pop29), $11 i32.const $push28=, 0 - i32.store $drop=, gvol+32($pop28), $10 + i32.store $drop=, gvol+40($pop28), $12 i32.const $push27=, 0 - i32.store $drop=, gvol+36($pop27), $11 + i32.store $drop=, gvol+44($pop27), $13 i32.const $push26=, 0 - i32.store $drop=, gvol+40($pop26), $12 + i32.store $drop=, gvol+48($pop26), $14 i32.const $push25=, 0 - i32.store $drop=, gvol+44($pop25), $13 + i32.store $drop=, gvol+52($pop25), $15 i32.const $push24=, 0 - i32.store $drop=, gvol+48($pop24), $14 + i32.store $drop=, gvol+56($pop24), $16 i32.const $push23=, 0 - i32.store $drop=, gvol+52($pop23), $15 + i32.store $drop=, gvol+60($pop23), $17 i32.const $push22=, 0 - i32.store $drop=, gvol+56($pop22), $16 + i32.store $drop=, gvol+64($pop22), $18 i32.const $push21=, 0 - i32.store $drop=, gvol+60($pop21), $17 + i32.store $drop=, gvol+68($pop21), $19 i32.const $push20=, 0 - i32.store $drop=, gvol+64($pop20), $18 + i32.store $drop=, gvol+72($pop20), $20 i32.const $push19=, 0 - i32.store $drop=, gvol+68($pop19), $19 + i32.store $drop=, gvol+76($pop19), $21 i32.const $push18=, 0 - i32.store $drop=, gvol+72($pop18), $20 + i32.store $drop=, gvol+80($pop18), $22 i32.const $push17=, 0 - i32.store $drop=, gvol+76($pop17), $21 + i32.store $drop=, gvol+84($pop17), $23 i32.const $push16=, 0 - i32.store $drop=, gvol+80($pop16), $22 + i32.store $drop=, gvol+88($pop16), $24 i32.const $push15=, 0 - i32.store $drop=, gvol+84($pop15), $23 + i32.store $drop=, gvol+92($pop15), $25 i32.const $push14=, 0 - i32.store $drop=, gvol+88($pop14), $24 + i32.store $drop=, gvol+96($pop14), $26 i32.const $push13=, 0 - i32.store $drop=, gvol+92($pop13), $25 + i32.store $drop=, gvol+100($pop13), $27 i32.const $push12=, 0 - i32.store $drop=, gvol+96($pop12), $26 + i32.store $drop=, gvol+104($pop12), $28 i32.const $push11=, 0 - i32.store $drop=, gvol+100($pop11), $27 + i32.store $drop=, gvol+108($pop11), $29 i32.const $push10=, 0 - i32.store $drop=, gvol+104($pop10), $28 + i32.store $drop=, gvol+112($pop10), $30 i32.const $push9=, 0 - i32.store $drop=, gvol+108($pop9), $29 + i32.store $drop=, gvol+116($pop9), $31 i32.const $push8=, 0 - i32.store $drop=, gvol+112($pop8), $30 - i32.const $push7=, 0 - i32.store $drop=, gvol+116($pop7), $31 - i32.const $push6=, 0 - i32.store $drop=, gvol+120($pop6), $32 - i32.const $push5=, -1 - i32.add $0=, $0, $pop5 - br_if 0, $0 # 0: up to label10 + i32.store $drop=, gvol+120($pop8), $32 + i32.const $push7=, -1 + i32.add $push6=, $0, $pop7 + tee_local $push5=, $0=, $pop6 + br_if 0, $pop5 # 0: up to label10 # BB#3: # %while.end.loopexit end_loop # label11: i64.const $push1=, -511 i64.mul $push2=, $2, $pop1 i64.add $push3=, $1, $pop2 - i64.const $push66=, -511 - i64.add $1=, $pop3, $pop66 + i64.const $push68=, -511 + i64.add $1=, $pop3, $pop68 .LBB3_4: # %while.end end_block # label9: - return $1 + copy_local $push70=, $1 + # fallthrough-return: $pop70 .endfunc .Lfunc_end3: .size t4, .Lfunc_end3-t4 @@ -634,8 +642,8 @@ t5: # @t5 .local i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push65=, $0 - br_if 0, $pop65 # 0: down to label12 + i32.eqz $push67=, $0 + br_if 0, $pop67 # 0: down to label12 # BB#1: # %while.body.preheader i32.const $push3=, -1 i32.add $push0=, $0, $pop3 @@ -643,129 +651,130 @@ t5: # @t5 .LBB4_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label13: + i32.const $push66=, 0 + i32.load $3=, gvol+4($pop66) + i32.const $push65=, 0 + i32.load $4=, gvol+8($pop65) i32.const $push64=, 0 - i32.load $3=, gvol+4($pop64) + i32.load $5=, gvol+12($pop64) i32.const $push63=, 0 - i32.load $4=, gvol+8($pop63) + i32.load $6=, gvol+16($pop63) i32.const $push62=, 0 - i32.load $5=, gvol+12($pop62) + i32.load $7=, gvol+20($pop62) i32.const $push61=, 0 - i32.load $6=, gvol+16($pop61) + i32.load $8=, gvol+24($pop61) i32.const $push60=, 0 - i32.load $7=, gvol+20($pop60) + i32.load $9=, gvol+28($pop60) i32.const $push59=, 0 - i32.load $8=, gvol+24($pop59) + i32.load $10=, gvol+32($pop59) i32.const $push58=, 0 - i32.load $9=, gvol+28($pop58) + i32.load $11=, gvol+36($pop58) i32.const $push57=, 0 - i32.load $10=, gvol+32($pop57) + i32.load $12=, gvol+40($pop57) i32.const $push56=, 0 - i32.load $11=, gvol+36($pop56) + i32.load $13=, gvol+44($pop56) i32.const $push55=, 0 - i32.load $12=, gvol+40($pop55) + i32.load $14=, gvol+48($pop55) i32.const $push54=, 0 - i32.load $13=, gvol+44($pop54) + i32.load $15=, gvol+52($pop54) i32.const $push53=, 0 - i32.load $14=, gvol+48($pop53) + i32.load $16=, gvol+56($pop53) i32.const $push52=, 0 - i32.load $15=, gvol+52($pop52) + i32.load $17=, gvol+60($pop52) i32.const $push51=, 0 - i32.load $16=, gvol+56($pop51) + i32.load $18=, gvol+64($pop51) i32.const $push50=, 0 - i32.load $17=, gvol+60($pop50) + i32.load $19=, gvol+68($pop50) i32.const $push49=, 0 - i32.load $18=, gvol+64($pop49) + i32.load $20=, gvol+72($pop49) i32.const $push48=, 0 - i32.load $19=, gvol+68($pop48) + i32.load $21=, gvol+76($pop48) i32.const $push47=, 0 - i32.load $20=, gvol+72($pop47) + i32.load $22=, gvol+80($pop47) i32.const $push46=, 0 - i32.load $21=, gvol+76($pop46) + i32.load $23=, gvol+84($pop46) i32.const $push45=, 0 - i32.load $22=, gvol+80($pop45) + i32.load $24=, gvol+88($pop45) i32.const $push44=, 0 - i32.load $23=, gvol+84($pop44) + i32.load $25=, gvol+92($pop44) i32.const $push43=, 0 - i32.load $24=, gvol+88($pop43) + i32.load $26=, gvol+96($pop43) i32.const $push42=, 0 - i32.load $25=, gvol+92($pop42) + i32.load $27=, gvol+100($pop42) i32.const $push41=, 0 - i32.load $26=, gvol+96($pop41) + i32.load $28=, gvol+104($pop41) i32.const $push40=, 0 - i32.load $27=, gvol+100($pop40) + i32.load $29=, gvol+108($pop40) i32.const $push39=, 0 - i32.load $28=, gvol+104($pop39) + i32.load $30=, gvol+112($pop39) i32.const $push38=, 0 - i32.load $29=, gvol+108($pop38) + i32.load $31=, gvol+116($pop38) i32.const $push37=, 0 - i32.load $30=, gvol+112($pop37) + i32.load $32=, gvol+120($pop37) i32.const $push36=, 0 - i32.load $31=, gvol+116($pop36) + i32.store $drop=, gvol+4($pop36), $3 i32.const $push35=, 0 - i32.load $32=, gvol+120($pop35) + i32.store $drop=, gvol+8($pop35), $4 i32.const $push34=, 0 - i32.store $drop=, gvol+4($pop34), $3 + i32.store $drop=, gvol+12($pop34), $5 i32.const $push33=, 0 - i32.store $drop=, gvol+8($pop33), $4 + i32.store $drop=, gvol+16($pop33), $6 i32.const $push32=, 0 - i32.store $drop=, gvol+12($pop32), $5 + i32.store $drop=, gvol+20($pop32), $7 i32.const $push31=, 0 - i32.store $drop=, gvol+16($pop31), $6 + i32.store $drop=, gvol+24($pop31), $8 i32.const $push30=, 0 - i32.store $drop=, gvol+20($pop30), $7 + i32.store $drop=, gvol+28($pop30), $9 i32.const $push29=, 0 - i32.store $drop=, gvol+24($pop29), $8 + i32.store $drop=, gvol+32($pop29), $10 i32.const $push28=, 0 - i32.store $drop=, gvol+28($pop28), $9 + i32.store $drop=, gvol+36($pop28), $11 i32.const $push27=, 0 - i32.store $drop=, gvol+32($pop27), $10 + i32.store $drop=, gvol+40($pop27), $12 i32.const $push26=, 0 - i32.store $drop=, gvol+36($pop26), $11 + i32.store $drop=, gvol+44($pop26), $13 i32.const $push25=, 0 - i32.store $drop=, gvol+40($pop25), $12 + i32.store $drop=, gvol+48($pop25), $14 i32.const $push24=, 0 - i32.store $drop=, gvol+44($pop24), $13 + i32.store $drop=, gvol+52($pop24), $15 i32.const $push23=, 0 - i32.store $drop=, gvol+48($pop23), $14 + i32.store $drop=, gvol+56($pop23), $16 i32.const $push22=, 0 - i32.store $drop=, gvol+52($pop22), $15 + i32.store $drop=, gvol+60($pop22), $17 i32.const $push21=, 0 - i32.store $drop=, gvol+56($pop21), $16 + i32.store $drop=, gvol+64($pop21), $18 i32.const $push20=, 0 - i32.store $drop=, gvol+60($pop20), $17 + i32.store $drop=, gvol+68($pop20), $19 i32.const $push19=, 0 - i32.store $drop=, gvol+64($pop19), $18 + i32.store $drop=, gvol+72($pop19), $20 i32.const $push18=, 0 - i32.store $drop=, gvol+68($pop18), $19 + i32.store $drop=, gvol+76($pop18), $21 i32.const $push17=, 0 - i32.store $drop=, gvol+72($pop17), $20 + i32.store $drop=, gvol+80($pop17), $22 i32.const $push16=, 0 - i32.store $drop=, gvol+76($pop16), $21 + i32.store $drop=, gvol+84($pop16), $23 i32.const $push15=, 0 - i32.store $drop=, gvol+80($pop15), $22 + i32.store $drop=, gvol+88($pop15), $24 i32.const $push14=, 0 - i32.store $drop=, gvol+84($pop14), $23 + i32.store $drop=, gvol+92($pop14), $25 i32.const $push13=, 0 - i32.store $drop=, gvol+88($pop13), $24 + i32.store $drop=, gvol+96($pop13), $26 i32.const $push12=, 0 - i32.store $drop=, gvol+92($pop12), $25 + i32.store $drop=, gvol+100($pop12), $27 i32.const $push11=, 0 - i32.store $drop=, gvol+96($pop11), $26 + i32.store $drop=, gvol+104($pop11), $28 i32.const $push10=, 0 - i32.store $drop=, gvol+100($pop10), $27 + i32.store $drop=, gvol+108($pop10), $29 i32.const $push9=, 0 - i32.store $drop=, gvol+104($pop9), $28 + i32.store $drop=, gvol+112($pop9), $30 i32.const $push8=, 0 - i32.store $drop=, gvol+108($pop8), $29 + i32.store $drop=, gvol+116($pop8), $31 i32.const $push7=, 0 - i32.store $drop=, gvol+112($pop7), $30 - i32.const $push6=, 0 - i32.store $drop=, gvol+116($pop6), $31 - i32.const $push5=, 0 - i32.store $drop=, gvol+120($pop5), $32 - i32.const $push4=, -1 - i32.add $0=, $0, $pop4 - br_if 0, $0 # 0: up to label13 + i32.store $drop=, gvol+120($pop7), $32 + i32.const $push6=, -1 + i32.add $push5=, $0, $pop6 + tee_local $push4=, $0=, $pop5 + br_if 0, $pop4 # 0: up to label13 # BB#3: # %while.end.loopexit end_loop # label14: i64.const $push1=, -1 @@ -773,7 +782,8 @@ t5: # @t5 i64.sub $1=, $pop2, $2 .LBB4_4: # %while.end end_block # label12: - return $1 + copy_local $push68=, $1 + # fallthrough-return: $pop68 .endfunc .Lfunc_end4: .size t5, .Lfunc_end4-t5 @@ -788,8 +798,8 @@ t6: # @t6 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push65=, $0 - br_if 0, $pop65 # 0: down to label15 + i32.eqz $push67=, $0 + br_if 0, $pop67 # 0: down to label15 # BB#1: # %while.body.preheader i32.const $push3=, -1 i32.add $push0=, $0, $pop3 @@ -798,136 +808,138 @@ t6: # @t6 .LBB5_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label16: + i32.const $push66=, 0 + i32.load $2=, gvol+4($pop66) + i32.const $push65=, 0 + i32.load $3=, gvol+8($pop65) i32.const $push64=, 0 - i32.load $2=, gvol+4($pop64) + i32.load $4=, gvol+12($pop64) i32.const $push63=, 0 - i32.load $3=, gvol+8($pop63) + i32.load $5=, gvol+16($pop63) i32.const $push62=, 0 - i32.load $4=, gvol+12($pop62) + i32.load $6=, gvol+20($pop62) i32.const $push61=, 0 - i32.load $5=, gvol+16($pop61) + i32.load $7=, gvol+24($pop61) i32.const $push60=, 0 - i32.load $6=, gvol+20($pop60) + i32.load $8=, gvol+28($pop60) i32.const $push59=, 0 - i32.load $7=, gvol+24($pop59) + i32.load $9=, gvol+32($pop59) i32.const $push58=, 0 - i32.load $8=, gvol+28($pop58) + i32.load $10=, gvol+36($pop58) i32.const $push57=, 0 - i32.load $9=, gvol+32($pop57) + i32.load $11=, gvol+40($pop57) i32.const $push56=, 0 - i32.load $10=, gvol+36($pop56) + i32.load $12=, gvol+44($pop56) i32.const $push55=, 0 - i32.load $11=, gvol+40($pop55) + i32.load $13=, gvol+48($pop55) i32.const $push54=, 0 - i32.load $12=, gvol+44($pop54) + i32.load $14=, gvol+52($pop54) i32.const $push53=, 0 - i32.load $13=, gvol+48($pop53) + i32.load $15=, gvol+56($pop53) i32.const $push52=, 0 - i32.load $14=, gvol+52($pop52) + i32.load $16=, gvol+60($pop52) i32.const $push51=, 0 - i32.load $15=, gvol+56($pop51) + i32.load $17=, gvol+64($pop51) i32.const $push50=, 0 - i32.load $16=, gvol+60($pop50) + i32.load $18=, gvol+68($pop50) i32.const $push49=, 0 - i32.load $17=, gvol+64($pop49) + i32.load $19=, gvol+72($pop49) i32.const $push48=, 0 - i32.load $18=, gvol+68($pop48) + i32.load $20=, gvol+76($pop48) i32.const $push47=, 0 - i32.load $19=, gvol+72($pop47) + i32.load $21=, gvol+80($pop47) i32.const $push46=, 0 - i32.load $20=, gvol+76($pop46) + i32.load $22=, gvol+84($pop46) i32.const $push45=, 0 - i32.load $21=, gvol+80($pop45) + i32.load $23=, gvol+88($pop45) i32.const $push44=, 0 - i32.load $22=, gvol+84($pop44) + i32.load $24=, gvol+92($pop44) i32.const $push43=, 0 - i32.load $23=, gvol+88($pop43) + i32.load $25=, gvol+96($pop43) i32.const $push42=, 0 - i32.load $24=, gvol+92($pop42) + i32.load $26=, gvol+100($pop42) i32.const $push41=, 0 - i32.load $25=, gvol+96($pop41) + i32.load $27=, gvol+104($pop41) i32.const $push40=, 0 - i32.load $26=, gvol+100($pop40) + i32.load $28=, gvol+108($pop40) i32.const $push39=, 0 - i32.load $27=, gvol+104($pop39) + i32.load $29=, gvol+112($pop39) i32.const $push38=, 0 - i32.load $28=, gvol+108($pop38) + i32.load $30=, gvol+116($pop38) i32.const $push37=, 0 - i32.load $29=, gvol+112($pop37) + i32.load $31=, gvol+120($pop37) i32.const $push36=, 0 - i32.load $30=, gvol+116($pop36) + i32.store $drop=, gvol+4($pop36), $2 i32.const $push35=, 0 - i32.load $31=, gvol+120($pop35) + i32.store $drop=, gvol+8($pop35), $3 i32.const $push34=, 0 - i32.store $drop=, gvol+4($pop34), $2 + i32.store $drop=, gvol+12($pop34), $4 i32.const $push33=, 0 - i32.store $drop=, gvol+8($pop33), $3 + i32.store $drop=, gvol+16($pop33), $5 i32.const $push32=, 0 - i32.store $drop=, gvol+12($pop32), $4 + i32.store $drop=, gvol+20($pop32), $6 i32.const $push31=, 0 - i32.store $drop=, gvol+16($pop31), $5 + i32.store $drop=, gvol+24($pop31), $7 i32.const $push30=, 0 - i32.store $drop=, gvol+20($pop30), $6 + i32.store $drop=, gvol+28($pop30), $8 i32.const $push29=, 0 - i32.store $drop=, gvol+24($pop29), $7 + i32.store $drop=, gvol+32($pop29), $9 i32.const $push28=, 0 - i32.store $drop=, gvol+28($pop28), $8 + i32.store $drop=, gvol+36($pop28), $10 i32.const $push27=, 0 - i32.store $drop=, gvol+32($pop27), $9 + i32.store $drop=, gvol+40($pop27), $11 i32.const $push26=, 0 - i32.store $drop=, gvol+36($pop26), $10 + i32.store $drop=, gvol+44($pop26), $12 i32.const $push25=, 0 - i32.store $drop=, gvol+40($pop25), $11 + i32.store $drop=, gvol+48($pop25), $13 i32.const $push24=, 0 - i32.store $drop=, gvol+44($pop24), $12 + i32.store $drop=, gvol+52($pop24), $14 i32.const $push23=, 0 - i32.store $drop=, gvol+48($pop23), $13 + i32.store $drop=, gvol+56($pop23), $15 i32.const $push22=, 0 - i32.store $drop=, gvol+52($pop22), $14 + i32.store $drop=, gvol+60($pop22), $16 i32.const $push21=, 0 - i32.store $drop=, gvol+56($pop21), $15 + i32.store $drop=, gvol+64($pop21), $17 i32.const $push20=, 0 - i32.store $drop=, gvol+60($pop20), $16 + i32.store $drop=, gvol+68($pop20), $18 i32.const $push19=, 0 - i32.store $drop=, gvol+64($pop19), $17 + i32.store $drop=, gvol+72($pop19), $19 i32.const $push18=, 0 - i32.store $drop=, gvol+68($pop18), $18 + i32.store $drop=, gvol+76($pop18), $20 i32.const $push17=, 0 - i32.store $drop=, gvol+72($pop17), $19 + i32.store $drop=, gvol+80($pop17), $21 i32.const $push16=, 0 - i32.store $drop=, gvol+76($pop16), $20 + i32.store $drop=, gvol+84($pop16), $22 i32.const $push15=, 0 - i32.store $drop=, gvol+80($pop15), $21 + i32.store $drop=, gvol+88($pop15), $23 i32.const $push14=, 0 - i32.store $drop=, gvol+84($pop14), $22 + i32.store $drop=, gvol+92($pop14), $24 i32.const $push13=, 0 - i32.store $drop=, gvol+88($pop13), $23 + i32.store $drop=, gvol+96($pop13), $25 i32.const $push12=, 0 - i32.store $drop=, gvol+92($pop12), $24 + i32.store $drop=, gvol+100($pop12), $26 i32.const $push11=, 0 - i32.store $drop=, gvol+96($pop11), $25 + i32.store $drop=, gvol+104($pop11), $27 i32.const $push10=, 0 - i32.store $drop=, gvol+100($pop10), $26 + i32.store $drop=, gvol+108($pop10), $28 i32.const $push9=, 0 - i32.store $drop=, gvol+104($pop9), $27 + i32.store $drop=, gvol+112($pop9), $29 i32.const $push8=, 0 - i32.store $drop=, gvol+108($pop8), $28 + i32.store $drop=, gvol+116($pop8), $30 i32.const $push7=, 0 - i32.store $drop=, gvol+112($pop7), $29 - i32.const $push6=, 0 - i32.store $drop=, gvol+116($pop6), $30 - i32.const $push5=, 0 - i32.store $drop=, gvol+120($pop5), $31 - i32.const $push4=, -1 - i32.add $0=, $0, $pop4 - br_if 0, $0 # 0: up to label16 + i32.store $drop=, gvol+120($pop7), $31 + i32.const $push6=, -1 + i32.add $push5=, $0, $pop6 + tee_local $push4=, $0=, $pop5 + br_if 0, $pop4 # 0: up to label16 # BB#3: # %while.end.loopexit end_loop # label17: i64.const $push2=, 1 i64.add $1=, $1, $pop2 .LBB5_4: # %while.end end_block # label15: - return $1 + copy_local $push68=, $1 + # fallthrough-return: $pop68 .endfunc .Lfunc_end5: .size t6, .Lfunc_end5-t6 @@ -942,8 +954,8 @@ t7: # @t7 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push67=, $0 - br_if 0, $pop67 # 0: down to label18 + i32.eqz $push69=, $0 + br_if 0, $pop69 # 0: down to label18 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -954,136 +966,138 @@ t7: # @t7 .LBB6_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label19: + i32.const $push68=, 0 + i32.load $2=, gvol+4($pop68) + i32.const $push67=, 0 + i32.load $3=, gvol+8($pop67) i32.const $push66=, 0 - i32.load $2=, gvol+4($pop66) + i32.load $4=, gvol+12($pop66) i32.const $push65=, 0 - i32.load $3=, gvol+8($pop65) + i32.load $5=, gvol+16($pop65) i32.const $push64=, 0 - i32.load $4=, gvol+12($pop64) + i32.load $6=, gvol+20($pop64) i32.const $push63=, 0 - i32.load $5=, gvol+16($pop63) + i32.load $7=, gvol+24($pop63) i32.const $push62=, 0 - i32.load $6=, gvol+20($pop62) + i32.load $8=, gvol+28($pop62) i32.const $push61=, 0 - i32.load $7=, gvol+24($pop61) + i32.load $9=, gvol+32($pop61) i32.const $push60=, 0 - i32.load $8=, gvol+28($pop60) + i32.load $10=, gvol+36($pop60) i32.const $push59=, 0 - i32.load $9=, gvol+32($pop59) + i32.load $11=, gvol+40($pop59) i32.const $push58=, 0 - i32.load $10=, gvol+36($pop58) + i32.load $12=, gvol+44($pop58) i32.const $push57=, 0 - i32.load $11=, gvol+40($pop57) + i32.load $13=, gvol+48($pop57) i32.const $push56=, 0 - i32.load $12=, gvol+44($pop56) + i32.load $14=, gvol+52($pop56) i32.const $push55=, 0 - i32.load $13=, gvol+48($pop55) + i32.load $15=, gvol+56($pop55) i32.const $push54=, 0 - i32.load $14=, gvol+52($pop54) + i32.load $16=, gvol+60($pop54) i32.const $push53=, 0 - i32.load $15=, gvol+56($pop53) + i32.load $17=, gvol+64($pop53) i32.const $push52=, 0 - i32.load $16=, gvol+60($pop52) + i32.load $18=, gvol+68($pop52) i32.const $push51=, 0 - i32.load $17=, gvol+64($pop51) + i32.load $19=, gvol+72($pop51) i32.const $push50=, 0 - i32.load $18=, gvol+68($pop50) + i32.load $20=, gvol+76($pop50) i32.const $push49=, 0 - i32.load $19=, gvol+72($pop49) + i32.load $21=, gvol+80($pop49) i32.const $push48=, 0 - i32.load $20=, gvol+76($pop48) + i32.load $22=, gvol+84($pop48) i32.const $push47=, 0 - i32.load $21=, gvol+80($pop47) + i32.load $23=, gvol+88($pop47) i32.const $push46=, 0 - i32.load $22=, gvol+84($pop46) + i32.load $24=, gvol+92($pop46) i32.const $push45=, 0 - i32.load $23=, gvol+88($pop45) + i32.load $25=, gvol+96($pop45) i32.const $push44=, 0 - i32.load $24=, gvol+92($pop44) + i32.load $26=, gvol+100($pop44) i32.const $push43=, 0 - i32.load $25=, gvol+96($pop43) + i32.load $27=, gvol+104($pop43) i32.const $push42=, 0 - i32.load $26=, gvol+100($pop42) + i32.load $28=, gvol+108($pop42) i32.const $push41=, 0 - i32.load $27=, gvol+104($pop41) + i32.load $29=, gvol+112($pop41) i32.const $push40=, 0 - i32.load $28=, gvol+108($pop40) + i32.load $30=, gvol+116($pop40) i32.const $push39=, 0 - i32.load $29=, gvol+112($pop39) + i32.load $31=, gvol+120($pop39) i32.const $push38=, 0 - i32.load $30=, gvol+116($pop38) + i32.store $drop=, gvol+4($pop38), $2 i32.const $push37=, 0 - i32.load $31=, gvol+120($pop37) + i32.store $drop=, gvol+8($pop37), $3 i32.const $push36=, 0 - i32.store $drop=, gvol+4($pop36), $2 + i32.store $drop=, gvol+12($pop36), $4 i32.const $push35=, 0 - i32.store $drop=, gvol+8($pop35), $3 + i32.store $drop=, gvol+16($pop35), $5 i32.const $push34=, 0 - i32.store $drop=, gvol+12($pop34), $4 + i32.store $drop=, gvol+20($pop34), $6 i32.const $push33=, 0 - i32.store $drop=, gvol+16($pop33), $5 + i32.store $drop=, gvol+24($pop33), $7 i32.const $push32=, 0 - i32.store $drop=, gvol+20($pop32), $6 + i32.store $drop=, gvol+28($pop32), $8 i32.const $push31=, 0 - i32.store $drop=, gvol+24($pop31), $7 + i32.store $drop=, gvol+32($pop31), $9 i32.const $push30=, 0 - i32.store $drop=, gvol+28($pop30), $8 + i32.store $drop=, gvol+36($pop30), $10 i32.const $push29=, 0 - i32.store $drop=, gvol+32($pop29), $9 + i32.store $drop=, gvol+40($pop29), $11 i32.const $push28=, 0 - i32.store $drop=, gvol+36($pop28), $10 + i32.store $drop=, gvol+44($pop28), $12 i32.const $push27=, 0 - i32.store $drop=, gvol+40($pop27), $11 + i32.store $drop=, gvol+48($pop27), $13 i32.const $push26=, 0 - i32.store $drop=, gvol+44($pop26), $12 + i32.store $drop=, gvol+52($pop26), $14 i32.const $push25=, 0 - i32.store $drop=, gvol+48($pop25), $13 + i32.store $drop=, gvol+56($pop25), $15 i32.const $push24=, 0 - i32.store $drop=, gvol+52($pop24), $14 + i32.store $drop=, gvol+60($pop24), $16 i32.const $push23=, 0 - i32.store $drop=, gvol+56($pop23), $15 + i32.store $drop=, gvol+64($pop23), $17 i32.const $push22=, 0 - i32.store $drop=, gvol+60($pop22), $16 + i32.store $drop=, gvol+68($pop22), $18 i32.const $push21=, 0 - i32.store $drop=, gvol+64($pop21), $17 + i32.store $drop=, gvol+72($pop21), $19 i32.const $push20=, 0 - i32.store $drop=, gvol+68($pop20), $18 + i32.store $drop=, gvol+76($pop20), $20 i32.const $push19=, 0 - i32.store $drop=, gvol+72($pop19), $19 + i32.store $drop=, gvol+80($pop19), $21 i32.const $push18=, 0 - i32.store $drop=, gvol+76($pop18), $20 + i32.store $drop=, gvol+84($pop18), $22 i32.const $push17=, 0 - i32.store $drop=, gvol+80($pop17), $21 + i32.store $drop=, gvol+88($pop17), $23 i32.const $push16=, 0 - i32.store $drop=, gvol+84($pop16), $22 + i32.store $drop=, gvol+92($pop16), $24 i32.const $push15=, 0 - i32.store $drop=, gvol+88($pop15), $23 + i32.store $drop=, gvol+96($pop15), $25 i32.const $push14=, 0 - i32.store $drop=, gvol+92($pop14), $24 + i32.store $drop=, gvol+100($pop14), $26 i32.const $push13=, 0 - i32.store $drop=, gvol+96($pop13), $25 + i32.store $drop=, gvol+104($pop13), $27 i32.const $push12=, 0 - i32.store $drop=, gvol+100($pop12), $26 + i32.store $drop=, gvol+108($pop12), $28 i32.const $push11=, 0 - i32.store $drop=, gvol+104($pop11), $27 + i32.store $drop=, gvol+112($pop11), $29 i32.const $push10=, 0 - i32.store $drop=, gvol+108($pop10), $28 + i32.store $drop=, gvol+116($pop10), $30 i32.const $push9=, 0 - i32.store $drop=, gvol+112($pop9), $29 - i32.const $push8=, 0 - i32.store $drop=, gvol+116($pop8), $30 - i32.const $push7=, 0 - i32.store $drop=, gvol+120($pop7), $31 - i32.const $push6=, -1 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label19 + i32.store $drop=, gvol+120($pop9), $31 + i32.const $push8=, -1 + i32.add $push7=, $0, $pop8 + tee_local $push6=, $0=, $pop7 + br_if 0, $pop6 # 0: up to label19 # BB#3: # %while.end.loopexit end_loop # label20: i64.const $push4=, 511 i64.add $1=, $1, $pop4 .LBB6_4: # %while.end end_block # label18: - return $1 + copy_local $push70=, $1 + # fallthrough-return: $pop70 .endfunc .Lfunc_end6: .size t7, .Lfunc_end6-t7 @@ -1098,8 +1112,8 @@ t8: # @t8 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push67=, $0 - br_if 0, $pop67 # 0: down to label21 + i32.eqz $push69=, $0 + br_if 0, $pop69 # 0: down to label21 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -1110,136 +1124,138 @@ t8: # @t8 .LBB7_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label22: + i32.const $push68=, 0 + i32.load $2=, gvol+4($pop68) + i32.const $push67=, 0 + i32.load $3=, gvol+8($pop67) i32.const $push66=, 0 - i32.load $2=, gvol+4($pop66) + i32.load $4=, gvol+12($pop66) i32.const $push65=, 0 - i32.load $3=, gvol+8($pop65) + i32.load $5=, gvol+16($pop65) i32.const $push64=, 0 - i32.load $4=, gvol+12($pop64) + i32.load $6=, gvol+20($pop64) i32.const $push63=, 0 - i32.load $5=, gvol+16($pop63) + i32.load $7=, gvol+24($pop63) i32.const $push62=, 0 - i32.load $6=, gvol+20($pop62) + i32.load $8=, gvol+28($pop62) i32.const $push61=, 0 - i32.load $7=, gvol+24($pop61) + i32.load $9=, gvol+32($pop61) i32.const $push60=, 0 - i32.load $8=, gvol+28($pop60) + i32.load $10=, gvol+36($pop60) i32.const $push59=, 0 - i32.load $9=, gvol+32($pop59) + i32.load $11=, gvol+40($pop59) i32.const $push58=, 0 - i32.load $10=, gvol+36($pop58) + i32.load $12=, gvol+44($pop58) i32.const $push57=, 0 - i32.load $11=, gvol+40($pop57) + i32.load $13=, gvol+48($pop57) i32.const $push56=, 0 - i32.load $12=, gvol+44($pop56) + i32.load $14=, gvol+52($pop56) i32.const $push55=, 0 - i32.load $13=, gvol+48($pop55) + i32.load $15=, gvol+56($pop55) i32.const $push54=, 0 - i32.load $14=, gvol+52($pop54) + i32.load $16=, gvol+60($pop54) i32.const $push53=, 0 - i32.load $15=, gvol+56($pop53) + i32.load $17=, gvol+64($pop53) i32.const $push52=, 0 - i32.load $16=, gvol+60($pop52) + i32.load $18=, gvol+68($pop52) i32.const $push51=, 0 - i32.load $17=, gvol+64($pop51) + i32.load $19=, gvol+72($pop51) i32.const $push50=, 0 - i32.load $18=, gvol+68($pop50) + i32.load $20=, gvol+76($pop50) i32.const $push49=, 0 - i32.load $19=, gvol+72($pop49) + i32.load $21=, gvol+80($pop49) i32.const $push48=, 0 - i32.load $20=, gvol+76($pop48) + i32.load $22=, gvol+84($pop48) i32.const $push47=, 0 - i32.load $21=, gvol+80($pop47) + i32.load $23=, gvol+88($pop47) i32.const $push46=, 0 - i32.load $22=, gvol+84($pop46) + i32.load $24=, gvol+92($pop46) i32.const $push45=, 0 - i32.load $23=, gvol+88($pop45) + i32.load $25=, gvol+96($pop45) i32.const $push44=, 0 - i32.load $24=, gvol+92($pop44) + i32.load $26=, gvol+100($pop44) i32.const $push43=, 0 - i32.load $25=, gvol+96($pop43) + i32.load $27=, gvol+104($pop43) i32.const $push42=, 0 - i32.load $26=, gvol+100($pop42) + i32.load $28=, gvol+108($pop42) i32.const $push41=, 0 - i32.load $27=, gvol+104($pop41) + i32.load $29=, gvol+112($pop41) i32.const $push40=, 0 - i32.load $28=, gvol+108($pop40) + i32.load $30=, gvol+116($pop40) i32.const $push39=, 0 - i32.load $29=, gvol+112($pop39) + i32.load $31=, gvol+120($pop39) i32.const $push38=, 0 - i32.load $30=, gvol+116($pop38) + i32.store $drop=, gvol+4($pop38), $2 i32.const $push37=, 0 - i32.load $31=, gvol+120($pop37) + i32.store $drop=, gvol+8($pop37), $3 i32.const $push36=, 0 - i32.store $drop=, gvol+4($pop36), $2 + i32.store $drop=, gvol+12($pop36), $4 i32.const $push35=, 0 - i32.store $drop=, gvol+8($pop35), $3 + i32.store $drop=, gvol+16($pop35), $5 i32.const $push34=, 0 - i32.store $drop=, gvol+12($pop34), $4 + i32.store $drop=, gvol+20($pop34), $6 i32.const $push33=, 0 - i32.store $drop=, gvol+16($pop33), $5 + i32.store $drop=, gvol+24($pop33), $7 i32.const $push32=, 0 - i32.store $drop=, gvol+20($pop32), $6 + i32.store $drop=, gvol+28($pop32), $8 i32.const $push31=, 0 - i32.store $drop=, gvol+24($pop31), $7 + i32.store $drop=, gvol+32($pop31), $9 i32.const $push30=, 0 - i32.store $drop=, gvol+28($pop30), $8 + i32.store $drop=, gvol+36($pop30), $10 i32.const $push29=, 0 - i32.store $drop=, gvol+32($pop29), $9 + i32.store $drop=, gvol+40($pop29), $11 i32.const $push28=, 0 - i32.store $drop=, gvol+36($pop28), $10 + i32.store $drop=, gvol+44($pop28), $12 i32.const $push27=, 0 - i32.store $drop=, gvol+40($pop27), $11 + i32.store $drop=, gvol+48($pop27), $13 i32.const $push26=, 0 - i32.store $drop=, gvol+44($pop26), $12 + i32.store $drop=, gvol+52($pop26), $14 i32.const $push25=, 0 - i32.store $drop=, gvol+48($pop25), $13 + i32.store $drop=, gvol+56($pop25), $15 i32.const $push24=, 0 - i32.store $drop=, gvol+52($pop24), $14 + i32.store $drop=, gvol+60($pop24), $16 i32.const $push23=, 0 - i32.store $drop=, gvol+56($pop23), $15 + i32.store $drop=, gvol+64($pop23), $17 i32.const $push22=, 0 - i32.store $drop=, gvol+60($pop22), $16 + i32.store $drop=, gvol+68($pop22), $18 i32.const $push21=, 0 - i32.store $drop=, gvol+64($pop21), $17 + i32.store $drop=, gvol+72($pop21), $19 i32.const $push20=, 0 - i32.store $drop=, gvol+68($pop20), $18 + i32.store $drop=, gvol+76($pop20), $20 i32.const $push19=, 0 - i32.store $drop=, gvol+72($pop19), $19 + i32.store $drop=, gvol+80($pop19), $21 i32.const $push18=, 0 - i32.store $drop=, gvol+76($pop18), $20 + i32.store $drop=, gvol+84($pop18), $22 i32.const $push17=, 0 - i32.store $drop=, gvol+80($pop17), $21 + i32.store $drop=, gvol+88($pop17), $23 i32.const $push16=, 0 - i32.store $drop=, gvol+84($pop16), $22 + i32.store $drop=, gvol+92($pop16), $24 i32.const $push15=, 0 - i32.store $drop=, gvol+88($pop15), $23 + i32.store $drop=, gvol+96($pop15), $25 i32.const $push14=, 0 - i32.store $drop=, gvol+92($pop14), $24 + i32.store $drop=, gvol+100($pop14), $26 i32.const $push13=, 0 - i32.store $drop=, gvol+96($pop13), $25 + i32.store $drop=, gvol+104($pop13), $27 i32.const $push12=, 0 - i32.store $drop=, gvol+100($pop12), $26 + i32.store $drop=, gvol+108($pop12), $28 i32.const $push11=, 0 - i32.store $drop=, gvol+104($pop11), $27 + i32.store $drop=, gvol+112($pop11), $29 i32.const $push10=, 0 - i32.store $drop=, gvol+108($pop10), $28 + i32.store $drop=, gvol+116($pop10), $30 i32.const $push9=, 0 - i32.store $drop=, gvol+112($pop9), $29 - i32.const $push8=, 0 - i32.store $drop=, gvol+116($pop8), $30 - i32.const $push7=, 0 - i32.store $drop=, gvol+120($pop7), $31 - i32.const $push6=, -1 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label22 + i32.store $drop=, gvol+120($pop9), $31 + i32.const $push8=, -1 + i32.add $push7=, $0, $pop8 + tee_local $push6=, $0=, $pop7 + br_if 0, $pop6 # 0: up to label22 # BB#3: # %while.end.loopexit end_loop # label23: i64.const $push4=, 512 i64.add $1=, $1, $pop4 .LBB7_4: # %while.end end_block # label21: - return $1 + copy_local $push70=, $1 + # fallthrough-return: $pop70 .endfunc .Lfunc_end7: .size t8, .Lfunc_end7-t8 @@ -1254,8 +1270,8 @@ t9: # @t9 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push67=, $0 - br_if 0, $pop67 # 0: down to label24 + i32.eqz $push69=, $0 + br_if 0, $pop69 # 0: down to label24 # BB#1: # %while.body.preheader i32.const $push5=, -1 i32.add $push0=, $0, $pop5 @@ -1266,136 +1282,138 @@ t9: # @t9 .LBB8_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label25: + i32.const $push68=, 0 + i32.load $2=, gvol+4($pop68) + i32.const $push67=, 0 + i32.load $3=, gvol+8($pop67) i32.const $push66=, 0 - i32.load $2=, gvol+4($pop66) + i32.load $4=, gvol+12($pop66) i32.const $push65=, 0 - i32.load $3=, gvol+8($pop65) + i32.load $5=, gvol+16($pop65) i32.const $push64=, 0 - i32.load $4=, gvol+12($pop64) + i32.load $6=, gvol+20($pop64) i32.const $push63=, 0 - i32.load $5=, gvol+16($pop63) + i32.load $7=, gvol+24($pop63) i32.const $push62=, 0 - i32.load $6=, gvol+20($pop62) + i32.load $8=, gvol+28($pop62) i32.const $push61=, 0 - i32.load $7=, gvol+24($pop61) + i32.load $9=, gvol+32($pop61) i32.const $push60=, 0 - i32.load $8=, gvol+28($pop60) + i32.load $10=, gvol+36($pop60) i32.const $push59=, 0 - i32.load $9=, gvol+32($pop59) + i32.load $11=, gvol+40($pop59) i32.const $push58=, 0 - i32.load $10=, gvol+36($pop58) + i32.load $12=, gvol+44($pop58) i32.const $push57=, 0 - i32.load $11=, gvol+40($pop57) + i32.load $13=, gvol+48($pop57) i32.const $push56=, 0 - i32.load $12=, gvol+44($pop56) + i32.load $14=, gvol+52($pop56) i32.const $push55=, 0 - i32.load $13=, gvol+48($pop55) + i32.load $15=, gvol+56($pop55) i32.const $push54=, 0 - i32.load $14=, gvol+52($pop54) + i32.load $16=, gvol+60($pop54) i32.const $push53=, 0 - i32.load $15=, gvol+56($pop53) + i32.load $17=, gvol+64($pop53) i32.const $push52=, 0 - i32.load $16=, gvol+60($pop52) + i32.load $18=, gvol+68($pop52) i32.const $push51=, 0 - i32.load $17=, gvol+64($pop51) + i32.load $19=, gvol+72($pop51) i32.const $push50=, 0 - i32.load $18=, gvol+68($pop50) + i32.load $20=, gvol+76($pop50) i32.const $push49=, 0 - i32.load $19=, gvol+72($pop49) + i32.load $21=, gvol+80($pop49) i32.const $push48=, 0 - i32.load $20=, gvol+76($pop48) + i32.load $22=, gvol+84($pop48) i32.const $push47=, 0 - i32.load $21=, gvol+80($pop47) + i32.load $23=, gvol+88($pop47) i32.const $push46=, 0 - i32.load $22=, gvol+84($pop46) + i32.load $24=, gvol+92($pop46) i32.const $push45=, 0 - i32.load $23=, gvol+88($pop45) + i32.load $25=, gvol+96($pop45) i32.const $push44=, 0 - i32.load $24=, gvol+92($pop44) + i32.load $26=, gvol+100($pop44) i32.const $push43=, 0 - i32.load $25=, gvol+96($pop43) + i32.load $27=, gvol+104($pop43) i32.const $push42=, 0 - i32.load $26=, gvol+100($pop42) + i32.load $28=, gvol+108($pop42) i32.const $push41=, 0 - i32.load $27=, gvol+104($pop41) + i32.load $29=, gvol+112($pop41) i32.const $push40=, 0 - i32.load $28=, gvol+108($pop40) + i32.load $30=, gvol+116($pop40) i32.const $push39=, 0 - i32.load $29=, gvol+112($pop39) + i32.load $31=, gvol+120($pop39) i32.const $push38=, 0 - i32.load $30=, gvol+116($pop38) + i32.store $drop=, gvol+4($pop38), $2 i32.const $push37=, 0 - i32.load $31=, gvol+120($pop37) + i32.store $drop=, gvol+8($pop37), $3 i32.const $push36=, 0 - i32.store $drop=, gvol+4($pop36), $2 + i32.store $drop=, gvol+12($pop36), $4 i32.const $push35=, 0 - i32.store $drop=, gvol+8($pop35), $3 + i32.store $drop=, gvol+16($pop35), $5 i32.const $push34=, 0 - i32.store $drop=, gvol+12($pop34), $4 + i32.store $drop=, gvol+20($pop34), $6 i32.const $push33=, 0 - i32.store $drop=, gvol+16($pop33), $5 + i32.store $drop=, gvol+24($pop33), $7 i32.const $push32=, 0 - i32.store $drop=, gvol+20($pop32), $6 + i32.store $drop=, gvol+28($pop32), $8 i32.const $push31=, 0 - i32.store $drop=, gvol+24($pop31), $7 + i32.store $drop=, gvol+32($pop31), $9 i32.const $push30=, 0 - i32.store $drop=, gvol+28($pop30), $8 + i32.store $drop=, gvol+36($pop30), $10 i32.const $push29=, 0 - i32.store $drop=, gvol+32($pop29), $9 + i32.store $drop=, gvol+40($pop29), $11 i32.const $push28=, 0 - i32.store $drop=, gvol+36($pop28), $10 + i32.store $drop=, gvol+44($pop28), $12 i32.const $push27=, 0 - i32.store $drop=, gvol+40($pop27), $11 + i32.store $drop=, gvol+48($pop27), $13 i32.const $push26=, 0 - i32.store $drop=, gvol+44($pop26), $12 + i32.store $drop=, gvol+52($pop26), $14 i32.const $push25=, 0 - i32.store $drop=, gvol+48($pop25), $13 + i32.store $drop=, gvol+56($pop25), $15 i32.const $push24=, 0 - i32.store $drop=, gvol+52($pop24), $14 + i32.store $drop=, gvol+60($pop24), $16 i32.const $push23=, 0 - i32.store $drop=, gvol+56($pop23), $15 + i32.store $drop=, gvol+64($pop23), $17 i32.const $push22=, 0 - i32.store $drop=, gvol+60($pop22), $16 + i32.store $drop=, gvol+68($pop22), $18 i32.const $push21=, 0 - i32.store $drop=, gvol+64($pop21), $17 + i32.store $drop=, gvol+72($pop21), $19 i32.const $push20=, 0 - i32.store $drop=, gvol+68($pop20), $18 + i32.store $drop=, gvol+76($pop20), $20 i32.const $push19=, 0 - i32.store $drop=, gvol+72($pop19), $19 + i32.store $drop=, gvol+80($pop19), $21 i32.const $push18=, 0 - i32.store $drop=, gvol+76($pop18), $20 + i32.store $drop=, gvol+84($pop18), $22 i32.const $push17=, 0 - i32.store $drop=, gvol+80($pop17), $21 + i32.store $drop=, gvol+88($pop17), $23 i32.const $push16=, 0 - i32.store $drop=, gvol+84($pop16), $22 + i32.store $drop=, gvol+92($pop16), $24 i32.const $push15=, 0 - i32.store $drop=, gvol+88($pop15), $23 + i32.store $drop=, gvol+96($pop15), $25 i32.const $push14=, 0 - i32.store $drop=, gvol+92($pop14), $24 + i32.store $drop=, gvol+100($pop14), $26 i32.const $push13=, 0 - i32.store $drop=, gvol+96($pop13), $25 + i32.store $drop=, gvol+104($pop13), $27 i32.const $push12=, 0 - i32.store $drop=, gvol+100($pop12), $26 + i32.store $drop=, gvol+108($pop12), $28 i32.const $push11=, 0 - i32.store $drop=, gvol+104($pop11), $27 + i32.store $drop=, gvol+112($pop11), $29 i32.const $push10=, 0 - i32.store $drop=, gvol+108($pop10), $28 + i32.store $drop=, gvol+116($pop10), $30 i32.const $push9=, 0 - i32.store $drop=, gvol+112($pop9), $29 - i32.const $push8=, 0 - i32.store $drop=, gvol+116($pop8), $30 - i32.const $push7=, 0 - i32.store $drop=, gvol+120($pop7), $31 - i32.const $push6=, -1 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label25 + i32.store $drop=, gvol+120($pop9), $31 + i32.const $push8=, -1 + i32.add $push7=, $0, $pop8 + tee_local $push6=, $0=, $pop7 + br_if 0, $pop6 # 0: up to label25 # BB#3: # %while.end.loopexit end_loop # label26: i64.const $push4=, 513 i64.add $1=, $1, $pop4 .LBB8_4: # %while.end end_block # label24: - return $1 + copy_local $push70=, $1 + # fallthrough-return: $pop70 .endfunc .Lfunc_end8: .size t9, .Lfunc_end8-t9 @@ -1410,149 +1428,151 @@ t10: # @t10 .local i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push68=, $0 - br_if 0, $pop68 # 0: down to label27 + i32.eqz $push70=, $0 + br_if 0, $pop70 # 0: down to label27 # BB#1: # %while.body.lr.ph i32.const $push6=, 0 - i64.load $push0=, gull($pop6) + i64.load $push4=, gull($pop6) i32.const $push5=, -1 - i32.add $push1=, $0, $pop5 - i64.extend_u/i32 $push2=, $pop1 - i64.const $push3=, 1 - i64.add $push4=, $pop2, $pop3 - i64.mul $2=, $pop0, $pop4 + i32.add $push0=, $0, $pop5 + i64.extend_u/i32 $push1=, $pop0 + i64.const $push2=, 1 + i64.add $push3=, $pop1, $pop2 + i64.mul $2=, $pop4, $pop3 .LBB9_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label28: + i32.const $push69=, 0 + i32.load $3=, gvol+4($pop69) + i32.const $push68=, 0 + i32.load $4=, gvol+8($pop68) i32.const $push67=, 0 - i32.load $3=, gvol+4($pop67) + i32.load $5=, gvol+12($pop67) i32.const $push66=, 0 - i32.load $4=, gvol+8($pop66) + i32.load $6=, gvol+16($pop66) i32.const $push65=, 0 - i32.load $5=, gvol+12($pop65) + i32.load $7=, gvol+20($pop65) i32.const $push64=, 0 - i32.load $6=, gvol+16($pop64) + i32.load $8=, gvol+24($pop64) i32.const $push63=, 0 - i32.load $7=, gvol+20($pop63) + i32.load $9=, gvol+28($pop63) i32.const $push62=, 0 - i32.load $8=, gvol+24($pop62) + i32.load $10=, gvol+32($pop62) i32.const $push61=, 0 - i32.load $9=, gvol+28($pop61) + i32.load $11=, gvol+36($pop61) i32.const $push60=, 0 - i32.load $10=, gvol+32($pop60) + i32.load $12=, gvol+40($pop60) i32.const $push59=, 0 - i32.load $11=, gvol+36($pop59) + i32.load $13=, gvol+44($pop59) i32.const $push58=, 0 - i32.load $12=, gvol+40($pop58) + i32.load $14=, gvol+48($pop58) i32.const $push57=, 0 - i32.load $13=, gvol+44($pop57) + i32.load $15=, gvol+52($pop57) i32.const $push56=, 0 - i32.load $14=, gvol+48($pop56) + i32.load $16=, gvol+56($pop56) i32.const $push55=, 0 - i32.load $15=, gvol+52($pop55) + i32.load $17=, gvol+60($pop55) i32.const $push54=, 0 - i32.load $16=, gvol+56($pop54) + i32.load $18=, gvol+64($pop54) i32.const $push53=, 0 - i32.load $17=, gvol+60($pop53) + i32.load $19=, gvol+68($pop53) i32.const $push52=, 0 - i32.load $18=, gvol+64($pop52) + i32.load $20=, gvol+72($pop52) i32.const $push51=, 0 - i32.load $19=, gvol+68($pop51) + i32.load $21=, gvol+76($pop51) i32.const $push50=, 0 - i32.load $20=, gvol+72($pop50) + i32.load $22=, gvol+80($pop50) i32.const $push49=, 0 - i32.load $21=, gvol+76($pop49) + i32.load $23=, gvol+84($pop49) i32.const $push48=, 0 - i32.load $22=, gvol+80($pop48) + i32.load $24=, gvol+88($pop48) i32.const $push47=, 0 - i32.load $23=, gvol+84($pop47) + i32.load $25=, gvol+92($pop47) i32.const $push46=, 0 - i32.load $24=, gvol+88($pop46) + i32.load $26=, gvol+96($pop46) i32.const $push45=, 0 - i32.load $25=, gvol+92($pop45) + i32.load $27=, gvol+100($pop45) i32.const $push44=, 0 - i32.load $26=, gvol+96($pop44) + i32.load $28=, gvol+104($pop44) i32.const $push43=, 0 - i32.load $27=, gvol+100($pop43) + i32.load $29=, gvol+108($pop43) i32.const $push42=, 0 - i32.load $28=, gvol+104($pop42) + i32.load $30=, gvol+112($pop42) i32.const $push41=, 0 - i32.load $29=, gvol+108($pop41) + i32.load $31=, gvol+116($pop41) i32.const $push40=, 0 - i32.load $30=, gvol+112($pop40) + i32.load $32=, gvol+120($pop40) i32.const $push39=, 0 - i32.load $31=, gvol+116($pop39) + i32.store $drop=, gvol+4($pop39), $3 i32.const $push38=, 0 - i32.load $32=, gvol+120($pop38) + i32.store $drop=, gvol+8($pop38), $4 i32.const $push37=, 0 - i32.store $drop=, gvol+4($pop37), $3 + i32.store $drop=, gvol+12($pop37), $5 i32.const $push36=, 0 - i32.store $drop=, gvol+8($pop36), $4 + i32.store $drop=, gvol+16($pop36), $6 i32.const $push35=, 0 - i32.store $drop=, gvol+12($pop35), $5 + i32.store $drop=, gvol+20($pop35), $7 i32.const $push34=, 0 - i32.store $drop=, gvol+16($pop34), $6 + i32.store $drop=, gvol+24($pop34), $8 i32.const $push33=, 0 - i32.store $drop=, gvol+20($pop33), $7 + i32.store $drop=, gvol+28($pop33), $9 i32.const $push32=, 0 - i32.store $drop=, gvol+24($pop32), $8 + i32.store $drop=, gvol+32($pop32), $10 i32.const $push31=, 0 - i32.store $drop=, gvol+28($pop31), $9 + i32.store $drop=, gvol+36($pop31), $11 i32.const $push30=, 0 - i32.store $drop=, gvol+32($pop30), $10 + i32.store $drop=, gvol+40($pop30), $12 i32.const $push29=, 0 - i32.store $drop=, gvol+36($pop29), $11 + i32.store $drop=, gvol+44($pop29), $13 i32.const $push28=, 0 - i32.store $drop=, gvol+40($pop28), $12 + i32.store $drop=, gvol+48($pop28), $14 i32.const $push27=, 0 - i32.store $drop=, gvol+44($pop27), $13 + i32.store $drop=, gvol+52($pop27), $15 i32.const $push26=, 0 - i32.store $drop=, gvol+48($pop26), $14 + i32.store $drop=, gvol+56($pop26), $16 i32.const $push25=, 0 - i32.store $drop=, gvol+52($pop25), $15 + i32.store $drop=, gvol+60($pop25), $17 i32.const $push24=, 0 - i32.store $drop=, gvol+56($pop24), $16 + i32.store $drop=, gvol+64($pop24), $18 i32.const $push23=, 0 - i32.store $drop=, gvol+60($pop23), $17 + i32.store $drop=, gvol+68($pop23), $19 i32.const $push22=, 0 - i32.store $drop=, gvol+64($pop22), $18 + i32.store $drop=, gvol+72($pop22), $20 i32.const $push21=, 0 - i32.store $drop=, gvol+68($pop21), $19 + i32.store $drop=, gvol+76($pop21), $21 i32.const $push20=, 0 - i32.store $drop=, gvol+72($pop20), $20 + i32.store $drop=, gvol+80($pop20), $22 i32.const $push19=, 0 - i32.store $drop=, gvol+76($pop19), $21 + i32.store $drop=, gvol+84($pop19), $23 i32.const $push18=, 0 - i32.store $drop=, gvol+80($pop18), $22 + i32.store $drop=, gvol+88($pop18), $24 i32.const $push17=, 0 - i32.store $drop=, gvol+84($pop17), $23 + i32.store $drop=, gvol+92($pop17), $25 i32.const $push16=, 0 - i32.store $drop=, gvol+88($pop16), $24 + i32.store $drop=, gvol+96($pop16), $26 i32.const $push15=, 0 - i32.store $drop=, gvol+92($pop15), $25 + i32.store $drop=, gvol+100($pop15), $27 i32.const $push14=, 0 - i32.store $drop=, gvol+96($pop14), $26 + i32.store $drop=, gvol+104($pop14), $28 i32.const $push13=, 0 - i32.store $drop=, gvol+100($pop13), $27 + i32.store $drop=, gvol+108($pop13), $29 i32.const $push12=, 0 - i32.store $drop=, gvol+104($pop12), $28 + i32.store $drop=, gvol+112($pop12), $30 i32.const $push11=, 0 - i32.store $drop=, gvol+108($pop11), $29 + i32.store $drop=, gvol+116($pop11), $31 i32.const $push10=, 0 - i32.store $drop=, gvol+112($pop10), $30 - i32.const $push9=, 0 - i32.store $drop=, gvol+116($pop9), $31 - i32.const $push8=, 0 - i32.store $drop=, gvol+120($pop8), $32 - i32.const $push7=, -1 - i32.add $0=, $0, $pop7 - br_if 0, $0 # 0: up to label28 + i32.store $drop=, gvol+120($pop10), $32 + i32.const $push9=, -1 + i32.add $push8=, $0, $pop9 + tee_local $push7=, $0=, $pop8 + br_if 0, $pop7 # 0: up to label28 # BB#3: # %while.end.loopexit end_loop # label29: i64.add $1=, $2, $1 .LBB9_4: # %while.end end_block # label27: - return $1 + copy_local $push71=, $1 + # fallthrough-return: $pop71 .endfunc .Lfunc_end9: .size t10, .Lfunc_end9-t10 @@ -1567,149 +1587,151 @@ t11: # @t11 .local i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.eqz $push68=, $0 - br_if 0, $pop68 # 0: down to label30 + i32.eqz $push70=, $0 + br_if 0, $pop70 # 0: down to label30 # BB#1: # %while.body.lr.ph i32.const $push6=, 0 - i64.load $push0=, gull($pop6) + i64.load $push4=, gull($pop6) i32.const $push5=, -1 - i32.add $push1=, $0, $pop5 - i64.extend_u/i32 $push2=, $pop1 - i64.const $push3=, -1 - i64.xor $push4=, $pop2, $pop3 - i64.mul $2=, $pop0, $pop4 + i32.add $push0=, $0, $pop5 + i64.extend_u/i32 $push1=, $pop0 + i64.const $push2=, -1 + i64.xor $push3=, $pop1, $pop2 + i64.mul $2=, $pop4, $pop3 .LBB10_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label31: + i32.const $push69=, 0 + i32.load $3=, gvol+4($pop69) + i32.const $push68=, 0 + i32.load $4=, gvol+8($pop68) i32.const $push67=, 0 - i32.load $3=, gvol+4($pop67) + i32.load $5=, gvol+12($pop67) i32.const $push66=, 0 - i32.load $4=, gvol+8($pop66) + i32.load $6=, gvol+16($pop66) i32.const $push65=, 0 - i32.load $5=, gvol+12($pop65) + i32.load $7=, gvol+20($pop65) i32.const $push64=, 0 - i32.load $6=, gvol+16($pop64) + i32.load $8=, gvol+24($pop64) i32.const $push63=, 0 - i32.load $7=, gvol+20($pop63) + i32.load $9=, gvol+28($pop63) i32.const $push62=, 0 - i32.load $8=, gvol+24($pop62) + i32.load $10=, gvol+32($pop62) i32.const $push61=, 0 - i32.load $9=, gvol+28($pop61) + i32.load $11=, gvol+36($pop61) i32.const $push60=, 0 - i32.load $10=, gvol+32($pop60) + i32.load $12=, gvol+40($pop60) i32.const $push59=, 0 - i32.load $11=, gvol+36($pop59) + i32.load $13=, gvol+44($pop59) i32.const $push58=, 0 - i32.load $12=, gvol+40($pop58) + i32.load $14=, gvol+48($pop58) i32.const $push57=, 0 - i32.load $13=, gvol+44($pop57) + i32.load $15=, gvol+52($pop57) i32.const $push56=, 0 - i32.load $14=, gvol+48($pop56) + i32.load $16=, gvol+56($pop56) i32.const $push55=, 0 - i32.load $15=, gvol+52($pop55) + i32.load $17=, gvol+60($pop55) i32.const $push54=, 0 - i32.load $16=, gvol+56($pop54) + i32.load $18=, gvol+64($pop54) i32.const $push53=, 0 - i32.load $17=, gvol+60($pop53) + i32.load $19=, gvol+68($pop53) i32.const $push52=, 0 - i32.load $18=, gvol+64($pop52) + i32.load $20=, gvol+72($pop52) i32.const $push51=, 0 - i32.load $19=, gvol+68($pop51) + i32.load $21=, gvol+76($pop51) i32.const $push50=, 0 - i32.load $20=, gvol+72($pop50) + i32.load $22=, gvol+80($pop50) i32.const $push49=, 0 - i32.load $21=, gvol+76($pop49) + i32.load $23=, gvol+84($pop49) i32.const $push48=, 0 - i32.load $22=, gvol+80($pop48) + i32.load $24=, gvol+88($pop48) i32.const $push47=, 0 - i32.load $23=, gvol+84($pop47) + i32.load $25=, gvol+92($pop47) i32.const $push46=, 0 - i32.load $24=, gvol+88($pop46) + i32.load $26=, gvol+96($pop46) i32.const $push45=, 0 - i32.load $25=, gvol+92($pop45) + i32.load $27=, gvol+100($pop45) i32.const $push44=, 0 - i32.load $26=, gvol+96($pop44) + i32.load $28=, gvol+104($pop44) i32.const $push43=, 0 - i32.load $27=, gvol+100($pop43) + i32.load $29=, gvol+108($pop43) i32.const $push42=, 0 - i32.load $28=, gvol+104($pop42) + i32.load $30=, gvol+112($pop42) i32.const $push41=, 0 - i32.load $29=, gvol+108($pop41) + i32.load $31=, gvol+116($pop41) i32.const $push40=, 0 - i32.load $30=, gvol+112($pop40) + i32.load $32=, gvol+120($pop40) i32.const $push39=, 0 - i32.load $31=, gvol+116($pop39) + i32.store $drop=, gvol+4($pop39), $3 i32.const $push38=, 0 - i32.load $32=, gvol+120($pop38) + i32.store $drop=, gvol+8($pop38), $4 i32.const $push37=, 0 - i32.store $drop=, gvol+4($pop37), $3 + i32.store $drop=, gvol+12($pop37), $5 i32.const $push36=, 0 - i32.store $drop=, gvol+8($pop36), $4 + i32.store $drop=, gvol+16($pop36), $6 i32.const $push35=, 0 - i32.store $drop=, gvol+12($pop35), $5 + i32.store $drop=, gvol+20($pop35), $7 i32.const $push34=, 0 - i32.store $drop=, gvol+16($pop34), $6 + i32.store $drop=, gvol+24($pop34), $8 i32.const $push33=, 0 - i32.store $drop=, gvol+20($pop33), $7 + i32.store $drop=, gvol+28($pop33), $9 i32.const $push32=, 0 - i32.store $drop=, gvol+24($pop32), $8 + i32.store $drop=, gvol+32($pop32), $10 i32.const $push31=, 0 - i32.store $drop=, gvol+28($pop31), $9 + i32.store $drop=, gvol+36($pop31), $11 i32.const $push30=, 0 - i32.store $drop=, gvol+32($pop30), $10 + i32.store $drop=, gvol+40($pop30), $12 i32.const $push29=, 0 - i32.store $drop=, gvol+36($pop29), $11 + i32.store $drop=, gvol+44($pop29), $13 i32.const $push28=, 0 - i32.store $drop=, gvol+40($pop28), $12 + i32.store $drop=, gvol+48($pop28), $14 i32.const $push27=, 0 - i32.store $drop=, gvol+44($pop27), $13 + i32.store $drop=, gvol+52($pop27), $15 i32.const $push26=, 0 - i32.store $drop=, gvol+48($pop26), $14 + i32.store $drop=, gvol+56($pop26), $16 i32.const $push25=, 0 - i32.store $drop=, gvol+52($pop25), $15 + i32.store $drop=, gvol+60($pop25), $17 i32.const $push24=, 0 - i32.store $drop=, gvol+56($pop24), $16 + i32.store $drop=, gvol+64($pop24), $18 i32.const $push23=, 0 - i32.store $drop=, gvol+60($pop23), $17 + i32.store $drop=, gvol+68($pop23), $19 i32.const $push22=, 0 - i32.store $drop=, gvol+64($pop22), $18 + i32.store $drop=, gvol+72($pop22), $20 i32.const $push21=, 0 - i32.store $drop=, gvol+68($pop21), $19 + i32.store $drop=, gvol+76($pop21), $21 i32.const $push20=, 0 - i32.store $drop=, gvol+72($pop20), $20 + i32.store $drop=, gvol+80($pop20), $22 i32.const $push19=, 0 - i32.store $drop=, gvol+76($pop19), $21 + i32.store $drop=, gvol+84($pop19), $23 i32.const $push18=, 0 - i32.store $drop=, gvol+80($pop18), $22 + i32.store $drop=, gvol+88($pop18), $24 i32.const $push17=, 0 - i32.store $drop=, gvol+84($pop17), $23 + i32.store $drop=, gvol+92($pop17), $25 i32.const $push16=, 0 - i32.store $drop=, gvol+88($pop16), $24 + i32.store $drop=, gvol+96($pop16), $26 i32.const $push15=, 0 - i32.store $drop=, gvol+92($pop15), $25 + i32.store $drop=, gvol+100($pop15), $27 i32.const $push14=, 0 - i32.store $drop=, gvol+96($pop14), $26 + i32.store $drop=, gvol+104($pop14), $28 i32.const $push13=, 0 - i32.store $drop=, gvol+100($pop13), $27 + i32.store $drop=, gvol+108($pop13), $29 i32.const $push12=, 0 - i32.store $drop=, gvol+104($pop12), $28 + i32.store $drop=, gvol+112($pop12), $30 i32.const $push11=, 0 - i32.store $drop=, gvol+108($pop11), $29 + i32.store $drop=, gvol+116($pop11), $31 i32.const $push10=, 0 - i32.store $drop=, gvol+112($pop10), $30 - i32.const $push9=, 0 - i32.store $drop=, gvol+116($pop9), $31 - i32.const $push8=, 0 - i32.store $drop=, gvol+120($pop8), $32 - i32.const $push7=, -1 - i32.add $0=, $0, $pop7 - br_if 0, $0 # 0: up to label31 + i32.store $drop=, gvol+120($pop10), $32 + i32.const $push9=, -1 + i32.add $push8=, $0, $pop9 + tee_local $push7=, $0=, $pop8 + br_if 0, $pop7 # 0: up to label31 # BB#3: # %while.end.loopexit end_loop # label32: i64.add $1=, $2, $1 .LBB10_4: # %while.end end_block # label30: - return $1 + copy_local $push71=, $1 + # fallthrough-return: $pop71 .endfunc .Lfunc_end10: .size t11, .Lfunc_end10-t11 @@ -1724,7 +1746,7 @@ neg: # @neg # BB#0: # %entry i64.const $push0=, 0 i64.sub $push1=, $pop0, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end11: .size neg, .Lfunc_end11-neg @@ -1737,9 +1759,9 @@ main: # @main .result i32 .local i64 # BB#0: # %entry - i32.const $push0=, 0 - i64.const $push1=, 100 - i64.store $drop=, gull($pop0), $pop1 + i32.const $push1=, 0 + i64.const $push0=, 100 + i64.store $drop=, gull($pop1), $pop0 block i32.const $push100=, 3 i64.const $push2=, -1 diff --git a/test/torture-s/20041019-1.c.s b/test/torture-s/20041019-1.c.s index 088d47b2c..04d8795a3 100644 --- a/test/torture-s/20041019-1.c.s +++ b/test/torture-s/20041019-1.c.s @@ -9,8 +9,8 @@ test_store_ccp: # @test_store_ccp .result i32 .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 16 i32.sub $push22=, $pop11, $pop12 tee_local $push21=, $1=, $pop22 @@ -34,7 +34,7 @@ test_store_ccp: # @test_store_ccp i32.load $push7=, 0($0) i32.const $push8=, 2 i32.add $push9=, $pop7, $pop8 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size test_store_ccp, .Lfunc_end0-test_store_ccp @@ -46,12 +46,13 @@ test_store_ccp: # @test_store_ccp test_store_copy_prop: # @test_store_copy_prop .param i32 .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 16 - i32.sub $1=, $pop10, $pop11 + i32.sub $push21=, $pop10, $pop11 + tee_local $push20=, $1=, $pop21 i32.const $push16=, 12 i32.add $push17=, $1, $pop16 i32.const $push12=, 8 @@ -64,13 +65,13 @@ test_store_copy_prop: # @test_store_copy_prop i32.const $push1=, 5 i32.lt_s $push2=, $0, $pop1 i32.select $push19=, $pop17, $pop5, $pop2 - tee_local $push18=, $2=, $pop19 + tee_local $push18=, $1=, $pop19 i32.store $push0=, 0($pop18), $0 i32.const $push6=, 1 i32.add $push7=, $pop0, $pop6 - i32.store $drop=, 8($1), $pop7 - i32.load $push8=, 0($2) - return $pop8 + i32.store $drop=, 8($pop20), $pop7 + i32.load $push8=, 0($1) + # fallthrough-return: $pop8 .endfunc .Lfunc_end1: .size test_store_copy_prop, .Lfunc_end1-test_store_copy_prop @@ -83,7 +84,7 @@ main: # @main .result i32 # BB#0: # %if.end4 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20041112-1.c.s b/test/torture-s/20041112-1.c.s index 1f799f5b2..1dd7cb094 100644 --- a/test/torture-s/20041112-1.c.s +++ b/test/torture-s/20041112-1.c.s @@ -8,7 +8,7 @@ bar: # @bar .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push3=, 0 i32.const $push18=, 0 i32.load $push17=, global($pop18) tee_local $push16=, $0=, $pop17 @@ -18,17 +18,17 @@ bar: # @bar i32.select $push8=, $pop6, $pop7, $0 i32.const $push15=, 1 i32.const $push14=, 0 - i32.ne $push2=, $0, $pop14 + i32.ne $push4=, $0, $pop14 i32.const $push1=, global - i32.const $push3=, -1 - i32.eq $push4=, $pop1, $pop3 - i32.or $push13=, $pop2, $pop4 + i32.const $push0=, -1 + i32.eq $push2=, $pop1, $pop0 + i32.or $push13=, $pop4, $pop2 tee_local $push12=, $0=, $pop13 i32.select $push9=, $pop8, $pop15, $pop12 - i32.store $drop=, global($pop0), $pop9 + i32.store $drop=, global($pop3), $pop9 i32.const $push11=, 1 i32.xor $push10=, $0, $pop11 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -44,7 +44,7 @@ main: # @main i32.const $push0=, 2 i32.store $drop=, global($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20041113-1.c.s b/test/torture-s/20041113-1.c.s index 961986701..2042359eb 100644 --- a/test/torture-s/20041113-1.c.s +++ b/test/torture-s/20041113-1.c.s @@ -8,17 +8,18 @@ test: # @test .param i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push23=, __stack_pointer - i32.const $push20=, __stack_pointer - i32.load $push21=, 0($pop20) + i32.const $push23=, 0 + i32.const $push20=, 0 + i32.load $push21=, __stack_pointer($pop20) i32.const $push22=, 16 i32.sub $push27=, $pop21, $pop22 - i32.store $4=, 0($pop23), $pop27 + i32.store $push31=, __stack_pointer($pop23), $pop27 + tee_local $push30=, $4=, $pop31 i32.store $push29=, 12($4), $1 tee_local $push28=, $1=, $pop29 i32.const $push0=, 4 i32.add $push1=, $pop28, $pop0 - i32.store $2=, 12($4), $pop1 + i32.store $2=, 12($pop30), $pop1 block i32.load $push2=, 0($1) i32.const $push3=, 1 @@ -49,10 +50,10 @@ test: # @test i32.ne $push19=, $pop17, $pop18 br_if 0, $pop19 # 0: down to label0 # BB#4: # %if.end16 - i32.const $push26=, __stack_pointer + i32.const $push26=, 0 i32.const $push24=, 16 i32.add $push25=, $4, $pop24 - i32.store $drop=, 0($pop26), $pop25 + i32.store $drop=, __stack_pointer($pop26), $pop25 return .LBB0_5: # %if.then15 end_block # label0: @@ -69,29 +70,30 @@ test: # @test main: # @main .param i32, i32 .result i32 - .local i32, f64 + .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) - i32.const $push9=, 16 - i32.sub $push11=, $pop8, $pop9 - i32.store $2=, 0($pop10), $pop11 - i32.const $push0=, 0 - f64.load $3=, a($pop0) - i32.const $push4=, 3 - i32.store $drop=, 8($2), $pop4 - i32.const $push5=, 2 - i32.store $drop=, 4($2), $pop5 - i32.const $push6=, 1 - i32.store $drop=, 0($2), $pop6 - f64.const $push1=, 0x1.4p3 - f64.div $push2=, $3, $pop1 - i32.trunc_s/f64 $push3=, $pop2 - i32.store $drop=, 12($2), $pop3 + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) + i32.const $push10=, 16 + i32.sub $push12=, $pop9, $pop10 + i32.store $push15=, __stack_pointer($pop11), $pop12 + tee_local $push14=, $2=, $pop15 + i32.const $push0=, 3 + i32.store $drop=, 8($pop14), $pop0 + i32.const $push1=, 2 + i32.store $drop=, 4($2), $pop1 + i32.const $push2=, 1 + i32.store $drop=, 0($2), $pop2 + i32.const $push3=, 0 + f64.load $push4=, a($pop3) + f64.const $push5=, 0x1.4p3 + f64.div $push6=, $pop4, $pop5 + i32.trunc_s/f64 $push7=, $pop6 + i32.store $drop=, 12($2), $pop7 call test@FUNCTION, $2, $2 - i32.const $push12=, 0 - call exit@FUNCTION, $pop12 + i32.const $push13=, 0 + call exit@FUNCTION, $pop13 unreachable .endfunc .Lfunc_end1: diff --git a/test/torture-s/20041114-1.c.s b/test/torture-s/20041114-1.c.s index 0ce5270e1..96fe01617 100644 --- a/test/torture-s/20041114-1.c.s +++ b/test/torture-s/20041114-1.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +23,7 @@ main: # @main i32.const $push0=, 0 i32.load $drop=, v($pop0) i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20041124-1.c.s b/test/torture-s/20041124-1.c.s index b07f42b66..596e4401c 100644 --- a/test/torture-s/20041124-1.c.s +++ b/test/torture-s/20041124-1.c.s @@ -10,7 +10,7 @@ foo: # @foo i32.const $push0=, 0 i32.load $push1=, gs($pop0) i32.store $drop=, 0($0):p2align=1, $pop1 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,31 +23,31 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 16 i32.sub $push16=, $pop11, $pop12 - i32.store $push21=, 0($pop13), $pop16 - tee_local $push20=, $1=, $pop21 + i32.store $push21=, __stack_pointer($pop13), $pop16 + tee_local $push20=, $0=, $pop21 i32.const $push14=, 8 i32.add $push15=, $pop20, $pop14 call foo@FUNCTION, $pop15 block - i32.load16_u $push2=, 8($1) - i32.const $push3=, 0 - i32.load $push19=, gs($pop3) - tee_local $push18=, $0=, $pop19 + i32.load16_u $push5=, 8($0) + i32.const $push2=, 0 + i32.load $push19=, gs($pop2) + tee_local $push18=, $1=, $pop19 i32.const $push17=, 65535 i32.and $push4=, $pop18, $pop17 - i32.ne $push6=, $pop2, $pop4 + i32.ne $push6=, $pop5, $pop4 br_if 0, $pop6 # 0: down to label0 # BB#1: # %entry - i32.load16_u $push0=, 10($1) + i32.load16_u $push0=, 10($0) i32.const $push22=, 65535 i32.and $push7=, $pop0, $pop22 - i32.const $push5=, 16 - i32.shr_u $push1=, $0, $pop5 + i32.const $push3=, 16 + i32.shr_u $push1=, $1, $pop3 i32.ne $push8=, $pop7, $pop1 br_if 0, $pop8 # 0: down to label0 # BB#2: # %if.end diff --git a/test/torture-s/20041126-1.c.s b/test/torture-s/20041126-1.c.s index 256283d29..0e7b7b69b 100644 --- a/test/torture-s/20041126-1.c.s +++ b/test/torture-s/20041126-1.c.s @@ -6,7 +6,7 @@ .type check,@function check: # @check .param i32 - .local i32, i32, i32 + .local i32 # BB#0: # %entry block i32.load $push0=, 0($0) @@ -24,26 +24,25 @@ check: # @check i32.load $push4=, 16($0) br_if 0, $pop4 # 0: down to label0 # BB#5: # %for.cond1.preheader - i32.const $2=, 5 + i32.const $1=, 5 .LBB0_6: # %for.cond1 # =>This Inner Loop Header: Depth=1 block loop # label2: - i32.const $push9=, 9 - i32.gt_s $push5=, $2, $pop9 + i32.const $push10=, 9 + i32.gt_s $push5=, $1, $pop10 br_if 2, $pop5 # 2: down to label1 # BB#7: # %for.body3 # in Loop: Header=BB0_6 Depth=1 - i32.const $push13=, 1 - i32.add $1=, $2, $pop13 - i32.const $push12=, 2 - i32.shl $push6=, $2, $pop12 - i32.add $push7=, $0, $pop6 - i32.load $push11=, 0($pop7) - tee_local $push10=, $3=, $pop11 - copy_local $2=, $pop10 - i32.eq $push8=, $3, $1 - br_if 0, $pop8 # 0: up to label2 + i32.const $push14=, 1 + i32.add $push6=, $1, $pop14 + i32.const $push13=, 2 + i32.shl $push7=, $1, $pop13 + i32.add $push8=, $0, $pop7 + i32.load $push12=, 0($pop8) + tee_local $push11=, $1=, $pop12 + i32.eq $push9=, $pop6, $pop11 + br_if 0, $pop9 # 0: up to label2 # BB#8: # %if.then6 end_loop # label3: call abort@FUNCTION @@ -65,57 +64,56 @@ check: # @check .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32 + .local i32, i32 # BB#0: # %for.cond1.i.preheader - i32.const $push16=, __stack_pointer - i32.const $push13=, __stack_pointer - i32.load $push14=, 0($pop13) - i32.const $push15=, 48 - i32.sub $push20=, $pop14, $pop15 - i32.store $push1=, 0($pop16), $pop20 - i32.const $push2=, .Lmain.a - i32.const $push3=, 40 - i32.call $push22=, memcpy@FUNCTION, $pop1, $pop2, $pop3 - tee_local $push21=, $2=, $pop22 + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) + i32.const $push16=, 48 + i32.sub $push21=, $pop15, $pop16 + i32.store $push1=, __stack_pointer($pop17), $pop21 + i32.const $push3=, .Lmain.a + i32.const $push2=, 40 + i32.call $push23=, memcpy@FUNCTION, $pop1, $pop3, $pop2 + tee_local $push22=, $0=, $pop23 i32.const $push4=, 16 - i32.add $push5=, $pop21, $pop4 + i32.add $push5=, $pop22, $pop4 i32.const $push6=, 0 i32.store $drop=, 0($pop5), $pop6 i64.const $push7=, 0 - i64.store $push0=, 8($2), $pop7 - i64.store $drop=, 0($2), $pop0 + i64.store $push0=, 8($0), $pop7 + i64.store $drop=, 0($0), $pop0 i32.const $1=, 5 .LBB1_1: # %for.cond1.i # =>This Inner Loop Header: Depth=1 block loop # label5: - i32.const $push23=, 9 - i32.gt_s $push8=, $1, $pop23 + i32.const $push24=, 9 + i32.gt_s $push8=, $1, $pop24 br_if 2, $pop8 # 2: down to label4 # BB#2: # %for.body3.i # in Loop: Header=BB1_1 Depth=1 - i32.const $push27=, 1 - i32.add $0=, $1, $pop27 - i32.const $push26=, 2 - i32.shl $push10=, $1, $pop26 - i32.add $push11=, $2, $pop10 - i32.load $push25=, 0($pop11) - tee_local $push24=, $3=, $pop25 - copy_local $1=, $pop24 - i32.eq $push12=, $3, $0 - br_if 0, $pop12 # 0: up to label5 + i32.const $push28=, 1 + i32.add $push10=, $1, $pop28 + i32.const $push27=, 2 + i32.shl $push11=, $1, $pop27 + i32.add $push12=, $0, $pop11 + i32.load $push26=, 0($pop12) + tee_local $push25=, $1=, $pop26 + i32.eq $push13=, $pop10, $pop25 + br_if 0, $pop13 # 0: up to label5 # BB#3: # %if.then6.i end_loop # label6: call abort@FUNCTION unreachable .LBB1_4: # %check.exit end_block # label4: - i32.const $push19=, __stack_pointer - i32.const $push17=, 48 - i32.add $push18=, $2, $pop17 - i32.store $drop=, 0($pop19), $pop18 + i32.const $push20=, 0 + i32.const $push18=, 48 + i32.add $push19=, $0, $pop18 + i32.store $drop=, __stack_pointer($pop20), $pop19 i32.const $push9=, 0 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20041201-1.c.s b/test/torture-s/20041201-1.c.s index 273ab5b3e..2b4895e6d 100644 --- a/test/torture-s/20041201-1.c.s +++ b/test/torture-s/20041201-1.c.s @@ -25,16 +25,17 @@ checkScc2: # @checkScc2 # BB#2: # %lor.rhs i32.load8_u $push7=, 2($0) i32.const $push8=, 3 - i32.ne $push11=, $pop7, $pop8 + i32.ne $push9=, $pop7, $pop8 i32.const $push15=, 3 - i32.add $push9=, $0, $pop15 - i32.load8_u $push10=, 0($pop9) + i32.add $push10=, $0, $pop15 + i32.load8_u $push11=, 0($pop10) i32.const $push12=, 4 - i32.ne $push13=, $pop10, $pop12 - i32.or $1=, $pop11, $pop13 + i32.ne $push13=, $pop11, $pop12 + i32.or $1=, $pop9, $pop13 .LBB0_3: # %lor.end end_block # label0: - return $1 + copy_local $push16=, $1 + # fallthrough-return: $pop16 .endfunc .Lfunc_end0: .size checkScc2, .Lfunc_end0-checkScc2 @@ -64,17 +65,18 @@ main: # @main br_if 0, $pop6 # 0: down to label1 # BB#2: # %lor.rhs.i i32.const $push7=, 0 - i32.load8_u $push8=, s+2($pop7) - i32.const $push10=, 3 - i32.ne $push11=, $pop8, $pop10 + i32.load8_u $push11=, s+2($pop7) + i32.const $push12=, 3 + i32.ne $push13=, $pop11, $pop12 i32.const $push17=, 0 - i32.load8_u $push9=, s+3($pop17) - i32.const $push12=, 4 - i32.ne $push13=, $pop9, $pop12 - i32.or $0=, $pop11, $pop13 + i32.load8_u $push8=, s+3($pop17) + i32.const $push9=, 4 + i32.ne $push10=, $pop8, $pop9 + i32.or $0=, $pop13, $pop10 .LBB1_3: # %checkScc2.exit end_block # label1: - return $0 + copy_local $push18=, $0 + # fallthrough-return: $pop18 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20041210-1.c.s b/test/torture-s/20041210-1.c.s index 46d5b8da0..dc501f74b 100644 --- a/test/torture-s/20041210-1.c.s +++ b/test/torture-s/20041210-1.c.s @@ -12,11 +12,11 @@ main: # @main i32.const $push12=, 0 i64.load $push11=, x($pop12) tee_local $push10=, $0=, $pop11 - i32.wrap/i64 $push0=, $pop10 + i32.wrap/i64 $push2=, $pop10 i64.const $push9=, 32 - i64.shr_u $push1=, $0, $pop9 - i32.wrap/i64 $push2=, $pop1 - i32.ge_s $push3=, $pop0, $pop2 + i64.shr_u $push0=, $0, $pop9 + i32.wrap/i64 $push1=, $pop0 + i32.ge_s $push3=, $pop2, $pop1 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.then i32.const $push16=, 0 diff --git a/test/torture-s/20041212-1.c.s b/test/torture-s/20041212-1.c.s index acd3577ab..01a48c645 100644 --- a/test/torture-s/20041212-1.c.s +++ b/test/torture-s/20041212-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, f@FUNCTION - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/20041213-2.c.s b/test/torture-s/20041213-2.c.s index 385fd1e6c..a0b794231 100644 --- a/test/torture-s/20041213-2.c.s +++ b/test/torture-s/20041213-2.c.s @@ -10,8 +10,8 @@ foo: # @foo # BB#0: # %entry block block - i32.eqz $push5=, $0 - br_if 0, $pop5 # 0: down to label1 + i32.eqz $push9=, $0 + br_if 0, $pop9 # 0: down to label1 # BB#1: # %for.cond1.preheader.preheader i32.const $2=, 0 i32.const $3=, 1 @@ -20,28 +20,30 @@ foo: # @foo loop # label2: block block - i32.ge_s $push0=, $2, $3 + copy_local $push4=, $3 + tee_local $push3=, $1=, $pop4 + i32.ge_s $push0=, $2, $pop3 br_if 0, $pop0 # 0: down to label5 # BB#3: # %for.end.thread # in Loop: Header=BB0_2 Depth=1 - i32.const $push3=, 1 - i32.shl $push2=, $3, $pop3 - i32.sub $1=, $pop2, $2 + i32.const $push5=, 1 + i32.shl $push2=, $1, $pop5 + i32.sub $3=, $pop2, $2 br 1 # 1: down to label4 .LBB0_4: # %for.end # in Loop: Header=BB0_2 Depth=1 end_block # label5: - copy_local $1=, $3 - i32.ne $push1=, $2, $3 + copy_local $3=, $1 + i32.ne $push1=, $2, $1 br_if 4, $pop1 # 4: down to label0 .LBB0_5: # %for.cond # in Loop: Header=BB0_2 Depth=1 end_block # label4: - i32.const $push4=, -1 - i32.add $0=, $0, $pop4 - copy_local $2=, $3 - copy_local $3=, $1 - br_if 0, $0 # 0: up to label2 + copy_local $2=, $1 + i32.const $push8=, -1 + i32.add $push7=, $0, $pop8 + tee_local $push6=, $0=, $pop7 + br_if 0, $pop6 # 0: up to label2 .LBB0_6: # %for.end7 end_loop # label3: end_block # label1: diff --git a/test/torture-s/20041214-1.c.s b/test/torture-s/20041214-1.c.s index 5316ec324..3c884048e 100644 --- a/test/torture-s/20041214-1.c.s +++ b/test/torture-s/20041214-1.c.s @@ -10,28 +10,29 @@ g: # @g .local i32 # BB#0: # %entry block - i32.load8_u $push0=, 0($1) - i32.eqz $push6=, $pop0 - br_if 0, $pop6 # 0: down to label0 + i32.load8_u $push1=, 0($1) + i32.eqz $push7=, $pop1 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %do_form_string.preheader - i32.const $push3=, 2 - i32.add $1=, $1, $pop3 + i32.const $push4=, 2 + i32.add $1=, $1, $pop4 .LBB0_2: # %do_form_string # =>This Inner Loop Header: Depth=1 loop # label1: - i32.load $push1=, 0($2) - i32.call $drop=, strcpy@FUNCTION, $0, $pop1 + i32.load $push2=, 0($2) + i32.call $drop=, strcpy@FUNCTION, $0, $pop2 + i32.const $push6=, 4 + i32.add $2=, $2, $pop6 i32.load8_u $3=, 0($1) - i32.const $push5=, 4 - i32.add $2=, $2, $pop5 - i32.const $push4=, 2 - i32.add $1=, $1, $pop4 + i32.const $push5=, 2 + i32.add $push0=, $1, $pop5 + copy_local $1=, $pop0 br_if 0, $3 # 0: up to label1 .LBB0_3: # %all_done end_loop # label2: end_block # label0: - i32.const $push2=, 0 - return $pop2 + i32.const $push3=, 0 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -44,40 +45,42 @@ f: # @f .param i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) - i32.const $push3=, 16 - i32.sub $push8=, $pop2, $pop3 - i32.store $3=, 0($pop4), $pop8 - i32.load8_u $4=, 0($1) - i32.store $drop=, 12($3), $2 + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) + i32.const $push5=, 16 + i32.sub $push10=, $pop4, $pop5 + i32.store $push12=, __stack_pointer($pop6), $pop10 + tee_local $push11=, $3=, $pop12 + i32.store $drop=, 12($pop11), $2 block - i32.eqz $push12=, $4 - br_if 0, $pop12 # 0: down to label3 + i32.load8_u $push1=, 0($1) + i32.eqz $push16=, $pop1 + br_if 0, $pop16 # 0: down to label3 # BB#1: # %do_form_string.i.preheader + i32.const $push13=, 2 + i32.add $1=, $1, $pop13 i32.load $2=, 12($3) - i32.const $push9=, 2 - i32.add $1=, $1, $pop9 .LBB1_2: # %do_form_string.i # =>This Inner Loop Header: Depth=1 loop # label4: - i32.load $push0=, 0($2) - i32.call $drop=, strcpy@FUNCTION, $0, $pop0 + i32.load $push2=, 0($2) + i32.call $drop=, strcpy@FUNCTION, $0, $pop2 + i32.const $push15=, 4 + i32.add $2=, $2, $pop15 i32.load8_u $4=, 0($1) - i32.const $push11=, 4 - i32.add $2=, $2, $pop11 - i32.const $push10=, 2 - i32.add $1=, $1, $pop10 + i32.const $push14=, 2 + i32.add $push0=, $1, $pop14 + copy_local $1=, $pop0 br_if 0, $4 # 0: up to label4 .LBB1_3: # %g.exit end_loop # label5: end_block # label3: - i32.const $push7=, __stack_pointer - i32.const $push5=, 16 - i32.add $push6=, $3, $pop5 - i32.store $drop=, 0($pop7), $pop6 - return + i32.const $push9=, 0 + i32.const $push7=, 16 + i32.add $push8=, $3, $pop7 + i32.store $drop=, __stack_pointer($pop9), $pop8 + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -90,12 +93,12 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 32 i32.sub $push15=, $pop5, $pop6 - i32.store $push17=, 0($pop7), $pop15 + i32.store $push17=, __stack_pointer($pop7), $pop15 tee_local $push16=, $2=, $pop17 i32.const $push0=, 0 i32.store $0=, 4($pop16), $pop0 @@ -111,10 +114,10 @@ main: # @main i32.call $push3=, strcmp@FUNCTION, $pop14, $1 br_if 0, $pop3 # 0: down to label6 # BB#1: # %if.end - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 32 i32.add $push9=, $2, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 return $0 .LBB2_2: # %if.then end_block # label6: diff --git a/test/torture-s/20041218-1.c.s b/test/torture-s/20041218-1.c.s index 564726cf8..fd493007f 100644 --- a/test/torture-s/20041218-1.c.s +++ b/test/torture-s/20041218-1.c.s @@ -9,7 +9,7 @@ dummy1: # @dummy1 .result i32 # BB#0: # %entry i32.const $push0=, .L.str - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size dummy1, .Lfunc_end0-dummy1 @@ -37,11 +37,11 @@ baz: # @baz .param i32 .result i32 # BB#0: # %entry - i32.const $push1=, baz.v - i32.const $push3=, 85 - i32.const $push2=, 44 - i32.call $push0=, memset@FUNCTION, $pop1, $pop3, $pop2 - return $pop0 + i32.const $push3=, baz.v + i32.const $push2=, 85 + i32.const $push1=, 44 + i32.call $push0=, memset@FUNCTION, $pop3, $pop2, $pop1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz @@ -123,7 +123,8 @@ foo: # @foo i32.store $drop=, 0($2), $3 .LBB4_4: # %cleanup2 end_block # label1: - return $4 + copy_local $push10=, $4 + # fallthrough-return: $pop10 .endfunc .Lfunc_end4: .size foo, .Lfunc_end4-foo @@ -136,12 +137,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push10=, $pop3, $pop4 - i32.store $push12=, 0($pop5), $pop10 + i32.store $push12=, __stack_pointer($pop5), $pop10 tee_local $push11=, $0=, $pop12 i32.const $push6=, 12 i32.add $push7=, $pop11, $pop6 diff --git a/test/torture-s/20050104-1.c.s b/test/torture-s/20050104-1.c.s index 08d82daff..d6be4bf8f 100644 --- a/test/torture-s/20050104-1.c.s +++ b/test/torture-s/20050104-1.c.s @@ -29,7 +29,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20050107-1.c.s b/test/torture-s/20050107-1.c.s index d14a52546..cc854866a 100644 --- a/test/torture-s/20050107-1.c.s +++ b/test/torture-s/20050107-1.c.s @@ -35,7 +35,7 @@ main: # @main .result i32 # BB#0: # %foo.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20050111-1.c.s b/test/torture-s/20050111-1.c.s index 53c58466f..f7ef098a8 100644 --- a/test/torture-s/20050111-1.c.s +++ b/test/torture-s/20050111-1.c.s @@ -9,12 +9,12 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push4=, 0 - i64.const $push1=, 32 - i64.shr_u $push2=, $0, $pop1 - i32.wrap/i64 $push3=, $pop2 - i64.eqz $push0=, $0 - i32.select $push5=, $pop4, $pop3, $pop0 - return $pop5 + i64.const $push0=, 32 + i64.shr_u $push1=, $0, $pop0 + i32.wrap/i64 $push2=, $pop1 + i64.eqz $push3=, $0 + i32.select $push5=, $pop4, $pop2, $pop3 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -30,7 +30,7 @@ bar: # @bar i64.extend_u/i32 $push0=, $0 i64.const $push1=, 32 i64.shl $push2=, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -43,7 +43,7 @@ main: # @main .result i32 # BB#0: # %if.end16 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20050119-1.c.s b/test/torture-s/20050119-1.c.s index ef763eb63..968d6c82c 100644 --- a/test/torture-s/20050119-1.c.s +++ b/test/torture-s/20050119-1.c.s @@ -8,9 +8,9 @@ foo: # @foo .param i32 # BB#0: # %entry block - i32.load8_u $push0=, 0($0) - i32.load8_u $push1=, 1($0) - i32.ne $push2=, $pop0, $pop1 + i32.load8_u $push1=, 0($0) + i32.load8_u $push0=, 1($0) + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.load8_u $push3=, 2($0) @@ -35,12 +35,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push10=, $pop5, $pop6 - i32.store $push12=, 0($pop7), $pop10 + i32.store $push12=, __stack_pointer($pop7), $pop10 tee_local $push11=, $1=, $pop12 i32.const $push0=, 50462977 i32.store $drop=, 8($pop11), $pop0 diff --git a/test/torture-s/20050119-2.c.s b/test/torture-s/20050119-2.c.s index 3df1fe542..a91288777 100644 --- a/test/torture-s/20050119-2.c.s +++ b/test/torture-s/20050119-2.c.s @@ -9,9 +9,9 @@ foo: # @foo .result i32 # BB#0: # %entry block - i32.load8_u $push0=, 0($0) - i32.load8_u $push1=, 1($0) - i32.ne $push2=, $pop0, $pop1 + i32.load8_u $push1=, 0($0) + i32.load8_u $push0=, 1($0) + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.load8_u $push3=, 2($0) diff --git a/test/torture-s/20050121-1.c.s b/test/torture-s/20050121-1.c.s index 1dd0c0481..bbff18893 100644 --- a/test/torture-s/20050121-1.c.s +++ b/test/torture-s/20050121-1.c.s @@ -7,15 +7,15 @@ foo_float: # @foo_float .param i32, i32 # BB#0: # %entry - i32.const $push0=, 1 + i32.const $push0=, -1 i32.add $push1=, $1, $pop0 f32.convert_s/i32 $push2=, $pop1 - f32.store $drop=, 0($0), $pop2 - i32.const $push3=, -1 + f32.store $drop=, 4($0), $pop2 + i32.const $push3=, 1 i32.add $push4=, $1, $pop3 f32.convert_s/i32 $push5=, $pop4 - f32.store $drop=, 4($0), $pop5 - return + f32.store $drop=, 0($0), $pop5 + # fallthrough-return .endfunc .Lfunc_end0: .size foo_float, .Lfunc_end0-foo_float @@ -29,7 +29,7 @@ bar_float: # @bar_float # BB#0: # %entry i32.const $push0=, 1086324736 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar_float, .Lfunc_end1-bar_float @@ -43,7 +43,7 @@ baz_float: # @baz_float # BB#0: # %entry i32.const $push0=, 1082130432 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end2: .size baz_float, .Lfunc_end2-baz_float @@ -55,15 +55,15 @@ baz_float: # @baz_float foo_double: # @foo_double .param i32, i32 # BB#0: # %entry - i32.const $push0=, 1 + i32.const $push0=, -1 i32.add $push1=, $1, $pop0 f64.convert_s/i32 $push2=, $pop1 - f64.store $drop=, 0($0), $pop2 - i32.const $push3=, -1 + f64.store $drop=, 8($0), $pop2 + i32.const $push3=, 1 i32.add $push4=, $1, $pop3 f64.convert_s/i32 $push5=, $pop4 - f64.store $drop=, 8($0), $pop5 - return + f64.store $drop=, 0($0), $pop5 + # fallthrough-return .endfunc .Lfunc_end3: .size foo_double, .Lfunc_end3-foo_double @@ -77,7 +77,7 @@ bar_double: # @bar_double # BB#0: # %entry i64.const $push0=, 4618441417868443648 i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end4: .size bar_double, .Lfunc_end4-bar_double @@ -91,7 +91,7 @@ baz_double: # @baz_double # BB#0: # %entry i64.const $push0=, 4616189618054758400 i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end5: .size baz_double, .Lfunc_end5-baz_double @@ -102,46 +102,46 @@ baz_double: # @baz_double .type foo_ldouble_t,@function foo_ldouble_t: # @foo_ldouble_t .param i32, i32 - .local i64, i64, i64, i64, i32 + .local i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) - i32.const $push12=, 32 - i32.sub $push21=, $pop11, $pop12 - i32.store $push25=, 0($pop13), $pop21 - tee_local $push24=, $6=, $pop25 - i32.const $push17=, 16 - i32.add $push18=, $pop24, $pop17 - i32.const $push0=, 1 + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) + i32.const $push16=, 32 + i32.sub $push25=, $pop15, $pop16 + i32.store $push29=, __stack_pointer($pop17), $pop25 + tee_local $push28=, $2=, $pop29 + i32.const $push0=, -1 i32.add $push1=, $1, $pop0 - call __floatsitf@FUNCTION, $pop18, $pop1 - i32.const $push19=, 16 - i32.add $push20=, $6, $pop19 - i32.const $push2=, 8 - i32.add $push3=, $pop20, $pop2 - i64.load $2=, 0($pop3) - i64.load $3=, 16($6) - i32.const $push4=, -1 - i32.add $push5=, $1, $pop4 - call __floatsitf@FUNCTION, $6, $pop5 - i32.const $push23=, 8 - i32.add $push6=, $6, $pop23 - i64.load $4=, 0($pop6) - i64.load $5=, 0($6) - i32.const $push22=, 8 - i32.add $push7=, $0, $pop22 - i64.store $drop=, 0($pop7), $2 - i32.const $push8=, 24 - i32.add $push9=, $0, $pop8 - i64.store $drop=, 0($pop9), $4 - i64.store $drop=, 0($0), $3 - i64.store $drop=, 16($0), $5 - i32.const $push16=, __stack_pointer - i32.const $push14=, 32 - i32.add $push15=, $6, $pop14 - i32.store $drop=, 0($pop16), $pop15 - return + call __floatsitf@FUNCTION, $pop28, $pop1 + i32.const $push2=, 24 + i32.add $push3=, $0, $pop2 + i32.const $push4=, 8 + i32.add $push5=, $2, $pop4 + i64.load $push6=, 0($pop5) + i64.store $drop=, 0($pop3), $pop6 + i64.load $push7=, 0($2) + i64.store $drop=, 16($0), $pop7 + i32.const $push21=, 16 + i32.add $push22=, $2, $pop21 + i32.const $push8=, 1 + i32.add $push9=, $1, $pop8 + call __floatsitf@FUNCTION, $pop22, $pop9 + i32.const $push27=, 8 + i32.add $push10=, $0, $pop27 + i32.const $push23=, 16 + i32.add $push24=, $2, $pop23 + i32.const $push26=, 8 + i32.add $push11=, $pop24, $pop26 + i64.load $push12=, 0($pop11) + i64.store $drop=, 0($pop10), $pop12 + i64.load $push13=, 16($2) + i64.store $drop=, 0($0), $pop13 + i32.const $push20=, 0 + i32.const $push18=, 32 + i32.add $push19=, $2, $pop18 + i32.store $drop=, __stack_pointer($pop20), $pop19 + # fallthrough-return .endfunc .Lfunc_end6: .size foo_ldouble_t, .Lfunc_end6-foo_ldouble_t @@ -159,7 +159,7 @@ bar_ldouble_t: # @bar_ldouble_t i32.add $push2=, $0, $pop1 i64.const $push3=, 4612108230892453888 i64.store $drop=, 0($pop2), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end7: .size bar_ldouble_t, .Lfunc_end7-bar_ldouble_t @@ -177,7 +177,7 @@ baz_ldouble_t: # @baz_ldouble_t i32.add $push2=, $0, $pop1 i64.const $push3=, 4611967493404098560 i64.store $drop=, 0($pop2), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end8: .size baz_ldouble_t, .Lfunc_end8-baz_ldouble_t @@ -189,13 +189,13 @@ baz_ldouble_t: # @baz_ldouble_t foo_char: # @foo_char .param i32, i32 # BB#0: # %entry - i32.const $push0=, 1 + i32.const $push0=, 255 i32.add $push1=, $1, $pop0 - i32.store8 $drop=, 0($0), $pop1 - i32.const $push2=, 255 + i32.store8 $drop=, 1($0), $pop1 + i32.const $push2=, 1 i32.add $push3=, $1, $pop2 - i32.store8 $drop=, 1($0), $pop3 - return + i32.store8 $drop=, 0($0), $pop3 + # fallthrough-return .endfunc .Lfunc_end9: .size foo_char, .Lfunc_end9-foo_char @@ -209,7 +209,7 @@ bar_char: # @bar_char # BB#0: # %entry i32.const $push0=, 6 i32.store8 $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end10: .size bar_char, .Lfunc_end10-bar_char @@ -223,7 +223,7 @@ baz_char: # @baz_char # BB#0: # %entry i32.const $push0=, 4 i32.store8 $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end11: .size baz_char, .Lfunc_end11-baz_char @@ -235,13 +235,13 @@ baz_char: # @baz_char foo_short: # @foo_short .param i32, i32 # BB#0: # %entry - i32.const $push0=, 1 + i32.const $push0=, 65535 i32.add $push1=, $1, $pop0 - i32.store16 $drop=, 0($0), $pop1 - i32.const $push2=, 65535 + i32.store16 $drop=, 2($0), $pop1 + i32.const $push2=, 1 i32.add $push3=, $1, $pop2 - i32.store16 $drop=, 2($0), $pop3 - return + i32.store16 $drop=, 0($0), $pop3 + # fallthrough-return .endfunc .Lfunc_end12: .size foo_short, .Lfunc_end12-foo_short @@ -255,7 +255,7 @@ bar_short: # @bar_short # BB#0: # %entry i32.const $push0=, 6 i32.store16 $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end13: .size bar_short, .Lfunc_end13-bar_short @@ -269,7 +269,7 @@ baz_short: # @baz_short # BB#0: # %entry i32.const $push0=, 4 i32.store16 $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end14: .size baz_short, .Lfunc_end14-baz_short @@ -281,13 +281,13 @@ baz_short: # @baz_short foo_int: # @foo_int .param i32, i32 # BB#0: # %entry - i32.const $push0=, 1 + i32.const $push0=, -1 i32.add $push1=, $1, $pop0 - i32.store $drop=, 0($0), $pop1 - i32.const $push2=, -1 + i32.store $drop=, 4($0), $pop1 + i32.const $push2=, 1 i32.add $push3=, $1, $pop2 - i32.store $drop=, 4($0), $pop3 - return + i32.store $drop=, 0($0), $pop3 + # fallthrough-return .endfunc .Lfunc_end15: .size foo_int, .Lfunc_end15-foo_int @@ -301,7 +301,7 @@ bar_int: # @bar_int # BB#0: # %entry i32.const $push0=, 6 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end16: .size bar_int, .Lfunc_end16-bar_int @@ -315,7 +315,7 @@ baz_int: # @baz_int # BB#0: # %entry i32.const $push0=, 4 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end17: .size baz_int, .Lfunc_end17-baz_int @@ -327,13 +327,13 @@ baz_int: # @baz_int foo_long: # @foo_long .param i32, i32 # BB#0: # %entry - i32.const $push0=, 1 + i32.const $push0=, -1 i32.add $push1=, $1, $pop0 - i32.store $drop=, 0($0), $pop1 - i32.const $push2=, -1 + i32.store $drop=, 4($0), $pop1 + i32.const $push2=, 1 i32.add $push3=, $1, $pop2 - i32.store $drop=, 4($0), $pop3 - return + i32.store $drop=, 0($0), $pop3 + # fallthrough-return .endfunc .Lfunc_end18: .size foo_long, .Lfunc_end18-foo_long @@ -347,7 +347,7 @@ bar_long: # @bar_long # BB#0: # %entry i32.const $push0=, 6 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end19: .size bar_long, .Lfunc_end19-bar_long @@ -361,7 +361,7 @@ baz_long: # @baz_long # BB#0: # %entry i32.const $push0=, 4 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end20: .size baz_long, .Lfunc_end20-baz_long @@ -373,15 +373,15 @@ baz_long: # @baz_long foo_llong: # @foo_llong .param i32, i32 # BB#0: # %entry - i32.const $push0=, 1 + i32.const $push0=, -1 i32.add $push1=, $1, $pop0 i64.extend_s/i32 $push2=, $pop1 - i64.store $drop=, 0($0), $pop2 - i32.const $push3=, -1 + i64.store $drop=, 8($0), $pop2 + i32.const $push3=, 1 i32.add $push4=, $1, $pop3 i64.extend_s/i32 $push5=, $pop4 - i64.store $drop=, 8($0), $pop5 - return + i64.store $drop=, 0($0), $pop5 + # fallthrough-return .endfunc .Lfunc_end21: .size foo_llong, .Lfunc_end21-foo_llong @@ -395,7 +395,7 @@ bar_llong: # @bar_llong # BB#0: # %entry i64.const $push0=, 6 i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end22: .size bar_llong, .Lfunc_end22-bar_llong @@ -409,7 +409,7 @@ baz_llong: # @baz_llong # BB#0: # %entry i64.const $push0=, 4 i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end23: .size baz_llong, .Lfunc_end23-baz_llong @@ -422,7 +422,7 @@ main: # @main .result i32 # BB#0: # %if.end65 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end24: .size main, .Lfunc_end24-main diff --git a/test/torture-s/20050124-1.c.s b/test/torture-s/20050124-1.c.s index 4249754de..e334eecdc 100644 --- a/test/torture-s/20050124-1.c.s +++ b/test/torture-s/20050124-1.c.s @@ -30,7 +30,7 @@ foo: # @foo i32.const $push3=, -1 i32.eq $push4=, $0, $pop3 i32.select $push5=, $2, $0, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -43,7 +43,7 @@ main: # @main .result i32 # BB#0: # %if.end28 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20050125-1.c.s b/test/torture-s/20050125-1.c.s index 73a96aa44..0dd64554c 100644 --- a/test/torture-s/20050125-1.c.s +++ b/test/torture-s/20050125-1.c.s @@ -10,7 +10,7 @@ seterr: # @seterr # BB#0: # %entry i32.store $drop=, 8($0), $1 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size seterr, .Lfunc_end0-seterr @@ -44,7 +44,7 @@ bracket_empty: # @bracket_empty i32.store $drop=, 8($0), $pop7 .LBB1_3: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end1: .size bracket_empty, .Lfunc_end1-bracket_empty @@ -58,7 +58,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20050131-1.c.s b/test/torture-s/20050131-1.c.s index 9007d5ecd..8a10b331d 100644 --- a/test/torture-s/20050131-1.c.s +++ b/test/torture-s/20050131-1.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 1 i32.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20050203-1.c.s b/test/torture-s/20050203-1.c.s index 556de957d..7011c2002 100644 --- a/test/torture-s/20050203-1.c.s +++ b/test/torture-s/20050203-1.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push9=, $pop4, $pop5 - i32.store $push11=, 0($pop6), $pop9 + i32.store $push11=, __stack_pointer($pop6), $pop9 tee_local $push10=, $0=, $pop11 i32.const $push7=, 15 i32.add $push8=, $pop10, $pop7 @@ -43,7 +43,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 129 i32.store8 $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -54,7 +54,7 @@ bar: # @bar # BB#0: # %entry #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar diff --git a/test/torture-s/20050218-1.c.s b/test/torture-s/20050218-1.c.s index 42d286d94..b967f43b4 100644 --- a/test/torture-s/20050218-1.c.s +++ b/test/torture-s/20050218-1.c.s @@ -7,12 +7,12 @@ foo: # @foo .param i32, i32, i32 .result i32 - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32 # BB#0: # %entry i32.const $7=, 0 block - i32.eqz $push8=, $2 - br_if 0, $pop8 # 0: down to label0 + i32.eqz $push12=, $2 + br_if 0, $pop12 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.const $5=, 0 i32.const $4=, a @@ -20,19 +20,20 @@ foo: # @foo .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.load $3=, 0($4) i32.const $7=, 2 i32.add $push0=, $0, $5 + i32.load $push7=, 0($4) + tee_local $push6=, $3=, $pop7 i32.call $push5=, strlen@FUNCTION, $3 - tee_local $push4=, $8=, $pop5 - i32.call $push1=, strncmp@FUNCTION, $pop0, $3, $pop4 + tee_local $push4=, $3=, $pop5 + i32.call $push1=, strncmp@FUNCTION, $pop0, $pop6, $pop4 br_if 1, $pop1 # 1: down to label2 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 - i32.add $5=, $8, $5 + i32.add $5=, $3, $5 block - i32.eqz $push9=, $1 - br_if 0, $pop9 # 0: down to label3 + i32.eqz $push13=, $1 + br_if 0, $pop13 # 0: down to label3 # BB#4: # %if.then6 # in Loop: Header=BB0_2 Depth=1 i32.call $push2=, strlen@FUNCTION, $1 @@ -40,17 +41,19 @@ foo: # @foo .LBB0_5: # %for.inc # in Loop: Header=BB0_2 Depth=1 end_block # label3: - i32.const $push7=, 1 - i32.add $6=, $6, $pop7 - i32.const $push6=, 4 - i32.add $4=, $4, $pop6 + i32.const $push11=, 4 + i32.add $4=, $4, $pop11 i32.const $7=, 0 - i32.lt_u $push3=, $6, $2 + i32.const $push10=, 1 + i32.add $push9=, $6, $pop10 + tee_local $push8=, $6=, $pop9 + i32.lt_u $push3=, $pop8, $2 br_if 0, $pop3 # 0: up to label1 .LBB0_6: # %cleanup end_loop # label2: end_block # label0: - return $7 + copy_local $push14=, $7 + # fallthrough-return: $pop14 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -61,37 +64,40 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push11=, 0 - i32.load $0=, a($pop11) block - i32.const $push10=, .L.str.4 + i32.const $push13=, .L.str.4 + i32.const $push12=, 0 + i32.load $push11=, a($pop12) + tee_local $push10=, $0=, $pop11 i32.call $push9=, strlen@FUNCTION, $0 - tee_local $push8=, $1=, $pop9 - i32.call $push0=, strncmp@FUNCTION, $pop10, $0, $pop8 + tee_local $push8=, $0=, $pop9 + i32.call $push0=, strncmp@FUNCTION, $pop13, $pop10, $pop8 br_if 0, $pop0 # 0: down to label4 # BB#1: # %if.end.i - i32.const $push15=, 0 - i32.load $0=, a+4($pop15) - i32.const $push14=, .L.str.4 - i32.add $push1=, $1, $pop14 - i32.call $push13=, strlen@FUNCTION, $0 - tee_local $push12=, $2=, $pop13 - i32.call $push2=, strncmp@FUNCTION, $pop1, $0, $pop12 + i32.const $push19=, .L.str.4 + i32.add $push1=, $0, $pop19 + i32.const $push18=, 0 + i32.load $push17=, a+4($pop18) + tee_local $push16=, $1=, $pop17 + i32.call $push15=, strlen@FUNCTION, $1 + tee_local $push14=, $1=, $pop15 + i32.call $push2=, strncmp@FUNCTION, $pop1, $pop16, $pop14 br_if 0, $pop2 # 0: down to label4 # BB#2: # %if.end.i.1 - i32.const $push16=, 0 - i32.load $0=, a+8($pop16) - i32.add $push3=, $2, $1 + i32.add $push3=, $1, $0 i32.const $push4=, .L.str.4 i32.add $push5=, $pop3, $pop4 + i32.const $push22=, 0 + i32.load $push21=, a+8($pop22) + tee_local $push20=, $0=, $pop21 i32.call $push6=, strlen@FUNCTION, $0 - i32.call $push7=, strncmp@FUNCTION, $pop5, $0, $pop6 + i32.call $push7=, strncmp@FUNCTION, $pop5, $pop20, $pop6 br_if 0, $pop7 # 0: down to label4 # BB#3: # %if.end.i.2 - i32.const $push17=, 0 - return $pop17 + i32.const $push23=, 0 + return $pop23 .LBB1_4: # %if.then end_block # label4: call abort@FUNCTION diff --git a/test/torture-s/20050224-1.c.s b/test/torture-s/20050224-1.c.s index a3ade9e54..0bb485602 100644 --- a/test/torture-s/20050224-1.c.s +++ b/test/torture-s/20050224-1.c.s @@ -37,78 +37,79 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $6=, 0 + i32.const $8=, 0 block i32.const $push18=, 0 i32.load $push17=, a($pop18) - tee_local $push16=, $8=, $pop17 + tee_local $push16=, $5=, $pop17 i32.const $push15=, 0 i32.load $push14=, b($pop15) - tee_local $push13=, $7=, $pop14 + tee_local $push13=, $0=, $pop14 i32.ge_u $push0=, $pop16, $pop13 br_if 0, $pop0 # 0: down to label1 # BB#1: # %for.body.lr.ph i32.const $push22=, 0 - i32.load $0=, c($pop22) + i32.load $4=, f($pop22) i32.const $push21=, 0 - i32.load $1=, d($pop21) + i32.load $3=, e($pop21) i32.const $push20=, 0 - i32.load $2=, e($pop20) + i32.load $2=, d($pop20) i32.const $push19=, 0 - i32.load $3=, f($pop19) - i32.const $5=, 0 - i32.const $4=, 0 + i32.load $1=, c($pop19) + i32.const $7=, 0 + i32.const $6=, 0 .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: block block - i32.ge_u $push1=, $8, $0 + i32.ge_u $push1=, $5, $1 br_if 0, $pop1 # 0: down to label5 # BB#3: # %if.then # in Loop: Header=BB1_2 Depth=1 i32.const $push23=, 1 - i32.add $4=, $4, $pop23 + i32.add $6=, $6, $pop23 br 1 # 1: down to label4 .LBB1_4: # %if.else # in Loop: Header=BB1_2 Depth=1 end_block # label5: block - i32.lt_u $push2=, $8, $1 + i32.lt_u $push2=, $5, $2 br_if 0, $pop2 # 0: down to label6 # BB#5: # %if.else # in Loop: Header=BB1_2 Depth=1 - i32.ge_u $push3=, $8, $2 + i32.ge_u $push3=, $5, $3 br_if 0, $pop3 # 0: down to label6 # BB#6: # %if.then4 # in Loop: Header=BB1_2 Depth=1 i32.const $push24=, 1 - i32.add $6=, $6, $pop24 + i32.add $8=, $8, $pop24 br 1 # 1: down to label4 .LBB1_7: # %if.else6 # in Loop: Header=BB1_2 Depth=1 end_block # label6: - i32.lt_u $push4=, $8, $3 - i32.add $5=, $pop4, $5 + i32.lt_u $push4=, $5, $4 + i32.add $7=, $pop4, $7 .LBB1_8: # %for.inc # in Loop: Header=BB1_2 Depth=1 end_block # label4: - i32.const $push25=, 4096 - i32.add $8=, $8, $pop25 - i32.lt_u $push5=, $8, $7 + i32.const $push27=, 4096 + i32.add $push26=, $5, $pop27 + tee_local $push25=, $5=, $pop26 + i32.lt_u $push5=, $pop25, $0 br_if 0, $pop5 # 0: up to label2 # BB#9: # %for.end end_loop # label3: i32.const $push6=, 444 - i32.ne $push7=, $4, $pop6 + i32.ne $push7=, $6, $pop6 br_if 0, $pop7 # 0: down to label1 # BB#10: # %for.end i32.const $push8=, 245 - i32.ne $push9=, $5, $pop8 + i32.ne $push9=, $7, $pop8 br_if 0, $pop9 # 0: down to label1 # BB#11: # %for.end i32.const $push10=, 36 - i32.ne $push11=, $6, $pop10 + i32.ne $push11=, $8, $pop10 br_if 0, $pop11 # 0: down to label1 # BB#12: # %foo.exit i32.const $push12=, 0 diff --git a/test/torture-s/20050316-1.c.s b/test/torture-s/20050316-1.c.s index b44968fed..3df6232ed 100644 --- a/test/torture-s/20050316-1.c.s +++ b/test/torture-s/20050316-1.c.s @@ -8,7 +8,7 @@ test1: # @test1 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -21,7 +21,8 @@ test2: # @test2 .param i32, i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -38,7 +39,7 @@ test3: # @test3 i32.const $push3=, 0 i32.store $push0=, 0($pop2), $pop3 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -57,7 +58,7 @@ test4: # @test4 i32.or $push4=, $pop3, $pop1 i64.extend_s/i32 $push5=, $pop4 i64.store $drop=, 0($0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -73,7 +74,7 @@ test5: # @test5 i32.add $push1=, $0, $pop0 i32.store $drop=, 0($pop1), $2 i32.store $drop=, 0($0), $1 - return + # fallthrough-return .endfunc .Lfunc_end4: .size test5, .Lfunc_end4-test5 @@ -86,7 +87,7 @@ main: # @main .result i32 # BB#0: # %if.end30 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size main, .Lfunc_end5-main diff --git a/test/torture-s/20050316-2.c.s b/test/torture-s/20050316-2.c.s index 4102266e7..96ac79908 100644 --- a/test/torture-s/20050316-2.c.s +++ b/test/torture-s/20050316-2.c.s @@ -15,7 +15,7 @@ test1: # @test1 i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 i64.or $push6=, $pop5, $pop3 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -35,7 +35,7 @@ test2: # @test2 i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 i64.or $push6=, $pop5, $pop3 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -53,7 +53,7 @@ test3: # @test3 i64.const $push1=, 32 i64.shl $push2=, $pop0, $pop1 i64.or $push4=, $pop3, $pop2 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -66,7 +66,7 @@ main: # @main .result i32 # BB#0: # %if.end33 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/20050316-3.c.s b/test/torture-s/20050316-3.c.s index f8be814d6..3297c56dc 100644 --- a/test/torture-s/20050316-3.c.s +++ b/test/torture-s/20050316-3.c.s @@ -11,7 +11,7 @@ test1: # @test1 i32.add $push1=, $0, $pop0 i32.store $drop=, 0($pop1), $2 i32.store $drop=, 0($0), $1 - return + # fallthrough-return .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -29,7 +29,7 @@ test2: # @test2 i64.const $push1=, 32 i64.shl $push2=, $pop0, $pop1 i64.or $push4=, $pop3, $pop2 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -42,7 +42,7 @@ main: # @main .result i32 # BB#0: # %if.end13 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20050410-1.c.s b/test/torture-s/20050410-1.c.s index 5739dfacf..2ac63b465 100644 --- a/test/torture-s/20050410-1.c.s +++ b/test/torture-s/20050410-1.c.s @@ -17,7 +17,7 @@ foo: # @foo i32.shr_s $push6=, $pop5, $pop9 i32.const $push7=, -5 i32.add $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -30,9 +30,9 @@ main: # @main .result i32 # BB#0: # %entry block - i32.call $push0=, foo@FUNCTION - i32.const $push1=, 95 - i32.ne $push2=, $pop0, $pop1 + i32.call $push1=, foo@FUNCTION + i32.const $push0=, 95 + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 diff --git a/test/torture-s/20050502-1.c.s b/test/torture-s/20050502-1.c.s index a71652b4d..a8f5c196c 100644 --- a/test/torture-s/20050502-1.c.s +++ b/test/torture-s/20050502-1.c.s @@ -15,7 +15,7 @@ bar: # @bar i32.add $push1=, $pop3, $pop0 i32.store $drop=, 0($0), $pop1 i32.load8_s $push2=, 0($1) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -30,7 +30,7 @@ baz: # @baz # BB#0: # %entry i32.const $push0=, 64 i32.ne $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size baz, .Lfunc_end1-baz @@ -41,29 +41,29 @@ baz: # @baz .type foo,@function foo: # @foo .param i32, i32, i32, i32 - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry i32.call $push1=, bar@FUNCTION, $0 i32.store8 $drop=, 0($1), $pop1 - i32.const $6=, 1 + i32.const $7=, 1 block i32.call $push21=, bar@FUNCTION, $0 - tee_local $push20=, $8=, $pop21 + tee_local $push20=, $6=, $pop21 i32.const $push2=, 255 i32.and $push19=, $pop20, $pop2 tee_local $push18=, $5=, $pop19 - i32.const $push3=, 39 - i32.eq $push4=, $pop18, $pop3 - i32.and $push5=, $pop4, $2 - br_if 0, $pop5 # 0: down to label0 + i32.const $push5=, 39 + i32.eq $push6=, $pop18, $pop5 + i32.and $push7=, $pop6, $2 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %entry - i32.const $push6=, 34 - i32.eq $push7=, $5, $pop6 - i32.and $push0=, $pop7, $3 + i32.const $push3=, 34 + i32.eq $push4=, $5, $pop3 + i32.and $push0=, $pop4, $3 br_if 0, $pop0 # 0: down to label0 # BB#2: # %if.end14.lr.ph i32.or $4=, $2, $3 - i32.const $5=, 1 + i32.const $7=, 1 .LBB2_3: # %if.end14 # =>This Inner Loop Header: Depth=1 loop # label1: @@ -72,7 +72,7 @@ foo: # @foo # BB#4: # %land.lhs.true18 # in Loop: Header=BB2_3 Depth=1 i32.const $push23=, 24 - i32.shl $push8=, $8, $pop23 + i32.shl $push8=, $6, $pop23 i32.const $push22=, 24 i32.shr_s $push9=, $pop8, $pop22 i32.call $push10=, baz@FUNCTION, $pop9 @@ -81,37 +81,33 @@ foo: # @foo .LBB2_5: # %while.cond.backedge # in Loop: Header=BB2_3 Depth=1 end_block # label3: - i32.add $push12=, $1, $5 - i32.store8 $drop=, 0($pop12), $8 + i32.add $push12=, $1, $7 + i32.store8 $drop=, 0($pop12), $6 i32.const $push30=, 1 - i32.add $6=, $5, $pop30 + i32.add $7=, $7, $pop30 i32.call $push29=, bar@FUNCTION, $0 - tee_local $push28=, $8=, $pop29 + tee_local $push28=, $6=, $pop29 i32.const $push27=, 255 i32.and $push26=, $pop28, $pop27 - tee_local $push25=, $7=, $pop26 + tee_local $push25=, $5=, $pop26 i32.const $push24=, 39 - i32.eq $push13=, $pop25, $pop24 - i32.and $push14=, $pop13, $2 - br_if 2, $pop14 # 2: down to label0 + i32.eq $push14=, $pop25, $pop24 + i32.and $push15=, $pop14, $2 + br_if 1, $pop15 # 1: down to label2 # BB#6: # %while.cond.backedge # in Loop: Header=BB2_3 Depth=1 - copy_local $5=, $6 i32.const $push31=, 34 - i32.eq $push15=, $7, $pop31 - i32.and $push11=, $pop15, $3 + i32.eq $push13=, $5, $pop31 + i32.and $push11=, $pop13, $3 i32.eqz $push33=, $pop11 br_if 0, $pop33 # 0: up to label1 - br 2 # 2: down to label0 -.LBB2_7: +.LBB2_7: # %while.end end_loop # label2: - copy_local $6=, $5 -.LBB2_8: # %while.end end_block # label0: - i32.add $push16=, $1, $6 + i32.add $push16=, $1, $7 i32.const $push17=, 0 i32.store8 $drop=, 0($pop16), $pop17 - return + # fallthrough-return .endfunc .Lfunc_end2: .size foo, .Lfunc_end2-foo @@ -124,12 +120,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push41=, __stack_pointer - i32.const $push38=, __stack_pointer - i32.load $push39=, 0($pop38) + i32.const $push41=, 0 + i32.const $push38=, 0 + i32.load $push39=, __stack_pointer($pop38) i32.const $push40=, 80 i32.sub $push75=, $pop39, $pop40 - i32.store $push77=, 0($pop41), $pop75 + i32.store $push77=, __stack_pointer($pop41), $pop75 tee_local $push76=, $0=, $pop77 i32.const $push0=, .L.str i32.store $drop=, 12($pop76), $pop0 @@ -141,9 +137,9 @@ main: # @main i32.const $push1=, 0 call foo@FUNCTION, $pop46, $pop48, $pop2, $pop1 block - i32.load $push3=, 12($0) - i32.const $push4=, .L.str.1 - i32.call $push5=, strcmp@FUNCTION, $pop3, $pop4 + i32.load $push4=, 12($0) + i32.const $push3=, .L.str.1 + i32.call $push5=, strcmp@FUNCTION, $pop4, $pop3 br_if 0, $pop5 # 0: down to label4 # BB#1: # %lor.lhs.false i32.const $push49=, 16 @@ -161,9 +157,9 @@ main: # @main i32.const $push10=, 0 i32.const $push9=, 1 call foo@FUNCTION, $pop52, $pop54, $pop10, $pop9 - i32.load $push11=, 12($0) - i32.const $push12=, .L.str.4 - i32.call $push13=, strcmp@FUNCTION, $pop11, $pop12 + i32.load $push12=, 12($0) + i32.const $push11=, .L.str.4 + i32.call $push13=, strcmp@FUNCTION, $pop12, $pop11 br_if 0, $pop13 # 0: down to label4 # BB#3: # %lor.lhs.false7 i32.const $push55=, 16 @@ -181,9 +177,9 @@ main: # @main i32.const $push17=, 1 i32.const $push78=, 1 call foo@FUNCTION, $pop58, $pop60, $pop17, $pop78 - i32.load $push18=, 12($0) - i32.const $push19=, .L.str.7 - i32.call $push20=, strcmp@FUNCTION, $pop18, $pop19 + i32.load $push19=, 12($0) + i32.const $push18=, .L.str.7 + i32.call $push20=, strcmp@FUNCTION, $pop19, $pop18 br_if 0, $pop20 # 0: down to label4 # BB#5: # %lor.lhs.false16 i32.const $push61=, 16 @@ -201,9 +197,9 @@ main: # @main i32.const $push24=, 1 i32.const $push79=, 1 call foo@FUNCTION, $pop64, $pop66, $pop24, $pop79 - i32.load $push25=, 12($0) - i32.const $push26=, .L.str.10 - i32.call $push27=, strcmp@FUNCTION, $pop25, $pop26 + i32.load $push26=, 12($0) + i32.const $push25=, .L.str.10 + i32.call $push27=, strcmp@FUNCTION, $pop26, $pop25 br_if 0, $pop27 # 0: down to label4 # BB#7: # %lor.lhs.false25 i32.const $push67=, 16 @@ -221,9 +217,9 @@ main: # @main i32.const $push31=, 0 i32.const $push80=, 0 call foo@FUNCTION, $pop70, $pop72, $pop31, $pop80 - i32.load $push32=, 12($0) - i32.const $push33=, .L.str.13 - i32.call $push34=, strcmp@FUNCTION, $pop32, $pop33 + i32.load $push33=, 12($0) + i32.const $push32=, .L.str.13 + i32.call $push34=, strcmp@FUNCTION, $pop33, $pop32 br_if 0, $pop34 # 0: down to label4 # BB#9: # %lor.lhs.false34 i32.const $push73=, 16 @@ -232,10 +228,10 @@ main: # @main i32.call $push36=, strcmp@FUNCTION, $pop74, $pop35 br_if 0, $pop36 # 0: down to label4 # BB#10: # %if.end39 - i32.const $push44=, __stack_pointer + i32.const $push44=, 0 i32.const $push42=, 80 i32.add $push43=, $0, $pop42 - i32.store $drop=, 0($pop44), $pop43 + i32.store $drop=, __stack_pointer($pop44), $pop43 i32.const $push37=, 0 return $pop37 .LBB3_11: # %if.then38 diff --git a/test/torture-s/20050502-2.c.s b/test/torture-s/20050502-2.c.s index af124e9c0..2e00417cd 100644 --- a/test/torture-s/20050502-2.c.s +++ b/test/torture-s/20050502-2.c.s @@ -9,7 +9,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 0 i32.store8 $drop=, 4($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +23,7 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 0 i32.store8 $drop=, 8($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -36,53 +36,53 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) i32.const $push17=, 16 i32.sub $push26=, $pop16, $pop17 - i32.store $push34=, 0($pop18), $pop26 - tee_local $push33=, $2=, $pop34 + i32.store $push34=, __stack_pointer($pop18), $pop26 + tee_local $push33=, $1=, $pop34 i32.const $push2=, 14 i32.add $push3=, $pop33, $pop2 i32.const $push0=, 0 i32.load8_u $push1=, .Lmain.x+10($pop0) i32.store8 $drop=, 0($pop3), $pop1 i32.const $push5=, 12 - i32.add $push6=, $2, $pop5 + i32.add $push6=, $1, $pop5 i32.const $push32=, 0 i32.load16_u $push4=, .Lmain.x+8($pop32):p2align=0 i32.store16 $drop=, 0($pop6), $pop4 i32.const $push31=, 0 i64.load $push7=, .Lmain.x($pop31):p2align=0 - i64.store $drop=, 4($2):p2align=2, $pop7 + i64.store $drop=, 4($1):p2align=2, $pop7 i32.const $push8=, 8 - i32.add $push30=, $2, $pop8 - tee_local $push29=, $1=, $pop30 + i32.add $push30=, $1, $pop8 + tee_local $push29=, $2=, $pop30 i32.const $push28=, 0 i32.store8 $0=, 0($pop29), $pop28 block i32.const $push22=, 4 - i32.add $push23=, $2, $pop22 + i32.add $push23=, $1, $pop22 i32.const $push9=, .L.str i32.const $push27=, 11 i32.call $push10=, memcmp@FUNCTION, $pop23, $pop9, $pop27 br_if 0, $pop10 # 0: down to label0 # BB#1: # %if.end i32.const $push11=, 77 - i32.store8 $drop=, 0($1), $pop11 - i32.store8 $drop=, 12($2), $0 + i32.store8 $drop=, 0($2), $pop11 + i32.store8 $drop=, 12($1), $0 i32.const $push24=, 4 - i32.add $push25=, $2, $pop24 + i32.add $push25=, $1, $pop24 i32.const $push12=, .L.str.1 i32.const $push35=, 11 i32.call $push13=, memcmp@FUNCTION, $pop25, $pop12, $pop35 br_if 0, $pop13 # 0: down to label0 # BB#2: # %if.end7 - i32.const $push21=, __stack_pointer + i32.const $push21=, 0 i32.const $push19=, 16 - i32.add $push20=, $2, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.add $push20=, $1, $pop19 + i32.store $drop=, __stack_pointer($pop21), $pop20 i32.const $push14=, 0 return $pop14 .LBB2_3: # %if.then6 diff --git a/test/torture-s/20050604-1.c.s b/test/torture-s/20050604-1.c.s index d1c3b7b32..7bb7be0c3 100644 --- a/test/torture-s/20050604-1.c.s +++ b/test/torture-s/20050604-1.c.s @@ -5,53 +5,53 @@ .globl foo .type foo,@function foo: # @foo - .local i32, f32, f32, f32 + .local f32, f32, f32 # BB#0: # %entry i32.const $push0=, 0 - f32.load $1=, v($pop0) + i32.const $push34=, 0 + i32.load16_u $push1=, u+2($pop34) + i32.const $push2=, 28 + i32.add $push3=, $pop1, $pop2 + i32.store16 $drop=, u+2($pop0), $pop3 i32.const $push33=, 0 - f32.load $2=, v+4($pop33) i32.const $push32=, 0 - f32.load $3=, v+8($pop32) + i32.load16_u $push4=, u($pop32) + i32.const $push5=, 24 + i32.add $push6=, $pop4, $pop5 + i32.store16 $drop=, u($pop33), $pop6 i32.const $push31=, 0 + f32.load $0=, v($pop31) i32.const $push30=, 0 - f32.load $push6=, v+12($pop30) - f32.const $push7=, 0x0p0 - f32.add $push8=, $pop6, $pop7 - f32.const $push29=, 0x0p0 - f32.add $push18=, $pop8, $pop29 - f32.store $drop=, v+12($pop31), $pop18 + f32.load $1=, v+4($pop30) + i32.const $push29=, 0 + f32.load $2=, v+8($pop29) i32.const $push28=, 0 - f32.const $push9=, 0x1.6p4 - f32.add $push10=, $3, $pop9 - f32.const $push27=, 0x1.6p4 - f32.add $push17=, $pop10, $pop27 - f32.store $drop=, v+8($pop28), $pop17 - i32.const $push26=, 0 - i32.load16_u $0=, u($pop26) + i32.const $push27=, 0 + f32.load $push7=, v+12($pop27) + f32.const $push8=, 0x0p0 + f32.add $push9=, $pop7, $pop8 + f32.const $push26=, 0x0p0 + f32.add $push10=, $pop9, $pop26 + f32.store $drop=, v+12($pop28), $pop10 i32.const $push25=, 0 - f32.const $push11=, 0x1.4p4 + f32.const $push11=, 0x1.6p4 f32.add $push12=, $2, $pop11 - f32.const $push24=, 0x1.4p4 - f32.add $push16=, $pop12, $pop24 - f32.store $drop=, v+4($pop25), $pop16 + f32.const $push24=, 0x1.6p4 + f32.add $push13=, $pop12, $pop24 + f32.store $drop=, v+8($pop25), $pop13 i32.const $push23=, 0 - i32.const $push22=, 0 - i32.load16_u $push1=, u+2($pop22) - i32.const $push4=, 28 - i32.add $push5=, $pop1, $pop4 - i32.store16 $drop=, u+2($pop23), $pop5 + f32.const $push14=, 0x1.4p4 + f32.add $push15=, $1, $pop14 + f32.const $push22=, 0x1.4p4 + f32.add $push16=, $pop15, $pop22 + f32.store $drop=, v+4($pop23), $pop16 i32.const $push21=, 0 - i32.const $push2=, 24 - i32.add $push3=, $0, $pop2 - i32.store16 $drop=, u($pop21), $pop3 - i32.const $push20=, 0 - f32.const $push13=, 0x1.2p4 - f32.add $push14=, $1, $pop13 - f32.const $push19=, 0x1.2p4 - f32.add $push15=, $pop14, $pop19 - f32.store $drop=, v($pop20), $pop15 - return + f32.const $push17=, 0x1.2p4 + f32.add $push18=, $0, $pop17 + f32.const $push20=, 0x1.2p4 + f32.add $push19=, $pop18, $pop20 + f32.store $drop=, v($pop21), $pop19 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -62,92 +62,92 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, f32, f32, f32, f32 + .local i32, i32, f32, i32, i32, f32, f32, f32 # BB#0: # %entry i32.const $push6=, 0 - f32.load $4=, v($pop6) + i32.const $push54=, 0 + i32.load16_u $push7=, u+2($pop54) + i32.const $push53=, 28 + i32.add $push4=, $pop7, $pop53 + i32.store16 $0=, u+2($pop6), $pop4 i32.const $push52=, 0 - f32.load $5=, v+4($pop52) i32.const $push51=, 0 - f32.load $6=, v+8($pop51) + i32.load16_u $push8=, u($pop51) + i32.const $push9=, 24 + i32.add $push10=, $pop8, $pop9 + i32.store16 $1=, u($pop52), $pop10 i32.const $push50=, 0 - f32.load $7=, v+12($pop50) + i32.load16_u $3=, u+6($pop50) i32.const $push49=, 0 - i32.load16_u $3=, u($pop49) + i32.load16_u $4=, u+4($pop49) i32.const $push48=, 0 - i32.load16_u $1=, u+6($pop48) + f32.load $5=, v($pop48) i32.const $push47=, 0 - i32.load16_u $2=, u+4($pop47) + f32.load $6=, v+4($pop47) i32.const $push46=, 0 + f32.load $7=, v+8($pop46) i32.const $push45=, 0 - i32.load16_u $push7=, u+2($pop45) - i32.const $push44=, 28 - i32.add $push4=, $pop7, $pop44 - i32.store16 $0=, u+2($pop46), $pop4 - i32.const $push43=, 0 - i32.const $push8=, 24 - i32.add $push9=, $3, $pop8 - i32.store16 $3=, u($pop43), $pop9 + i32.const $push44=, 0 + f32.load $push11=, v+12($pop44) + f32.const $push12=, 0x0p0 + f32.add $push13=, $pop11, $pop12 + f32.const $push43=, 0x0p0 + f32.add $push3=, $pop13, $pop43 + f32.store $2=, v+12($pop45), $pop3 i32.const $push42=, 0 - f32.const $push10=, 0x0p0 - f32.add $push11=, $7, $pop10 - f32.const $push41=, 0x0p0 - f32.add $push3=, $pop11, $pop41 - f32.store $7=, v+12($pop42), $pop3 + f32.const $push14=, 0x1.6p4 + f32.add $push15=, $7, $pop14 + f32.const $push41=, 0x1.6p4 + f32.add $push2=, $pop15, $pop41 + f32.store $7=, v+8($pop42), $pop2 i32.const $push40=, 0 - f32.const $push12=, 0x1.6p4 - f32.add $push13=, $6, $pop12 - f32.const $push39=, 0x1.6p4 - f32.add $push2=, $pop13, $pop39 - f32.store $6=, v+8($pop40), $pop2 + f32.const $push16=, 0x1.4p4 + f32.add $push17=, $6, $pop16 + f32.const $push39=, 0x1.4p4 + f32.add $push1=, $pop17, $pop39 + f32.store $6=, v+4($pop40), $pop1 i32.const $push38=, 0 - f32.const $push14=, 0x1.4p4 - f32.add $push15=, $5, $pop14 - f32.const $push37=, 0x1.4p4 - f32.add $push1=, $pop15, $pop37 - f32.store $5=, v+4($pop38), $pop1 - i32.const $push36=, 0 - f32.const $push16=, 0x1.2p4 - f32.add $push17=, $4, $pop16 - f32.const $push35=, 0x1.2p4 - f32.add $push0=, $pop17, $pop35 - f32.store $4=, v($pop36), $pop0 + f32.const $push18=, 0x1.2p4 + f32.add $push19=, $5, $pop18 + f32.const $push37=, 0x1.2p4 + f32.add $push0=, $pop19, $pop37 + f32.store $5=, v($pop38), $pop0 block - i32.const $push34=, 65535 - i32.and $push18=, $3, $pop34 - i32.const $push33=, 24 - i32.ne $push19=, $pop18, $pop33 - br_if 0, $pop19 # 0: down to label0 -# BB#1: # %entry - i32.const $push54=, 65535 - i32.and $push20=, $0, $pop54 - i32.const $push53=, 28 - i32.ne $push21=, $pop20, $pop53 + i32.const $push36=, 65535 + i32.and $push20=, $1, $pop36 + i32.const $push35=, 24 + i32.ne $push21=, $pop20, $pop35 br_if 0, $pop21 # 0: down to label0 -# BB#2: # %entry - i32.or $push5=, $1, $2 - i32.const $push22=, 65535 - i32.and $push23=, $pop5, $pop22 +# BB#1: # %entry + i32.const $push56=, 65535 + i32.and $push22=, $0, $pop56 + i32.const $push55=, 28 + i32.ne $push23=, $pop22, $pop55 br_if 0, $pop23 # 0: down to label0 -# BB#3: # %if.end - f32.const $push24=, 0x1.2p5 - f32.ne $push25=, $4, $pop24 +# BB#2: # %entry + i32.or $push5=, $3, $4 + i32.const $push24=, 65535 + i32.and $push25=, $pop5, $pop24 br_if 0, $pop25 # 0: down to label0 -# BB#4: # %if.end - f32.const $push26=, 0x1.4p5 +# BB#3: # %if.end + f32.const $push26=, 0x1.2p5 f32.ne $push27=, $5, $pop26 br_if 0, $pop27 # 0: down to label0 -# BB#5: # %if.end - f32.const $push28=, 0x1.6p5 +# BB#4: # %if.end + f32.const $push28=, 0x1.4p5 f32.ne $push29=, $6, $pop28 br_if 0, $pop29 # 0: down to label0 -# BB#6: # %if.end - f32.const $push30=, 0x0p0 +# BB#5: # %if.end + f32.const $push30=, 0x1.6p5 f32.ne $push31=, $7, $pop30 br_if 0, $pop31 # 0: down to label0 +# BB#6: # %if.end + f32.const $push32=, 0x0p0 + f32.ne $push33=, $2, $pop32 + br_if 0, $pop33 # 0: down to label0 # BB#7: # %if.end26 - i32.const $push32=, 0 - return $pop32 + i32.const $push34=, 0 + return $pop34 .LBB1_8: # %if.then25 end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/20050607-1.c.s b/test/torture-s/20050607-1.c.s index 26b512f64..e0e4acccd 100644 --- a/test/torture-s/20050607-1.c.s +++ b/test/torture-s/20050607-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20050613-1.c.s b/test/torture-s/20050613-1.c.s index 91ebba84b..70131a67e 100644 --- a/test/torture-s/20050613-1.c.s +++ b/test/torture-s/20050613-1.c.s @@ -39,7 +39,7 @@ main: # @main .result i32 # BB#0: # %foo.exit28 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20050713-1.c.s b/test/torture-s/20050713-1.c.s index 038966bdb..3116d1309 100644 --- a/test/torture-s/20050713-1.c.s +++ b/test/torture-s/20050713-1.c.s @@ -298,7 +298,7 @@ main: # @main .result i32 # BB#0: # %baz3.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size main, .Lfunc_end5-main diff --git a/test/torture-s/20050826-1.c.s b/test/torture-s/20050826-1.c.s index daa3973c7..1df5063ed 100644 --- a/test/torture-s/20050826-1.c.s +++ b/test/torture-s/20050826-1.c.s @@ -26,10 +26,11 @@ bar: # @bar br_if 2, $pop5 # 2: down to label1 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push8=, 1 - i32.add $0=, $0, $pop8 + i32.const $push10=, 1 + i32.add $push9=, $0, $pop10 + tee_local $push8=, $0=, $pop9 i32.const $push7=, 2040 - i32.le_u $push6=, $0, $pop7 + i32.le_u $push6=, $pop8, $pop7 br_if 0, $pop6 # 0: up to label2 # BB#4: # %for.end end_loop # label3: @@ -54,54 +55,55 @@ foo: # @foo .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push3=, a+7 - i32.const $push2=, 0 - i32.const $push1=, 2041 - i32.call $drop=, memset@FUNCTION, $pop3, $pop2, $pop1 + i32.const $push4=, a+7 + i32.const $push3=, 0 + i32.const $push2=, 2041 + i32.call $drop=, memset@FUNCTION, $pop4, $pop3, $pop2 + i32.const $push20=, 0 i32.const $push19=, 0 + i32.const $push5=, 1 + i32.store8 $push0=, a($pop19), $pop5 + i32.store8 $0=, a+6($pop20), $pop0 i32.const $push18=, 0 - i32.load8_u $push5=, .L.str.1+4($pop18) - i32.store8 $drop=, a+5($pop19), $pop5 i32.const $push17=, 0 + i32.load8_u $push6=, .L.str.1+4($pop17) + i32.store8 $drop=, a+5($pop18), $pop6 i32.const $push16=, 0 - i32.load $push6=, .L.str.1($pop16):p2align=0 - i32.store $drop=, a+1($pop17):p2align=0, $pop6 i32.const $push15=, 0 - i32.const $push14=, 0 - i32.const $push4=, 1 - i32.store8 $push0=, a($pop14), $pop4 - i32.store8 $0=, a+6($pop15), $pop0 + i32.load $push7=, .L.str.1($pop15):p2align=0 + i32.store $drop=, a+1($pop16):p2align=0, $pop7 block - i32.const $push13=, 0 - i64.load $push7=, a($pop13):p2align=0 - i64.const $push8=, 368664092428289 - i64.ne $push9=, $pop7, $pop8 - br_if 0, $pop9 # 0: down to label4 + i32.const $push14=, 0 + i64.load $push8=, a($pop14):p2align=0 + i64.const $push9=, 368664092428289 + i64.ne $push10=, $pop8, $pop9 + br_if 0, $pop10 # 0: down to label4 # BB#1: # %for.cond.i.preheader i32.const $2=, 8 .LBB1_2: # %for.cond.i # =>This Inner Loop Header: Depth=1 block loop # label6: - i32.const $push21=, -7 - i32.add $push10=, $2, $pop21 - i32.const $push20=, 2040 - i32.gt_u $push11=, $pop10, $pop20 - br_if 2, $pop11 # 2: down to label5 + i32.const $push22=, -7 + i32.add $push11=, $2, $pop22 + i32.const $push21=, 2040 + i32.gt_u $push12=, $pop11, $pop21 + br_if 2, $pop12 # 2: down to label5 # BB#3: # %for.cond.i.for.body.i_crit_edge # in Loop: Header=BB1_2 Depth=1 i32.load8_u $1=, a($2) - i32.add $2=, $2, $0 - i32.eqz $push22=, $1 - br_if 0, $pop22 # 0: up to label6 + i32.add $push1=, $2, $0 + copy_local $2=, $pop1 + i32.eqz $push23=, $1 + br_if 0, $pop23 # 0: up to label6 # BB#4: # %if.then2.i end_loop # label7: call abort@FUNCTION unreachable .LBB1_5: # %bar.exit end_block # label5: - i32.const $push12=, 0 - return $pop12 + i32.const $push13=, 0 + return $pop13 .LBB1_6: # %if.then.i end_block # label4: call abort@FUNCTION @@ -118,54 +120,55 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push3=, a+7 - i32.const $push2=, 0 - i32.const $push1=, 2041 - i32.call $drop=, memset@FUNCTION, $pop3, $pop2, $pop1 + i32.const $push4=, a+7 + i32.const $push3=, 0 + i32.const $push2=, 2041 + i32.call $drop=, memset@FUNCTION, $pop4, $pop3, $pop2 + i32.const $push20=, 0 i32.const $push19=, 0 + i32.const $push5=, 1 + i32.store8 $push0=, a($pop19), $pop5 + i32.store8 $0=, a+6($pop20), $pop0 i32.const $push18=, 0 - i32.load8_u $push5=, .L.str.1+4($pop18) - i32.store8 $drop=, a+5($pop19), $pop5 i32.const $push17=, 0 + i32.load8_u $push6=, .L.str.1+4($pop17) + i32.store8 $drop=, a+5($pop18), $pop6 i32.const $push16=, 0 - i32.load $push6=, .L.str.1($pop16):p2align=0 - i32.store $drop=, a+1($pop17):p2align=0, $pop6 i32.const $push15=, 0 - i32.const $push14=, 0 - i32.const $push4=, 1 - i32.store8 $push0=, a($pop14), $pop4 - i32.store8 $0=, a+6($pop15), $pop0 + i32.load $push7=, .L.str.1($pop15):p2align=0 + i32.store $drop=, a+1($pop16):p2align=0, $pop7 block - i32.const $push13=, 0 - i64.load $push7=, a($pop13):p2align=0 - i64.const $push8=, 368664092428289 - i64.ne $push9=, $pop7, $pop8 - br_if 0, $pop9 # 0: down to label8 + i32.const $push14=, 0 + i64.load $push8=, a($pop14):p2align=0 + i64.const $push9=, 368664092428289 + i64.ne $push10=, $pop8, $pop9 + br_if 0, $pop10 # 0: down to label8 # BB#1: # %for.cond.i.i.preheader i32.const $2=, 8 .LBB2_2: # %for.cond.i.i # =>This Inner Loop Header: Depth=1 block loop # label10: - i32.const $push21=, -7 - i32.add $push10=, $2, $pop21 - i32.const $push20=, 2040 - i32.gt_u $push11=, $pop10, $pop20 - br_if 2, $pop11 # 2: down to label9 + i32.const $push22=, -7 + i32.add $push11=, $2, $pop22 + i32.const $push21=, 2040 + i32.gt_u $push12=, $pop11, $pop21 + br_if 2, $pop12 # 2: down to label9 # BB#3: # %for.cond.i.for.body.i_crit_edge.i # in Loop: Header=BB2_2 Depth=1 i32.load8_u $1=, a($2) - i32.add $2=, $2, $0 - i32.eqz $push22=, $1 - br_if 0, $pop22 # 0: up to label10 + i32.add $push1=, $2, $0 + copy_local $2=, $pop1 + i32.eqz $push23=, $1 + br_if 0, $pop23 # 0: up to label10 # BB#4: # %if.then2.i.i end_loop # label11: call abort@FUNCTION unreachable .LBB2_5: # %foo.exit end_block # label9: - i32.const $push12=, 0 - return $pop12 + i32.const $push13=, 0 + return $pop13 .LBB2_6: # %if.then.i.i end_block # label8: call abort@FUNCTION diff --git a/test/torture-s/20050826-2.c.s b/test/torture-s/20050826-2.c.s index b7b827218..cd50ef7d9 100644 --- a/test/torture-s/20050826-2.c.s +++ b/test/torture-s/20050826-2.c.s @@ -9,19 +9,19 @@ inet_check_attr: # @inet_check_attr .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $2=, 1 + i32.const $3=, 1 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: block i32.load $push8=, 0($1) - tee_local $push7=, $4=, $pop8 - i32.eqz $push17=, $pop7 - br_if 0, $pop17 # 0: down to label2 + tee_local $push7=, $2=, $pop8 + i32.eqz $push19=, $pop7 + br_if 0, $pop19 # 0: down to label2 # BB#2: # %if.then # in Loop: Header=BB0_1 Depth=1 - i32.const $3=, -22 - i32.load16_u $push0=, 0($4) + i32.const $4=, -22 + i32.load16_u $push0=, 0($2) i32.const $push10=, 65532 i32.and $push1=, $pop0, $pop10 i32.const $push9=, 4 @@ -30,29 +30,31 @@ inet_check_attr: # @inet_check_attr # BB#3: # %if.end # in Loop: Header=BB0_1 Depth=1 i32.const $push12=, -2 - i32.and $push3=, $2, $pop12 + i32.and $push3=, $3, $pop12 i32.const $push11=, 8 i32.eq $push4=, $pop3, $pop11 br_if 0, $pop4 # 0: down to label2 # BB#4: # %if.then9 # in Loop: Header=BB0_1 Depth=1 i32.const $push13=, 4 - i32.add $push5=, $4, $pop13 + i32.add $push5=, $2, $pop13 i32.store $drop=, 0($1), $pop5 .LBB0_5: # %for.inc # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.const $push16=, 1 - i32.add $2=, $2, $pop16 - i32.const $push15=, 4 - i32.add $1=, $1, $pop15 - i32.const $3=, 0 + i32.const $push18=, 4 + i32.add $1=, $1, $pop18 + i32.const $4=, 0 + i32.const $push17=, 1 + i32.add $push16=, $3, $pop17 + tee_local $push15=, $3=, $pop16 i32.const $push14=, 15 - i32.lt_s $push6=, $2, $pop14 + i32.lt_s $push6=, $pop15, $pop14 br_if 0, $pop6 # 0: up to label0 .LBB0_6: # %cleanup14 end_loop # label1: - return $3 + copy_local $push20=, $4 + # fallthrough-return: $pop20 .endfunc .Lfunc_end0: .size inet_check_attr, .Lfunc_end0-inet_check_attr @@ -65,272 +67,273 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push87=, __stack_pointer - i32.const $push84=, __stack_pointer - i32.load $push85=, 0($pop84) - i32.const $push86=, 64 - i32.sub $push149=, $pop85, $pop86 - i32.store $push151=, 0($pop87), $pop149 - tee_local $push150=, $4=, $pop151 + i32.const $push88=, 0 + i32.const $push85=, 0 + i32.load $push86=, __stack_pointer($pop85) + i32.const $push87=, 64 + i32.sub $push150=, $pop86, $pop87 + i32.store $push152=, __stack_pointer($pop88), $pop150 + tee_local $push151=, $1=, $pop152 i64.const $push0=, 51539607564 - i64.store $drop=, 56($pop150), $pop0 - i32.const $push91=, 56 - i32.add $push92=, $4, $pop91 - i32.store $drop=, 0($4), $pop92 - i32.const $push93=, 56 - i32.add $push94=, $4, $pop93 - i32.store $drop=, 4($4), $pop94 - i32.const $push95=, 56 - i32.add $push96=, $4, $pop95 - i32.store $drop=, 8($4), $pop96 - i32.const $push97=, 56 - i32.add $push98=, $4, $pop97 - i32.store $drop=, 12($4), $pop98 - i32.const $push99=, 56 - i32.add $push100=, $4, $pop99 - i32.store $drop=, 16($4), $pop100 - i32.const $push101=, 56 - i32.add $push102=, $4, $pop101 - i32.store $drop=, 20($4), $pop102 - i32.const $push103=, 56 - i32.add $push104=, $4, $pop103 - i32.store $drop=, 24($4), $pop104 - i32.const $push105=, 56 - i32.add $push106=, $4, $pop105 - i32.store $drop=, 28($4), $pop106 - i32.const $push107=, 56 - i32.add $push108=, $4, $pop107 - i32.store $drop=, 32($4), $pop108 - i32.const $push109=, 56 - i32.add $push110=, $4, $pop109 - i32.store $drop=, 36($4), $pop110 - i32.const $push111=, 56 - i32.add $push112=, $4, $pop111 - i32.store $drop=, 40($4), $pop112 - i32.const $push113=, 56 - i32.add $push114=, $4, $pop113 - i32.store $drop=, 44($4), $pop114 - i32.const $push115=, 56 - i32.add $push116=, $4, $pop115 - i32.store $drop=, 48($4), $pop116 - i32.const $push117=, 56 - i32.add $push118=, $4, $pop117 - i32.store $drop=, 52($4), $pop118 + i64.store $drop=, 56($pop151), $pop0 + i32.const $push92=, 56 + i32.add $push93=, $1, $pop92 + i32.store $drop=, 4($1), $pop93 + i32.const $push94=, 56 + i32.add $push95=, $1, $pop94 + i32.store $drop=, 8($1), $pop95 + i32.const $push96=, 56 + i32.add $push97=, $1, $pop96 + i32.store $drop=, 12($1), $pop97 + i32.const $push98=, 56 + i32.add $push99=, $1, $pop98 + i32.store $drop=, 16($1), $pop99 + i32.const $push100=, 56 + i32.add $push101=, $1, $pop100 + i32.store $drop=, 0($1), $pop101 + i32.const $push102=, 56 + i32.add $push103=, $1, $pop102 + i32.store $drop=, 20($1), $pop103 + i32.const $push104=, 56 + i32.add $push105=, $1, $pop104 + i32.store $drop=, 24($1), $pop105 + i32.const $push106=, 56 + i32.add $push107=, $1, $pop106 + i32.store $drop=, 28($1), $pop107 + i32.const $push108=, 56 + i32.add $push109=, $1, $pop108 + i32.store $drop=, 32($1), $pop109 + i32.const $push110=, 56 + i32.add $push111=, $1, $pop110 + i32.store $drop=, 36($1), $pop111 + i32.const $push112=, 56 + i32.add $push113=, $1, $pop112 + i32.store $drop=, 40($1), $pop113 + i32.const $push114=, 56 + i32.add $push115=, $1, $pop114 + i32.store $drop=, 44($1), $pop115 + i32.const $push116=, 56 + i32.add $push117=, $1, $pop116 + i32.store $drop=, 48($1), $pop117 + i32.const $push118=, 56 + i32.add $push119=, $1, $pop118 + i32.store $drop=, 52($1), $pop119 block block block - i32.call $push2=, inet_check_attr@FUNCTION, $1, $4 + i32.call $push2=, inet_check_attr@FUNCTION, $2, $1 br_if 0, $pop2 # 0: down to label5 # BB#1: # %for.body9.preheader - i32.load $push16=, 0($4) - i32.const $push119=, 56 - i32.add $push120=, $4, $pop119 + i32.load $push16=, 0($1) + i32.const $push120=, 56 + i32.add $push121=, $1, $pop120 i32.const $push1=, 4 - i32.or $push153=, $pop120, $pop1 - tee_local $push152=, $1=, $pop153 - i32.ne $push37=, $pop16, $pop152 - br_if 2, $pop37 # 2: down to label3 + i32.or $push154=, $pop121, $pop1 + tee_local $push153=, $3=, $pop154 + i32.ne $push17=, $pop16, $pop153 + br_if 2, $pop17 # 2: down to label3 # BB#2: # %for.body9.preheader - i32.load $push3=, 4($4) - i32.ne $push38=, $pop3, $1 + i32.load $push3=, 4($1) + i32.ne $push38=, $pop3, $3 br_if 2, $pop38 # 2: down to label3 # BB#3: # %for.body9.preheader - i32.load $push4=, 8($4) - i32.ne $push39=, $pop4, $1 + i32.load $push4=, 8($1) + i32.ne $push39=, $pop4, $3 br_if 2, $pop39 # 2: down to label3 # BB#4: # %for.body9.preheader - i32.load $push5=, 12($4) - i32.ne $push40=, $pop5, $1 + i32.load $push5=, 12($1) + i32.ne $push40=, $pop5, $3 br_if 2, $pop40 # 2: down to label3 # BB#5: # %for.body9.preheader - i32.const $push17=, 16 - i32.add $push18=, $4, $pop17 - i32.load $push6=, 0($pop18) - i32.ne $push41=, $pop6, $1 + i32.const $push36=, 16 + i32.add $push37=, $1, $pop36 + i32.load $push6=, 0($pop37) + i32.ne $push41=, $pop6, $3 br_if 2, $pop41 # 2: down to label3 # BB#6: # %for.body9.preheader - i32.const $push19=, 20 - i32.add $push20=, $4, $pop19 - i32.load $push7=, 0($pop20) - i32.ne $push42=, $pop7, $1 + i32.const $push34=, 20 + i32.add $push35=, $1, $pop34 + i32.load $push7=, 0($pop35) + i32.ne $push42=, $pop7, $3 br_if 2, $pop42 # 2: down to label3 # BB#7: # %for.body9.preheader - i32.const $push21=, 24 - i32.add $push22=, $4, $pop21 - i32.load $push8=, 0($pop22) - i32.ne $push43=, $pop8, $1 + i32.const $push32=, 24 + i32.add $push33=, $1, $pop32 + i32.load $push8=, 0($pop33) + i32.ne $push43=, $pop8, $3 br_if 2, $pop43 # 2: down to label3 # BB#8: # %for.body9.preheader - i32.const $push23=, 28 - i32.add $push24=, $4, $pop23 - i32.load $push9=, 0($pop24) - i32.const $push121=, 56 - i32.add $push122=, $4, $pop121 - copy_local $push155=, $pop122 - tee_local $push154=, $2=, $pop155 - i32.ne $push44=, $pop9, $pop154 + i32.const $push30=, 28 + i32.add $push31=, $1, $pop30 + i32.load $push9=, 0($pop31) + i32.const $push122=, 56 + i32.add $push123=, $1, $pop122 + copy_local $push156=, $pop123 + tee_local $push155=, $2=, $pop156 + i32.ne $push44=, $pop9, $pop155 br_if 2, $pop44 # 2: down to label3 # BB#9: # %for.body9.preheader - i32.const $push25=, 32 - i32.add $push26=, $4, $pop25 - i32.load $push10=, 0($pop26) + i32.const $push28=, 32 + i32.add $push29=, $1, $pop28 + i32.load $push10=, 0($pop29) i32.ne $push45=, $pop10, $2 br_if 2, $pop45 # 2: down to label3 # BB#10: # %for.body9.preheader - i32.const $push27=, 36 - i32.add $push28=, $4, $pop27 - i32.load $push11=, 0($pop28) - i32.ne $push46=, $pop11, $1 + i32.const $push26=, 36 + i32.add $push27=, $1, $pop26 + i32.load $push11=, 0($pop27) + i32.ne $push46=, $pop11, $3 br_if 2, $pop46 # 2: down to label3 # BB#11: # %for.body9.preheader - i32.const $push29=, 40 - i32.add $push30=, $4, $pop29 - i32.load $push12=, 0($pop30) - i32.ne $push47=, $pop12, $1 + i32.const $push24=, 40 + i32.add $push25=, $1, $pop24 + i32.load $push12=, 0($pop25) + i32.ne $push47=, $pop12, $3 br_if 2, $pop47 # 2: down to label3 # BB#12: # %for.body9.preheader - i32.const $push31=, 44 - i32.add $push32=, $4, $pop31 - i32.load $push13=, 0($pop32) - i32.ne $push48=, $pop13, $1 + i32.const $push22=, 44 + i32.add $push23=, $1, $pop22 + i32.load $push13=, 0($pop23) + i32.ne $push48=, $pop13, $3 br_if 2, $pop48 # 2: down to label3 # BB#13: # %for.body9.preheader - i32.const $push33=, 48 - i32.add $push34=, $4, $pop33 - i32.load $push14=, 0($pop34) - i32.ne $push49=, $pop14, $1 + i32.const $push20=, 48 + i32.add $push21=, $1, $pop20 + i32.load $push14=, 0($pop21) + i32.ne $push49=, $pop14, $3 br_if 2, $pop49 # 2: down to label3 # BB#14: # %for.body9.preheader - i32.const $push35=, 52 - i32.add $push36=, $4, $pop35 - i32.load $push15=, 0($pop36) - i32.ne $push50=, $pop15, $1 + i32.const $push18=, 52 + i32.add $push19=, $1, $pop18 + i32.load $push15=, 0($pop19) + i32.ne $push50=, $pop15, $3 br_if 2, $pop50 # 2: down to label3 # BB#15: # %for.cond7.13 i32.const $push51=, 16 - i32.add $push52=, $4, $pop51 - i32.const $push123=, 56 - i32.add $push124=, $4, $pop123 - i32.store $drop=, 0($pop52), $pop124 + i32.add $push52=, $1, $pop51 + i32.const $push124=, 56 + i32.add $push125=, $1, $pop124 + i32.store $drop=, 0($pop52), $pop125 i32.const $push53=, 24 - i32.add $push54=, $4, $pop53 - i32.const $push125=, 56 - i32.add $push126=, $4, $pop125 - i32.store $drop=, 0($pop54), $pop126 + i32.add $push54=, $1, $pop53 + i32.const $push126=, 56 + i32.add $push127=, $1, $pop126 + i32.store $drop=, 0($pop54), $pop127 i32.const $push55=, 28 - i32.add $push56=, $4, $pop55 - i32.const $push127=, 56 - i32.add $push128=, $4, $pop127 - i32.store $drop=, 0($pop56), $pop128 + i32.add $push56=, $1, $pop55 + i32.const $push128=, 56 + i32.add $push129=, $1, $pop128 + i32.store $drop=, 0($pop56), $pop129 i32.const $push57=, 32 - i32.add $push58=, $4, $pop57 - i32.const $push129=, 56 - i32.add $push130=, $4, $pop129 - i32.store $drop=, 0($pop58), $pop130 + i32.add $push58=, $1, $pop57 + i32.const $push130=, 56 + i32.add $push131=, $1, $pop130 + i32.store $drop=, 0($pop58), $pop131 + i32.const $push132=, 56 + i32.add $push133=, $1, $pop132 + i32.store $drop=, 8($1), $pop133 + i32.const $push134=, 56 + i32.add $push135=, $1, $pop134 + i32.store $drop=, 0($1), $pop135 + i32.const $push136=, 56 + i32.add $push137=, $1, $pop136 + i32.store $drop=, 12($1), $pop137 i32.const $push59=, 36 - i32.add $push60=, $4, $pop59 - i32.const $push131=, 56 - i32.add $push132=, $4, $pop131 - i32.store $drop=, 0($pop60), $pop132 + i32.add $push60=, $1, $pop59 + i32.const $push138=, 56 + i32.add $push139=, $1, $pop138 + i32.store $drop=, 0($pop60), $pop139 i32.const $push61=, 40 - i32.add $push62=, $4, $pop61 - i32.const $push133=, 56 - i32.add $push134=, $4, $pop133 - i32.store $drop=, 0($pop62), $pop134 + i32.add $push62=, $1, $pop61 + i32.const $push140=, 56 + i32.add $push141=, $1, $pop140 + i32.store $drop=, 0($pop62), $pop141 i32.const $push63=, 44 - i32.add $push64=, $4, $pop63 - i32.const $push135=, 56 - i32.add $push136=, $4, $pop135 - i32.store $drop=, 0($pop64), $pop136 + i32.add $push64=, $1, $pop63 + i32.const $push142=, 56 + i32.add $push143=, $1, $pop142 + i32.store $drop=, 0($pop64), $pop143 i32.const $push65=, 48 - i32.add $push66=, $4, $pop65 - i32.const $push137=, 56 - i32.add $push138=, $4, $pop137 - i32.store $drop=, 0($pop66), $pop138 - i32.load16_u $2=, 60($4) + i32.add $push66=, $1, $pop65 + i32.const $push144=, 56 + i32.add $push145=, $1, $pop144 + i32.store $drop=, 0($pop66), $pop145 i32.const $push67=, 52 - i32.add $push68=, $4, $pop67 - i32.const $push139=, 56 - i32.add $push140=, $4, $pop139 - i32.store $drop=, 0($pop68), $pop140 + i32.add $push68=, $1, $pop67 + i32.const $push146=, 56 + i32.add $push147=, $1, $pop146 + i32.store $drop=, 0($pop68), $pop147 + i32.const $2=, 0 + i32.const $push157=, 0 + i32.store $drop=, 4($1), $pop157 + i32.load16_u $push70=, 60($1) i32.const $push69=, 65528 - i32.add $push70=, $2, $pop69 - i32.store16 $drop=, 60($4), $pop70 - i32.const $push71=, 20 - i32.add $push72=, $4, $pop71 - i32.store $0=, 0($pop72), $1 - i32.const $push141=, 56 - i32.add $push142=, $4, $pop141 - i32.store $drop=, 0($4), $pop142 - i32.const $push143=, 56 - i32.add $push144=, $4, $pop143 - i32.store $drop=, 8($4), $pop144 - i32.const $push145=, 56 - i32.add $push146=, $4, $pop145 - i32.store $drop=, 12($4), $pop146 - i32.const $1=, 0 - i32.const $push156=, 0 - i32.store $drop=, 4($4), $pop156 - i32.call $push73=, inet_check_attr@FUNCTION, $1, $4 - i32.const $push74=, -22 - i32.ne $push75=, $pop73, $pop74 - br_if 2, $pop75 # 2: down to label3 + i32.add $push71=, $pop70, $pop69 + i32.store16 $drop=, 60($1), $pop71 + i32.const $push72=, 20 + i32.add $push73=, $1, $pop72 + i32.store $0=, 0($pop73), $3 + i32.call $push74=, inet_check_attr@FUNCTION, $2, $1 + i32.const $push75=, -22 + i32.ne $push76=, $pop74, $pop75 + br_if 2, $pop76 # 2: down to label3 # BB#16: # %for.body43.preheader - i32.load $3=, 4($4) + i32.load $4=, 4($1) .LBB1_17: # %for.body43 # =>This Inner Loop Header: Depth=1 block loop # label7: block - i32.const $push157=, 1 - i32.ne $push76=, $1, $pop157 - br_if 0, $pop76 # 0: down to label9 + i32.const $push158=, 1 + i32.ne $push77=, $2, $pop158 + br_if 0, $pop77 # 0: down to label9 # BB#18: # %land.lhs.true # in Loop: Header=BB1_17 Depth=1 - i32.const $1=, 2 - i32.eqz $push162=, $3 - br_if 1, $pop162 # 1: up to label7 + i32.const $2=, 2 + i32.eqz $push165=, $4 + br_if 1, $pop165 # 1: up to label7 br 3 # 3: down to label6 .LBB1_19: # %if.else # in Loop: Header=BB1_17 Depth=1 end_block # label9: - i32.const $push159=, 2 - i32.shl $push77=, $1, $pop159 - i32.add $push78=, $4, $pop77 - i32.load $2=, 0($pop78) + i32.const $push160=, 2 + i32.shl $push79=, $2, $pop160 + i32.add $push80=, $1, $pop79 + i32.load $3=, 0($pop80) block block - i32.const $push158=, 5 - i32.gt_s $push79=, $1, $pop158 - br_if 0, $pop79 # 0: down to label11 + i32.const $push159=, 5 + i32.gt_s $push78=, $2, $pop159 + br_if 0, $pop78 # 0: down to label11 # BB#20: # %land.lhs.true55 # in Loop: Header=BB1_17 Depth=1 - i32.eq $push81=, $2, $0 - br_if 1, $pop81 # 1: down to label10 + i32.eq $push82=, $3, $0 + br_if 1, $pop82 # 1: down to label10 br 6 # 6: down to label4 .LBB1_21: # %land.lhs.true64 # in Loop: Header=BB1_17 Depth=1 end_block # label11: - i32.const $push147=, 56 - i32.add $push148=, $4, $pop147 - i32.ne $push80=, $2, $pop148 - br_if 4, $pop80 # 4: down to label5 + i32.const $push148=, 56 + i32.add $push149=, $1, $pop148 + i32.ne $push81=, $3, $pop149 + br_if 4, $pop81 # 4: down to label5 .LBB1_22: # %for.inc73 # in Loop: Header=BB1_17 Depth=1 end_block # label10: - i32.const $push161=, 1 - i32.add $1=, $1, $pop161 - i32.const $push160=, 14 - i32.lt_s $push82=, $1, $pop160 - br_if 0, $pop82 # 0: up to label7 + i32.const $push164=, 1 + i32.add $push163=, $2, $pop164 + tee_local $push162=, $2=, $pop163 + i32.const $push161=, 14 + i32.lt_s $push83=, $pop162, $pop161 + br_if 0, $pop83 # 0: up to label7 # BB#23: # %for.end75 end_loop # label8: - i32.const $push90=, __stack_pointer - i32.const $push88=, 64 - i32.add $push89=, $4, $pop88 - i32.store $drop=, 0($pop90), $pop89 - i32.const $push83=, 0 - return $pop83 + i32.const $push91=, 0 + i32.const $push89=, 64 + i32.add $push90=, $1, $pop89 + i32.store $drop=, __stack_pointer($pop91), $pop90 + i32.const $push84=, 0 + return $pop84 .LBB1_24: # %if.then49 end_block # label6: call abort@FUNCTION diff --git a/test/torture-s/20050929-1.c.s b/test/torture-s/20050929-1.c.s index 2ce705231..3d27b2228 100644 --- a/test/torture-s/20050929-1.c.s +++ b/test/torture-s/20050929-1.c.s @@ -11,40 +11,40 @@ main: # @main block i32.const $push0=, 0 i32.load $push24=, e($pop0) - tee_local $push23=, $1=, $pop24 + tee_local $push23=, $0=, $pop24 i32.load $push22=, 0($pop23) - tee_local $push21=, $0=, $pop22 + tee_local $push21=, $1=, $pop22 i32.load $push1=, 0($pop21) i32.const $push2=, 1 i32.ne $push3=, $pop1, $pop2 br_if 0, $pop3 # 0: down to label0 # BB#1: # %lor.lhs.false - i32.load $push4=, 4($0) + i32.load $push4=, 4($1) i32.const $push5=, 2 i32.ne $push6=, $pop4, $pop5 br_if 0, $pop6 # 0: down to label0 # BB#2: # %if.end - i32.load $push26=, 4($1) - tee_local $push25=, $0=, $pop26 + i32.load $push26=, 4($0) + tee_local $push25=, $1=, $pop26 i32.load $push7=, 0($pop25) i32.const $push8=, 3 i32.ne $push9=, $pop7, $pop8 br_if 0, $pop9 # 0: down to label0 # BB#3: # %lor.lhs.false5 - i32.load $push10=, 4($0) + i32.load $push10=, 4($1) i32.const $push11=, 4 i32.ne $push12=, $pop10, $pop11 br_if 0, $pop12 # 0: down to label0 # BB#4: # %if.end10 i32.const $push13=, 0 i32.load $push28=, e+4($pop13) - tee_local $push27=, $0=, $pop28 + tee_local $push27=, $1=, $pop28 i32.load $push14=, 0($pop27) i32.const $push15=, 5 i32.ne $push16=, $pop14, $pop15 br_if 0, $pop16 # 0: down to label0 # BB#5: # %lor.lhs.false13 - i32.load $push17=, 4($0) + i32.load $push17=, 4($1) i32.const $push18=, 6 i32.ne $push19=, $pop17, $pop18 br_if 0, $pop19 # 0: down to label0 diff --git a/test/torture-s/20051012-1.c.s b/test/torture-s/20051012-1.c.s index ee654644c..9d81945f1 100644 --- a/test/torture-s/20051012-1.c.s +++ b/test/torture-s/20051012-1.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.load16_u $push1=, t+6($pop0) i32.const $push2=, 511 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -32,7 +32,7 @@ main: # @main i32.or $push5=, $pop3, $pop4 i32.store $drop=, t+4($pop0), $pop5 i32.const $push6=, 0 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20051021-1.c.s b/test/torture-s/20051021-1.c.s index de6847303..1a6e89e51 100644 --- a/test/torture-s/20051021-1.c.s +++ b/test/torture-s/20051021-1.c.s @@ -14,7 +14,7 @@ foo1: # @foo1 i32.add $push3=, $pop1, $pop2 i32.store $drop=, count($pop0), $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo1, .Lfunc_end0-foo1 @@ -33,7 +33,7 @@ foo2: # @foo2 i32.add $push3=, $pop1, $pop2 i32.store $drop=, count($pop0), $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size foo2, .Lfunc_end1-foo2 diff --git a/test/torture-s/20051104-1.c.s b/test/torture-s/20051104-1.c.s index ecfa1cd24..ee3a2daa0 100644 --- a/test/torture-s/20051104-1.c.s +++ b/test/torture-s/20051104-1.c.s @@ -7,13 +7,13 @@ main: # @main .result i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.const $push2=, .L.str - i32.store $drop=, s+4($pop1), $pop2 + i32.const $push2=, 0 + i32.const $push1=, .L.str + i32.store $drop=, s+4($pop2), $pop1 i32.const $push4=, 0 i32.const $push3=, 0 i32.store $push0=, s($pop4), $pop3 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20051110-1.c.s b/test/torture-s/20051110-1.c.s index b8ee92536..1e7f0d993 100644 --- a/test/torture-s/20051110-1.c.s +++ b/test/torture-s/20051110-1.c.s @@ -17,7 +17,7 @@ add_unwind_adjustsp: # @add_unwind_adjustsp i32.eqz $push14=, $pop6 br_if 0, $pop14 # 0: down to label0 # BB#1: # %while.body.preheader - i32.const $1=, bytes + i32.const $2=, bytes .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -27,17 +27,17 @@ add_unwind_adjustsp: # @add_unwind_adjustsp i32.and $push3=, $0, $pop12 i32.const $push11=, 7 i32.shr_u $push10=, $0, $pop11 - tee_local $push9=, $2=, $pop10 + tee_local $push9=, $1=, $pop10 i32.select $push5=, $pop4, $pop3, $pop9 - i32.store8 $drop=, 0($1), $pop5 + i32.store8 $drop=, 0($2), $pop5 i32.const $push8=, 1 - i32.add $1=, $1, $pop8 - copy_local $0=, $2 - br_if 0, $2 # 0: up to label1 + i32.add $2=, $2, $pop8 + copy_local $0=, $1 + br_if 0, $1 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size add_unwind_adjustsp, .Lfunc_end0-add_unwind_adjustsp @@ -50,24 +50,24 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $1=, 904 - i32.const $0=, bytes + i32.const $2=, 904 + i32.const $1=, bytes .LBB1_1: # %while.body.i # =>This Inner Loop Header: Depth=1 loop # label3: i32.const $push17=, 128 - i32.or $push1=, $1, $pop17 + i32.or $push1=, $2, $pop17 i32.const $push16=, 127 - i32.and $push0=, $1, $pop16 + i32.and $push0=, $2, $pop16 i32.const $push15=, 7 - i32.shr_u $push14=, $1, $pop15 - tee_local $push13=, $2=, $pop14 + i32.shr_u $push14=, $2, $pop15 + tee_local $push13=, $0=, $pop14 i32.select $push2=, $pop1, $pop0, $pop13 - i32.store8 $drop=, 0($0), $pop2 + i32.store8 $drop=, 0($1), $pop2 i32.const $push12=, 1 - i32.add $0=, $0, $pop12 - copy_local $1=, $2 - br_if 0, $2 # 0: up to label3 + i32.add $1=, $1, $pop12 + copy_local $2=, $0 + br_if 0, $0 # 0: up to label3 # BB#2: # %add_unwind_adjustsp.exit end_loop # label4: block diff --git a/test/torture-s/20051110-2.c.s b/test/torture-s/20051110-2.c.s index 806c68e03..f76602180 100644 --- a/test/torture-s/20051110-2.c.s +++ b/test/torture-s/20051110-2.c.s @@ -12,14 +12,14 @@ add_unwind_adjustsp: # @add_unwind_adjustsp i32.add $push1=, $0, $pop0 i32.const $push2=, 2 i32.shr_s $0=, $pop1, $pop2 - i32.const $2=, 0 + i32.const $3=, 0 i32.const $push6=, 0 i32.load $1=, flag($pop6) .LBB0_1: # %a # =>This Inner Loop Header: Depth=1 loop # label0: copy_local $push13=, $0 - tee_local $push12=, $3=, $pop13 + tee_local $push12=, $2=, $pop13 i32.const $push11=, 7 i32.shr_u $push10=, $pop12, $pop11 tee_local $push9=, $0=, $pop10 @@ -31,17 +31,17 @@ add_unwind_adjustsp: # @add_unwind_adjustsp # BB#3: # %if.end7.thread # in Loop: Header=BB0_1 Depth=1 i32.const $push8=, 128 - i32.or $push3=, $3, $pop8 - i32.store8 $drop=, bytes($2), $pop3 + i32.or $push3=, $2, $pop8 + i32.store8 $drop=, bytes($3), $pop3 i32.const $push7=, 1 - i32.add $2=, $2, $pop7 + i32.add $3=, $3, $pop7 br 0 # 0: up to label0 .LBB0_4: # %do.end end_loop # label1: i32.const $push4=, 127 - i32.and $push5=, $3, $pop4 - i32.store8 $drop=, bytes($2), $pop5 - return + i32.and $push5=, $2, $pop4 + i32.store8 $drop=, bytes($3), $pop5 + # fallthrough-return .endfunc .Lfunc_end0: .size add_unwind_adjustsp, .Lfunc_end0-add_unwind_adjustsp @@ -54,18 +54,18 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $2=, 0 i32.const $push12=, 0 i32.load $0=, flag($pop12) - i32.const $2=, 904 + i32.const $3=, 904 .LBB1_1: # %a.i # =>This Inner Loop Header: Depth=1 loop # label2: - copy_local $push19=, $2 - tee_local $push18=, $3=, $pop19 + copy_local $push19=, $3 + tee_local $push18=, $1=, $pop19 i32.const $push17=, 7 i32.shr_u $push16=, $pop18, $pop17 - tee_local $push15=, $2=, $pop16 + tee_local $push15=, $3=, $pop16 i32.eqz $push22=, $pop15 br_if 1, $pop22 # 1: down to label3 # BB#2: # %if.then.i @@ -74,16 +74,16 @@ main: # @main # BB#3: # %if.end7.thread.i # in Loop: Header=BB1_1 Depth=1 i32.const $push14=, 128 - i32.or $push0=, $3, $pop14 - i32.store8 $drop=, bytes($1), $pop0 + i32.or $push0=, $1, $pop14 + i32.store8 $drop=, bytes($2), $pop0 i32.const $push13=, 1 - i32.add $1=, $1, $pop13 + i32.add $2=, $2, $pop13 br 0 # 0: up to label2 .LBB1_4: # %add_unwind_adjustsp.exit end_loop # label3: i32.const $push2=, 127 - i32.and $push3=, $3, $pop2 - i32.store8 $drop=, bytes($1), $pop3 + i32.and $push3=, $1, $pop2 + i32.store8 $drop=, bytes($2), $pop3 block i32.const $push20=, 0 i32.load8_u $push4=, bytes($pop20) diff --git a/test/torture-s/20051113-1.c.s b/test/torture-s/20051113-1.c.s index cff3ec97e..b3796509a 100644 --- a/test/torture-s/20051113-1.c.s +++ b/test/torture-s/20051113-1.c.s @@ -7,35 +7,38 @@ Sum: # @Sum .param i32 .result i64 - .local i32, i64, i32 + .local i32, i32, i64 # BB#0: # %entry - i64.const $2=, 0 + i64.const $3=, 0 block - i32.load $push6=, 0($0):p2align=0 - tee_local $push5=, $3=, $pop6 - i32.const $push4=, 1 - i32.lt_s $push0=, $pop5, $pop4 - br_if 0, $pop0 # 0: down to label0 + i32.load $push7=, 0($0):p2align=0 + tee_local $push6=, $1=, $pop7 + i32.const $push5=, 1 + i32.lt_s $push1=, $pop6, $pop5 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $push1=, 10 - i32.add $0=, $0, $pop1 - i64.const $2=, 0 - i32.const $1=, 0 + i32.const $push2=, 10 + i32.add $0=, $0, $pop2 + i64.const $3=, 0 + i32.const $2=, 0 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i64.load $push2=, 0($0):p2align=0 - i64.add $2=, $pop2, $2 - i32.const $push8=, 1 - i32.add $1=, $1, $pop8 - i32.const $push7=, 30 - i32.add $0=, $0, $pop7 - i32.lt_s $push3=, $1, $3 - br_if 0, $pop3 # 0: up to label1 + i64.load $push3=, 0($0):p2align=0 + i64.add $3=, $pop3, $3 + i32.const $push11=, 30 + i32.add $push0=, $0, $pop11 + copy_local $0=, $pop0 + i32.const $push10=, 1 + i32.add $push9=, $2, $pop10 + tee_local $push8=, $2=, $pop9 + i32.lt_s $push4=, $pop8, $1 + br_if 0, $pop4 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return $2 + copy_local $push12=, $3 + # fallthrough-return: $pop12 .endfunc .Lfunc_end0: .size Sum, .Lfunc_end0-Sum @@ -47,35 +50,38 @@ Sum: # @Sum Sum2: # @Sum2 .param i32 .result i64 - .local i32, i64, i32 + .local i32, i32, i64 # BB#0: # %entry - i64.const $2=, 0 + i64.const $3=, 0 block - i32.load $push6=, 0($0):p2align=0 - tee_local $push5=, $3=, $pop6 - i32.const $push4=, 1 - i32.lt_s $push0=, $pop5, $pop4 - br_if 0, $pop0 # 0: down to label3 + i32.load $push7=, 0($0):p2align=0 + tee_local $push6=, $1=, $pop7 + i32.const $push5=, 1 + i32.lt_s $push1=, $pop6, $pop5 + br_if 0, $pop1 # 0: down to label3 # BB#1: # %for.body.preheader - i32.const $push1=, 18 - i32.add $0=, $0, $pop1 - i64.const $2=, 0 - i32.const $1=, 0 + i32.const $push2=, 18 + i32.add $0=, $0, $pop2 + i64.const $3=, 0 + i32.const $2=, 0 .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label4: - i64.load $push2=, 0($0):p2align=0 - i64.add $2=, $pop2, $2 - i32.const $push8=, 1 - i32.add $1=, $1, $pop8 - i32.const $push7=, 30 - i32.add $0=, $0, $pop7 - i32.lt_s $push3=, $1, $3 - br_if 0, $pop3 # 0: up to label4 + i64.load $push3=, 0($0):p2align=0 + i64.add $3=, $pop3, $3 + i32.const $push11=, 30 + i32.add $push0=, $0, $pop11 + copy_local $0=, $pop0 + i32.const $push10=, 1 + i32.add $push9=, $2, $pop10 + tee_local $push8=, $2=, $pop9 + i32.lt_s $push4=, $pop8, $1 + br_if 0, $pop4 # 0: up to label4 .LBB1_3: # %for.end end_loop # label5: end_block # label3: - return $2 + copy_local $push12=, $3 + # fallthrough-return: $pop12 .endfunc .Lfunc_end1: .size Sum2, .Lfunc_end1-Sum2 @@ -86,40 +92,40 @@ Sum2: # @Sum2 .type main,@function main: # @main .result i32 - .local i32 + .local i64, i64, i64, i32 # BB#0: # %entry - i32.const $push3=, 94 - i32.call $push19=, malloc@FUNCTION, $pop3 - tee_local $push18=, $0=, $pop19 - i32.const $push4=, 4 - i32.add $push5=, $pop18, $pop4 - i32.const $push7=, 0 - i32.const $push6=, 90 - i32.call $drop=, memset@FUNCTION, $pop5, $pop7, $pop6 - i32.const $push8=, 3 - i32.store $drop=, 0($0):p2align=0, $pop8 - i64.const $push9=, 555 - i64.store $push0=, 10($0):p2align=0, $pop9 - i64.store $drop=, 18($0):p2align=0, $pop0 - i64.const $push10=, 999 - i64.store $push1=, 40($0):p2align=0, $pop10 - i64.store $drop=, 48($0):p2align=0, $pop1 - i64.const $push11=, 4311810305 - i64.store $push2=, 70($0):p2align=0, $pop11 - i64.store $drop=, 78($0):p2align=0, $pop2 + i32.const $push0=, 94 + i32.call $push16=, malloc@FUNCTION, $pop0 + tee_local $push15=, $3=, $pop16 + i32.const $push1=, 4 + i32.add $push2=, $pop15, $pop1 + i32.const $push4=, 0 + i32.const $push3=, 90 + i32.call $drop=, memset@FUNCTION, $pop2, $pop4, $pop3 + i64.const $push5=, 555 + i64.store $0=, 10($3):p2align=0, $pop5 + i32.const $push6=, 3 + i32.store $drop=, 0($3):p2align=0, $pop6 + i64.const $push7=, 999 + i64.store $1=, 40($3):p2align=0, $pop7 + i64.const $push8=, 4311810305 + i64.store $2=, 70($3):p2align=0, $pop8 + i64.store $drop=, 18($3):p2align=0, $0 + i64.store $drop=, 48($3):p2align=0, $1 + i64.store $drop=, 78($3):p2align=0, $2 block - i64.call $push12=, Sum@FUNCTION, $0 - i64.const $push17=, 4311811859 - i64.ne $push13=, $pop12, $pop17 - br_if 0, $pop13 # 0: down to label6 + i64.call $push9=, Sum@FUNCTION, $3 + i64.const $push14=, 4311811859 + i64.ne $push10=, $pop9, $pop14 + br_if 0, $pop10 # 0: down to label6 # BB#1: # %if.end - i64.call $push14=, Sum2@FUNCTION, $0 - i64.const $push20=, 4311811859 - i64.ne $push15=, $pop14, $pop20 - br_if 0, $pop15 # 0: down to label6 + i64.call $push11=, Sum2@FUNCTION, $3 + i64.const $push17=, 4311811859 + i64.ne $push12=, $pop11, $pop17 + br_if 0, $pop12 # 0: down to label6 # BB#2: # %if.end25 - i32.const $push16=, 0 - return $pop16 + i32.const $push13=, 0 + return $pop13 .LBB2_3: # %if.then24 end_block # label6: call abort@FUNCTION diff --git a/test/torture-s/20051215-1.c.s b/test/torture-s/20051215-1.c.s index f7e7c1d6b..7832170d7 100644 --- a/test/torture-s/20051215-1.c.s +++ b/test/torture-s/20051215-1.c.s @@ -22,8 +22,8 @@ foo: # @foo # =>This Inner Loop Header: Depth=1 loop # label1: block - i32.eqz $push10=, $2 - br_if 0, $pop10 # 0: down to label3 + i32.eqz $push12=, $2 + br_if 0, $pop12 # 0: down to label3 # BB#3: # %if.then # in Loop: Header=BB0_2 Depth=1 i32.load $push1=, 0($2) @@ -32,19 +32,21 @@ foo: # @foo # in Loop: Header=BB0_2 Depth=1 end_block # label3: i32.mul $push3=, $4, $0 - i32.const $push9=, 0 - i32.const $push8=, 0 - i32.gt_s $push2=, $0, $pop8 - i32.select $push4=, $pop3, $pop9, $pop2 + i32.const $push11=, 0 + i32.const $push10=, 0 + i32.gt_s $push2=, $0, $pop10 + i32.select $push4=, $pop3, $pop11, $pop2 i32.add $5=, $5, $pop4 - i32.const $push7=, 1 - i32.add $3=, $3, $pop7 - i32.ne $push5=, $1, $3 + i32.const $push9=, 1 + i32.add $push8=, $3, $pop9 + tee_local $push7=, $3=, $pop8 + i32.ne $push5=, $1, $pop7 br_if 0, $pop5 # 0: up to label1 .LBB0_5: # %for.end6 end_loop # label2: end_block # label0: - return $5 + copy_local $push13=, $5 + # fallthrough-return: $pop13 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20060102-1.c.s b/test/torture-s/20060102-1.c.s index 9963ae959..207f71b7e 100644 --- a/test/torture-s/20060102-1.c.s +++ b/test/torture-s/20060102-1.c.s @@ -12,7 +12,7 @@ f: # @f i32.shr_s $push1=, $0, $pop0 i32.const $push2=, 1 i32.or $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/20060110-1.c.s b/test/torture-s/20060110-1.c.s index e9b70b898..159f1f5ec 100644 --- a/test/torture-s/20060110-1.c.s +++ b/test/torture-s/20060110-1.c.s @@ -12,7 +12,7 @@ f: # @f i64.shl $push1=, $0, $pop0 i64.const $push3=, 32 i64.shr_s $push2=, $pop1, $pop3 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -26,10 +26,10 @@ main: # @main # BB#0: # %entry block i32.const $push4=, 0 - i64.load32_s $push0=, a($pop4) + i64.load32_s $push1=, a($pop4) i32.const $push3=, 0 - i64.load $push1=, b($pop3) - i64.ne $push2=, $pop0, $pop1 + i64.load $push0=, b($pop3) + i64.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push5=, 0 diff --git a/test/torture-s/20060110-2.c.s b/test/torture-s/20060110-2.c.s index 229692267..99dec9a34 100644 --- a/test/torture-s/20060110-2.c.s +++ b/test/torture-s/20060110-2.c.s @@ -13,7 +13,7 @@ f: # @f i64.shl $push2=, $pop0, $pop1 i64.const $push4=, 32 i64.shr_s $push3=, $pop2, $pop4 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/20060412-1.c.s b/test/torture-s/20060412-1.c.s index 5273b567d..b8c72f1bc 100644 --- a/test/torture-s/20060412-1.c.s +++ b/test/torture-s/20060412-1.c.s @@ -14,7 +14,7 @@ main: # @main i32.const $push4=, 0 i32.const $push5=, 0 i32.store $push0=, t+4($pop4), $pop5 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20060420-1.c.s b/test/torture-s/20060420-1.c.s index b179011ac..77e10b6d2 100644 --- a/test/torture-s/20060420-1.c.s +++ b/test/torture-s/20060420-1.c.s @@ -6,322 +6,331 @@ .type foo,@function foo: # @foo .param i32, i32, i32, i32 - .local i32, i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32 # BB#0: # %entry - i32.const $7=, 0 + i32.const $10=, 0 block - i32.const $push82=, 1 - i32.lt_s $push0=, $3, $pop82 - br_if 0, $pop0 # 0: down to label0 + i32.const $push85=, 1 + i32.lt_s $push3=, $3, $pop85 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %land.rhs.lr.ph - i32.const $push84=, 4 - i32.add $27=, $1, $pop84 - i32.const $push83=, -1 - i32.add $26=, $2, $pop83 - i32.const $7=, 0 + i32.const $push87=, -1 + i32.add $8=, $2, $pop87 + i32.const $push86=, 4 + i32.add $4=, $1, $pop86 + i32.const $10=, 0 .LBB0_2: # %land.rhs # =>This Loop Header: Depth=1 # Child Loop BB0_5 Depth 2 loop # label1: - i32.add $push1=, $7, $0 - i32.const $push85=, 15 - i32.and $push2=, $pop1, $pop85 - i32.eqz $push156=, $pop2 - br_if 1, $pop156 # 1: down to label2 + i32.add $push4=, $10, $0 + i32.const $push88=, 15 + i32.and $push5=, $pop4, $pop88 + i32.eqz $push171=, $pop5 + br_if 1, $pop171 # 1: down to label2 # BB#3: # %for.body # in Loop: Header=BB0_2 Depth=1 - i32.load $push3=, 0($1) - i32.const $push89=, 2 - i32.shl $push88=, $7, $pop89 - tee_local $push87=, $9=, $pop88 - i32.add $push4=, $pop3, $pop87 - f32.load $25=, 0($pop4) + i32.load $push7=, 0($1) + i32.const $push92=, 2 + i32.shl $push91=, $10, $pop92 + tee_local $push90=, $11=, $pop91 + i32.add $push8=, $pop7, $pop90 + f32.load $13=, 0($pop8) block - i32.const $push86=, 2 - i32.lt_s $push5=, $2, $pop86 - br_if 0, $pop5 # 0: down to label3 + i32.const $push89=, 2 + i32.lt_s $push6=, $2, $pop89 + br_if 0, $pop6 # 0: down to label3 # BB#4: # %for.body4.preheader # in Loop: Header=BB0_2 Depth=1 - copy_local $28=, $26 - copy_local $8=, $27 + copy_local $12=, $8 + copy_local $9=, $4 .LBB0_5: # %for.body4 # Parent Loop BB0_2 Depth=1 # => This Inner Loop Header: Depth=2 loop # label4: - i32.load $push6=, 0($8) - i32.add $push7=, $pop6, $9 - f32.load $push8=, 0($pop7) - f32.add $25=, $25, $pop8 - i32.const $push91=, 4 - i32.add $8=, $8, $pop91 - i32.const $push90=, -1 - i32.add $28=, $28, $pop90 - br_if 0, $28 # 0: up to label4 + i32.load $push9=, 0($9) + i32.add $push10=, $pop9, $11 + f32.load $push11=, 0($pop10) + f32.add $13=, $13, $pop11 + i32.const $push96=, 4 + i32.add $push0=, $9, $pop96 + copy_local $9=, $pop0 + i32.const $push95=, -1 + i32.add $push94=, $12, $pop95 + tee_local $push93=, $12=, $pop94 + br_if 0, $pop93 # 0: up to label4 .LBB0_6: # %for.end # in Loop: Header=BB0_2 Depth=1 end_loop # label5: end_block # label3: - i32.add $push9=, $0, $9 - f32.store $drop=, 0($pop9), $25 - i32.const $push92=, 1 - i32.add $7=, $7, $pop92 - i32.lt_s $push10=, $7, $3 - br_if 0, $pop10 # 0: up to label1 + i32.add $push12=, $0, $11 + f32.store $drop=, 0($pop12), $13 + i32.const $push99=, 1 + i32.add $push98=, $10, $pop99 + tee_local $push97=, $10=, $pop98 + i32.lt_s $push13=, $pop97, $3 + br_if 0, $pop13 # 0: up to label1 .LBB0_7: # %for.cond12.preheader end_loop # label2: end_block # label0: block - i32.const $push11=, -15 - i32.add $push94=, $3, $pop11 - tee_local $push93=, $26=, $pop94 - i32.ge_s $push12=, $7, $pop93 - br_if 0, $pop12 # 0: down to label6 + i32.const $push14=, -15 + i32.add $push101=, $3, $pop14 + tee_local $push100=, $4=, $pop101 + i32.ge_s $push15=, $10, $pop100 + br_if 0, $pop15 # 0: down to label6 # BB#8: # %for.body15.lr.ph - i32.const $push13=, -16 - i32.add $push14=, $3, $pop13 - i32.sub $push15=, $pop14, $7 - i32.const $push97=, -16 - i32.and $push16=, $pop15, $pop97 - i32.add $4=, $7, $pop16 - i32.const $push96=, 4 - i32.add $5=, $1, $pop96 - i32.const $push95=, -1 - i32.add $6=, $2, $pop95 + i32.const $push104=, -1 + i32.add $7=, $2, $pop104 + i32.const $push103=, 4 + i32.add $6=, $1, $pop103 + i32.const $push16=, -16 + i32.add $push17=, $3, $pop16 + i32.sub $push18=, $pop17, $10 + i32.const $push102=, -16 + i32.and $push19=, $pop18, $pop102 + i32.add $5=, $10, $pop19 .LBB0_9: # %for.body15 # =>This Loop Header: Depth=1 # Child Loop BB0_11 Depth 2 loop # label7: - i32.load $push17=, 0($1) - i32.const $push115=, 2 - i32.shl $push114=, $7, $pop115 - tee_local $push113=, $27=, $pop114 - i32.add $push112=, $pop17, $pop113 - tee_local $push111=, $28=, $pop112 - i32.const $push110=, 12 - i32.add $push18=, $pop111, $pop110 - f32.load $25=, 0($pop18) - i32.const $push109=, 8 - i32.add $push19=, $28, $pop109 - f32.load $24=, 0($pop19) - i32.const $push108=, 4 - i32.add $push20=, $28, $pop108 - f32.load $23=, 0($pop20) - i32.const $push107=, 28 - i32.add $push21=, $28, $pop107 - f32.load $21=, 0($pop21) - i32.const $push106=, 24 - i32.add $push22=, $28, $pop106 - f32.load $20=, 0($pop22) - i32.const $push105=, 20 - i32.add $push23=, $28, $pop105 - f32.load $19=, 0($pop23) - i32.const $push104=, 44 - i32.add $push24=, $28, $pop104 - f32.load $17=, 0($pop24) - i32.const $push103=, 40 - i32.add $push25=, $28, $pop103 - f32.load $16=, 0($pop25) - i32.const $push102=, 36 - i32.add $push26=, $28, $pop102 - f32.load $15=, 0($pop26) - f32.load $22=, 0($28) - f32.load $18=, 16($28) - f32.load $14=, 32($28) - f32.load $10=, 48($28) - i32.const $push101=, 60 - i32.add $push27=, $28, $pop101 - f32.load $13=, 0($pop27) - i32.const $push100=, 56 - i32.add $push28=, $28, $pop100 - f32.load $12=, 0($pop28) - i32.const $push99=, 52 - i32.add $push29=, $28, $pop99 - f32.load $11=, 0($pop29) + i32.load $push21=, 0($1) + i32.const $push122=, 2 + i32.shl $push121=, $10, $pop122 + tee_local $push120=, $8=, $pop121 + i32.add $push119=, $pop21, $pop120 + tee_local $push118=, $9=, $pop119 + f32.load $13=, 48($pop118) + f32.load $17=, 32($9) + f32.load $21=, 16($9) + f32.load $25=, 0($9) + i32.const $push117=, 60 + i32.add $push22=, $9, $pop117 + f32.load $16=, 0($pop22) + i32.const $push116=, 56 + i32.add $push23=, $9, $pop116 + f32.load $15=, 0($pop23) + i32.const $push115=, 52 + i32.add $push24=, $9, $pop115 + f32.load $14=, 0($pop24) + i32.const $push114=, 44 + i32.add $push25=, $9, $pop114 + f32.load $20=, 0($pop25) + i32.const $push113=, 40 + i32.add $push26=, $9, $pop113 + f32.load $19=, 0($pop26) + i32.const $push112=, 36 + i32.add $push27=, $9, $pop112 + f32.load $18=, 0($pop27) + i32.const $push111=, 28 + i32.add $push28=, $9, $pop111 + f32.load $24=, 0($pop28) + i32.const $push110=, 24 + i32.add $push29=, $9, $pop110 + f32.load $23=, 0($pop29) + i32.const $push109=, 20 + i32.add $push30=, $9, $pop109 + f32.load $22=, 0($pop30) + i32.const $push108=, 12 + i32.add $push31=, $9, $pop108 + f32.load $28=, 0($pop31) + i32.const $push107=, 8 + i32.add $push32=, $9, $pop107 + f32.load $27=, 0($pop32) + i32.const $push106=, 4 + i32.add $push33=, $9, $pop106 + f32.load $26=, 0($pop33) block - i32.const $push98=, 2 - i32.lt_s $push30=, $2, $pop98 - br_if 0, $pop30 # 0: down to label9 + i32.const $push105=, 2 + i32.lt_s $push20=, $2, $pop105 + br_if 0, $pop20 # 0: down to label9 # BB#10: # %for.body33.preheader # in Loop: Header=BB0_9 Depth=1 - copy_local $8=, $6 - copy_local $9=, $5 + copy_local $11=, $7 + copy_local $12=, $6 .LBB0_11: # %for.body33 # Parent Loop BB0_9 Depth=1 # => This Inner Loop Header: Depth=2 loop # label10: - i32.load $push31=, 0($9) - i32.add $push131=, $pop31, $27 - tee_local $push130=, $28=, $pop131 - f32.load $push38=, 0($pop130) - f32.add $22=, $22, $pop38 + i32.load $push34=, 0($12) + i32.add $push140=, $pop34, $8 + tee_local $push139=, $9=, $pop140 + f32.load $push35=, 48($pop139) + f32.add $13=, $13, $pop35 + f32.load $push36=, 32($9) + f32.add $17=, $17, $pop36 + f32.load $push37=, 16($9) + f32.add $21=, $21, $pop37 + f32.load $push38=, 0($9) + f32.add $25=, $25, $pop38 + i32.const $push138=, 60 + i32.add $push39=, $9, $pop138 + f32.load $push40=, 0($pop39) + f32.add $16=, $16, $pop40 + i32.const $push137=, 56 + i32.add $push41=, $9, $pop137 + f32.load $push42=, 0($pop41) + f32.add $15=, $15, $pop42 + i32.const $push136=, 52 + i32.add $push43=, $9, $pop136 + f32.load $push44=, 0($pop43) + f32.add $14=, $14, $pop44 + i32.const $push135=, 44 + i32.add $push45=, $9, $pop135 + f32.load $push46=, 0($pop45) + f32.add $20=, $20, $pop46 + i32.const $push134=, 40 + i32.add $push47=, $9, $pop134 + f32.load $push48=, 0($pop47) + f32.add $19=, $19, $pop48 + i32.const $push133=, 36 + i32.add $push49=, $9, $pop133 + f32.load $push50=, 0($pop49) + f32.add $18=, $18, $pop50 + i32.const $push132=, 28 + i32.add $push51=, $9, $pop132 + f32.load $push52=, 0($pop51) + f32.add $24=, $24, $pop52 + i32.const $push131=, 24 + i32.add $push53=, $9, $pop131 + f32.load $push54=, 0($pop53) + f32.add $23=, $23, $pop54 + i32.const $push130=, 20 + i32.add $push55=, $9, $pop130 + f32.load $push56=, 0($pop55) + f32.add $22=, $22, $pop56 i32.const $push129=, 12 - i32.add $push36=, $28, $pop129 - f32.load $push37=, 0($pop36) - f32.add $25=, $25, $pop37 + i32.add $push57=, $9, $pop129 + f32.load $push58=, 0($pop57) + f32.add $28=, $28, $pop58 i32.const $push128=, 8 - i32.add $push34=, $28, $pop128 - f32.load $push35=, 0($pop34) - f32.add $24=, $24, $pop35 + i32.add $push59=, $9, $pop128 + f32.load $push60=, 0($pop59) + f32.add $27=, $27, $pop60 i32.const $push127=, 4 - i32.add $push32=, $28, $pop127 - f32.load $push33=, 0($pop32) - f32.add $23=, $23, $pop33 - f32.load $push45=, 16($28) - f32.add $18=, $18, $pop45 - i32.const $push126=, 28 - i32.add $push43=, $28, $pop126 - f32.load $push44=, 0($pop43) - f32.add $21=, $21, $pop44 - i32.const $push125=, 24 - i32.add $push41=, $28, $pop125 - f32.load $push42=, 0($pop41) - f32.add $20=, $20, $pop42 - i32.const $push124=, 20 - i32.add $push39=, $28, $pop124 - f32.load $push40=, 0($pop39) - f32.add $19=, $19, $pop40 - f32.load $push52=, 32($28) - f32.add $14=, $14, $pop52 - i32.const $push123=, 44 - i32.add $push50=, $28, $pop123 - f32.load $push51=, 0($pop50) - f32.add $17=, $17, $pop51 - i32.const $push122=, 40 - i32.add $push48=, $28, $pop122 - f32.load $push49=, 0($pop48) - f32.add $16=, $16, $pop49 - i32.const $push121=, 36 - i32.add $push46=, $28, $pop121 - f32.load $push47=, 0($pop46) - f32.add $15=, $15, $pop47 - f32.load $push59=, 48($28) - f32.add $10=, $10, $pop59 - i32.const $push120=, 60 - i32.add $push57=, $28, $pop120 - f32.load $push58=, 0($pop57) - f32.add $13=, $13, $pop58 - i32.const $push119=, 56 - i32.add $push55=, $28, $pop119 - f32.load $push56=, 0($pop55) - f32.add $12=, $12, $pop56 - i32.const $push118=, 52 - i32.add $push53=, $28, $pop118 - f32.load $push54=, 0($pop53) - f32.add $11=, $11, $pop54 - i32.const $push117=, 4 - i32.add $9=, $9, $pop117 - i32.const $push116=, -1 - i32.add $8=, $8, $pop116 - br_if 0, $8 # 0: up to label10 + i32.add $push61=, $9, $pop127 + f32.load $push62=, 0($pop61) + f32.add $26=, $26, $pop62 + i32.const $push126=, 4 + i32.add $push1=, $12, $pop126 + copy_local $12=, $pop1 + i32.const $push125=, -1 + i32.add $push124=, $11, $pop125 + tee_local $push123=, $11=, $pop124 + br_if 0, $pop123 # 0: up to label10 .LBB0_12: # %for.end56 # in Loop: Header=BB0_9 Depth=1 end_loop # label11: end_block # label9: - i32.add $push146=, $0, $27 - tee_local $push145=, $28=, $pop146 - f32.store $drop=, 0($pop145), $22 - i32.const $push144=, 12 - i32.add $push60=, $28, $pop144 - f32.store $drop=, 0($pop60), $25 - i32.const $push143=, 8 - i32.add $push61=, $28, $pop143 - f32.store $drop=, 0($pop61), $24 - i32.const $push142=, 4 - i32.add $push62=, $28, $pop142 - f32.store $drop=, 0($pop62), $23 - f32.store $drop=, 16($28), $18 - i32.const $push141=, 28 - i32.add $push63=, $28, $pop141 - f32.store $drop=, 0($pop63), $21 - i32.const $push140=, 24 - i32.add $push64=, $28, $pop140 - f32.store $drop=, 0($pop64), $20 - i32.const $push139=, 20 - i32.add $push65=, $28, $pop139 - f32.store $drop=, 0($pop65), $19 - f32.store $drop=, 32($28), $14 - i32.const $push138=, 44 - i32.add $push66=, $28, $pop138 - f32.store $drop=, 0($pop66), $17 - i32.const $push137=, 40 - i32.add $push67=, $28, $pop137 - f32.store $drop=, 0($pop67), $16 - i32.const $push136=, 36 - i32.add $push68=, $28, $pop136 - f32.store $drop=, 0($pop68), $15 - f32.store $drop=, 48($28), $10 - i32.const $push135=, 60 - i32.add $push69=, $28, $pop135 - f32.store $drop=, 0($pop69), $13 - i32.const $push134=, 56 - i32.add $push70=, $28, $pop134 - f32.store $drop=, 0($pop70), $12 - i32.const $push133=, 52 - i32.add $push71=, $28, $pop133 - f32.store $drop=, 0($pop71), $11 - i32.const $push132=, 16 - i32.add $7=, $7, $pop132 - i32.lt_s $push72=, $7, $26 - br_if 0, $pop72 # 0: up to label7 + i32.add $push157=, $0, $8 + tee_local $push156=, $9=, $pop157 + f32.store $drop=, 16($pop156), $21 + f32.store $drop=, 0($9), $25 + f32.store $drop=, 32($9), $17 + f32.store $drop=, 48($9), $13 + i32.const $push155=, 28 + i32.add $push63=, $9, $pop155 + f32.store $drop=, 0($pop63), $24 + i32.const $push154=, 24 + i32.add $push64=, $9, $pop154 + f32.store $drop=, 0($pop64), $23 + i32.const $push153=, 20 + i32.add $push65=, $9, $pop153 + f32.store $drop=, 0($pop65), $22 + i32.const $push152=, 12 + i32.add $push66=, $9, $pop152 + f32.store $drop=, 0($pop66), $28 + i32.const $push151=, 8 + i32.add $push67=, $9, $pop151 + f32.store $drop=, 0($pop67), $27 + i32.const $push150=, 4 + i32.add $push68=, $9, $pop150 + f32.store $drop=, 0($pop68), $26 + i32.const $push149=, 44 + i32.add $push69=, $9, $pop149 + f32.store $drop=, 0($pop69), $20 + i32.const $push148=, 40 + i32.add $push70=, $9, $pop148 + f32.store $drop=, 0($pop70), $19 + i32.const $push147=, 36 + i32.add $push71=, $9, $pop147 + f32.store $drop=, 0($pop71), $18 + i32.const $push146=, 60 + i32.add $push72=, $9, $pop146 + f32.store $drop=, 0($pop72), $16 + i32.const $push145=, 56 + i32.add $push73=, $9, $pop145 + f32.store $drop=, 0($pop73), $15 + i32.const $push144=, 52 + i32.add $push74=, $9, $pop144 + f32.store $drop=, 0($pop74), $14 + i32.const $push143=, 16 + i32.add $push142=, $10, $pop143 + tee_local $push141=, $10=, $pop142 + i32.lt_s $push75=, $pop141, $4 + br_if 0, $pop75 # 0: up to label7 # BB#13: # %for.cond73.preheader.loopexit end_loop # label8: - i32.const $push73=, 16 - i32.add $7=, $4, $pop73 + i32.const $push76=, 16 + i32.add $10=, $5, $pop76 .LBB0_14: # %for.cond73.preheader end_block # label6: block - i32.ge_s $push74=, $7, $3 - br_if 0, $pop74 # 0: down to label12 + i32.ge_s $push77=, $10, $3 + br_if 0, $pop77 # 0: down to label12 # BB#15: # %for.body75.lr.ph - i32.load $27=, 0($1) - i32.const $push148=, 4 - i32.add $1=, $1, $pop148 - i32.const $push147=, -1 - i32.add $26=, $2, $pop147 + i32.const $push159=, -1 + i32.add $4=, $2, $pop159 + i32.const $push158=, 4 + i32.add $7=, $1, $pop158 + i32.load $8=, 0($1) .LBB0_16: # %for.body75 # =>This Loop Header: Depth=1 # Child Loop BB0_18 Depth 2 loop # label13: - i32.const $push152=, 2 - i32.shl $push151=, $7, $pop152 - tee_local $push150=, $9=, $pop151 - i32.add $push75=, $27, $pop150 - f32.load $25=, 0($pop75) + i32.const $push163=, 2 + i32.shl $push162=, $10, $pop163 + tee_local $push161=, $11=, $pop162 + i32.add $push79=, $8, $pop161 + f32.load $13=, 0($pop79) block - i32.const $push149=, 2 - i32.lt_s $push76=, $2, $pop149 - br_if 0, $pop76 # 0: down to label15 + i32.const $push160=, 2 + i32.lt_s $push78=, $2, $pop160 + br_if 0, $pop78 # 0: down to label15 # BB#17: # %for.body81.preheader # in Loop: Header=BB0_16 Depth=1 - copy_local $28=, $26 - copy_local $8=, $1 + copy_local $12=, $4 + copy_local $9=, $7 .LBB0_18: # %for.body81 # Parent Loop BB0_16 Depth=1 # => This Inner Loop Header: Depth=2 loop # label16: - i32.load $push77=, 0($8) - i32.add $push78=, $pop77, $9 - f32.load $push79=, 0($pop78) - f32.add $25=, $25, $pop79 - i32.const $push154=, 4 - i32.add $8=, $8, $pop154 - i32.const $push153=, -1 - i32.add $28=, $28, $pop153 - br_if 0, $28 # 0: up to label16 + i32.load $push80=, 0($9) + i32.add $push81=, $pop80, $11 + f32.load $push82=, 0($pop81) + f32.add $13=, $13, $pop82 + i32.const $push167=, 4 + i32.add $push2=, $9, $pop167 + copy_local $9=, $pop2 + i32.const $push166=, -1 + i32.add $push165=, $12, $pop166 + tee_local $push164=, $12=, $pop165 + br_if 0, $pop164 # 0: up to label16 .LBB0_19: # %for.end87 # in Loop: Header=BB0_16 Depth=1 end_loop # label17: end_block # label15: - i32.add $push80=, $0, $9 - f32.store $drop=, 0($pop80), $25 - i32.const $push155=, 1 - i32.add $7=, $7, $pop155 - i32.ne $push81=, $7, $3 - br_if 0, $pop81 # 0: up to label13 + i32.add $push83=, $0, $11 + f32.store $drop=, 0($pop83), $13 + i32.const $push170=, 1 + i32.add $push169=, $10, $pop170 + tee_local $push168=, $10=, $pop169 + i32.ne $push84=, $pop168, $3 + br_if 0, $pop84 # 0: up to label13 .LBB0_20: # %for.end91 end_loop # label14: end_block # label12: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -332,97 +341,100 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local f32, i32, i32, i32 + .local i32, f32, i32, i32 # BB#0: # %entry - i32.const $1=, 0 - i32.const $push30=, __stack_pointer - i32.const $push27=, __stack_pointer - i32.load $push28=, 0($pop27) + i32.const $3=, 0 + i32.const $push30=, 0 + i32.const $push27=, 0 + i32.load $push28=, __stack_pointer($pop27) i32.const $push29=, 16 i32.sub $push36=, $pop28, $pop29 - i32.store $push43=, 0($pop30), $pop36 - tee_local $push42=, $3=, $pop43 + i32.store $push43=, __stack_pointer($pop30), $pop36 + tee_local $push42=, $0=, $pop43 i32.const $push41=, 0 i32.const $push0=, buffer i32.sub $push1=, $pop41, $pop0 i32.const $push2=, 63 i32.and $push40=, $pop1, $pop2 tee_local $push39=, $2=, $pop40 - i32.const $push4=, buffer+128 - i32.add $push5=, $pop39, $pop4 - i32.store $drop=, 12($pop42), $pop5 - i32.const $push3=, buffer+64 - i32.add $push38=, $2, $pop3 + i32.const $push3=, buffer+128 + i32.add $push4=, $pop39, $pop3 + i32.store $drop=, 12($pop42), $pop4 + i32.const $push5=, buffer+64 + i32.add $push38=, $2, $pop5 tee_local $push37=, $2=, $pop38 - i32.store $drop=, 8($3), $pop37 + i32.store $drop=, 8($0), $pop37 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label18: - f32.convert_s/i32 $0=, $1 - i32.const $push49=, 64 - i32.add $push10=, $2, $pop49 - f32.const $push48=, 0x1.8p3 - f32.mul $push8=, $0, $pop48 - f32.add $push9=, $0, $pop8 - f32.store $drop=, 0($pop10), $pop9 - f32.const $push47=, 0x1.6p3 - f32.mul $push6=, $0, $pop47 - f32.add $push7=, $0, $pop6 - f32.store $drop=, 0($2), $pop7 - i32.const $push46=, 1 - i32.add $1=, $1, $pop46 - i32.const $push45=, 4 - i32.add $2=, $2, $pop45 + i32.const $push53=, 64 + i32.add $push6=, $2, $pop53 + f32.convert_s/i32 $push52=, $3 + tee_local $push51=, $1=, $pop52 + f32.const $push50=, 0x1.8p3 + f32.mul $push7=, $1, $pop50 + f32.add $push8=, $pop51, $pop7 + f32.store $drop=, 0($pop6), $pop8 + f32.const $push49=, 0x1.6p3 + f32.mul $push9=, $1, $pop49 + f32.add $push10=, $1, $pop9 + f32.store $drop=, 0($2), $pop10 + i32.const $push48=, 4 + i32.add $2=, $2, $pop48 + i32.const $push47=, 1 + i32.add $push46=, $3, $pop47 + tee_local $push45=, $3=, $pop46 i32.const $push44=, 16 - i32.ne $push11=, $1, $pop44 + i32.ne $push11=, $pop45, $pop44 br_if 0, $pop11 # 0: up to label18 # BB#2: # %for.end end_loop # label19: - i32.const $1=, 0 - i32.const $push53=, 0 + i32.const $2=, 0 + i32.const $push57=, 0 i32.const $push12=, buffer - i32.sub $push13=, $pop53, $pop12 + i32.sub $push13=, $pop57, $pop12 i32.const $push14=, 63 i32.and $push15=, $pop13, $pop14 - i32.const $push52=, buffer - i32.add $push51=, $pop15, $pop52 - tee_local $push50=, $2=, $pop51 + i32.const $push56=, buffer + i32.add $push55=, $pop15, $pop56 + tee_local $push54=, $3=, $pop55 i32.const $push34=, 8 - i32.add $push35=, $3, $pop34 + i32.add $push35=, $0, $pop34 i32.const $push17=, 2 i32.const $push16=, 16 - call foo@FUNCTION, $pop50, $pop35, $pop17, $pop16 + call foo@FUNCTION, $pop54, $pop35, $pop17, $pop16 .LBB1_3: # %for.body16 # =>This Inner Loop Header: Depth=1 block loop # label21: - f32.load $push23=, 0($2) - f32.convert_s/i32 $push57=, $1 - tee_local $push56=, $0=, $pop57 - f32.const $push55=, 0x1.8p3 - f32.mul $push21=, $pop56, $pop55 - f32.const $push54=, 0x1.6p3 - f32.mul $push18=, $0, $pop54 - f32.add $push19=, $0, $pop18 - f32.add $push20=, $0, $pop19 - f32.add $push22=, $pop21, $pop20 + f32.load $push23=, 0($3) + f32.convert_s/i32 $push61=, $2 + tee_local $push60=, $1=, $pop61 + f32.const $push59=, 0x1.8p3 + f32.mul $push18=, $pop60, $pop59 + f32.const $push58=, 0x1.6p3 + f32.mul $push19=, $1, $pop58 + f32.add $push20=, $1, $pop19 + f32.add $push21=, $1, $pop20 + f32.add $push22=, $pop18, $pop21 f32.ne $push24=, $pop23, $pop22 br_if 2, $pop24 # 2: down to label20 # BB#4: # %for.cond13 # in Loop: Header=BB1_3 Depth=1 - i32.const $push60=, 1 - i32.add $1=, $1, $pop60 - i32.const $push59=, 4 - i32.add $2=, $2, $pop59 - i32.const $push58=, 15 - i32.le_s $push25=, $1, $pop58 + i32.const $push66=, 4 + i32.add $3=, $3, $pop66 + i32.const $push65=, 1 + i32.add $push64=, $2, $pop65 + tee_local $push63=, $2=, $pop64 + i32.const $push62=, 15 + i32.le_s $push25=, $pop63, $pop62 br_if 0, $pop25 # 0: up to label21 # BB#5: # %for.end31 end_loop # label22: - i32.const $push33=, __stack_pointer + i32.const $push33=, 0 i32.const $push31=, 16 - i32.add $push32=, $3, $pop31 - i32.store $drop=, 0($pop33), $pop32 + i32.add $push32=, $0, $pop31 + i32.store $drop=, __stack_pointer($pop33), $pop32 i32.const $push26=, 0 return $pop26 .LBB1_6: # %if.then diff --git a/test/torture-s/20060905-1.c.s b/test/torture-s/20060905-1.c.s index 55fb60778..a84a28201 100644 --- a/test/torture-s/20060905-1.c.s +++ b/test/torture-s/20060905-1.c.s @@ -28,12 +28,13 @@ main: # @main .LBB0_3: # %for.inc.i # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.const $push11=, 1 - i32.add $2=, $2, $pop11 - i32.const $push10=, 3 - i32.add $0=, $0, $pop10 + i32.const $push13=, 3 + i32.add $0=, $0, $pop13 + i32.const $push12=, 1 + i32.add $push11=, $2, $pop12 + tee_local $push10=, $2=, $pop11 i32.const $push9=, 256 - i32.ne $push2=, $2, $pop9 + i32.ne $push2=, $pop10, $pop9 br_if 0, $pop2 # 0: up to label0 # BB#4: # %foo.exit end_loop # label1: diff --git a/test/torture-s/20060910-1.c.s b/test/torture-s/20060910-1.c.s index 53c12a99b..585b2365a 100644 --- a/test/torture-s/20060910-1.c.s +++ b/test/torture-s/20060910-1.c.s @@ -9,7 +9,7 @@ input_getc_complicated: # @input_getc_complicated .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size input_getc_complicated, .Lfunc_end0-input_getc_complicated @@ -32,8 +32,9 @@ check_header: # @check_header br_if 0, $pop0 # 0: down to label0 # BB#1: # %cond.true i32.const $push1=, 1 - i32.add $2=, $2, $pop1 - i32.store $drop=, 0($0), $2 + i32.add $push19=, $2, $pop1 + tee_local $push18=, $2=, $pop19 + i32.store $drop=, 0($0), $pop18 .LBB1_2: # %for.inc end_block # label0: block @@ -41,8 +42,9 @@ check_header: # @check_header br_if 0, $pop2 # 0: down to label1 # BB#3: # %cond.true.1 i32.const $push3=, 1 - i32.add $2=, $2, $pop3 - i32.store $drop=, 0($0), $2 + i32.add $push21=, $2, $pop3 + tee_local $push20=, $2=, $pop21 + i32.store $drop=, 0($0), $pop20 .LBB1_4: # %for.inc.1 end_block # label1: block @@ -50,8 +52,9 @@ check_header: # @check_header br_if 0, $pop4 # 0: down to label2 # BB#5: # %cond.true.2 i32.const $push5=, 1 - i32.add $2=, $2, $pop5 - i32.store $drop=, 0($0), $2 + i32.add $push23=, $2, $pop5 + tee_local $push22=, $2=, $pop23 + i32.store $drop=, 0($0), $pop22 .LBB1_6: # %for.inc.2 end_block # label2: block @@ -59,8 +62,9 @@ check_header: # @check_header br_if 0, $pop6 # 0: down to label3 # BB#7: # %cond.true.3 i32.const $push7=, 1 - i32.add $2=, $2, $pop7 - i32.store $drop=, 0($0), $2 + i32.add $push25=, $2, $pop7 + tee_local $push24=, $2=, $pop25 + i32.store $drop=, 0($0), $pop24 .LBB1_8: # %for.inc.3 end_block # label3: block @@ -68,8 +72,9 @@ check_header: # @check_header br_if 0, $pop8 # 0: down to label4 # BB#9: # %cond.true.4 i32.const $push9=, 1 - i32.add $2=, $2, $pop9 - i32.store $drop=, 0($0), $2 + i32.add $push27=, $2, $pop9 + tee_local $push26=, $2=, $pop27 + i32.store $drop=, 0($0), $pop26 .LBB1_10: # %for.inc.4 end_block # label4: block @@ -82,7 +87,7 @@ check_header: # @check_header .LBB1_12: # %for.inc.5 end_block # label5: i32.const $push13=, 1 - return $pop13 + # fallthrough-return: $pop13 .endfunc .Lfunc_end1: .size check_header, .Lfunc_end1-check_header @@ -97,10 +102,10 @@ main: # @main i32.const $push2=, 0 i32.const $push4=, 0 i32.const $push1=, b+6 - i32.store $push0=, s+4($pop4), $pop1 - i32.store $drop=, s($pop2), $pop0 + i32.store $push0=, s($pop4), $pop1 + i32.store $drop=, s+4($pop2), $pop0 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20060929-1.c.s b/test/torture-s/20060929-1.c.s index c95ec7f19..eca1862da 100644 --- a/test/torture-s/20060929-1.c.s +++ b/test/torture-s/20060929-1.c.s @@ -8,14 +8,14 @@ foo: # @foo .param i32, i32 .local i32 # BB#0: # %entry - i32.load $1=, 0($1) - i32.load $push3=, 0($0) - tee_local $push2=, $2=, $pop3 - i32.const $push0=, 4 - i32.add $push1=, $pop2, $pop0 - i32.store $drop=, 0($0), $pop1 - i32.store $drop=, 0($2), $1 - return + i32.load $push4=, 0($0) + tee_local $push3=, $2=, $pop4 + i32.load $push0=, 0($1) + i32.store $drop=, 0($pop3), $pop0 + i32.const $push1=, 4 + i32.add $push2=, $2, $pop1 + i32.store $drop=, 0($0), $pop2 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -35,7 +35,7 @@ bar: # @bar i32.const $push1=, 4 i32.add $push2=, $2, $pop1 i32.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -55,7 +55,7 @@ baz: # @baz i32.const $push1=, 4 i32.add $push2=, $2, $pop1 i32.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz @@ -68,7 +68,7 @@ main: # @main .result i32 # BB#0: # %if.end19 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/20060930-1.c.s b/test/torture-s/20060930-1.c.s index ee66c9624..3b65f79a0 100644 --- a/test/torture-s/20060930-1.c.s +++ b/test/torture-s/20060930-1.c.s @@ -50,13 +50,14 @@ foo: # @foo # =>This Inner Loop Header: Depth=1 loop # label2: i32.call $drop=, bar@FUNCTION, $1, $0 - i32.const $push13=, -1 - i32.add $1=, $1, $pop13 - br_if 0, $1 # 0: up to label2 + i32.const $push15=, -1 + i32.add $push14=, $1, $pop15 + tee_local $push13=, $1=, $pop14 + br_if 0, $pop13 # 0: up to label2 .LBB1_3: # %for.end end_loop # label3: end_block # label1: - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -72,7 +73,7 @@ main: # @main i32.const $push2=, 1 call foo@FUNCTION, $pop0, $pop2 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20060930-2.c.s b/test/torture-s/20060930-2.c.s index 719c17cbf..8da670a51 100644 --- a/test/torture-s/20060930-2.c.s +++ b/test/torture-s/20060930-2.c.s @@ -14,7 +14,7 @@ bar: # @bar i32.load $push2=, t($pop1) i32.store $drop=, 0($0), $pop2 i32.load $push3=, 0($1) - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar diff --git a/test/torture-s/20061031-1.c.s b/test/torture-s/20061031-1.c.s index 223940e31..bf4b33cb8 100644 --- a/test/torture-s/20061031-1.c.s +++ b/test/torture-s/20061031-1.c.s @@ -9,7 +9,7 @@ ff: # @ff # BB#0: # %entry #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end0: .size ff, .Lfunc_end0-ff @@ -46,7 +46,7 @@ f: # @f #NO_APP .LBB1_4: # %for.inc.1 end_block # label1: - return + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -61,7 +61,7 @@ main: # @main i32.const $push0=, -1 call f@FUNCTION, $pop0 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20061101-1.c.s b/test/torture-s/20061101-1.c.s index 32b0b9a25..f1652cacd 100644 --- a/test/torture-s/20061101-1.c.s +++ b/test/torture-s/20061101-1.c.s @@ -47,9 +47,9 @@ bug: # @bug # in Loop: Header=BB1_1 Depth=1 i32.const $3=, 0 i32.const $push10=, 1 - i32.add $push2=, $0, $pop10 - i32.lt_s $push3=, $0, $2 - i32.select $push9=, $pop2, $2, $pop3 + i32.add $push3=, $0, $pop10 + i32.lt_s $push2=, $0, $2 + i32.select $push9=, $pop3, $2, $pop2 tee_local $push8=, $0=, $pop9 i32.mul $push4=, $pop8, $1 i32.const $push7=, 36863 @@ -61,7 +61,7 @@ bug: # @bug unreachable .LBB1_4: # %while.end end_block # label1: - return + # fallthrough-return .endfunc .Lfunc_end1: .size bug, .Lfunc_end1-bug @@ -74,7 +74,7 @@ main: # @main .result i32 # BB#0: # %bug.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20061101-2.c.s b/test/torture-s/20061101-2.c.s index 921783fd1..e299a2884 100644 --- a/test/torture-s/20061101-2.c.s +++ b/test/torture-s/20061101-2.c.s @@ -47,9 +47,9 @@ bug: # @bug # in Loop: Header=BB1_1 Depth=1 i32.const $3=, 0 i32.const $push10=, 1 - i32.add $push2=, $0, $pop10 - i32.lt_s $push3=, $0, $2 - i32.select $push9=, $pop2, $2, $pop3 + i32.add $push3=, $0, $pop10 + i32.lt_s $push2=, $0, $2 + i32.select $push9=, $pop3, $2, $pop2 tee_local $push8=, $0=, $pop9 i32.mul $push4=, $pop8, $1 i32.const $push7=, 36863 @@ -61,7 +61,7 @@ bug: # @bug unreachable .LBB1_4: # %while.end end_block # label1: - return + # fallthrough-return .endfunc .Lfunc_end1: .size bug, .Lfunc_end1-bug @@ -74,7 +74,7 @@ main: # @main .result i32 # BB#0: # %bug.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20070201-1.c.s b/test/torture-s/20070201-1.c.s index 7760a2469..9b4d33cd6 100644 --- a/test/torture-s/20070201-1.c.s +++ b/test/torture-s/20070201-1.c.s @@ -9,23 +9,23 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push10=, $pop4, $pop5 - i32.store $push12=, 0($pop6), $pop10 + i32.store $push12=, __stack_pointer($pop6), $pop10 tee_local $push11=, $2=, $pop12 i32.store $drop=, 0($pop11), $1 - i32.const $push2=, .L.str - i32.call $drop=, sprintf@FUNCTION, $0, $pop2, $2 - i32.const $push9=, __stack_pointer + i32.const $push0=, .L.str + i32.call $drop=, sprintf@FUNCTION, $0, $pop0, $2 + i32.const $push9=, 0 i32.const $push7=, 16 i32.add $push8=, $2, $pop7 - i32.store $drop=, 0($pop9), $pop8 - i32.const $push0=, 1 - i32.add $push1=, $1, $pop0 - return $pop1 + i32.store $drop=, __stack_pointer($pop9), $pop8 + i32.const $push1=, 1 + i32.add $push2=, $1, $pop1 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -38,25 +38,26 @@ main: # @main .result i32 .local i32 # BB#0: # %if.end - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push13=, $pop5, $pop6 - i32.store $0=, 0($pop7), $pop13 + i32.store $push15=, __stack_pointer($pop7), $pop13 + tee_local $push14=, $0=, $pop15 i32.const $push0=, 12 i32.add $push1=, $0, $pop0 - i32.store $drop=, 0($0), $pop1 + i32.store $drop=, 0($pop14), $pop1 i32.const $push11=, 10 i32.add $push12=, $0, $pop11 i32.const $push2=, .L.str i32.call $drop=, sprintf@FUNCTION, $pop12, $pop2, $0 - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20070212-1.c.s b/test/torture-s/20070212-1.c.s index f7d2af378..5a8f9c31d 100644 --- a/test/torture-s/20070212-1.c.s +++ b/test/torture-s/20070212-1.c.s @@ -9,19 +9,19 @@ g: # @g .result i32 .local i32 # BB#0: # %entry - i32.const $push3=, __stack_pointer - i32.load $4=, 0($pop3) - i32.const $push1=, 0 - i32.store $drop=, 0($3), $pop1 + i32.const $push3=, 0 + i32.load $4=, __stack_pointer($pop3) + i32.const $push0=, 0 + i32.store $drop=, 0($3), $pop0 i32.const $push4=, 16 i32.sub $push8=, $4, $pop4 tee_local $push7=, $3=, $pop8 i32.store $drop=, 12($pop7), $0 i32.const $push5=, 12 i32.add $push6=, $3, $pop5 - i32.select $push0=, $pop6, $2, $1 - i32.load $push2=, 0($pop0) - return $pop2 + i32.select $push1=, $pop6, $2, $1 + i32.load $push2=, 0($pop1) + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -34,7 +34,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20070212-2.c.s b/test/torture-s/20070212-2.c.s index 19f21de8c..a34238c76 100644 --- a/test/torture-s/20070212-2.c.s +++ b/test/torture-s/20070212-2.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry i32.const $push0=, 0 i32.select $push1=, $pop0, $2, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -23,7 +23,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20070212-3.c.s b/test/torture-s/20070212-3.c.s index 585b6602f..f99225f4d 100644 --- a/test/torture-s/20070212-3.c.s +++ b/test/torture-s/20070212-3.c.s @@ -24,7 +24,7 @@ bar: # @bar .LBB0_2: # %if.end5 end_block # label0: i32.add $push3=, $1, $2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -37,7 +37,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20070517-1.c.s b/test/torture-s/20070517-1.c.s index ae7ebf8a0..b21a5573e 100644 --- a/test/torture-s/20070517-1.c.s +++ b/test/torture-s/20070517-1.c.s @@ -12,9 +12,9 @@ main: # @main block i32.call $push12=, get_kind@FUNCTION tee_local $push11=, $0=, $pop12 - i32.const $push2=, 10 - i32.gt_u $push3=, $pop11, $pop2 - br_if 0, $pop3 # 0: down to label1 + i32.const $push1=, 10 + i32.gt_u $push2=, $pop11, $pop1 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %entry i32.const $push4=, 1 i32.shl $push5=, $pop4, $0 @@ -23,8 +23,8 @@ main: # @main i32.eqz $push13=, $pop7 br_if 0, $pop13 # 0: down to label1 # BB#2: # %if.then.i - i32.const $push1=, -9 - i32.add $push0=, $0, $pop1 + i32.const $push3=, -9 + i32.add $push0=, $0, $pop3 i32.const $push8=, 2 i32.ge_u $push9=, $pop0, $pop8 br_if 1, $pop9 # 1: down to label0 @@ -46,15 +46,15 @@ get_kind: # @get_kind .result i32 .local i32 # BB#0: # %entry - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 tee_local $push5=, $0=, $pop6 i32.const $push0=, 10 i32.store $drop=, 12($pop5), $pop0 i32.load $push1=, 12($0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size get_kind, .Lfunc_end1-get_kind diff --git a/test/torture-s/20070614-1.c.s b/test/torture-s/20070614-1.c.s index b9f0760ba..a2c9c5ac2 100644 --- a/test/torture-s/20070614-1.c.s +++ b/test/torture-s/20070614-1.c.s @@ -8,10 +8,10 @@ foo: # @foo .param i32, i32 # BB#0: # %entry block - f64.load $push2=, 0($0) + f64.load $push3=, 0($0) i32.const $push6=, 0 - f64.load $push3=, v($pop6) - f64.ne $push4=, $pop2, $pop3 + f64.load $push2=, v($pop6) + f64.ne $push4=, $pop3, $pop2 br_if 0, $pop4 # 0: down to label0 # BB#1: # %entry f64.load $push0=, 8($0) @@ -35,15 +35,14 @@ foo: # @foo .type bar,@function bar: # @bar .param i32, i32 - .local i64 # BB#0: # %entry i32.const $push0=, 0 - i64.load $2=, v+8($pop0) - i32.const $push2=, 0 - i64.load $push1=, v($pop2) + i64.load $push1=, v($pop0) i64.store $drop=, 0($0), $pop1 - i64.store $drop=, 8($0), $2 - return + i32.const $push3=, 0 + i64.load $push2=, v+8($pop3) + i64.store $drop=, 8($0), $pop2 + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/20070623-1.c.s b/test/torture-s/20070623-1.c.s index bd003c1d4..42197ef66 100644 --- a/test/torture-s/20070623-1.c.s +++ b/test/torture-s/20070623-1.c.s @@ -12,7 +12,7 @@ nge: # @nge i32.const $push1=, 0 i32.ge_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size nge, .Lfunc_end0-nge @@ -29,7 +29,7 @@ ngt: # @ngt i32.const $push1=, 0 i32.gt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size ngt, .Lfunc_end1-ngt @@ -46,7 +46,7 @@ nle: # @nle i32.const $push1=, 0 i32.le_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size nle, .Lfunc_end2-nle @@ -63,7 +63,7 @@ nlt: # @nlt i32.const $push1=, 0 i32.lt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size nlt, .Lfunc_end3-nlt @@ -80,7 +80,7 @@ neq: # @neq i32.const $push1=, 0 i32.eq $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size neq, .Lfunc_end4-neq @@ -97,7 +97,7 @@ nne: # @nne i32.const $push1=, 0 i32.ne $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size nne, .Lfunc_end5-nne @@ -114,7 +114,7 @@ ngeu: # @ngeu i32.const $push1=, 0 i32.ge_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end6: .size ngeu, .Lfunc_end6-ngeu @@ -131,7 +131,7 @@ ngtu: # @ngtu i32.const $push1=, 0 i32.gt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end7: .size ngtu, .Lfunc_end7-ngtu @@ -148,7 +148,7 @@ nleu: # @nleu i32.const $push1=, 0 i32.le_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end8: .size nleu, .Lfunc_end8-nleu @@ -165,7 +165,7 @@ nltu: # @nltu i32.const $push1=, 0 i32.lt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end9: .size nltu, .Lfunc_end9-nltu diff --git a/test/torture-s/20070724-1.c.s b/test/torture-s/20070724-1.c.s index 79e361629..9f898e5b0 100644 --- a/test/torture-s/20070724-1.c.s +++ b/test/torture-s/20070724-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20070824-1.c.s b/test/torture-s/20070824-1.c.s index ec09cd40d..91f3477a8 100644 --- a/test/torture-s/20070824-1.c.s +++ b/test/torture-s/20070824-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %for.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20071011-1.c.s b/test/torture-s/20071011-1.c.s index 18193e2b0..56bce5f46 100644 --- a/test/torture-s/20071011-1.c.s +++ b/test/torture-s/20071011-1.c.s @@ -32,7 +32,7 @@ main: # @main .result i32 # BB#0: # %foo.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20071018-1.c.s b/test/torture-s/20071018-1.c.s index 5b4bd2acb..1b8d87601 100644 --- a/test/torture-s/20071018-1.c.s +++ b/test/torture-s/20071018-1.c.s @@ -10,7 +10,7 @@ bar: # @bar i32.const $push0=, 8 i32.call $push1=, __builtin_malloc@FUNCTION, $pop0 i32.store $drop=, 0($0), $pop1 - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -23,11 +23,11 @@ foo: # @foo .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 16 - i32.call $push1=, __builtin_malloc@FUNCTION, $pop0 - i32.const $push2=, 5 - i32.shl $push3=, $0, $pop2 - i32.add $push4=, $pop1, $pop3 + i32.const $push2=, 16 + i32.call $push3=, __builtin_malloc@FUNCTION, $pop2 + i32.const $push0=, 5 + i32.shl $push1=, $0, $pop0 + i32.add $push4=, $pop3, $pop1 i32.const $push5=, -20 i32.add $push9=, $pop4, $pop5 tee_local $push8=, $0=, $pop9 @@ -35,7 +35,7 @@ foo: # @foo i32.store $drop=, 0($pop8), $pop6 call bar@FUNCTION, $0 i32.load $push7=, 0($0) - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/20071029-1.c.s b/test/torture-s/20071029-1.c.s index ea3a6d5a1..153c0b910 100644 --- a/test/torture-s/20071029-1.c.s +++ b/test/torture-s/20071029-1.c.s @@ -8,17 +8,17 @@ test: # @test .param i32 .local i32, i32, i32 # BB#0: # %entry - i32.load $2=, 0($0) + i32.load $3=, 0($0) i32.const $push1=, 0 i32.const $push19=, 0 i32.load $push18=, test.i($pop19) - tee_local $push17=, $3=, $pop18 + tee_local $push17=, $2=, $pop18 i32.const $push2=, 1 i32.add $push0=, $pop17, $pop2 i32.store $1=, test.i($pop1), $pop0 block block - i32.ne $push3=, $2, $3 + i32.ne $push3=, $3, $2 br_if 0, $pop3 # 0: down to label1 # BB#1: # %if.end i32.load $push4=, 4($0) @@ -77,31 +77,31 @@ foo: # @foo .param i32 .local i32, i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push12=, 1 + i32.add $0=, $0, $pop12 + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 64 i32.sub $push9=, $pop2, $pop3 - i32.store $push12=, 0($pop4), $pop9 - tee_local $push11=, $2=, $pop12 + i32.store $push11=, __stack_pointer($pop4), $pop9 + tee_local $push10=, $1=, $pop11 i32.const $push5=, 8 - i32.add $push6=, $pop11, $pop5 + i32.add $push6=, $pop10, $pop5 i32.const $push0=, 4 - i32.or $1=, $pop6, $pop0 - i32.const $push10=, 1 - i32.add $0=, $0, $pop10 + i32.or $2=, $pop6, $pop0 .LBB1_1: # %again # =>This Inner Loop Header: Depth=1 loop # label2: - i32.store $drop=, 8($2), $0 + i32.store $drop=, 8($1), $0 i32.const $push15=, 0 i32.const $push14=, 52 - i32.call $drop=, memset@FUNCTION, $1, $pop15, $pop14 - i32.const $push7=, 8 - i32.add $push8=, $2, $pop7 - call test@FUNCTION, $pop8 + i32.call $drop=, memset@FUNCTION, $2, $pop15, $pop14 i32.const $push13=, 1 i32.add $0=, $0, $pop13 + i32.const $push7=, 8 + i32.add $push8=, $1, $pop7 + call test@FUNCTION, $pop8 br 0 # 0: up to label2 .LBB1_2: end_loop # label3: diff --git a/test/torture-s/20071030-1.c.s b/test/torture-s/20071030-1.c.s index 25985bd6a..4aabb5b66 100644 --- a/test/torture-s/20071030-1.c.s +++ b/test/torture-s/20071030-1.c.s @@ -7,57 +7,59 @@ CalcPing: # @CalcPing .param i32 .result i32 - .local i32, i32, f32, i64, i32, f32 + .local i64, f32, i32, i32, i32, f32 # BB#0: # %entry block i64.load $push14=, 0($0) - tee_local $push13=, $4=, $pop14 + tee_local $push13=, $1=, $pop14 i32.wrap/i64 $push0=, $pop13 i32.const $push1=, 1 i32.ne $push2=, $pop0, $pop1 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then i64.const $push10=, 32 - i64.shr_u $push11=, $4, $pop10 + i64.shr_u $push11=, $1, $pop10 i32.wrap/i64 $push12=, $pop11 return $pop12 .LBB0_2: # %if.end end_block # label0: - i32.const $2=, 0 - i32.const $1=, 16 - f32.const $3=, 0x0p0 + i32.const $5=, 0 + i32.const $4=, 16 + f32.const $6=, 0x0p0 .LBB0_3: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.add $push3=, $0, $1 - f32.load $push21=, 0($pop3) - tee_local $push20=, $6=, $pop21 - f32.add $push4=, $3, $pop20 - f32.const $push19=, 0x0p0 - f32.gt $push18=, $6, $pop19 - tee_local $push17=, $5=, $pop18 - f32.select $3=, $pop4, $3, $pop17 - i32.add $2=, $5, $2 - i32.const $push16=, 24 - i32.add $1=, $1, $pop16 + i32.add $push3=, $0, $4 + f32.load $push23=, 0($pop3) + tee_local $push22=, $2=, $pop23 + f32.add $push4=, $6, $pop22 + f32.const $push21=, 0x0p0 + f32.gt $push20=, $2, $pop21 + tee_local $push19=, $3=, $pop20 + f32.select $6=, $pop4, $6, $pop19 + i32.add $5=, $3, $5 + i32.const $push18=, 24 + i32.add $push17=, $4, $pop18 + tee_local $push16=, $4=, $pop17 i32.const $push15=, 1552 - i32.ne $push5=, $1, $pop15 + i32.ne $push5=, $pop16, $pop15 br_if 0, $pop5 # 0: up to label1 # BB#4: # %for.end end_loop # label2: - i32.const $1=, 9999 + i32.const $4=, 9999 block - i32.eqz $push22=, $2 - br_if 0, $pop22 # 0: down to label3 + i32.eqz $push24=, $5 + br_if 0, $pop24 # 0: down to label3 # BB#5: # %if.end9 - f32.convert_s/i32 $push6=, $2 - f32.div $push7=, $3, $pop6 + f32.convert_s/i32 $push6=, $5 + f32.div $push7=, $6, $pop6 f32.const $push8=, 0x1.f4p9 f32.mul $push9=, $pop7, $pop8 - i32.trunc_s/f32 $1=, $pop9 + i32.trunc_s/f32 $4=, $pop9 .LBB0_6: # %cleanup end_block # label3: - return $1 + copy_local $push25=, $4 + # fallthrough-return: $pop25 .endfunc .Lfunc_end0: .size CalcPing, .Lfunc_end0-CalcPing @@ -68,56 +70,57 @@ CalcPing: # @CalcPing .type main,@function main: # @main .result i32 - .local i32, i32, f32, i32, i32, f32 + .local i32, f32, i32, i32, i32, f32 # BB#0: # %if.end.i - i32.const $1=, 0 - i32.const $push17=, __stack_pointer - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) + i32.const $4=, 0 + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) i32.const $push16=, 1552 i32.sub $push27=, $pop15, $pop16 - i32.store $push31=, 0($pop17), $pop27 - tee_local $push30=, $3=, $pop31 + i32.store $push31=, __stack_pointer($pop17), $pop27 + tee_local $push30=, $0=, $pop31 i32.const $push21=, 8 i32.add $push22=, $pop30, $pop21 i32.const $push29=, 0 i32.const $push0=, 1544 i32.call $drop=, memset@FUNCTION, $pop22, $pop29, $pop0 - i32.const $0=, 16 + i32.const $3=, 16 i32.const $push23=, 8 - i32.add $push24=, $3, $pop23 + i32.add $push24=, $0, $pop23 i32.const $push28=, 16 i32.add $push1=, $pop24, $pop28 i32.const $push2=, 1065353216 i32.store $drop=, 0($pop1), $pop2 - f32.const $2=, 0x0p0 + f32.const $5=, 0x0p0 .LBB1_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label4: i32.const $push25=, 8 - i32.add $push26=, $3, $pop25 - i32.add $push3=, $pop26, $0 - f32.load $push38=, 0($pop3) - tee_local $push37=, $5=, $pop38 - f32.add $push4=, $2, $pop37 - f32.const $push36=, 0x0p0 - f32.gt $push35=, $5, $pop36 - tee_local $push34=, $4=, $pop35 - f32.select $2=, $pop4, $2, $pop34 - i32.add $1=, $4, $1 - i32.const $push33=, 24 - i32.add $0=, $0, $pop33 + i32.add $push26=, $0, $pop25 + i32.add $push3=, $pop26, $3 + f32.load $push40=, 0($pop3) + tee_local $push39=, $1=, $pop40 + f32.add $push4=, $5, $pop39 + f32.const $push38=, 0x0p0 + f32.gt $push37=, $1, $pop38 + tee_local $push36=, $2=, $pop37 + f32.select $5=, $pop4, $5, $pop36 + i32.add $4=, $2, $4 + i32.const $push35=, 24 + i32.add $push34=, $3, $pop35 + tee_local $push33=, $3=, $pop34 i32.const $push32=, 1552 - i32.ne $push5=, $0, $pop32 + i32.ne $push5=, $pop33, $pop32 br_if 0, $pop5 # 0: up to label4 # BB#2: # %for.end.i end_loop # label5: block - i32.eqz $push39=, $1 - br_if 0, $pop39 # 0: down to label6 + i32.eqz $push41=, $4 + br_if 0, $pop41 # 0: down to label6 # BB#3: # %CalcPing.exit - f32.convert_s/i32 $push6=, $1 - f32.div $push7=, $2, $pop6 + f32.convert_s/i32 $push6=, $4 + f32.div $push7=, $5, $pop6 f32.const $push8=, 0x1.f4p9 f32.mul $push9=, $pop7, $pop8 i32.trunc_s/f32 $push10=, $pop9 @@ -125,10 +128,10 @@ main: # @main i32.ne $push12=, $pop10, $pop11 br_if 0, $pop12 # 0: down to label6 # BB#4: # %if.end - i32.const $push20=, __stack_pointer + i32.const $push20=, 0 i32.const $push18=, 1552 - i32.add $push19=, $3, $pop18 - i32.store $drop=, 0($pop20), $pop19 + i32.add $push19=, $0, $pop18 + i32.store $drop=, __stack_pointer($pop20), $pop19 i32.const $push13=, 0 return $pop13 .LBB1_5: # %if.then diff --git a/test/torture-s/20071108-1.c.s b/test/torture-s/20071108-1.c.s index f2bfced02..34e15daf1 100644 --- a/test/torture-s/20071108-1.c.s +++ b/test/torture-s/20071108-1.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, foo.s - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -21,7 +21,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -35,11 +35,11 @@ test: # @test .result i32 # BB#0: # %entry i32.const $push0=, 0 - i32.store $drop=, foo.s($pop0), $0 + i32.store $drop=, foo.s+4($pop0), $1 i32.const $push2=, 0 - i32.store $drop=, foo.s+4($pop2), $1 + i32.store $drop=, foo.s($pop2), $0 i32.const $push1=, foo.s - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size test, .Lfunc_end2-test @@ -53,45 +53,45 @@ main: # @main .local i32, i32 # BB#0: # %lor.lhs.false block - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 16 i32.sub $push24=, $pop10, $pop11 - i32.store $push28=, 0($pop12), $pop24 - tee_local $push27=, $1=, $pop28 + i32.store $push28=, __stack_pointer($pop12), $pop24 + tee_local $push27=, $0=, $pop28 i32.const $push16=, 12 i32.add $push17=, $pop27, $pop16 i32.const $push18=, 8 - i32.add $push19=, $1, $pop18 + i32.add $push19=, $0, $pop18 i32.call $push26=, test@FUNCTION, $pop17, $pop19 - tee_local $push25=, $0=, $pop26 + tee_local $push25=, $1=, $pop26 i32.load $push0=, 0($pop25) i32.const $push20=, 12 - i32.add $push21=, $1, $pop20 + i32.add $push21=, $0, $pop20 i32.ne $push1=, $pop0, $pop21 br_if 0, $pop1 # 0: down to label0 # BB#1: # %lor.lhs.false2 - i32.load $push2=, 4($0) + i32.load $push2=, 4($1) i32.const $push22=, 8 - i32.add $push23=, $1, $pop22 + i32.add $push23=, $0, $pop22 i32.ne $push3=, $pop2, $pop23 br_if 0, $pop3 # 0: down to label0 # BB#2: # %lor.lhs.false4 - i32.load16_u $push30=, 8($0) - tee_local $push29=, $0=, $pop30 + i32.load16_u $push30=, 8($1) + tee_local $push29=, $1=, $pop30 i32.const $push4=, 255 i32.and $push5=, $pop29, $pop4 br_if 0, $pop5 # 0: down to label0 # BB#3: # %lor.lhs.false4 i32.const $push6=, 256 - i32.ge_u $push7=, $0, $pop6 + i32.ge_u $push7=, $1, $pop6 br_if 0, $pop7 # 0: down to label0 # BB#4: # %if.end - i32.const $push15=, __stack_pointer + i32.const $push15=, 0 i32.const $push13=, 16 - i32.add $push14=, $1, $pop13 - i32.store $drop=, 0($pop15), $pop14 + i32.add $push14=, $0, $pop13 + i32.store $drop=, __stack_pointer($pop15), $pop14 i32.const $push8=, 0 return $pop8 .LBB3_5: # %if.then diff --git a/test/torture-s/20071120-1.c.s b/test/torture-s/20071120-1.c.s index a0e7329e6..4218d43f9 100644 --- a/test/torture-s/20071120-1.c.s +++ b/test/torture-s/20071120-1.c.s @@ -95,20 +95,20 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, 76 - i32.call $push8=, __builtin_malloc@FUNCTION, $pop0 - tee_local $push7=, $0=, $pop8 - i32.const $push3=, 8 - i32.add $push4=, $pop7, $pop3 - i32.const $push5=, 1 - i32.store $drop=, 0($pop4), $pop5 + i32.const $push1=, 76 + i32.call $push9=, __builtin_malloc@FUNCTION, $pop1 + tee_local $push8=, $0=, $pop9 i32.const $push2=, 2 - i32.store $drop=, 0($0), $pop2 - i32.const $push1=, 0 - i32.store $drop=, deferred_access_stack($pop1), $0 + i32.store $drop=, 0($pop8), $pop2 + i32.const $push3=, 0 + i32.store $push0=, deferred_access_stack($pop3), $0 + i32.const $push4=, 8 + i32.add $push5=, $pop0, $pop4 + i32.const $push6=, 1 + i32.store $drop=, 0($pop5), $pop6 call pop_to_parent_deferring_access_checks@FUNCTION - i32.const $push6=, 0 - return $pop6 + i32.const $push7=, 0 + # fallthrough-return: $pop7 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/20071202-1.c.s b/test/torture-s/20071202-1.c.s index 11d8c7004..25872e32c 100644 --- a/test/torture-s/20071202-1.c.s +++ b/test/torture-s/20071202-1.c.s @@ -20,7 +20,7 @@ foo: # @foo i64.store $push0=, 8($0):p2align=2, $pop3 i64.store $push1=, 0($pop5):p2align=2, $pop0 i64.store $drop=, 0($pop7):p2align=2, $pop1 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -33,30 +33,30 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push71=, __stack_pointer - i32.const $push68=, __stack_pointer - i32.load $push69=, 0($pop68) + i32.const $push71=, 0 + i32.const $push68=, 0 + i32.load $push69=, __stack_pointer($pop68) i32.const $push70=, 80 i32.sub $push79=, $pop69, $pop70 - i32.store $push81=, 0($pop71), $pop79 + i32.store $push81=, __stack_pointer($pop71), $pop79 tee_local $push80=, $0=, $pop81 i32.const $push75=, 8 i32.add $push76=, $pop80, $pop75 - i32.const $push0=, .Lmain.s - i32.const $push1=, 68 - i32.call $drop=, memcpy@FUNCTION, $pop76, $pop0, $pop1 + i32.const $push1=, .Lmain.s + i32.const $push0=, 68 + i32.call $drop=, memcpy@FUNCTION, $pop76, $pop1, $pop0 i32.const $push77=, 8 i32.add $push78=, $0, $pop77 call foo@FUNCTION, $pop78 block - i32.load $push2=, 8($0) - i32.const $push3=, 12 - i32.ne $push4=, $pop2, $pop3 + i32.load $push3=, 8($0) + i32.const $push2=, 12 + i32.ne $push4=, $pop3, $pop2 br_if 0, $pop4 # 0: down to label0 # BB#1: # %lor.lhs.false - i32.load $push5=, 12($0) - i32.const $push6=, 6 - i32.ne $push7=, $pop5, $pop6 + i32.load $push6=, 12($0) + i32.const $push5=, 6 + i32.ne $push7=, $pop6, $pop5 br_if 0, $pop7 # 0: down to label0 # BB#2: # %lor.lhs.false2 i32.load $push8=, 16($0) @@ -87,9 +87,9 @@ main: # @main i32.load $push23=, 0($pop22) br_if 0, $pop23 # 0: down to label0 # BB#8: # %if.end - i32.load $push24=, 40($0) - i32.const $push25=, 7 - i32.ne $push26=, $pop24, $pop25 + i32.load $push25=, 40($0) + i32.const $push24=, 7 + i32.ne $push26=, $pop25, $pop24 br_if 0, $pop26 # 0: down to label0 # BB#9: # %lor.lhs.false24 i32.const $push27=, 44 @@ -148,10 +148,10 @@ main: # @main i32.ne $push66=, $pop64, $pop65 br_if 0, $pop66 # 0: down to label0 # BB#17: # %if.end64 - i32.const $push74=, __stack_pointer + i32.const $push74=, 0 i32.const $push72=, 80 i32.add $push73=, $0, $pop72 - i32.store $drop=, 0($pop74), $pop73 + i32.store $drop=, __stack_pointer($pop74), $pop73 i32.const $push67=, 0 return $pop67 .LBB1_18: # %if.then63 diff --git a/test/torture-s/20071205-1.c.s b/test/torture-s/20071205-1.c.s index 86a831ae3..a8c76d05b 100644 --- a/test/torture-s/20071205-1.c.s +++ b/test/torture-s/20071205-1.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.and $push3=, $pop1, $pop2 i32.const $push4=, 255 i32.or $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -27,7 +27,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20071211-1.c.s b/test/torture-s/20071211-1.c.s index 06ed2c2a9..8e08ad9ed 100644 --- a/test/torture-s/20071211-1.c.s +++ b/test/torture-s/20071211-1.c.s @@ -19,21 +19,21 @@ main: # @main i32.const $push19=, 0 i32.const $push18=, 0 i64.load $push17=, sv($pop18) - tee_local $push16=, $1=, $pop17 - i64.const $push3=, 40 - i64.shr_u $push4=, $pop16, $pop3 - i64.const $push5=, 1 - i64.add $push15=, $pop4, $pop5 - tee_local $push14=, $0=, $pop15 + tee_local $push16=, $0=, $pop17 + i64.const $push5=, 40 + i64.shr_u $push6=, $pop16, $pop5 + i64.const $push7=, 1 + i64.add $push15=, $pop6, $pop7 + tee_local $push14=, $1=, $pop15 i64.const $push13=, 40 - i64.shl $push6=, $pop14, $pop13 - i64.const $push7=, 1099511627775 - i64.and $push8=, $1, $pop7 - i64.or $push9=, $pop6, $pop8 + i64.shl $push8=, $pop14, $pop13 + i64.const $push3=, 1099511627775 + i64.and $push4=, $0, $pop3 + i64.or $push9=, $pop8, $pop4 i64.store $drop=, sv($pop19), $pop9 block i64.const $push10=, 16777215 - i64.and $push11=, $0, $pop10 + i64.and $push11=, $1, $pop10 i64.eqz $push12=, $pop11 i32.eqz $push23=, $pop12 br_if 0, $pop23 # 0: down to label0 diff --git a/test/torture-s/20071213-1.c.s b/test/torture-s/20071213-1.c.s index b041d0d20..31853439e 100644 --- a/test/torture-s/20071213-1.c.s +++ b/test/torture-s/20071213-1.c.s @@ -62,12 +62,12 @@ f1: # @f1 .param i32, i64, i32 .local i32 # BB#0: # %entry - i32.const $push21=, __stack_pointer - i32.const $push18=, __stack_pointer - i32.load $push19=, 0($pop18) + i32.const $push21=, 0 + i32.const $push18=, 0 + i32.load $push19=, __stack_pointer($pop18) i32.const $push20=, 16 i32.sub $push25=, $pop19, $pop20 - i32.store $push27=, 0($pop21), $pop25 + i32.store $push27=, __stack_pointer($pop21), $pop25 tee_local $push26=, $3=, $pop27 i32.store $drop=, 12($pop26), $2 block @@ -91,10 +91,10 @@ f1: # @f1 i64.ne $push17=, $1, $pop16 br_if 1, $pop17 # 1: down to label5 # BB#4: # %if.end - i32.const $push24=, __stack_pointer + i32.const $push24=, 0 i32.const $push22=, 16 i32.add $push23=, $3, $pop22 - i32.store $drop=, 0($pop24), $pop23 + i32.store $drop=, __stack_pointer($pop24), $pop23 return .LBB1_5: # %entry end_block # label6: @@ -131,12 +131,12 @@ f2: # @f2 .param i32, i32, i32, i64, i32 .local i32 # BB#0: # %entry - i32.const $push27=, __stack_pointer - i32.const $push24=, __stack_pointer - i32.load $push25=, 0($pop24) + i32.const $push27=, 0 + i32.const $push24=, 0 + i32.load $push25=, __stack_pointer($pop24) i32.const $push26=, 16 i32.sub $push31=, $pop25, $pop26 - i32.store $push33=, 0($pop27), $pop31 + i32.store $push33=, __stack_pointer($pop27), $pop31 tee_local $push32=, $5=, $pop33 i32.store $drop=, 12($pop32), $4 block @@ -193,10 +193,10 @@ f2: # @f2 i64.ne $push23=, $3, $pop22 br_if 0, $pop23 # 0: down to label7 # BB#11: # %if.end - i32.const $push30=, __stack_pointer + i32.const $push30=, 0 i32.const $push28=, 16 i32.add $push29=, $5, $pop28 - i32.store $drop=, 0($pop30), $pop29 + i32.store $drop=, __stack_pointer($pop30), $pop29 return .LBB2_12: # %if.then end_block # label7: @@ -214,12 +214,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 32 i32.sub $push18=, $pop10, $pop11 - i32.store $push20=, 0($pop12), $pop18 + i32.store $push20=, __stack_pointer($pop12), $pop18 tee_local $push19=, $0=, $pop20 i64.const $push0=, 17179869187 i64.store $drop=, 16($pop19), $pop0 @@ -235,12 +235,12 @@ main: # @main i32.const $push5=, 7 i64.const $push4=, 8 call f2@FUNCTION, $pop7, $pop6, $pop5, $pop4, $0 - i32.const $push15=, __stack_pointer + i32.const $push15=, 0 i32.const $push13=, 32 i32.add $push14=, $0, $pop13 - i32.store $drop=, 0($pop15), $pop14 + i32.store $drop=, __stack_pointer($pop15), $pop14 i32.const $push8=, 0 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/20071216-1.c.s b/test/torture-s/20071216-1.c.s index 7768e9114..17ac8e871 100644 --- a/test/torture-s/20071216-1.c.s +++ b/test/torture-s/20071216-1.c.s @@ -9,7 +9,7 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 0 i32.load $push1=, x($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -22,16 +22,17 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.call $0=, bar@FUNCTION - i32.const $push5=, -37 - i32.const $push4=, -1 - i32.const $push2=, -38 - i32.eq $push3=, $0, $pop2 - i32.select $push6=, $pop5, $pop4, $pop3 - i32.const $push0=, -4095 - i32.lt_u $push1=, $0, $pop0 - i32.select $push7=, $0, $pop6, $pop1 - return $pop7 + i32.call $push9=, bar@FUNCTION + tee_local $push8=, $0=, $pop9 + i32.const $push3=, -37 + i32.const $push2=, -1 + i32.const $push0=, -38 + i32.eq $push1=, $0, $pop0 + i32.select $push4=, $pop3, $pop2, $pop1 + i32.const $push5=, -4095 + i32.lt_u $push6=, $0, $pop5 + i32.select $push7=, $pop8, $pop4, $pop6 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -44,55 +45,58 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push25=, 0 - i32.const $push0=, 26 - i32.store $0=, x($pop25), $pop0 - i32.call $1=, bar@FUNCTION block - i32.const $push24=, -37 - i32.const $push23=, -1 - i32.const $push22=, -38 - i32.eq $push2=, $1, $pop22 - i32.select $push3=, $pop24, $pop23, $pop2 - i32.const $push21=, -4095 - i32.lt_u $push1=, $1, $pop21 - i32.select $push4=, $1, $pop3, $pop1 - i32.ne $push5=, $0, $pop4 - br_if 0, $pop5 # 0: down to label0 + i32.const $push28=, 0 + i32.const $push1=, 26 + i32.store $push0=, x($pop28), $pop1 + i32.call $push27=, bar@FUNCTION + tee_local $push26=, $1=, $pop27 + i32.const $push25=, -37 + i32.const $push24=, -1 + i32.const $push23=, -38 + i32.eq $push2=, $1, $pop23 + i32.select $push3=, $pop25, $pop24, $pop2 + i32.const $push22=, -4095 + i32.lt_u $push4=, $1, $pop22 + i32.select $push5=, $pop26, $pop3, $pop4 + i32.ne $push6=, $pop0, $pop5 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end - i32.const $push31=, 0 - i32.const $push6=, -39 - i32.store $drop=, x($pop31), $pop6 - i32.call $1=, bar@FUNCTION - i32.const $push30=, -37 + i32.const $push36=, 0 + i32.const $push7=, -39 + i32.store $drop=, x($pop36), $pop7 + i32.call $push35=, bar@FUNCTION + tee_local $push34=, $1=, $pop35 + i32.const $push33=, -37 + i32.const $push32=, -1 + i32.const $push31=, -38 + i32.eq $push8=, $1, $pop31 + i32.select $push9=, $pop33, $pop32, $pop8 + i32.const $push30=, -4095 + i32.lt_u $push10=, $1, $pop30 + i32.select $push11=, $pop34, $pop9, $pop10 i32.const $push29=, -1 - i32.const $push28=, -38 - i32.eq $push8=, $1, $pop28 - i32.select $push9=, $pop30, $pop29, $pop8 - i32.const $push27=, -4095 - i32.lt_u $push7=, $1, $pop27 - i32.select $push10=, $1, $pop9, $pop7 - i32.const $push26=, -1 - i32.ne $push11=, $pop10, $pop26 - br_if 0, $pop11 # 0: down to label0 + i32.ne $push12=, $pop11, $pop29 + br_if 0, $pop12 # 0: down to label0 # BB#2: # %if.end4 - i32.const $push33=, 0 - i32.const $push12=, -38 - i32.store $0=, x($pop33), $pop12 - i32.call $1=, bar@FUNCTION - i32.const $push17=, -37 - i32.const $push16=, -1 - i32.eq $push15=, $1, $0 - i32.select $push18=, $pop17, $pop16, $pop15 - i32.const $push13=, -4095 - i32.lt_u $push14=, $1, $pop13 - i32.select $push19=, $1, $pop18, $pop14 - i32.const $push32=, -37 - i32.ne $push20=, $pop19, $pop32 - br_if 0, $pop20 # 0: down to label0 + i32.const $push40=, 0 + i32.const $push13=, -38 + i32.store $0=, x($pop40), $pop13 + i32.call $push39=, bar@FUNCTION + tee_local $push38=, $1=, $pop39 + i32.const $push16=, -37 + i32.const $push15=, -1 + i32.eq $push14=, $1, $0 + i32.select $push17=, $pop16, $pop15, $pop14 + i32.const $push18=, -4095 + i32.lt_u $push19=, $1, $pop18 + i32.select $push20=, $pop38, $pop17, $pop19 + i32.const $push37=, -37 + i32.ne $push21=, $pop20, $pop37 + br_if 0, $pop21 # 0: down to label0 # BB#3: # %if.end8 - i32.const $push34=, 0 - return $pop34 + i32.const $push41=, 0 + return $pop41 .LBB2_4: # %if.then7 end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/20071219-1.c.s b/test/torture-s/20071219-1.c.s index 0f9a9ba63..881e211f0 100644 --- a/test/torture-s/20071219-1.c.s +++ b/test/torture-s/20071219-1.c.s @@ -8,30 +8,31 @@ foo: # @foo .param i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $2=, 0 + i32.const $3=, 0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label1: - i32.add $push4=, $0, $2 - tee_local $push3=, $3=, $pop4 + i32.add $push4=, $0, $3 + tee_local $push3=, $2=, $pop4 i32.load8_u $push0=, 0($pop3) br_if 2, $pop0 # 2: down to label0 # BB#2: # %if.else # in Loop: Header=BB0_1 Depth=1 block - i32.eqz $push7=, $1 - br_if 0, $pop7 # 0: down to label3 + i32.eqz $push9=, $1 + br_if 0, $pop9 # 0: down to label3 # BB#3: # %if.then3 # in Loop: Header=BB0_1 Depth=1 - i32.store8 $drop=, 0($3), $1 + i32.store8 $drop=, 0($2), $1 .LBB0_4: # %for.inc # in Loop: Header=BB0_1 Depth=1 end_block # label3: - i32.const $push6=, 1 - i32.add $2=, $2, $pop6 + i32.const $push8=, 1 + i32.add $push7=, $3, $pop8 + tee_local $push6=, $3=, $pop7 i32.const $push5=, 25 - i32.lt_u $push1=, $2, $pop5 + i32.lt_u $push1=, $pop6, $pop5 br_if 0, $pop1 # 0: up to label1 # BB#5: # %for.end end_loop # label2: @@ -51,72 +52,72 @@ foo: # @foo .globl test1 .type test1,@function test1: # @test1 - .local i32, i64, i64, i64, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) - i32.const $push12=, 64 - i32.sub $push25=, $pop11, $pop12 - i32.store $push42=, 0($pop13), $pop25 - tee_local $push41=, $10=, $pop42 - i32.const $push17=, 32 - i32.add $push18=, $pop41, $pop17 + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) + i32.const $push18=, 64 + i32.sub $push31=, $pop17, $pop18 + i32.store $push48=, __stack_pointer($pop19), $pop31 + tee_local $push47=, $1=, $pop48 + i32.const $push23=, 32 + i32.add $push24=, $pop47, $pop23 i32.const $push2=, 24 - i32.add $push40=, $pop18, $pop2 - tee_local $push39=, $9=, $pop40 + i32.add $push46=, $pop24, $pop2 + tee_local $push45=, $2=, $pop46 i32.const $push3=, 0 - i32.store8 $0=, 0($pop39), $pop3 - i32.const $push21=, 32 - i32.add $push22=, $10, $pop21 + i32.store8 $0=, 0($pop45), $pop3 + i32.const $push27=, 32 + i32.add $push28=, $1, $pop27 i32.const $push6=, 8 - i32.add $push38=, $pop22, $pop6 - tee_local $push37=, $8=, $pop38 - i32.const $push19=, 32 - i32.add $push20=, $10, $pop19 + i32.add $push44=, $pop28, $pop6 + tee_local $push43=, $4=, $pop44 + i32.const $push25=, 32 + i32.add $push26=, $1, $pop25 i32.const $push4=, 16 - i32.add $push36=, $pop20, $pop4 - tee_local $push35=, $7=, $pop36 + i32.add $push42=, $pop26, $pop4 + tee_local $push41=, $3=, $pop42 i64.const $push5=, 0 - i64.store $push0=, 0($pop35), $pop5 - i64.store $push1=, 0($pop37), $pop0 - i64.store $drop=, 32($10), $pop1 - i32.const $push23=, 32 - i32.add $push24=, $10, $pop23 - call foo@FUNCTION, $pop24, $0 - i64.load $1=, 0($7) - i32.const $push34=, 24 - i32.add $push33=, $10, $pop34 - tee_local $push32=, $6=, $pop33 - i32.load8_u $push7=, 0($9) - i32.store8 $drop=, 0($pop32), $pop7 - i64.load $2=, 0($8) - i32.const $push31=, 16 - i32.add $push30=, $10, $pop31 - tee_local $push29=, $5=, $pop30 - i64.store $drop=, 0($pop29), $1 - i64.load $1=, 32($10) - i32.const $push28=, 8 - i32.add $push27=, $10, $pop28 - tee_local $push26=, $4=, $pop27 - i64.store $drop=, 0($pop26), $2 - i64.store $drop=, 0($10), $1 - i32.const $push8=, 1 - call foo@FUNCTION, $10, $pop8 - i64.load $1=, 0($7) - i64.load $2=, 0($8) - i64.load $3=, 32($10) - i32.load8_u $push9=, 0($9) - i32.store8 $drop=, 0($6), $pop9 - i64.store $drop=, 0($5), $1 - i64.store $drop=, 0($4), $2 - i64.store $drop=, 0($10), $3 - call foo@FUNCTION, $10, $0 - i32.const $push16=, __stack_pointer - i32.const $push14=, 64 - i32.add $push15=, $10, $pop14 - i32.store $drop=, 0($pop16), $pop15 - return + i64.store $push0=, 0($pop41), $pop5 + i64.store $push1=, 0($pop43), $pop0 + i64.store $drop=, 32($1), $pop1 + i32.const $push29=, 32 + i32.add $push30=, $1, $pop29 + call foo@FUNCTION, $pop30, $0 + i32.const $push40=, 24 + i32.add $push39=, $1, $pop40 + tee_local $push38=, $5=, $pop39 + i32.load8_u $push7=, 0($2) + i32.store8 $drop=, 0($pop38), $pop7 + i32.const $push37=, 16 + i32.add $push36=, $1, $pop37 + tee_local $push35=, $6=, $pop36 + i64.load $push8=, 0($3) + i64.store $drop=, 0($pop35), $pop8 + i32.const $push34=, 8 + i32.add $push33=, $1, $pop34 + tee_local $push32=, $7=, $pop33 + i64.load $push9=, 0($4) + i64.store $drop=, 0($pop32), $pop9 + i64.load $push10=, 32($1) + i64.store $drop=, 0($1), $pop10 + i32.const $push11=, 1 + call foo@FUNCTION, $1, $pop11 + i32.load8_u $push12=, 0($2) + i32.store8 $drop=, 0($5), $pop12 + i64.load $push13=, 0($3) + i64.store $drop=, 0($6), $pop13 + i64.load $push14=, 0($4) + i64.store $drop=, 0($7), $pop14 + i64.load $push15=, 32($1) + i64.store $drop=, 0($1), $pop15 + call foo@FUNCTION, $1, $0 + i32.const $push22=, 0 + i32.const $push20=, 64 + i32.add $push21=, $1, $pop20 + i32.store $drop=, __stack_pointer($pop22), $pop21 + # fallthrough-return .endfunc .Lfunc_end1: .size test1, .Lfunc_end1-test1 @@ -126,87 +127,88 @@ test1: # @test1 .globl test2 .type test2,@function test2: # @test2 - .local i32, i64, i64, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push21=, __stack_pointer - i32.const $push18=, __stack_pointer - i32.load $push19=, 0($pop18) - i32.const $push20=, 64 - i32.sub $push33=, $pop19, $pop20 - i32.store $push53=, 0($pop21), $pop33 - tee_local $push52=, $9=, $pop53 - i32.const $push25=, 32 - i32.add $push26=, $pop52, $pop25 + i32.const $push26=, 0 + i32.const $push23=, 0 + i32.load $push24=, __stack_pointer($pop23) + i32.const $push25=, 64 + i32.sub $push38=, $pop24, $pop25 + i32.store $push60=, __stack_pointer($pop26), $pop38 + tee_local $push59=, $1=, $pop60 + i32.const $push30=, 32 + i32.add $push31=, $pop59, $pop30 i32.const $push2=, 24 - i32.add $push51=, $pop26, $pop2 - tee_local $push50=, $3=, $pop51 + i32.add $push58=, $pop31, $pop2 + tee_local $push57=, $7=, $pop58 i32.const $push3=, 0 - i32.store8 $0=, 0($pop50), $pop3 - i32.const $push29=, 32 - i32.add $push30=, $9, $pop29 + i32.store8 $0=, 0($pop57), $pop3 + i32.const $push34=, 32 + i32.add $push35=, $1, $pop34 i32.const $push6=, 8 - i32.add $push49=, $pop30, $pop6 - tee_local $push48=, $8=, $pop49 - i32.const $push27=, 32 - i32.add $push28=, $9, $pop27 + i32.add $push56=, $pop35, $pop6 + tee_local $push55=, $3=, $pop56 + i32.const $push32=, 32 + i32.add $push33=, $1, $pop32 i32.const $push4=, 16 - i32.add $push47=, $pop28, $pop4 - tee_local $push46=, $7=, $pop47 + i32.add $push54=, $pop33, $pop4 + tee_local $push53=, $2=, $pop54 i64.const $push5=, 0 - i64.store $push0=, 0($pop46), $pop5 - i64.store $push1=, 0($pop48), $pop0 - i64.store $drop=, 32($9), $pop1 - i32.const $push31=, 32 - i32.add $push32=, $9, $pop31 - call foo@FUNCTION, $pop32, $0 - i64.load $1=, 0($7) - i32.const $push45=, 24 - i32.add $push44=, $9, $pop45 - tee_local $push43=, $6=, $pop44 - i32.load8_u $push7=, 0($3) - i32.store8 $drop=, 0($pop43), $pop7 - i64.load $2=, 0($8) - i32.const $push42=, 16 - i32.add $push41=, $9, $pop42 - tee_local $push40=, $5=, $pop41 - i64.store $drop=, 0($pop40), $1 - i64.load $1=, 32($9) + i64.store $push0=, 0($pop53), $pop5 + i64.store $push1=, 0($pop55), $pop0 + i64.store $drop=, 32($1), $pop1 + i32.const $push36=, 32 + i32.add $push37=, $1, $pop36 + call foo@FUNCTION, $pop37, $0 + i32.const $push52=, 24 + i32.add $push51=, $1, $pop52 + tee_local $push50=, $4=, $pop51 + i32.load8_u $push7=, 0($7) + i32.store8 $drop=, 0($pop50), $pop7 + i32.const $push49=, 16 + i32.add $push48=, $1, $pop49 + tee_local $push47=, $5=, $pop48 + i64.load $push8=, 0($2) + i64.store $drop=, 0($pop47), $pop8 + i32.const $push46=, 8 + i32.add $push45=, $1, $pop46 + tee_local $push44=, $6=, $pop45 + i64.load $push9=, 0($3) + i64.store $drop=, 0($pop44), $pop9 + i64.load $push10=, 32($1) + i64.store $drop=, 0($1), $pop10 + i32.const $push11=, 1 + call foo@FUNCTION, $1, $pop11 + i32.load8_u $push12=, 0($7) + i32.store8 $drop=, 0($4), $pop12 + i64.load $push13=, 0($2) + i64.store $drop=, 0($5), $pop13 + i64.load $push14=, 0($3) + i64.store $drop=, 0($6), $pop14 + i64.load $push15=, 32($1) + i64.store $drop=, 0($1), $pop15 + i32.load $push43=, p($0) + tee_local $push42=, $7=, $pop43 + i32.const $push41=, 24 + i32.add $push16=, $pop42, $pop41 + i32.load8_u $push17=, 0($pop16) + i32.store8 $drop=, 0($4), $pop17 + i32.const $push40=, 16 + i32.add $push18=, $7, $pop40 + i64.load $push19=, 0($pop18):p2align=0 + i64.store $drop=, 0($5), $pop19 i32.const $push39=, 8 - i32.add $push38=, $9, $pop39 - tee_local $push37=, $4=, $pop38 - i64.store $drop=, 0($pop37), $2 - i64.store $drop=, 0($9), $1 - i32.const $push8=, 1 - call foo@FUNCTION, $9, $pop8 - i32.load8_u $push9=, 0($3) - i32.store8 $drop=, 0($6), $pop9 - i64.load $1=, 0($8) - i64.load $2=, 32($9) - i32.load $3=, p($0) - i64.load $push10=, 0($7) - i64.store $drop=, 0($5), $pop10 - i64.store $drop=, 0($4), $1 - i64.store $drop=, 0($9), $2 - i32.const $push36=, 24 - i32.add $push11=, $3, $pop36 - i32.load8_u $push12=, 0($pop11) - i32.store8 $drop=, 0($6), $pop12 - i32.const $push35=, 16 - i32.add $push13=, $3, $pop35 - i64.load $push14=, 0($pop13):p2align=0 - i64.store $drop=, 0($5), $pop14 - i32.const $push34=, 8 - i32.add $push15=, $3, $pop34 - i64.load $push16=, 0($pop15):p2align=0 - i64.store $drop=, 0($4), $pop16 - i64.load $push17=, 0($3):p2align=0 - i64.store $drop=, 0($9), $pop17 - call foo@FUNCTION, $9, $0 - i32.const $push24=, __stack_pointer - i32.const $push22=, 64 - i32.add $push23=, $9, $pop22 - i32.store $drop=, 0($pop24), $pop23 - return + i32.add $push20=, $7, $pop39 + i64.load $push21=, 0($pop20):p2align=0 + i64.store $drop=, 0($6), $pop21 + i64.load $push22=, 0($7):p2align=0 + i64.store $drop=, 0($1), $pop22 + call foo@FUNCTION, $1, $0 + i32.const $push29=, 0 + i32.const $push27=, 64 + i32.add $push28=, $1, $pop27 + i32.store $drop=, __stack_pointer($pop29), $pop28 + # fallthrough-return .endfunc .Lfunc_end2: .size test2, .Lfunc_end2-test2 @@ -216,111 +218,111 @@ test2: # @test2 .globl test3 .type test3,@function test3: # @test3 - .local i32, i64, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push31=, __stack_pointer - i32.const $push28=, __stack_pointer - i32.load $push29=, 0($pop28) - i32.const $push30=, 64 - i32.sub $push47=, $pop29, $pop30 - i32.store $push77=, 0($pop31), $pop47 - tee_local $push76=, $11=, $pop77 - i32.const $push35=, 32 - i32.add $push36=, $pop76, $pop35 + i32.const $push34=, 0 + i32.const $push31=, 0 + i32.load $push32=, __stack_pointer($pop31) + i32.const $push33=, 64 + i32.sub $push50=, $pop32, $pop33 + i32.store $push80=, __stack_pointer($pop34), $pop50 + tee_local $push79=, $1=, $pop80 + i32.const $push38=, 32 + i32.add $push39=, $pop79, $pop38 i32.const $push2=, 24 - i32.add $push75=, $pop36, $pop2 - tee_local $push74=, $10=, $pop75 + i32.add $push78=, $pop39, $pop2 + tee_local $push77=, $2=, $pop78 i32.const $push3=, 0 - i32.store8 $0=, 0($pop74), $pop3 - i32.const $push39=, 32 - i32.add $push40=, $11, $pop39 + i32.store8 $0=, 0($pop77), $pop3 + i32.const $push42=, 32 + i32.add $push43=, $1, $pop42 i32.const $push6=, 8 - i32.add $push73=, $pop40, $pop6 - tee_local $push72=, $9=, $pop73 - i32.const $push37=, 32 - i32.add $push38=, $11, $pop37 + i32.add $push76=, $pop43, $pop6 + tee_local $push75=, $4=, $pop76 + i32.const $push40=, 32 + i32.add $push41=, $1, $pop40 i32.const $push4=, 16 - i32.add $push71=, $pop38, $pop4 - tee_local $push70=, $8=, $pop71 + i32.add $push74=, $pop41, $pop4 + tee_local $push73=, $3=, $pop74 i64.const $push5=, 0 - i64.store $push0=, 0($pop70), $pop5 - i64.store $push1=, 0($pop72), $pop0 - i64.store $drop=, 32($11), $pop1 - i32.const $push45=, 32 - i32.add $push46=, $11, $pop45 - call foo@FUNCTION, $pop46, $0 - i64.load $1=, 0($8) - i32.const $push69=, 24 - i32.add $push68=, $11, $pop69 - tee_local $push67=, $7=, $pop68 - i32.load8_u $push11=, 0($10) - i32.store8 $drop=, 0($pop67), $pop11 - i64.load $2=, 0($9) - i32.const $push66=, 16 - i32.add $push65=, $11, $pop66 - tee_local $push64=, $6=, $pop65 - i64.store $drop=, 0($pop64), $1 - i64.load $1=, 32($11) - i32.const $push63=, 8 - i32.add $push62=, $11, $pop63 - tee_local $push61=, $5=, $pop62 - i64.store $drop=, 0($pop61), $2 - i64.store $drop=, 0($11), $1 - i32.const $push12=, 1 - call foo@FUNCTION, $11, $pop12 - i32.load $push60=, p($0) - tee_local $push59=, $4=, $pop60 - i32.load $push13=, 32($11) - i32.store $drop=, 0($pop59):p2align=0, $pop13 - i32.const $push58=, 24 - i32.add $push57=, $4, $pop58 - tee_local $push56=, $3=, $pop57 - i32.load8_u $push14=, 0($10) - i32.store8 $drop=, 0($pop56), $pop14 - i32.const $push9=, 20 - i32.add $push15=, $4, $pop9 - i32.const $push43=, 32 - i32.add $push44=, $11, $pop43 - i32.const $push55=, 20 - i32.add $push10=, $pop44, $pop55 - i32.load $push16=, 0($pop10) - i32.store $drop=, 0($pop15):p2align=0, $pop16 - i32.const $push54=, 16 - i32.add $push53=, $4, $pop54 - tee_local $push52=, $10=, $pop53 - i32.load $push17=, 0($8) - i32.store $drop=, 0($pop52):p2align=0, $pop17 - i32.const $push7=, 12 - i32.add $push18=, $4, $pop7 - i32.const $push41=, 32 - i32.add $push42=, $11, $pop41 - i32.const $push51=, 12 - i32.add $push8=, $pop42, $pop51 - i32.load $push19=, 0($pop8) - i32.store $drop=, 0($pop18):p2align=0, $pop19 - i32.const $push50=, 8 - i32.add $push49=, $4, $pop50 - tee_local $push48=, $8=, $pop49 - i32.load $push20=, 0($9) - i32.store $drop=, 0($pop48):p2align=0, $pop20 - i32.const $push21=, 4 - i32.add $push22=, $4, $pop21 - i32.load $push23=, 36($11) - i32.store $drop=, 0($pop22):p2align=0, $pop23 - i32.load8_u $push24=, 0($7) - i32.store8 $drop=, 0($3), $pop24 - i64.load $push25=, 0($6) - i64.store $drop=, 0($10):p2align=0, $pop25 - i64.load $push26=, 0($5) - i64.store $drop=, 0($8):p2align=0, $pop26 - i64.load $push27=, 0($11) - i64.store $drop=, 0($4):p2align=0, $pop27 - call foo@FUNCTION, $11, $0 - i32.const $push34=, __stack_pointer - i32.const $push32=, 64 - i32.add $push33=, $11, $pop32 - i32.store $drop=, 0($pop34), $pop33 - return + i64.store $push0=, 0($pop73), $pop5 + i64.store $push1=, 0($pop75), $pop0 + i64.store $drop=, 32($1), $pop1 + i32.const $push44=, 32 + i32.add $push45=, $1, $pop44 + call foo@FUNCTION, $pop45, $0 + i32.const $push72=, 24 + i32.add $push71=, $1, $pop72 + tee_local $push70=, $5=, $pop71 + i32.load8_u $push7=, 0($2) + i32.store8 $drop=, 0($pop70), $pop7 + i32.const $push69=, 16 + i32.add $push68=, $1, $pop69 + tee_local $push67=, $6=, $pop68 + i64.load $push8=, 0($3) + i64.store $drop=, 0($pop67), $pop8 + i32.const $push66=, 8 + i32.add $push65=, $1, $pop66 + tee_local $push64=, $7=, $pop65 + i64.load $push9=, 0($4) + i64.store $drop=, 0($pop64), $pop9 + i64.load $push10=, 32($1) + i64.store $drop=, 0($1), $pop10 + i32.const $push11=, 1 + call foo@FUNCTION, $1, $pop11 + i32.load $push63=, p($0) + tee_local $push62=, $8=, $pop63 + i32.load $push12=, 32($1) + i32.store $drop=, 0($pop62):p2align=0, $pop12 + i32.const $push61=, 24 + i32.add $push60=, $8, $pop61 + tee_local $push59=, $9=, $pop60 + i32.load8_u $push13=, 0($2) + i32.store8 $drop=, 0($pop59), $pop13 + i32.const $push14=, 20 + i32.add $push15=, $8, $pop14 + i32.const $push46=, 32 + i32.add $push47=, $1, $pop46 + i32.const $push58=, 20 + i32.add $push16=, $pop47, $pop58 + i32.load $push17=, 0($pop16) + i32.store $drop=, 0($pop15):p2align=0, $pop17 + i32.const $push57=, 16 + i32.add $push56=, $8, $pop57 + tee_local $push55=, $2=, $pop56 + i32.load $push18=, 0($3) + i32.store $drop=, 0($pop55):p2align=0, $pop18 + i32.const $push19=, 12 + i32.add $push20=, $8, $pop19 + i32.const $push48=, 32 + i32.add $push49=, $1, $pop48 + i32.const $push54=, 12 + i32.add $push21=, $pop49, $pop54 + i32.load $push22=, 0($pop21) + i32.store $drop=, 0($pop20):p2align=0, $pop22 + i32.const $push53=, 8 + i32.add $push52=, $8, $pop53 + tee_local $push51=, $3=, $pop52 + i32.load $push23=, 0($4) + i32.store $drop=, 0($pop51):p2align=0, $pop23 + i32.const $push24=, 4 + i32.add $push25=, $8, $pop24 + i32.load $push26=, 36($1) + i32.store $drop=, 0($pop25):p2align=0, $pop26 + i32.load8_u $push27=, 0($5) + i32.store8 $drop=, 0($9), $pop27 + i64.load $push28=, 0($6) + i64.store $drop=, 0($2):p2align=0, $pop28 + i64.load $push29=, 0($7) + i64.store $drop=, 0($3):p2align=0, $pop29 + i64.load $push30=, 0($1) + i64.store $drop=, 0($8):p2align=0, $pop30 + call foo@FUNCTION, $1, $0 + i32.const $push37=, 0 + i32.const $push35=, 64 + i32.add $push36=, $1, $pop35 + i32.store $drop=, __stack_pointer($pop37), $pop36 + # fallthrough-return .endfunc .Lfunc_end3: .size test3, .Lfunc_end3-test3 @@ -336,7 +338,7 @@ main: # @main call test2@FUNCTION call test3@FUNCTION i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/20071220-1.c.s b/test/torture-s/20071220-1.c.s index bee966006..347586f6c 100644 --- a/test/torture-s/20071220-1.c.s +++ b/test/torture-s/20071220-1.c.s @@ -11,7 +11,7 @@ baz: # @baz #APP #NO_APP i32.load $push0=, 0($0) - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size baz, .Lfunc_end0-baz @@ -25,7 +25,7 @@ f1: # @f1 # BB#0: # %entry i32.call $drop=, bar@FUNCTION i32.const $push0=, 17 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f1, .Lfunc_end1-f1 @@ -40,7 +40,8 @@ bar: # @bar i32.call $drop=, baz@FUNCTION, $pop0 .Ltmp0: # Block address taken # BB#1: # %addr - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar @@ -54,7 +55,7 @@ f2: # @f2 # BB#0: # %entry i32.call $drop=, bar@FUNCTION i32.const $push0=, 17 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size f2, .Lfunc_end3-f2 @@ -71,7 +72,7 @@ main: # @main i32.call $drop=, f2@FUNCTION i32.call $drop=, f2@FUNCTION i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/20071220-2.c.s b/test/torture-s/20071220-2.c.s index cfc816736..5b6242920 100644 --- a/test/torture-s/20071220-2.c.s +++ b/test/torture-s/20071220-2.c.s @@ -11,7 +11,7 @@ baz: # @baz #APP #NO_APP i32.load $push0=, 0($0) - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size baz, .Lfunc_end0-baz @@ -25,7 +25,7 @@ f1: # @f1 # BB#0: # %entry i32.call $drop=, bar@FUNCTION i32.const $push0=, 17 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f1, .Lfunc_end1-f1 @@ -40,7 +40,8 @@ bar: # @bar i32.call $drop=, baz@FUNCTION, $pop0 .Ltmp0: # Block address taken # BB#1: # %addr - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar @@ -54,7 +55,7 @@ f2: # @f2 # BB#0: # %entry i32.call $drop=, bar@FUNCTION i32.const $push0=, 17 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size f2, .Lfunc_end3-f2 @@ -71,7 +72,7 @@ main: # @main i32.call $drop=, f2@FUNCTION i32.call $drop=, f2@FUNCTION i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/20080117-1.c.s b/test/torture-s/20080117-1.c.s index deff02529..a0f92b342 100644 --- a/test/torture-s/20080117-1.c.s +++ b/test/torture-s/20080117-1.c.s @@ -15,7 +15,7 @@ gstate_path_memory: # @gstate_path_memory i32.const $push5=, 0 i64.load $push4=, gstate_initial($pop5):p2align=2 i64.store $drop=, 0($0):p2align=2, $pop4 - return + # fallthrough-return .endfunc .Lfunc_end0: .size gstate_path_memory, .Lfunc_end0-gstate_path_memory @@ -28,7 +28,7 @@ gs_state_update_overprint: # @gs_state_update_overprint .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size gs_state_update_overprint, .Lfunc_end1-gs_state_update_overprint @@ -41,7 +41,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20080122-1.c.s b/test/torture-s/20080122-1.c.s index 2cc6886aa..484a4c3c6 100644 --- a/test/torture-s/20080122-1.c.s +++ b/test/torture-s/20080122-1.c.s @@ -85,7 +85,7 @@ main: # @main #APP #NO_APP i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20080222-1.c.s b/test/torture-s/20080222-1.c.s index 00a272e25..31037a60a 100644 --- a/test/torture-s/20080222-1.c.s +++ b/test/torture-s/20080222-1.c.s @@ -9,7 +9,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.load8_u $push0=, 4($0) - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20080408-1.c.s b/test/torture-s/20080408-1.c.s index 669e80ec2..3f6c8fbb6 100644 --- a/test/torture-s/20080408-1.c.s +++ b/test/torture-s/20080408-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20080424-1.c.s b/test/torture-s/20080424-1.c.s index 46c8c6ea5..1de91bb56 100644 --- a/test/torture-s/20080424-1.c.s +++ b/test/torture-s/20080424-1.c.s @@ -11,10 +11,10 @@ bar: # @bar block i32.const $push13=, 0 i32.load $push12=, bar.i($pop13) - tee_local $push11=, $3=, $pop12 + tee_local $push11=, $2=, $pop12 i32.const $push0=, 36 i32.mul $push10=, $pop11, $pop0 - tee_local $push9=, $2=, $pop10 + tee_local $push9=, $3=, $pop10 i32.const $push1=, g+288 i32.add $push2=, $pop9, $pop1 i32.ne $push3=, $pop2, $0 @@ -22,10 +22,10 @@ bar: # @bar # BB#1: # %lor.lhs.false i32.const $push14=, 0 i32.const $push4=, 1 - i32.add $push5=, $3, $pop4 + i32.add $push5=, $2, $pop4 i32.store $drop=, bar.i($pop14), $pop5 i32.const $push6=, g - i32.add $push7=, $2, $pop6 + i32.add $push7=, $3, $pop6 i32.ne $push8=, $pop7, $1 br_if 0, $pop8 # 0: down to label0 # BB#2: # %if.end @@ -70,7 +70,7 @@ main: # @main i32.const $push14=, g+252 call bar@FUNCTION, $pop15, $pop14 i32.const $push16=, 0 - return $pop16 + # fallthrough-return: $pop16 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20080502-1.c.s b/test/torture-s/20080502-1.c.s index 6e8c01a67..954072c11 100644 --- a/test/torture-s/20080502-1.c.s +++ b/test/torture-s/20080502-1.c.s @@ -7,18 +7,18 @@ foo: # @foo .param i32, i64, i64 # BB#0: # %entry - i32.const $push5=, 8 - i32.add $push6=, $0, $pop5 - i64.const $push0=, 63 - i64.shr_s $push8=, $2, $pop0 + i32.const $push0=, 8 + i32.add $push1=, $0, $pop0 + i64.const $push2=, 63 + i64.shr_s $push8=, $2, $pop2 tee_local $push7=, $2=, $pop8 i64.const $push3=, 4611846683310179025 i64.and $push4=, $pop7, $pop3 - i64.store $drop=, 0($pop6), $pop4 - i64.const $push1=, -8905435550453399112 - i64.and $push2=, $2, $pop1 - i64.store $drop=, 0($0), $pop2 - return + i64.store $drop=, 0($pop1), $pop4 + i64.const $push5=, -8905435550453399112 + i64.and $push6=, $2, $pop5 + i64.store $drop=, 0($0), $pop6 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -31,28 +31,28 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 16 i32.sub $push15=, $pop9, $pop10 - i32.store $push17=, 0($pop11), $pop15 + i32.store $push17=, __stack_pointer($pop11), $pop15 tee_local $push16=, $0=, $pop17 i64.const $push1=, 0 i64.const $push0=, -4611967493404098560 call foo@FUNCTION, $pop16, $pop1, $pop0 block - i64.load $push3=, 0($0) - i64.load $push2=, 8($0) - i64.const $push5=, -8905435550453399112 - i64.const $push4=, 4611846683310179025 - i32.call $push6=, __eqtf2@FUNCTION, $pop3, $pop2, $pop5, $pop4 + i64.load $push5=, 0($0) + i64.load $push4=, 8($0) + i64.const $push3=, -8905435550453399112 + i64.const $push2=, 4611846683310179025 + i32.call $push6=, __eqtf2@FUNCTION, $pop5, $pop4, $pop3, $pop2 br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end - i32.const $push14=, __stack_pointer + i32.const $push14=, 0 i32.const $push12=, 16 i32.add $push13=, $0, $pop12 - i32.store $drop=, 0($pop14), $pop13 + i32.store $drop=, __stack_pointer($pop14), $pop13 i32.const $push7=, 0 return $pop7 .LBB1_2: # %if.then diff --git a/test/torture-s/20080506-1.c.s b/test/torture-s/20080506-1.c.s index 9b770627f..e93bb8221 100644 --- a/test/torture-s/20080506-1.c.s +++ b/test/torture-s/20080506-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20080506-2.c.s b/test/torture-s/20080506-2.c.s index 46218a3b8..8ac1366a2 100644 --- a/test/torture-s/20080506-2.c.s +++ b/test/torture-s/20080506-2.c.s @@ -7,17 +7,17 @@ foo: # @foo .param i32, i32 # BB#0: # %entry - i32.load $1=, 0($1) - i32.load $push6=, 0($0) - tee_local $push5=, $0=, $pop6 + i32.load $push7=, 0($0) + tee_local $push6=, $0=, $pop7 i32.const $push1=, 1 - i32.store $drop=, 0($pop5), $pop1 + i32.store $drop=, 0($pop6), $pop1 block - i32.const $push2=, 2 - i32.store $push0=, 0($1), $pop2 - i32.load $push3=, 0($0) - i32.ne $push4=, $pop0, $pop3 - br_if 0, $pop4 # 0: down to label0 + i32.load $push2=, 0($1) + i32.const $push3=, 2 + i32.store $push0=, 0($pop2), $pop3 + i32.load $push4=, 0($0) + i32.ne $push5=, $pop0, $pop4 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end return .LBB0_2: # %if.then @@ -36,15 +36,16 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push16=, $pop2, $pop3 - i32.store $0=, 0($pop4), $pop16 + i32.store $push18=, __stack_pointer($pop4), $pop16 + tee_local $push17=, $0=, $pop18 i32.const $push8=, 12 i32.add $push9=, $0, $pop8 - i32.store $drop=, 8($0), $pop9 + i32.store $drop=, 8($pop17), $pop9 i32.const $push10=, 12 i32.add $push11=, $0, $pop10 i32.store $drop=, 4($0), $pop11 @@ -53,12 +54,12 @@ main: # @main i32.const $push14=, 4 i32.add $push15=, $0, $pop14 call foo@FUNCTION, $pop13, $pop15 - i32.const $push7=, __stack_pointer + i32.const $push7=, 0 i32.const $push5=, 16 i32.add $push6=, $0, $pop5 - i32.store $drop=, 0($pop7), $pop6 + i32.store $drop=, __stack_pointer($pop7), $pop6 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20080519-1.c.s b/test/torture-s/20080519-1.c.s index 528dd6a6b..84259b905 100644 --- a/test/torture-s/20080519-1.c.s +++ b/test/torture-s/20080519-1.c.s @@ -33,82 +33,84 @@ merge_overlapping_regs: # @merge_overlapping_regs .type regrename_optimize,@function regrename_optimize: # @regrename_optimize .param i32 - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push21=, __stack_pointer - i32.const $push18=, __stack_pointer - i32.load $push19=, 0($pop18) + i32.const $push21=, 0 + i32.const $push18=, 0 + i32.load $push19=, __stack_pointer($pop18) i32.const $push20=, 16 i32.sub $push27=, $pop19, $pop20 - i32.store $1=, 0($pop21), $pop27 - i32.load $5=, 0($0) - i64.const $push1=, 0 - i64.store $drop=, 8($1):p2align=2, $pop1 + i32.store $push31=, __stack_pointer($pop21), $pop27 + tee_local $push30=, $1=, $pop31 + i64.const $push0=, 0 + i64.store $drop=, 8($pop30):p2align=2, $pop0 block - i32.eqz $push43=, $5 - br_if 0, $pop43 # 0: down to label1 + i32.load $push29=, 0($0) + tee_local $push28=, $4=, $pop29 + i32.eqz $push47=, $pop28 + br_if 0, $pop47 # 0: down to label1 # BB#1: # %for.body.preheader - i32.const $3=, 0 - i32.const $2=, -1 - i32.const $4=, 0 + i32.const $5=, 0 + i32.const $3=, -1 + i32.const $6=, 0 .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - copy_local $push0=, $0 - i32.load $push2=, 4($pop0) - i32.const $push37=, 3 - i32.shl $push36=, $pop2, $pop37 - tee_local $push35=, $0=, $pop36 - i32.load $push3=, reg_class_contents($pop35) - i32.const $push34=, -1 - i32.xor $push4=, $pop3, $pop34 - i32.or $4=, $4, $pop4 - i32.load $push5=, reg_class_contents+4($0) - i32.const $push33=, -1 - i32.xor $push6=, $pop5, $pop33 - i32.or $3=, $3, $pop6 - i32.const $push32=, 1 - i32.add $2=, $2, $pop32 - copy_local $push31=, $5 - tee_local $push30=, $0=, $pop31 - i32.load $push29=, 0($pop30) - tee_local $push28=, $5=, $pop29 - br_if 0, $pop28 # 0: up to label2 + i32.const $push41=, 1 + i32.add $3=, $3, $pop41 + i32.load $push1=, 4($0) + i32.const $push40=, 3 + i32.shl $push39=, $pop1, $pop40 + tee_local $push38=, $0=, $pop39 + i32.load $push2=, reg_class_contents+4($pop38) + i32.const $push37=, -1 + i32.xor $push3=, $pop2, $pop37 + i32.or $5=, $5, $pop3 + i32.load $push4=, reg_class_contents($0) + i32.const $push36=, -1 + i32.xor $push5=, $pop4, $pop36 + i32.or $6=, $6, $pop5 + copy_local $push35=, $4 + tee_local $push34=, $2=, $pop35 + copy_local $0=, $pop34 + i32.load $push33=, 0($2) + tee_local $push32=, $4=, $pop33 + br_if 0, $pop32 # 0: up to label2 # BB#3: # %for.end end_loop # label3: - i32.store $5=, 8($1), $4 - i32.const $push7=, 12 - i32.add $push39=, $1, $pop7 - tee_local $push38=, $4=, $pop39 - i32.store $drop=, 0($pop38), $3 - i32.const $push8=, 0 - i32.lt_s $push9=, $2, $pop8 - br_if 0, $pop9 # 0: down to label1 + i32.const $push6=, 12 + i32.add $push43=, $1, $pop6 + tee_local $push42=, $0=, $pop43 + i32.store $drop=, 0($pop42), $5 + i32.store $drop=, 8($1), $6 + i32.const $push7=, 0 + i32.lt_s $push8=, $3, $pop7 + br_if 0, $pop8 # 0: down to label1 # BB#4: # %if.end - i32.load $push10=, 4($0) - i32.const $push11=, 3 - i32.shl $push42=, $pop10, $pop11 - tee_local $push41=, $0=, $pop42 - i32.load $2=, reg_class_contents($pop41) - i32.load $push15=, reg_class_contents+4($0) + i32.load $push9=, 4($2) + i32.const $push10=, 3 + i32.shl $push46=, $pop9, $pop10 + tee_local $push45=, $3=, $pop46 + i32.load $push11=, reg_class_contents+4($pop45) i32.const $push12=, -1 - i32.xor $push16=, $pop15, $pop12 - i32.or $push17=, $3, $pop16 - i32.store $drop=, 0($4), $pop17 - i32.const $push40=, -1 - i32.xor $push13=, $2, $pop40 + i32.xor $push13=, $pop11, $pop12 i32.or $push14=, $5, $pop13 - i32.store $drop=, 8($1), $pop14 + i32.store $drop=, 0($0), $pop14 + i32.load $push15=, reg_class_contents($3) + i32.const $push44=, -1 + i32.xor $push16=, $pop15, $pop44 + i32.or $push17=, $6, $pop16 + i32.store $drop=, 8($1), $pop17 i32.const $push25=, 8 i32.add $push26=, $1, $pop25 call merge_overlapping_regs@FUNCTION, $pop26 .LBB1_5: # %cleanup end_block # label1: - i32.const $push24=, __stack_pointer + i32.const $push24=, 0 i32.const $push22=, 16 i32.add $push23=, $1, $pop22 - i32.store $drop=, 0($pop24), $pop23 - return + i32.store $drop=, __stack_pointer($pop24), $pop23 + # fallthrough-return .endfunc .Lfunc_end1: .size regrename_optimize, .Lfunc_end1-regrename_optimize @@ -119,34 +121,34 @@ regrename_optimize: # @regrename_optimize .type main,@function main: # @main .result i32 - .local i32 + .local i64, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) - i32.const $push7=, 16 - i32.sub $push14=, $pop6, $pop7 - i32.store $push18=, 0($pop8), $pop14 - tee_local $push17=, $0=, $pop18 - i32.const $push2=, 1 - i32.store $drop=, 4($pop17), $pop2 + i32.const $push7=, 0 i32.const $push4=, 0 - i64.const $push3=, -1 - i64.store $drop=, reg_class_contents($pop4), $pop3 - i32.const $push16=, 0 - i64.const $push1=, 0 - i64.store $push0=, 8($0), $pop1 - i64.store $drop=, reg_class_contents+8($pop16), $pop0 - i32.const $push12=, 8 - i32.add $push13=, $0, $pop12 - i32.store $drop=, 0($0), $pop13 - call regrename_optimize@FUNCTION, $0 - i32.const $push11=, __stack_pointer - i32.const $push9=, 16 - i32.add $push10=, $0, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.load $push5=, __stack_pointer($pop4) + i32.const $push6=, 16 + i32.sub $push13=, $pop5, $pop6 + i32.store $push17=, __stack_pointer($pop7), $pop13 + tee_local $push16=, $1=, $pop17 + i64.const $push0=, 0 + i64.store $0=, 8($pop16), $pop0 + i32.const $push2=, 0 + i64.const $push1=, -1 + i64.store $drop=, reg_class_contents($pop2), $pop1 i32.const $push15=, 0 - return $pop15 + i64.store $drop=, reg_class_contents+8($pop15), $0 + i32.const $push3=, 1 + i32.store $drop=, 4($1), $pop3 + i32.const $push11=, 8 + i32.add $push12=, $1, $pop11 + i32.store $drop=, 0($1), $pop12 + call regrename_optimize@FUNCTION, $1 + i32.const $push10=, 0 + i32.const $push8=, 16 + i32.add $push9=, $1, $pop8 + i32.store $drop=, __stack_pointer($pop10), $pop9 + i32.const $push14=, 0 + # fallthrough-return: $pop14 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20080522-1.c.s b/test/torture-s/20080522-1.c.s index 70e602ba1..dcbf54943 100644 --- a/test/torture-s/20080522-1.c.s +++ b/test/torture-s/20080522-1.c.s @@ -8,14 +8,14 @@ foo: # @foo .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 1 - i32.store $drop=, i($pop0), $pop1 + i32.const $push1=, 0 + i32.const $push0=, 1 + i32.store $drop=, i($pop1), $pop0 i32.const $push2=, 2 i32.store $drop=, 0($0), $pop2 i32.const $push4=, 0 i32.load $push3=, i($pop4) - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -30,11 +30,11 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 2 i32.store $drop=, 0($0), $pop0 - i32.const $push1=, 0 - i32.const $push2=, 1 - i32.store $drop=, i($pop1), $pop2 + i32.const $push2=, 0 + i32.const $push1=, 1 + i32.store $drop=, i($pop2), $pop1 i32.load $push3=, 0($0) - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -47,12 +47,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push19=, __stack_pointer - i32.const $push16=, __stack_pointer - i32.load $push17=, 0($pop16) + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) i32.const $push18=, 16 i32.sub $push27=, $pop17, $pop18 - i32.store $push30=, 0($pop19), $pop27 + i32.store $push30=, __stack_pointer($pop19), $pop27 tee_local $push29=, $0=, $pop30 i32.const $push0=, 0 i32.store $drop=, 12($pop29), $pop0 @@ -88,15 +88,15 @@ main: # @main i32.ne $push11=, $pop10, $pop35 br_if 0, $pop11 # 0: down to label0 # BB#5: # %if.end15 - i32.load $push12=, 12($0) - i32.const $push13=, 2 - i32.ne $push14=, $pop12, $pop13 + i32.load $push13=, 12($0) + i32.const $push12=, 2 + i32.ne $push14=, $pop13, $pop12 br_if 0, $pop14 # 0: down to label0 # BB#6: # %if.end18 - i32.const $push22=, __stack_pointer + i32.const $push22=, 0 i32.const $push20=, 16 i32.add $push21=, $0, $pop20 - i32.store $drop=, 0($pop22), $pop21 + i32.store $drop=, __stack_pointer($pop22), $pop21 i32.const $push15=, 0 return $pop15 .LBB2_7: # %if.then17 diff --git a/test/torture-s/20080529-1.c.s b/test/torture-s/20080529-1.c.s index 8f6ae584b..8d69ec35c 100644 --- a/test/torture-s/20080529-1.c.s +++ b/test/torture-s/20080529-1.c.s @@ -10,7 +10,7 @@ test: # @test # BB#0: # %entry f32.const $push0=, 0x0p0 f32.eq $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -23,7 +23,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20080604-1.c.s b/test/torture-s/20080604-1.c.s index d544eb3eb..399d20c06 100644 --- a/test/torture-s/20080604-1.c.s +++ b/test/torture-s/20080604-1.c.s @@ -29,12 +29,12 @@ baz: # @baz .param i32 .local i32, i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push11=, $pop3, $pop4 - i32.store $push15=, 0($pop5), $pop11 + i32.store $push15=, __stack_pointer($pop5), $pop11 tee_local $push14=, $2=, $pop15 i32.const $push9=, 12 i32.add $push10=, $pop14, $pop9 @@ -45,11 +45,11 @@ baz: # @baz i32.store $1=, 0($pop12), $pop1 call foo@FUNCTION i32.store $drop=, 0($0), $1 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $2, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end1: .size baz, .Lfunc_end1-baz @@ -69,7 +69,7 @@ main: # @main i32.const $push3=, 0 i32.store $drop=, x($pop3), $0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20080719-1.c.s b/test/torture-s/20080719-1.c.s index 720c6032d..e79471766 100644 --- a/test/torture-s/20080719-1.c.s +++ b/test/torture-s/20080719-1.c.s @@ -17,7 +17,7 @@ xxx: # @xxx i32.const $push5=, 8 i32.eq $push6=, $0, $pop5 i32.select $push8=, $pop7, $pop4, $pop6 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size xxx, .Lfunc_end0-xxx @@ -30,7 +30,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20080813-1.c.s b/test/torture-s/20080813-1.c.s index c8c0b417d..473b05320 100644 --- a/test/torture-s/20080813-1.c.s +++ b/test/torture-s/20080813-1.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -41,7 +41,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20081103-1.c.s b/test/torture-s/20081103-1.c.s index 93d895477..278d22d57 100644 --- a/test/torture-s/20081103-1.c.s +++ b/test/torture-s/20081103-1.c.s @@ -31,27 +31,28 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + block + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push11=, $pop5, $pop6 - i32.store $0=, 0($pop7), $pop11 - block + i32.store $push15=, __stack_pointer($pop7), $pop11 + tee_local $push14=, $0=, $pop15 i32.const $push13=, 0 - i32.load $push2=, A($pop13) + i32.load $push1=, A($pop13) + i32.store $push0=, 1($pop14):p2align=0, $pop1 i32.const $push12=, 0 - i32.load $push1=, A($pop12) - i32.store $push0=, 1($0):p2align=0, $pop1 - i32.ne $push3=, $pop2, $pop0 + i32.load $push2=, A($pop12) + i32.ne $push3=, $pop0, $pop2 br_if 0, $pop3 # 0: down to label1 # BB#1: # %foo.exit - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 - i32.const $push14=, 0 - return $pop14 + i32.store $drop=, __stack_pointer($pop10), $pop9 + i32.const $push16=, 0 + return $pop16 .LBB1_2: # %if.then.i end_block # label1: call abort@FUNCTION diff --git a/test/torture-s/20081112-1.c.s b/test/torture-s/20081112-1.c.s index 8eedb9964..e61107086 100644 --- a/test/torture-s/20081112-1.c.s +++ b/test/torture-s/20081112-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20081117-1.c.s b/test/torture-s/20081117-1.c.s index 34c9fec43..ab419a4a8 100644 --- a/test/torture-s/20081117-1.c.s +++ b/test/torture-s/20081117-1.c.s @@ -13,7 +13,7 @@ f: # @f i64.shr_u $push2=, $pop0, $pop1 i32.wrap/i64 $push3=, $pop2 i32.eq $push4=, $pop3, $1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -26,12 +26,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push12=, $pop4, $pop5 - i32.store $push15=, 0($pop6), $pop12 + i32.store $push15=, __stack_pointer($pop6), $pop12 tee_local $push14=, $0=, $pop15 i32.const $push13=, 0 i64.load $push0=, s($pop13) @@ -44,10 +44,10 @@ main: # @main i32.eqz $push17=, $pop2 br_if 0, $pop17 # 0: down to label0 # BB#1: # %if.end - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 16 i32.add $push8=, $0, $pop7 - i32.store $drop=, 0($pop9), $pop8 + i32.store $drop=, __stack_pointer($pop9), $pop8 i32.const $push16=, 0 return $pop16 .LBB1_2: # %if.then diff --git a/test/torture-s/20081218-1.c.s b/test/torture-s/20081218-1.c.s index 48f31a030..a7061c704 100644 --- a/test/torture-s/20081218-1.c.s +++ b/test/torture-s/20081218-1.c.s @@ -7,12 +7,12 @@ foo: # @foo .result i32 # BB#0: # %entry - i32.const $push0=, a - i32.const $push2=, 38 - i32.const $push1=, 520 - i32.call $drop=, memset@FUNCTION, $pop0, $pop2, $pop1 + i32.const $push2=, a + i32.const $push1=, 38 + i32.const $push0=, 520 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 i32.const $push3=, 640034342 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,14 +23,14 @@ foo: # @foo .type bar,@function bar: # @bar # BB#0: # %entry - i32.const $push0=, a - i32.const $push2=, 54 - i32.const $push1=, 520 - i32.call $drop=, memset@FUNCTION, $pop0, $pop2, $pop1 - i32.const $push3=, 0 - i32.const $push4=, 909588022 - i32.store $drop=, a+4($pop3), $pop4 - return + i32.const $push2=, a + i32.const $push1=, 54 + i32.const $push0=, 520 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 + i32.const $push4=, 0 + i32.const $push3=, 909588022 + i32.store $drop=, a+4($pop4), $pop3 + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -45,9 +45,9 @@ main: # @main # BB#0: # %entry block block - i32.call $push0=, foo@FUNCTION - i32.const $push1=, 640034342 - i32.ne $push2=, $pop0, $pop1 + i32.call $push1=, foo@FUNCTION + i32.const $push0=, 640034342 + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label1 # BB#1: # %for.body.preheader i32.const $0=, 0 @@ -62,37 +62,39 @@ main: # @main br_if 2, $pop4 # 2: down to label3 # BB#3: # %for.cond # in Loop: Header=BB2_2 Depth=1 - i32.const $push16=, 1 - i32.add $0=, $0, $pop16 + i32.const $push18=, 1 + i32.add $push17=, $0, $pop18 + tee_local $push16=, $0=, $pop17 i32.const $push15=, 519 - i32.le_u $push5=, $0, $pop15 + i32.le_u $push5=, $pop16, $pop15 br_if 0, $pop5 # 0: up to label4 # BB#4: # %for.end end_loop # label5: call bar@FUNCTION i32.const $0=, 0 - i32.const $push17=, 0 - i32.load $push6=, a+4($pop17) + i32.const $push19=, 0 + i32.load $push6=, a+4($pop19) i32.const $push7=, 909588022 i32.ne $push8=, $pop6, $pop7 br_if 3, $pop8 # 3: down to label0 # BB#5: # %if.end9 - i32.const $push18=, 0 + i32.const $push20=, 0 i32.const $push9=, 909522486 - i32.store $drop=, a+4($pop18), $pop9 + i32.store $drop=, a+4($pop20), $pop9 .LBB2_6: # %for.body13 # =>This Inner Loop Header: Depth=1 loop # label6: i32.load8_u $push10=, a($0) - i32.const $push19=, 54 - i32.ne $push11=, $pop10, $pop19 + i32.const $push21=, 54 + i32.ne $push11=, $pop10, $pop21 br_if 3, $pop11 # 3: down to label2 # BB#7: # %for.cond10 # in Loop: Header=BB2_6 Depth=1 - i32.const $push21=, 1 - i32.add $0=, $0, $pop21 - i32.const $push20=, 519 - i32.le_u $push12=, $0, $pop20 + i32.const $push25=, 1 + i32.add $push24=, $0, $pop25 + tee_local $push23=, $0=, $pop24 + i32.const $push22=, 519 + i32.le_u $push12=, $pop23, $pop22 br_if 0, $pop12 # 0: up to label6 # BB#8: # %for.end22 end_loop # label7: diff --git a/test/torture-s/20090113-1.c.s b/test/torture-s/20090113-1.c.s index 92c5c9b72..5450cdb50 100644 --- a/test/torture-s/20090113-1.c.s +++ b/test/torture-s/20090113-1.c.s @@ -8,120 +8,123 @@ msum_i4: # @msum_i4 .param i32, i32, i32 .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push24=, __stack_pointer - i32.const $push21=, __stack_pointer - i32.load $push22=, 0($pop21) - i32.const $push23=, 64 - i32.sub $push30=, $pop22, $pop23 - i32.store $3=, 0($pop24), $pop30 - i32.load $push42=, 0($2) - tee_local $push41=, $2=, $pop42 - i32.const $push40=, -1 - i32.add $push39=, $pop41, $pop40 - tee_local $push38=, $7=, $pop39 - i32.const $push37=, 12 - i32.mul $push1=, $pop38, $pop37 - i32.add $push36=, $1, $pop1 - tee_local $push35=, $8=, $pop36 - i32.const $push34=, 16 - i32.add $push2=, $pop35, $pop34 - i32.load $push3=, 0($pop2) - i32.const $push33=, 1 - i32.add $push4=, $pop3, $pop33 - i32.const $push32=, 12 - i32.add $push5=, $8, $pop32 - i32.load $push6=, 0($pop5) - i32.sub $4=, $pop4, $pop6 + i32.const $push25=, 0 + i32.const $push22=, 0 + i32.load $push23=, __stack_pointer($pop22) + i32.const $push24=, 64 + i32.sub $push31=, $pop23, $pop24 + i32.store $3=, __stack_pointer($pop25), $pop31 + i32.load $push43=, 0($2) + tee_local $push42=, $2=, $pop43 + i32.const $push41=, -1 + i32.add $push40=, $pop42, $pop41 + tee_local $push39=, $7=, $pop40 + i32.const $push38=, 12 + i32.mul $push2=, $pop39, $pop38 + i32.add $push37=, $1, $pop2 + tee_local $push36=, $8=, $pop37 + i32.const $push35=, 16 + i32.add $push3=, $pop36, $pop35 + i32.load $push4=, 0($pop3) + i32.const $push34=, 1 + i32.add $push5=, $pop4, $pop34 + i32.const $push33=, 12 + i32.add $push6=, $8, $pop33 + i32.load $push7=, 0($pop6) + i32.sub $4=, $pop5, $pop7 block - i32.const $push31=, 2 - i32.lt_s $push7=, $2, $pop31 - br_if 0, $pop7 # 0: down to label0 + i32.const $push32=, 2 + i32.lt_s $push8=, $2, $pop32 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $push28=, 32 - i32.add $push29=, $3, $pop28 - i32.const $push10=, 0 - i32.const $push45=, 2 - i32.shl $push8=, $2, $pop45 - i32.const $push44=, -4 - i32.add $push9=, $pop8, $pop44 - i32.call $drop=, memset@FUNCTION, $pop29, $pop10, $pop9 - i32.const $push43=, 16 - i32.add $2=, $1, $pop43 + i32.const $push29=, 32 + i32.add $push30=, $3, $pop29 + i32.const $push11=, 0 + i32.const $push46=, 2 + i32.shl $push9=, $2, $pop46 + i32.const $push45=, -4 + i32.add $push10=, $pop9, $pop45 + i32.call $drop=, memset@FUNCTION, $pop30, $pop11, $pop10 + i32.const $push44=, 16 + i32.add $2=, $1, $pop44 copy_local $8=, $3 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.load $push11=, 0($2) - i32.const $push50=, 1 - i32.add $push12=, $pop11, $pop50 - i32.const $push49=, -4 - i32.add $push13=, $2, $pop49 - i32.load $push14=, 0($pop13) - i32.sub $push15=, $pop12, $pop14 - i32.store $drop=, 0($8), $pop15 - i32.const $push48=, 4 - i32.add $8=, $8, $pop48 - i32.const $push47=, -1 - i32.add $7=, $7, $pop47 - i32.const $push46=, 12 - i32.add $2=, $2, $pop46 - br_if 0, $7 # 0: up to label1 + i32.load $push12=, 0($2) + i32.const $push53=, 1 + i32.add $push13=, $pop12, $pop53 + i32.const $push52=, -4 + i32.add $push14=, $2, $pop52 + i32.load $push15=, 0($pop14) + i32.sub $push16=, $pop13, $pop15 + i32.store $drop=, 0($8), $pop16 + i32.const $push51=, 12 + i32.add $2=, $2, $pop51 + i32.const $push50=, 4 + i32.add $8=, $8, $pop50 + i32.const $push49=, -1 + i32.add $push48=, $7, $pop49 + tee_local $push47=, $7=, $pop48 + br_if 0, $pop47 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - i32.load $0=, 0($0) - i32.load $1=, 0($1) - i32.const $push52=, 2 - i32.shl $6=, $4, $pop52 - i32.const $push51=, 1 - i32.lt_s $5=, $4, $pop51 + i32.load $6=, 0($1) + i32.load $1=, 0($0) + i32.const $push55=, 1 + i32.lt_s $0=, $4, $pop55 + i32.const $push54=, 2 + i32.shl $5=, $4, $pop54 .LBB0_4: # %do.body # =>This Loop Header: Depth=1 # Child Loop BB0_6 Depth 2 loop # label3: i32.const $8=, 0 block - br_if 0, $5 # 0: down to label5 + br_if 0, $0 # 0: down to label5 # BB#5: # %for.body18.preheader # in Loop: Header=BB0_4 Depth=1 i32.const $8=, 0 - copy_local $2=, $4 - copy_local $7=, $1 + copy_local $7=, $4 + copy_local $2=, $6 .LBB0_6: # %for.body18 # Parent Loop BB0_4 Depth=1 # => This Inner Loop Header: Depth=2 loop # label6: - i32.load $push16=, 0($7) - i32.add $8=, $pop16, $8 - i32.const $push54=, 4 - i32.add $7=, $7, $pop54 - i32.const $push53=, -1 - i32.add $2=, $2, $pop53 - br_if 0, $2 # 0: up to label6 + i32.load $push17=, 0($2) + i32.add $8=, $pop17, $8 + i32.const $push59=, 4 + i32.add $push1=, $2, $pop59 + copy_local $2=, $pop1 + i32.const $push58=, -1 + i32.add $push57=, $7, $pop58 + tee_local $push56=, $7=, $pop57 + br_if 0, $pop56 # 0: up to label6 # BB#7: # %for.end22.loopexit # in Loop: Header=BB0_4 Depth=1 end_loop # label7: - i32.add $1=, $1, $6 + i32.add $6=, $6, $5 .LBB0_8: # %for.end22 # in Loop: Header=BB0_4 Depth=1 end_block # label5: - i32.store $drop=, 0($0), $8 - i32.const $push56=, 4 - i32.add $0=, $0, $pop56 - i32.load $push19=, 0($3) - i32.load $push17=, 32($3) - i32.const $push55=, 1 - i32.add $push18=, $pop17, $pop55 - i32.store $push0=, 32($3), $pop18 - i32.ne $push20=, $pop19, $pop0 - br_if 0, $pop20 # 0: up to label3 + i32.store $drop=, 0($1), $8 + i32.const $push61=, 4 + i32.add $1=, $1, $pop61 + i32.load $push18=, 32($3) + i32.const $push60=, 1 + i32.add $push19=, $pop18, $pop60 + i32.store $push0=, 32($3), $pop19 + i32.load $push20=, 0($3) + i32.ne $push21=, $pop0, $pop20 + br_if 0, $pop21 # 0: up to label3 # BB#9: # %do.end end_loop # label4: - i32.const $push27=, __stack_pointer - i32.const $push25=, 64 - i32.add $push26=, $3, $pop25 - i32.store $drop=, 0($pop27), $pop26 - return + i32.const $push28=, 0 + i32.const $push26=, 64 + i32.add $push27=, $3, $pop26 + i32.store $drop=, __stack_pointer($pop28), $pop27 + # fallthrough-return .endfunc .Lfunc_end0: .size msum_i4, .Lfunc_end0-msum_i4 @@ -132,49 +135,9 @@ msum_i4: # @msum_i4 .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32 -# BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.load $push14=, 0($pop13) - i32.const $push15=, 112 - i32.sub $push19=, $pop14, $pop15 - tee_local $push18=, $4=, $pop19 - i32.const $push1=, 0 - i32.store $drop=, 80($pop18), $pop1 - i32.const $push2=, 3 - i32.store $drop=, 48($4), $pop2 - copy_local $2=, $4 - i32.const $push16=, 36 - i32.add $push17=, $4, $pop16 - copy_local $3=, $pop17 -.LBB1_1: # %for.body18.i - # =>This Inner Loop Header: Depth=1 - loop # label8: - i32.load $0=, 80($4) - i32.load $1=, 48($4) - i32.const $push24=, 8 - i32.add $push7=, $2, $pop24 - i32.load $push8=, 0($pop7) - i32.const $push23=, 4 - i32.add $push4=, $2, $pop23 - i32.load $push5=, 0($pop4) - i32.load $push3=, 0($2) - i32.add $push6=, $pop5, $pop3 - i32.add $push9=, $pop8, $pop6 - i32.store $drop=, 0($3), $pop9 - i32.const $push22=, 4 - i32.add $3=, $3, $pop22 - i32.const $push21=, 12 - i32.add $2=, $2, $pop21 - i32.const $push20=, 1 - i32.add $push10=, $0, $pop20 - i32.store $push0=, 80($4), $pop10 - i32.ne $push11=, $1, $pop0 - br_if 0, $pop11 # 0: up to label8 -# BB#2: # %msum_i4.exit - end_loop # label9: - i32.const $push12=, 0 - return $pop12 +# BB#0: # %for.body18.i.2 + i32.const $push0=, 0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20090113-2.c.s b/test/torture-s/20090113-2.c.s index 014687642..8f51651f5 100644 --- a/test/torture-s/20090113-2.c.s +++ b/test/torture-s/20090113-2.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 48 i32.sub $push22=, $pop10, $pop11 - i32.store $push27=, 0($pop12), $pop22 + i32.store $push27=, __stack_pointer($pop12), $pop22 tee_local $push26=, $1=, $pop27 i32.const $push3=, 40 i32.add $push4=, $pop26, $pop3 @@ -28,23 +28,24 @@ main: # @main i32.const $push24=, 0 i64.load $push8=, .Lmain.elem($pop24):p2align=2 i64.store $drop=, 24($1), $pop8 + i32.const $push23=, 0 + i32.store $push0=, 16($1), $pop23 + i32.store $0=, 20($1), $pop0 i32.const $push16=, 24 i32.add $push17=, $1, $pop16 - i32.store $drop=, 8($1), $pop17 + i32.store $drop=, 12($1), $pop17 i32.const $push18=, 24 i32.add $push19=, $1, $pop18 - i32.store $drop=, 12($1), $pop19 - i32.const $push23=, 0 - i32.store $push0=, 16($1), $pop23 - i32.store $0=, 20($1), $pop0 + i32.store $drop=, 8($1), $pop19 i32.const $push20=, 8 i32.add $push21=, $1, $pop20 call foobar@FUNCTION, $pop21 - i32.const $push15=, __stack_pointer + i32.const $push15=, 0 i32.const $push13=, 48 i32.add $push14=, $1, $pop13 - i32.store $drop=, 0($pop15), $pop14 - return $0 + i32.store $drop=, __stack_pointer($pop15), $pop14 + copy_local $push28=, $0 + # fallthrough-return: $pop28 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -55,168 +56,170 @@ foobar: # @foobar .param i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 32 i32.sub $push32=, $pop12, $pop13 - i32.store $push35=, 0($pop14), $pop32 - tee_local $push34=, $5=, $pop35 + i32.store $push35=, __stack_pointer($pop14), $pop32 + tee_local $push34=, $1=, $pop35 i32.const $push18=, 16 i32.add $push19=, $pop34, $pop18 i32.const $push20=, 12 - i32.add $push21=, $5, $pop20 + i32.add $push21=, $1, $pop20 call bmp_iter_set_init@FUNCTION, $pop19, $0, $pop21 - i32.const $push5=, 24 - i32.add $2=, $5, $pop5 i32.const $push22=, 16 - i32.add $push23=, $5, $pop22 + i32.add $push23=, $1, $pop22 i32.const $push33=, 12 - i32.add $1=, $pop23, $pop33 + i32.add $3=, $pop23, $pop33 + i32.const $push3=, 24 + i32.add $4=, $1, $pop3 .LBB1_1: # %for.cond # =>This Loop Header: Depth=1 # Child Loop BB1_3 Depth 2 # Child Loop BB1_6 Depth 2 # Child Loop BB1_8 Depth 3 loop # label0: - i32.load $3=, 12($5) + i32.load $0=, 12($1) block block - i32.load $push37=, 0($1) - tee_local $push36=, $0=, $pop37 - i32.eqz $push67=, $pop36 - br_if 0, $pop67 # 0: down to label3 + i32.load $push37=, 0($3) + tee_local $push36=, $6=, $pop37 + i32.eqz $push71=, $pop36 + br_if 0, $pop71 # 0: down to label3 # BB#2: # %while.cond.preheader.i # in Loop: Header=BB1_1 Depth=1 block i32.const $push38=, 1 - i32.and $push2=, $0, $pop38 - br_if 0, $pop2 # 0: down to label4 + i32.and $push1=, $6, $pop38 + br_if 0, $pop1 # 0: down to label4 .LBB1_3: # %while.body.i # Parent Loop BB1_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label5: - i32.const $push41=, 1 - i32.shr_u $0=, $0, $pop41 - i32.const $push40=, 1 - i32.add $3=, $3, $pop40 + i32.const $push43=, 1 + i32.add $0=, $0, $pop43 + i32.const $push42=, 1 + i32.shr_u $push41=, $6, $pop42 + tee_local $push40=, $6=, $pop41 i32.const $push39=, 1 - i32.and $push3=, $0, $pop39 - i32.eqz $push68=, $pop3 - br_if 0, $pop68 # 0: up to label5 + i32.and $push2=, $pop40, $pop39 + i32.eqz $push72=, $pop2 + br_if 0, $pop72 # 0: up to label5 .LBB1_4: # %while.end.i # in Loop: Header=BB1_1 Depth=1 end_loop # label6: end_block # label4: - i32.store $drop=, 12($5), $3 + i32.store $drop=, 12($1), $0 br 1 # 1: down to label2 .LBB1_5: # %if.end.i # in Loop: Header=BB1_1 Depth=1 end_block # label3: - i32.load $0=, 0($2) - i32.load $4=, 16($5) - i32.const $push48=, 63 - i32.add $push4=, $3, $pop48 - i32.const $push47=, -64 - i32.and $push46=, $pop4, $pop47 - tee_local $push45=, $3=, $pop46 - i32.store $drop=, 12($5), $pop45 - i32.const $push44=, 1 - i32.add $push43=, $0, $pop44 - tee_local $push42=, $0=, $pop43 - i32.store $drop=, 0($2), $pop42 + i32.load $push4=, 0($4) + i32.const $push50=, 1 + i32.add $push49=, $pop4, $pop50 + tee_local $push48=, $2=, $pop49 + i32.store $drop=, 0($4), $pop48 + i32.const $push47=, 63 + i32.add $push5=, $0, $pop47 + i32.const $push46=, -64 + i32.and $push45=, $pop5, $pop46 + tee_local $push44=, $0=, $pop45 + i32.store $drop=, 12($1), $pop44 + i32.load $5=, 16($1) .LBB1_6: # %while.cond5.i # Parent Loop BB1_1 Depth=1 # => This Loop Header: Depth=2 # Child Loop BB1_8 Depth 3 loop # label7: block - i32.const $push53=, 2 - i32.eq $push6=, $0, $pop53 + i32.const $push55=, 2 + i32.eq $push6=, $2, $pop55 br_if 0, $pop6 # 0: down to label9 # BB#7: # %while.body9.i.preheader # in Loop: Header=BB1_6 Depth=2 - i32.const $push57=, 64 - i32.add $3=, $3, $pop57 - i32.const $push56=, 1 - i32.add $7=, $0, $pop56 - i32.const $push55=, 2 - i32.shl $push7=, $0, $pop55 - i32.add $push8=, $4, $pop7 - i32.const $push54=, 12 - i32.add $0=, $pop8, $pop54 + i32.const $push59=, 1 + i32.add $6=, $2, $pop59 + i32.const $push58=, 64 + i32.add $7=, $0, $pop58 + i32.const $push57=, 2 + i32.shl $push7=, $2, $pop57 + i32.add $push8=, $5, $pop7 + i32.const $push56=, 12 + i32.add $0=, $pop8, $pop56 .LBB1_8: # %while.body9.i # Parent Loop BB1_1 Depth=1 # Parent Loop BB1_6 Depth=2 # => This Inner Loop Header: Depth=3 loop # label10: - i32.load $push59=, 0($0) - tee_local $push58=, $6=, $pop59 - br_if 4, $pop58 # 4: down to label8 + i32.load $push61=, 0($0) + tee_local $push60=, $2=, $pop61 + br_if 4, $pop60 # 4: down to label8 # BB#9: # %if.end17.i # in Loop: Header=BB1_8 Depth=3 - i32.store $push0=, 12($5), $3 - i32.const $push65=, 64 - i32.add $3=, $pop0, $pop65 - i32.const $push64=, 4 - i32.add $0=, $0, $pop64 - i32.store $push1=, 0($2), $7 - i32.const $push63=, 1 - i32.add $push62=, $pop1, $pop63 - tee_local $push61=, $7=, $pop62 - i32.const $push60=, 3 - i32.ne $push9=, $pop61, $pop60 + i32.store $drop=, 0($4), $6 + i32.const $push67=, 4 + i32.add $0=, $0, $pop67 + i32.store $push0=, 12($1), $7 + i32.const $push66=, 64 + i32.add $7=, $pop0, $pop66 + i32.const $push65=, 1 + i32.add $push64=, $6, $pop65 + tee_local $push63=, $6=, $pop64 + i32.const $push62=, 3 + i32.ne $push9=, $pop63, $pop62 br_if 0, $pop9 # 0: up to label10 # BB#10: # %while.end21.i.loopexit # in Loop: Header=BB1_6 Depth=2 end_loop # label11: - i32.const $push66=, 0 - i32.store $drop=, 0($1), $pop66 + i32.const $push68=, 0 + i32.store $drop=, 0($3), $pop68 .LBB1_11: # %while.end21.i # in Loop: Header=BB1_6 Depth=2 end_block # label9: - i32.load $4=, 0($4) - i32.eqz $push69=, $4 - br_if 4, $pop69 # 4: down to label1 + i32.load $push70=, 0($5) + tee_local $push69=, $5=, $pop70 + i32.eqz $push73=, $pop69 + br_if 4, $pop73 # 4: down to label1 # BB#12: # %if.end25.i # in Loop: Header=BB1_6 Depth=2 - i32.load $push10=, 8($4) - i32.const $push52=, 7 - i32.shl $push51=, $pop10, $pop52 - tee_local $push50=, $3=, $pop51 - i32.store $drop=, 12($5), $pop50 - i32.const $0=, 0 - i32.const $push49=, 0 - i32.store $drop=, 0($2), $pop49 + i32.const $2=, 0 + i32.const $push54=, 0 + i32.store $drop=, 0($4), $pop54 + i32.load $push10=, 8($5) + i32.const $push53=, 7 + i32.shl $push52=, $pop10, $pop53 + tee_local $push51=, $0=, $pop52 + i32.store $drop=, 12($1), $pop51 br 0 # 0: up to label7 .LBB1_13: # %if.then15.i # in Loop: Header=BB1_1 Depth=1 end_loop # label8: - i32.store $drop=, 0($1), $6 - i32.store $drop=, 16($5), $4 + i32.store $drop=, 0($3), $2 + i32.store $drop=, 16($1), $5 i32.const $push24=, 16 - i32.add $push25=, $5, $pop24 + i32.add $push25=, $1, $pop24 i32.const $push26=, 12 - i32.add $push27=, $5, $pop26 + i32.add $push27=, $1, $pop26 call bmp_iter_set_tail@FUNCTION, $pop25, $pop27 - i32.load $3=, 12($5) + i32.load $0=, 12($1) .LBB1_14: # %for.body # in Loop: Header=BB1_1 Depth=1 end_block # label2: - call catchme@FUNCTION, $3 + call catchme@FUNCTION, $0 i32.const $push28=, 16 - i32.add $push29=, $5, $pop28 + i32.add $push29=, $1, $pop28 i32.const $push30=, 12 - i32.add $push31=, $5, $pop30 + i32.add $push31=, $1, $pop30 call bmp_iter_next@FUNCTION, $pop29, $pop31 br 0 # 0: up to label0 .LBB1_15: # %for.end end_loop # label1: - i32.const $push17=, __stack_pointer + i32.const $push17=, 0 i32.const $push15=, 32 - i32.add $push16=, $5, $pop15 - i32.store $drop=, 0($pop17), $pop16 - return + i32.add $push16=, $1, $pop15 + i32.store $drop=, __stack_pointer($pop17), $pop16 + # fallthrough-return .endfunc .Lfunc_end1: .size foobar, .Lfunc_end1-foobar @@ -225,31 +228,30 @@ foobar: # @foobar .type bmp_iter_set_init,@function bmp_iter_set_init: # @bmp_iter_set_init .param i32, i32, i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.load $push7=, 0($1) - tee_local $push6=, $1=, $pop7 - i32.store $3=, 0($0), $pop6 - i32.const $push1=, 0 - i32.store $4=, 4($0), $pop1 + i32.load $1=, 0($1) + i32.const $push2=, 0 + i32.store $3=, 4($0), $pop2 block - br_if 0, $3 # 0: down to label12 + i32.store $push0=, 0($0), $1 + br_if 0, $pop0 # 0: down to label12 # BB#1: # %if.then i32.const $1=, bitmap_zero_bits - i32.const $push8=, bitmap_zero_bits - i32.store $drop=, 0($0), $pop8 + i32.const $push9=, bitmap_zero_bits + i32.store $drop=, 0($0), $pop9 .LBB2_2: # %while.end end_block # label12: - i32.load $3=, 8($1) - i32.load $1=, 12($1) - i32.store $drop=, 8($0), $4 - i32.store $push0=, 12($0), $1 - i32.eqz $push4=, $pop0 - i32.const $push2=, 7 - i32.shl $push3=, $3, $pop2 - i32.or $push5=, $pop4, $pop3 - i32.store $drop=, 0($2), $pop5 - return + i32.store $drop=, 8($0), $3 + i32.load $push3=, 12($1) + i32.store $push1=, 12($0), $pop3 + i32.eqz $push7=, $pop1 + i32.load $push4=, 8($1) + i32.const $push5=, 7 + i32.shl $push6=, $pop4, $pop5 + i32.or $push8=, $pop7, $pop6 + i32.store $drop=, 0($2), $pop8 + # fallthrough-return .endfunc .Lfunc_end2: .size bmp_iter_set_init, .Lfunc_end2-bmp_iter_set_init @@ -279,17 +281,16 @@ catchme: # @catchme .type bmp_iter_next,@function bmp_iter_next: # @bmp_iter_next .param i32, i32 - .local i32 # BB#0: # %entry - i32.load $2=, 0($1) i32.load $push0=, 12($0) i32.const $push1=, 1 i32.shr_u $push2=, $pop0, $pop1 i32.store $drop=, 12($0), $pop2 - i32.const $push4=, 1 - i32.add $push3=, $2, $pop4 - i32.store $drop=, 0($1), $pop3 - return + i32.load $push3=, 0($1) + i32.const $push5=, 1 + i32.add $push4=, $pop3, $pop5 + i32.store $drop=, 0($1), $pop4 + # fallthrough-return .endfunc .Lfunc_end4: .size bmp_iter_next, .Lfunc_end4-bmp_iter_next @@ -311,23 +312,24 @@ bmp_iter_set_tail: # @bmp_iter_set_tail .LBB5_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label15: - i32.const $push9=, 1 - i32.shr_u $3=, $3, $pop9 - i32.const $push8=, 1 - i32.add $2=, $2, $pop8 + i32.const $push11=, 1 + i32.add $2=, $2, $pop11 + i32.const $push10=, 1 + i32.shr_u $push9=, $3, $pop10 + tee_local $push8=, $3=, $pop9 i32.const $push7=, 1 - i32.and $push1=, $3, $pop7 - i32.eqz $push10=, $pop1 - br_if 0, $pop10 # 0: up to label15 + i32.and $push1=, $pop8, $pop7 + i32.eqz $push12=, $pop1 + br_if 0, $pop12 # 0: up to label15 # BB#3: # %while.cond.while.end_crit_edge end_loop # label16: + i32.store $drop=, 0($1), $2 i32.const $push2=, 12 i32.add $push3=, $0, $pop2 i32.store $drop=, 0($pop3), $3 - i32.store $drop=, 0($1), $2 .LBB5_4: # %while.end end_block # label14: - return + # fallthrough-return .endfunc .Lfunc_end5: .size bmp_iter_set_tail, .Lfunc_end5-bmp_iter_set_tail diff --git a/test/torture-s/20090113-3.c.s b/test/torture-s/20090113-3.c.s index aba79420e..321bbd728 100644 --- a/test/torture-s/20090113-3.c.s +++ b/test/torture-s/20090113-3.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 48 i32.sub $push22=, $pop10, $pop11 - i32.store $push27=, 0($pop12), $pop22 + i32.store $push27=, __stack_pointer($pop12), $pop22 tee_local $push26=, $1=, $pop27 i32.const $push3=, 40 i32.add $push4=, $pop26, $pop3 @@ -28,23 +28,24 @@ main: # @main i32.const $push24=, 0 i64.load $push8=, .Lmain.elem($pop24):p2align=2 i64.store $drop=, 24($1), $pop8 + i32.const $push23=, 0 + i32.store $push0=, 16($1), $pop23 + i32.store $0=, 20($1), $pop0 i32.const $push16=, 24 i32.add $push17=, $1, $pop16 - i32.store $drop=, 8($1), $pop17 + i32.store $drop=, 12($1), $pop17 i32.const $push18=, 24 i32.add $push19=, $1, $pop18 - i32.store $drop=, 12($1), $pop19 - i32.const $push23=, 0 - i32.store $push0=, 16($1), $pop23 - i32.store $0=, 20($1), $pop0 + i32.store $drop=, 8($1), $pop19 i32.const $push20=, 8 i32.add $push21=, $1, $pop20 call foobar@FUNCTION, $pop21 - i32.const $push15=, __stack_pointer + i32.const $push15=, 0 i32.const $push13=, 48 i32.add $push14=, $1, $pop13 - i32.store $drop=, 0($pop15), $pop14 - return $0 + i32.store $drop=, __stack_pointer($pop15), $pop14 + copy_local $push28=, $0 + # fallthrough-return: $pop28 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -53,24 +54,24 @@ main: # @main .type foobar,@function foobar: # @foobar .param i32 - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push17=, __stack_pointer - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) - i32.const $push16=, 32 - i32.sub $push33=, $pop15, $pop16 - i32.store $push35=, 0($pop17), $pop33 - tee_local $push34=, $5=, $pop35 - i32.const $push21=, 16 - i32.add $push22=, $pop34, $pop21 - i32.const $push23=, 12 - i32.add $push24=, $5, $pop23 - call bmp_iter_set_init@FUNCTION, $pop22, $0, $pop24 - i32.const $push4=, 24 - i32.add $2=, $5, $pop4 - i32.load $1=, 16($5) - i32.load $0=, 28($5) + i32.const $push16=, 0 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) + i32.const $push15=, 32 + i32.sub $push32=, $pop14, $pop15 + i32.store $push34=, __stack_pointer($pop16), $pop32 + tee_local $push33=, $1=, $pop34 + i32.const $push20=, 16 + i32.add $push21=, $pop33, $pop20 + i32.const $push22=, 12 + i32.add $push23=, $1, $pop22 + call bmp_iter_set_init@FUNCTION, $pop21, $0, $pop23 + i32.load $0=, 28($1) + i32.load $6=, 16($1) + i32.const $push3=, 24 + i32.add $2=, $1, $pop3 .LBB1_1: # %for.cond # =>This Loop Header: Depth=1 # Child Loop BB1_3 Depth 2 @@ -80,132 +81,137 @@ foobar: # @foobar loop # label0: block block - i32.eqz $push59=, $0 - br_if 0, $pop59 # 0: down to label3 + i32.eqz $push68=, $0 + br_if 0, $pop68 # 0: down to label3 # BB#2: # %while.cond.preheader.i # in Loop: Header=BB1_1 Depth=1 - i32.const $push38=, 1 - i32.and $push1=, $0, $pop38 - br_if 1, $pop1 # 1: down to label2 + i32.const $push39=, 1 + i32.and $push0=, $0, $pop39 + br_if 1, $pop0 # 1: down to label2 .LBB1_3: # %while.body.i # Parent Loop BB1_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label4: + i32.const $push43=, 1 + i32.shr_u $push42=, $0, $pop43 + tee_local $push41=, $0=, $pop42 i32.const $push40=, 1 - i32.shr_u $0=, $0, $pop40 - i32.const $push39=, 1 - i32.and $push2=, $0, $pop39 - i32.eqz $push60=, $pop2 - br_if 0, $pop60 # 0: up to label4 + i32.and $push1=, $pop41, $pop40 + i32.eqz $push69=, $pop1 + br_if 0, $pop69 # 0: up to label4 # BB#4: # %while.cond.return.loopexit62_crit_edge.i # in Loop: Header=BB1_1 Depth=1 end_loop # label5: - i32.const $push31=, 16 - i32.add $push32=, $5, $pop31 - i32.const $push41=, 12 - i32.add $push3=, $pop32, $pop41 - i32.store $drop=, 0($pop3), $0 + i32.const $push30=, 16 + i32.add $push31=, $1, $pop30 + i32.const $push44=, 12 + i32.add $push2=, $pop31, $pop44 + i32.store $drop=, 0($pop2), $0 br 1 # 1: down to label2 .LBB1_5: # %if.end.i # in Loop: Header=BB1_1 Depth=1 end_block # label3: - i32.load $push5=, 0($2) - i32.const $push42=, 1 - i32.add $4=, $pop5, $pop42 + i32.load $push4=, 0($2) + i32.const $push45=, 1 + i32.add $5=, $pop4, $pop45 .LBB1_6: # %while.body6.i # Parent Loop BB1_1 Depth=1 # => This Loop Header: Depth=2 # Child Loop BB1_8 Depth 3 loop # label6: block - i32.const $push43=, 2 - i32.eq $push6=, $4, $pop43 - br_if 0, $pop6 # 0: down to label8 + i32.const $push46=, 2 + i32.eq $push5=, $5, $pop46 + br_if 0, $pop5 # 0: down to label8 # BB#7: # %while.body9.i.preheader # in Loop: Header=BB1_6 Depth=2 - i32.const $push45=, 2 - i32.shl $push7=, $4, $pop45 - i32.add $push8=, $1, $pop7 - i32.const $push44=, 12 - i32.add $3=, $pop8, $pop44 + i32.const $push48=, 2 + i32.shl $push6=, $5, $pop48 + i32.add $push7=, $6, $pop6 + i32.const $push47=, 12 + i32.add $4=, $pop7, $pop47 .LBB1_8: # %while.body9.i # Parent Loop BB1_1 Depth=1 # Parent Loop BB1_6 Depth=2 # => This Inner Loop Header: Depth=3 loop # label9: - i32.load $push47=, 0($3) - tee_local $push46=, $0=, $pop47 - br_if 4, $pop46 # 4: down to label7 + i32.load $push50=, 0($4) + tee_local $push49=, $0=, $pop50 + br_if 4, $pop49 # 4: down to label7 # BB#9: # %if.end26.i # in Loop: Header=BB1_8 Depth=3 - i32.const $push50=, 1 - i32.add $4=, $4, $pop50 - i32.const $push49=, 4 - i32.add $3=, $3, $pop49 - i32.const $push48=, 2 - i32.ne $push12=, $4, $pop48 - br_if 0, $pop12 # 0: up to label9 + i32.const $push55=, 4 + i32.add $4=, $4, $pop55 + i32.const $push54=, 1 + i32.add $push53=, $5, $pop54 + tee_local $push52=, $5=, $pop53 + i32.const $push51=, 2 + i32.ne $push11=, $pop52, $pop51 + br_if 0, $pop11 # 0: up to label9 # BB#10: # %while.end30.i.loopexit # in Loop: Header=BB1_6 Depth=2 end_loop # label10: - i32.const $push25=, 16 - i32.add $push26=, $5, $pop25 - i32.const $push52=, 12 - i32.add $push13=, $pop26, $pop52 - i32.const $push51=, 0 - i32.store $drop=, 0($pop13), $pop51 + i32.const $push24=, 16 + i32.add $push25=, $1, $pop24 + i32.const $push57=, 12 + i32.add $push12=, $pop25, $pop57 + i32.const $push56=, 0 + i32.store $drop=, 0($pop12), $pop56 .LBB1_11: # %while.end30.i # in Loop: Header=BB1_6 Depth=2 end_block # label8: - i32.load $1=, 0($1) - i32.const $4=, 0 - br_if 0, $1 # 0: up to label6 + i32.const $5=, 0 + i32.load $push59=, 0($6) + tee_local $push58=, $6=, $pop59 + br_if 0, $pop58 # 0: up to label6 br 4 # 4: down to label1 .LBB1_12: # %while.cond16.preheader.i # in Loop: Header=BB1_1 Depth=1 end_loop # label7: - i32.store $drop=, 0($2), $4 - i32.const $push27=, 16 - i32.add $push28=, $5, $pop27 - i32.const $push56=, 12 - i32.add $push55=, $pop28, $pop56 - tee_local $push54=, $4=, $pop55 - i32.store $push0=, 0($pop54), $0 - i32.const $push53=, 1 - i32.and $push9=, $pop0, $pop53 - br_if 0, $pop9 # 0: down to label2 + i32.const $push26=, 16 + i32.add $push27=, $1, $pop26 + i32.const $push63=, 12 + i32.add $push62=, $pop27, $pop63 + tee_local $push61=, $3=, $pop62 + i32.store $4=, 0($pop61), $0 + i32.store $drop=, 0($2), $5 + i32.const $push60=, 1 + i32.and $push8=, $4, $pop60 + br_if 0, $pop8 # 0: down to label2 .LBB1_13: # %while.body21.i # Parent Loop BB1_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label11: - i32.const $push58=, 1 - i32.shr_u $0=, $0, $pop58 - i32.const $push57=, 1 - i32.and $push10=, $0, $pop57 - i32.eqz $push61=, $pop10 - br_if 0, $pop61 # 0: up to label11 + i32.const $push67=, 1 + i32.shr_u $push66=, $0, $pop67 + tee_local $push65=, $0=, $pop66 + i32.const $push64=, 1 + i32.and $push9=, $pop65, $pop64 + i32.eqz $push70=, $pop9 + br_if 0, $pop70 # 0: up to label11 # BB#14: # %while.cond16.return.loopexit_crit_edge.i # in Loop: Header=BB1_1 Depth=1 end_loop # label12: - i32.store $drop=, 0($4), $0 + i32.store $drop=, 0($3), $0 .LBB1_15: # %for.inc # in Loop: Header=BB1_1 Depth=1 end_block # label2: + i32.const $push28=, 16 + i32.add $push29=, $1, $pop28 + i32.const $push38=, 12 + i32.add $push10=, $pop29, $pop38 i32.const $push37=, 1 - i32.shr_u $0=, $0, $pop37 - i32.const $push29=, 16 - i32.add $push30=, $5, $pop29 - i32.const $push36=, 12 - i32.add $push11=, $pop30, $pop36 - i32.store $drop=, 0($pop11), $0 + i32.shr_u $push36=, $0, $pop37 + tee_local $push35=, $0=, $pop36 + i32.store $drop=, 0($pop10), $pop35 br 0 # 0: up to label0 .LBB1_16: # %for.end end_loop # label1: - i32.const $push20=, __stack_pointer - i32.const $push18=, 32 - i32.add $push19=, $5, $pop18 - i32.store $drop=, 0($pop20), $pop19 - return + i32.const $push19=, 0 + i32.const $push17=, 32 + i32.add $push18=, $1, $pop17 + i32.store $drop=, __stack_pointer($pop19), $pop18 + # fallthrough-return .endfunc .Lfunc_end1: .size foobar, .Lfunc_end1-foobar @@ -214,31 +220,30 @@ foobar: # @foobar .type bmp_iter_set_init,@function bmp_iter_set_init: # @bmp_iter_set_init .param i32, i32, i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.load $push7=, 0($1) - tee_local $push6=, $1=, $pop7 - i32.store $3=, 0($0), $pop6 - i32.const $push1=, 0 - i32.store $4=, 4($0), $pop1 + i32.load $1=, 0($1) + i32.const $push2=, 0 + i32.store $3=, 4($0), $pop2 block - br_if 0, $3 # 0: down to label13 + i32.store $push0=, 0($0), $1 + br_if 0, $pop0 # 0: down to label13 # BB#1: # %if.then i32.const $1=, bitmap_zero_bits - i32.const $push8=, bitmap_zero_bits - i32.store $drop=, 0($0), $pop8 + i32.const $push9=, bitmap_zero_bits + i32.store $drop=, 0($0), $pop9 .LBB2_2: # %while.end end_block # label13: - i32.load $3=, 8($1) - i32.load $1=, 12($1) - i32.store $drop=, 8($0), $4 - i32.store $push0=, 12($0), $1 - i32.eqz $push4=, $pop0 - i32.const $push2=, 7 - i32.shl $push3=, $3, $pop2 - i32.or $push5=, $pop4, $pop3 - i32.store $drop=, 0($2), $pop5 - return + i32.store $drop=, 8($0), $3 + i32.load $push3=, 12($1) + i32.store $push1=, 12($0), $pop3 + i32.eqz $push7=, $pop1 + i32.load $push4=, 8($1) + i32.const $push5=, 7 + i32.shl $push6=, $pop4, $pop5 + i32.or $push8=, $pop7, $pop6 + i32.store $drop=, 0($2), $pop8 + # fallthrough-return .endfunc .Lfunc_end2: .size bmp_iter_set_init, .Lfunc_end2-bmp_iter_set_init diff --git a/test/torture-s/20090207-1.c.s b/test/torture-s/20090207-1.c.s index e2844edff..ed43ebc49 100644 --- a/test/torture-s/20090207-1.c.s +++ b/test/torture-s/20090207-1.c.s @@ -9,8 +9,8 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 128 i32.sub $push10=, $pop6, $pop7 tee_local $push9=, $1=, $pop10 @@ -22,7 +22,7 @@ foo: # @foo i32.const $push8=, 2 i32.store $drop=, 0($pop3), $pop8 i32.load $push4=, 0($1) - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -35,7 +35,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20090527-1.c.s b/test/torture-s/20090527-1.c.s index a32c5f404..16635346c 100644 --- a/test/torture-s/20090527-1.c.s +++ b/test/torture-s/20090527-1.c.s @@ -52,7 +52,7 @@ main: # @main .result i32 # BB#0: # %new_unit.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20090623-1.c.s b/test/torture-s/20090623-1.c.s index 642d96898..4c9849342 100644 --- a/test/torture-s/20090623-1.c.s +++ b/test/torture-s/20090623-1.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.const $push1=, 0 i32.load $push2=, x($pop1) i32.store $push0=, 0($pop2), $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -24,15 +24,15 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push6=, $pop2, $pop3 i32.const $push4=, 12 i32.add $push5=, $pop6, $pop4 i32.store $drop=, x($pop0), $pop5 i32.const $push7=, 0 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20090711-1.c.s b/test/torture-s/20090711-1.c.s index 45923def4..a3250171d 100644 --- a/test/torture-s/20090711-1.c.s +++ b/test/torture-s/20090711-1.c.s @@ -8,14 +8,9 @@ div: # @div .param i64 .result i64 # BB#0: # %entry - i64.const $push0=, 63 - i64.shr_s $push1=, $0, $pop0 - i64.const $push2=, 49 - i64.shr_u $push3=, $pop1, $pop2 - i64.add $push4=, $0, $pop3 - i64.const $push5=, 15 - i64.shr_s $push6=, $pop4, $pop5 - return $pop6 + i64.const $push0=, 32768 + i64.div_s $push1=, $0, $pop0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size div, .Lfunc_end0-div diff --git a/test/torture-s/20090814-1.c.s b/test/torture-s/20090814-1.c.s index 3e3d4a1d0..b0721a6d3 100644 --- a/test/torture-s/20090814-1.c.s +++ b/test/torture-s/20090814-1.c.s @@ -9,7 +9,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.load $push0=, 0($0) - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -28,7 +28,7 @@ foo: # @foo i32.shl $push3=, $pop1, $pop2 i32.add $push4=, $0, $pop3 i32.call $push5=, bar@FUNCTION, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -41,14 +41,14 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push7=, 0 - i32.const $push2=, 1 - i32.store $drop=, i($pop7), $pop2 + i32.const $push0=, 1 + i32.store $drop=, i($pop7), $pop0 i32.const $push6=, 0 - i64.const $push0=, 184683593727 - i64.store $drop=, a($pop6):p2align=2, $pop0 + i64.const $push1=, 184683593727 + i64.store $drop=, a($pop6):p2align=2, $pop1 block - i32.const $push1=, a - i32.call $push3=, foo@FUNCTION, $pop1 + i32.const $push2=, a + i32.call $push3=, foo@FUNCTION, $pop2 i32.const $push4=, 42 i32.ne $push5=, $pop3, $pop4 br_if 0, $pop5 # 0: down to label0 diff --git a/test/torture-s/20091229-1.c.s b/test/torture-s/20091229-1.c.s index 2904b3e7f..f0c9fd8c0 100644 --- a/test/torture-s/20091229-1.c.s +++ b/test/torture-s/20091229-1.c.s @@ -8,16 +8,9 @@ foo: # @foo .param i64 .result i64 # BB#0: # %entry - i64.const $push7=, 0 - i64.const $push0=, 63 - i64.shr_s $push1=, $0, $pop0 - i64.const $push2=, 33 - i64.shr_u $push3=, $pop1, $pop2 - i64.add $push4=, $0, $pop3 - i64.const $push5=, 31 - i64.shr_s $push6=, $pop4, $pop5 - i64.sub $push8=, $pop7, $pop6 - return $pop8 + i64.const $push0=, -2147483648 + i64.div_s $push1=, $0, $pop0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/20100209-1.c.s b/test/torture-s/20100209-1.c.s index cd00a4954..a0ba53a42 100644 --- a/test/torture-s/20100209-1.c.s +++ b/test/torture-s/20100209-1.c.s @@ -10,7 +10,7 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 3 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -23,7 +23,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20100316-1.c.s b/test/torture-s/20100316-1.c.s index a132b6d22..a717813e4 100644 --- a/test/torture-s/20100316-1.c.s +++ b/test/torture-s/20100316-1.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.load16_u $push0=, 4($0) i32.const $push1=, 1023 i32.and $push2=, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -22,26 +22,25 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32 # BB#0: # %entry + i32.const $push10=, 0 + i32.const $push0=, -1 + i32.store $drop=, f($pop10), $pop0 i32.const $push9=, 0 - i32.load16_u $0=, f+4($pop9) i32.const $push8=, 0 - i32.const $push0=, -1 - i32.store $drop=, f($pop8), $pop0 - i32.const $push7=, 0 + i32.load16_u $push1=, f+4($pop8) i32.const $push2=, 57344 - i32.and $push3=, $0, $pop2 + i32.and $push3=, $pop1, $pop2 i32.const $push4=, 7168 i32.or $push5=, $pop3, $pop4 - i32.store16 $drop=, f+4($pop7), $pop5 + i32.store16 $drop=, f+4($pop9), $pop5 block - i32.const $push1=, f - i32.call $push6=, foo@FUNCTION, $pop1 - br_if 0, $pop6 # 0: down to label0 + i32.const $push6=, f + i32.call $push7=, foo@FUNCTION, $pop6 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end - i32.const $push10=, 0 - return $pop10 + i32.const $push11=, 0 + return $pop11 .LBB1_2: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/20100416-1.c.s b/test/torture-s/20100416-1.c.s index 103972f80..cb5803311 100644 --- a/test/torture-s/20100416-1.c.s +++ b/test/torture-s/20100416-1.c.s @@ -8,14 +8,14 @@ movegt: # @movegt .param i32, i32, i64 .result i32 # BB#0: # %entry - i64.const $push2=, -1152921504606846977 - i64.gt_s $push3=, $2, $pop2 - i32.select $push4=, $0, $1, $pop3 - i32.const $push0=, 0 + i64.const $push0=, -1152921504606846977 + i64.gt_s $push1=, $2, $pop0 + i32.select $push2=, $0, $1, $pop1 + i32.const $push3=, 0 i32.const $push6=, 0 - i32.gt_s $push1=, $1, $pop6 - i32.select $push5=, $pop4, $pop0, $pop1 - return $pop5 + i32.gt_s $push4=, $1, $pop6 + i32.select $push5=, $pop2, $pop3, $pop4 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size movegt, .Lfunc_end0-movegt diff --git a/test/torture-s/20100430-1.c.s b/test/torture-s/20100430-1.c.s index 033a76c98..d48adadb0 100644 --- a/test/torture-s/20100430-1.c.s +++ b/test/torture-s/20100430-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20100708-1.c.s b/test/torture-s/20100708-1.c.s index e35775e64..7fc92806b 100644 --- a/test/torture-s/20100708-1.c.s +++ b/test/torture-s/20100708-1.c.s @@ -12,7 +12,7 @@ f: # @f i32.const $push3=, 0 i32.const $push2=, 192 i32.call $drop=, memset@FUNCTION, $pop1, $pop3, $pop2 - return + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -25,22 +25,22 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 208 i32.sub $push10=, $pop2, $pop3 - i32.store $push12=, 0($pop4), $pop10 + i32.store $push12=, __stack_pointer($pop4), $pop10 tee_local $push11=, $0=, $pop12 i32.const $push8=, 8 i32.add $push9=, $pop11, $pop8 call f@FUNCTION, $pop9 - i32.const $push7=, __stack_pointer + i32.const $push7=, 0 i32.const $push5=, 208 i32.add $push6=, $0, $pop5 - i32.store $drop=, 0($pop7), $pop6 + i32.store $drop=, __stack_pointer($pop7), $pop6 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20100805-1.c.s b/test/torture-s/20100805-1.c.s index f104f35cd..bdeb608bd 100644 --- a/test/torture-s/20100805-1.c.s +++ b/test/torture-s/20100805-1.c.s @@ -11,21 +11,23 @@ foo: # @foo i32.const $push0=, 1 i32.and $0=, $0, $pop0 block - i32.eqz $push3=, $1 - br_if 0, $pop3 # 0: down to label0 + i32.eqz $push5=, $1 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %for.body.preheader .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push2=, 1 - i32.rotl $0=, $0, $pop2 - i32.const $push1=, -1 - i32.add $1=, $1, $pop1 - br_if 0, $1 # 0: up to label1 + i32.const $push4=, 1 + i32.rotl $0=, $0, $pop4 + i32.const $push3=, -1 + i32.add $push2=, $1, $pop3 + tee_local $push1=, $1=, $pop2 + br_if 0, $pop1 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return $0 + copy_local $push6=, $0 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -38,7 +40,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20100827-1.c.s b/test/torture-s/20100827-1.c.s index 55d0c7dbf..de14254e9 100644 --- a/test/torture-s/20100827-1.c.s +++ b/test/torture-s/20100827-1.c.s @@ -9,33 +9,33 @@ foo: # @foo .result i32 .local i32, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $2=, 0 block block i32.load8_u $push0=, 0($0) i32.eqz $push7=, $pop0 br_if 0, $pop7 # 0: down to label1 # BB#1: # %if.end.preheader - i32.const $1=, 0 + i32.const $2=, 0 .LBB0_2: # %if.end # =>This Inner Loop Header: Depth=1 loop # label2: - i32.add $push4=, $0, $1 - tee_local $push3=, $2=, $pop4 + i32.add $push4=, $0, $2 + tee_local $push3=, $1=, $pop4 i32.eqz $push8=, $pop3 br_if 3, $pop8 # 3: down to label0 # BB#3: # %if.end5 # in Loop: Header=BB0_2 Depth=1 i32.const $push6=, 1 - i32.add $1=, $1, $pop6 + i32.add $2=, $2, $pop6 i32.const $push5=, 1 - i32.add $push1=, $2, $pop5 + i32.add $push1=, $1, $pop5 i32.load8_u $push2=, 0($pop1) br_if 0, $pop2 # 0: up to label2 .LBB0_4: # %do.end end_loop # label3: end_block # label1: - return $1 + return $2 .LBB0_5: # %if.then4 end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/20101013-1.c.s b/test/torture-s/20101013-1.c.s index dc1309df0..e928a2058 100644 --- a/test/torture-s/20101013-1.c.s +++ b/test/torture-s/20101013-1.c.s @@ -9,7 +9,7 @@ main: # @main # BB#0: # %entry call build_ref_for_offset@FUNCTION i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -19,25 +19,25 @@ main: # @main build_ref_for_offset: # @build_ref_for_offset .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push12=, $pop4, $pop5 - i32.store $push14=, 0($pop6), $pop12 + i32.store $push14=, __stack_pointer($pop6), $pop12 tee_local $push13=, $0=, $pop14 i32.const $push10=, 8 i32.add $push11=, $pop13, $pop10 call get_addr_base_and_unit_offset@FUNCTION, $pop11 - i64.load $push0=, 8($0) - i64.const $push1=, 4 - i64.add $push2=, $pop0, $pop1 + i64.load $push1=, 8($0) + i64.const $push0=, 4 + i64.add $push2=, $pop1, $pop0 call build_int_cst@FUNCTION, $pop2 - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 16 i32.add $push8=, $0, $pop7 - i32.store $drop=, 0($pop9), $pop8 - return + i32.store $drop=, __stack_pointer($pop9), $pop8 + # fallthrough-return .endfunc .Lfunc_end1: .size build_ref_for_offset, .Lfunc_end1-build_ref_for_offset @@ -49,7 +49,7 @@ get_addr_base_and_unit_offset: # @get_addr_base_and_unit_offset # BB#0: # %entry i64.const $push0=, 0 i64.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end2: .size get_addr_base_and_unit_offset, .Lfunc_end2-get_addr_base_and_unit_offset diff --git a/test/torture-s/20101025-1.c.s b/test/torture-s/20101025-1.c.s index 78ca27b17..44e88c513 100644 --- a/test/torture-s/20101025-1.c.s +++ b/test/torture-s/20101025-1.c.s @@ -9,7 +9,7 @@ f2: # @f2 # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, g_3($pop0), $0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size f2, .Lfunc_end0-f2 @@ -29,7 +29,7 @@ f3: # @f3 i32.load $push3=, g_7($pop5) call f2@FUNCTION, $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size f3, .Lfunc_end1-f3 diff --git a/test/torture-s/20111208-1.c.s b/test/torture-s/20111208-1.c.s index c56e219e7..625baaee7 100644 --- a/test/torture-s/20111208-1.c.s +++ b/test/torture-s/20111208-1.c.s @@ -9,59 +9,50 @@ pack_unpack: # @pack_unpack .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.call $push1=, strlen@FUNCTION, $1 - i32.add $2=, $1, $pop1 -.LBB0_1: # %while.cond.outer - # =>This Loop Header: Depth=1 - # Child Loop BB0_2 Depth 2 + i32.call $push0=, strlen@FUNCTION, $1 + i32.add $2=, $1, $pop0 +.LBB0_1: # %while.cond + # =>This Inner Loop Header: Depth=1 loop # label0: - copy_local $3=, $1 -.LBB0_2: # %while.cond - # Parent Loop BB0_1 Depth=1 - # => This Inner Loop Header: Depth=2 - block - block - loop # label4: - i32.ge_u $push2=, $3, $2 - br_if 2, $pop2 # 2: down to label3 -# BB#3: # %while.body - # in Loop: Header=BB0_2 Depth=2 + i32.ge_u $push1=, $1, $2 + br_if 1, $pop1 # 1: down to label1 +# BB#2: # %while.body + # in Loop: Header=BB0_1 Depth=1 i32.const $push11=, 1 - i32.add $1=, $3, $pop11 - i32.load8_s $push10=, 0($3) + i32.add $3=, $1, $pop11 + block + i32.load8_s $push10=, 0($1) tee_local $push9=, $4=, $pop10 i32.const $push8=, 108 - i32.eq $push4=, $pop9, $pop8 - br_if 3, $pop4 # 3: down to label2 -# BB#4: # %while.body - # in Loop: Header=BB0_2 Depth=2 - copy_local $3=, $1 + i32.eq $push3=, $pop9, $pop8 + br_if 0, $pop3 # 0: down to label2 +# BB#3: # %while.body + # in Loop: Header=BB0_1 Depth=1 + copy_local $1=, $3 i32.const $push12=, 115 - i32.ne $push5=, $4, $pop12 - br_if 0, $pop5 # 0: up to label4 -# BB#5: # %sw.bb4 + i32.ne $push4=, $4, $pop12 + br_if 1, $pop4 # 1: up to label0 +# BB#4: # %sw.bb4 # in Loop: Header=BB0_1 Depth=1 - end_loop # label5: i32.load16_s $push6=, 0($0):p2align=0 call do_something@FUNCTION, $pop6 - i32.const $push13=, 2 - i32.add $push0=, $0, $pop13 - copy_local $0=, $pop0 - br 2 # 2: up to label0 -.LBB0_6: # %while.end - end_block # label3: - i32.load8_s $push3=, 0($0) - return $pop3 -.LBB0_7: # %sw.bb8 + i32.const $push7=, 2 + i32.add $0=, $0, $pop7 + copy_local $1=, $3 + br 1 # 1: up to label0 +.LBB0_5: # %sw.bb8 # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.load $3=, 0($0):p2align=0 - i32.const $push7=, 4 - i32.add $0=, $0, $pop7 - call do_something@FUNCTION, $3 + i32.load $push5=, 0($0):p2align=0 + call do_something@FUNCTION, $pop5 + i32.const $push13=, 4 + i32.add $0=, $0, $pop13 + copy_local $1=, $3 br 0 # 0: up to label0 -.LBB0_8: +.LBB0_6: # %while.end end_loop # label1: + i32.load8_s $push2=, 0($0) + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size pack_unpack, .Lfunc_end0-pack_unpack @@ -73,7 +64,7 @@ do_something: # @do_something # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, a($pop0), $0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size do_something, .Lfunc_end1-do_something @@ -86,68 +77,59 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $1=, .L.str - i32.const $0=, .L.str.1 -.LBB2_1: # %while.cond.outer.i - # =>This Loop Header: Depth=1 - # Child Loop BB2_2 Depth 2 - loop # label6: - copy_local $2=, $0 -.LBB2_2: # %while.cond.i - # Parent Loop BB2_1 Depth=1 - # => This Inner Loop Header: Depth=2 - block - block - loop # label10: + i32.const $3=, .L.str + i32.const $2=, .L.str.1 +.LBB2_1: # %while.cond.i + # =>This Inner Loop Header: Depth=1 + loop # label3: i32.const $push8=, .L.str.1+2 - i32.ge_u $push1=, $2, $pop8 - br_if 2, $pop1 # 2: down to label9 -# BB#3: # %while.body.i - # in Loop: Header=BB2_2 Depth=2 + i32.ge_u $push0=, $2, $pop8 + br_if 1, $pop0 # 1: down to label4 +# BB#2: # %while.body.i + # in Loop: Header=BB2_1 Depth=1 i32.const $push12=, 1 i32.add $0=, $2, $pop12 + block i32.load8_s $push11=, 0($2) - tee_local $push10=, $3=, $pop11 + tee_local $push10=, $1=, $pop11 i32.const $push9=, 108 - i32.eq $push4=, $pop10, $pop9 - br_if 3, $pop4 # 3: down to label8 -# BB#4: # %while.body.i - # in Loop: Header=BB2_2 Depth=2 + i32.ne $push3=, $pop10, $pop9 + br_if 0, $pop3 # 0: down to label5 +# BB#3: # %sw.bb8.i + # in Loop: Header=BB2_1 Depth=1 + i32.load $push5=, 0($3):p2align=0 + call do_something@FUNCTION, $pop5 + i32.const $push7=, 4 + i32.add $3=, $3, $pop7 + copy_local $2=, $0 + br 1 # 1: up to label3 +.LBB2_4: # %while.body.i + # in Loop: Header=BB2_1 Depth=1 + end_block # label5: copy_local $2=, $0 i32.const $push13=, 115 - i32.ne $push5=, $3, $pop13 - br_if 0, $pop5 # 0: up to label10 + i32.ne $push4=, $1, $pop13 + br_if 0, $pop4 # 0: up to label3 # BB#5: # %sw.bb4.i # in Loop: Header=BB2_1 Depth=1 - end_loop # label11: - i32.load16_s $push6=, 0($1):p2align=0 + i32.load16_s $push6=, 0($3):p2align=0 call do_something@FUNCTION, $pop6 i32.const $push14=, 2 - i32.add $push0=, $1, $pop14 - copy_local $1=, $pop0 - br 2 # 2: up to label6 + i32.add $3=, $3, $pop14 + copy_local $2=, $0 + br 0 # 0: up to label3 .LBB2_6: # %pack_unpack.exit - end_block # label9: + end_loop # label4: block - i32.load8_u $push2=, 0($1) - br_if 0, $pop2 # 0: down to label12 + i32.load8_u $push1=, 0($3) + br_if 0, $pop1 # 0: down to label6 # BB#7: # %if.end - i32.const $push3=, 0 - return $pop3 + i32.const $push2=, 0 + return $pop2 .LBB2_8: # %if.then - end_block # label12: + end_block # label6: call abort@FUNCTION unreachable -.LBB2_9: # %sw.bb8.i - # in Loop: Header=BB2_1 Depth=1 - end_block # label8: - i32.load $2=, 0($1):p2align=0 - i32.const $push7=, 4 - i32.add $1=, $1, $pop7 - call do_something@FUNCTION, $2 - br 0 # 0: up to label6 -.LBB2_10: - end_loop # label7: .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20111212-1.c.s b/test/torture-s/20111212-1.c.s index 28fcef0af..139464adf 100644 --- a/test/torture-s/20111212-1.c.s +++ b/test/torture-s/20111212-1.c.s @@ -17,7 +17,7 @@ frob_entry: # @frob_entry i32.store $drop=, 0($0):p2align=0, $pop3 .LBB0_2: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size frob_entry, .Lfunc_end0-frob_entry @@ -30,12 +30,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push13=, $pop5, $pop6 - i32.store $push15=, 0($pop7), $pop13 + i32.store $push15=, __stack_pointer($pop7), $pop13 tee_local $push14=, $0=, $pop15 i64.const $push0=, 0 i64.store $drop=, 8($pop14), $pop0 @@ -44,12 +44,12 @@ main: # @main i32.const $push1=, 1 i32.or $push2=, $pop12, $pop1 call frob_entry@FUNCTION, $pop2 - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20111227-1.c.s b/test/torture-s/20111227-1.c.s index 101915721..ab69cc30c 100644 --- a/test/torture-s/20111227-1.c.s +++ b/test/torture-s/20111227-1.c.s @@ -42,7 +42,7 @@ foo: # @foo i32.const $push3=, 16 i32.shr_s $push0=, $pop2, $pop3 call bar@FUNCTION, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -54,11 +54,11 @@ foo: # @foo main: # @main .result i32 # BB#0: # %entry - i32.const $push0=, v - i32.const $push1=, 0 - call foo@FUNCTION, $pop0, $pop1 + i32.const $push1=, v + i32.const $push0=, 0 + call foo@FUNCTION, $pop1, $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20111227-2.c.s b/test/torture-s/20111227-2.c.s index be8e34cd7..57997f29d 100644 --- a/test/torture-s/20111227-2.c.s +++ b/test/torture-s/20111227-2.c.s @@ -94,7 +94,7 @@ foo: # @foo i32.const $push4=, 0 i32.store $drop=, i($pop4), $2 call bar@FUNCTION, $1 - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -114,7 +114,7 @@ main: # @main i32.const $push2=, 2 call foo@FUNCTION, $0, $pop2 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20111227-3.c.s b/test/torture-s/20111227-3.c.s index 86d40086e..f43b1c489 100644 --- a/test/torture-s/20111227-3.c.s +++ b/test/torture-s/20111227-3.c.s @@ -94,7 +94,7 @@ foo: # @foo i32.const $push4=, 0 i32.store $drop=, i($pop4), $2 call bar@FUNCTION, $1 - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -114,7 +114,7 @@ main: # @main i32.const $push2=, 2 call foo@FUNCTION, $0, $pop2 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20120105-1.c.s b/test/torture-s/20120105-1.c.s index ff450fb00..60fc4d46b 100644 --- a/test/torture-s/20120105-1.c.s +++ b/test/torture-s/20120105-1.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 16 i32.sub $push17=, $pop11, $pop12 - i32.store $push19=, 0($pop13), $pop17 + i32.store $push19=, __stack_pointer($pop13), $pop17 tee_local $push18=, $1=, $pop19 i32.const $push4=, 8 i32.add $push5=, $pop18, $pop4 @@ -28,11 +28,12 @@ main: # @main i32.or $push8=, $1, $pop7 i32.call $push9=, extract@FUNCTION, $pop8 i32.store $drop=, i($0), $pop9 - i32.const $push16=, __stack_pointer + i32.const $push16=, 0 i32.const $push14=, 16 i32.add $push15=, $1, $pop14 - i32.store $drop=, 0($pop16), $pop15 - return $0 + i32.store $drop=, __stack_pointer($pop16), $pop15 + copy_local $push20=, $0 + # fallthrough-return: $pop20 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -44,7 +45,7 @@ extract: # @extract .result i32 # BB#0: # %entry i32.load $push0=, 0($0):p2align=0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size extract, .Lfunc_end1-extract diff --git a/test/torture-s/20120111-1.c.s b/test/torture-s/20120111-1.c.s index a026f39a5..5b56f178a 100644 --- a/test/torture-s/20120111-1.c.s +++ b/test/torture-s/20120111-1.c.s @@ -12,7 +12,7 @@ f0a: # @f0a i64.gt_u $push1=, $0, $pop0 i32.const $push2=, -1 i32.xor $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f0a, .Lfunc_end0-f0a diff --git a/test/torture-s/20120207-1.c.s b/test/torture-s/20120207-1.c.s index 65cb70dc6..55c6946d7 100644 --- a/test/torture-s/20120207-1.c.s +++ b/test/torture-s/20120207-1.c.s @@ -11,7 +11,7 @@ test: # @test i32.const $push0=, .L.str-1 i32.add $push1=, $0, $pop0 i32.load8_s $push2=, 0($pop1) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test diff --git a/test/torture-s/20120427-1.c.s b/test/torture-s/20120427-1.c.s index 36571a1ea..c12a71812 100644 --- a/test/torture-s/20120427-1.c.s +++ b/test/torture-s/20120427-1.c.s @@ -9,20 +9,20 @@ sreal_compare: # @sreal_compare .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $2=, 1 + i32.const $4=, 1 block i32.load $push9=, 4($0) - tee_local $push8=, $4=, $pop9 + tee_local $push8=, $2=, $pop9 i32.load $push7=, 4($1) tee_local $push6=, $3=, $pop7 i32.gt_s $push0=, $pop8, $pop6 br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end - i32.const $2=, -1 - i32.lt_s $push1=, $4, $3 + i32.const $4=, -1 + i32.lt_s $push1=, $2, $3 br_if 0, $pop1 # 0: down to label0 # BB#2: # %if.end6 - i32.const $2=, 1 + i32.const $4=, 1 i32.load $push13=, 0($0) tee_local $push12=, $0=, $pop13 i32.load $push11=, 0($1) @@ -33,10 +33,11 @@ sreal_compare: # @sreal_compare i32.const $push5=, -1 i32.const $push4=, 0 i32.lt_u $push3=, $0, $1 - i32.select $2=, $pop5, $pop4, $pop3 + i32.select $4=, $pop5, $pop4, $pop3 .LBB0_4: # %return end_block # label0: - return $2 + copy_local $push14=, $4 + # fallthrough-return: $pop14 .endfunc .Lfunc_end0: .size sreal_compare, .Lfunc_end0-sreal_compare @@ -47,213 +48,204 @@ sreal_compare: # @sreal_compare .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 -# BB#0: # %entry - i32.const $6=, 0 - i32.const $push47=, 0 - i32.load $0=, a+4($pop47) - i32.const $push46=, 0 - i32.load $1=, a($pop46) - i32.const $push45=, 0 - i32.load $2=, a+12($pop45) - i32.const $push44=, 0 - i32.load $3=, a+8($pop44) - i32.const $push43=, 0 - i32.load $4=, a+20($pop43) - i32.const $push42=, 0 - i32.load $5=, a+16($pop42) -.LBB1_1: # %if.end - # =>This Inner Loop Header: Depth=1 - loop # label1: - i32.const $push52=, 3 - i32.shl $push51=, $6, $pop52 - tee_local $push50=, $8=, $pop51 - i32.const $push49=, a+4 - i32.add $7=, $pop50, $pop49 - i32.const $push48=, a - i32.add $8=, $8, $pop48 - block + .local i32, i32 +# BB#0: # %land.lhs.true.1 block + i32.const $push0=, 0 + i32.load $push60=, a+4($pop0) + tee_local $push59=, $0=, $pop60 + i32.const $push58=, 0 + i32.load $push57=, a+12($pop58) + tee_local $push56=, $1=, $pop57 + i32.gt_s $push1=, $pop59, $pop56 + br_if 0, $pop1 # 0: down to label1 +# BB#1: # %if.end.i.1 block + i32.lt_s $push2=, $0, $1 + br_if 0, $pop2 # 0: down to label2 +# BB#2: # %if.end6.i.1 + i32.const $push3=, 0 + i32.load $push5=, a($pop3) + i32.const $push61=, 0 + i32.load $push4=, a+8($pop61) + i32.ge_u $push6=, $pop5, $pop4 + br_if 1, $pop6 # 1: down to label1 +.LBB1_3: # %land.lhs.true.2 + end_block # label2: + i32.const $push7=, 0 + i32.load $push66=, a+4($pop7) + tee_local $push65=, $0=, $pop66 + i32.const $push64=, 0 + i32.load $push63=, a+20($pop64) + tee_local $push62=, $1=, $pop63 + i32.gt_s $push8=, $pop65, $pop62 + br_if 0, $pop8 # 0: down to label1 +# BB#4: # %if.end.i.2 block + i32.lt_s $push9=, $0, $1 + br_if 0, $pop9 # 0: down to label3 +# BB#5: # %if.end6.i.2 + i32.const $push10=, 0 + i32.load $push12=, a($pop10) + i32.const $push67=, 0 + i32.load $push11=, a+16($pop67) + i32.ge_u $push13=, $pop12, $pop11 + br_if 1, $pop13 # 1: down to label1 +.LBB1_6: # %land.lhs.true16.189 + end_block # label3: block + i32.const $push73=, 0 + i32.load $push72=, a+12($pop73) + tee_local $push71=, $0=, $pop72 + i32.const $push70=, 0 + i32.load $push69=, a+4($pop70) + tee_local $push68=, $1=, $pop69 + i32.gt_s $push14=, $pop71, $pop68 + br_if 0, $pop14 # 0: down to label4 +# BB#7: # %if.end.i45.191 + i32.lt_s $push15=, $0, $1 + br_if 1, $pop15 # 1: down to label1 +# BB#8: # %if.end6.i49.193 + i32.const $push16=, 0 + i32.load $push18=, a+8($pop16) + i32.const $push74=, 0 + i32.load $push17=, a($pop74) + i32.le_u $push19=, $pop18, $pop17 + br_if 1, $pop19 # 1: down to label1 +.LBB1_9: # %land.lhs.true.2.1 + end_block # label4: + i32.const $push80=, 0 + i32.load $push79=, a+12($pop80) + tee_local $push78=, $0=, $pop79 + i32.const $push77=, 0 + i32.load $push76=, a+20($pop77) + tee_local $push75=, $1=, $pop76 + i32.gt_s $push20=, $pop78, $pop75 + br_if 0, $pop20 # 0: down to label1 +# BB#10: # %if.end.i.2.1 block + i32.lt_s $push21=, $0, $1 + br_if 0, $pop21 # 0: down to label5 +# BB#11: # %if.end6.i.2.1 + i32.const $push22=, 0 + i32.load $push24=, a+8($pop22) + i32.const $push81=, 0 + i32.load $push23=, a+16($pop81) + i32.ge_u $push25=, $pop24, $pop23 + br_if 1, $pop25 # 1: down to label1 +.LBB1_12: # %land.lhs.true16.2107 + end_block # label5: block + i32.const $push87=, 0 + i32.load $push86=, a+20($pop87) + tee_local $push85=, $0=, $pop86 + i32.const $push84=, 0 + i32.load $push83=, a+4($pop84) + tee_local $push82=, $1=, $pop83 + i32.gt_s $push26=, $pop85, $pop82 + br_if 0, $pop26 # 0: down to label6 +# BB#13: # %if.end.i45.2109 + i32.lt_s $push27=, $0, $1 + br_if 1, $pop27 # 1: down to label1 +# BB#14: # %if.end6.i49.2111 + i32.const $push28=, 0 + i32.load $push30=, a+16($pop28) + i32.const $push88=, 0 + i32.load $push29=, a($pop88) + i32.le_u $push31=, $pop30, $pop29 + br_if 1, $pop31 # 1: down to label1 +.LBB1_15: # %land.lhs.true16.1.2 + end_block # label6: block + i32.const $push94=, 0 + i32.load $push93=, a+20($pop94) + tee_local $push92=, $0=, $pop93 + i32.const $push91=, 0 + i32.load $push90=, a+12($pop91) + tee_local $push89=, $1=, $pop90 + i32.gt_s $push32=, $pop92, $pop89 + br_if 0, $pop32 # 0: down to label7 +# BB#16: # %if.end.i45.1.2 + i32.lt_s $push33=, $0, $1 + br_if 1, $pop33 # 1: down to label1 +# BB#17: # %if.end6.i49.1.2 + i32.const $push34=, 0 + i32.load $push36=, a+16($pop34) + i32.const $push95=, 0 + i32.load $push35=, a+8($pop95) + i32.le_u $push37=, $pop36, $pop35 + br_if 1, $pop37 # 1: down to label1 +.LBB1_18: # %land.lhs.true16.3 + end_block # label7: block - i32.eqz $push72=, $6 - br_if 0, $pop72 # 0: down to label11 -# BB#2: # %if.end14 - # in Loop: Header=BB1_1 Depth=1 - i32.const $push53=, 1 - i32.lt_s $push0=, $6, $pop53 - br_if 1, $pop0 # 1: down to label10 -# BB#3: # %land.lhs.true16 - # in Loop: Header=BB1_1 Depth=1 + i32.const $push101=, 0 + i32.load $push100=, a+28($pop101) + tee_local $push99=, $0=, $pop100 + i32.const $push98=, 0 + i32.load $push97=, a+4($pop98) + tee_local $push96=, $1=, $pop97 + i32.gt_s $push38=, $pop99, $pop96 + br_if 0, $pop38 # 0: down to label8 +# BB#19: # %if.end.i45.3 + i32.lt_s $push39=, $0, $1 + br_if 1, $pop39 # 1: down to label1 +# BB#20: # %if.end6.i49.3 + i32.const $push40=, 0 + i32.load $push42=, a+24($pop40) + i32.const $push102=, 0 + i32.load $push41=, a($pop102) + i32.le_u $push43=, $pop42, $pop41 + br_if 1, $pop43 # 1: down to label1 +.LBB1_21: # %land.lhs.true16.1.3 + end_block # label8: block - i32.load $push55=, 0($7) - tee_local $push54=, $9=, $pop55 - i32.gt_s $push1=, $pop54, $0 - br_if 0, $pop1 # 0: down to label12 -# BB#4: # %if.end.i45 - # in Loop: Header=BB1_1 Depth=1 - i32.lt_s $push2=, $9, $0 - br_if 8, $pop2 # 8: down to label4 -# BB#5: # %if.end6.i49 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push3=, 0($8) - i32.le_u $push4=, $pop3, $1 - br_if 8, $pop4 # 8: down to label4 -.LBB1_6: # %if.end.1 - # in Loop: Header=BB1_1 Depth=1 - end_block # label12: - i32.const $push56=, 1 - i32.ne $push5=, $6, $pop56 - br_if 2, $pop5 # 2: down to label9 -# BB#7: # %land.lhs.true8.1 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push24=, 0($7) - i32.ne $push25=, $pop24, $2 - br_if 6, $pop25 # 6: down to label5 -# BB#8: # %if.end6.i63.1 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push26=, 0($8) - i32.eq $push27=, $pop26, $3 - br_if 3, $pop27 # 3: down to label8 - br 6 # 6: down to label5 -.LBB1_9: # %land.lhs.true8 - # in Loop: Header=BB1_1 Depth=1 - end_block # label11: - i32.load $push28=, 0($7) - i32.ne $push29=, $pop28, $0 - br_if 5, $pop29 # 5: down to label5 -# BB#10: # %if.end6.i63 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push30=, 0($8) - i32.ne $push31=, $pop30, $1 - br_if 5, $pop31 # 5: down to label5 -.LBB1_11: # %land.lhs.true.1 - # in Loop: Header=BB1_1 Depth=1 - end_block # label10: - i32.load $push58=, 0($7) - tee_local $push57=, $9=, $pop58 - i32.gt_s $push32=, $pop57, $2 - br_if 3, $pop32 # 3: down to label6 -# BB#12: # %if.end.i.1 - # in Loop: Header=BB1_1 Depth=1 - i32.lt_s $push33=, $9, $2 - br_if 1, $pop33 # 1: down to label8 -# BB#13: # %if.end6.i.1 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push34=, 0($8) - i32.lt_u $push35=, $pop34, $3 - br_if 1, $pop35 # 1: down to label8 - br 3 # 3: down to label6 -.LBB1_14: # %if.end14.1 - # in Loop: Header=BB1_1 Depth=1 + i32.const $push108=, 0 + i32.load $push107=, a+28($pop108) + tee_local $push106=, $0=, $pop107 + i32.const $push105=, 0 + i32.load $push104=, a+12($pop105) + tee_local $push103=, $1=, $pop104 + i32.gt_s $push44=, $pop106, $pop103 + br_if 0, $pop44 # 0: down to label9 +# BB#22: # %if.end.i45.1.3 + i32.lt_s $push45=, $0, $1 + br_if 1, $pop45 # 1: down to label1 +# BB#23: # %if.end6.i49.1.3 + i32.const $push46=, 0 + i32.load $push48=, a+24($pop46) + i32.const $push109=, 0 + i32.load $push47=, a+8($pop109) + i32.le_u $push49=, $pop48, $pop47 + br_if 1, $pop49 # 1: down to label1 +.LBB1_24: # %land.lhs.true16.2.3 end_block # label9: - i32.const $push59=, 2 - i32.lt_s $push6=, $6, $pop59 - br_if 0, $pop6 # 0: down to label8 -# BB#15: # %land.lhs.true16.1 - # in Loop: Header=BB1_1 Depth=1 block - i32.load $push61=, 0($7) - tee_local $push60=, $9=, $pop61 - i32.gt_s $push7=, $pop60, $2 - br_if 0, $pop7 # 0: down to label13 -# BB#16: # %if.end.i45.1 - # in Loop: Header=BB1_1 Depth=1 - i32.lt_s $push8=, $9, $2 - br_if 5, $pop8 # 5: down to label4 -# BB#17: # %if.end6.i49.1 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push9=, 0($8) - i32.le_u $push10=, $pop9, $3 - br_if 5, $pop10 # 5: down to label4 -.LBB1_18: # %if.end.2 - # in Loop: Header=BB1_1 Depth=1 - end_block # label13: - i32.const $push62=, 2 - i32.ne $push11=, $6, $pop62 - br_if 1, $pop11 # 1: down to label7 -# BB#19: # %land.lhs.true8.2 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push20=, 0($7) - i32.ne $push21=, $pop20, $4 - br_if 3, $pop21 # 3: down to label5 -# BB#20: # %if.end6.i63.2 - # in Loop: Header=BB1_1 Depth=1 - i32.const $6=, 3 - i32.load $push22=, 0($8) - i32.eq $push23=, $pop22, $5 - br_if 6, $pop23 # 6: up to label1 - br 3 # 3: down to label5 -.LBB1_21: # %land.lhs.true.2 - # in Loop: Header=BB1_1 Depth=1 - end_block # label8: - i32.load $push64=, 0($7) - tee_local $push63=, $7=, $pop64 - i32.gt_s $push36=, $pop63, $4 - br_if 1, $pop36 # 1: down to label6 -# BB#22: # %if.end.i.2 - # in Loop: Header=BB1_1 Depth=1 - i32.lt_s $push37=, $7, $4 - br_if 4, $pop37 # 4: down to label3 -# BB#23: # %if.end6.i.2 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push38=, 0($8) - i32.ge_u $push39=, $pop38, $5 - br_if 1, $pop39 # 1: down to label6 - br 4 # 4: down to label3 -.LBB1_24: # %if.end14.2 - # in Loop: Header=BB1_1 Depth=1 - end_block # label7: - i32.const $push67=, 3 - i32.lt_s $push12=, $6, $pop67 - br_if 3, $pop12 # 3: down to label3 -# BB#25: # %land.lhs.true16.2 - i32.load $push71=, 0($7) - tee_local $push70=, $6=, $pop71 - i32.const $push13=, 0 - i32.load $push69=, a+20($pop13) - tee_local $push68=, $7=, $pop69 - i32.gt_s $push14=, $pop70, $pop68 - br_if 5, $pop14 # 5: down to label2 -# BB#26: # %if.end.i45.2 - i32.lt_s $push15=, $6, $7 - br_if 2, $pop15 # 2: down to label4 -# BB#27: # %if.end6.i49.2 - i32.load $push16=, 0($8) - i32.const $push17=, 0 - i32.load $push18=, a+16($pop17) - i32.le_u $push19=, $pop16, $pop18 - br_if 2, $pop19 # 2: down to label4 - br 5 # 5: down to label2 -.LBB1_28: # %if.then - end_block # label6: - call abort@FUNCTION - unreachable -.LBB1_29: # %if.then13 - end_block # label5: - call abort@FUNCTION - unreachable -.LBB1_30: # %if.then21 - end_block # label4: + i32.const $push115=, 0 + i32.load $push114=, a+28($pop115) + tee_local $push113=, $0=, $pop114 + i32.const $push112=, 0 + i32.load $push111=, a+20($pop112) + tee_local $push110=, $1=, $pop111 + i32.gt_s $push50=, $pop113, $pop110 + br_if 0, $pop50 # 0: down to label10 +# BB#25: # %if.end.i45.2.3 + i32.lt_s $push51=, $0, $1 + br_if 1, $pop51 # 1: down to label1 +# BB#26: # %if.end6.i49.2.3 + i32.const $push52=, 0 + i32.load $push54=, a+24($pop52) + i32.const $push116=, 0 + i32.load $push53=, a+16($pop116) + i32.le_u $push55=, $pop54, $pop53 + br_if 1, $pop55 # 1: down to label1 +.LBB1_27: # %for.inc.2.3 + end_block # label10: + i32.const $push117=, 0 + return $pop117 +.LBB1_28: # %if.then21 + end_block # label1: call abort@FUNCTION unreachable -.LBB1_31: # %for.inc.2 - # in Loop: Header=BB1_1 Depth=1 - end_block # label3: - i32.const $push66=, 1 - i32.add $6=, $6, $pop66 - i32.const $push65=, 4 - i32.lt_s $push40=, $6, $pop65 - br_if 0, $pop40 # 0: up to label1 -.LBB1_32: # %for.end25 - end_loop # label2: - i32.const $push41=, 0 - return $pop41 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20120427-2.c.s b/test/torture-s/20120427-2.c.s index c913eab50..4e7ac27b8 100644 --- a/test/torture-s/20120427-2.c.s +++ b/test/torture-s/20120427-2.c.s @@ -9,20 +9,20 @@ sreal_compare: # @sreal_compare .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $2=, 1 + i32.const $4=, 1 block i32.load $push9=, 4($0) - tee_local $push8=, $4=, $pop9 + tee_local $push8=, $2=, $pop9 i32.load $push7=, 4($1) tee_local $push6=, $3=, $pop7 i32.gt_s $push0=, $pop8, $pop6 br_if 0, $pop0 # 0: down to label0 # BB#1: # %if.end - i32.const $2=, -1 - i32.lt_s $push1=, $4, $3 + i32.const $4=, -1 + i32.lt_s $push1=, $2, $3 br_if 0, $pop1 # 0: down to label0 # BB#2: # %if.end6 - i32.const $2=, 1 + i32.const $4=, 1 i32.load $push13=, 0($0) tee_local $push12=, $0=, $pop13 i32.load $push11=, 0($1) @@ -33,10 +33,11 @@ sreal_compare: # @sreal_compare i32.const $push5=, -1 i32.const $push4=, 0 i32.lt_u $push3=, $0, $1 - i32.select $2=, $pop5, $pop4, $pop3 + i32.select $4=, $pop5, $pop4, $pop3 .LBB0_4: # %return end_block # label0: - return $2 + copy_local $push14=, $4 + # fallthrough-return: $pop14 .endfunc .Lfunc_end0: .size sreal_compare, .Lfunc_end0-sreal_compare @@ -47,213 +48,204 @@ sreal_compare: # @sreal_compare .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 -# BB#0: # %entry - i32.const $6=, 0 - i32.const $push47=, 0 - i32.load $0=, a+4($pop47) - i32.const $push46=, 0 - i32.load $1=, a($pop46) - i32.const $push45=, 0 - i32.load $2=, a+12($pop45) - i32.const $push44=, 0 - i32.load $3=, a+8($pop44) - i32.const $push43=, 0 - i32.load $4=, a+20($pop43) - i32.const $push42=, 0 - i32.load $5=, a+16($pop42) -.LBB1_1: # %if.end - # =>This Inner Loop Header: Depth=1 - loop # label1: - i32.const $push52=, 3 - i32.shl $push51=, $6, $pop52 - tee_local $push50=, $8=, $pop51 - i32.const $push49=, a+4 - i32.add $7=, $pop50, $pop49 - i32.const $push48=, a - i32.add $8=, $8, $pop48 - block + .local i32, i32 +# BB#0: # %land.lhs.true.1 block + i32.const $push0=, 0 + i32.load $push60=, a+4($pop0) + tee_local $push59=, $0=, $pop60 + i32.const $push58=, 0 + i32.load $push57=, a+12($pop58) + tee_local $push56=, $1=, $pop57 + i32.gt_s $push1=, $pop59, $pop56 + br_if 0, $pop1 # 0: down to label1 +# BB#1: # %if.end.i.1 block + i32.lt_s $push2=, $0, $1 + br_if 0, $pop2 # 0: down to label2 +# BB#2: # %if.end6.i.1 + i32.const $push3=, 0 + i32.load $push5=, a($pop3) + i32.const $push61=, 0 + i32.load $push4=, a+8($pop61) + i32.ge_u $push6=, $pop5, $pop4 + br_if 1, $pop6 # 1: down to label1 +.LBB1_3: # %land.lhs.true.2 + end_block # label2: + i32.const $push7=, 0 + i32.load $push66=, a+4($pop7) + tee_local $push65=, $0=, $pop66 + i32.const $push64=, 0 + i32.load $push63=, a+20($pop64) + tee_local $push62=, $1=, $pop63 + i32.gt_s $push8=, $pop65, $pop62 + br_if 0, $pop8 # 0: down to label1 +# BB#4: # %if.end.i.2 block + i32.lt_s $push9=, $0, $1 + br_if 0, $pop9 # 0: down to label3 +# BB#5: # %if.end6.i.2 + i32.const $push10=, 0 + i32.load $push12=, a($pop10) + i32.const $push67=, 0 + i32.load $push11=, a+16($pop67) + i32.ge_u $push13=, $pop12, $pop11 + br_if 1, $pop13 # 1: down to label1 +.LBB1_6: # %land.lhs.true16.189 + end_block # label3: block + i32.const $push73=, 0 + i32.load $push72=, a+12($pop73) + tee_local $push71=, $0=, $pop72 + i32.const $push70=, 0 + i32.load $push69=, a+4($pop70) + tee_local $push68=, $1=, $pop69 + i32.gt_s $push14=, $pop71, $pop68 + br_if 0, $pop14 # 0: down to label4 +# BB#7: # %if.end.i45.191 + i32.lt_s $push15=, $0, $1 + br_if 1, $pop15 # 1: down to label1 +# BB#8: # %if.end6.i49.193 + i32.const $push16=, 0 + i32.load $push18=, a+8($pop16) + i32.const $push74=, 0 + i32.load $push17=, a($pop74) + i32.le_u $push19=, $pop18, $pop17 + br_if 1, $pop19 # 1: down to label1 +.LBB1_9: # %land.lhs.true.2.1 + end_block # label4: + i32.const $push80=, 0 + i32.load $push79=, a+12($pop80) + tee_local $push78=, $0=, $pop79 + i32.const $push77=, 0 + i32.load $push76=, a+20($pop77) + tee_local $push75=, $1=, $pop76 + i32.gt_s $push20=, $pop78, $pop75 + br_if 0, $pop20 # 0: down to label1 +# BB#10: # %if.end.i.2.1 block + i32.lt_s $push21=, $0, $1 + br_if 0, $pop21 # 0: down to label5 +# BB#11: # %if.end6.i.2.1 + i32.const $push22=, 0 + i32.load $push24=, a+8($pop22) + i32.const $push81=, 0 + i32.load $push23=, a+16($pop81) + i32.ge_u $push25=, $pop24, $pop23 + br_if 1, $pop25 # 1: down to label1 +.LBB1_12: # %land.lhs.true16.2107 + end_block # label5: block + i32.const $push87=, 0 + i32.load $push86=, a+20($pop87) + tee_local $push85=, $0=, $pop86 + i32.const $push84=, 0 + i32.load $push83=, a+4($pop84) + tee_local $push82=, $1=, $pop83 + i32.gt_s $push26=, $pop85, $pop82 + br_if 0, $pop26 # 0: down to label6 +# BB#13: # %if.end.i45.2109 + i32.lt_s $push27=, $0, $1 + br_if 1, $pop27 # 1: down to label1 +# BB#14: # %if.end6.i49.2111 + i32.const $push28=, 0 + i32.load $push30=, a+16($pop28) + i32.const $push88=, 0 + i32.load $push29=, a($pop88) + i32.le_u $push31=, $pop30, $pop29 + br_if 1, $pop31 # 1: down to label1 +.LBB1_15: # %land.lhs.true16.1.2 + end_block # label6: block + i32.const $push94=, 0 + i32.load $push93=, a+20($pop94) + tee_local $push92=, $0=, $pop93 + i32.const $push91=, 0 + i32.load $push90=, a+12($pop91) + tee_local $push89=, $1=, $pop90 + i32.gt_s $push32=, $pop92, $pop89 + br_if 0, $pop32 # 0: down to label7 +# BB#16: # %if.end.i45.1.2 + i32.lt_s $push33=, $0, $1 + br_if 1, $pop33 # 1: down to label1 +# BB#17: # %if.end6.i49.1.2 + i32.const $push34=, 0 + i32.load $push36=, a+16($pop34) + i32.const $push95=, 0 + i32.load $push35=, a+8($pop95) + i32.le_u $push37=, $pop36, $pop35 + br_if 1, $pop37 # 1: down to label1 +.LBB1_18: # %land.lhs.true16.3 + end_block # label7: block - i32.eqz $push72=, $6 - br_if 0, $pop72 # 0: down to label11 -# BB#2: # %if.end14 - # in Loop: Header=BB1_1 Depth=1 - i32.const $push53=, 1 - i32.lt_s $push0=, $6, $pop53 - br_if 1, $pop0 # 1: down to label10 -# BB#3: # %land.lhs.true16 - # in Loop: Header=BB1_1 Depth=1 + i32.const $push101=, 0 + i32.load $push100=, a+28($pop101) + tee_local $push99=, $0=, $pop100 + i32.const $push98=, 0 + i32.load $push97=, a+4($pop98) + tee_local $push96=, $1=, $pop97 + i32.gt_s $push38=, $pop99, $pop96 + br_if 0, $pop38 # 0: down to label8 +# BB#19: # %if.end.i45.3 + i32.lt_s $push39=, $0, $1 + br_if 1, $pop39 # 1: down to label1 +# BB#20: # %if.end6.i49.3 + i32.const $push40=, 0 + i32.load $push42=, a+24($pop40) + i32.const $push102=, 0 + i32.load $push41=, a($pop102) + i32.le_u $push43=, $pop42, $pop41 + br_if 1, $pop43 # 1: down to label1 +.LBB1_21: # %land.lhs.true16.1.3 + end_block # label8: block - i32.load $push55=, 0($7) - tee_local $push54=, $9=, $pop55 - i32.gt_s $push1=, $pop54, $0 - br_if 0, $pop1 # 0: down to label12 -# BB#4: # %if.end.i45 - # in Loop: Header=BB1_1 Depth=1 - i32.lt_s $push2=, $9, $0 - br_if 8, $pop2 # 8: down to label4 -# BB#5: # %if.end6.i49 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push3=, 0($8) - i32.le_u $push4=, $pop3, $1 - br_if 8, $pop4 # 8: down to label4 -.LBB1_6: # %if.end.1 - # in Loop: Header=BB1_1 Depth=1 - end_block # label12: - i32.const $push56=, 1 - i32.ne $push5=, $6, $pop56 - br_if 2, $pop5 # 2: down to label9 -# BB#7: # %land.lhs.true8.1 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push24=, 0($7) - i32.ne $push25=, $pop24, $2 - br_if 6, $pop25 # 6: down to label5 -# BB#8: # %if.end6.i63.1 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push26=, 0($8) - i32.eq $push27=, $pop26, $3 - br_if 3, $pop27 # 3: down to label8 - br 6 # 6: down to label5 -.LBB1_9: # %land.lhs.true8 - # in Loop: Header=BB1_1 Depth=1 - end_block # label11: - i32.load $push28=, 0($7) - i32.ne $push29=, $pop28, $0 - br_if 5, $pop29 # 5: down to label5 -# BB#10: # %if.end6.i63 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push30=, 0($8) - i32.ne $push31=, $pop30, $1 - br_if 5, $pop31 # 5: down to label5 -.LBB1_11: # %land.lhs.true.1 - # in Loop: Header=BB1_1 Depth=1 - end_block # label10: - i32.load $push58=, 0($7) - tee_local $push57=, $9=, $pop58 - i32.gt_s $push32=, $pop57, $2 - br_if 3, $pop32 # 3: down to label6 -# BB#12: # %if.end.i.1 - # in Loop: Header=BB1_1 Depth=1 - i32.lt_s $push33=, $9, $2 - br_if 1, $pop33 # 1: down to label8 -# BB#13: # %if.end6.i.1 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push34=, 0($8) - i32.lt_u $push35=, $pop34, $3 - br_if 1, $pop35 # 1: down to label8 - br 3 # 3: down to label6 -.LBB1_14: # %if.end14.1 - # in Loop: Header=BB1_1 Depth=1 + i32.const $push108=, 0 + i32.load $push107=, a+28($pop108) + tee_local $push106=, $0=, $pop107 + i32.const $push105=, 0 + i32.load $push104=, a+12($pop105) + tee_local $push103=, $1=, $pop104 + i32.gt_s $push44=, $pop106, $pop103 + br_if 0, $pop44 # 0: down to label9 +# BB#22: # %if.end.i45.1.3 + i32.lt_s $push45=, $0, $1 + br_if 1, $pop45 # 1: down to label1 +# BB#23: # %if.end6.i49.1.3 + i32.const $push46=, 0 + i32.load $push48=, a+24($pop46) + i32.const $push109=, 0 + i32.load $push47=, a+8($pop109) + i32.le_u $push49=, $pop48, $pop47 + br_if 1, $pop49 # 1: down to label1 +.LBB1_24: # %land.lhs.true16.2.3 end_block # label9: - i32.const $push59=, 2 - i32.lt_s $push6=, $6, $pop59 - br_if 0, $pop6 # 0: down to label8 -# BB#15: # %land.lhs.true16.1 - # in Loop: Header=BB1_1 Depth=1 block - i32.load $push61=, 0($7) - tee_local $push60=, $9=, $pop61 - i32.gt_s $push7=, $pop60, $2 - br_if 0, $pop7 # 0: down to label13 -# BB#16: # %if.end.i45.1 - # in Loop: Header=BB1_1 Depth=1 - i32.lt_s $push8=, $9, $2 - br_if 5, $pop8 # 5: down to label4 -# BB#17: # %if.end6.i49.1 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push9=, 0($8) - i32.le_u $push10=, $pop9, $3 - br_if 5, $pop10 # 5: down to label4 -.LBB1_18: # %if.end.2 - # in Loop: Header=BB1_1 Depth=1 - end_block # label13: - i32.const $push62=, 2 - i32.ne $push11=, $6, $pop62 - br_if 1, $pop11 # 1: down to label7 -# BB#19: # %land.lhs.true8.2 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push20=, 0($7) - i32.ne $push21=, $pop20, $4 - br_if 3, $pop21 # 3: down to label5 -# BB#20: # %if.end6.i63.2 - # in Loop: Header=BB1_1 Depth=1 - i32.const $6=, 3 - i32.load $push22=, 0($8) - i32.eq $push23=, $pop22, $5 - br_if 6, $pop23 # 6: up to label1 - br 3 # 3: down to label5 -.LBB1_21: # %land.lhs.true.2 - # in Loop: Header=BB1_1 Depth=1 - end_block # label8: - i32.load $push64=, 0($7) - tee_local $push63=, $7=, $pop64 - i32.gt_s $push36=, $pop63, $4 - br_if 1, $pop36 # 1: down to label6 -# BB#22: # %if.end.i.2 - # in Loop: Header=BB1_1 Depth=1 - i32.lt_s $push37=, $7, $4 - br_if 4, $pop37 # 4: down to label3 -# BB#23: # %if.end6.i.2 - # in Loop: Header=BB1_1 Depth=1 - i32.load $push38=, 0($8) - i32.ge_u $push39=, $pop38, $5 - br_if 1, $pop39 # 1: down to label6 - br 4 # 4: down to label3 -.LBB1_24: # %if.end14.2 - # in Loop: Header=BB1_1 Depth=1 - end_block # label7: - i32.const $push67=, 3 - i32.lt_s $push12=, $6, $pop67 - br_if 3, $pop12 # 3: down to label3 -# BB#25: # %land.lhs.true16.2 - i32.load $push71=, 0($7) - tee_local $push70=, $6=, $pop71 - i32.const $push13=, 0 - i32.load $push69=, a+20($pop13) - tee_local $push68=, $7=, $pop69 - i32.gt_s $push14=, $pop70, $pop68 - br_if 5, $pop14 # 5: down to label2 -# BB#26: # %if.end.i45.2 - i32.lt_s $push15=, $6, $7 - br_if 2, $pop15 # 2: down to label4 -# BB#27: # %if.end6.i49.2 - i32.load $push16=, 0($8) - i32.const $push17=, 0 - i32.load $push18=, a+16($pop17) - i32.le_u $push19=, $pop16, $pop18 - br_if 2, $pop19 # 2: down to label4 - br 5 # 5: down to label2 -.LBB1_28: # %if.then - end_block # label6: - call abort@FUNCTION - unreachable -.LBB1_29: # %if.then13 - end_block # label5: - call abort@FUNCTION - unreachable -.LBB1_30: # %if.then21 - end_block # label4: + i32.const $push115=, 0 + i32.load $push114=, a+28($pop115) + tee_local $push113=, $0=, $pop114 + i32.const $push112=, 0 + i32.load $push111=, a+20($pop112) + tee_local $push110=, $1=, $pop111 + i32.gt_s $push50=, $pop113, $pop110 + br_if 0, $pop50 # 0: down to label10 +# BB#25: # %if.end.i45.2.3 + i32.lt_s $push51=, $0, $1 + br_if 1, $pop51 # 1: down to label1 +# BB#26: # %if.end6.i49.2.3 + i32.const $push52=, 0 + i32.load $push54=, a+24($pop52) + i32.const $push116=, 0 + i32.load $push53=, a+16($pop116) + i32.le_u $push55=, $pop54, $pop53 + br_if 1, $pop55 # 1: down to label1 +.LBB1_27: # %for.inc.2.3 + end_block # label10: + i32.const $push117=, 0 + return $pop117 +.LBB1_28: # %if.then21 + end_block # label1: call abort@FUNCTION unreachable -.LBB1_31: # %for.inc.2 - # in Loop: Header=BB1_1 Depth=1 - end_block # label3: - i32.const $push66=, 1 - i32.add $6=, $6, $pop66 - i32.const $push65=, 4 - i32.lt_s $push40=, $6, $pop65 - br_if 0, $pop40 # 0: up to label1 -.LBB1_32: # %for.end25 - end_loop # label2: - i32.const $push41=, 0 - return $pop41 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20120615-1.c.s b/test/torture-s/20120615-1.c.s index 09dd9cf15..452c4d7b9 100644 --- a/test/torture-s/20120615-1.c.s +++ b/test/torture-s/20120615-1.c.s @@ -38,7 +38,7 @@ main: # @main i32.const $push0=, 15 call test1@FUNCTION, $pop0 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/20120808-1.c.s b/test/torture-s/20120808-1.c.s index 722184f54..f55002ed4 100644 --- a/test/torture-s/20120808-1.c.s +++ b/test/torture-s/20120808-1.c.s @@ -6,14 +6,15 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i64 + .local i32, i32, i32, i32, i64, i32, i32 # BB#0: # %entry - i32.const $push43=, __stack_pointer - i32.const $push40=, __stack_pointer - i32.load $push41=, 0($pop40) + i32.const $push43=, 0 + i32.const $push40=, 0 + i32.load $push41=, __stack_pointer($pop40) i32.const $push42=, 32 i32.sub $push44=, $pop41, $pop42 - i32.store $0=, 0($pop43), $pop44 + i32.store $push47=, __stack_pointer($pop43), $pop44 + tee_local $push46=, $0=, $pop47 i32.const $push6=, 16 i32.add $push7=, $0, $pop6 i32.const $push3=, 24 @@ -22,75 +23,76 @@ main: # @main i64.store $push0=, 0($pop4), $pop5 i64.store $push1=, 0($pop7), $pop0 i64.store $push2=, 8($0), $pop1 - i64.store $drop=, 0($0), $pop2 + i64.store $drop=, 0($pop46), $pop2 i32.const $push45=, 0 i32.load $push8=, i($pop45) i32.const $push9=, d+1 i32.add $1=, $pop8, $pop9 - i32.const $3=, 0 + i32.const $5=, 0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.add $push48=, $1, $3 - tee_local $push47=, $5=, $pop48 - i32.load8_u $2=, 0($pop47) + i32.add $push50=, $1, $5 + tee_local $push49=, $2=, $pop50 + i32.load8_u $3=, 0($pop49) block block block - i32.const $push46=, 25 - i32.eq $push10=, $3, $pop46 + i32.const $push48=, 25 + i32.eq $push10=, $5, $pop48 br_if 0, $pop10 # 0: down to label4 # BB#2: # %for.body # in Loop: Header=BB0_1 Depth=1 - i32.const $push49=, 2 - i32.eq $push11=, $3, $pop49 + i32.const $push51=, 2 + i32.eq $push11=, $5, $pop51 br_if 1, $pop11 # 1: down to label3 # BB#3: # %for.body # in Loop: Header=BB0_1 Depth=1 - i32.const $4=, 255 - i32.const $push50=, 1 - i32.ne $push12=, $3, $pop50 + i32.const $6=, 255 + i32.const $push52=, 1 + i32.ne $push12=, $5, $pop52 br_if 2, $pop12 # 2: down to label2 # BB#4: # %sw.bb # in Loop: Header=BB0_1 Depth=1 - i32.const $4=, 253 + i32.const $6=, 253 br 2 # 2: down to label2 .LBB0_5: # %sw.bb3 # in Loop: Header=BB0_1 Depth=1 end_block # label4: - i32.const $4=, 254 + i32.const $6=, 254 br 1 # 1: down to label2 .LBB0_6: # %sw.bb1 # in Loop: Header=BB0_1 Depth=1 end_block # label3: - i32.const $4=, 251 + i32.const $6=, 251 .LBB0_7: # %sw.epilog # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.add $push14=, $0, $3 - i32.or $push13=, $4, $2 + i32.const $push57=, 0 + i32.store $drop=, cp($pop57), $2 + i32.add $push14=, $0, $5 + i32.or $push13=, $6, $3 i32.store8 $drop=, 0($pop14), $pop13 - i32.const $push53=, 0 - i32.store $drop=, cp($pop53), $5 - i32.const $push52=, 1 - i32.add $3=, $3, $pop52 - i32.const $push51=, 30 - i32.ne $push15=, $3, $pop51 + i32.const $push56=, 1 + i32.add $push55=, $5, $pop56 + tee_local $push54=, $5=, $pop55 + i32.const $push53=, 30 + i32.ne $push15=, $pop54, $pop53 br_if 0, $pop15 # 0: up to label0 # BB#8: # %for.end end_loop # label1: block - i64.load $push55=, 0($0) - tee_local $push54=, $6=, $pop55 - i64.const $push21=, 65535 - i64.and $push22=, $pop54, $pop21 + i64.load $push59=, 0($0) + tee_local $push58=, $4=, $pop59 + i64.const $push22=, 65535 + i64.and $push23=, $pop58, $pop22 i64.const $push24=, 65023 - i64.ne $push25=, $pop22, $pop24 + i64.ne $push25=, $pop23, $pop24 br_if 0, $pop25 # 0: down to label5 # BB#9: # %for.end - i32.wrap/i64 $push19=, $6 - i32.const $push20=, 16 - i32.shr_u $push16=, $pop19, $pop20 + i32.wrap/i64 $push20=, $4 + i32.const $push21=, 16 + i32.shr_u $push16=, $pop20, $pop21 i32.const $push26=, 255 i32.and $push27=, $pop16, $pop26 i32.const $push28=, 251 @@ -102,25 +104,25 @@ main: # @main i32.lt_u $push31=, $pop17, $pop30 br_if 0, $pop31 # 0: down to label5 # BB#11: # %for.end - i64.const $push23=, 1095216660480 - i64.and $push18=, $6, $pop23 + i64.const $push19=, 1095216660480 + i64.and $push18=, $4, $pop19 i64.const $push32=, 1095216660480 i64.ne $push33=, $pop18, $pop32 br_if 0, $pop33 # 0: down to label5 # BB#12: # %lor.lhs.false29 - i32.load8_u $push34=, 25($0) - i32.const $push35=, 254 - i32.ne $push36=, $pop34, $pop35 + i32.load8_u $push35=, 25($0) + i32.const $push34=, 254 + i32.ne $push36=, $pop35, $pop34 br_if 0, $pop36 # 0: down to label5 # BB#13: # %lor.lhs.false34 - i32.const $push56=, 0 - i32.load $push37=, cp($pop56) + i32.const $push60=, 0 + i32.load $push37=, cp($pop60) i32.const $push38=, d+30 i32.ne $push39=, $pop37, $pop38 br_if 0, $pop39 # 0: down to label5 # BB#14: # %if.end - i32.const $push57=, 0 - call exit@FUNCTION, $pop57 + i32.const $push61=, 0 + call exit@FUNCTION, $pop61 unreachable .LBB0_15: # %if.then end_block # label5: diff --git a/test/torture-s/20120817-1.c.s b/test/torture-s/20120817-1.c.s index bc1f36dfa..6ec559ef5 100644 --- a/test/torture-s/20120817-1.c.s +++ b/test/torture-s/20120817-1.c.s @@ -16,7 +16,7 @@ f: # @f i64.mul $push6=, $pop4, $pop5 i64.const $push7=, 40 i64.add $push8=, $pop6, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -29,9 +29,9 @@ main: # @main .result i32 # BB#0: # %entry block - i64.call $push0=, f@FUNCTION - i64.const $push1=, 16 - i64.ne $push2=, $pop0, $pop1 + i64.call $push1=, f@FUNCTION + i64.const $push0=, 16 + i64.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push3=, 0 diff --git a/test/torture-s/20120919-1.c.s b/test/torture-s/20120919-1.c.s index 5b0b00dbc..69301b249 100644 --- a/test/torture-s/20120919-1.c.s +++ b/test/torture-s/20120919-1.c.s @@ -14,7 +14,7 @@ init: # @init i32.store $drop=, 0($1), $pop0 .LBB0_2: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size init, .Lfunc_end0-init @@ -25,79 +25,80 @@ init: # @init .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, f64 + .local i32, i32, i32, i32, i32, i32, i32, f64, i32 # BB#0: # %entry - i32.const $push15=, __stack_pointer - i32.const $push12=, __stack_pointer - i32.load $push13=, 0($pop12) + i32.const $push15=, 0 + i32.const $push12=, 0 + i32.load $push13=, __stack_pointer($pop12) i32.const $push14=, 6144 i32.sub $push23=, $pop13, $pop14 - i32.store $push28=, 0($pop15), $pop23 - tee_local $push27=, $7=, $pop28 + i32.store $push28=, __stack_pointer($pop15), $pop23 + tee_local $push27=, $1=, $pop28 i32.const $push0=, 1 i32.store $0=, 12($pop27), $pop0 i32.const $push19=, 12 - i32.add $push20=, $7, $pop19 + i32.add $push20=, $1, $pop19 i32.const $push21=, 16 - i32.add $push22=, $7, $pop21 + i32.add $push22=, $1, $pop21 call init@FUNCTION, $pop20, $pop22 block - i32.load $push26=, 12($7) - tee_local $push25=, $6=, $pop26 + i32.load $push26=, 12($1) + tee_local $push25=, $2=, $pop26 i32.const $push24=, 0 i32.lt_s $push1=, $pop25, $pop24 br_if 0, $pop1 # 0: down to label1 # BB#1: # %while.body.lr.ph i32.const $push30=, 0 - i32.load $1=, pd($pop30) + i32.load $4=, pi($pop30) i32.const $push29=, 0 - i32.load $2=, pi($pop29) - i32.const $5=, -1 - i32.const $3=, 0 + i32.load $3=, pd($pop29) + i32.const $8=, -1 + i32.const $5=, 0 .LBB1_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label2: block - br_if 0, $5 # 0: down to label4 + br_if 0, $8 # 0: down to label4 # BB#3: # %if.then # in Loop: Header=BB1_2 Depth=1 - i32.load $4=, 0($2) + i32.load $6=, 0($4) block - f64.load $push33=, 0($1) - tee_local $push32=, $8=, $pop33 + f64.load $push33=, 0($3) + tee_local $push32=, $7=, $pop33 f64.const $push31=, 0x0p0 f64.le $push2=, $pop32, $pop31 - f64.ne $push3=, $8, $8 + f64.ne $push3=, $7, $7 i32.or $push4=, $pop2, $pop3 br_if 0, $pop4 # 0: down to label5 # BB#4: # %if.then3 # in Loop: Header=BB1_2 Depth=1 i32.const $push35=, 0 i32.const $push34=, 0 - i32.gt_s $push5=, $4, $pop34 - i32.select $push6=, $4, $pop35, $pop5 - i32.add $3=, $pop6, $3 + i32.gt_s $push5=, $6, $pop34 + i32.select $push6=, $6, $pop35, $pop5 + i32.add $5=, $pop6, $5 .LBB1_5: # %if.end8 # in Loop: Header=BB1_2 Depth=1 end_block # label5: - f64.convert_s/i32 $push7=, $4 - f64.store $drop=, 0($1), $pop7 + f64.convert_s/i32 $push7=, $6 + f64.store $drop=, 0($3), $pop7 .LBB1_6: # %if.end11 # in Loop: Header=BB1_2 Depth=1 end_block # label4: - i32.add $5=, $5, $0 - i32.lt_s $push8=, $5, $6 + i32.add $push37=, $8, $0 + tee_local $push36=, $8=, $pop37 + i32.lt_s $push8=, $pop36, $2 br_if 0, $pop8 # 0: up to label2 # BB#7: # %while.end end_loop # label3: i32.const $push9=, 1234567890 - i32.ne $push10=, $3, $pop9 + i32.ne $push10=, $5, $pop9 br_if 0, $pop10 # 0: down to label1 # BB#8: # %if.end15 - i32.const $push18=, __stack_pointer + i32.const $push18=, 0 i32.const $push16=, 6144 - i32.add $push17=, $7, $pop16 - i32.store $drop=, 0($pop18), $pop17 + i32.add $push17=, $1, $pop16 + i32.store $drop=, __stack_pointer($pop18), $pop17 i32.const $push11=, 0 return $pop11 .LBB1_9: # %if.then14 diff --git a/test/torture-s/20121108-1.c.s b/test/torture-s/20121108-1.c.s index b45fc0ad6..1762a938e 100644 --- a/test/torture-s/20121108-1.c.s +++ b/test/torture-s/20121108-1.c.s @@ -52,12 +52,12 @@ string_to_ip: # @string_to_ip .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push23=, __stack_pointer - i32.const $push20=, __stack_pointer - i32.load $push21=, 0($pop20) + i32.const $push23=, 0 + i32.const $push20=, 0 + i32.load $push21=, __stack_pointer($pop20) i32.const $push22=, 16 i32.sub $push35=, $pop21, $pop22 - i32.store $1=, 0($pop23), $pop35 + i32.store $1=, __stack_pointer($pop23), $pop35 i32.const $2=, 0 block i32.eqz $push56=, $0 @@ -75,9 +75,9 @@ string_to_ip: # @string_to_ip i32.load $push40=, 12($1) tee_local $push39=, $2=, $pop40 i32.const $push38=, 1 - i32.add $push2=, $pop39, $pop38 - i32.load8_u $push1=, 0($2) - i32.select $push37=, $pop2, $2, $pop1 + i32.add $push1=, $pop39, $pop38 + i32.load8_u $push2=, 0($2) + i32.select $push37=, $pop1, $2, $pop2 tee_local $push36=, $2=, $pop37 i32.eqz $push57=, $pop36 br_if 0, $pop57 # 0: down to label4 @@ -86,44 +86,44 @@ string_to_ip: # @string_to_ip i32.add $push30=, $1, $pop29 i32.call $push5=, strtoul1@FUNCTION, $2, $pop30, $1 i32.const $push47=, 255 - i32.and $push6=, $pop5, $pop47 - i32.or $0=, $pop6, $0 + i32.and $push8=, $pop5, $pop47 + i32.or $0=, $pop8, $0 i32.load $push46=, 12($1) tee_local $push45=, $2=, $pop46 i32.const $push44=, 1 - i32.add $push8=, $pop45, $pop44 + i32.add $push6=, $pop45, $pop44 i32.load8_u $push7=, 0($2) - i32.select $push43=, $pop8, $2, $pop7 + i32.select $push43=, $pop6, $2, $pop7 tee_local $push42=, $2=, $pop43 i32.eqz $push58=, $pop42 br_if 0, $pop58 # 0: down to label4 # BB#3: # %if.end9.2 i32.const $push31=, 12 i32.add $push32=, $1, $pop31 - i32.call $push9=, strtoul1@FUNCTION, $2, $pop32, $1 + i32.call $push10=, strtoul1@FUNCTION, $2, $pop32, $1 i32.const $push53=, 255 - i32.and $push11=, $pop9, $pop53 + i32.and $push11=, $pop10, $pop53 i32.const $push52=, 8 - i32.shl $push10=, $0, $pop52 - i32.or $0=, $pop11, $pop10 + i32.shl $push9=, $0, $pop52 + i32.or $0=, $pop11, $pop9 i32.load $push51=, 12($1) tee_local $push50=, $2=, $pop51 - i32.const $push13=, 1 - i32.add $push14=, $pop50, $pop13 - i32.load8_u $push12=, 0($2) - i32.select $push49=, $pop14, $2, $pop12 + i32.const $push12=, 1 + i32.add $push13=, $pop50, $pop12 + i32.load8_u $push14=, 0($2) + i32.select $push49=, $pop13, $2, $pop14 tee_local $push48=, $2=, $pop49 i32.eqz $push59=, $pop48 br_if 1, $pop59 # 1: down to label3 # BB#4: # %if.then3.3 i32.const $push33=, 12 i32.add $push34=, $1, $pop33 - i32.call $push15=, strtoul1@FUNCTION, $2, $pop34, $1 + i32.call $push16=, strtoul1@FUNCTION, $2, $pop34, $1 i32.const $push17=, 255 - i32.and $push18=, $pop15, $pop17 + i32.and $push18=, $pop16, $pop17 i32.const $push54=, 8 - i32.shl $push16=, $0, $pop54 - i32.or $2=, $pop18, $pop16 + i32.shl $push15=, $0, $pop54 + i32.or $2=, $pop18, $pop15 br 2 # 2: down to label2 .LBB1_5: # %if.end9.2.thread end_block # label4: @@ -135,11 +135,12 @@ string_to_ip: # @string_to_ip i32.shl $2=, $0, $pop19 .LBB1_7: # %cleanup end_block # label2: - i32.const $push26=, __stack_pointer + i32.const $push26=, 0 i32.const $push24=, 16 i32.add $push25=, $1, $pop24 - i32.store $drop=, 0($pop26), $pop25 - return $2 + i32.store $drop=, __stack_pointer($pop26), $pop25 + copy_local $push60=, $2 + # fallthrough-return: $pop60 .endfunc .Lfunc_end1: .size string_to_ip, .Lfunc_end1-string_to_ip @@ -152,12 +153,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 32 i32.sub $push16=, $pop8, $pop9 - i32.store $push21=, 0($pop10), $pop16 + i32.store $push21=, __stack_pointer($pop10), $pop16 tee_local $push20=, $1=, $pop21 i32.const $push0=, temp i32.call $push1=, string_to_ip@FUNCTION, $pop0 @@ -179,10 +180,10 @@ main: # @main # BB#1: # %if.end i32.const $push6=, .Lstr i32.call $drop=, puts@FUNCTION, $pop6 - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 32 i32.add $push12=, $1, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 i32.const $push22=, 0 return $pop22 .LBB2_2: # %if.then diff --git a/test/torture-s/20131127-1.c.s b/test/torture-s/20131127-1.c.s index 45ed180f9..93dd99065 100644 --- a/test/torture-s/20131127-1.c.s +++ b/test/torture-s/20131127-1.c.s @@ -6,22 +6,21 @@ .type fn1,@function fn1: # @fn1 .param i32 - .local i64 # BB#0: # %entry i32.const $push0=, 12 i32.add $push1=, $0, $pop0 i32.const $push2=, 0 i32.load16_u $push3=, c+12($pop2):p2align=0 i32.store16 $drop=, 0($pop1):p2align=0, $pop3 - i32.const $push8=, 0 - i64.load $1=, c($pop8):p2align=0 i32.const $push4=, 8 i32.add $push5=, $0, $pop4 - i32.const $push7=, 0 - i32.load $push6=, c+8($pop7):p2align=0 + i32.const $push9=, 0 + i32.load $push6=, c+8($pop9):p2align=0 i32.store $drop=, 0($pop5):p2align=0, $pop6 - i64.store $drop=, 0($0):p2align=0, $1 - return + i32.const $push8=, 0 + i64.load $push7=, c($pop8):p2align=0 + i64.store $drop=, 0($0):p2align=0, $pop7 + # fallthrough-return .endfunc .Lfunc_end0: .size fn1, .Lfunc_end0-fn1 @@ -31,35 +30,31 @@ fn1: # @fn1 .globl fn2 .type fn2,@function fn2: # @fn2 - .local i32, i64, i32, i64 + .local i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $0=, c+8($pop1):p2align=0 + i32.const $push0=, 0 + i32.const $push15=, 0 + i32.load16_u $push1=, c+12($pop15):p2align=0 + i32.store16 $drop=, b+12($pop0):p2align=0, $pop1 i32.const $push14=, 0 i32.const $push13=, 0 - i32.load16_u $push2=, c+12($pop13):p2align=0 - i32.store16 $drop=, b+12($pop14):p2align=0, $pop2 + i32.load $push2=, c+8($pop13):p2align=0 + i32.store $drop=, b+8($pop14):p2align=0, $pop2 i32.const $push12=, 0 - i32.load16_u $2=, e+12($pop12):p2align=0 i32.const $push11=, 0 - i32.store $drop=, b+8($pop11):p2align=0, $0 + i64.load $push3=, c($pop11):p2align=0 + i64.store $drop=, b($pop12):p2align=0, $pop3 i32.const $push10=, 0 - i32.load $0=, e+8($pop10):p2align=0 i32.const $push9=, 0 - i64.load $1=, c($pop9):p2align=0 - i32.const $push8=, 0 - i32.store16 $drop=, d+12($pop8):p2align=0, $2 - i32.const $push7=, 0 - i64.load $3=, e($pop7):p2align=0 - i32.const $push6=, 0 - i32.store $drop=, d+8($pop6):p2align=0, $0 - i32.const $push5=, 0 - i64.store $drop=, b($pop5):p2align=0, $1 - i32.const $push4=, 0 - i32.const $push3=, 0 - i32.store16 $push0=, a($pop4), $pop3 - i64.store $drop=, d($pop0):p2align=0, $3 - return + i32.store16 $push8=, a($pop10), $pop9 + tee_local $push7=, $0=, $pop8 + i32.load16_u $push4=, e+12($0):p2align=0 + i32.store16 $drop=, d+12($pop7):p2align=0, $pop4 + i32.load $push5=, e+8($0):p2align=0 + i32.store $drop=, d+8($0):p2align=0, $pop5 + i64.load $push6=, e($0):p2align=0 + i64.store $drop=, d($0):p2align=0, $pop6 + # fallthrough-return .endfunc .Lfunc_end1: .size fn2, .Lfunc_end1-fn2 @@ -70,36 +65,32 @@ fn2: # @fn2 .type main,@function main: # @main .result i32 - .local i32, i64, i64 + .local i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $0=, c+8($pop1):p2align=0 - i32.const $push16=, 0 + i32.const $push0=, 0 i32.const $push15=, 0 - i32.load16_u $push2=, c+12($pop15):p2align=0 - i32.store16 $drop=, b+12($pop16):p2align=0, $pop2 + i32.load16_u $push1=, c+12($pop15):p2align=0 + i32.store16 $drop=, b+12($pop0):p2align=0, $pop1 i32.const $push14=, 0 - i32.store $drop=, b+8($pop14):p2align=0, $0 i32.const $push13=, 0 - i32.load $0=, e+8($pop13):p2align=0 + i32.load $push2=, c+8($pop13):p2align=0 + i32.store $drop=, b+8($pop14):p2align=0, $pop2 i32.const $push12=, 0 - i64.load $1=, c($pop12):p2align=0 i32.const $push11=, 0 - i64.load $2=, e($pop11):p2align=0 + i64.load $push3=, c($pop11):p2align=0 + i64.store $drop=, b($pop12):p2align=0, $pop3 i32.const $push10=, 0 i32.const $push9=, 0 - i32.load16_u $push3=, e+12($pop9):p2align=0 - i32.store16 $drop=, d+12($pop10):p2align=0, $pop3 - i32.const $push8=, 0 - i32.store $drop=, d+8($pop8):p2align=0, $0 - i32.const $push7=, 0 - i64.store $drop=, b($pop7):p2align=0, $1 - i32.const $push6=, 0 - i64.store $drop=, d($pop6):p2align=0, $2 - i32.const $push5=, 0 - i32.const $push4=, 0 - i32.store16 $push0=, a($pop5), $pop4 - return $pop0 + i32.store16 $push8=, a($pop10), $pop9 + tee_local $push7=, $0=, $pop8 + i32.load16_u $push4=, e+12($0):p2align=0 + i32.store16 $drop=, d+12($pop7):p2align=0, $pop4 + i32.load $push5=, e+8($0):p2align=0 + i32.store $drop=, d+8($0):p2align=0, $pop5 + i64.load $push6=, e($0):p2align=0 + i64.store $drop=, d($0):p2align=0, $pop6 + copy_local $push16=, $0 + # fallthrough-return: $pop16 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/20140212-1.c.s b/test/torture-s/20140212-1.c.s index 5311c6a7b..98ff4b621 100644 --- a/test/torture-s/20140212-1.c.s +++ b/test/torture-s/20140212-1.c.s @@ -7,61 +7,57 @@ fn1: # @fn1 .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry + i32.const $push6=, 54 i32.const $push1=, 0 - i32.load $3=, a($pop1) - i32.const $push19=, 0 - i32.load $4=, b($pop19) - i32.const $push18=, 0 i32.const $push17=, 0 - i32.store $push16=, e($pop18), $pop17 - tee_local $push15=, $5=, $pop16 - i32.store $push14=, c($pop15), $5 - tee_local $push13=, $5=, $pop14 - i32.load $1=, d($pop13) - i32.load $2=, f($5) - i32.const $push4=, 54 - i32.const $push12=, 0 - i32.ne $push2=, $3, $pop12 - i32.const $push11=, 0 - i32.ne $push3=, $4, $pop11 - i32.and $push10=, $pop2, $pop3 - tee_local $push9=, $3=, $pop10 - i32.select $push8=, $pop4, $5, $pop9 - tee_local $push7=, $4=, $pop8 - i32.const $push5=, 147 - i32.mul $0=, $pop7, $pop5 + i32.store $push16=, c($pop1), $pop17 + tee_local $push15=, $0=, $pop16 + i32.store $push14=, e($pop15), $0 + tee_local $push13=, $0=, $pop14 + i32.load $push4=, a($0) + i32.ne $push5=, $0, $pop4 + i32.load $push2=, b($0) + i32.ne $push3=, $0, $pop2 + i32.and $push12=, $pop5, $pop3 + tee_local $push11=, $1=, $pop12 + i32.select $push10=, $pop6, $pop13, $pop11 + tee_local $push9=, $2=, $pop10 + i32.const $push7=, 147 + i32.mul $3=, $pop9, $pop7 + i32.load $5=, f($0) + i32.load $4=, d($0) .LBB0_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label0: block block - i32.eqz $push24=, $1 - br_if 0, $pop24 # 0: down to label3 + i32.eqz $push22=, $4 + br_if 0, $pop22 # 0: down to label3 # BB#2: # %if.then # in Loop: Header=BB0_1 Depth=1 - i32.const $push20=, 1 - i32.store $drop=, c($5), $pop20 + i32.const $push18=, 1 + i32.store $drop=, c($0), $pop18 br 1 # 1: down to label2 .LBB0_3: # %if.else # in Loop: Header=BB0_1 Depth=1 end_block # label3: - i32.const $push21=, 9 - i32.store $push0=, i($5), $pop21 - i32.store $drop=, h($5), $pop0 + i32.const $push19=, 9 + i32.store $push0=, h($0), $pop19 + i32.store $drop=, i($0), $pop0 .LBB0_4: # %if.end # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.eqz $push25=, $2 - br_if 0, $pop25 # 0: up to label0 + i32.eqz $push23=, $5 + br_if 0, $pop23 # 0: up to label0 # BB#5: # %if.then15 end_loop # label1: - i32.const $push6=, 0 - i32.store $drop=, k($pop6), $3 - i32.const $push23=, 0 - i32.store8 $drop=, j($pop23), $4 - i32.const $push22=, 0 - i32.store8 $drop=, g($pop22), $0 - return + i32.const $push8=, 0 + i32.store8 $drop=, j($pop8), $2 + i32.const $push21=, 0 + i32.store $drop=, k($pop21), $1 + i32.const $push20=, 0 + i32.store8 $drop=, g($pop20), $3 + # fallthrough-return .endfunc .Lfunc_end0: .size fn1, .Lfunc_end0-fn1 @@ -74,68 +70,64 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry + i32.const $push6=, 54 i32.const $push1=, 0 - i32.load $3=, a($pop1) - i32.const $push19=, 0 - i32.load $0=, b($pop19) - i32.const $push18=, 0 i32.const $push17=, 0 - i32.store $push16=, e($pop18), $pop17 - tee_local $push15=, $5=, $pop16 - i32.store $push14=, c($pop15), $5 - tee_local $push13=, $5=, $pop14 - i32.load $1=, d($pop13) - i32.load $2=, f($5) - i32.const $push4=, 54 - i32.const $push12=, 0 - i32.ne $push2=, $3, $pop12 - i32.const $push11=, 0 - i32.ne $push3=, $0, $pop11 - i32.and $push10=, $pop2, $pop3 - tee_local $push9=, $4=, $pop10 - i32.select $0=, $pop4, $5, $pop9 - i32.const $3=, 0 + i32.store $push16=, c($pop1), $pop17 + tee_local $push15=, $0=, $pop16 + i32.store $push14=, e($pop15), $0 + tee_local $push13=, $0=, $pop14 + i32.load $push4=, a($0) + i32.ne $push5=, $0, $pop4 + i32.load $push2=, b($0) + i32.ne $push3=, $0, $pop2 + i32.and $push12=, $pop5, $pop3 + tee_local $push11=, $1=, $pop12 + i32.select $2=, $pop6, $pop13, $pop11 + i32.load $4=, f($0) + i32.load $3=, d($0) + i32.const $5=, 0 .LBB1_1: # %for.cond.i # =>This Inner Loop Header: Depth=1 loop # label4: block block - i32.eqz $push26=, $1 - br_if 0, $pop26 # 0: down to label7 + i32.eqz $push24=, $3 + br_if 0, $pop24 # 0: down to label7 # BB#2: # %if.then.i # in Loop: Header=BB1_1 Depth=1 - i32.const $3=, 1 - i32.const $push20=, 1 - i32.store $drop=, c($5), $pop20 + i32.const $5=, 1 + i32.const $push18=, 1 + i32.store $drop=, c($0), $pop18 br 1 # 1: down to label6 .LBB1_3: # %if.else.i # in Loop: Header=BB1_1 Depth=1 end_block # label7: - i32.const $push21=, 9 - i32.store $push0=, i($5), $pop21 - i32.store $drop=, h($5), $pop0 + i32.const $push19=, 9 + i32.store $push0=, h($0), $pop19 + i32.store $drop=, i($0), $pop0 .LBB1_4: # %if.end.i # in Loop: Header=BB1_1 Depth=1 end_block # label6: - i32.eqz $push27=, $2 - br_if 0, $pop27 # 0: up to label4 + i32.eqz $push25=, $4 + br_if 0, $pop25 # 0: up to label4 # BB#5: # %fn1.exit end_loop # label5: - i32.const $push24=, 0 - i32.store $drop=, k($pop24), $4 - i32.const $push23=, 0 - i32.store8 $drop=, j($pop23), $0 i32.const $push22=, 0 - i32.const $push5=, 147 - i32.mul $push6=, $0, $pop5 - i32.store8 $drop=, g($pop22), $pop6 + i32.store8 $0=, j($pop22), $2 + i32.const $push21=, 0 + i32.store $drop=, k($pop21), $1 + i32.const $push20=, 0 + i32.const $push7=, 147 + i32.mul $push8=, $0, $pop7 + i32.store8 $drop=, g($pop20), $pop8 block - i32.const $push7=, 1 - i32.ne $push8=, $3, $pop7 - br_if 0, $pop8 # 0: down to label8 + i32.const $push9=, 1 + i32.ne $push10=, $5, $pop9 + br_if 0, $pop10 # 0: down to label8 # BB#6: # %if.end - i32.const $push25=, 0 - return $pop25 + i32.const $push23=, 0 + return $pop23 .LBB1_7: # %if.then end_block # label8: call abort@FUNCTION diff --git a/test/torture-s/20140326-1.c.s b/test/torture-s/20140326-1.c.s index 4c4fb001b..47d11f865 100644 --- a/test/torture-s/20140326-1.c.s +++ b/test/torture-s/20140326-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/20140425-1.c.s b/test/torture-s/20140425-1.c.s index 67076e721..e0da53f2b 100644 --- a/test/torture-s/20140425-1.c.s +++ b/test/torture-s/20140425-1.c.s @@ -8,30 +8,30 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push14=, $pop6, $pop7 - i32.store $push18=, 0($pop8), $pop14 - tee_local $push17=, $1=, $pop18 + i32.store $push18=, __stack_pointer($pop8), $pop14 + tee_local $push17=, $0=, $pop18 i32.const $push12=, 12 i32.add $push13=, $pop17, $pop12 call set@FUNCTION, $pop13 i32.const $push0=, 2 - i32.load $push16=, 12($1) - tee_local $push15=, $0=, $pop16 + i32.load $push16=, 12($0) + tee_local $push15=, $1=, $pop16 i32.shl $push1=, $pop0, $pop15 - i32.store $drop=, 12($1), $pop1 + i32.store $drop=, 12($0), $pop1 block i32.const $push2=, 30 - i32.le_u $push3=, $0, $pop2 + i32.le_u $push3=, $1, $pop2 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 - i32.add $push10=, $1, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.add $push10=, $0, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 i32.const $push4=, 0 return $pop4 .LBB0_2: # %if.then @@ -49,7 +49,7 @@ set: # @set # BB#0: # %entry i32.const $push0=, 31 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size set, .Lfunc_end1-set diff --git a/test/torture-s/900409-1.c.s b/test/torture-s/900409-1.c.s index fcce572ea..ced25e756 100644 --- a/test/torture-s/900409-1.c.s +++ b/test/torture-s/900409-1.c.s @@ -10,7 +10,7 @@ f1: # @f1 # BB#0: # %entry i32.const $push0=, -16777216 i32.and $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -25,7 +25,7 @@ f2: # @f2 # BB#0: # %entry i32.const $push0=, 16777215 i32.and $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -40,7 +40,7 @@ f3: # @f3 # BB#0: # %entry i32.const $push0=, 255 i32.and $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -55,7 +55,7 @@ f4: # @f4 # BB#0: # %entry i32.const $push0=, -256 i32.and $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 @@ -70,7 +70,7 @@ f5: # @f5 # BB#0: # %entry i32.const $push0=, 65535 i32.and $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end4: .size f5, .Lfunc_end4-f5 @@ -85,7 +85,7 @@ f6: # @f6 # BB#0: # %entry i32.const $push0=, -65536 i32.and $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end5: .size f6, .Lfunc_end5-f6 diff --git a/test/torture-s/920202-1.c.s b/test/torture-s/920202-1.c.s index 117cba072..1895ed34e 100644 --- a/test/torture-s/920202-1.c.s +++ b/test/torture-s/920202-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920409-1.c.s b/test/torture-s/920409-1.c.s index 7e1e5e9bb..e00fbaa0c 100644 --- a/test/torture-s/920409-1.c.s +++ b/test/torture-s/920409-1.c.s @@ -8,7 +8,7 @@ x: # @x .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size x, .Lfunc_end0-x diff --git a/test/torture-s/920411-1.c.s b/test/torture-s/920411-1.c.s index d4802e0e2..aef91292b 100644 --- a/test/torture-s/920411-1.c.s +++ b/test/torture-s/920411-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.load $push0=, 0($0):p2align=0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920428-1.c.s b/test/torture-s/920428-1.c.s index 161db93dd..e8239e36c 100644 --- a/test/torture-s/920428-1.c.s +++ b/test/torture-s/920428-1.c.s @@ -9,7 +9,7 @@ x: # @x .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size x, .Lfunc_end0-x diff --git a/test/torture-s/920429-1.c.s b/test/torture-s/920429-1.c.s index 26ce4ad5b..311b3bd18 100644 --- a/test/torture-s/920429-1.c.s +++ b/test/torture-s/920429-1.c.s @@ -12,20 +12,20 @@ f: # @f i32.const $push4=, 0 i32.load8_u $push13=, 0($0) tee_local $push12=, $1=, $pop13 - i32.const $push0=, 1 - i32.shr_u $push2=, $pop12, $pop0 - i32.const $push11=, 1 - i32.and $push3=, $pop2, $pop11 - i32.store $drop=, i($pop4), $pop3 - i32.const $push10=, 0 - i32.const $push5=, 7 - i32.and $push6=, $1, $pop5 + i32.const $push0=, 7 + i32.and $push1=, $pop12, $pop0 + i32.const $push2=, 1 + i32.add $push3=, $pop1, $pop2 + i32.store $drop=, j($pop4), $pop3 + i32.const $push11=, 0 + i32.const $push10=, 1 + i32.shr_u $push5=, $1, $pop10 i32.const $push9=, 1 - i32.add $push7=, $pop6, $pop9 - i32.store $drop=, j($pop10), $pop7 + i32.and $push6=, $pop5, $pop9 + i32.store $drop=, i($pop11), $pop6 i32.const $push8=, 1 - i32.add $push1=, $0, $pop8 - return $pop1 + i32.add $push7=, $0, $pop8 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -37,9 +37,9 @@ f: # @f main: # @main .result i32 # BB#0: # %if.end - i32.const $push1=, 0 - i32.const $push2=, 2 - i32.store $drop=, j($pop1), $pop2 + i32.const $push2=, 0 + i32.const $push1=, 2 + i32.store $drop=, j($pop2), $pop1 i32.const $push4=, 0 i32.const $push3=, 0 i32.store $push0=, i($pop4), $pop3 diff --git a/test/torture-s/920501-1.c.s b/test/torture-s/920501-1.c.s index 4eb13d7d7..37cc0c8e5 100644 --- a/test/torture-s/920501-1.c.s +++ b/test/torture-s/920501-1.c.s @@ -22,7 +22,7 @@ x: # @x .LBB0_2: # %if.end end_block # label0: i32.const $push3=, 1 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size x, .Lfunc_end0-x diff --git a/test/torture-s/920501-2.c.s b/test/torture-s/920501-2.c.s index 11f691553..56e15f218 100644 --- a/test/torture-s/920501-2.c.s +++ b/test/torture-s/920501-2.c.s @@ -16,14 +16,16 @@ gcd_ll: # @gcd_ll .LBB0_2: # %if.end # =>This Inner Loop Header: Depth=1 loop # label2: - i64.rem_u $0=, $0, $1 - i64.eqz $push1=, $0 + i64.rem_u $push7=, $0, $1 + tee_local $push6=, $0=, $pop7 + i64.eqz $push1=, $pop6 br_if 3, $pop1 # 3: down to label0 # BB#3: # %if.end5 # in Loop: Header=BB0_2 Depth=1 - i64.rem_u $1=, $1, $0 - i64.const $push6=, 0 - i64.ne $push2=, $1, $pop6 + i64.rem_u $push10=, $1, $0 + tee_local $push9=, $1=, $pop10 + i64.const $push8=, 0 + i64.ne $push2=, $pop9, $pop8 br_if 0, $pop2 # 0: up to label2 .LBB0_4: # %return end_loop # label3: @@ -34,7 +36,7 @@ gcd_ll: # @gcd_ll end_block # label0: copy_local $push5=, $1 i32.wrap/i64 $push3=, $pop5 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size gcd_ll, .Lfunc_end0-gcd_ll @@ -51,27 +53,28 @@ powmod_ll: # @powmod_ll i64.const $5=, 1 block block - i32.eqz $push16=, $1 - br_if 0, $pop16 # 0: down to label5 + i32.eqz $push20=, $1 + br_if 0, $pop20 # 0: down to label5 # BB#1: # %for.body.preheader i32.const $3=, -1 copy_local $4=, $1 .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label6: - i32.const $push9=, 1 - i32.shr_u $4=, $4, $pop9 - i32.const $push8=, 1 - i32.add $3=, $3, $pop8 - br_if 0, $4 # 0: up to label6 + i32.const $push11=, 1 + i32.add $3=, $3, $pop11 + i32.const $push10=, 1 + i32.shr_u $push9=, $4, $pop10 + tee_local $push8=, $4=, $pop9 + br_if 0, $pop8 # 0: up to label6 # BB#3: # %for.end end_loop # label7: - i32.const $push10=, 1 - i32.lt_s $push0=, $3, $pop10 + i32.const $push12=, 1 + i32.lt_s $push0=, $3, $pop12 br_if 1, $pop0 # 1: down to label4 # BB#4: # %for.body4.preheader - i32.const $push11=, 1 - i32.add $4=, $3, $pop11 + i32.const $push13=, 1 + i32.add $3=, $3, $pop13 copy_local $5=, $0 .LBB1_5: # %for.body4 # =>This Inner Loop Header: Depth=1 @@ -79,13 +82,13 @@ powmod_ll: # @powmod_ll i64.mul $push1=, $5, $5 i64.rem_u $5=, $pop1, $2 block - i32.const $push13=, 1 - i32.const $push12=, -2 - i32.add $push2=, $4, $pop12 - i32.shl $push3=, $pop13, $pop2 + i32.const $push15=, 1 + i32.const $push14=, -2 + i32.add $push2=, $3, $pop14 + i32.shl $push3=, $pop15, $pop2 i32.and $push4=, $pop3, $1 - i32.eqz $push17=, $pop4 - br_if 0, $pop17 # 0: down to label10 + i32.eqz $push21=, $pop4 + br_if 0, $pop21 # 0: down to label10 # BB#6: # %if.then5 # in Loop: Header=BB1_5 Depth=1 i64.mul $push5=, $5, $0 @@ -93,10 +96,11 @@ powmod_ll: # @powmod_ll .LBB1_7: # %for.inc9 # in Loop: Header=BB1_5 Depth=1 end_block # label10: - i32.const $push15=, -1 - i32.add $4=, $4, $pop15 - i32.const $push14=, 1 - i32.gt_s $push6=, $4, $pop14 + i32.const $push19=, -1 + i32.add $push18=, $3, $pop19 + tee_local $push17=, $3=, $pop18 + i32.const $push16=, 1 + i32.gt_s $push6=, $pop17, $pop16 br_if 0, $pop6 # 0: up to label8 .LBB1_8: # %cleanup end_loop # label9: @@ -105,7 +109,7 @@ powmod_ll: # @powmod_ll .LBB1_9: end_block # label4: copy_local $push7=, $0 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size powmod_ll, .Lfunc_end1-powmod_ll @@ -116,20 +120,20 @@ powmod_ll: # @powmod_ll .type facts,@function facts: # @facts .param i64, i32, i32, i32 - .local i64, i32, i64, i32, i32, i32, i64, i64, i64, i64, i64, i64 + .local i64, i64, i64, i32, i64, i64, i64, i64, i64, i32, i32, i32 # BB#0: # %entry i64.extend_s/i32 $push40=, $1 - tee_local $push39=, $14=, $pop40 + tee_local $push39=, $4=, $pop40 i64.const $push38=, 1 - i64.add $4=, $pop39, $pop38 - i64.const $10=, 1 + i64.add $5=, $pop39, $pop38 + i32.const $13=, factab + i32.const $15=, 0 + i32.const $14=, 1 + i32.const $7=, 1 + i64.const $8=, 1 i64.extend_s/i32 $push37=, $2 - tee_local $push36=, $15=, $pop37 - copy_local $12=, $pop36 - i32.const $5=, factab - i32.const $7=, 0 - i32.const $8=, 1 - i32.const $9=, 1 + tee_local $push36=, $9=, $pop37 + copy_local $11=, $pop36 .LBB2_1: # %for.body # =>This Loop Header: Depth=1 # Child Loop BB2_3 Depth 2 @@ -140,12 +144,12 @@ facts: # @facts # Child Loop BB2_22 Depth 2 # Child Loop BB2_29 Depth 2 loop # label11: - copy_local $6=, $12 - copy_local $12=, $4 - i64.const $13=, 1 + copy_local $6=, $11 + copy_local $11=, $5 + i64.const $12=, 1 block - i32.eqz $push80=, $3 - br_if 0, $pop80 # 0: down to label13 + i32.eqz $push100=, $3 + br_if 0, $pop100 # 0: down to label13 # BB#2: # %for.body.i.preheader # in Loop: Header=BB2_1 Depth=1 i32.const $2=, -1 @@ -154,248 +158,258 @@ facts: # @facts # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label14: - i32.const $push42=, 1 - i32.shr_u $1=, $1, $pop42 - i32.const $push41=, 1 - i32.add $2=, $2, $pop41 - br_if 0, $1 # 0: up to label14 + i32.const $push44=, 1 + i32.add $2=, $2, $pop44 + i32.const $push43=, 1 + i32.shr_u $push42=, $1, $pop43 + tee_local $push41=, $1=, $pop42 + br_if 0, $pop41 # 0: up to label14 # BB#4: # %for.end.i # in Loop: Header=BB2_1 Depth=1 end_loop # label15: block block - i32.const $push43=, 1 - i32.lt_s $push0=, $2, $pop43 + i32.const $push45=, 1 + i32.lt_s $push0=, $2, $pop45 br_if 0, $pop0 # 0: down to label17 # BB#5: # %for.body4.i.preheader # in Loop: Header=BB2_1 Depth=1 - i32.const $push44=, 1 - i32.add $1=, $2, $pop44 - copy_local $11=, $6 + i32.const $push46=, 1 + i32.add $2=, $2, $pop46 + copy_local $10=, $6 .LBB2_6: # %for.body4.i # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label18: - i64.mul $push1=, $11, $11 - i64.rem_u $11=, $pop1, $0 + i64.mul $push1=, $10, $10 + i64.rem_u $10=, $pop1, $0 block - i32.const $push46=, 1 - i32.const $push45=, -2 - i32.add $push2=, $1, $pop45 - i32.shl $push3=, $pop46, $pop2 + i32.const $push48=, 1 + i32.const $push47=, -2 + i32.add $push2=, $2, $pop47 + i32.shl $push3=, $pop48, $pop2 i32.and $push4=, $pop3, $3 - i32.eqz $push81=, $pop4 - br_if 0, $pop81 # 0: down to label20 + i32.eqz $push101=, $pop4 + br_if 0, $pop101 # 0: down to label20 # BB#7: # %if.then5.i # in Loop: Header=BB2_6 Depth=2 - i64.mul $push5=, $11, $6 - i64.rem_u $11=, $pop5, $0 + i64.mul $push5=, $10, $6 + i64.rem_u $10=, $pop5, $0 .LBB2_8: # %for.inc9.i # in Loop: Header=BB2_6 Depth=2 end_block # label20: - i32.const $push48=, -1 - i32.add $1=, $1, $pop48 - i32.const $push47=, 1 - i32.gt_s $push6=, $1, $pop47 + i32.const $push52=, -1 + i32.add $push51=, $2, $pop52 + tee_local $push50=, $2=, $pop51 + i32.const $push49=, 1 + i32.gt_s $push6=, $pop50, $pop49 br_if 0, $pop6 # 0: up to label18 br 3 # 3: down to label16 .LBB2_9: # in Loop: Header=BB2_1 Depth=1 end_loop # label19: end_block # label17: - copy_local $11=, $6 + copy_local $10=, $6 .LBB2_10: # %for.body.i114.preheader # in Loop: Header=BB2_1 Depth=1 end_block # label16: - i64.add $12=, $11, $14 + i64.add $11=, $10, $4 i32.const $2=, -1 copy_local $1=, $3 .LBB2_11: # %for.body.i114 # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label21: - i32.const $push50=, 1 - i32.shr_u $1=, $1, $pop50 - i32.const $push49=, 1 - i32.add $2=, $2, $pop49 - br_if 0, $1 # 0: up to label21 + i32.const $push56=, 1 + i32.add $2=, $2, $pop56 + i32.const $push55=, 1 + i32.shr_u $push54=, $1, $pop55 + tee_local $push53=, $1=, $pop54 + br_if 0, $pop53 # 0: up to label21 # BB#12: # %for.end.i116 # in Loop: Header=BB2_1 Depth=1 end_loop # label22: block block - i32.const $push51=, 1 - i32.lt_s $push7=, $2, $pop51 + i32.const $push57=, 1 + i32.lt_s $push7=, $2, $pop57 br_if 0, $pop7 # 0: down to label24 # BB#13: # %for.body4.i125.preheader # in Loop: Header=BB2_1 Depth=1 - i32.const $push52=, 1 - i32.add $1=, $2, $pop52 - copy_local $11=, $15 + i32.const $push58=, 1 + i32.add $2=, $2, $pop58 + copy_local $10=, $9 .LBB2_14: # %for.body4.i125 # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label25: - i64.mul $push8=, $11, $11 - i64.rem_u $11=, $pop8, $0 + i64.mul $push8=, $10, $10 + i64.rem_u $10=, $pop8, $0 block - i32.const $push54=, 1 - i32.const $push53=, -2 - i32.add $push9=, $1, $pop53 - i32.shl $push10=, $pop54, $pop9 + i32.const $push60=, 1 + i32.const $push59=, -2 + i32.add $push9=, $2, $pop59 + i32.shl $push10=, $pop60, $pop9 i32.and $push11=, $pop10, $3 - i32.eqz $push82=, $pop11 - br_if 0, $pop82 # 0: down to label27 + i32.eqz $push102=, $pop11 + br_if 0, $pop102 # 0: down to label27 # BB#15: # %if.then5.i128 # in Loop: Header=BB2_14 Depth=2 - i64.mul $push12=, $11, $15 - i64.rem_u $11=, $pop12, $0 + i64.mul $push12=, $10, $9 + i64.rem_u $10=, $pop12, $0 .LBB2_16: # %for.inc9.i131 # in Loop: Header=BB2_14 Depth=2 end_block # label27: - i32.const $push56=, -1 - i32.add $1=, $1, $pop56 - i32.const $push55=, 1 - i32.gt_s $push13=, $1, $pop55 + i32.const $push64=, -1 + i32.add $push63=, $2, $pop64 + tee_local $push62=, $2=, $pop63 + i32.const $push61=, 1 + i32.gt_s $push13=, $pop62, $pop61 br_if 0, $pop13 # 0: up to label25 br 3 # 3: down to label23 .LBB2_17: # in Loop: Header=BB2_1 Depth=1 end_loop # label26: end_block # label24: - copy_local $11=, $15 + copy_local $10=, $9 .LBB2_18: # %for.body.i88.preheader # in Loop: Header=BB2_1 Depth=1 end_block # label23: - i64.add $13=, $11, $14 + i64.add $12=, $10, $4 i32.const $2=, -1 copy_local $1=, $3 .LBB2_19: # %for.body.i88 # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label28: - i32.const $push58=, 1 - i32.shr_u $1=, $1, $pop58 - i32.const $push57=, 1 - i32.add $2=, $2, $pop57 - br_if 0, $1 # 0: up to label28 + i32.const $push68=, 1 + i32.add $2=, $2, $pop68 + i32.const $push67=, 1 + i32.shr_u $push66=, $1, $pop67 + tee_local $push65=, $1=, $pop66 + br_if 0, $pop65 # 0: up to label28 # BB#20: # %for.end.i90 # in Loop: Header=BB2_1 Depth=1 end_loop # label29: - i32.const $push59=, 1 - i32.lt_s $push14=, $2, $pop59 + i32.const $push69=, 1 + i32.lt_s $push14=, $2, $pop69 br_if 0, $pop14 # 0: down to label13 # BB#21: # %for.body4.i99.preheader # in Loop: Header=BB2_1 Depth=1 - i32.const $push60=, 1 - i32.add $1=, $2, $pop60 - copy_local $11=, $13 + i32.const $push70=, 1 + i32.add $2=, $2, $pop70 + copy_local $10=, $12 .LBB2_22: # %for.body4.i99 # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label30: - i64.mul $push15=, $11, $11 - i64.rem_u $11=, $pop15, $0 + i64.mul $push15=, $10, $10 + i64.rem_u $10=, $pop15, $0 block - i32.const $push62=, 1 - i32.const $push61=, -2 - i32.add $push16=, $1, $pop61 - i32.shl $push17=, $pop62, $pop16 + i32.const $push72=, 1 + i32.const $push71=, -2 + i32.add $push16=, $2, $pop71 + i32.shl $push17=, $pop72, $pop16 i32.and $push18=, $pop17, $3 - i32.eqz $push83=, $pop18 - br_if 0, $pop83 # 0: down to label32 + i32.eqz $push103=, $pop18 + br_if 0, $pop103 # 0: down to label32 # BB#23: # %if.then5.i102 # in Loop: Header=BB2_22 Depth=2 - i64.mul $push19=, $11, $13 - i64.rem_u $11=, $pop19, $0 + i64.mul $push19=, $10, $12 + i64.rem_u $10=, $pop19, $0 .LBB2_24: # %for.inc9.i105 # in Loop: Header=BB2_22 Depth=2 end_block # label32: - i32.const $push64=, -1 - i32.add $1=, $1, $pop64 - i32.const $push63=, 1 - i32.gt_s $push20=, $1, $pop63 + i32.const $push76=, -1 + i32.add $push75=, $2, $pop76 + tee_local $push74=, $2=, $pop75 + i32.const $push73=, 1 + i32.gt_s $push20=, $pop74, $pop73 br_if 0, $pop20 # 0: up to label30 # BB#25: # in Loop: Header=BB2_1 Depth=1 end_loop # label31: - copy_local $13=, $11 + copy_local $12=, $10 .LBB2_26: # %powmod_ll.exit107 # in Loop: Header=BB2_1 Depth=1 end_block # label13: - i64.add $push68=, $13, $14 - tee_local $push67=, $15=, $pop68 - i64.sub $push22=, $12, $pop67 - i64.sub $push23=, $15, $12 - i64.gt_u $push21=, $12, $15 - i64.select $push24=, $pop22, $pop23, $pop21 - i64.const $push66=, 4294967295 - i64.and $push26=, $pop24, $pop66 - i64.const $push65=, 4294967295 - i64.and $push25=, $10, $pop65 - i64.mul $push27=, $pop26, $pop25 - i64.rem_u $10=, $pop27, $0 + i64.add $push80=, $12, $4 + tee_local $push79=, $9=, $pop80 + i64.sub $push23=, $11, $pop79 + i64.sub $push22=, $9, $11 + i64.gt_u $push21=, $11, $9 + i64.select $push24=, $pop23, $pop22, $pop21 + i64.const $push78=, 4294967295 + i64.and $push25=, $pop24, $pop78 + i64.const $push77=, 4294967295 + i64.and $push26=, $8, $pop77 + i64.mul $push27=, $pop25, $pop26 + i64.rem_u $8=, $pop27, $0 block - i32.ne $push28=, $9, $8 + i32.ne $push28=, $7, $14 br_if 0, $pop28 # 0: down to label33 # BB#27: # %if.then19 # in Loop: Header=BB2_1 Depth=1 - i32.const $push70=, 1 - i32.add $7=, $7, $pop70 - i64.const $push69=, 4294967295 - i64.and $11=, $10, $pop69 + i64.const $push82=, 4294967295 + i64.and $10=, $8, $pop82 + i32.const $push81=, 1 + i32.add $15=, $15, $pop81 block i64.eqz $push29=, $0 br_if 0, $pop29 # 0: down to label34 # BB#28: # %if.end.i.preheader # in Loop: Header=BB2_1 Depth=1 - copy_local $13=, $0 + copy_local $12=, $0 .LBB2_29: # %if.end.i # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label35: - i64.rem_u $11=, $11, $13 - i64.eqz $push30=, $11 + i64.rem_u $push84=, $10, $12 + tee_local $push83=, $10=, $pop84 + i64.eqz $push30=, $pop83 br_if 1, $pop30 # 1: down to label36 # BB#30: # %if.end5.i # in Loop: Header=BB2_29 Depth=2 - i64.rem_u $13=, $13, $11 - i64.const $push71=, 0 - i64.ne $push31=, $13, $pop71 + i64.rem_u $push87=, $12, $10 + tee_local $push86=, $12=, $pop87 + i64.const $push85=, 0 + i64.ne $push31=, $pop86, $pop85 br_if 0, $pop31 # 0: up to label35 br 2 # 2: down to label34 .LBB2_31: # in Loop: Header=BB2_1 Depth=1 end_loop # label36: - copy_local $11=, $13 + copy_local $10=, $12 .LBB2_32: # %gcd_ll.exit # in Loop: Header=BB2_1 Depth=1 end_block # label34: - i32.add $8=, $7, $8 - i32.wrap/i64 $push74=, $11 - tee_local $push73=, $1=, $pop74 - i32.const $push72=, 1 - i32.eq $push32=, $pop73, $pop72 + i32.add $14=, $15, $14 + i32.wrap/i64 $push90=, $10 + tee_local $push89=, $2=, $pop90 + i32.const $push88=, 1 + i32.eq $push32=, $pop89, $pop88 br_if 0, $pop32 # 0: down to label33 # BB#33: # %if.then26 # in Loop: Header=BB2_1 Depth=1 - i32.store $drop=, 0($5), $1 - i64.const $push76=, 4294967295 - i64.and $push33=, $11, $pop76 - i64.div_u $0=, $0, $pop33 - i64.const $push75=, 1 - i64.eq $push34=, $0, $pop75 + i32.store $drop=, 0($13), $2 + i64.const $push94=, 4294967295 + i64.and $push33=, $10, $pop94 + i64.div_u $push93=, $0, $pop33 + tee_local $push92=, $0=, $pop93 + i64.const $push91=, 1 + i64.eq $push34=, $pop92, $pop91 br_if 2, $pop34 # 2: down to label12 # BB#34: # in Loop: Header=BB2_1 Depth=1 - i32.const $push77=, 4 - i32.add $5=, $5, $pop77 + i32.const $push95=, 4 + i32.add $13=, $13, $pop95 .LBB2_35: # %for.inc # in Loop: Header=BB2_1 Depth=1 end_block # label33: - i32.const $push79=, 1 - i32.add $9=, $9, $pop79 - i32.const $push78=, 10000 - i32.lt_s $push35=, $9, $pop78 + i32.const $push99=, 1 + i32.add $push98=, $7, $pop99 + tee_local $push97=, $7=, $pop98 + i32.const $push96=, 10000 + i32.lt_s $push35=, $pop97, $pop96 br_if 0, $pop35 # 0: up to label11 .LBB2_36: # %cleanup end_loop # label12: - return + # fallthrough-return .endfunc .Lfunc_end2: .size facts, .Lfunc_end2-facts @@ -417,13 +431,13 @@ main: # @main i32.const $push17=, 0 i64.load $push16=, factab($pop17) tee_local $push15=, $0=, $pop16 - i32.wrap/i64 $push6=, $pop15 - i32.const $push7=, 7 - i32.ne $push8=, $pop6, $pop7 - br_if 0, $pop8 # 0: down to label37 + i32.wrap/i64 $push7=, $pop15 + i32.const $push8=, 7 + i32.ne $push9=, $pop7, $pop8 + br_if 0, $pop9 # 0: down to label37 # BB#1: # %entry - i64.const $push9=, -4294967296 - i64.and $push0=, $0, $pop9 + i64.const $push6=, -4294967296 + i64.and $push0=, $0, $pop6 i64.const $push10=, 313532612608 i64.ne $push11=, $pop0, $pop10 br_if 0, $pop11 # 0: down to label37 diff --git a/test/torture-s/920501-6.c.s b/test/torture-s/920501-6.c.s index 3712947f8..01783548f 100644 --- a/test/torture-s/920501-6.c.s +++ b/test/torture-s/920501-6.c.s @@ -7,40 +7,42 @@ str2llu: # @str2llu .param i32 .result i64 - .local i64, i64, i32 + .local i32, i64 # BB#0: # %entry - i64.load8_s $push0=, 0($0) - i64.const $push8=, -48 - i64.add $2=, $pop0, $pop8 + i64.load8_s $push1=, 0($0) + i64.const $push10=, -48 + i64.add $2=, $pop1, $pop10 block - i32.load8_u $push7=, 1($0) - tee_local $push6=, $3=, $pop7 - i32.eqz $push14=, $pop6 - br_if 0, $pop14 # 0: down to label0 + i32.load8_u $push9=, 1($0) + tee_local $push8=, $1=, $pop9 + i32.eqz $push16=, $pop8 + br_if 0, $pop16 # 0: down to label0 # BB#1: # %if.end.preheader - i32.const $push1=, 2 - i32.add $0=, $0, $pop1 + i32.const $push2=, 2 + i32.add $0=, $0, $pop2 .LBB0_2: # %if.end # =>This Inner Loop Header: Depth=1 loop # label1: - i64.extend_u/i32 $1=, $3 - i32.load8_u $3=, 0($0) - i64.const $push13=, 10 - i64.mul $push4=, $2, $pop13 - i64.const $push12=, 56 - i64.shl $push2=, $1, $pop12 - i64.const $push11=, 56 - i64.shr_s $push3=, $pop2, $pop11 - i64.add $push5=, $pop4, $pop3 - i64.const $push10=, -48 - i64.add $2=, $pop5, $pop10 - i32.const $push9=, 1 - i32.add $0=, $0, $pop9 - br_if 0, $3 # 0: up to label1 + i64.const $push15=, 10 + i64.mul $push3=, $2, $pop15 + i64.extend_u/i32 $push4=, $1 + i64.const $push14=, 56 + i64.shl $push5=, $pop4, $pop14 + i64.const $push13=, 56 + i64.shr_s $push6=, $pop5, $pop13 + i64.add $push7=, $pop3, $pop6 + i64.const $push12=, -48 + i64.add $2=, $pop7, $pop12 + i32.load8_u $1=, 0($0) + i32.const $push11=, 1 + i32.add $push0=, $0, $pop11 + copy_local $0=, $pop0 + br_if 0, $1 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return $2 + copy_local $push17=, $2 + # fallthrough-return: $pop17 .endfunc .Lfunc_end0: .size str2llu, .Lfunc_end0-str2llu @@ -54,46 +56,49 @@ sqrtllu: # @sqrtllu .result i32 .local i64, i64 # BB#0: # %entry - copy_local $2=, $0 - i64.const $1=, 0 + copy_local $1=, $0 + i64.const $2=, 0 .LBB1_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label3: - i64.const $push12=, 1 - i64.add $1=, $1, $pop12 - i64.const $push11=, 1 - i64.shr_u $2=, $2, $pop11 + i64.const $push14=, 1 + i64.add $2=, $2, $pop14 + i64.const $push13=, 1 + i64.shr_u $push12=, $1, $pop13 + tee_local $push11=, $1=, $pop12 i64.const $push10=, 0 - i64.ne $push0=, $2, $pop10 + i64.ne $push0=, $pop11, $pop10 br_if 0, $pop0 # 0: up to label3 # BB#2: # %for.end end_loop # label4: - i64.const $push16=, 1 + i64.const $push20=, 1 + i64.const $push19=, 1 + i64.shr_u $push4=, $2, $pop19 + i64.shl $push18=, $pop20, $pop4 + tee_local $push17=, $1=, $pop18 + i64.const $push1=, 63 + i64.shl $push2=, $2, $pop1 + i64.const $push16=, 63 + i64.shr_s $push3=, $pop2, $pop16 i64.const $push15=, 1 - i64.shr_u $push1=, $1, $pop15 - i64.shl $2=, $pop16, $pop1 - i64.const $push2=, 63 - i64.shl $push3=, $1, $pop2 - i64.const $push14=, 63 - i64.shr_s $push4=, $pop3, $pop14 - i64.const $push13=, 1 - i64.shr_u $push5=, $2, $pop13 - i64.and $push6=, $pop4, $pop5 - i64.add $2=, $2, $pop6 + i64.shr_u $push5=, $1, $pop15 + i64.and $push6=, $pop3, $pop5 + i64.add $2=, $pop17, $pop6 .LBB1_3: # %do.body # =>This Inner Loop Header: Depth=1 loop # label5: - i64.div_u $1=, $0, $2 + i64.div_u $push25=, $0, $2 + tee_local $push24=, $1=, $pop25 i64.add $push7=, $1, $2 - i64.const $push19=, 1 - i64.shr_u $push18=, $pop7, $pop19 - tee_local $push17=, $2=, $pop18 - i64.lt_u $push8=, $1, $pop17 + i64.const $push23=, 1 + i64.shr_u $push22=, $pop7, $pop23 + tee_local $push21=, $2=, $pop22 + i64.lt_u $push8=, $pop24, $pop21 br_if 0, $pop8 # 0: up to label5 # BB#4: # %do.end end_loop # label6: i32.wrap/i64 $push9=, $2 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end1: .size sqrtllu, .Lfunc_end1-sqrtllu @@ -105,12 +110,12 @@ sqrtllu: # @sqrtllu plist: # @plist .param i64, i64, i32 .result i32 - .local i64, i32, i32, i64, i32 + .local i32, i32, i64, i64, i32 # BB#0: # %entry copy_local $4=, $2 block - i64.gt_u $push1=, $0, $1 - br_if 0, $pop1 # 0: down to label7 + i64.gt_u $push0=, $0, $1 + br_if 0, $pop0 # 0: down to label7 # BB#1: # %for.cond.i.preheader.preheader copy_local $4=, $2 .LBB2_2: # %for.cond.i.preheader @@ -119,97 +124,100 @@ plist: # @plist # Child Loop BB2_5 Depth 2 # Child Loop BB2_8 Depth 2 loop # label8: - copy_local $6=, $0 - i64.const $3=, 0 + copy_local $5=, $0 + i64.const $6=, 0 .LBB2_3: # %for.cond.i # Parent Loop BB2_2 Depth=1 # => This Inner Loop Header: Depth=2 loop # label10: + i64.const $push23=, 1 + i64.add $6=, $6, $pop23 i64.const $push22=, 1 - i64.add $3=, $3, $pop22 - i64.const $push21=, 1 - i64.shr_u $6=, $6, $pop21 - i64.const $push20=, 0 - i64.ne $push2=, $6, $pop20 - br_if 0, $pop2 # 0: up to label10 + i64.shr_u $push21=, $5, $pop22 + tee_local $push20=, $5=, $pop21 + i64.const $push19=, 0 + i64.ne $push1=, $pop20, $pop19 + br_if 0, $pop1 # 0: up to label10 # BB#4: # %for.end.i # in Loop: Header=BB2_2 Depth=1 end_loop # label11: + i64.const $push30=, 63 + i64.shl $push2=, $6, $pop30 i64.const $push29=, 63 - i64.shl $push4=, $3, $pop29 - i64.const $push28=, 63 - i64.shr_s $push5=, $pop4, $pop28 + i64.shr_s $push3=, $pop2, $pop29 + i64.const $push28=, 1 i64.const $push27=, 1 - i64.const $push26=, 1 - i64.shr_u $push3=, $3, $pop26 - i64.shl $push25=, $pop27, $pop3 - tee_local $push24=, $6=, $pop25 - i64.const $push23=, 1 - i64.shr_u $push6=, $pop24, $pop23 - i64.and $push7=, $pop5, $pop6 - i64.add $6=, $pop7, $6 + i64.shr_u $push4=, $6, $pop27 + i64.shl $push26=, $pop28, $pop4 + tee_local $push25=, $6=, $pop26 + i64.const $push24=, 1 + i64.shr_u $push5=, $pop25, $pop24 + i64.and $push6=, $pop3, $pop5 + i64.add $6=, $pop6, $6 .LBB2_5: # %do.body.i # Parent Loop BB2_2 Depth=1 # => This Inner Loop Header: Depth=2 loop # label12: - i64.div_u $3=, $0, $6 - i64.add $push8=, $3, $6 - i64.const $push32=, 1 - i64.shr_u $push31=, $pop8, $pop32 - tee_local $push30=, $6=, $pop31 - i64.lt_u $push9=, $3, $pop30 - br_if 0, $pop9 # 0: up to label12 + i64.div_u $push35=, $0, $6 + tee_local $push34=, $5=, $pop35 + i64.add $push7=, $5, $6 + i64.const $push33=, 1 + i64.shr_u $push32=, $pop7, $pop33 + tee_local $push31=, $6=, $pop32 + i64.lt_u $push8=, $pop34, $pop31 + br_if 0, $pop8 # 0: up to label12 # BB#6: # %sqrtllu.exit # in Loop: Header=BB2_2 Depth=1 end_loop # label13: block block - i32.wrap/i64 $push35=, $6 - tee_local $push34=, $7=, $pop35 - i32.const $push33=, 3 - i32.lt_u $push10=, $pop34, $pop33 - br_if 0, $pop10 # 0: down to label15 + i32.wrap/i64 $push38=, $6 + tee_local $push37=, $3=, $pop38 + i32.const $push36=, 3 + i32.lt_u $push9=, $pop37, $pop36 + br_if 0, $pop9 # 0: down to label15 # BB#7: # %for.body3.preheader # in Loop: Header=BB2_2 Depth=1 - i32.const $5=, 3 + i32.const $7=, 3 .LBB2_8: # %for.body3 # Parent Loop BB2_2 Depth=1 # => This Inner Loop Header: Depth=2 loop # label16: - i64.extend_u/i32 $push11=, $5 - i64.rem_u $push12=, $0, $pop11 - i64.eqz $push13=, $pop12 - br_if 3, $pop13 # 3: down to label14 + i64.extend_u/i32 $push10=, $7 + i64.rem_u $push11=, $0, $pop10 + i64.eqz $push12=, $pop11 + br_if 3, $pop12 # 3: down to label14 # BB#9: # %for.cond1 # in Loop: Header=BB2_8 Depth=2 - i32.const $push36=, 2 - i32.add $5=, $5, $pop36 - i32.le_u $push14=, $5, $7 - br_if 0, $pop14 # 0: up to label16 + i32.const $push41=, 2 + i32.add $push40=, $7, $pop41 + tee_local $push39=, $7=, $pop40 + i32.le_u $push13=, $pop39, $3 + br_if 0, $pop13 # 0: up to label16 .LBB2_10: # %for.end # in Loop: Header=BB2_2 Depth=1 end_loop # label17: end_block # label15: i64.store $drop=, 0($4), $0 - i32.const $push37=, 8 - i32.add $push0=, $4, $pop37 - copy_local $4=, $pop0 + i32.const $push42=, 8 + i32.add $4=, $4, $pop42 .LBB2_11: # %for.inc6 # in Loop: Header=BB2_2 Depth=1 end_block # label14: - i64.const $push38=, 2 - i64.add $0=, $0, $pop38 - i64.le_u $push15=, $0, $1 - br_if 0, $pop15 # 0: up to label8 + i64.const $push45=, 2 + i64.add $push44=, $0, $pop45 + tee_local $push43=, $0=, $pop44 + i64.le_u $push14=, $pop43, $1 + br_if 0, $pop14 # 0: up to label8 .LBB2_12: # %for.end8 end_loop # label9: end_block # label7: - i64.const $push16=, 0 - i64.store $drop=, 0($4), $pop16 - i32.sub $push17=, $4, $2 - i32.const $push18=, 3 - i32.shr_s $push19=, $pop17, $pop18 - return $pop19 + i64.const $push15=, 0 + i64.store $drop=, 0($4), $pop15 + i32.sub $push16=, $4, $2 + i32.const $push17=, 3 + i32.shr_s $push18=, $pop16, $pop17 + # fallthrough-return: $pop18 .endfunc .Lfunc_end2: .size plist, .Lfunc_end2-plist @@ -221,133 +229,136 @@ plist: # @plist main: # @main .param i32, i32 .result i32 - .local i64, i32, i64, i32, i32, i64, i32 + .local i32, i32, i32, i64, i64, i64, i32 # BB#0: # %for.cond.i.preheader.i.preheader - i64.const $4=, 1234111111 - i32.const $push31=, __stack_pointer - i32.const $push28=, __stack_pointer - i32.load $push29=, 0($pop28) - i32.const $push30=, 80 - i32.sub $push32=, $pop29, $pop30 - i32.store $push34=, 0($pop31), $pop32 - tee_local $push33=, $6=, $pop34 - copy_local $3=, $pop33 + i64.const $5=, 1234111111 + i32.const $push30=, 0 + i32.const $push27=, 0 + i32.load $push28=, __stack_pointer($pop27) + i32.const $push29=, 80 + i32.sub $push31=, $pop28, $pop29 + i32.store $push33=, __stack_pointer($pop30), $pop31 + tee_local $push32=, $2=, $pop33 + copy_local $4=, $pop32 .LBB3_1: # %for.cond.i.preheader.i # =>This Loop Header: Depth=1 # Child Loop BB3_2 Depth 2 # Child Loop BB3_4 Depth 2 # Child Loop BB3_7 Depth 2 loop # label18: - copy_local $7=, $4 - i64.const $2=, 0 + copy_local $6=, $5 + i64.const $7=, 0 .LBB3_2: # %for.cond.i.i # Parent Loop BB3_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label20: + i64.const $push38=, 1 + i64.add $7=, $7, $pop38 i64.const $push37=, 1 - i64.add $2=, $2, $pop37 - i64.const $push36=, 1 - i64.shr_u $7=, $7, $pop36 - i64.const $push35=, 0 - i64.ne $push1=, $7, $pop35 - br_if 0, $pop1 # 0: up to label20 + i64.shr_u $push36=, $6, $pop37 + tee_local $push35=, $6=, $pop36 + i64.const $push34=, 0 + i64.ne $push0=, $pop35, $pop34 + br_if 0, $pop0 # 0: up to label20 # BB#3: # %for.end.i.i # in Loop: Header=BB3_1 Depth=1 end_loop # label21: + i64.const $push45=, 63 + i64.shl $push1=, $7, $pop45 i64.const $push44=, 63 - i64.shl $push3=, $2, $pop44 - i64.const $push43=, 63 - i64.shr_s $push4=, $pop3, $pop43 + i64.shr_s $push2=, $pop1, $pop44 + i64.const $push43=, 1 i64.const $push42=, 1 - i64.const $push41=, 1 - i64.shr_u $push2=, $2, $pop41 - i64.shl $push40=, $pop42, $pop2 - tee_local $push39=, $7=, $pop40 - i64.const $push38=, 1 - i64.shr_u $push5=, $pop39, $pop38 - i64.and $push6=, $pop4, $pop5 - i64.add $7=, $pop6, $7 + i64.shr_u $push3=, $7, $pop42 + i64.shl $push41=, $pop43, $pop3 + tee_local $push40=, $7=, $pop41 + i64.const $push39=, 1 + i64.shr_u $push4=, $pop40, $pop39 + i64.and $push5=, $pop2, $pop4 + i64.add $7=, $pop5, $7 .LBB3_4: # %do.body.i.i # Parent Loop BB3_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label22: - i64.div_u $2=, $4, $7 - i64.add $push7=, $2, $7 - i64.const $push47=, 1 - i64.shr_u $push46=, $pop7, $pop47 - tee_local $push45=, $7=, $pop46 - i64.lt_u $push8=, $2, $pop45 - br_if 0, $pop8 # 0: up to label22 + i64.div_u $push50=, $5, $7 + tee_local $push49=, $6=, $pop50 + i64.add $push6=, $6, $7 + i64.const $push48=, 1 + i64.shr_u $push47=, $pop6, $pop48 + tee_local $push46=, $7=, $pop47 + i64.lt_u $push7=, $pop49, $pop46 + br_if 0, $pop7 # 0: up to label22 # BB#5: # %sqrtllu.exit.i # in Loop: Header=BB3_1 Depth=1 end_loop # label23: block block - i32.wrap/i64 $push50=, $7 - tee_local $push49=, $8=, $pop50 - i32.const $push48=, 3 - i32.lt_u $push9=, $pop49, $pop48 - br_if 0, $pop9 # 0: down to label25 + i32.wrap/i64 $push53=, $7 + tee_local $push52=, $3=, $pop53 + i32.const $push51=, 3 + i32.lt_u $push8=, $pop52, $pop51 + br_if 0, $pop8 # 0: down to label25 # BB#6: # %for.body3.i.preheader # in Loop: Header=BB3_1 Depth=1 - i32.const $5=, 3 + i32.const $8=, 3 .LBB3_7: # %for.body3.i # Parent Loop BB3_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label26: - i64.extend_u/i32 $push10=, $5 - i64.rem_u $push11=, $4, $pop10 - i64.eqz $push12=, $pop11 - br_if 3, $pop12 # 3: down to label24 + i64.extend_u/i32 $push9=, $8 + i64.rem_u $push10=, $5, $pop9 + i64.eqz $push11=, $pop10 + br_if 3, $pop11 # 3: down to label24 # BB#8: # %for.cond1.i # in Loop: Header=BB3_7 Depth=2 - i32.const $push51=, 2 - i32.add $5=, $5, $pop51 - i32.le_u $push13=, $5, $8 - br_if 0, $pop13 # 0: up to label26 + i32.const $push56=, 2 + i32.add $push55=, $8, $pop56 + tee_local $push54=, $8=, $pop55 + i32.le_u $push12=, $pop54, $3 + br_if 0, $pop12 # 0: up to label26 .LBB3_9: # %for.end.i # in Loop: Header=BB3_1 Depth=1 end_loop # label27: end_block # label25: - i64.store $drop=, 0($3), $4 - i32.const $push52=, 8 - i32.add $push0=, $3, $pop52 - copy_local $3=, $pop0 + i64.store $drop=, 0($4), $5 + i32.const $push57=, 8 + i32.add $4=, $4, $pop57 .LBB3_10: # %for.inc6.i # in Loop: Header=BB3_1 Depth=1 end_block # label24: - i64.const $push54=, 2 - i64.add $4=, $4, $pop54 - i64.const $push53=, 1234111128 - i64.lt_u $push14=, $4, $pop53 - br_if 0, $pop14 # 0: up to label18 + i64.const $push61=, 2 + i64.add $push60=, $5, $pop61 + tee_local $push59=, $5=, $pop60 + i64.const $push58=, 1234111128 + i64.lt_u $push13=, $pop59, $pop58 + br_if 0, $pop13 # 0: up to label18 # BB#11: # %plist.exit end_loop # label19: - i64.const $push15=, 0 - i64.store $drop=, 0($3), $pop15 + i64.const $push14=, 0 + i64.store $drop=, 0($4), $pop14 block - i64.load $push16=, 0($6) - i64.const $push17=, 1234111117 - i64.ne $push18=, $pop16, $pop17 - br_if 0, $pop18 # 0: down to label28 + i64.load $push16=, 0($2) + i64.const $push15=, 1234111117 + i64.ne $push17=, $pop16, $pop15 + br_if 0, $pop17 # 0: down to label28 # BB#12: # %lor.lhs.false - i64.load $push19=, 8($6) - i64.const $push20=, 1234111121 - i64.ne $push21=, $pop19, $pop20 - br_if 0, $pop21 # 0: down to label28 + i64.load $push19=, 8($2) + i64.const $push18=, 1234111121 + i64.ne $push20=, $pop19, $pop18 + br_if 0, $pop20 # 0: down to label28 # BB#13: # %lor.lhs.false5 - i64.load $push22=, 16($6) - i64.const $push23=, 1234111127 - i64.ne $push24=, $pop22, $pop23 - br_if 0, $pop24 # 0: down to label28 + i64.load $push22=, 16($2) + i64.const $push21=, 1234111127 + i64.ne $push23=, $pop22, $pop21 + br_if 0, $pop23 # 0: down to label28 # BB#14: # %lor.lhs.false8 - i64.load $push25=, 24($6) - i64.eqz $push26=, $pop25 - i32.eqz $push55=, $pop26 - br_if 0, $pop55 # 0: down to label28 + i64.load $push24=, 24($2) + i64.eqz $push25=, $pop24 + i32.eqz $push62=, $pop25 + br_if 0, $pop62 # 0: down to label28 # BB#15: # %if.end - i32.const $push27=, 0 - call exit@FUNCTION, $pop27 + i32.const $push26=, 0 + call exit@FUNCTION, $pop26 unreachable .LBB3_16: # %if.then end_block # label28: diff --git a/test/torture-s/920501-8.c.s b/test/torture-s/920501-8.c.s index cf868d041..094651788 100644 --- a/test/torture-s/920501-8.c.s +++ b/test/torture-s/920501-8.c.s @@ -9,118 +9,87 @@ va: # @va .result i32 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push50=, __stack_pointer - i32.const $push47=, __stack_pointer - i32.load $push48=, 0($pop47) - i32.const $push49=, 80 - i32.sub $push54=, $pop48, $pop49 - i32.store $4=, 0($pop50), $pop54 - i32.store $push66=, 76($4), $3 - tee_local $push65=, $3=, $pop66 + i32.const $push37=, 0 + i32.const $push34=, 0 + i32.load $push35=, __stack_pointer($pop34) + i32.const $push36=, 80 + i32.sub $push41=, $pop35, $pop36 + i32.store $push46=, __stack_pointer($pop37), $pop41 + tee_local $push45=, $4=, $pop46 + i32.store $push44=, 76($4), $3 + tee_local $push43=, $3=, $pop44 i32.const $push0=, 4 - i32.add $push1=, $pop65, $pop0 - i32.store $drop=, 76($4), $pop1 + i32.add $push1=, $pop43, $pop0 + i32.store $drop=, 76($pop45), $pop1 i32.load $5=, 0($3) - i32.const $push2=, 8 - i32.add $push3=, $3, $pop2 - i32.store $drop=, 76($4), $pop3 i32.load $6=, 4($3) - i32.const $push4=, 12 - i32.add $push5=, $3, $pop4 - i32.store $drop=, 76($4), $pop5 i32.load $7=, 8($3) - i32.const $push6=, 16 - i32.add $push7=, $3, $pop6 - i32.store $drop=, 76($4), $pop7 i32.load $8=, 12($3) - i32.const $push8=, 20 - i32.add $push9=, $3, $pop8 - i32.store $drop=, 76($4), $pop9 i32.load $9=, 16($3) - i32.const $push10=, 24 - i32.add $push11=, $3, $pop10 - i32.store $drop=, 76($4), $pop11 i32.load $10=, 20($3) - i32.const $push12=, 28 - i32.add $push13=, $3, $pop12 - i32.store $drop=, 76($4), $pop13 i32.load $11=, 24($3) - i32.const $push14=, 32 - i32.add $push15=, $3, $pop14 - i32.store $drop=, 76($4), $pop15 i32.load $12=, 28($3) - i32.const $push16=, 36 - i32.add $push17=, $3, $pop16 - i32.store $drop=, 76($4), $pop17 i32.load $13=, 32($3) - i32.const $push18=, 40 - i32.add $push19=, $3, $pop18 - i32.store $drop=, 76($4), $pop19 i32.load $14=, 36($3) - i32.const $push20=, 44 - i32.add $push21=, $3, $pop20 - i32.store $drop=, 76($4), $pop21 i32.load $15=, 40($3) - i32.const $push22=, 48 - i32.add $push23=, $3, $pop22 - i32.store $drop=, 76($4), $pop23 i32.load $16=, 44($3) - i32.const $push24=, 52 - i32.add $push25=, $3, $pop24 - i32.store $drop=, 76($4), $pop25 - i32.const $push27=, 68 - i32.add $push28=, $4, $pop27 - i32.load $push26=, 48($3) - i32.store $drop=, 0($pop28), $pop26 - i32.const $push29=, 64 - i32.add $push30=, $4, $pop29 - i32.store $drop=, 0($pop30), $16 - i32.const $push31=, 60 - i32.add $push32=, $4, $pop31 - i32.store $drop=, 0($pop32), $15 - i32.const $push33=, 56 - i32.add $push34=, $4, $pop33 - i32.store $drop=, 0($pop34), $14 - i32.const $push64=, 52 - i32.add $push35=, $4, $pop64 - i32.store $drop=, 0($pop35), $13 - i32.const $push63=, 48 - i32.add $push36=, $4, $pop63 - i32.store $drop=, 0($pop36), $12 - i32.const $push62=, 44 - i32.add $push37=, $4, $pop62 - i32.store $drop=, 0($pop37), $11 - i32.const $push61=, 40 - i32.add $push38=, $4, $pop61 - i32.store $drop=, 0($pop38), $10 - i32.const $push60=, 36 - i32.add $push39=, $4, $pop60 - i32.store $drop=, 0($pop39), $9 - i32.const $push59=, 32 - i32.add $push40=, $4, $pop59 - i32.store $drop=, 0($pop40), $8 - i32.const $push58=, 28 - i32.add $push41=, $4, $pop58 - i32.store $drop=, 0($pop41), $7 - i32.const $push57=, 24 - i32.add $push42=, $4, $pop57 - i32.store $drop=, 0($pop42), $6 - i32.const $push56=, 20 - i32.add $push43=, $4, $pop56 - i32.store $drop=, 0($pop43), $5 - i32.const $push55=, 16 - i32.add $push44=, $4, $pop55 - i32.store $drop=, 0($pop44), $2 + i32.const $push2=, 52 + i32.add $push3=, $3, $pop2 + i32.store $drop=, 76($4), $pop3 + i32.const $push4=, 68 + i32.add $push5=, $4, $pop4 + i32.load $push6=, 48($3) + i32.store $drop=, 0($pop5), $pop6 + i32.const $push7=, 64 + i32.add $push8=, $4, $pop7 + i32.store $drop=, 0($pop8), $16 + i32.const $push9=, 60 + i32.add $push10=, $4, $pop9 + i32.store $drop=, 0($pop10), $15 + i32.const $push11=, 56 + i32.add $push12=, $4, $pop11 + i32.store $drop=, 0($pop12), $14 + i32.const $push42=, 52 + i32.add $push13=, $4, $pop42 + i32.store $drop=, 0($pop13), $13 + i32.const $push14=, 48 + i32.add $push15=, $4, $pop14 + i32.store $drop=, 0($pop15), $12 + i32.const $push16=, 44 + i32.add $push17=, $4, $pop16 + i32.store $drop=, 0($pop17), $11 + i32.const $push18=, 40 + i32.add $push19=, $4, $pop18 + i32.store $drop=, 0($pop19), $10 + i32.const $push20=, 36 + i32.add $push21=, $4, $pop20 + i32.store $drop=, 0($pop21), $9 + i32.const $push22=, 32 + i32.add $push23=, $4, $pop22 + i32.store $drop=, 0($pop23), $8 + i32.const $push24=, 28 + i32.add $push25=, $4, $pop24 + i32.store $drop=, 0($pop25), $7 + i32.const $push26=, 24 + i32.add $push27=, $4, $pop26 + i32.store $drop=, 0($pop27), $6 + i32.const $push28=, 20 + i32.add $push29=, $4, $pop28 + i32.store $drop=, 0($pop29), $5 + i32.const $push30=, 16 + i32.add $push31=, $4, $pop30 + i32.store $drop=, 0($pop31), $2 f64.store $drop=, 8($4), $1 i32.store $drop=, 0($4), $0 - i32.const $push46=, buf - i32.const $push45=, .L.str - i32.call $drop=, sprintf@FUNCTION, $pop46, $pop45, $4 - i32.const $push53=, __stack_pointer - i32.const $push51=, 80 - i32.add $push52=, $4, $pop51 - i32.store $drop=, 0($pop53), $pop52 - return $4 + i32.const $push33=, buf + i32.const $push32=, .L.str + i32.call $drop=, sprintf@FUNCTION, $pop33, $pop32, $4 + i32.const $push40=, 0 + i32.const $push38=, 80 + i32.add $push39=, $4, $pop38 + i32.store $drop=, __stack_pointer($pop40), $pop39 + copy_local $push47=, $4 + # fallthrough-return: $pop47 .endfunc .Lfunc_end0: .size va, .Lfunc_end0-va @@ -133,12 +102,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push27=, __stack_pointer - i32.const $push24=, __stack_pointer - i32.load $push25=, 0($pop24) + i32.const $push27=, 0 + i32.const $push24=, 0 + i32.load $push25=, __stack_pointer($pop24) i32.const $push26=, 64 i32.sub $push28=, $pop25, $pop26 - i32.store $push30=, 0($pop27), $pop28 + i32.store $push30=, __stack_pointer($pop27), $pop28 tee_local $push29=, $0=, $pop30 i32.const $push0=, 48 i32.add $push1=, $pop29, $pop0 diff --git a/test/torture-s/920501-9.c.s b/test/torture-s/920501-9.c.s index 9087ade57..4ff8f7cca 100644 --- a/test/torture-s/920501-9.c.s +++ b/test/torture-s/920501-9.c.s @@ -8,7 +8,7 @@ proc1: # @proc1 .result i64 # BB#0: # %entry i64.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size proc1, .Lfunc_end0-proc1 @@ -21,7 +21,7 @@ proc2: # @proc2 .result i64 # BB#0: # %entry i64.const $push0=, 305419896 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size proc2, .Lfunc_end1-proc2 @@ -34,7 +34,7 @@ proc3: # @proc3 .result i64 # BB#0: # %entry i64.const $push0=, -6144092016751651208 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size proc3, .Lfunc_end2-proc3 @@ -47,7 +47,7 @@ proc4: # @proc4 .result i64 # BB#0: # %entry i64.const $push0=, -1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size proc4, .Lfunc_end3-proc4 @@ -60,7 +60,7 @@ proc5: # @proc5 .result i64 # BB#0: # %entry i64.const $push0=, 2864434397 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size proc5, .Lfunc_end4-proc5 @@ -74,24 +74,24 @@ print_longlong: # @print_longlong .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 32 i32.sub $push13=, $pop5, $pop6 - i32.store $2=, 0($pop7), $pop13 - i32.wrap/i64 $3=, $0 + i32.store $2=, __stack_pointer($pop7), $pop13 + i32.wrap/i64 $4=, $0 block block i64.const $push0=, 32 i64.shr_u $push1=, $0, $pop0 i32.wrap/i64 $push15=, $pop1 - tee_local $push14=, $4=, $pop15 + tee_local $push14=, $3=, $pop15 i32.eqz $push16=, $pop14 br_if 0, $pop16 # 0: down to label1 # BB#1: # %if.then - i32.store $drop=, 20($2), $3 - i32.store $drop=, 16($2), $4 + i32.store $drop=, 20($2), $4 + i32.store $drop=, 16($2), $3 i32.const $push2=, .L.str i32.const $push11=, 16 i32.add $push12=, $2, $pop11 @@ -99,16 +99,17 @@ print_longlong: # @print_longlong br 1 # 1: down to label0 .LBB5_2: # %if.else end_block # label1: - i32.store $drop=, 0($2), $3 + i32.store $drop=, 0($2), $4 i32.const $push3=, .L.str.1 i32.call $drop=, sprintf@FUNCTION, $1, $pop3, $2 .LBB5_3: # %if.end end_block # label0: - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 32 i32.add $push9=, $2, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return $2 + i32.store $drop=, __stack_pointer($pop10), $pop9 + copy_local $push17=, $2 + # fallthrough-return: $pop17 .endfunc .Lfunc_end5: .size print_longlong, .Lfunc_end5-print_longlong @@ -121,12 +122,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push20=, __stack_pointer - i32.const $push17=, __stack_pointer - i32.load $push18=, 0($pop17) + i32.const $push20=, 0 + i32.const $push17=, 0 + i32.load $push18=, __stack_pointer($pop17) i32.const $push19=, 192 i32.sub $push49=, $pop18, $pop19 - i32.store $push52=, 0($pop20), $pop49 + i32.store $push52=, __stack_pointer($pop20), $pop49 tee_local $push51=, $0=, $pop52 i32.const $push0=, 1 i32.store $drop=, 64($pop51), $pop0 diff --git a/test/torture-s/920520-1.c.s b/test/torture-s/920520-1.c.s index 1566f675f..d9099c575 100644 --- a/test/torture-s/920520-1.c.s +++ b/test/torture-s/920520-1.c.s @@ -10,7 +10,8 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 8 i32.store $drop=, 0($0), $pop0 - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +24,7 @@ bugger: # @bugger .result i32 # BB#0: # %sw.epilog i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bugger, .Lfunc_end1-bugger diff --git a/test/torture-s/920604-1.c.s b/test/torture-s/920604-1.c.s index 0abd25683..88527161e 100644 --- a/test/torture-s/920604-1.c.s +++ b/test/torture-s/920604-1.c.s @@ -9,7 +9,7 @@ mod: # @mod .result i64 # BB#0: # %entry i64.rem_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size mod, .Lfunc_end0-mod diff --git a/test/torture-s/920612-1.c.s b/test/torture-s/920612-1.c.s index 693f89686..4d1c79a67 100644 --- a/test/torture-s/920612-1.c.s +++ b/test/torture-s/920612-1.c.s @@ -12,7 +12,7 @@ f: # @f i32.shr_u $push1=, $0, $pop0 i32.const $push2=, 1 i32.xor $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920625-1.c.s b/test/torture-s/920625-1.c.s index 7c091a83e..72835faea 100644 --- a/test/torture-s/920625-1.c.s +++ b/test/torture-s/920625-1.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push21=, __stack_pointer - i32.const $push18=, __stack_pointer - i32.load $push19=, 0($pop18) + i32.const $push21=, 0 + i32.const $push18=, 0 + i32.load $push19=, __stack_pointer($pop18) i32.const $push20=, 128 i32.sub $push48=, $pop19, $pop20 - i32.store $push65=, 0($pop21), $pop48 + i32.store $push65=, __stack_pointer($pop21), $pop48 tee_local $push64=, $0=, $pop65 i32.const $push22=, 112 i32.add $push23=, $pop64, $pop22 @@ -106,91 +106,92 @@ main: # @main .type va1,@function va1: # @va1 .param i32, i32 - .local i32, f64, f64, i32 + .local i32 # BB#0: # %entry - i32.const $push36=, __stack_pointer - i32.const $push33=, __stack_pointer - i32.load $push34=, 0($pop33) - i32.const $push35=, 16 - i32.sub $push40=, $pop34, $pop35 - i32.store $2=, 0($pop36), $pop40 - i32.const $push0=, 7 - i32.add $push1=, $1, $pop0 - i32.const $push2=, -8 - i32.and $push43=, $pop1, $pop2 - tee_local $push42=, $5=, $pop43 - f64.load $3=, 0($pop42) - i32.const $push41=, 0 - f64.load $4=, pts($pop41) - i32.store $drop=, 12($2), $1 - i32.const $push3=, 16 - i32.add $push4=, $5, $pop3 - i32.store $drop=, 12($2), $pop4 + i32.const $push45=, 0 + i32.const $push42=, 0 + i32.load $push43=, __stack_pointer($pop42) + i32.const $push44=, 16 + i32.sub $push49=, $pop43, $pop44 + i32.store $push54=, __stack_pointer($pop45), $pop49 + tee_local $push53=, $2=, $pop54 + i32.store $push0=, 12($2), $1 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push52=, $pop2, $pop3 + tee_local $push51=, $1=, $pop52 + i32.const $push4=, 16 + i32.add $push5=, $pop51, $pop4 + i32.store $drop=, 12($pop53), $pop5 block - f64.ne $push5=, $4, $3 - br_if 0, $pop5 # 0: down to label0 -# BB#1: # %lor.lhs.false - i32.const $push44=, 0 - f64.load $push7=, pts+8($pop44) - f64.load $push6=, 8($5) + i32.const $push50=, 0 + f64.load $push7=, pts($pop50) + f64.load $push6=, 0($1) f64.ne $push8=, $pop7, $pop6 br_if 0, $pop8 # 0: down to label0 +# BB#1: # %lor.lhs.false + i32.const $push55=, 0 + f64.load $push10=, pts+8($pop55) + f64.load $push9=, 8($1) + f64.ne $push11=, $pop10, $pop9 + br_if 0, $pop11 # 0: down to label0 # BB#2: # %for.cond - i32.const $push11=, 16 - i32.add $push12=, $5, $pop11 - f64.load $3=, 0($pop12) - i32.const $push45=, 0 - f64.load $4=, pts+16($pop45) - i32.const $push9=, 32 - i32.add $push10=, $5, $pop9 - i32.store $drop=, 12($2), $pop10 - f64.ne $push13=, $4, $3 - br_if 0, $pop13 # 0: down to label0 + i32.const $push12=, 32 + i32.add $push13=, $1, $pop12 + i32.store $drop=, 12($2), $pop13 + i32.const $push56=, 0 + f64.load $push17=, pts+16($pop56) + i32.const $push14=, 16 + i32.add $push15=, $1, $pop14 + f64.load $push16=, 0($pop15) + f64.ne $push18=, $pop17, $pop16 + br_if 0, $pop18 # 0: down to label0 # BB#3: # %lor.lhs.false.1 - i32.const $push46=, 0 - f64.load $push15=, pts+24($pop46) - f64.load $push14=, 24($5) - f64.ne $push16=, $pop15, $pop14 - br_if 0, $pop16 # 0: down to label0 -# BB#4: # %for.cond.1 - i32.const $push19=, 32 - i32.add $push20=, $5, $pop19 - f64.load $3=, 0($pop20) - i32.const $push47=, 0 - f64.load $4=, pts+32($pop47) - i32.const $push17=, 48 - i32.add $push18=, $5, $pop17 - i32.store $drop=, 12($2), $pop18 - f64.ne $push21=, $4, $3 + i32.const $push57=, 0 + f64.load $push20=, pts+24($pop57) + f64.load $push19=, 24($1) + f64.ne $push21=, $pop20, $pop19 br_if 0, $pop21 # 0: down to label0 +# BB#4: # %for.cond.1 + i32.const $push22=, 48 + i32.add $push23=, $1, $pop22 + i32.store $drop=, 12($2), $pop23 + i32.const $push58=, 0 + f64.load $push27=, pts+32($pop58) + i32.const $push24=, 32 + i32.add $push25=, $1, $pop24 + f64.load $push26=, 0($pop25) + f64.ne $push28=, $pop27, $pop26 + br_if 0, $pop28 # 0: down to label0 # BB#5: # %lor.lhs.false.2 - i32.const $push48=, 0 - f64.load $push23=, pts+40($pop48) - f64.load $push22=, 40($5) - f64.ne $push24=, $pop23, $pop22 - br_if 0, $pop24 # 0: down to label0 + i32.const $push59=, 0 + f64.load $push30=, pts+40($pop59) + f64.load $push29=, 40($1) + f64.ne $push31=, $pop30, $pop29 + br_if 0, $pop31 # 0: down to label0 # BB#6: # %for.cond.2 - i32.const $push27=, 48 - i32.add $push28=, $5, $pop27 - f64.load $3=, 0($pop28) - i32.const $push49=, 0 - f64.load $4=, pts+48($pop49) - i32.const $push25=, 64 - i32.add $push26=, $5, $pop25 - i32.store $drop=, 12($2), $pop26 - f64.ne $push29=, $4, $3 - br_if 0, $pop29 # 0: down to label0 + i32.const $push32=, 64 + i32.add $push33=, $1, $pop32 + i32.store $drop=, 12($2), $pop33 + i32.const $push60=, 0 + f64.load $push37=, pts+48($pop60) + i32.const $push34=, 48 + i32.add $push35=, $1, $pop34 + f64.load $push36=, 0($pop35) + f64.ne $push38=, $pop37, $pop36 + br_if 0, $pop38 # 0: down to label0 # BB#7: # %lor.lhs.false.3 - i32.const $push50=, 0 - f64.load $push31=, pts+56($pop50) - f64.load $push30=, 56($5) - f64.ne $push32=, $pop31, $pop30 - br_if 0, $pop32 # 0: down to label0 + i32.const $push61=, 0 + f64.load $push40=, pts+56($pop61) + f64.load $push39=, 56($1) + f64.ne $push41=, $pop40, $pop39 + br_if 0, $pop41 # 0: down to label0 # BB#8: # %for.cond.3 - i32.const $push39=, __stack_pointer - i32.const $push37=, 16 - i32.add $push38=, $2, $pop37 - i32.store $drop=, 0($pop39), $pop38 + i32.const $push48=, 0 + i32.const $push46=, 16 + i32.add $push47=, $2, $pop46 + i32.store $drop=, __stack_pointer($pop48), $pop47 return .LBB1_9: # %if.then end_block # label0: @@ -206,24 +207,25 @@ va2: # @va2 .param i32, i32 .local i32, i64 # BB#0: # %entry - i32.const $push53=, __stack_pointer - i32.const $push50=, __stack_pointer - i32.load $push51=, 0($pop50) + i32.const $push53=, 0 + i32.const $push50=, 0 + i32.load $push51=, __stack_pointer($pop50) i32.const $push52=, 16 i32.sub $push57=, $pop51, $pop52 - i32.store $2=, 0($pop53), $pop57 + i32.store $push63=, __stack_pointer($pop53), $pop57 + tee_local $push62=, $2=, $pop63 i32.store $push61=, 12($2), $1 tee_local $push60=, $1=, $pop61 i32.const $push0=, 8 i32.add $push1=, $pop60, $pop0 - i32.store $drop=, 12($2), $pop1 + i32.store $drop=, 12($pop62), $pop1 block - i32.const $push3=, 0 - i64.load $push59=, ipts($pop3) + i32.const $push2=, 0 + i64.load $push59=, ipts($pop2) tee_local $push58=, $3=, $pop59 - i32.wrap/i64 $push4=, $pop58 - i32.load $push2=, 0($1) - i32.ne $push5=, $pop4, $pop2 + i32.wrap/i64 $push3=, $pop58 + i32.load $push4=, 0($1) + i32.ne $push5=, $pop3, $pop4 br_if 0, $pop5 # 0: down to label1 # BB#1: # %lor.lhs.false i64.const $push6=, 32 @@ -237,9 +239,9 @@ va2: # @va2 i32.add $push12=, $1, $pop11 i32.store $drop=, 12($2), $pop12 i32.const $push16=, 0 - i64.load $push63=, ipts+8($pop16) - tee_local $push62=, $3=, $pop63 - i32.wrap/i64 $push17=, $pop62 + i64.load $push65=, ipts+8($pop16) + tee_local $push64=, $3=, $pop65 + i32.wrap/i64 $push17=, $pop64 i32.const $push13=, 8 i32.add $push14=, $1, $pop13 i32.load $push15=, 0($pop14) @@ -257,9 +259,9 @@ va2: # @va2 i32.add $push25=, $1, $pop24 i32.store $drop=, 12($2), $pop25 i32.const $push29=, 0 - i64.load $push65=, ipts+16($pop29) - tee_local $push64=, $3=, $pop65 - i32.wrap/i64 $push30=, $pop64 + i64.load $push67=, ipts+16($pop29) + tee_local $push66=, $3=, $pop67 + i32.wrap/i64 $push30=, $pop66 i32.const $push26=, 16 i32.add $push27=, $1, $pop26 i32.load $push28=, 0($pop27) @@ -277,9 +279,9 @@ va2: # @va2 i32.add $push38=, $1, $pop37 i32.store $drop=, 12($2), $pop38 i32.const $push42=, 0 - i64.load $push67=, ipts+24($pop42) - tee_local $push66=, $3=, $pop67 - i32.wrap/i64 $push43=, $pop66 + i64.load $push69=, ipts+24($pop42) + tee_local $push68=, $3=, $pop69 + i32.wrap/i64 $push43=, $pop68 i32.const $push39=, 24 i32.add $push40=, $1, $pop39 i32.load $push41=, 0($pop40) @@ -293,10 +295,10 @@ va2: # @va2 i32.ne $push49=, $pop47, $pop48 br_if 0, $pop49 # 0: down to label1 # BB#8: # %for.cond.3 - i32.const $push56=, __stack_pointer + i32.const $push56=, 0 i32.const $push54=, 16 i32.add $push55=, $2, $pop54 - i32.store $drop=, 0($pop56), $pop55 + i32.store $drop=, __stack_pointer($pop56), $pop55 return .LBB2_9: # %if.then end_block # label1: diff --git a/test/torture-s/920711-1.c.s b/test/torture-s/920711-1.c.s index 4088ca703..c84be4b95 100644 --- a/test/torture-s/920711-1.c.s +++ b/test/torture-s/920711-1.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry i32.const $push0=, 1 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920721-1.c.s b/test/torture-s/920721-1.c.s index f8cba0f73..cd42a0f8e 100644 --- a/test/torture-s/920721-1.c.s +++ b/test/torture-s/920721-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.div_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920721-2.c.s b/test/torture-s/920721-2.c.s index 7c0330e43..94aa48a0e 100644 --- a/test/torture-s/920721-2.c.s +++ b/test/torture-s/920721-2.c.s @@ -8,7 +8,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920726-1.c.s b/test/torture-s/920726-1.c.s index 2304a5fc2..2593aabb7 100644 --- a/test/torture-s/920726-1.c.s +++ b/test/torture-s/920726-1.c.s @@ -9,62 +9,62 @@ first: # @first .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) - i32.const $push8=, 16 - i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 - tee_local $push14=, $3=, $pop15 - i32.store $drop=, 12($pop14), $2 + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) + i32.const $push7=, 16 + i32.sub $push12=, $pop6, $pop7 + i32.store $push14=, __stack_pointer($pop8), $pop12 + tee_local $push13=, $3=, $pop14 + i32.store $drop=, 12($pop13), $2 .LBB0_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label0: block - i32.load8_u $push23=, 0($1) - tee_local $push22=, $2=, $pop23 - i32.const $push21=, 105 - i32.ne $push1=, $pop22, $pop21 - br_if 0, $pop1 # 0: down to label2 + i32.load8_u $push22=, 0($1) + tee_local $push21=, $2=, $pop22 + i32.const $push20=, 105 + i32.ne $push0=, $pop21, $pop20 + br_if 0, $pop0 # 0: down to label2 # BB#2: # %if.then # in Loop: Header=BB0_1 Depth=1 - i32.load $push20=, 12($3) - tee_local $push19=, $2=, $pop20 - i32.const $push18=, 4 - i32.add $push2=, $pop19, $pop18 - i32.store $drop=, 12($3), $pop2 - i32.load $push3=, 0($2) - i32.store $drop=, 0($3), $pop3 - i32.const $push17=, .L.str - i32.call $drop=, sprintf@FUNCTION, $0, $pop17, $3 - i32.call $push4=, strlen@FUNCTION, $0 - i32.add $0=, $0, $pop4 - i32.const $push16=, 1 - i32.add $1=, $1, $pop16 + i32.load $push19=, 12($3) + tee_local $push18=, $2=, $pop19 + i32.const $push17=, 4 + i32.add $push1=, $pop18, $pop17 + i32.store $drop=, 12($3), $pop1 + i32.load $push2=, 0($2) + i32.store $drop=, 0($3), $pop2 + i32.const $push16=, .L.str + i32.call $drop=, sprintf@FUNCTION, $0, $pop16, $3 + i32.call $push3=, strlen@FUNCTION, $0 + i32.add $0=, $0, $pop3 + i32.const $push15=, 1 + i32.add $1=, $1, $pop15 br 1 # 1: up to label0 .LBB0_3: # %for.cond # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.eqz $push26=, $2 - br_if 1, $pop26 # 1: down to label1 + i32.eqz $push25=, $2 + br_if 1, $pop25 # 1: down to label1 # BB#4: # %if.else # in Loop: Header=BB0_1 Depth=1 i32.store8 $drop=, 0($0), $2 - i32.const $push25=, 1 - i32.add $push0=, $0, $pop25 - copy_local $0=, $pop0 i32.const $push24=, 1 - i32.add $1=, $1, $pop24 + i32.add $0=, $0, $pop24 + i32.const $push23=, 1 + i32.add $1=, $1, $pop23 br 0 # 0: up to label0 .LBB0_5: # %for.end end_loop # label1: - i32.const $push5=, 0 - i32.store8 $drop=, 0($0), $pop5 - i32.const $push12=, __stack_pointer - i32.const $push10=, 16 - i32.add $push11=, $3, $pop10 - i32.store $drop=, 0($pop12), $pop11 - return $0 + i32.const $push4=, 0 + i32.store8 $drop=, 0($0), $pop4 + i32.const $push11=, 0 + i32.const $push9=, 16 + i32.add $push10=, $3, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 + copy_local $push26=, $0 + # fallthrough-return: $pop26 .endfunc .Lfunc_end0: .size first, .Lfunc_end0-first @@ -78,62 +78,62 @@ second: # @second .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) - i32.const $push8=, 16 - i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 - tee_local $push14=, $3=, $pop15 - i32.store $drop=, 12($pop14), $2 + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) + i32.const $push7=, 16 + i32.sub $push12=, $pop6, $pop7 + i32.store $push14=, __stack_pointer($pop8), $pop12 + tee_local $push13=, $3=, $pop14 + i32.store $drop=, 12($pop13), $2 .LBB1_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label3: block - i32.load8_u $push23=, 0($1) - tee_local $push22=, $2=, $pop23 - i32.const $push21=, 105 - i32.ne $push1=, $pop22, $pop21 - br_if 0, $pop1 # 0: down to label5 + i32.load8_u $push22=, 0($1) + tee_local $push21=, $2=, $pop22 + i32.const $push20=, 105 + i32.ne $push0=, $pop21, $pop20 + br_if 0, $pop0 # 0: down to label5 # BB#2: # %if.then # in Loop: Header=BB1_1 Depth=1 - i32.load $push20=, 12($3) - tee_local $push19=, $2=, $pop20 - i32.const $push18=, 4 - i32.add $push2=, $pop19, $pop18 - i32.store $drop=, 12($3), $pop2 - i32.load $push3=, 0($2) - i32.store $drop=, 0($3), $pop3 - i32.const $push17=, .L.str - i32.call $drop=, sprintf@FUNCTION, $0, $pop17, $3 - i32.call $push4=, strlen@FUNCTION, $0 - i32.add $0=, $0, $pop4 - i32.const $push16=, 1 - i32.add $1=, $1, $pop16 + i32.load $push19=, 12($3) + tee_local $push18=, $2=, $pop19 + i32.const $push17=, 4 + i32.add $push1=, $pop18, $pop17 + i32.store $drop=, 12($3), $pop1 + i32.load $push2=, 0($2) + i32.store $drop=, 0($3), $pop2 + i32.const $push16=, .L.str + i32.call $drop=, sprintf@FUNCTION, $0, $pop16, $3 + i32.call $push3=, strlen@FUNCTION, $0 + i32.add $0=, $0, $pop3 + i32.const $push15=, 1 + i32.add $1=, $1, $pop15 br 1 # 1: up to label3 .LBB1_3: # %for.cond # in Loop: Header=BB1_1 Depth=1 end_block # label5: - i32.eqz $push26=, $2 - br_if 1, $pop26 # 1: down to label4 + i32.eqz $push25=, $2 + br_if 1, $pop25 # 1: down to label4 # BB#4: # %if.else # in Loop: Header=BB1_1 Depth=1 i32.store8 $drop=, 0($0), $2 - i32.const $push25=, 1 - i32.add $push0=, $0, $pop25 - copy_local $0=, $pop0 i32.const $push24=, 1 - i32.add $1=, $1, $pop24 + i32.add $0=, $0, $pop24 + i32.const $push23=, 1 + i32.add $1=, $1, $pop23 br 0 # 0: up to label3 .LBB1_5: # %for.end end_loop # label4: - i32.const $push5=, 0 - i32.store8 $drop=, 0($0), $pop5 - i32.const $push12=, __stack_pointer - i32.const $push10=, 16 - i32.add $push11=, $3, $pop10 - i32.store $drop=, 0($pop12), $pop11 - return $0 + i32.const $push4=, 0 + i32.store8 $drop=, 0($0), $pop4 + i32.const $push11=, 0 + i32.const $push9=, 16 + i32.add $push10=, $3, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 + copy_local $push26=, $0 + # fallthrough-return: $pop26 .endfunc .Lfunc_end1: .size second, .Lfunc_end1-second @@ -146,12 +146,12 @@ main: # @main .result i32 .local i64, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 256 i32.sub $push19=, $pop6, $pop7 - i32.store $push23=, 0($pop8), $pop19 + i32.store $push23=, __stack_pointer($pop8), $pop19 tee_local $push22=, $1=, $pop23 i64.const $push0=, 85899345925 i64.store $0=, 16($pop22), $pop0 diff --git a/test/torture-s/920730-1.c.s b/test/torture-s/920730-1.c.s index 09126fa14..05e832e23 100644 --- a/test/torture-s/920730-1.c.s +++ b/test/torture-s/920730-1.c.s @@ -8,7 +8,7 @@ f1: # @f1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -21,7 +21,7 @@ f2: # @f2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -34,7 +34,7 @@ f3: # @f3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -47,7 +47,7 @@ f4: # @f4 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 diff --git a/test/torture-s/920731-1.c.s b/test/torture-s/920731-1.c.s index c3ae457fb..a44f93117 100644 --- a/test/torture-s/920731-1.c.s +++ b/test/torture-s/920731-1.c.s @@ -19,23 +19,26 @@ f: # @f .LBB0_2: # %for.inc # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push5=, 1 - i32.add $1=, $1, $pop5 + i32.const $push7=, 1 + i32.add $push6=, $1, $pop7 + tee_local $push5=, $1=, $pop6 i32.const $push4=, 7 - i32.gt_s $push2=, $1, $pop4 + i32.gt_s $push2=, $pop5, $pop4 br_if 1, $pop2 # 1: down to label2 # BB#3: # %for.inc # in Loop: Header=BB0_2 Depth=1 - i32.const $push7=, 1 - i32.shr_s $0=, $0, $pop7 - i32.const $push6=, 1 - i32.and $push1=, $0, $pop6 - i32.eqz $push8=, $pop1 - br_if 0, $pop8 # 0: up to label1 + i32.const $push11=, 1 + i32.shr_s $push10=, $0, $pop11 + tee_local $push9=, $0=, $pop10 + i32.const $push8=, 1 + i32.and $push1=, $pop9, $pop8 + i32.eqz $push12=, $pop1 + br_if 0, $pop12 # 0: up to label1 .LBB0_4: # %for.end end_loop # label2: end_block # label0: - return $1 + copy_local $push13=, $1 + # fallthrough-return: $pop13 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920810-1.c.s b/test/torture-s/920810-1.c.s index df5c06469..e561a7171 100644 --- a/test/torture-s/920810-1.c.s +++ b/test/torture-s/920810-1.c.s @@ -13,11 +13,12 @@ f: # @f i32.load $push1=, 8($0) i32.call $push4=, memcpy@FUNCTION, $pop0, $0, $pop1 tee_local $push3=, $2=, $pop4 - i32.store $drop=, 0($pop3), $0 i32.const $push2=, 0 - i32.store $drop=, 4($2), $pop2 + i32.store $drop=, 4($pop3), $pop2 + i32.store $drop=, 0($2), $0 i32.store $drop=, 8($2), $1 - return $2 + copy_local $push5=, $2 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920812-1.c.s b/test/torture-s/920812-1.c.s index 784b14e0c..bc1d1c60f 100644 --- a/test/torture-s/920812-1.c.s +++ b/test/torture-s/920812-1.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry i32.const $push0=, 1 i32.eq $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920908-1.c.s b/test/torture-s/920908-1.c.s index c0abce411..45d38966a 100644 --- a/test/torture-s/920908-1.c.s +++ b/test/torture-s/920908-1.c.s @@ -9,17 +9,18 @@ f: # @f .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 16 i32.sub $push16=, $pop10, $pop11 - i32.store $3=, 0($pop12), $pop16 + i32.store $push20=, __stack_pointer($pop12), $pop16 + tee_local $push19=, $3=, $pop20 i32.store $push18=, 12($3), $1 tee_local $push17=, $1=, $pop18 i32.const $push0=, 4 i32.add $push1=, $pop17, $pop0 - i32.store $2=, 12($3), $pop1 + i32.store $2=, 12($pop19), $pop1 block i32.load $push2=, 0($1) i32.const $push3=, 10 @@ -30,16 +31,16 @@ f: # @f i32.add $push6=, $1, $pop5 i32.store $drop=, 12($3), $pop6 i32.load $push7=, 0($2) - i32.const $push19=, 20 - i32.ne $push8=, $pop7, $pop19 + i32.const $push21=, 20 + i32.ne $push8=, $pop7, $pop21 br_if 0, $pop8 # 0: down to label0 # BB#2: # %if.end7 - i32.const $push15=, __stack_pointer + i32.const $push15=, 0 i32.const $push13=, 16 i32.add $push14=, $3, $pop13 - i32.store $drop=, 0($pop15), $pop14 - i32.const $push20=, 20 - return $pop20 + i32.store $drop=, __stack_pointer($pop15), $pop14 + i32.const $push22=, 20 + return $pop22 .LBB0_3: # %if.then6 end_block # label0: call abort@FUNCTION @@ -56,12 +57,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 - i32.store $push8=, 0($pop5), $pop6 + i32.store $push8=, __stack_pointer($pop5), $pop6 tee_local $push7=, $0=, $pop8 i64.const $push0=, 85899345930 i64.store $drop=, 0($pop7), $pop0 diff --git a/test/torture-s/920908-2.c.s b/test/torture-s/920908-2.c.s index 3afc4b58d..5e9193e1f 100644 --- a/test/torture-s/920908-2.c.s +++ b/test/torture-s/920908-2.c.s @@ -13,7 +13,7 @@ f: # @f i32.shl $push2=, $pop0, $pop1 i32.const $push3=, 24 i32.shr_s $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920909-1.c.s b/test/torture-s/920909-1.c.s index afdb77dba..409a254c8 100644 --- a/test/torture-s/920909-1.c.s +++ b/test/torture-s/920909-1.c.s @@ -23,7 +23,7 @@ f: # @f .LBB0_2: # %return end_block # label0: i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920922-1.c.s b/test/torture-s/920922-1.c.s index ce1aa08ed..40694de58 100644 --- a/test/torture-s/920922-1.c.s +++ b/test/torture-s/920922-1.c.s @@ -16,7 +16,7 @@ f: # @f i32.add $push5=, $0, $pop4 i32.const $push6=, 4 i32.add $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/920929-1.c.s b/test/torture-s/920929-1.c.s index bf8d19d7e..17857250f 100644 --- a/test/torture-s/920929-1.c.s +++ b/test/torture-s/920929-1.c.s @@ -9,7 +9,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/921013-1.c.s b/test/torture-s/921013-1.c.s index 42170192b..106810e54 100644 --- a/test/torture-s/921013-1.c.s +++ b/test/torture-s/921013-1.c.s @@ -9,32 +9,31 @@ f: # @f .result i32 # BB#0: # %entry block - i32.eqz $push10=, $3 - br_if 0, $pop10 # 0: down to label0 + i32.eqz $push9=, $3 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %while.body.preheader .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - f32.load $push3=, 0($1) - f32.load $push4=, 0($2) - f32.eq $push5=, $pop3, $pop4 - i32.store $drop=, 0($0), $pop5 - i32.const $push9=, -1 - i32.add $3=, $3, $pop9 + f32.load $push1=, 0($1) + f32.load $push0=, 0($2) + f32.eq $push2=, $pop1, $pop0 + i32.store $drop=, 0($0), $pop2 i32.const $push8=, 4 - i32.add $push1=, $2, $pop8 - copy_local $2=, $pop1 + i32.add $0=, $0, $pop8 i32.const $push7=, 4 - i32.add $push0=, $1, $pop7 - copy_local $1=, $pop0 + i32.add $2=, $2, $pop7 i32.const $push6=, 4 - i32.add $push2=, $0, $pop6 - copy_local $0=, $pop2 - br_if 0, $3 # 0: up to label1 + i32.add $1=, $1, $pop6 + i32.const $push5=, -1 + i32.add $push4=, $3, $pop5 + tee_local $push3=, $3=, $pop4 + br_if 0, $pop3 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return $3 + copy_local $push10=, $0 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/921029-1.c.s b/test/torture-s/921029-1.c.s index 4979b4eef..5f1127dd6 100644 --- a/test/torture-s/921029-1.c.s +++ b/test/torture-s/921029-1.c.s @@ -8,18 +8,18 @@ build: # @build .param i32, i32 .result i64 # BB#0: # %entry - i32.const $push6=, 0 + i32.const $push4=, 0 i32.const $push10=, 0 - i64.extend_u/i32 $push3=, $0 - i64.const $push4=, 32 - i64.shl $push5=, $pop3, $pop4 - i64.store $push0=, hpart($pop10), $pop5 + i64.extend_u/i32 $push3=, $1 + i64.store $push0=, lpart($pop10), $pop3 i32.const $push9=, 0 - i64.extend_u/i32 $push7=, $1 - i64.store $push1=, lpart($pop9), $pop7 + i64.extend_u/i32 $push5=, $0 + i64.const $push6=, 32 + i64.shl $push7=, $pop5, $pop6 + i64.store $push1=, hpart($pop9), $pop7 i64.or $push8=, $pop0, $pop1 - i64.store $push2=, back($pop6), $pop8 - return $pop2 + i64.store $push2=, back($pop4), $pop8 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size build, .Lfunc_end0-build @@ -32,11 +32,11 @@ main: # @main .result i32 # BB#0: # %if.end44 i32.const $push1=, 0 - i64.const $push0=, -4294967296 - i64.store $drop=, hpart($pop1), $pop0 + i64.const $push0=, 4294967294 + i64.store $drop=, lpart($pop1), $pop0 i32.const $push6=, 0 - i64.const $push2=, 4294967294 - i64.store $drop=, lpart($pop6), $pop2 + i64.const $push2=, -4294967296 + i64.store $drop=, hpart($pop6), $pop2 i32.const $push5=, 0 i64.const $push3=, -2 i64.store $drop=, back($pop5), $pop3 diff --git a/test/torture-s/921112-1.c.s b/test/torture-s/921112-1.c.s index 038ea41a9..135877c5e 100644 --- a/test/torture-s/921112-1.c.s +++ b/test/torture-s/921112-1.c.s @@ -10,7 +10,8 @@ f: # @f # BB#0: # %entry i64.load $push0=, 0($1) i64.store $drop=, 8($0), $pop0 - return $1 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -25,8 +26,8 @@ main: # @main i32.const $push3=, 0 i32.const $push7=, 0 i64.const $push2=, 8589934593 - i64.store $push0=, v($pop7), $pop2 - i64.store $drop=, x+8($pop3), $pop0 + i64.store $push0=, x+8($pop7), $pop2 + i64.store $drop=, v($pop3), $pop0 block i32.const $push6=, 0 br_if 0, $pop6 # 0: down to label0 diff --git a/test/torture-s/921113-1.c.s b/test/torture-s/921113-1.c.s index f5ead1d95..78586c655 100644 --- a/test/torture-s/921113-1.c.s +++ b/test/torture-s/921113-1.c.s @@ -9,7 +9,8 @@ w: # @w .result i32 .local i32 # BB#0: # %entry - return $2 + copy_local $push0=, $2 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size w, .Lfunc_end0-w @@ -90,33 +91,34 @@ gitter: # @gitter # BB#2: # %f1.exit f32.load $push5=, 8($4) f32.const $push25=, 0x1p0 - f32.ne $push8=, $pop5, $pop25 - br_if 0, $pop8 # 0: down to label2 + f32.ne $push6=, $pop5, $pop25 + br_if 0, $pop6 # 0: down to label2 # BB#3: # %f1.exit - i32.const $push6=, 12 - i32.add $push7=, $4, $pop6 - f32.load $push4=, 0($pop7) + i32.const $push7=, 12 + i32.add $push8=, $4, $pop7 + f32.load $push4=, 0($pop8) f32.const $push26=, 0x1p0 f32.ne $push9=, $pop4, $pop26 br_if 0, $pop9 # 0: down to label2 # BB#4: # %f2.exit - f32.load $6=, 0($1) i32.const $push10=, 0 i32.store $drop=, 0($3), $pop10 block + f32.load $push28=, 0($1) + tee_local $push27=, $6=, $pop28 f32.const $push11=, 0x0p0 - f32.gt $push12=, $6, $pop11 + f32.gt $push12=, $pop27, $pop11 f32.ne $push13=, $6, $6 i32.or $push14=, $pop12, $pop13 br_if 0, $pop14 # 0: down to label3 # BB#5: # %if.then - f64.promote/f32 $push30=, $6 - tee_local $push29=, $8=, $pop30 + f64.promote/f32 $push32=, $6 + tee_local $push31=, $8=, $pop32 f64.promote/f32 $push15=, $5 f64.const $push16=, 0x1p-1 - f64.mul $push28=, $pop15, $pop16 - tee_local $push27=, $7=, $pop28 - f64.gt $push17=, $pop29, $pop27 + f64.mul $push30=, $pop15, $pop16 + tee_local $push29=, $7=, $pop30 + f64.gt $push17=, $pop31, $pop29 f64.ne $push19=, $8, $8 f64.ne $push18=, $7, $7 i32.or $push20=, $pop19, $pop18 @@ -144,21 +146,21 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push1=, pos - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push2=, pos + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push12=, $pop5, $pop6 - i32.store $push14=, 0($pop7), $pop12 + i32.store $push14=, __stack_pointer($pop7), $pop12 tee_local $push13=, $0=, $pop14 i32.const $push8=, 8 i32.add $push9=, $pop13, $pop8 i32.const $push10=, 12 i32.add $push11=, $0, $pop10 - i32.const $push0=, limit - f32.const $push2=, 0x1p0 - i32.call $drop=, gitter@FUNCTION, $0, $pop1, $pop9, $pop11, $pop0, $pop2 + i32.const $push1=, limit + f32.const $push0=, 0x1p0 + i32.call $drop=, gitter@FUNCTION, $0, $pop2, $pop9, $pop11, $pop1, $pop0 i32.const $push3=, 0 call exit@FUNCTION, $pop3 unreachable diff --git a/test/torture-s/921117-1.c.s b/test/torture-s/921117-1.c.s index de31020fa..28a0a08d3 100644 --- a/test/torture-s/921117-1.c.s +++ b/test/torture-s/921117-1.c.s @@ -20,7 +20,8 @@ check: # @check i32.call $1=, strcmp@FUNCTION, $0, $pop3 .LBB0_2: # %return end_block # label0: - return $1 + copy_local $push4=, $1 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size check, .Lfunc_end0-check @@ -37,24 +38,24 @@ main: # @main i32.store $drop=, cell+12($pop16), $pop0 i32.const $push15=, 0 i32.const $push14=, 0 - i32.load8_u $push2=, .L.str+10($pop14) - i32.store8 $drop=, cell+10($pop15), $pop2 + i32.load8_u $push1=, .L.str+10($pop14) + i32.store8 $drop=, cell+10($pop15), $pop1 i32.const $push13=, 0 i32.const $push12=, 0 - i32.load16_u $push3=, .L.str+8($pop12):p2align=0 - i32.store16 $drop=, cell+8($pop13), $pop3 + i32.load16_u $push2=, .L.str+8($pop12):p2align=0 + i32.store16 $drop=, cell+8($pop13), $pop2 i32.const $push11=, 0 i32.const $push10=, 0 - i32.load $push4=, .L.str+4($pop10):p2align=0 - i32.store $drop=, cell+4($pop11), $pop4 + i32.load $push3=, .L.str+4($pop10):p2align=0 + i32.store $drop=, cell+4($pop11), $pop3 i32.const $push9=, 0 i32.const $push8=, 0 - i32.load $push5=, .L.str($pop8):p2align=0 - i32.store $drop=, cell($pop9), $pop5 + i32.load $push4=, .L.str($pop8):p2align=0 + i32.store $drop=, cell($pop9), $pop4 block - i32.const $push1=, cell - i32.const $push6=, .L.str - i32.call $push7=, strcmp@FUNCTION, $pop1, $pop6 + i32.const $push6=, cell + i32.const $push5=, .L.str + i32.call $push7=, strcmp@FUNCTION, $pop6, $pop5 br_if 0, $pop7 # 0: down to label1 # BB#1: # %if.end i32.const $push17=, 0 diff --git a/test/torture-s/921123-1.c.s b/test/torture-s/921123-1.c.s index f9c6e0e70..e34deb012 100644 --- a/test/torture-s/921123-1.c.s +++ b/test/torture-s/921123-1.c.s @@ -15,7 +15,7 @@ f: # @f i32.and $push4=, $pop2, $pop3 i32.const $push5=, 15 i32.shr_u $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/921123-2.c.s b/test/torture-s/921123-2.c.s index d68561086..24db85179 100644 --- a/test/torture-s/921123-2.c.s +++ b/test/torture-s/921123-2.c.s @@ -6,15 +6,14 @@ .type f,@function f: # @f .param i32 - .local i32 # BB#0: # %entry - i32.load16_u $1=, 6($0) i32.const $push1=, 0 i32.load16_u $push0=, 4($0) i32.store $drop=, b($pop1), $pop0 - i32.const $push2=, 0 - i32.store $drop=, a($pop2), $1 - return + i32.const $push3=, 0 + i32.load16_u $push2=, 6($0) + i32.store $drop=, a($pop3), $pop2 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -26,9 +25,9 @@ f: # @f main: # @main .result i32 # BB#0: # %if.end - i32.const $push1=, 0 - i32.const $push2=, 38 - i32.store $drop=, a($pop1), $pop2 + i32.const $push2=, 0 + i32.const $push1=, 38 + i32.store $drop=, a($pop2), $pop1 i32.const $push4=, 0 i32.const $push3=, 0 i32.store $push0=, b($pop4), $pop3 diff --git a/test/torture-s/921124-1.c.s b/test/torture-s/921124-1.c.s index 48b520bf9..5f31c109b 100644 --- a/test/torture-s/921124-1.c.s +++ b/test/torture-s/921124-1.c.s @@ -8,7 +8,8 @@ f: # @f .param i32, f64, f64, f64 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/921202-1.c.s b/test/torture-s/921202-1.c.s index f3a4f0ee5..4c12d9144 100644 --- a/test/torture-s/921202-1.c.s +++ b/test/torture-s/921202-1.c.s @@ -21,7 +21,8 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -34,7 +35,8 @@ mpn_mul_1: # @mpn_mul_1 .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size mpn_mul_1, .Lfunc_end2-mpn_mul_1 @@ -47,7 +49,8 @@ mpn_print: # @mpn_print .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size mpn_print, .Lfunc_end3-mpn_print @@ -60,7 +63,8 @@ mpn_random2: # @mpn_random2 .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size mpn_random2, .Lfunc_end4-mpn_random2 @@ -73,7 +77,8 @@ mpn_cmp: # @mpn_cmp .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size mpn_cmp, .Lfunc_end5-mpn_cmp diff --git a/test/torture-s/921202-2.c.s b/test/torture-s/921202-2.c.s index eaf2e7212..b9cc47b08 100644 --- a/test/torture-s/921202-2.c.s +++ b/test/torture-s/921202-2.c.s @@ -13,7 +13,7 @@ f: # @f i32.shr_u $push2=, $pop0, $pop1 i32.const $push3=, 255 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/921204-1.c.s b/test/torture-s/921204-1.c.s index c1a2614b9..d91706f61 100644 --- a/test/torture-s/921204-1.c.s +++ b/test/torture-s/921204-1.c.s @@ -9,15 +9,15 @@ f: # @f # BB#0: # %entry i32.load $push8=, 0($1) tee_local $push7=, $1=, $pop8 - i32.const $push2=, 1310720 - i32.or $push3=, $pop7, $pop2 - i32.const $push4=, -1310721 - i32.and $push5=, $1, $pop4 + i32.const $push4=, 1310720 + i32.or $push5=, $pop7, $pop4 + i32.const $push2=, -1310721 + i32.and $push3=, $1, $pop2 i32.const $push0=, 1 i32.and $push1=, $1, $pop0 - i32.select $push6=, $pop3, $pop5, $pop1 + i32.select $push6=, $pop5, $pop3, $pop1 i32.store $drop=, 0($0), $pop6 - return + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/921207-1.c.s b/test/torture-s/921207-1.c.s index 1ed8291c8..8393ec07a 100644 --- a/test/torture-s/921207-1.c.s +++ b/test/torture-s/921207-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/921208-1.c.s b/test/torture-s/921208-1.c.s index 16f293a50..f3b9e9dae 100644 --- a/test/torture-s/921208-1.c.s +++ b/test/torture-s/921208-1.c.s @@ -9,7 +9,7 @@ f: # @f .result f64 # BB#0: # %entry f64.mul $push0=, $0, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -23,7 +23,7 @@ Int: # @Int .result f64 # BB#0: # %entry f64.call_indirect $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size Int, .Lfunc_end1-Int diff --git a/test/torture-s/921208-2.c.s b/test/torture-s/921208-2.c.s index 99c5d4504..88c5902c1 100644 --- a/test/torture-s/921208-2.c.s +++ b/test/torture-s/921208-2.c.s @@ -8,7 +8,8 @@ g: # @g .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -21,7 +22,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/921218-1.c.s b/test/torture-s/921218-1.c.s index d2a79ae9b..59330ba96 100644 --- a/test/torture-s/921218-1.c.s +++ b/test/torture-s/921218-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 255 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/921218-2.c.s b/test/torture-s/921218-2.c.s index ded46ed79..0142df1dd 100644 --- a/test/torture-s/921218-2.c.s +++ b/test/torture-s/921218-2.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 65535 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930106-1.c.s b/test/torture-s/930106-1.c.s index 0296a8aa0..94f352cc3 100644 --- a/test/torture-s/930106-1.c.s +++ b/test/torture-s/930106-1.c.s @@ -8,7 +8,7 @@ g: # @g .result f64 # BB#0: # %entry f64.const $push0=, 0x1p0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -21,7 +21,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 3 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/930111-1.c.s b/test/torture-s/930111-1.c.s index 4528ddf09..00cff71b1 100644 --- a/test/torture-s/930111-1.c.s +++ b/test/torture-s/930111-1.c.s @@ -41,7 +41,8 @@ wwrite: # @wwrite i32.const $1=, 123 .LBB1_3: # %return end_block # label0: - return $1 + copy_local $push6=, $1 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size wwrite, .Lfunc_end1-wwrite diff --git a/test/torture-s/930123-1.c.s b/test/torture-s/930123-1.c.s index 559f9d9fe..fb9940f49 100644 --- a/test/torture-s/930123-1.c.s +++ b/test/torture-s/930123-1.c.s @@ -10,7 +10,8 @@ f: # @f # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, 0($0), $pop0 - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930126-1.c.s b/test/torture-s/930126-1.c.s index b8207eb91..3fd0dbc63 100644 --- a/test/torture-s/930126-1.c.s +++ b/test/torture-s/930126-1.c.s @@ -6,17 +6,16 @@ .type f,@function f: # @f .param i32, i32 - .local i64 # BB#0: # %entry - i64.load8_u $2=, 0($1) - i32.const $push2=, 4 - i32.add $push3=, $0, $pop2 - i64.const $push4=, 205 - i64.store8 $drop=, 0($pop3), $pop4 - i64.const $push0=, 4010947584 - i64.or $push1=, $2, $pop0 - i64.store32 $drop=, 0($0), $pop1 - return + i32.const $push0=, 4 + i32.add $push1=, $0, $pop0 + i64.const $push2=, 205 + i64.store8 $drop=, 0($pop1), $pop2 + i64.load8_u $push3=, 0($1) + i64.const $push4=, 4010947584 + i64.or $push5=, $pop3, $pop4 + i64.store32 $drop=, 0($0), $pop5 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930208-1.c.s b/test/torture-s/930208-1.c.s index a5356669e..0e26d9f9c 100644 --- a/test/torture-s/930208-1.c.s +++ b/test/torture-s/930208-1.c.s @@ -7,24 +7,23 @@ f: # @f .param i32 .result i32 - .local i32 # BB#0: # %entry - i32.load16_u $1=, 0($0) i32.load8_u $push0=, 3($0) i32.const $push1=, 1 i32.add $push2=, $pop0, $pop1 i32.store8 $drop=, 3($0), $pop2 - i32.load $push3=, 0($0) - i32.const $push8=, 16711680 - i32.and $push9=, $pop3, $pop8 - i32.const $push10=, 131072 - i32.ne $push11=, $pop9, $pop10 + i32.load $push8=, 0($0) + i32.const $push9=, 16711680 + i32.and $push10=, $pop8, $pop9 + i32.const $push11=, 131072 + i32.ne $push12=, $pop10, $pop11 + i32.load16_u $push3=, 0($0) i32.const $push4=, 65280 - i32.and $push5=, $1, $pop4 + i32.and $push5=, $pop3, $pop4 i32.const $push6=, 512 i32.ne $push7=, $pop5, $pop6 - i32.or $push12=, $pop11, $pop7 - return $pop12 + i32.or $push13=, $pop12, $pop7 + # fallthrough-return: $pop13 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930429-1.c.s b/test/torture-s/930429-1.c.s index c4f2dc871..0ebaf12d8 100644 --- a/test/torture-s/930429-1.c.s +++ b/test/torture-s/930429-1.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry i32.const $push0=, 1 i32.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930429-2.c.s b/test/torture-s/930429-2.c.s index df9279fc5..e0ab84f07 100644 --- a/test/torture-s/930429-2.c.s +++ b/test/torture-s/930429-2.c.s @@ -12,7 +12,7 @@ f: # @f i32.shr_s $push1=, $0, $pop0 i32.const $push2=, 0 i32.gt_s $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930513-1.c.s b/test/torture-s/930513-1.c.s index 097ec36ab..1ae7904f2 100644 --- a/test/torture-s/930513-1.c.s +++ b/test/torture-s/930513-1.c.s @@ -9,23 +9,24 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push10=, $pop4, $pop5 - i32.store $push12=, 0($pop6), $pop10 + i32.store $push12=, __stack_pointer($pop6), $pop10 tee_local $push11=, $1=, $pop12 i64.const $push0=, 4617315517961601024 i64.store $drop=, 0($pop11), $pop0 i32.const $push2=, buf i32.const $push1=, .L.str i32.call_indirect $drop=, $0, $pop2, $pop1, $1 - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 16 i32.add $push8=, $1, $pop7 - i32.store $drop=, 0($pop9), $pop8 - return $1 + i32.store $drop=, __stack_pointer($pop9), $pop8 + copy_local $push13=, $1 + # fallthrough-return: $pop13 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -38,12 +39,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 16 i32.sub $push14=, $pop11, $pop12 - i32.store $push17=, 0($pop13), $pop14 + i32.store $push17=, __stack_pointer($pop13), $pop14 tee_local $push16=, $0=, $pop17 i64.const $push1=, 4617315517961601024 i64.store $drop=, 0($pop16), $pop1 diff --git a/test/torture-s/930513-2.c.s b/test/torture-s/930513-2.c.s index 670372eb0..1bcfadb3e 100644 --- a/test/torture-s/930513-2.c.s +++ b/test/torture-s/930513-2.c.s @@ -9,7 +9,8 @@ sub3: # @sub3 .result i32 .local i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size sub3, .Lfunc_end0-sub3 diff --git a/test/torture-s/930518-1.c.s b/test/torture-s/930518-1.c.s index b77edd303..f8997ee48 100644 --- a/test/torture-s/930518-1.c.s +++ b/test/torture-s/930518-1.c.s @@ -10,32 +10,33 @@ f: # @f .local i32, i32, i32 # BB#0: # %entry block - i32.const $push7=, 0 - i32.load $push6=, bar($pop7) - tee_local $push5=, $3=, $pop6 - i32.const $push2=, 1 - i32.gt_s $push3=, $pop5, $pop2 - br_if 0, $pop3 # 0: down to label0 + i32.const $push6=, 0 + i32.load $push5=, bar($pop6) + tee_local $push4=, $2=, $pop5 + i32.const $push1=, 1 + i32.gt_s $push2=, $pop4, $pop1 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %while.body.preheader - i32.const $2=, 2 + i32.const $3=, 2 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.sub $2=, $2, $3 - i32.store $1=, 0($0), $2 - i32.const $3=, 1 - i32.const $push10=, 4 - i32.add $push1=, $0, $pop10 - copy_local $0=, $pop1 - i32.const $push9=, 0 - i32.const $push8=, 1 - i32.store $push0=, bar($pop9), $pop8 - i32.gt_s $push4=, $1, $pop0 - br_if 0, $pop4 # 0: up to label1 + i32.sub $push11=, $3, $2 + tee_local $push10=, $3=, $pop11 + i32.store $1=, 0($0), $pop10 + i32.const $2=, 1 + i32.const $push9=, 4 + i32.add $0=, $0, $pop9 + i32.const $push8=, 0 + i32.const $push7=, 1 + i32.store $push0=, bar($pop8), $pop7 + i32.gt_s $push3=, $1, $pop0 + br_if 0, $pop3 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return $0 + copy_local $push12=, $0 + # fallthrough-return: $pop12 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -48,20 +49,22 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) i32.const $push17=, 16 i32.sub $push21=, $pop16, $pop17 - i32.store $1=, 0($pop18), $pop21 - i32.const $push22=, 0 - i32.load $2=, bar($pop22) - i64.const $push2=, 0 - i64.store $drop=, 8($1):p2align=2, $pop2 + i32.store $push25=, __stack_pointer($pop18), $pop21 + tee_local $push24=, $1=, $pop25 + i64.const $push0=, 0 + i64.store $drop=, 8($pop24):p2align=2, $pop0 block - i32.const $push3=, 1 - i32.gt_s $push4=, $2, $pop3 - br_if 0, $pop4 # 0: down to label3 + i32.const $push1=, 0 + i32.load $push23=, bar($pop1) + tee_local $push22=, $2=, $pop23 + i32.const $push2=, 1 + i32.gt_s $push3=, $pop22, $pop2 + br_if 0, $pop3 # 0: down to label3 # BB#1: # %while.body.i.preheader i32.const $3=, 2 i32.const $push19=, 8 @@ -70,29 +73,29 @@ main: # @main .LBB1_2: # %while.body.i # =>This Inner Loop Header: Depth=1 loop # label4: - i32.sub $3=, $3, $2 - i32.store $0=, 0($4), $3 + i32.sub $push29=, $3, $2 + tee_local $push28=, $3=, $pop29 + i32.store $0=, 0($4), $pop28 + i32.const $push27=, 4 + i32.add $4=, $4, $pop27 i32.const $2=, 1 - i32.const $push25=, 4 - i32.add $push1=, $4, $pop25 - copy_local $4=, $pop1 - i32.const $push24=, 0 - i32.const $push23=, 1 - i32.store $push0=, bar($pop24), $pop23 - i32.gt_s $push5=, $0, $pop0 - br_if 0, $pop5 # 0: up to label4 + i32.const $push26=, 1 + i32.gt_s $push4=, $0, $pop26 + br_if 0, $pop4 # 0: up to label4 # BB#3: # %f.exit end_loop # label5: - i32.load $push7=, 8($1) - i32.const $push10=, 2 - i32.ne $push11=, $pop7, $pop10 - br_if 0, $pop11 # 0: down to label3 + i32.const $push7=, 0 + i32.const $push6=, 1 + i32.store $4=, bar($pop7), $pop6 + i32.load $push9=, 8($1) + i32.const $push8=, 2 + i32.ne $push10=, $pop9, $pop8 + br_if 0, $pop10 # 0: down to label3 # BB#4: # %f.exit - i32.const $push8=, 12 - i32.add $push9=, $1, $pop8 - i32.load $push6=, 0($pop9) - i32.const $push12=, 1 - i32.ne $push13=, $pop6, $pop12 + i32.const $push11=, 12 + i32.add $push12=, $1, $pop11 + i32.load $push5=, 0($pop12) + i32.ne $push13=, $pop5, $4 br_if 0, $pop13 # 0: down to label3 # BB#5: # %if.end i32.const $push14=, 0 diff --git a/test/torture-s/930526-1.c.s b/test/torture-s/930526-1.c.s index 4805ce86d..1495c287b 100644 --- a/test/torture-s/930526-1.c.s +++ b/test/torture-s/930526-1.c.s @@ -9,7 +9,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930527-1.c.s b/test/torture-s/930527-1.c.s index 14ecc75ff..59470ad66 100644 --- a/test/torture-s/930527-1.c.s +++ b/test/torture-s/930527-1.c.s @@ -12,7 +12,7 @@ f: # @f i32.shr_u $push1=, $0, $pop0 i32.const $push2=, 175 i32.xor $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930529-1.c.s b/test/torture-s/930529-1.c.s index 05ba7a186..1f6a0796d 100644 --- a/test/torture-s/930529-1.c.s +++ b/test/torture-s/930529-1.c.s @@ -9,7 +9,7 @@ dd: # @dd .result i32 # BB#0: # %entry i32.div_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size dd, .Lfunc_end0-dd diff --git a/test/torture-s/930603-1.c.s b/test/torture-s/930603-1.c.s index ba92619d5..082f90858 100644 --- a/test/torture-s/930603-1.c.s +++ b/test/torture-s/930603-1.c.s @@ -17,7 +17,7 @@ fx: # @fx f64.const $push6=, 0x1p0 f64.add $push7=, $pop5, $pop6 f32.demote/f64 $push8=, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size fx, .Lfunc_end0-fx @@ -44,7 +44,7 @@ inita: # @inita .result f32 # BB#0: # %entry f32.const $push0=, 0x1.8p1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size inita, .Lfunc_end2-inita @@ -57,7 +57,7 @@ initc: # @initc .result f32 # BB#0: # %entry f32.const $push0=, 0x1p2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size initc, .Lfunc_end3-initc @@ -70,7 +70,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size f, .Lfunc_end4-f diff --git a/test/torture-s/930603-2.c.s b/test/torture-s/930603-2.c.s index f06e8cdae..6950befe5 100644 --- a/test/torture-s/930603-2.c.s +++ b/test/torture-s/930603-2.c.s @@ -8,12 +8,13 @@ f: # @f .result i32 .local i32 # BB#0: # %for.inc.1.1 - i32.const $push1=, 0 + i32.const $push2=, 0 i32.const $push3=, 0 - i32.const $push2=, 1 - i32.store $push0=, w($pop3), $pop2 - i32.store $drop=, w+12($pop1), $pop0 - return $0 + i32.const $push1=, 1 + i32.store $push0=, w+12($pop3), $pop1 + i32.store $drop=, w($pop2), $pop0 + copy_local $push4=, $0 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -24,23 +25,22 @@ f: # @f .type main,@function main: # @main .result i32 - .local i32, i32 # BB#0: # %entry - i32.const $push6=, 0 - i32.load $0=, w+8($pop6) - i32.const $push5=, 0 - i32.load $1=, w+4($pop5) - i32.const $push4=, 0 - i32.const $push3=, 0 + i32.const $push8=, 0 + i32.const $push7=, 0 i32.const $push1=, 1 - i32.store $push0=, w($pop3), $pop1 - i32.store $drop=, w+12($pop4), $pop0 + i32.store $push0=, w+12($pop7), $pop1 + i32.store $drop=, w($pop8), $pop0 block - i32.or $push2=, $1, $0 - br_if 0, $pop2 # 0: down to label0 + i32.const $push6=, 0 + i32.load $push3=, w+4($pop6) + i32.const $push5=, 0 + i32.load $push2=, w+8($pop5) + i32.or $push4=, $pop3, $pop2 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end - i32.const $push7=, 0 - call exit@FUNCTION, $pop7 + i32.const $push9=, 0 + call exit@FUNCTION, $pop9 unreachable .LBB1_2: # %if.then end_block # label0: diff --git a/test/torture-s/930608-1.c.s b/test/torture-s/930608-1.c.s index bed663b4f..44fbb08f4 100644 --- a/test/torture-s/930608-1.c.s +++ b/test/torture-s/930608-1.c.s @@ -9,7 +9,8 @@ f: # @f .result f64 .local f64 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930614-1.c.s b/test/torture-s/930614-1.c.s index 433a0fa06..ff3592200 100644 --- a/test/torture-s/930614-1.c.s +++ b/test/torture-s/930614-1.c.s @@ -10,7 +10,8 @@ f: # @f # BB#0: # %entry i64.const $push0=, -4616189618054758400 i64.store $drop=, 0($0), $pop0 - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930621-1.c.s b/test/torture-s/930621-1.c.s index b84441e11..c55c3e6fb 100644 --- a/test/torture-s/930621-1.c.s +++ b/test/torture-s/930621-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 20 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930622-1.c.s b/test/torture-s/930622-1.c.s index 44694cf95..fd3457554 100644 --- a/test/torture-s/930622-1.c.s +++ b/test/torture-s/930622-1.c.s @@ -8,7 +8,7 @@ g: # @g .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -22,7 +22,8 @@ h: # @h .result i32 .local i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size h, .Lfunc_end1-h @@ -37,7 +38,7 @@ f: # @f i32.const $push1=, 0 i32.const $push2=, 0 i32.store $push0=, a($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size f, .Lfunc_end2-f diff --git a/test/torture-s/930622-2.c.s b/test/torture-s/930622-2.c.s index d53eb6123..da2f5944a 100644 --- a/test/torture-s/930622-2.c.s +++ b/test/torture-s/930622-2.c.s @@ -8,27 +8,27 @@ ll_to_ld: # @ll_to_ld .param i32, i64 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) - i32.const $push6=, 16 - i32.sub $push11=, $pop5, $pop6 - i32.store $push14=, 0($pop7), $pop11 - tee_local $push13=, $2=, $pop14 - call __floatditf@FUNCTION, $pop13, $1 - i64.load $1=, 0($2) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) + i32.const $push7=, 16 + i32.sub $push12=, $pop6, $pop7 + i32.store $push15=, __stack_pointer($pop8), $pop12 + tee_local $push14=, $2=, $pop15 + call __floatditf@FUNCTION, $pop14, $1 i32.const $push0=, 8 - i32.add $push3=, $0, $pop0 - i32.const $push12=, 8 - i32.add $push1=, $2, $pop12 - i64.load $push2=, 0($pop1) - i64.store $drop=, 0($pop3), $pop2 - i64.store $drop=, 0($0), $1 - i32.const $push10=, __stack_pointer - i32.const $push8=, 16 - i32.add $push9=, $2, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return + i32.add $push1=, $0, $pop0 + i32.const $push13=, 8 + i32.add $push2=, $2, $pop13 + i64.load $push3=, 0($pop2) + i64.store $drop=, 0($pop1), $pop3 + i64.load $push4=, 0($2) + i64.store $drop=, 0($0), $pop4 + i32.const $push11=, 0 + i32.const $push9=, 16 + i32.add $push10=, $2, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 + # fallthrough-return .endfunc .Lfunc_end0: .size ll_to_ld, .Lfunc_end0-ll_to_ld @@ -42,7 +42,7 @@ ld_to_ll: # @ld_to_ll .result i64 # BB#0: # %entry i64.call $push0=, __fixtfdi@FUNCTION, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size ld_to_ll, .Lfunc_end1-ld_to_ll diff --git a/test/torture-s/930628-1.c.s b/test/torture-s/930628-1.c.s index 6f040c36f..cb6eef32e 100644 --- a/test/torture-s/930628-1.c.s +++ b/test/torture-s/930628-1.c.s @@ -36,21 +36,22 @@ main: # @main block loop # label2: block - i32.eqz $push17=, $0 - br_if 0, $pop17 # 0: down to label4 + i32.eqz $push25=, $0 + br_if 0, $pop25 # 0: down to label4 # BB#2: # %for.cond15.preheader # in Loop: Header=BB1_1 Depth=1 - i32.eqz $push18=, $0 - br_if 3, $pop18 # 3: down to label1 + i32.eqz $push26=, $0 + br_if 3, $pop26 # 3: down to label1 .LBB1_3: # %for.inc36.1.1 # in Loop: Header=BB1_1 Depth=1 end_block # label4: - i32.const $push7=, 1 - i32.add $1=, $1, $pop7 - i32.const $push6=, -64 - i32.add $0=, $0, $pop6 + i32.const $push9=, -64 + i32.add $0=, $0, $pop9 + i32.const $push8=, 1 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 i32.const $push5=, 4 - i32.lt_s $push0=, $1, $pop5 + i32.lt_s $push0=, $pop6, $pop5 br_if 0, $pop0 # 0: up to label2 # BB#4: # %for.inc45 end_loop # label3: @@ -60,21 +61,22 @@ main: # @main # =>This Inner Loop Header: Depth=1 loop # label5: block - i32.eqz $push19=, $0 - br_if 0, $pop19 # 0: down to label7 + i32.eqz $push27=, $0 + br_if 0, $pop27 # 0: down to label7 # BB#6: # %for.cond15.preheader.1 # in Loop: Header=BB1_5 Depth=1 - i32.eqz $push20=, $0 - br_if 3, $pop20 # 3: down to label1 + i32.eqz $push28=, $0 + br_if 3, $pop28 # 3: down to label1 .LBB1_7: # %for.inc36.1.1.1 # in Loop: Header=BB1_5 Depth=1 end_block # label7: - i32.const $push10=, 1 - i32.add $1=, $1, $pop10 - i32.const $push9=, -64 - i32.add $0=, $0, $pop9 - i32.const $push8=, 4 - i32.lt_s $push1=, $1, $pop8 + i32.const $push14=, -64 + i32.add $0=, $0, $pop14 + i32.const $push13=, 1 + i32.add $push12=, $1, $pop13 + tee_local $push11=, $1=, $pop12 + i32.const $push10=, 4 + i32.lt_s $push1=, $pop11, $pop10 br_if 0, $pop1 # 0: up to label5 # BB#8: # %for.inc45.1 end_loop # label6: @@ -84,21 +86,22 @@ main: # @main # =>This Inner Loop Header: Depth=1 loop # label8: block - i32.eqz $push21=, $0 - br_if 0, $pop21 # 0: down to label10 + i32.eqz $push29=, $0 + br_if 0, $pop29 # 0: down to label10 # BB#10: # %for.cond15.preheader.2 # in Loop: Header=BB1_9 Depth=1 - i32.eqz $push22=, $0 - br_if 3, $pop22 # 3: down to label1 + i32.eqz $push30=, $0 + br_if 3, $pop30 # 3: down to label1 .LBB1_11: # %for.inc36.1.1.2 # in Loop: Header=BB1_9 Depth=1 end_block # label10: - i32.const $push13=, 1 - i32.add $1=, $1, $pop13 - i32.const $push12=, -64 - i32.add $0=, $0, $pop12 - i32.const $push11=, 4 - i32.lt_s $push2=, $1, $pop11 + i32.const $push19=, -64 + i32.add $0=, $0, $pop19 + i32.const $push18=, 1 + i32.add $push17=, $1, $pop18 + tee_local $push16=, $1=, $pop17 + i32.const $push15=, 4 + i32.lt_s $push2=, $pop16, $pop15 br_if 0, $pop2 # 0: up to label8 # BB#12: # %for.inc45.2 end_loop # label9: @@ -108,21 +111,22 @@ main: # @main # =>This Inner Loop Header: Depth=1 loop # label11: block - i32.eqz $push23=, $0 - br_if 0, $pop23 # 0: down to label13 + i32.eqz $push31=, $0 + br_if 0, $pop31 # 0: down to label13 # BB#14: # %for.cond15.preheader.3 # in Loop: Header=BB1_13 Depth=1 - i32.eqz $push24=, $0 - br_if 3, $pop24 # 3: down to label1 + i32.eqz $push32=, $0 + br_if 3, $pop32 # 3: down to label1 .LBB1_15: # %for.inc36.1.1.3 # in Loop: Header=BB1_13 Depth=1 end_block # label13: - i32.const $push16=, 1 - i32.add $1=, $1, $pop16 - i32.const $push15=, -64 - i32.add $0=, $0, $pop15 - i32.const $push14=, 4 - i32.lt_s $push3=, $1, $pop14 + i32.const $push24=, -64 + i32.add $0=, $0, $pop24 + i32.const $push23=, 1 + i32.add $push22=, $1, $pop23 + tee_local $push21=, $1=, $pop22 + i32.const $push20=, 4 + i32.lt_s $push3=, $pop21, $pop20 br_if 0, $pop3 # 0: up to label11 # BB#16: # %for.inc45.3 end_loop # label12: diff --git a/test/torture-s/930713-1.c.s b/test/torture-s/930713-1.c.s index ae2b957d2..40c1be1e0 100644 --- a/test/torture-s/930713-1.c.s +++ b/test/torture-s/930713-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 17 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930725-1.c.s b/test/torture-s/930725-1.c.s index 161b0ca23..eaff245af 100644 --- a/test/torture-s/930725-1.c.s +++ b/test/torture-s/930725-1.c.s @@ -8,7 +8,7 @@ g: # @g .result i32 # BB#0: # %entry i32.const $push0=, .L.str - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -25,7 +25,7 @@ f: # @f i32.const $push0=, 0 i32.load $push1=, v($pop0) i32.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/930818-1.c.s b/test/torture-s/930818-1.c.s index 3c112154a..33609c0f3 100644 --- a/test/torture-s/930818-1.c.s +++ b/test/torture-s/930818-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/930921-1.c.s b/test/torture-s/930921-1.c.s index dc395b09a..3a7bee9a9 100644 --- a/test/torture-s/930921-1.c.s +++ b/test/torture-s/930921-1.c.s @@ -14,7 +14,7 @@ f: # @f i64.const $push3=, 33 i64.shr_u $push4=, $pop2, $pop3 i32.wrap/i64 $push5=, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -27,27 +27,28 @@ main: # @main .result i32 .local i64, i32 # BB#0: # %entry - i64.const $0=, 0 i32.const $1=, 0 + i64.const $0=, 0 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label1: i64.const $push7=, 33 - i64.shr_u $push0=, $0, $pop7 - i32.wrap/i64 $push1=, $pop0 + i64.shr_u $push1=, $0, $pop7 + i32.wrap/i64 $push2=, $pop1 i32.const $push6=, 3 - i32.div_u $push2=, $1, $pop6 - i32.ne $push3=, $pop1, $pop2 + i32.div_u $push0=, $1, $pop6 + i32.ne $push3=, $pop2, $pop0 br_if 2, $pop3 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 - i32.const $push10=, 1 - i32.add $1=, $1, $pop10 - i64.const $push9=, 2863311531 - i64.add $0=, $0, $pop9 + i64.const $push12=, 2863311531 + i64.add $0=, $0, $pop12 + i32.const $push11=, 1 + i32.add $push10=, $1, $pop11 + tee_local $push9=, $1=, $pop10 i32.const $push8=, 9999 - i32.le_u $push4=, $1, $pop8 + i32.le_u $push4=, $pop9, $pop8 br_if 0, $pop4 # 0: up to label1 # BB#3: # %for.end end_loop # label2: diff --git a/test/torture-s/930929-1.c.s b/test/torture-s/930929-1.c.s index 517b1057b..e2b8cf8da 100644 --- a/test/torture-s/930929-1.c.s +++ b/test/torture-s/930929-1.c.s @@ -12,7 +12,7 @@ sub1: # @sub1 i32.shl $push1=, $0, $pop0 i32.const $push2=, -5 i32.add $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size sub1, .Lfunc_end0-sub1 @@ -29,7 +29,7 @@ sub2: # @sub2 i32.shl $push1=, $0, $pop0 i32.const $push2=, 5 i32.add $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size sub2, .Lfunc_end1-sub2 @@ -43,7 +43,7 @@ sub3: # @sub3 .result i32 # BB#0: # %entry i32.const $push0=, -5 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size sub3, .Lfunc_end2-sub3 @@ -57,7 +57,7 @@ sub4: # @sub4 .result i32 # BB#0: # %entry i32.const $push0=, 5 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size sub4, .Lfunc_end3-sub4 diff --git a/test/torture-s/930930-1.c.s b/test/torture-s/930930-1.c.s index a86676927..18583eb5a 100644 --- a/test/torture-s/930930-1.c.s +++ b/test/torture-s/930930-1.c.s @@ -14,34 +14,36 @@ f: # @f i32.lt_u $push0=, $3, $4 br_if 0, $pop0 # 0: down to label1 # BB#1: # %if.end.preheader - copy_local $5=, $0 + copy_local $6=, $0 .LBB0_2: # %if.end # =>This Inner Loop Header: Depth=1 loop # label2: block i32.load $push6=, 0($3) - tee_local $push5=, $6=, $pop6 + tee_local $push5=, $5=, $pop6 i32.ge_u $push1=, $pop5, $2 br_if 0, $pop1 # 0: down to label4 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 - i32.lt_u $push2=, $6, $1 + i32.lt_u $push2=, $5, $1 br_if 0, $pop2 # 0: down to label4 # BB#4: # %if.then3 # in Loop: Header=BB0_2 Depth=1 - i32.const $push7=, -4 - i32.add $5=, $5, $pop7 - i32.store $drop=, 0($5), $6 + i32.const $push9=, -4 + i32.add $push8=, $6, $pop9 + tee_local $push7=, $6=, $pop8 + i32.store $drop=, 0($pop7), $5 .LBB0_5: # %if.end4 # in Loop: Header=BB0_2 Depth=1 end_block # label4: - i32.const $push8=, -4 - i32.add $3=, $3, $pop8 - i32.ge_u $push3=, $3, $4 + i32.const $push12=, -4 + i32.add $push11=, $3, $pop12 + tee_local $push10=, $3=, $pop11 + i32.ge_u $push3=, $pop10, $4 br_if 0, $pop3 # 0: up to label2 # BB#6: # %out end_loop # label3: - i32.ne $push4=, $5, $0 + i32.ne $push4=, $6, $0 br_if 1, $pop4 # 1: down to label0 .LBB0_7: # %if.end8 end_block # label1: diff --git a/test/torture-s/930930-2.c.s b/test/torture-s/930930-2.c.s index 4e3eb440b..7ca998721 100644 --- a/test/torture-s/930930-2.c.s +++ b/test/torture-s/930930-2.c.s @@ -8,7 +8,7 @@ test_endianness: # @test_endianness .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size test_endianness, .Lfunc_end0-test_endianness @@ -21,17 +21,17 @@ test_endianness_vol: # @test_endianness_vol .result i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push8=, $pop5, $pop6 tee_local $push7=, $0=, $pop8 i64.const $push0=, 4621819117588971520 i64.store $drop=, 8($pop7), $pop0 - i32.load $push1=, 8($0) - i32.const $push2=, 0 - i32.ne $push3=, $pop1, $pop2 - return $pop3 + i32.load $push2=, 8($0) + i32.const $push1=, 0 + i32.ne $push3=, $pop2, $pop1 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size test_endianness_vol, .Lfunc_end1-test_endianness_vol @@ -44,12 +44,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push7=, $pop4, $pop5 - i32.store $push9=, 0($pop6), $pop7 + i32.store $push9=, __stack_pointer($pop6), $pop7 tee_local $push8=, $0=, $pop9 i64.const $push0=, 4621819117588971520 i64.store $drop=, 8($pop8), $pop0 diff --git a/test/torture-s/931004-10.c.s b/test/torture-s/931004-10.c.s index f902eeb66..4deef2ee9 100644 --- a/test/torture-s/931004-10.c.s +++ b/test/torture-s/931004-10.c.s @@ -9,16 +9,17 @@ f: # @f .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) i32.const $push17=, 16 i32.sub $push22=, $pop16, $pop17 - i32.store $2=, 0($pop18), $pop22 + i32.store $push26=, __stack_pointer($pop18), $pop22 + tee_local $push25=, $2=, $pop26 i32.store $push0=, 12($2), $1 i32.const $push24=, 4 i32.add $push2=, $pop0, $pop24 - i32.store $drop=, 12($2), $pop2 + i32.store $drop=, 12($pop25), $pop2 block block block @@ -35,24 +36,24 @@ f: # @f br_if 4, $pop5 # 4: down to label0 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 - i32.const $push26=, 10 - i32.add $push8=, $3, $pop26 - i32.const $push25=, 1 - i32.add $push6=, $1, $pop25 - i32.load8_s $push7=, 0($pop6) - i32.ne $push9=, $pop8, $pop7 + i32.const $push28=, 10 + i32.add $push6=, $3, $pop28 + i32.const $push27=, 1 + i32.add $push7=, $1, $pop27 + i32.load8_s $push8=, 0($pop7) + i32.ne $push9=, $pop6, $pop8 br_if 3, $pop9 # 3: down to label1 # BB#4: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push30=, 8 - i32.add $push10=, $1, $pop30 + i32.const $push32=, 8 + i32.add $push10=, $1, $pop32 i32.store $drop=, 12($2), $pop10 - i32.const $push29=, 4 - i32.add $1=, $1, $pop29 - i32.const $push28=, -9 - i32.add $4=, $3, $pop28 - i32.const $push27=, 1 - i32.add $push1=, $3, $pop27 + i32.const $push31=, 4 + i32.add $1=, $1, $pop31 + i32.const $push30=, -9 + i32.add $4=, $3, $pop30 + i32.const $push29=, 1 + i32.add $push1=, $3, $pop29 copy_local $3=, $pop1 i32.lt_s $push11=, $4, $0 br_if 0, $pop11 # 0: up to label3 @@ -64,10 +65,10 @@ f: # @f i32.ne $push14=, $pop12, $pop13 br_if 1, $pop14 # 1: down to label0 # BB#6: # %if.end16 - i32.const $push21=, __stack_pointer + i32.const $push21=, 0 i32.const $push19=, 16 i32.add $push20=, $2, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.store $drop=, __stack_pointer($pop21), $pop20 return $1 .LBB0_7: # %if.then8 end_block # label1: @@ -89,23 +90,23 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 32 i32.sub $push21=, $pop12, $pop13 - i32.store $push23=, 0($pop14), $pop21 + i32.store $push23=, __stack_pointer($pop14), $pop21 tee_local $push22=, $0=, $pop23 i32.const $push0=, 5130 i32.store16 $drop=, 24($pop22), $pop0 - i32.const $push1=, 11 - i32.store8 $drop=, 26($0), $pop1 - i32.const $push2=, 12 - i32.store8 $drop=, 28($0), $pop2 - i32.const $push3=, 21 - i32.store8 $drop=, 27($0), $pop3 - i32.const $push4=, 22 - i32.store8 $drop=, 29($0), $pop4 + i32.const $push1=, 21 + i32.store8 $drop=, 27($0), $pop1 + i32.const $push2=, 22 + i32.store8 $drop=, 29($0), $pop2 + i32.const $push3=, 11 + i32.store8 $drop=, 26($0), $pop3 + i32.const $push4=, 12 + i32.store8 $drop=, 28($0), $pop4 i32.load16_u $push5=, 24($0) i32.store16 $drop=, 22($0), $pop5 i32.load16_u $push6=, 26($0) diff --git a/test/torture-s/931004-11.c.s b/test/torture-s/931004-11.c.s index cfadc5d1a..dbc26e469 100644 --- a/test/torture-s/931004-11.c.s +++ b/test/torture-s/931004-11.c.s @@ -75,64 +75,64 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push24=, __stack_pointer - i32.const $push21=, __stack_pointer - i32.load $push22=, 0($pop21) + i32.const $push24=, 0 + i32.const $push21=, 0 + i32.load $push22=, __stack_pointer($pop21) i32.const $push23=, 32 i32.sub $push37=, $pop22, $pop23 - i32.store $push43=, 0($pop24), $pop37 - tee_local $push42=, $1=, $pop43 - i32.const $push0=, 5130 - i32.store16 $drop=, 16($pop42), $pop0 + i32.store $push43=, __stack_pointer($pop24), $pop37 + tee_local $push42=, $0=, $pop43 + i32.const $push0=, 30 + i32.store8 $drop=, 18($pop42), $pop0 i32.const $push1=, 11 - i32.store8 $drop=, 19($1), $pop1 + i32.store8 $drop=, 19($0), $pop1 i32.const $push2=, 12 - i32.store8 $drop=, 22($1), $pop2 - i32.const $push3=, 21 - i32.store8 $drop=, 20($1), $pop3 - i32.const $push4=, 22 - i32.store8 $drop=, 23($1), $pop4 - i32.const $push5=, 30 - i32.store8 $drop=, 18($1), $pop5 - i32.const $push6=, 31 - i32.store8 $drop=, 21($1), $pop6 - i32.const $push7=, 24 - i32.add $push41=, $1, $pop7 - tee_local $push40=, $0=, $pop41 - i32.const $push8=, 32 - i32.store8 $drop=, 0($pop40), $pop8 + i32.store8 $drop=, 22($0), $pop2 + i32.const $push3=, 5130 + i32.store16 $drop=, 16($0), $pop3 + i32.const $push4=, 21 + i32.store8 $drop=, 20($0), $pop4 + i32.const $push5=, 22 + i32.store8 $drop=, 23($0), $pop5 i32.const $push25=, 12 - i32.add $push26=, $1, $pop25 - i32.const $push9=, 2 - i32.add $push10=, $pop26, $pop9 - i32.load8_u $push11=, 18($1) - i32.store8 $drop=, 0($pop10), $pop11 + i32.add $push26=, $0, $pop25 + i32.const $push6=, 2 + i32.add $push7=, $pop26, $pop6 + i32.load8_u $push8=, 18($0) + i32.store8 $drop=, 0($pop7), $pop8 + i32.const $push9=, 31 + i32.store8 $drop=, 21($0), $pop9 + i32.const $push10=, 24 + i32.add $push41=, $0, $pop10 + tee_local $push40=, $1=, $pop41 + i32.const $push11=, 32 + i32.store8 $drop=, 0($pop40), $pop11 i32.const $push27=, 8 - i32.add $push28=, $1, $pop27 + i32.add $push28=, $0, $pop27 i32.const $push39=, 2 i32.add $push12=, $pop28, $pop39 - i32.load8_u $push13=, 21($1) + i32.load8_u $push13=, 21($0) i32.store8 $drop=, 0($pop12), $pop13 - i32.load16_u $push14=, 16($1) - i32.store16 $drop=, 12($1), $pop14 - i32.load16_u $push15=, 19($1):p2align=0 - i32.store16 $drop=, 8($1), $pop15 + i32.load16_u $push14=, 16($0) + i32.store16 $drop=, 12($0), $pop14 + i32.load16_u $push15=, 19($0):p2align=0 + i32.store16 $drop=, 8($0), $pop15 i32.const $push29=, 4 - i32.add $push30=, $1, $pop29 + i32.add $push30=, $0, $pop29 i32.const $push38=, 2 i32.add $push16=, $pop30, $pop38 - i32.load8_u $push17=, 0($0) + i32.load8_u $push17=, 0($1) i32.store8 $drop=, 0($pop16), $pop17 - i32.load16_u $push18=, 22($1) - i32.store16 $drop=, 4($1), $pop18 + i32.load16_u $push18=, 22($0) + i32.store16 $drop=, 4($0), $pop18 i32.const $push31=, 12 - i32.add $push32=, $1, $pop31 + i32.add $push32=, $0, $pop31 i32.const $push33=, 8 - i32.add $push34=, $1, $pop33 + i32.add $push34=, $0, $pop33 i32.const $push35=, 4 - i32.add $push36=, $1, $pop35 + i32.add $push36=, $0, $pop35 i32.const $push19=, 123 - i32.call $drop=, f@FUNCTION, $1, $pop32, $pop34, $pop36, $pop19 + i32.call $drop=, f@FUNCTION, $0, $pop32, $pop34, $pop36, $pop19 i32.const $push20=, 0 call exit@FUNCTION, $pop20 unreachable diff --git a/test/torture-s/931004-12.c.s b/test/torture-s/931004-12.c.s index 64e2db537..f6971ab50 100644 --- a/test/torture-s/931004-12.c.s +++ b/test/torture-s/931004-12.c.s @@ -9,17 +9,18 @@ f: # @f .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push22=, __stack_pointer - i32.const $push19=, __stack_pointer - i32.load $push20=, 0($pop19) + i32.const $push22=, 0 + i32.const $push19=, 0 + i32.load $push20=, __stack_pointer($pop19) i32.const $push21=, 16 i32.sub $push26=, $pop20, $pop21 - i32.store $2=, 0($pop22), $pop26 - i32.store $push30=, 12($2), $1 - tee_local $push29=, $3=, $pop30 + i32.store $push32=, __stack_pointer($pop22), $pop26 + tee_local $push31=, $3=, $pop32 + i32.store $push30=, 12($3), $1 + tee_local $push29=, $4=, $pop30 i32.const $push28=, 4 i32.add $push1=, $pop29, $pop28 - i32.store $drop=, 12($2), $pop1 + i32.store $drop=, 12($pop31), $pop1 block block i32.const $push27=, 1 @@ -27,52 +28,53 @@ f: # @f br_if 0, $pop2 # 0: down to label1 # BB#1: # %for.body.preheader i32.const $push3=, 8 - i32.add $3=, $3, $pop3 + i32.add $4=, $4, $pop3 i32.const $1=, 0 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push34=, 10 - i32.add $push7=, $1, $pop34 - copy_local $push33=, $3 - tee_local $push32=, $3=, $pop33 - i32.const $push31=, -8 - i32.add $push4=, $pop32, $pop31 - i32.load8_s $push6=, 0($pop4) - i32.ne $push8=, $pop7, $pop6 - br_if 3, $pop8 # 3: down to label0 + i32.const $push36=, 10 + i32.add $push4=, $1, $pop36 + copy_local $push35=, $4 + tee_local $push34=, $4=, $pop35 + i32.const $push33=, -8 + i32.add $push5=, $pop34, $pop33 + i32.load8_s $push6=, 0($pop5) + i32.ne $push7=, $pop4, $pop6 + br_if 3, $pop7 # 3: down to label0 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 - i32.const $push36=, 20 - i32.add $push11=, $1, $pop36 - i32.const $push35=, -7 - i32.add $push9=, $3, $pop35 - i32.load8_s $push10=, 0($pop9) - i32.ne $push12=, $pop11, $pop10 + i32.const $push38=, 20 + i32.add $push9=, $1, $pop38 + i32.const $push37=, -7 + i32.add $push10=, $4, $pop37 + i32.load8_s $push11=, 0($pop10) + i32.ne $push12=, $pop9, $pop11 br_if 3, $pop12 # 3: down to label0 # BB#4: # %if.end9 # in Loop: Header=BB0_2 Depth=1 - i32.const $push38=, 30 - i32.add $push13=, $1, $pop38 - i32.const $push37=, -6 - i32.add $push5=, $3, $pop37 - i32.load8_s $push0=, 0($pop5) + i32.const $push40=, 30 + i32.add $push13=, $1, $pop40 + i32.const $push39=, -6 + i32.add $push8=, $4, $pop39 + i32.load8_s $push0=, 0($pop8) i32.ne $push14=, $pop13, $pop0 br_if 3, $pop14 # 3: down to label0 # BB#5: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push42=, 1 - i32.add $1=, $1, $pop42 - i32.store $push41=, 12($2), $3 - tee_local $push40=, $4=, $pop41 - i32.const $push39=, 4 - i32.add $3=, $pop40, $pop39 - i32.lt_s $push15=, $1, $0 + i32.store $push46=, 12($3), $4 + tee_local $push45=, $2=, $pop46 + i32.const $push44=, 4 + i32.add $4=, $pop45, $pop44 + i32.const $push43=, 1 + i32.add $push42=, $1, $pop43 + tee_local $push41=, $1=, $pop42 + i32.lt_s $push15=, $pop41, $0 br_if 0, $pop15 # 0: up to label2 # BB#6: end_loop # label3: - i32.const $push43=, -4 - i32.add $1=, $4, $pop43 + i32.const $push47=, -4 + i32.add $1=, $2, $pop47 .LBB0_7: # %for.end end_block # label1: i32.load $push16=, 0($1) @@ -80,10 +82,10 @@ f: # @f i32.ne $push18=, $pop16, $pop17 br_if 0, $pop18 # 0: down to label0 # BB#8: # %if.end22 - i32.const $push25=, __stack_pointer + i32.const $push25=, 0 i32.const $push23=, 16 - i32.add $push24=, $2, $pop23 - i32.store $drop=, 0($pop25), $pop24 + i32.add $push24=, $3, $pop23 + i32.store $drop=, __stack_pointer($pop25), $pop24 return $1 .LBB0_9: # %if.then14 end_block # label0: @@ -101,69 +103,69 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push25=, __stack_pointer - i32.const $push22=, __stack_pointer - i32.load $push23=, 0($pop22) + i32.const $push25=, 0 + i32.const $push22=, 0 + i32.load $push23=, __stack_pointer($pop22) i32.const $push24=, 48 i32.sub $push38=, $pop23, $pop24 - i32.store $push44=, 0($pop25), $pop38 - tee_local $push43=, $1=, $pop44 - i32.const $push0=, 5130 - i32.store16 $drop=, 32($pop43), $pop0 + i32.store $push44=, __stack_pointer($pop25), $pop38 + tee_local $push43=, $0=, $pop44 + i32.const $push0=, 30 + i32.store8 $drop=, 34($pop43), $pop0 i32.const $push1=, 11 - i32.store8 $drop=, 35($1), $pop1 + i32.store8 $drop=, 35($0), $pop1 i32.const $push2=, 12 - i32.store8 $drop=, 38($1), $pop2 - i32.const $push3=, 21 - i32.store8 $drop=, 36($1), $pop3 - i32.const $push4=, 22 - i32.store8 $drop=, 39($1), $pop4 - i32.const $push5=, 30 - i32.store8 $drop=, 34($1), $pop5 - i32.const $push6=, 31 - i32.store8 $drop=, 37($1), $pop6 - i32.const $push7=, 40 - i32.add $push42=, $1, $pop7 - tee_local $push41=, $0=, $pop42 - i32.const $push8=, 32 - i32.store8 $drop=, 0($pop41), $pop8 + i32.store8 $drop=, 38($0), $pop2 + i32.const $push3=, 5130 + i32.store16 $drop=, 32($0), $pop3 + i32.const $push4=, 21 + i32.store8 $drop=, 36($0), $pop4 + i32.const $push5=, 22 + i32.store8 $drop=, 39($0), $pop5 i32.const $push26=, 28 - i32.add $push27=, $1, $pop26 - i32.const $push9=, 2 - i32.add $push10=, $pop27, $pop9 - i32.load8_u $push11=, 34($1) - i32.store8 $drop=, 0($pop10), $pop11 + i32.add $push27=, $0, $pop26 + i32.const $push6=, 2 + i32.add $push7=, $pop27, $pop6 + i32.load8_u $push8=, 34($0) + i32.store8 $drop=, 0($pop7), $pop8 + i32.const $push9=, 31 + i32.store8 $drop=, 37($0), $pop9 + i32.const $push10=, 40 + i32.add $push42=, $0, $pop10 + tee_local $push41=, $1=, $pop42 + i32.const $push11=, 32 + i32.store8 $drop=, 0($pop41), $pop11 i32.const $push28=, 24 - i32.add $push29=, $1, $pop28 + i32.add $push29=, $0, $pop28 i32.const $push40=, 2 i32.add $push12=, $pop29, $pop40 - i32.load8_u $push13=, 37($1) + i32.load8_u $push13=, 37($0) i32.store8 $drop=, 0($pop12), $pop13 - i32.load16_u $push14=, 32($1) - i32.store16 $drop=, 28($1), $pop14 - i32.load16_u $push15=, 35($1):p2align=0 - i32.store16 $drop=, 24($1), $pop15 + i32.load16_u $push14=, 32($0) + i32.store16 $drop=, 28($0), $pop14 + i32.load16_u $push15=, 35($0):p2align=0 + i32.store16 $drop=, 24($0), $pop15 i32.const $push30=, 20 - i32.add $push31=, $1, $pop30 + i32.add $push31=, $0, $pop30 i32.const $push39=, 2 i32.add $push16=, $pop31, $pop39 - i32.load8_u $push17=, 0($0) + i32.load8_u $push17=, 0($1) i32.store8 $drop=, 0($pop16), $pop17 - i32.load16_u $push18=, 38($1) - i32.store16 $drop=, 20($1), $pop18 + i32.load16_u $push18=, 38($0) + i32.store16 $drop=, 20($0), $pop18 i32.const $push19=, 123 - i32.store $drop=, 12($1), $pop19 + i32.store $drop=, 12($0), $pop19 i32.const $push32=, 28 - i32.add $push33=, $1, $pop32 - i32.store $drop=, 0($1), $pop33 + i32.add $push33=, $0, $pop32 + i32.store $drop=, 0($0), $pop33 i32.const $push34=, 20 - i32.add $push35=, $1, $pop34 - i32.store $drop=, 8($1), $pop35 + i32.add $push35=, $0, $pop34 + i32.store $drop=, 8($0), $pop35 i32.const $push36=, 24 - i32.add $push37=, $1, $pop36 - i32.store $drop=, 4($1), $pop37 + i32.add $push37=, $0, $pop36 + i32.store $drop=, 4($0), $pop37 i32.const $push20=, 3 - i32.call $drop=, f@FUNCTION, $pop20, $1 + i32.call $drop=, f@FUNCTION, $pop20, $0 i32.const $push21=, 0 call exit@FUNCTION, $pop21 unreachable diff --git a/test/torture-s/931004-13.c.s b/test/torture-s/931004-13.c.s index 5bf317809..67431b6c3 100644 --- a/test/torture-s/931004-13.c.s +++ b/test/torture-s/931004-13.c.s @@ -88,59 +88,58 @@ f: # @f .type main,@function main: # @main .result i32 - .local i32 + .local i32, i32 # BB#0: # %entry - i32.const $push24=, __stack_pointer - i32.const $push21=, __stack_pointer - i32.load $push22=, 0($pop21) + i32.const $push24=, 0 + i32.const $push21=, 0 + i32.load $push22=, __stack_pointer($pop21) i32.const $push23=, 32 i32.sub $push33=, $pop22, $pop23 - i32.store $push36=, 0($pop24), $pop33 - tee_local $push35=, $0=, $pop36 - i32.const $push4=, 25 - i32.add $push5=, $pop35, $pop4 - i32.const $push6=, 22 - i32.store8 $drop=, 0($pop5), $pop6 + i32.store $push35=, __stack_pointer($pop24), $pop33 + tee_local $push34=, $1=, $pop35 + i32.const $push0=, 25 + i32.add $push1=, $pop34, $pop0 + i32.const $push2=, 22 + i32.store8 $drop=, 0($pop1), $pop2 + i32.const $push3=, 12 + i32.store8 $drop=, 24($1), $pop3 + i32.const $push4=, 5130 + i32.store16 $drop=, 16($1), $pop4 + i32.const $push5=, 21 + i32.store8 $drop=, 21($1), $pop5 + i32.const $push6=, 30 + i32.store8 $drop=, 18($1), $pop6 + i32.const $push7=, 11 + i32.store8 $0=, 20($1), $pop7 + i32.const $push8=, 31 + i32.store8 $drop=, 22($1), $pop8 i32.const $push9=, 26 - i32.add $push10=, $0, $pop9 + i32.add $push10=, $1, $pop9 i32.const $push11=, 32 i32.store8 $drop=, 0($pop10), $pop11 + i32.const $push12=, 40 + i32.store8 $drop=, 19($1), $pop12 + i32.const $push13=, 41 + i32.store8 $drop=, 23($1), $pop13 i32.const $push25=, 16 - i32.add $push26=, $0, $pop25 - i32.const $push1=, 11 - i32.add $push14=, $pop26, $pop1 + i32.add $push26=, $1, $pop25 + i32.add $push14=, $0, $pop26 i32.const $push15=, 42 i32.store8 $drop=, 0($pop14), $pop15 - i32.const $push0=, 5130 - i32.store16 $drop=, 16($0), $pop0 - i32.const $push34=, 11 - i32.store8 $drop=, 20($0), $pop34 - i32.const $push2=, 12 - i32.store8 $drop=, 24($0), $pop2 - i32.const $push3=, 21 - i32.store8 $drop=, 21($0), $pop3 - i32.const $push7=, 30 - i32.store8 $drop=, 18($0), $pop7 - i32.const $push8=, 31 - i32.store8 $drop=, 22($0), $pop8 - i32.const $push12=, 40 - i32.store8 $drop=, 19($0), $pop12 - i32.const $push13=, 41 - i32.store8 $drop=, 23($0), $pop13 - i32.load $push16=, 16($0) - i32.store $drop=, 12($0), $pop16 - i32.load $push17=, 20($0) - i32.store $drop=, 8($0), $pop17 - i32.load $push18=, 24($0) - i32.store $drop=, 4($0), $pop18 + i32.load $push16=, 16($1) + i32.store $drop=, 12($1), $pop16 + i32.load $push17=, 20($1) + i32.store $drop=, 8($1), $pop17 + i32.load $push18=, 24($1) + i32.store $drop=, 4($1), $pop18 i32.const $push27=, 12 - i32.add $push28=, $0, $pop27 + i32.add $push28=, $1, $pop27 i32.const $push29=, 8 - i32.add $push30=, $0, $pop29 + i32.add $push30=, $1, $pop29 i32.const $push31=, 4 - i32.add $push32=, $0, $pop31 + i32.add $push32=, $1, $pop31 i32.const $push19=, 123 - i32.call $drop=, f@FUNCTION, $0, $pop28, $pop30, $pop32, $pop19 + i32.call $drop=, f@FUNCTION, $1, $pop28, $pop30, $pop32, $pop19 i32.const $push20=, 0 call exit@FUNCTION, $pop20 unreachable diff --git a/test/torture-s/931004-14.c.s b/test/torture-s/931004-14.c.s index de8888c57..2c942ade5 100644 --- a/test/torture-s/931004-14.c.s +++ b/test/torture-s/931004-14.c.s @@ -9,17 +9,18 @@ f: # @f .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push26=, __stack_pointer - i32.const $push23=, __stack_pointer - i32.load $push24=, 0($pop23) + i32.const $push26=, 0 + i32.const $push23=, 0 + i32.load $push24=, __stack_pointer($pop23) i32.const $push25=, 16 i32.sub $push30=, $pop24, $pop25 - i32.store $2=, 0($pop26), $pop30 - i32.store $push34=, 12($2), $1 - tee_local $push33=, $3=, $pop34 + i32.store $push36=, __stack_pointer($pop26), $pop30 + tee_local $push35=, $3=, $pop36 + i32.store $push34=, 12($3), $1 + tee_local $push33=, $4=, $pop34 i32.const $push32=, 4 i32.add $push2=, $pop33, $pop32 - i32.store $drop=, 12($2), $pop2 + i32.store $drop=, 12($pop35), $pop2 block block i32.const $push31=, 1 @@ -27,61 +28,62 @@ f: # @f br_if 0, $pop3 # 0: down to label1 # BB#1: # %for.body.preheader i32.const $push4=, 8 - i32.add $3=, $3, $pop4 + i32.add $4=, $4, $pop4 i32.const $1=, 0 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push38=, 10 - i32.add $push9=, $1, $pop38 - copy_local $push37=, $3 - tee_local $push36=, $3=, $pop37 - i32.const $push35=, -8 - i32.add $push5=, $pop36, $pop35 - i32.load8_s $push8=, 0($pop5) - i32.ne $push10=, $pop9, $pop8 - br_if 3, $pop10 # 3: down to label0 + i32.const $push40=, 10 + i32.add $push5=, $1, $pop40 + copy_local $push39=, $4 + tee_local $push38=, $4=, $pop39 + i32.const $push37=, -8 + i32.add $push6=, $pop38, $pop37 + i32.load8_s $push7=, 0($pop6) + i32.ne $push8=, $pop5, $pop7 + br_if 3, $pop8 # 3: down to label0 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 - i32.const $push40=, 20 - i32.add $push13=, $1, $pop40 - i32.const $push39=, -7 - i32.add $push11=, $3, $pop39 - i32.load8_s $push12=, 0($pop11) - i32.ne $push14=, $pop13, $pop12 + i32.const $push42=, 20 + i32.add $push11=, $1, $pop42 + i32.const $push41=, -7 + i32.add $push12=, $4, $pop41 + i32.load8_s $push13=, 0($pop12) + i32.ne $push14=, $pop11, $pop13 br_if 3, $pop14 # 3: down to label0 # BB#4: # %if.end9 # in Loop: Header=BB0_2 Depth=1 - i32.const $push42=, 30 - i32.add $push15=, $1, $pop42 - i32.const $push41=, -6 - i32.add $push6=, $3, $pop41 - i32.load8_s $push0=, 0($pop6) + i32.const $push44=, 30 + i32.add $push15=, $1, $pop44 + i32.const $push43=, -6 + i32.add $push10=, $4, $pop43 + i32.load8_s $push0=, 0($pop10) i32.ne $push16=, $pop15, $pop0 br_if 3, $pop16 # 3: down to label0 # BB#5: # %if.end15 # in Loop: Header=BB0_2 Depth=1 - i32.const $push44=, 40 - i32.add $push17=, $1, $pop44 - i32.const $push43=, -5 - i32.add $push7=, $3, $pop43 - i32.load8_s $push1=, 0($pop7) + i32.const $push46=, 40 + i32.add $push17=, $1, $pop46 + i32.const $push45=, -5 + i32.add $push9=, $4, $pop45 + i32.load8_s $push1=, 0($pop9) i32.ne $push18=, $pop17, $pop1 br_if 3, $pop18 # 3: down to label0 # BB#6: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push48=, 1 - i32.add $1=, $1, $pop48 - i32.store $push47=, 12($2), $3 - tee_local $push46=, $4=, $pop47 - i32.const $push45=, 4 - i32.add $3=, $pop46, $pop45 - i32.lt_s $push19=, $1, $0 + i32.store $push52=, 12($3), $4 + tee_local $push51=, $2=, $pop52 + i32.const $push50=, 4 + i32.add $4=, $pop51, $pop50 + i32.const $push49=, 1 + i32.add $push48=, $1, $pop49 + tee_local $push47=, $1=, $pop48 + i32.lt_s $push19=, $pop47, $0 br_if 0, $pop19 # 0: up to label2 # BB#7: end_loop # label3: - i32.const $push49=, -4 - i32.add $1=, $4, $pop49 + i32.const $push53=, -4 + i32.add $1=, $2, $pop53 .LBB0_8: # %for.end end_block # label1: i32.load $push20=, 0($1) @@ -89,10 +91,10 @@ f: # @f i32.ne $push22=, $pop20, $pop21 br_if 0, $pop22 # 0: down to label0 # BB#9: # %if.end28 - i32.const $push29=, __stack_pointer + i32.const $push29=, 0 i32.const $push27=, 16 - i32.add $push28=, $2, $pop27 - i32.store $drop=, 0($pop29), $pop28 + i32.add $push28=, $3, $pop27 + i32.store $drop=, __stack_pointer($pop29), $pop28 return $1 .LBB0_10: # %if.then20 end_block # label0: @@ -108,64 +110,63 @@ f: # @f .type main,@function main: # @main .result i32 - .local i32 + .local i32, i32 # BB#0: # %entry - i32.const $push25=, __stack_pointer - i32.const $push22=, __stack_pointer - i32.load $push23=, 0($pop22) + i32.const $push25=, 0 + i32.const $push22=, 0 + i32.load $push23=, __stack_pointer($pop22) i32.const $push24=, 48 i32.sub $push34=, $pop23, $pop24 - i32.store $push37=, 0($pop25), $pop34 - tee_local $push36=, $0=, $pop37 - i32.const $push4=, 41 - i32.add $push5=, $pop36, $pop4 - i32.const $push6=, 22 - i32.store8 $drop=, 0($pop5), $pop6 + i32.store $push36=, __stack_pointer($pop25), $pop34 + tee_local $push35=, $1=, $pop36 + i32.const $push0=, 41 + i32.add $push1=, $pop35, $pop0 + i32.const $push2=, 22 + i32.store8 $drop=, 0($pop1), $pop2 + i32.const $push3=, 12 + i32.store8 $drop=, 40($1), $pop3 + i32.const $push4=, 5130 + i32.store16 $drop=, 32($1), $pop4 + i32.const $push5=, 21 + i32.store8 $drop=, 37($1), $pop5 + i32.const $push6=, 30 + i32.store8 $drop=, 34($1), $pop6 + i32.const $push7=, 11 + i32.store8 $0=, 36($1), $pop7 + i32.const $push8=, 31 + i32.store8 $drop=, 38($1), $pop8 i32.const $push9=, 42 - i32.add $push10=, $0, $pop9 + i32.add $push10=, $1, $pop9 i32.const $push11=, 32 i32.store8 $drop=, 0($pop10), $pop11 + i32.const $push12=, 40 + i32.store8 $drop=, 35($1), $pop12 + i32.const $push13=, 41 + i32.store8 $drop=, 39($1), $pop13 i32.const $push26=, 32 - i32.add $push27=, $0, $pop26 - i32.const $push1=, 11 - i32.add $push14=, $pop27, $pop1 + i32.add $push27=, $1, $pop26 + i32.add $push14=, $0, $pop27 i32.const $push15=, 42 i32.store8 $drop=, 0($pop14), $pop15 - i32.const $push0=, 5130 - i32.store16 $drop=, 32($0), $pop0 - i32.const $push35=, 11 - i32.store8 $drop=, 36($0), $pop35 - i32.const $push2=, 12 - i32.store8 $drop=, 40($0), $pop2 - i32.const $push3=, 21 - i32.store8 $drop=, 37($0), $pop3 - i32.const $push7=, 30 - i32.store8 $drop=, 34($0), $pop7 - i32.const $push8=, 31 - i32.store8 $drop=, 38($0), $pop8 - i32.const $push12=, 40 - i32.store8 $drop=, 35($0), $pop12 - i32.const $push13=, 41 - i32.store8 $drop=, 39($0), $pop13 - i32.load $push16=, 32($0) - i32.store $drop=, 28($0), $pop16 - i32.load $push17=, 36($0) - i32.store $drop=, 24($0), $pop17 - i32.load $push18=, 40($0) - i32.store $drop=, 20($0), $pop18 + i32.load $push16=, 32($1) + i32.store $drop=, 28($1), $pop16 + i32.load $push17=, 36($1) + i32.store $drop=, 24($1), $pop17 + i32.load $push18=, 40($1) + i32.store $drop=, 20($1), $pop18 i32.const $push19=, 123 - i32.store $drop=, 12($0), $pop19 + i32.store $drop=, 12($1), $pop19 i32.const $push28=, 20 - i32.add $push29=, $0, $pop28 - i32.store $drop=, 8($0), $pop29 + i32.add $push29=, $1, $pop28 + i32.store $drop=, 8($1), $pop29 i32.const $push30=, 24 - i32.add $push31=, $0, $pop30 - i32.store $drop=, 4($0), $pop31 + i32.add $push31=, $1, $pop30 + i32.store $drop=, 4($1), $pop31 i32.const $push32=, 28 - i32.add $push33=, $0, $pop32 - i32.store $drop=, 0($0), $pop33 + i32.add $push33=, $1, $pop32 + i32.store $drop=, 0($1), $pop33 i32.const $push20=, 3 - i32.call $drop=, f@FUNCTION, $pop20, $0 + i32.call $drop=, f@FUNCTION, $pop20, $1 i32.const $push21=, 0 call exit@FUNCTION, $pop21 unreachable diff --git a/test/torture-s/931004-2.c.s b/test/torture-s/931004-2.c.s index beb895e09..934a5509a 100644 --- a/test/torture-s/931004-2.c.s +++ b/test/torture-s/931004-2.c.s @@ -9,60 +9,62 @@ f: # @f .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) - i32.const $push11=, 16 - i32.sub $push16=, $pop10, $pop11 - i32.store $2=, 0($pop12), $pop16 - i32.store $push20=, 12($2), $1 - tee_local $push19=, $1=, $pop20 - i32.const $push18=, 4 - i32.add $push1=, $pop19, $pop18 - i32.store $drop=, 12($2), $pop1 + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) + i32.const $push12=, 16 + i32.sub $push17=, $pop11, $pop12 + i32.store $push23=, __stack_pointer($pop13), $pop17 + tee_local $push22=, $2=, $pop23 + i32.store $push21=, 12($2), $1 + tee_local $push20=, $1=, $pop21 + i32.const $push19=, 4 + i32.add $push2=, $pop20, $pop19 + i32.store $drop=, 12($pop22), $pop2 i32.load $5=, 0($1) block block block - i32.const $push17=, 1 - i32.lt_s $push2=, $0, $pop17 - br_if 0, $pop2 # 0: down to label2 + i32.const $push18=, 1 + i32.lt_s $push3=, $0, $pop18 + br_if 0, $pop3 # 0: down to label2 # BB#1: # %for.body.preheader - i32.const $push3=, 8 - i32.add $4=, $1, $pop3 + i32.const $push4=, 8 + i32.add $4=, $1, $pop4 i32.const $1=, 10 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label3: - i32.ne $push4=, $1, $5 - br_if 3, $pop4 # 3: down to label1 + i32.ne $push5=, $1, $5 + br_if 3, $pop5 # 3: down to label1 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.store $push26=, 12($2), $4 - tee_local $push25=, $4=, $pop26 - i32.const $push24=, -4 - i32.add $push5=, $pop25, $pop24 - i32.load $5=, 0($pop5) - i32.const $push23=, 4 - i32.add $4=, $4, $pop23 - i32.const $push22=, -9 - i32.add $3=, $1, $pop22 - i32.const $push21=, 1 - i32.add $push0=, $1, $pop21 - copy_local $1=, $pop0 + i32.const $push29=, -9 + i32.add $3=, $1, $pop29 + i32.store $push28=, 12($2), $4 + tee_local $push27=, $4=, $pop28 + i32.const $push26=, -4 + i32.add $push7=, $pop27, $pop26 + i32.load $5=, 0($pop7) + i32.const $push25=, 1 + i32.add $push1=, $1, $pop25 + copy_local $1=, $pop1 + i32.const $push24=, 4 + i32.add $push0=, $4, $pop24 + copy_local $4=, $pop0 i32.lt_s $push6=, $3, $0 br_if 0, $pop6 # 0: up to label3 .LBB0_4: # %for.end end_loop # label4: end_block # label2: - i32.const $push7=, 123 - i32.ne $push8=, $5, $pop7 - br_if 1, $pop8 # 1: down to label0 + i32.const $push8=, 123 + i32.ne $push9=, $5, $pop8 + br_if 1, $pop9 # 1: down to label0 # BB#5: # %if.end8 - i32.const $push15=, __stack_pointer - i32.const $push13=, 16 - i32.add $push14=, $2, $pop13 - i32.store $drop=, 0($pop15), $pop14 + i32.const $push16=, 0 + i32.const $push14=, 16 + i32.add $push15=, $2, $pop14 + i32.store $drop=, __stack_pointer($pop16), $pop15 return $1 .LBB0_6: # %if.then end_block # label1: @@ -84,12 +86,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push8=, $pop5, $pop6 - i32.store $push10=, 0($pop7), $pop8 + i32.store $push10=, __stack_pointer($pop7), $pop8 tee_local $push9=, $0=, $pop10 i64.const $push0=, 528280977420 i64.store $drop=, 8($pop9), $pop0 diff --git a/test/torture-s/931004-4.c.s b/test/torture-s/931004-4.c.s index 7b079850e..88e236d36 100644 --- a/test/torture-s/931004-4.c.s +++ b/test/torture-s/931004-4.c.s @@ -9,16 +9,17 @@ f: # @f .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 16 i32.sub $push18=, $pop12, $pop13 - i32.store $2=, 0($pop14), $pop18 + i32.store $push22=, __stack_pointer($pop14), $pop18 + tee_local $push21=, $2=, $pop22 i32.store $push0=, 12($2), $1 i32.const $push20=, 4 i32.add $push2=, $pop0, $pop20 - i32.store $drop=, 12($2), $pop2 + i32.store $drop=, 12($pop21), $pop2 block block block @@ -35,15 +36,15 @@ f: # @f br_if 3, $pop5 # 3: down to label1 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push24=, 8 - i32.add $push6=, $1, $pop24 + i32.const $push26=, 8 + i32.add $push6=, $1, $pop26 i32.store $drop=, 12($2), $pop6 - i32.const $push23=, 4 - i32.add $1=, $1, $pop23 - i32.const $push22=, -9 - i32.add $3=, $4, $pop22 - i32.const $push21=, 1 - i32.add $push1=, $4, $pop21 + i32.const $push25=, 4 + i32.add $1=, $1, $pop25 + i32.const $push24=, -9 + i32.add $3=, $4, $pop24 + i32.const $push23=, 1 + i32.add $push1=, $4, $pop23 copy_local $4=, $pop1 i32.lt_s $push7=, $3, $0 br_if 0, $pop7 # 0: up to label3 @@ -55,10 +56,10 @@ f: # @f i32.ne $push10=, $pop8, $pop9 br_if 1, $pop10 # 1: down to label0 # BB#5: # %if.end10 - i32.const $push17=, __stack_pointer + i32.const $push17=, 0 i32.const $push15=, 16 i32.add $push16=, $2, $pop15 - i32.store $drop=, 0($pop17), $pop16 + i32.store $drop=, __stack_pointer($pop17), $pop16 return $1 .LBB0_6: # %if.then end_block # label1: @@ -80,12 +81,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push8=, $pop5, $pop6 - i32.store $push10=, 0($pop7), $pop8 + i32.store $push10=, __stack_pointer($pop7), $pop8 tee_local $push9=, $0=, $pop10 i64.const $push0=, 528280977420 i64.store $drop=, 8($pop9), $pop0 diff --git a/test/torture-s/931004-5.c.s b/test/torture-s/931004-5.c.s index 180917f17..7e608a898 100644 --- a/test/torture-s/931004-5.c.s +++ b/test/torture-s/931004-5.c.s @@ -60,21 +60,21 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 32 i32.sub $push19=, $pop10, $pop11 - i32.store $push21=, 0($pop12), $pop19 + i32.store $push21=, __stack_pointer($pop12), $pop19 tee_local $push20=, $0=, $pop21 i32.const $push0=, 1310730 i32.store $drop=, 16($pop20), $pop0 - i32.const $push1=, 11 - i32.store16 $drop=, 20($0), $pop1 - i32.const $push2=, 1441804 - i32.store $drop=, 24($0), $pop2 - i32.const $push3=, 21 - i32.store16 $drop=, 22($0), $pop3 + i32.const $push1=, 21 + i32.store16 $drop=, 22($0), $pop1 + i32.const $push2=, 11 + i32.store16 $drop=, 20($0), $pop2 + i32.const $push3=, 1441804 + i32.store $drop=, 24($0), $pop3 i32.load $push4=, 16($0) i32.store $drop=, 12($0), $pop4 i32.load $push5=, 20($0) diff --git a/test/torture-s/931004-6.c.s b/test/torture-s/931004-6.c.s index b624f6e87..bf3c2e84c 100644 --- a/test/torture-s/931004-6.c.s +++ b/test/torture-s/931004-6.c.s @@ -9,16 +9,17 @@ f: # @f .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) i32.const $push17=, 16 i32.sub $push22=, $pop16, $pop17 - i32.store $2=, 0($pop18), $pop22 + i32.store $push26=, __stack_pointer($pop18), $pop22 + tee_local $push25=, $2=, $pop26 i32.store $push0=, 12($2), $1 i32.const $push24=, 4 i32.add $push2=, $pop0, $pop24 - i32.store $drop=, 12($2), $pop2 + i32.store $drop=, 12($pop25), $pop2 block block block @@ -35,24 +36,24 @@ f: # @f br_if 4, $pop5 # 4: down to label0 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 - i32.const $push26=, 10 - i32.add $push8=, $3, $pop26 - i32.const $push25=, 2 - i32.add $push6=, $1, $pop25 - i32.load16_s $push7=, 0($pop6) - i32.ne $push9=, $pop8, $pop7 + i32.const $push28=, 10 + i32.add $push6=, $3, $pop28 + i32.const $push27=, 2 + i32.add $push7=, $1, $pop27 + i32.load16_s $push8=, 0($pop7) + i32.ne $push9=, $pop6, $pop8 br_if 3, $pop9 # 3: down to label1 # BB#4: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push30=, 8 - i32.add $push10=, $1, $pop30 + i32.const $push32=, 8 + i32.add $push10=, $1, $pop32 i32.store $drop=, 12($2), $pop10 - i32.const $push29=, 4 - i32.add $1=, $1, $pop29 - i32.const $push28=, -9 - i32.add $4=, $3, $pop28 - i32.const $push27=, 1 - i32.add $push1=, $3, $pop27 + i32.const $push31=, 4 + i32.add $1=, $1, $pop31 + i32.const $push30=, -9 + i32.add $4=, $3, $pop30 + i32.const $push29=, 1 + i32.add $push1=, $3, $pop29 copy_local $3=, $pop1 i32.lt_s $push11=, $4, $0 br_if 0, $pop11 # 0: up to label3 @@ -64,10 +65,10 @@ f: # @f i32.ne $push14=, $pop12, $pop13 br_if 1, $pop14 # 1: down to label0 # BB#6: # %if.end16 - i32.const $push21=, __stack_pointer + i32.const $push21=, 0 i32.const $push19=, 16 i32.add $push20=, $2, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.store $drop=, __stack_pointer($pop21), $pop20 return $1 .LBB0_7: # %if.then8 end_block # label1: @@ -89,21 +90,21 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 48 i32.sub $push20=, $pop11, $pop12 - i32.store $push22=, 0($pop13), $pop20 + i32.store $push22=, __stack_pointer($pop13), $pop20 tee_local $push21=, $0=, $pop22 i32.const $push0=, 1310730 i32.store $drop=, 32($pop21), $pop0 - i32.const $push1=, 11 - i32.store16 $drop=, 36($0), $pop1 - i32.const $push2=, 1441804 - i32.store $drop=, 40($0), $pop2 - i32.const $push3=, 21 - i32.store16 $drop=, 38($0), $pop3 + i32.const $push1=, 21 + i32.store16 $drop=, 38($0), $pop1 + i32.const $push2=, 11 + i32.store16 $drop=, 36($0), $pop2 + i32.const $push3=, 1441804 + i32.store $drop=, 40($0), $pop3 i32.load $push4=, 32($0) i32.store $drop=, 28($0), $pop4 i32.load $push5=, 36($0) diff --git a/test/torture-s/931004-8.c.s b/test/torture-s/931004-8.c.s index 8dea63c0b..7d4b51301 100644 --- a/test/torture-s/931004-8.c.s +++ b/test/torture-s/931004-8.c.s @@ -9,16 +9,17 @@ f: # @f .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 16 i32.sub $push18=, $pop12, $pop13 - i32.store $2=, 0($pop14), $pop18 + i32.store $push22=, __stack_pointer($pop14), $pop18 + tee_local $push21=, $2=, $pop22 i32.store $push0=, 12($2), $1 i32.const $push20=, 4 i32.add $push2=, $pop0, $pop20 - i32.store $drop=, 12($2), $pop2 + i32.store $drop=, 12($pop21), $pop2 block block block @@ -35,15 +36,15 @@ f: # @f br_if 3, $pop5 # 3: down to label1 # BB#3: # %for.cond # in Loop: Header=BB0_2 Depth=1 - i32.const $push24=, 8 - i32.add $push6=, $1, $pop24 + i32.const $push26=, 8 + i32.add $push6=, $1, $pop26 i32.store $drop=, 12($2), $pop6 - i32.const $push23=, 4 - i32.add $1=, $1, $pop23 - i32.const $push22=, -9 - i32.add $3=, $4, $pop22 - i32.const $push21=, 1 - i32.add $push1=, $4, $pop21 + i32.const $push25=, 4 + i32.add $1=, $1, $pop25 + i32.const $push24=, -9 + i32.add $3=, $4, $pop24 + i32.const $push23=, 1 + i32.add $push1=, $4, $pop23 copy_local $4=, $pop1 i32.lt_s $push7=, $3, $0 br_if 0, $pop7 # 0: up to label3 @@ -55,10 +56,10 @@ f: # @f i32.ne $push10=, $pop8, $pop9 br_if 1, $pop10 # 1: down to label0 # BB#5: # %if.end10 - i32.const $push17=, __stack_pointer + i32.const $push17=, 0 i32.const $push15=, 16 i32.add $push16=, $2, $pop15 - i32.store $drop=, 0($pop17), $pop16 + i32.store $drop=, __stack_pointer($pop17), $pop16 return $1 .LBB0_6: # %if.then end_block # label1: @@ -80,12 +81,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push8=, $pop5, $pop6 - i32.store $push10=, 0($pop7), $pop8 + i32.store $push10=, __stack_pointer($pop7), $pop8 tee_local $push9=, $0=, $pop10 i64.const $push0=, 528280977420 i64.store $drop=, 8($pop9), $pop0 diff --git a/test/torture-s/931004-9.c.s b/test/torture-s/931004-9.c.s index 31a0be651..5c74aad0f 100644 --- a/test/torture-s/931004-9.c.s +++ b/test/torture-s/931004-9.c.s @@ -60,23 +60,23 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 16 i32.sub $push20=, $pop11, $pop12 - i32.store $push22=, 0($pop13), $pop20 + i32.store $push22=, __stack_pointer($pop13), $pop20 tee_local $push21=, $0=, $pop22 i32.const $push0=, 5130 i32.store16 $drop=, 8($pop21), $pop0 - i32.const $push1=, 11 - i32.store8 $drop=, 10($0), $pop1 - i32.const $push2=, 12 - i32.store8 $drop=, 12($0), $pop2 - i32.const $push3=, 21 - i32.store8 $drop=, 11($0), $pop3 - i32.const $push4=, 22 - i32.store8 $drop=, 13($0), $pop4 + i32.const $push1=, 21 + i32.store8 $drop=, 11($0), $pop1 + i32.const $push2=, 22 + i32.store8 $drop=, 13($0), $pop2 + i32.const $push3=, 11 + i32.store8 $drop=, 10($0), $pop3 + i32.const $push4=, 12 + i32.store8 $drop=, 12($0), $pop4 i32.load16_u $push5=, 8($0) i32.store16 $drop=, 6($0), $pop5 i32.load16_u $push6=, 10($0) diff --git a/test/torture-s/931005-1.c.s b/test/torture-s/931005-1.c.s index 189b72203..6b8980385 100644 --- a/test/torture-s/931005-1.c.s +++ b/test/torture-s/931005-1.c.s @@ -8,7 +8,8 @@ f: # @f .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/931009-1.c.s b/test/torture-s/931009-1.c.s index 4e535c1c6..32aa9bf6e 100644 --- a/test/torture-s/931009-1.c.s +++ b/test/torture-s/931009-1.c.s @@ -22,7 +22,8 @@ f: # @f .result i32 .local i32 # BB#0: # %if.end - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/931012-1.c.s b/test/torture-s/931012-1.c.s index 8dc223076..d95a4a161 100644 --- a/test/torture-s/931012-1.c.s +++ b/test/torture-s/931012-1.c.s @@ -8,12 +8,12 @@ f: # @f .param i32, i32 .result i32 # BB#0: # %entry - i32.const $push2=, 0 - i32.select $push3=, $pop2, $0, $1 - i32.const $push0=, 1 - i32.gt_u $push1=, $0, $pop0 - i32.select $push4=, $pop3, $0, $pop1 - return $pop4 + i32.const $push0=, 0 + i32.select $push1=, $pop0, $0, $1 + i32.const $push2=, 1 + i32.gt_u $push3=, $0, $pop2 + i32.select $push4=, $pop1, $0, $pop3 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/931017-1.c.s b/test/torture-s/931017-1.c.s index 2c3044b51..ae67bf596 100644 --- a/test/torture-s/931017-1.c.s +++ b/test/torture-s/931017-1.c.s @@ -22,7 +22,7 @@ h1: # @h1 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size h1, .Lfunc_end1-h1 @@ -59,7 +59,7 @@ g: # @g .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size g, .Lfunc_end3-g @@ -72,7 +72,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size f, .Lfunc_end4-f diff --git a/test/torture-s/931031-1.c.s b/test/torture-s/931031-1.c.s index 796309750..80d82a6f3 100644 --- a/test/torture-s/931031-1.c.s +++ b/test/torture-s/931031-1.c.s @@ -16,7 +16,7 @@ f: # @f i32.const $push0=, 0 i32.lt_s $push1=, $0, $pop0 i32.select $push4=, $pop2, $pop3, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/931102-1.c.s b/test/torture-s/931102-1.c.s index 6025853d0..ad6bd48ac 100644 --- a/test/torture-s/931102-1.c.s +++ b/test/torture-s/931102-1.c.s @@ -33,7 +33,8 @@ f: # @f .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return $1 + copy_local $push11=, $1 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/931102-2.c.s b/test/torture-s/931102-2.c.s index cc5975cc2..0d71f29e7 100644 --- a/test/torture-s/931102-2.c.s +++ b/test/torture-s/931102-2.c.s @@ -33,7 +33,8 @@ f: # @f .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return $1 + copy_local $push11=, $1 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/931110-1.c.s b/test/torture-s/931110-1.c.s index 4d638da7a..361d50638 100644 --- a/test/torture-s/931110-1.c.s +++ b/test/torture-s/931110-1.c.s @@ -6,70 +6,69 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load16_u $0=, x+6($pop0) - i32.const $push41=, 0 - i32.const $push40=, 0 - i32.load16_u $push1=, x+4($pop40) + i32.const $push50=, 0 + i32.load16_u $push1=, x+4($pop50) i32.const $push2=, 65528 i32.and $push3=, $pop1, $pop2 - i32.store16 $drop=, x+4($pop41), $pop3 + i32.store16 $drop=, x+4($pop0), $pop3 + i32.const $push49=, 0 + i32.const $push48=, 0 + i32.load16_u $push4=, x+6($pop48) + i32.const $push47=, 65528 + i32.and $push5=, $pop4, $pop47 + i32.store16 $drop=, x+6($pop49), $pop5 + i32.const $push46=, 0 + i32.const $push45=, 0 + i32.load16_u $push6=, x+8($pop45) + i32.const $push44=, 65528 + i32.and $push7=, $pop6, $pop44 + i32.store16 $drop=, x+8($pop46), $pop7 + i32.const $push43=, 0 + i32.const $push42=, 0 + i32.load16_u $push8=, x+10($pop42) + i32.const $push41=, 65528 + i32.and $push9=, $pop8, $pop41 + i32.store16 $drop=, x+10($pop43), $pop9 + i32.const $push40=, 0 i32.const $push39=, 0 - i32.load16_u $1=, x+8($pop39) - i32.const $push38=, 0 - i32.const $push37=, 65528 - i32.and $push4=, $0, $pop37 - i32.store16 $drop=, x+6($pop38), $pop4 + i32.load16_u $push10=, x+12($pop39) + i32.const $push38=, 65528 + i32.and $push11=, $pop10, $pop38 + i32.store16 $drop=, x+12($pop40), $pop11 + i32.const $push37=, 0 i32.const $push36=, 0 - i32.load16_u $0=, x+10($pop36) - i32.const $push35=, 0 - i32.const $push34=, 65528 - i32.and $push5=, $1, $pop34 - i32.store16 $drop=, x+8($pop35), $pop5 + i32.load16_u $push12=, x+14($pop36) + i32.const $push35=, 65528 + i32.and $push13=, $pop12, $pop35 + i32.store16 $drop=, x+14($pop37), $pop13 + i32.const $push34=, 0 i32.const $push33=, 0 - i32.load16_u $1=, x+12($pop33) - i32.const $push32=, 0 - i32.const $push31=, 65528 - i32.and $push6=, $0, $pop31 - i32.store16 $drop=, x+10($pop32), $pop6 + i32.load16_u $push14=, x+16($pop33) + i32.const $push32=, 65528 + i32.and $push15=, $pop14, $pop32 + i32.store16 $drop=, x+16($pop34), $pop15 + i32.const $push31=, 0 i32.const $push30=, 0 - i32.load16_u $0=, x+14($pop30) - i32.const $push29=, 0 - i32.const $push28=, 65528 - i32.and $push7=, $1, $pop28 - i32.store16 $drop=, x+12($pop29), $pop7 + i32.load16_u $push16=, x+18($pop30) + i32.const $push29=, 65528 + i32.and $push17=, $pop16, $pop29 + i32.store16 $drop=, x+18($pop31), $pop17 + i32.const $push28=, 0 i32.const $push27=, 0 - i32.load16_u $1=, x+16($pop27) - i32.const $push26=, 0 - i32.const $push25=, 65528 - i32.and $push8=, $0, $pop25 - i32.store16 $drop=, x+14($pop26), $pop8 + i32.load16_u $push18=, x+20($pop27) + i32.const $push26=, 65528 + i32.and $push19=, $pop18, $pop26 + i32.store16 $drop=, x+20($pop28), $pop19 + i32.const $push25=, 0 i32.const $push24=, 0 - i32.load16_u $0=, x+18($pop24) - i32.const $push23=, 0 - i32.const $push22=, 65528 - i32.and $push9=, $1, $pop22 - i32.store16 $drop=, x+16($pop23), $pop9 - i32.const $push21=, 0 - i32.load16_u $1=, x+20($pop21) - i32.const $push20=, 0 - i32.load16_u $2=, x+22($pop20) - i32.const $push19=, 0 - i32.const $push18=, 65528 - i32.and $push10=, $0, $pop18 - i32.store16 $drop=, x+18($pop19), $pop10 - i32.const $push17=, 0 - i32.const $push16=, 65528 - i32.and $push11=, $1, $pop16 - i32.store16 $drop=, x+20($pop17), $pop11 - i32.const $push15=, 0 - i32.const $push14=, 65528 - i32.and $push12=, $2, $pop14 - i32.store16 $drop=, x+22($pop15), $pop12 - i32.const $push13=, 0 - call exit@FUNCTION, $pop13 + i32.load16_u $push20=, x+22($pop24) + i32.const $push23=, 65528 + i32.and $push21=, $pop20, $pop23 + i32.store16 $drop=, x+22($pop25), $pop21 + i32.const $push22=, 0 + call exit@FUNCTION, $pop22 unreachable .endfunc .Lfunc_end0: diff --git a/test/torture-s/931208-1.c.s b/test/torture-s/931208-1.c.s index 3dc74cc54..1303fc642 100644 --- a/test/torture-s/931208-1.c.s +++ b/test/torture-s/931208-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 498 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/931228-1.c.s b/test/torture-s/931228-1.c.s index 96e233fdf..67bec2472 100644 --- a/test/torture-s/931228-1.c.s +++ b/test/torture-s/931228-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 8184 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/940115-1.c.s b/test/torture-s/940115-1.c.s index fd1a26b52..af37d5bbc 100644 --- a/test/torture-s/940115-1.c.s +++ b/test/torture-s/940115-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.lt_u $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/940122-1.c.s b/test/torture-s/940122-1.c.s index fda6fdc39..4778227ff 100644 --- a/test/torture-s/940122-1.c.s +++ b/test/torture-s/940122-1.c.s @@ -11,14 +11,14 @@ g: # @g # BB#0: # %entry block i32.const $push0=, 0 - i32.load $push1=, a($pop0) + i32.load $push3=, a($pop0) i32.const $push8=, 0 - i32.ne $push2=, $pop1, $pop8 + i32.ne $push4=, $pop3, $pop8 i32.const $push7=, 0 - i32.load $push3=, b($pop7) + i32.load $push1=, b($pop7) i32.const $push6=, 0 - i32.ne $push4=, $pop3, $pop6 - i32.ne $push5=, $pop2, $pop4 + i32.ne $push2=, $pop1, $pop6 + i32.ne $push5=, $pop4, $pop2 br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end return $1 @@ -41,14 +41,14 @@ f: # @f # BB#0: # %entry block i32.const $push0=, 0 - i32.load $push1=, a($pop0) + i32.load $push3=, a($pop0) i32.const $push8=, 0 - i32.ne $push2=, $pop1, $pop8 + i32.ne $push4=, $pop3, $pop8 i32.const $push7=, 0 - i32.load $push3=, b($pop7) + i32.load $push1=, b($pop7) i32.const $push6=, 0 - i32.ne $push4=, $pop3, $pop6 - i32.ne $push5=, $pop2, $pop4 + i32.ne $push2=, $pop1, $pop6 + i32.ne $push5=, $pop4, $pop2 br_if 0, $pop5 # 0: down to label1 # BB#1: # %g.exit return $1 diff --git a/test/torture-s/941014-1.c.s b/test/torture-s/941014-1.c.s index da29564f5..4c20be5cc 100644 --- a/test/torture-s/941014-1.c.s +++ b/test/torture-s/941014-1.c.s @@ -9,7 +9,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $2 + copy_local $push0=, $2 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/941014-2.c.s b/test/torture-s/941014-2.c.s index 4f8fb8833..3264b4808 100644 --- a/test/torture-s/941014-2.c.s +++ b/test/torture-s/941014-2.c.s @@ -7,7 +7,7 @@ a1: # @a1 .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size a1, .Lfunc_end0-a1 @@ -20,12 +20,12 @@ f: # @f .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $0=, 0($pop10), $pop14 + i32.store $0=, __stack_pointer($pop10), $pop14 block i32.const $push0=, 4 i32.call $push16=, malloc@FUNCTION, $pop0 @@ -43,11 +43,12 @@ f: # @f end_block # label0: i32.const $push6=, 256 i32.store16 $drop=, 2($1), $pop6 - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $0, $pop11 - i32.store $drop=, 0($pop13), $pop12 - return $1 + i32.store $drop=, __stack_pointer($pop13), $pop12 + copy_local $push17=, $1 + # fallthrough-return: $pop17 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -60,12 +61,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 16 i32.sub $push15=, $pop12, $pop13 - i32.store $0=, 0($pop14), $pop15 + i32.store $0=, __stack_pointer($pop14), $pop15 block i32.const $push1=, 4 i32.call $push17=, malloc@FUNCTION, $pop1 diff --git a/test/torture-s/941015-1.c.s b/test/torture-s/941015-1.c.s index c60e17a50..bae1a3f66 100644 --- a/test/torture-s/941015-1.c.s +++ b/test/torture-s/941015-1.c.s @@ -13,7 +13,7 @@ foo1: # @foo1 i64.const $push0=, -4611686016279904256 i64.lt_s $push1=, $0, $pop0 i32.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo1, .Lfunc_end0-foo1 @@ -31,7 +31,7 @@ foo2: # @foo2 i64.const $push0=, -4611686016279904256 i64.lt_u $push1=, $0, $pop0 i32.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size foo2, .Lfunc_end1-foo2 diff --git a/test/torture-s/941021-1.c.s b/test/torture-s/941021-1.c.s index 4135ee359..242baa4a2 100644 --- a/test/torture-s/941021-1.c.s +++ b/test/torture-s/941021-1.c.s @@ -11,7 +11,8 @@ f: # @f i32.const $push0=, glob_dbl i32.select $push1=, $0, $pop0, $0 f64.store $drop=, 0($pop1), $1 - return $0 + copy_local $push2=, $0 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/941025-1.c.s b/test/torture-s/941025-1.c.s index de6c8026b..fec8bc797 100644 --- a/test/torture-s/941025-1.c.s +++ b/test/torture-s/941025-1.c.s @@ -13,7 +13,7 @@ f: # @f i32.const $push4=, 1 i32.gt_s $push1=, $0, $pop4 i32.select $push3=, $1, $pop2, $pop1 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/941031-1.c.s b/test/torture-s/941031-1.c.s index 429df5c9f..e4dd9ee8c 100644 --- a/test/torture-s/941031-1.c.s +++ b/test/torture-s/941031-1.c.s @@ -14,7 +14,7 @@ f: # @f tee_local $push3=, $2=, $pop4 i32.add $push1=, $1, $pop3 i32.xor $push2=, $pop1, $2 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/941101-1.c.s b/test/torture-s/941101-1.c.s index f5fe7b2eb..578fb6607 100644 --- a/test/torture-s/941101-1.c.s +++ b/test/torture-s/941101-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/941110-1.c.s b/test/torture-s/941110-1.c.s index ef1df0910..e955fefbe 100644 --- a/test/torture-s/941110-1.c.s +++ b/test/torture-s/941110-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/950221-1.c.s b/test/torture-s/950221-1.c.s index 002eb9e45..469a20ccb 100644 --- a/test/torture-s/950221-1.c.s +++ b/test/torture-s/950221-1.c.s @@ -9,7 +9,8 @@ g1: # @g1 .result i32 .local i32 # BB#0: # %entry - return $2 + copy_local $push0=, $2 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g1, .Lfunc_end0-g1 @@ -73,16 +74,14 @@ f: # @f .type main,@function main: # @main .result i32 - .local i32 # BB#0: # %alabel.i - i32.const $push1=, 0 - i32.load $0=, parsefile($pop1) - i32.const $push4=, 0 - i32.const $push3=, 0 - i32.store $drop=, el($pop4), $pop3 - i32.const $push2=, -559038737 - i32.store $push0=, 0($0), $pop2 - i32.call $drop=, g2@FUNCTION, $pop0 + i32.const $push2=, 0 + i32.const $push5=, 0 + i32.store $push0=, el($pop2), $pop5 + i32.load $push3=, parsefile($pop0) + i32.const $push4=, -559038737 + i32.store $push1=, 0($pop3), $pop4 + i32.call $drop=, g2@FUNCTION, $pop1 unreachable .endfunc .Lfunc_end3: diff --git a/test/torture-s/950322-1.c.s b/test/torture-s/950322-1.c.s index 71fbbab5d..f92c64abe 100644 --- a/test/torture-s/950322-1.c.s +++ b/test/torture-s/950322-1.c.s @@ -11,16 +11,17 @@ f: # @f # BB#0: # %entry i32.load8_u $push1=, 0($0) i32.load8_u $push0=, 1($0) - i32.sub $0=, $pop1, $pop0 + i32.sub $push11=, $pop1, $pop0 + tee_local $push10=, $0=, $pop11 i32.const $push2=, 31 i32.shr_s $push9=, $0, $pop2 tee_local $push8=, $1=, $pop9 - i32.add $push3=, $0, $pop8 + i32.add $push3=, $pop10, $pop8 i32.xor $push4=, $pop3, $1 i32.const $push7=, 31 i32.shr_u $push5=, $0, $pop7 i32.add $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/950426-1.c.s b/test/torture-s/950426-1.c.s index 9d1e4bca0..3456c94ab 100644 --- a/test/torture-s/950426-1.c.s +++ b/test/torture-s/950426-1.c.s @@ -8,11 +8,11 @@ main: # @main .result i32 # BB#0: # %if.then i32.const $push1=, 0 - i32.const $push0=, -1 - i32.store $drop=, s1($pop1), $pop0 + i32.const $push0=, s1 + i32.store $drop=, p1($pop1), $pop0 i32.const $push8=, 0 - i32.const $push2=, s1 - i32.store $drop=, p1($pop8), $pop2 + i32.const $push2=, -1 + i32.store $drop=, s1($pop8), $pop2 i32.const $push7=, 0 i32.const $push3=, 3 i32.store $drop=, i($pop7), $pop3 @@ -35,7 +35,7 @@ func1: # @func1 .result i32 # BB#0: # %entry i32.load $push0=, 0($0) - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size func1, .Lfunc_end1-func1 @@ -49,7 +49,8 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size foo, .Lfunc_end2-foo diff --git a/test/torture-s/950512-1.c.s b/test/torture-s/950512-1.c.s index fe6bce917..9f0a1b006 100644 --- a/test/torture-s/950512-1.c.s +++ b/test/torture-s/950512-1.c.s @@ -11,7 +11,7 @@ f1: # @f1 i32.const $push1=, 2147483647 i32.const $push0=, 2147483646 i32.select $push2=, $pop1, $pop0, $0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -27,7 +27,7 @@ f2: # @f2 i64.const $push1=, 9223372036854775807 i64.const $push0=, 9223372036854775806 i64.select $push2=, $pop1, $pop0, $0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 diff --git a/test/torture-s/950607-2.c.s b/test/torture-s/950607-2.c.s index 2746b8945..249d8b60d 100644 --- a/test/torture-s/950607-2.c.s +++ b/test/torture-s/950607-2.c.s @@ -7,38 +7,38 @@ f: # @f .param i32, i32, i32 .result i32 - .local i64, i32 + .local i32, i64 # BB#0: # %entry i32.const $push20=, 0 - i32.const $push18=, 1 - i32.const $push17=, 2 - i32.load $push3=, 4($2) + i32.const $push17=, 1 + i32.const $push16=, 2 + i32.load $push10=, 4($2) i32.load $push28=, 4($0) - tee_local $push27=, $4=, $pop28 - i32.sub $push4=, $pop3, $pop27 - i64.extend_s/i32 $push5=, $pop4 - i32.load $push0=, 0($1) + tee_local $push27=, $3=, $pop28 + i32.sub $push11=, $pop10, $pop27 + i64.extend_s/i32 $push12=, $pop11 + i32.load $push7=, 0($1) i32.load $push26=, 0($0) tee_local $push25=, $0=, $pop26 - i32.sub $push1=, $pop0, $pop25 - i64.extend_s/i32 $push2=, $pop1 - i64.mul $push6=, $pop5, $pop2 - i32.load $push10=, 0($2) - i32.sub $push11=, $pop10, $0 - i64.extend_s/i32 $push12=, $pop11 - i32.load $push7=, 4($1) - i32.sub $push8=, $pop7, $4 + i32.sub $push8=, $pop7, $pop25 i64.extend_s/i32 $push9=, $pop8 i64.mul $push13=, $pop12, $pop9 - i64.sub $push24=, $pop6, $pop13 - tee_local $push23=, $3=, $pop24 + i32.load $push3=, 0($2) + i32.sub $push4=, $pop3, $0 + i64.extend_s/i32 $push5=, $pop4 + i32.load $push0=, 4($1) + i32.sub $push1=, $pop0, $3 + i64.extend_s/i32 $push2=, $pop1 + i64.mul $push6=, $pop5, $pop2 + i64.sub $push24=, $pop13, $pop6 + tee_local $push23=, $4=, $pop24 i64.const $push14=, 0 - i64.lt_s $push16=, $pop23, $pop14 - i32.select $push19=, $pop18, $pop17, $pop16 + i64.lt_s $push15=, $pop23, $pop14 + i32.select $push18=, $pop17, $pop16, $pop15 i64.const $push22=, 0 - i64.gt_s $push15=, $3, $pop22 - i32.select $push21=, $pop20, $pop19, $pop15 - return $pop21 + i64.gt_s $push19=, $4, $pop22 + i32.select $push21=, $pop20, $pop18, $pop19 + # fallthrough-return: $pop21 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/950612-1.c.s b/test/torture-s/950612-1.c.s index dc06f30cd..a695c18e4 100644 --- a/test/torture-s/950612-1.c.s +++ b/test/torture-s/950612-1.c.s @@ -14,7 +14,7 @@ f1: # @f1 tee_local $push3=, $1=, $pop4 i32.add $push1=, $0, $pop3 i32.xor $push2=, $pop1, $1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -33,7 +33,7 @@ f2: # @f2 tee_local $push3=, $1=, $pop4 i32.add $push1=, $0, $pop3 i32.xor $push2=, $pop1, $1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -52,7 +52,7 @@ f3: # @f3 tee_local $push3=, $1=, $pop4 i64.add $push1=, $0, $pop3 i64.xor $push2=, $pop1, $1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -71,7 +71,7 @@ f4: # @f4 tee_local $push3=, $1=, $pop4 i64.add $push1=, $0, $pop3 i64.xor $push2=, $pop1, $1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 diff --git a/test/torture-s/950621-1.c.s b/test/torture-s/950621-1.c.s index 200704d93..7e45de479 100644 --- a/test/torture-s/950621-1.c.s +++ b/test/torture-s/950621-1.c.s @@ -24,7 +24,8 @@ f: # @f i32.eq $1=, $pop2, $pop4 .LBB0_3: # %land.end end_block # label0: - return $1 + copy_local $push6=, $1 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/950628-1.c.s b/test/torture-s/950628-1.c.s index b2f12422c..2af8fd79e 100644 --- a/test/torture-s/950628-1.c.s +++ b/test/torture-s/950628-1.c.s @@ -7,13 +7,13 @@ g: # @g .param i32 # BB#0: # %entry - i32.const $push0=, 513 - i32.store16 $drop=, 0($0), $pop0 - i32.const $push1=, 3 - i32.store8 $drop=, 2($0), $pop1 + i32.const $push0=, 3 + i32.store8 $drop=, 2($0), $pop0 + i32.const $push1=, 513 + i32.store16 $drop=, 0($0), $pop1 i32.const $push2=, 4 i32.store16 $drop=, 4($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -25,13 +25,13 @@ g: # @g f: # @f .param i32 # BB#0: # %entry - i32.const $push0=, 513 - i32.store16 $drop=, 0($0), $pop0 - i32.const $push1=, 3 - i32.store8 $drop=, 2($0), $pop1 + i32.const $push0=, 3 + i32.store8 $drop=, 2($0), $pop0 + i32.const $push1=, 513 + i32.store16 $drop=, 0($0), $pop1 i32.const $push2=, 4 i32.store16 $drop=, 4($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/950704-1.c.s b/test/torture-s/950704-1.c.s index c71cf546e..e1c6c6de9 100644 --- a/test/torture-s/950704-1.c.s +++ b/test/torture-s/950704-1.c.s @@ -39,13 +39,14 @@ f: # @f br_if 1, $pop4 # 1: down to label0 .LBB0_5: # %if.end9 end_block # label1: - i32.const $push8=, 0 - i32.const $push9=, 1 - i32.store $drop=, errflag($pop8), $pop9 + i32.const $push9=, 0 + i32.const $push8=, 1 + i32.store $drop=, errflag($pop9), $pop8 i64.const $2=, 0 .LBB0_6: # %cleanup end_block # label0: - return $2 + copy_local $push14=, $2 + # fallthrough-return: $pop14 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/950706-1.c.s b/test/torture-s/950706-1.c.s index 51fc9f20a..9157ef74d 100644 --- a/test/torture-s/950706-1.c.s +++ b/test/torture-s/950706-1.c.s @@ -8,12 +8,12 @@ f: # @f .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.gt_s $push1=, $0, $pop0 - i32.const $push2=, 31 - i32.shr_u $push3=, $0, $pop2 - i32.sub $push4=, $pop1, $pop3 - return $pop4 + i32.const $push2=, 0 + i32.gt_s $push3=, $0, $pop2 + i32.const $push0=, 31 + i32.shr_u $push1=, $0, $pop0 + i32.sub $push4=, $pop3, $pop1 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/950710-1.c.s b/test/torture-s/950710-1.c.s index 8878bfb35..44ef2ebf0 100644 --- a/test/torture-s/950710-1.c.s +++ b/test/torture-s/950710-1.c.s @@ -7,7 +7,7 @@ g: # @g .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -18,23 +18,25 @@ g: # @g .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + block + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 32 i32.sub $push12=, $pop7, $pop8 - i32.store $0=, 0($pop9), $pop12 + i32.store $push18=, __stack_pointer($pop9), $pop12 + tee_local $push17=, $0=, $pop18 i32.const $push10=, 16 i32.add $push11=, $0, $pop10 - i32.sub $0=, $0, $pop11 - block + i32.sub $push16=, $pop17, $pop11 + tee_local $push15=, $0=, $pop16 i32.const $push0=, 31 i32.shr_s $push14=, $0, $pop0 - tee_local $push13=, $1=, $pop14 - i32.add $push1=, $0, $pop13 - i32.xor $push2=, $pop1, $1 + tee_local $push13=, $0=, $pop14 + i32.add $push1=, $pop15, $pop13 + i32.xor $push2=, $pop1, $0 i32.const $push3=, 11 i32.gt_u $push4=, $pop2, $pop3 br_if 0, $pop4 # 0: down to label0 diff --git a/test/torture-s/950714-1.c.s b/test/torture-s/950714-1.c.s index 4d28621fe..5a0c3e5f6 100644 --- a/test/torture-s/950714-1.c.s +++ b/test/torture-s/950714-1.c.s @@ -10,23 +10,23 @@ main: # @main # BB#0: # %entry i32.const $9=, 0 i32.const $push21=, 0 - i32.load $0=, array($pop21) + i32.load $8=, array+32($pop21) i32.const $push20=, 0 - i32.load $1=, array+4($pop20) + i32.load $7=, array+28($pop20) i32.const $push19=, 0 - i32.load $2=, array+8($pop19) + i32.load $6=, array+24($pop19) i32.const $push18=, 0 - i32.load $3=, array+12($pop18) + i32.load $5=, array+20($pop18) i32.const $push17=, 0 i32.load $4=, array+16($pop17) i32.const $push16=, 0 - i32.load $5=, array+20($pop16) + i32.load $3=, array+12($pop16) i32.const $push15=, 0 - i32.load $6=, array+24($pop15) + i32.load $2=, array+8($pop15) i32.const $push14=, 0 - i32.load $7=, array+28($pop14) + i32.load $1=, array+4($pop14) i32.const $push13=, 0 - i32.load $8=, array+32($pop13) + i32.load $0=, array($pop13) .LBB0_1: # %for.cond1.preheader # =>This Inner Loop Header: Depth=1 block @@ -67,10 +67,11 @@ main: # @main br_if 1, $pop8 # 1: down to label2 # BB#10: # %for.cond1.8 # in Loop: Header=BB0_1 Depth=1 - i32.const $push23=, 1 - i32.add $9=, $9, $pop23 + i32.const $push25=, 1 + i32.add $push24=, $9, $pop25 + tee_local $push23=, $9=, $pop24 i32.const $push22=, 10 - i32.lt_s $push9=, $9, $pop22 + i32.lt_s $push9=, $pop23, $pop22 br_if 0, $pop9 # 0: up to label1 br 2 # 2: down to label0 .LBB0_11: # %label diff --git a/test/torture-s/950809-1.c.s b/test/torture-s/950809-1.c.s index d34976fd9..4f957d8e3 100644 --- a/test/torture-s/950809-1.c.s +++ b/test/torture-s/950809-1.c.s @@ -7,25 +7,26 @@ f: # @f .param i32 .result i32 - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.load $push5=, 8($0) - tee_local $push4=, $6=, $pop5 - i32.load $2=, 8($pop4) - i32.const $push1=, 16 - i32.add $push3=, $0, $pop1 - tee_local $push2=, $5=, $pop3 - i32.load $4=, 0($pop2) + i32.const $push0=, 16 + i32.add $push5=, $0, $pop0 + tee_local $push4=, $1=, $pop5 + i32.load $2=, 0($pop4) i32.load $3=, 12($0) - i32.load $push0=, 0($6) - i32.store $drop=, 8($6), $pop0 - i32.load $1=, 4($6) - i32.store $drop=, 0($6), $4 - i32.store $drop=, 0($5), $3 - i32.store $drop=, 12($0), $2 - i32.store $drop=, 4($0), $1 - i32.store $drop=, 0($0), $6 - return $0 + i32.load $push3=, 8($0) + tee_local $push2=, $4=, $pop3 + i32.load $5=, 8($pop2) + i32.load $push1=, 0($4) + i32.store $drop=, 8($4), $pop1 + i32.store $drop=, 0($4), $2 + i32.load $2=, 4($4) + i32.store $drop=, 12($0), $5 + i32.store $drop=, 0($1), $3 + i32.store $drop=, 4($0), $2 + i32.store $drop=, 0($0), $4 + copy_local $push6=, $0 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -39,15 +40,15 @@ main: # @main .local i32 # BB#0: # %entry i32.const $push6=, 0 - i32.load $0=, main.sc($pop6) i32.const $push5=, 0 + i32.load $push0=, main.sc($pop5) + i32.store $0=, main.sc+8($pop6), $pop0 + i32.const $push4=, 0 i32.const $push1=, 11 - i32.store $drop=, main.sc($pop5), $pop1 + i32.store $drop=, main.sc($pop4), $pop1 block - i32.const $push4=, 0 - i32.store $push0=, main.sc+8($pop4), $0 i32.const $push2=, 2 - i32.ne $push3=, $pop0, $pop2 + i32.ne $push3=, $0, $pop2 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push7=, 0 diff --git a/test/torture-s/950906-1.c.s b/test/torture-s/950906-1.c.s index e6a84d98b..ba4a5c709 100644 --- a/test/torture-s/950906-1.c.s +++ b/test/torture-s/950906-1.c.s @@ -9,7 +9,8 @@ g: # @g .result i32 .local i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -23,7 +24,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/950915-1.c.s b/test/torture-s/950915-1.c.s index 575f3fd6a..97312f4c5 100644 --- a/test/torture-s/950915-1.c.s +++ b/test/torture-s/950915-1.c.s @@ -15,7 +15,7 @@ f: # @f i64.const $push4=, 16 i64.shr_u $push5=, $pop3, $pop4 i32.wrap/i64 $push6=, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/950929-1.c.s b/test/torture-s/950929-1.c.s index 29dae0ceb..2aafb1257 100644 --- a/test/torture-s/950929-1.c.s +++ b/test/torture-s/950929-1.c.s @@ -9,7 +9,8 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - return $1 + copy_local $push0=, $1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/951003-1.c.s b/test/torture-s/951003-1.c.s index a61c4b1b0..f41309c4d 100644 --- a/test/torture-s/951003-1.c.s +++ b/test/torture-s/951003-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 12 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -22,7 +22,7 @@ g: # @g .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size g, .Lfunc_end1-g diff --git a/test/torture-s/951115-1.c.s b/test/torture-s/951115-1.c.s index af7cb11c7..7a6e05ea1 100644 --- a/test/torture-s/951115-1.c.s +++ b/test/torture-s/951115-1.c.s @@ -8,10 +8,11 @@ g: # @g .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 1 - i32.store $drop=, var($pop0), $pop1 - return $0 + i32.const $push1=, 0 + i32.const $push0=, 1 + i32.store $drop=, var($pop1), $pop0 + copy_local $push2=, $0 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -24,10 +25,11 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 1 - i32.store $drop=, var($pop0), $pop1 - return $0 + i32.const $push1=, 0 + i32.const $push0=, 1 + i32.store $drop=, var($pop1), $pop0 + copy_local $push2=, $0 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/951204-1.c.s b/test/torture-s/951204-1.c.s index 648f7e1fa..0b809cbdf 100644 --- a/test/torture-s/951204-1.c.s +++ b/test/torture-s/951204-1.c.s @@ -10,7 +10,8 @@ f: # @f # BB#0: # %entry i32.const $push0=, 120 i32.store8 $drop=, 0($0), $pop0 - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/960116-1.c.s b/test/torture-s/960116-1.c.s index 418b610ec..649059883 100644 --- a/test/torture-s/960116-1.c.s +++ b/test/torture-s/960116-1.c.s @@ -23,7 +23,8 @@ f: # @f i32.const $1=, 0 .LBB0_3: # %return end_block # label0: - return $1 + copy_local $push3=, $1 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/960117-1.c.s b/test/torture-s/960117-1.c.s index a2d38c932..3f67d622c 100644 --- a/test/torture-s/960117-1.c.s +++ b/test/torture-s/960117-1.c.s @@ -12,7 +12,7 @@ get_id: # @get_id i32.load $push1=, curval+2($pop0):p2align=1 i32.store8 $drop=, 0($pop1), $0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size get_id, .Lfunc_end0-get_id @@ -33,7 +33,7 @@ get_tok: # @get_tok i32.const $push5=, 0 i32.const $push4=, 0 i32.store16 $push0=, curval($pop5), $pop4 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size get_tok, .Lfunc_end1-get_tok diff --git a/test/torture-s/960209-1.c.s b/test/torture-s/960209-1.c.s index 85a62fcef..23dd7f8ce 100644 --- a/test/torture-s/960209-1.c.s +++ b/test/torture-s/960209-1.c.s @@ -8,13 +8,13 @@ f: # @f .param i32, i32 .result i32 # BB#0: # %entry - i32.const $push1=, -1 + i32.const $push0=, -1 i32.const $push7=, 0 - i32.select $1=, $pop1, $pop7, $1 + i32.select $1=, $pop0, $pop7, $1 block i32.const $push6=, 0 - i32.load $push0=, yabba($pop6) - br_if 0, $pop0 # 0: down to label0 + i32.load $push1=, yabba($pop6) + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end24 i32.const $push8=, 0 i32.const $push2=, 255 @@ -24,7 +24,8 @@ f: # @f i32.store $drop=, a_ptr($pop8), $pop5 .LBB0_2: # %cleanup end_block # label0: - return $1 + copy_local $push9=, $1 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/960215-1.c.s b/test/torture-s/960215-1.c.s index b894e21f9..ab904a8c5 100644 --- a/test/torture-s/960215-1.c.s +++ b/test/torture-s/960215-1.c.s @@ -6,264 +6,270 @@ .type main,@function main: # @main .result i32 - .local i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32 + .local i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 # BB#0: # %entry - i32.const $push41=, __stack_pointer - i32.const $push38=, __stack_pointer - i32.load $push39=, 0($pop38) - i32.const $push40=, 320 - i32.sub $push118=, $pop39, $pop40 - i32.store $push190=, 0($pop41), $pop118 - tee_local $push189=, $16=, $pop190 - i32.const $push42=, 304 - i32.add $push43=, $pop189, $pop42 - i32.const $push188=, 0 - i64.load $push187=, C($pop188) - tee_local $push186=, $2=, $pop187 - i32.const $push185=, 0 - i64.load $push184=, C+8($pop185) - tee_local $push183=, $3=, $pop184 - i32.const $push182=, 0 - i64.load $push181=, U($pop182) - tee_local $push180=, $15=, $pop181 - i32.const $push179=, 0 - i64.load $push178=, U+8($pop179) - tee_local $push177=, $14=, $pop178 - call __addtf3@FUNCTION, $pop43, $pop186, $pop183, $pop180, $pop177 - i32.const $push46=, 192 - i32.add $push47=, $16, $pop46 - i64.load $push176=, 304($16) - tee_local $push175=, $9=, $pop176 - i32.const $push44=, 304 - i32.add $push45=, $16, $pop44 + i32.const $push56=, 0 + i32.const $push53=, 0 + i32.load $push54=, __stack_pointer($pop53) + i32.const $push55=, 320 + i32.sub $push133=, $pop54, $pop55 + i32.store $push217=, __stack_pointer($pop56), $pop133 + tee_local $push216=, $0=, $pop217 + i32.const $push57=, 304 + i32.add $push58=, $pop216, $pop57 + i32.const $push215=, 0 + i64.load $push214=, C($pop215) + tee_local $push213=, $6=, $pop214 + i32.const $push212=, 0 + i64.load $push211=, C+8($pop212) + tee_local $push210=, $5=, $pop211 + i32.const $push209=, 0 + i64.load $push208=, U($pop209) + tee_local $push207=, $2=, $pop208 + i32.const $push206=, 0 + i64.load $push205=, U+8($pop206) + tee_local $push204=, $1=, $pop205 + call __addtf3@FUNCTION, $pop58, $pop213, $pop210, $pop207, $pop204 + i32.const $push59=, 240 + i32.add $push60=, $0, $pop59 + call __subtf3@FUNCTION, $pop60, $6, $5, $2, $1 + i32.const $push63=, 288 + i32.add $push64=, $0, $pop63 + i64.load $push203=, 304($0) + tee_local $push202=, $8=, $pop203 + i32.const $push61=, 304 + i32.add $push62=, $0, $pop61 i32.const $push0=, 8 - i32.add $push1=, $pop45, $pop0 - i64.load $push174=, 0($pop1) - tee_local $push173=, $8=, $pop174 - i32.const $push172=, 0 - i64.load $push171=, Y2($pop172) - tee_local $push170=, $13=, $pop171 - i32.const $push169=, 0 - i64.load $push168=, Y2+8($pop169) - tee_local $push167=, $12=, $pop168 - call __multf3@FUNCTION, $pop47, $pop175, $pop173, $pop170, $pop167 - i32.const $push48=, 192 - i32.add $push49=, $16, $pop48 + i32.add $push1=, $pop62, $pop0 + i64.load $push201=, 0($pop1) + tee_local $push200=, $7=, $pop201 + call __addtf3@FUNCTION, $pop64, $2, $1, $pop202, $pop200 + i32.const $push67=, 224 + i32.add $push68=, $0, $pop67 + i64.load $push199=, 240($0) + tee_local $push198=, $10=, $pop199 + i32.const $push65=, 240 + i32.add $push66=, $0, $pop65 + i32.const $push197=, 8 + i32.add $push2=, $pop66, $pop197 + i64.load $push196=, 0($pop2) + tee_local $push195=, $9=, $pop196 + call __subtf3@FUNCTION, $pop68, $pop198, $pop195, $2, $1 + i32.const $push71=, 272 + i32.add $push72=, $0, $pop71 + i64.load $push194=, 288($0) + tee_local $push193=, $4=, $pop194 + i32.const $push69=, 288 + i32.add $push70=, $0, $pop69 + i32.const $push192=, 8 + i32.add $push3=, $pop70, $pop192 + i64.load $push191=, 0($pop3) + tee_local $push190=, $3=, $pop191 + call __addtf3@FUNCTION, $pop72, $pop193, $pop190, $2, $1 + i32.const $push73=, 128 + i32.add $push74=, $0, $pop73 + i32.const $push189=, 0 + i64.load $push188=, Y2($pop189) + tee_local $push187=, $6=, $pop188 + i32.const $push186=, 0 + i64.load $push185=, Y2+8($pop186) + tee_local $push184=, $5=, $pop185 + call __addtf3@FUNCTION, $pop74, $2, $1, $pop187, $pop184 + i32.const $push75=, 192 + i32.add $push76=, $0, $pop75 + call __multf3@FUNCTION, $pop76, $8, $7, $6, $5 + i32.const $push77=, 112 + i32.add $push78=, $0, $pop77 + i32.const $push183=, 0 + i64.load $push182=, Y1($pop183) + tee_local $push181=, $8=, $pop182 + i32.const $push180=, 0 + i64.load $push179=, Y1+8($pop180) + tee_local $push178=, $7=, $pop179 + call __multf3@FUNCTION, $pop78, $10, $9, $pop181, $pop178 + i32.const $push81=, 80 + i32.add $push82=, $0, $pop81 + i64.load $push177=, 224($0) + tee_local $push176=, $10=, $pop177 + i32.const $push79=, 224 + i32.add $push80=, $0, $pop79 + i32.const $push175=, 8 + i32.add $push4=, $pop80, $pop175 + i64.load $push174=, 0($pop4) + tee_local $push173=, $9=, $pop174 + call __multf3@FUNCTION, $pop82, $pop176, $pop173, $8, $7 + i32.const $push83=, 208 + i32.add $push84=, $0, $pop83 + call __subtf3@FUNCTION, $pop84, $2, $1, $10, $9 + i32.const $push85=, 160 + i32.add $push86=, $0, $pop85 + call __multf3@FUNCTION, $pop86, $4, $3, $6, $5 + i32.const $push89=, 256 + i32.add $push90=, $0, $pop89 + i64.load $push172=, 272($0) + tee_local $push171=, $4=, $pop172 + i32.const $push87=, 272 + i32.add $push88=, $0, $pop87 + i32.const $push170=, 8 + i32.add $push5=, $pop88, $pop170 + i64.load $push169=, 0($pop5) + tee_local $push168=, $3=, $pop169 + call __addtf3@FUNCTION, $pop90, $2, $1, $pop171, $pop168 + i32.const $push93=, 48 + i32.add $push94=, $0, $pop93 + i64.load $push8=, 128($0) + i32.const $push91=, 128 + i32.add $push92=, $0, $pop91 + i32.const $push167=, 8 + i32.add $push6=, $pop92, $pop167 + i64.load $push7=, 0($pop6) + call __multf3@FUNCTION, $pop94, $pop8, $pop7, $8, $7 + i32.const $push95=, 16 + i32.add $push96=, $0, $pop95 + call __multf3@FUNCTION, $pop96, $6, $5, $8, $7 + i32.const $push99=, 176 + i32.add $push100=, $0, $pop99 + i64.load $push11=, 192($0) + i32.const $push97=, 192 + i32.add $push98=, $0, $pop97 i32.const $push166=, 8 - i32.add $push2=, $pop49, $pop166 - i64.load $0=, 0($pop2) - i64.load $1=, 192($16) - i32.const $push50=, 240 - i32.add $push51=, $16, $pop50 - call __subtf3@FUNCTION, $pop51, $2, $3, $15, $14 - i32.const $push54=, 224 - i32.add $push55=, $16, $pop54 - i64.load $push165=, 240($16) - tee_local $push164=, $11=, $pop165 - i32.const $push52=, 240 - i32.add $push53=, $16, $pop52 + i32.add $push9=, $pop98, $pop166 + i64.load $push10=, 0($pop9) + call __subtf3@FUNCTION, $pop100, $pop11, $pop10, $4, $3 + i32.const $push103=, 96 + i32.add $push104=, $0, $pop103 + i64.load $push14=, 112($0) + i32.const $push101=, 112 + i32.add $push102=, $0, $pop101 + i32.const $push165=, 8 + i32.add $push12=, $pop102, $pop165 + i64.load $push13=, 0($pop12) + call __subtf3@FUNCTION, $pop104, $pop14, $pop13, $10, $9 + i32.const $push109=, 64 + i32.add $push110=, $0, $pop109 + i64.load $push20=, 208($0) + i32.const $push107=, 208 + i32.add $push108=, $0, $pop107 + i32.const $push164=, 8 + i32.add $push17=, $pop108, $pop164 + i64.load $push18=, 0($pop17) + i64.load $push19=, 80($0) + i32.const $push105=, 80 + i32.add $push106=, $0, $pop105 i32.const $push163=, 8 - i32.add $push3=, $pop53, $pop163 - i64.load $push162=, 0($pop3) - tee_local $push161=, $10=, $pop162 - call __subtf3@FUNCTION, $pop55, $pop164, $pop161, $15, $14 - i32.const $push56=, 224 - i32.add $push57=, $16, $pop56 + i32.add $push15=, $pop106, $pop163 + i64.load $push16=, 0($pop15) + call __addtf3@FUNCTION, $pop110, $pop20, $pop18, $pop19, $pop16 + i32.const $push115=, 144 + i32.add $push116=, $0, $pop115 + i64.load $push162=, 160($0) + tee_local $push161=, $2=, $pop162 + i32.const $push111=, 160 + i32.add $push112=, $0, $pop111 i32.const $push160=, 8 - i32.add $push4=, $pop57, $pop160 - i64.load $2=, 0($pop4) - i64.load $3=, 224($16) - i32.const $push58=, 288 - i32.add $push59=, $16, $pop58 - call __addtf3@FUNCTION, $pop59, $15, $14, $9, $8 - i32.const $push60=, 288 - i32.add $push61=, $16, $pop60 - i32.const $push159=, 8 - i32.add $push5=, $pop61, $pop159 - i64.load $4=, 0($pop5) - i64.load $5=, 288($16) - i32.const $push62=, 112 - i32.add $push63=, $16, $pop62 - i32.const $push158=, 0 - i64.load $push157=, Y1($pop158) - tee_local $push156=, $9=, $pop157 - i32.const $push155=, 0 - i64.load $push154=, Y1+8($pop155) - tee_local $push153=, $8=, $pop154 - call __multf3@FUNCTION, $pop63, $11, $10, $pop156, $pop153 - i32.const $push64=, 112 - i32.add $push65=, $16, $pop64 - i32.const $push152=, 8 - i32.add $push6=, $pop65, $pop152 - i64.load $11=, 0($pop6) - i64.load $10=, 112($16) - i32.const $push66=, 272 - i32.add $push67=, $16, $pop66 - call __addtf3@FUNCTION, $pop67, $5, $4, $15, $14 - i32.const $push70=, 176 - i32.add $push71=, $16, $pop70 - i64.load $push151=, 272($16) - tee_local $push150=, $7=, $pop151 - i32.const $push68=, 272 - i32.add $push69=, $16, $pop68 - i32.const $push149=, 8 - i32.add $push7=, $pop69, $pop149 - i64.load $push148=, 0($pop7) - tee_local $push147=, $6=, $pop148 - call __subtf3@FUNCTION, $pop71, $1, $0, $pop150, $pop147 - i64.load $0=, 176($16) + i32.add $push21=, $pop112, $pop160 + i64.load $push159=, 0($pop21) + tee_local $push158=, $1=, $pop159 + i64.load $push24=, 256($0) + i32.const $push113=, 256 + i32.add $push114=, $0, $pop113 + i32.const $push157=, 8 + i32.add $push22=, $pop114, $pop157 + i64.load $push23=, 0($pop22) + call __subtf3@FUNCTION, $pop116, $pop161, $pop158, $pop24, $pop23 + i32.const $push119=, 32 + i32.add $push120=, $0, $pop119 + i64.load $push27=, 48($0) + i32.const $push117=, 48 + i32.add $push118=, $0, $pop117 + i32.const $push156=, 8 + i32.add $push25=, $pop118, $pop156 + i64.load $push26=, 0($pop25) + call __subtf3@FUNCTION, $pop120, $pop27, $pop26, $6, $5 + i64.load $push32=, 16($0) + i32.const $push121=, 16 + i32.add $push122=, $0, $pop121 + i32.const $push155=, 8 + i32.add $push28=, $pop122, $pop155 + i64.load $push29=, 0($pop28) + i64.const $push31=, 0 + i64.const $push30=, -4612248968380809216 + call __addtf3@FUNCTION, $0, $pop32, $pop29, $pop31, $pop30 + i32.const $push154=, 0 + i64.store $drop=, S+8($pop154), $1 + i32.const $push153=, 0 + i64.store $drop=, S($pop153), $2 + i32.const $push152=, 0 + i32.const $push123=, 176 + i32.add $push124=, $0, $pop123 + i32.const $push151=, 8 + i32.add $push33=, $pop124, $pop151 + i64.load $push34=, 0($pop33) + i64.store $drop=, X+8($pop152), $pop34 + i32.const $push150=, 0 + i64.load $push35=, 176($0) + i64.store $drop=, X($pop150), $pop35 + i32.const $push149=, 0 + i32.const $push125=, 96 + i32.add $push126=, $0, $pop125 + i32.const $push148=, 8 + i32.add $push36=, $pop126, $pop148 + i64.load $push37=, 0($pop36) + i64.store $drop=, T+8($pop149), $pop37 + i32.const $push147=, 0 + i64.load $push38=, 96($0) + i64.store $drop=, T($pop147), $pop38 i32.const $push146=, 0 - i32.const $push72=, 176 - i32.add $push73=, $16, $pop72 + i32.const $push127=, 64 + i32.add $push128=, $0, $pop127 i32.const $push145=, 8 - i32.add $push8=, $pop73, $pop145 - i64.load $push9=, 0($pop8) - i64.store $drop=, X+8($pop146), $pop9 + i32.add $push39=, $pop128, $pop145 + i64.load $push40=, 0($pop39) + i64.store $drop=, Y+8($pop146), $pop40 i32.const $push144=, 0 - i64.store $drop=, X($pop144), $0 - i32.const $push74=, 80 - i32.add $push75=, $16, $pop74 - call __multf3@FUNCTION, $pop75, $3, $2, $9, $8 - i32.const $push76=, 80 - i32.add $push77=, $16, $pop76 - i32.const $push143=, 8 - i32.add $push10=, $pop77, $pop143 - i64.load $0=, 0($pop10) - i64.load $1=, 80($16) - i32.const $push78=, 160 - i32.add $push79=, $16, $pop78 - call __multf3@FUNCTION, $pop79, $5, $4, $13, $12 - i64.load $4=, 160($16) - i32.const $push142=, 0 - i32.const $push80=, 160 - i32.add $push81=, $16, $pop80 - i32.const $push141=, 8 - i32.add $push11=, $pop81, $pop141 - i64.load $push12=, 0($pop11) - i64.store $5=, S+8($pop142), $pop12 + i64.load $push41=, 64($0) + i64.store $drop=, Y($pop144), $pop41 + i32.const $push143=, 0 + i32.const $push129=, 144 + i32.add $push130=, $0, $pop129 + i32.const $push142=, 8 + i32.add $push42=, $pop130, $pop142 + i64.load $push43=, 0($pop42) + i64.store $2=, Z+8($pop143), $pop43 + i32.const $push141=, 0 + i64.load $push44=, 144($0) + i64.store $1=, Z($pop141), $pop44 i32.const $push140=, 0 - i64.store $drop=, S($pop140), $4 - i32.const $push82=, 96 - i32.add $push83=, $16, $pop82 - call __subtf3@FUNCTION, $pop83, $10, $11, $3, $2 - i64.load $11=, 96($16) - i32.const $push139=, 0 - i32.const $push84=, 96 - i32.add $push85=, $16, $pop84 - i32.const $push138=, 8 - i32.add $push13=, $pop85, $pop138 - i64.load $push14=, 0($pop13) - i64.store $drop=, T+8($pop139), $pop14 + i32.const $push131=, 32 + i32.add $push132=, $0, $pop131 + i32.const $push139=, 8 + i32.add $push45=, $pop132, $pop139 + i64.load $push46=, 0($pop45) + i64.store $drop=, R+8($pop140), $pop46 + i32.const $push138=, 0 + i64.load $push47=, 32($0) + i64.store $drop=, R($pop138), $pop47 i32.const $push137=, 0 - i64.store $drop=, T($pop137), $11 - i32.const $push86=, 208 - i32.add $push87=, $16, $pop86 - call __subtf3@FUNCTION, $pop87, $15, $14, $3, $2 - i32.const $push90=, 64 - i32.add $push91=, $16, $pop90 - i64.load $push17=, 208($16) - i32.const $push88=, 208 - i32.add $push89=, $16, $pop88 i32.const $push136=, 8 - i32.add $push15=, $pop89, $pop136 - i64.load $push16=, 0($pop15) - call __addtf3@FUNCTION, $pop91, $pop17, $pop16, $1, $0 - i64.load $2=, 64($16) + i32.add $push48=, $0, $pop136 + i64.load $push49=, 0($pop48) + i64.store $drop=, Y1+8($pop137), $pop49 i32.const $push135=, 0 - i32.const $push92=, 64 - i32.add $push93=, $16, $pop92 - i32.const $push134=, 8 - i32.add $push18=, $pop93, $pop134 - i64.load $push19=, 0($pop18) - i64.store $drop=, Y+8($pop135), $pop19 - i32.const $push133=, 0 - i64.store $drop=, Y($pop133), $2 - i32.const $push94=, 256 - i32.add $push95=, $16, $pop94 - call __addtf3@FUNCTION, $pop95, $15, $14, $7, $6 - i32.const $push98=, 144 - i32.add $push99=, $16, $pop98 - i64.load $push22=, 256($16) - i32.const $push96=, 256 - i32.add $push97=, $16, $pop96 - i32.const $push132=, 8 - i32.add $push20=, $pop97, $pop132 - i64.load $push21=, 0($pop20) - call __subtf3@FUNCTION, $pop99, $4, $5, $pop22, $pop21 - i64.load $2=, 144($16) - i32.const $push131=, 0 - i32.const $push100=, 144 - i32.add $push101=, $16, $pop100 - i32.const $push130=, 8 - i32.add $push23=, $pop101, $pop130 - i64.load $push24=, 0($pop23) - i64.store $3=, Z+8($pop131), $pop24 - i32.const $push129=, 0 - i64.store $drop=, Z($pop129), $2 - i32.const $push102=, 128 - i32.add $push103=, $16, $pop102 - call __addtf3@FUNCTION, $pop103, $15, $14, $13, $12 - i32.const $push106=, 48 - i32.add $push107=, $16, $pop106 - i64.load $push27=, 128($16) - i32.const $push104=, 128 - i32.add $push105=, $16, $pop104 - i32.const $push128=, 8 - i32.add $push25=, $pop105, $pop128 - i64.load $push26=, 0($pop25) - call __multf3@FUNCTION, $pop107, $pop27, $pop26, $9, $8 - i32.const $push108=, 48 - i32.add $push109=, $16, $pop108 - i32.const $push127=, 8 - i32.add $push28=, $pop109, $pop127 - i64.load $15=, 0($pop28) - i64.load $14=, 48($16) - i32.const $push110=, 16 - i32.add $push111=, $16, $pop110 - call __multf3@FUNCTION, $pop111, $13, $12, $9, $8 - i32.const $push112=, 16 - i32.add $push113=, $16, $pop112 - i32.const $push126=, 8 - i32.add $push29=, $pop113, $pop126 - i64.load $9=, 0($pop29) - i64.load $8=, 16($16) - i32.const $push114=, 32 - i32.add $push115=, $16, $pop114 - call __subtf3@FUNCTION, $pop115, $14, $15, $13, $12 - i64.load $15=, 32($16) - i32.const $push125=, 0 - i32.const $push116=, 32 - i32.add $push117=, $16, $pop116 - i32.const $push124=, 8 - i32.add $push30=, $pop117, $pop124 - i64.load $push31=, 0($pop30) - i64.store $drop=, R+8($pop125), $pop31 - i32.const $push123=, 0 - i64.store $drop=, R($pop123), $15 - i64.const $push33=, 0 - i64.const $push32=, -4612248968380809216 - call __addtf3@FUNCTION, $16, $8, $9, $pop33, $pop32 - i64.load $15=, 0($16) - i32.const $push122=, 0 - i32.const $push121=, 8 - i32.add $push34=, $16, $pop121 - i64.load $push35=, 0($pop34) - i64.store $drop=, Y1+8($pop122), $pop35 - i32.const $push120=, 0 - i64.store $drop=, Y1($pop120), $15 + i64.load $push50=, 0($0) + i64.store $drop=, Y1($pop135), $pop50 block - i64.const $push119=, 0 - i64.const $push36=, 4612108230892453888 - i32.call $push37=, __eqtf2@FUNCTION, $2, $3, $pop119, $pop36 - i32.eqz $push192=, $pop37 - br_if 0, $pop192 # 0: down to label0 + i64.const $push134=, 0 + i64.const $push51=, 4612108230892453888 + i32.call $push52=, __eqtf2@FUNCTION, $1, $2, $pop134, $pop51 + i32.eqz $push219=, $pop52 + br_if 0, $pop219 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable .LBB0_2: # %if.end end_block # label0: - i32.const $push191=, 0 - call exit@FUNCTION, $pop191 + i32.const $push218=, 0 + call exit@FUNCTION, $pop218 unreachable .endfunc .Lfunc_end0: diff --git a/test/torture-s/960218-1.c.s b/test/torture-s/960218-1.c.s index c67a6d3fb..de0bf8451 100644 --- a/test/torture-s/960218-1.c.s +++ b/test/torture-s/960218-1.c.s @@ -11,7 +11,7 @@ g: # @g i32.const $push0=, 0 i32.store $drop=, glob($pop0), $0 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -35,7 +35,8 @@ f: # @f i32.store $drop=, glob($pop2), $pop1 .LBB1_2: # %while.end end_block # label0: - return $0 + copy_local $push5=, $0 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/960301-1.c.s b/test/torture-s/960301-1.c.s index b6659314a..1bebb0f01 100644 --- a/test/torture-s/960301-1.c.s +++ b/test/torture-s/960301-1.c.s @@ -26,7 +26,7 @@ bar: # @bar i32.const $push8=, 1 i32.const $push7=, 2 i32.select $push9=, $pop8, $pop7, $0 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar diff --git a/test/torture-s/960302-1.c.s b/test/torture-s/960302-1.c.s index 1e38c1051..e4f0f8c00 100644 --- a/test/torture-s/960302-1.c.s +++ b/test/torture-s/960302-1.c.s @@ -8,23 +8,19 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry + i32.const $push3=, 1 + i32.const $push5=, -1 i32.const $push0=, 0 - i32.load $0=, a($pop0) - i32.const $push6=, 1 - i32.const $push8=, -1 - i32.const $push1=, 31 - i32.shr_u $push2=, $0, $pop1 - i32.add $push3=, $0, $pop2 - i32.const $push4=, -2 - i32.and $push5=, $pop3, $pop4 - i32.sub $push14=, $0, $pop5 - tee_local $push13=, $0=, $pop14 - i32.const $push12=, 1 - i32.eq $push7=, $pop13, $pop12 - i32.select $push9=, $pop6, $pop8, $pop7 - i32.const $push11=, 0 - i32.select $push10=, $pop9, $pop11, $0 - return $pop10 + i32.load $push1=, a($pop0) + i32.const $push2=, 2 + i32.rem_s $push11=, $pop1, $pop2 + tee_local $push10=, $0=, $pop11 + i32.const $push9=, 1 + i32.eq $push4=, $pop10, $pop9 + i32.select $push6=, $pop3, $pop5, $pop4 + i32.const $push8=, 0 + i32.select $push7=, $pop6, $pop8, $0 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -35,23 +31,18 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32 # BB#0: # %entry - i32.const $push8=, 0 - i32.load $0=, a($pop8) block - i32.const $push0=, 31 - i32.shr_u $push1=, $0, $pop0 - i32.add $push2=, $0, $pop1 - i32.const $push3=, -2 - i32.and $push4=, $pop2, $pop3 - i32.sub $push5=, $0, $pop4 - i32.const $push6=, 1 - i32.ne $push7=, $pop5, $pop6 - br_if 0, $pop7 # 0: down to label0 + i32.const $push5=, 0 + i32.load $push0=, a($pop5) + i32.const $push1=, 2 + i32.rem_s $push2=, $pop0, $pop1 + i32.const $push3=, 1 + i32.ne $push4=, $pop2, $pop3 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end - i32.const $push9=, 0 - call exit@FUNCTION, $pop9 + i32.const $push6=, 0 + call exit@FUNCTION, $pop6 unreachable .LBB1_2: # %if.then end_block # label0: diff --git a/test/torture-s/960311-1.c.s b/test/torture-s/960311-1.c.s index 80f812f02..df6e58777 100644 --- a/test/torture-s/960311-1.c.s +++ b/test/torture-s/960311-1.c.s @@ -12,7 +12,7 @@ a1: # @a1 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store $drop=, count($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size a1, .Lfunc_end0-a1 @@ -66,7 +66,7 @@ b: # @b i32.store $drop=, count($pop14), $pop17 .LBB1_6: # %if.end15 end_block # label2: - return + # fallthrough-return .endfunc .Lfunc_end1: .size b, .Lfunc_end1-b diff --git a/test/torture-s/960311-2.c.s b/test/torture-s/960311-2.c.s index c33949aae..b392c8b8e 100644 --- a/test/torture-s/960311-2.c.s +++ b/test/torture-s/960311-2.c.s @@ -12,7 +12,7 @@ a1: # @a1 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store $drop=, count($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size a1, .Lfunc_end0-a1 @@ -66,7 +66,7 @@ b: # @b i32.store $drop=, count($pop14), $pop17 .LBB1_6: # %if.end15 end_block # label2: - return + # fallthrough-return .endfunc .Lfunc_end1: .size b, .Lfunc_end1-b diff --git a/test/torture-s/960311-3.c.s b/test/torture-s/960311-3.c.s index aa7112b0f..3eaa11385 100644 --- a/test/torture-s/960311-3.c.s +++ b/test/torture-s/960311-3.c.s @@ -12,7 +12,7 @@ a1: # @a1 i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store $drop=, count($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size a1, .Lfunc_end0-a1 @@ -65,7 +65,7 @@ b: # @b i32.store $drop=, count($pop14), $pop17 .LBB1_6: # %if.end9 end_block # label2: - return + # fallthrough-return .endfunc .Lfunc_end1: .size b, .Lfunc_end1-b diff --git a/test/torture-s/960312-1.c.s b/test/torture-s/960312-1.c.s index 47b2bd236..19fc0e4ea 100644 --- a/test/torture-s/960312-1.c.s +++ b/test/torture-s/960312-1.c.s @@ -9,25 +9,26 @@ f: # @f .result i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.load $push4=, 8($0) - tee_local $push3=, $7=, $pop4 - i32.load $1=, 4($pop3) - i32.load $2=, 8($7) - i32.load $3=, 0($7) i32.const $push0=, 16 - i32.add $push2=, $0, $pop0 + i32.add $push4=, $0, $pop0 + tee_local $push3=, $3=, $pop4 + i32.load $4=, 0($pop3) + i32.load $5=, 12($0) + i32.load $push2=, 8($0) tee_local $push1=, $6=, $pop2 - i32.load $5=, 0($pop1) - i32.load $4=, 12($0) + i32.load $7=, 0($pop1) + i32.load $2=, 8($6) + i32.load $1=, 4($6) #APP #NO_APP - i32.store $drop=, 8($7), $3 - i32.store $drop=, 0($7), $5 i32.store $drop=, 0($6), $4 + i32.store $drop=, 8($6), $7 + i32.store $drop=, 0($0), $6 i32.store $drop=, 12($0), $2 + i32.store $drop=, 0($3), $5 i32.store $drop=, 4($0), $1 - i32.store $drop=, 0($0), $7 - return $0 + copy_local $push5=, $0 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -41,11 +42,11 @@ main: # @main .local i32, i32, i32 # BB#0: # %entry i32.const $push8=, 0 - i32.load $0=, main.sc+4($pop8) + i32.load $2=, main.sc($pop8) i32.const $push7=, 0 i32.load $1=, main.sc+8($pop7) i32.const $push6=, 0 - i32.load $2=, main.sc($pop6) + i32.load $0=, main.sc+4($pop6) #APP #NO_APP i32.const $push5=, 0 diff --git a/test/torture-s/960317-1.c.s b/test/torture-s/960317-1.c.s index 7b8d26d7a..867c6b1df 100644 --- a/test/torture-s/960317-1.c.s +++ b/test/torture-s/960317-1.c.s @@ -27,7 +27,7 @@ f: # @f .LBB0_2: # %cleanup end_block # label0: i32.const $push11=, 0 - return $pop11 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/960321-1.c.s b/test/torture-s/960321-1.c.s index a05b92c7f..eb8875315 100644 --- a/test/torture-s/960321-1.c.s +++ b/test/torture-s/960321-1.c.s @@ -11,7 +11,7 @@ acc_a: # @acc_a i32.const $push0=, a-2000000000 i32.add $push1=, $0, $pop0 i32.load8_s $push2=, 0($pop1) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size acc_a, .Lfunc_end0-acc_a diff --git a/test/torture-s/960327-1.c.s b/test/torture-s/960327-1.c.s index b28bcf787..6d29f1022 100644 --- a/test/torture-s/960327-1.c.s +++ b/test/torture-s/960327-1.c.s @@ -8,7 +8,7 @@ g: # @g .result i32 # BB#0: # %entry i32.const $push0=, 10 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -19,38 +19,40 @@ g: # @g .type f,@function f: # @f .result i32 - .local i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push20=, __stack_pointer - i32.const $push17=, __stack_pointer - i32.load $push18=, 0($pop17) + i32.const $push20=, 0 + i32.const $push17=, 0 + i32.load $push18=, __stack_pointer($pop17) i32.const $push19=, 16 i32.sub $push24=, $pop18, $pop19 - i32.store $push28=, 0($pop20), $pop24 - tee_local $push27=, $2=, $pop28 + i32.store $push28=, __stack_pointer($pop20), $pop24 + tee_local $push27=, $0=, $pop28 i32.const $push3=, 12 i32.add $push4=, $pop27, $pop3 i32.const $push1=, 0 i32.load16_u $push2=, .Lf.s+12($pop1):p2align=0 i32.store16 $drop=, 0($pop4), $pop2 i32.const $push6=, 8 - i32.add $push7=, $2, $pop6 + i32.add $push7=, $0, $pop6 i32.const $push26=, 0 i32.load $push5=, .Lf.s+8($pop26):p2align=0 i32.store $drop=, 0($pop7), $pop5 i32.const $push25=, 0 i64.load $push8=, .Lf.s($pop25):p2align=0 - i64.store $drop=, 0($2):p2align=2, $pop8 + i64.store $drop=, 0($0):p2align=2, $pop8 i32.const $push9=, 13 - i32.add $1=, $2, $pop9 + i32.add $3=, $0, $pop9 .LBB1_1: # %while.cond # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push31=, -2 - i32.add $0=, $1, $pop31 - i32.const $push30=, -1 - i32.add $1=, $1, $pop30 - i32.load8_u $push10=, 0($0) + i32.const $push33=, -2 + i32.add $2=, $3, $pop33 + i32.const $push32=, -1 + i32.add $push31=, $3, $pop32 + tee_local $push30=, $1=, $pop31 + copy_local $3=, $pop30 + i32.load8_u $push10=, 0($2) i32.const $push29=, 48 i32.eq $push11=, $pop10, $pop29 br_if 0, $pop11 # 0: up to label0 @@ -60,16 +62,16 @@ f: # @f i32.const $push12=, 88 i32.store16 $push0=, 0($1):p2align=0, $pop12 i32.const $push13=, 12 - i32.add $push14=, $2, $pop13 + i32.add $push14=, $0, $pop13 i32.load8_u $push15=, 0($pop14) i32.ne $push16=, $pop0, $pop15 br_if 0, $pop16 # 0: down to label2 # BB#3: # %if.end - i32.const $push23=, __stack_pointer + i32.const $push23=, 0 i32.const $push21=, 16 - i32.add $push22=, $2, $pop21 - i32.store $drop=, 0($pop23), $pop22 - return $1 + i32.add $push22=, $0, $pop21 + i32.store $drop=, __stack_pointer($pop23), $pop22 + return $3 .LBB1_4: # %if.then end_block # label2: call abort@FUNCTION diff --git a/test/torture-s/960402-1.c.s b/test/torture-s/960402-1.c.s index 5ba1322fc..3f6e464e2 100644 --- a/test/torture-s/960402-1.c.s +++ b/test/torture-s/960402-1.c.s @@ -12,7 +12,7 @@ f: # @f i64.add $push1=, $0, $pop0 i64.const $push2=, 6442450943 i64.gt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/960405-1.c.s b/test/torture-s/960405-1.c.s index 1a0d82c40..34cab8d60 100644 --- a/test/torture-s/960405-1.c.s +++ b/test/torture-s/960405-1.c.s @@ -9,14 +9,14 @@ main: # @main # BB#0: # %entry block i32.const $push8=, 0 - i64.load $push1=, x($pop8) + i64.load $push3=, x($pop8) i32.const $push7=, 0 - i64.load $push0=, x+8($pop7) + i64.load $push2=, x+8($pop7) i32.const $push6=, 0 - i64.load $push3=, y($pop6) + i64.load $push1=, y($pop6) i32.const $push5=, 0 - i64.load $push2=, y+8($pop5) - i32.call $push4=, __eqtf2@FUNCTION, $pop1, $pop0, $pop3, $pop2 + i64.load $push0=, y+8($pop5) + i32.call $push4=, __eqtf2@FUNCTION, $pop3, $pop2, $pop1, $pop0 i32.eqz $push10=, $pop4 br_if 0, $pop10 # 0: down to label0 # BB#1: # %if.then diff --git a/test/torture-s/960416-1.c.s b/test/torture-s/960416-1.c.s index a46c77bf7..b30c696da 100644 --- a/test/torture-s/960416-1.c.s +++ b/test/torture-s/960416-1.c.s @@ -7,61 +7,61 @@ f_le: # @f_le .param i32, i32 .result i32 - .local i32, i64, i32, i64, i64, i64, i64 + .local i64, i64, i32, i32, i64, i64, i64 # BB#0: # %entry i64.load $push51=, 0($1) - tee_local $push50=, $8=, $pop51 - i64.const $push10=, 4294967295 - i64.and $push11=, $pop50, $pop10 + tee_local $push50=, $2=, $pop51 + i64.const $push12=, 4294967295 + i64.and $push13=, $pop50, $pop12 i32.load $push49=, 0($0) tee_local $push48=, $1=, $pop49 - i64.extend_u/i32 $push9=, $pop48 - i64.mul $push47=, $pop11, $pop9 - tee_local $push46=, $7=, $pop47 - i64.const $push1=, 32 - i64.shr_u $push45=, $pop46, $pop1 - tee_local $push44=, $6=, $pop45 + i64.extend_u/i32 $push14=, $pop48 + i64.mul $push47=, $pop13, $pop14 + tee_local $push46=, $6=, $pop47 + i64.const $push0=, 32 + i64.shr_u $push45=, $pop46, $pop0 + tee_local $push44=, $8=, $pop45 i64.const $push43=, 32 - i64.shr_u $push42=, $8, $pop43 - tee_local $push41=, $5=, $pop42 + i64.shr_u $push42=, $2, $pop43 + tee_local $push41=, $3=, $pop42 i32.load $push40=, 4($0) - tee_local $push39=, $4=, $pop40 - i64.extend_u/i32 $push12=, $pop39 - i64.mul $push38=, $pop41, $pop12 - tee_local $push37=, $3=, $pop38 - i64.add $push18=, $pop44, $pop37 + tee_local $push39=, $5=, $pop40 + i64.extend_u/i32 $push15=, $pop39 + i64.mul $push38=, $pop41, $pop15 + tee_local $push37=, $7=, $pop38 + i64.add $push21=, $pop44, $pop37 i64.const $push36=, 32 - i64.shr_u $push13=, $3, $pop36 - i64.add $push19=, $pop18, $pop13 - i32.const $push3=, 0 - i32.wrap/i64 $push35=, $8 - tee_local $push34=, $2=, $pop35 - i32.wrap/i64 $push2=, $5 - i32.sub $push33=, $pop34, $pop2 + i64.shr_u $push22=, $7, $pop36 + i64.add $push23=, $pop21, $pop22 + i32.const $push2=, 0 + i32.wrap/i64 $push35=, $2 + tee_local $push34=, $4=, $pop35 + i32.wrap/i64 $push1=, $3 + i32.sub $push33=, $pop34, $pop1 tee_local $push32=, $0=, $pop33 - i32.sub $push4=, $pop3, $pop32 - i32.gt_u $push31=, $0, $2 - tee_local $push30=, $2=, $pop31 - i32.select $push5=, $pop4, $0, $pop30 - i64.extend_u/i32 $push15=, $pop5 - i32.sub $push0=, $4, $1 - i64.extend_u/i32 $push14=, $pop0 - i64.mul $push16=, $pop15, $pop14 - i64.const $push7=, -1 - i64.const $push6=, 0 - i64.select $push8=, $pop7, $pop6, $2 - i64.xor $push29=, $pop16, $pop8 - tee_local $push28=, $8=, $pop29 + i32.sub $push3=, $pop2, $pop32 + i32.gt_u $push31=, $0, $4 + tee_local $push30=, $4=, $pop31 + i32.select $push4=, $pop3, $0, $pop30 + i64.extend_u/i32 $push5=, $pop4 + i32.sub $push6=, $5, $1 + i64.extend_u/i32 $push7=, $pop6 + i64.mul $push8=, $pop5, $pop7 + i64.const $push10=, -1 + i64.const $push9=, 0 + i64.select $push11=, $pop10, $pop9, $4 + i64.xor $push29=, $pop8, $pop11 + tee_local $push28=, $2=, $pop29 i64.const $push27=, 32 - i64.shr_u $push17=, $pop28, $pop27 - i64.add $push20=, $pop19, $pop17 - i32.wrap/i64 $push21=, $pop20 - i64.add $push22=, $3, $7 - i64.add $push23=, $pop22, $6 - i64.add $push24=, $pop23, $8 + i64.shr_u $push20=, $pop28, $pop27 + i64.add $push24=, $pop23, $pop20 i32.wrap/i64 $push25=, $pop24 - i32.add $push26=, $pop21, $pop25 - return $pop26 + i64.add $push16=, $7, $6 + i64.add $push17=, $pop16, $8 + i64.add $push18=, $pop17, $2 + i32.wrap/i64 $push19=, $pop18 + i32.add $push26=, $pop25, $pop19 + # fallthrough-return: $pop26 .endfunc .Lfunc_end0: .size f_le, .Lfunc_end0-f_le @@ -73,69 +73,69 @@ f_le: # @f_le f_be: # @f_be .param i32, i32 .result i32 - .local i64, i64, i64, i64, i64, i32 + .local i32, i64, i64, i64, i64, i64 # BB#0: # %entry i32.load $push59=, 4($1) - tee_local $push58=, $7=, $pop59 - i64.extend_u/i32 $push8=, $pop58 + tee_local $push58=, $2=, $pop59 + i64.extend_u/i32 $push13=, $pop58 i64.load $push57=, 0($0) - tee_local $push56=, $6=, $pop57 - i64.const $push0=, 32 - i64.shr_u $push55=, $pop56, $pop0 - tee_local $push54=, $5=, $pop55 - i64.mul $push53=, $pop8, $pop54 - tee_local $push52=, $4=, $pop53 - i64.const $push10=, 4294967295 - i64.and $push51=, $pop52, $pop10 - tee_local $push50=, $3=, $pop51 + tee_local $push56=, $3=, $pop57 + i64.const $push4=, 32 + i64.shr_u $push55=, $pop56, $pop4 + tee_local $push54=, $4=, $pop55 + i64.mul $push53=, $pop13, $pop54 + tee_local $push52=, $5=, $pop53 + i64.const $push6=, 4294967295 + i64.and $push51=, $pop52, $pop6 + tee_local $push50=, $6=, $pop51 i32.load $push49=, 0($1) tee_local $push48=, $1=, $pop49 - i64.extend_u/i32 $push12=, $pop48 + i64.extend_u/i32 $push17=, $pop48 i64.const $push47=, 4294967295 - i64.and $push11=, $6, $pop47 - i64.mul $push46=, $pop12, $pop11 - tee_local $push45=, $2=, $pop46 - i64.add $push20=, $pop50, $pop45 + i64.and $push16=, $3, $pop47 + i64.mul $push46=, $pop17, $pop16 + tee_local $push45=, $7=, $pop46 + i64.add $push24=, $pop50, $pop45 i64.const $push44=, 4294967295 - i64.and $push18=, $2, $pop44 - i64.add $push21=, $pop20, $pop18 - i32.const $push2=, 0 - i32.sub $push43=, $7, $1 + i64.and $push25=, $7, $pop44 + i64.add $push26=, $pop24, $pop25 + i32.const $push0=, 0 + i32.sub $push43=, $2, $1 tee_local $push42=, $1=, $pop43 - i32.sub $push3=, $pop2, $pop42 - i32.gt_u $push41=, $1, $7 - tee_local $push40=, $7=, $pop41 - i32.select $push4=, $pop3, $1, $pop40 - i64.extend_u/i32 $push15=, $pop4 - i64.sub $push1=, $6, $5 + i32.sub $push1=, $pop0, $pop42 + i32.gt_u $push41=, $1, $2 + tee_local $push40=, $2=, $pop41 + i32.select $push2=, $pop1, $1, $pop40 + i64.extend_u/i32 $push3=, $pop2 + i64.sub $push5=, $3, $4 i64.const $push39=, 4294967295 - i64.and $push14=, $pop1, $pop39 - i64.mul $push16=, $pop15, $pop14 - i64.const $push6=, -1 - i64.const $push5=, 0 - i64.select $push7=, $pop6, $pop5, $7 - i64.xor $push38=, $pop16, $pop7 - tee_local $push37=, $6=, $pop38 + i64.and $push7=, $pop5, $pop39 + i64.mul $push8=, $pop3, $pop7 + i64.const $push10=, -1 + i64.const $push9=, 0 + i64.select $push11=, $pop10, $pop9, $2 + i64.xor $push38=, $pop8, $pop11 + tee_local $push37=, $3=, $pop38 i64.const $push36=, 4294967295 - i64.and $push19=, $pop37, $pop36 - i64.add $push22=, $pop21, $pop19 + i64.and $push23=, $pop37, $pop36 + i64.add $push27=, $pop26, $pop23 i64.const $push35=, 32 - i64.shr_u $push23=, $pop22, $pop35 - i32.wrap/i64 $push24=, $pop23 + i64.shr_u $push28=, $pop27, $pop35 + i32.wrap/i64 $push29=, $pop28 i64.const $push34=, 32 - i64.shr_u $push9=, $4, $pop34 - i64.add $push25=, $pop9, $3 + i64.shr_u $push14=, $5, $pop34 + i64.add $push15=, $pop14, $6 i64.const $push33=, 32 - i64.shr_u $push13=, $2, $pop33 - i64.add $push26=, $pop25, $pop13 + i64.shr_u $push18=, $7, $pop33 + i64.add $push19=, $pop15, $pop18 i64.const $push32=, 32 - i64.shr_u $push17=, $6, $pop32 - i64.add $push27=, $pop26, $pop17 + i64.shr_u $push12=, $3, $pop32 + i64.add $push20=, $pop19, $pop12 i64.const $push31=, 32 - i64.shr_u $push28=, $pop27, $pop31 - i32.wrap/i64 $push29=, $pop28 - i32.add $push30=, $pop24, $pop29 - return $pop30 + i64.shr_u $push21=, $pop20, $pop31 + i32.wrap/i64 $push22=, $pop21 + i32.add $push30=, $pop29, $pop22 + # fallthrough-return: $pop30 .endfunc .Lfunc_end1: .size f_be, .Lfunc_end1-f_be diff --git a/test/torture-s/960512-1.c.s b/test/torture-s/960512-1.c.s index cf9451242..75a506c28 100644 --- a/test/torture-s/960512-1.c.s +++ b/test/torture-s/960512-1.c.s @@ -12,7 +12,7 @@ f: # @f i64.const $push1=, 0 i64.store $push0=, 0($0), $pop1 i64.store $drop=, 0($pop3), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/960513-1.c.s b/test/torture-s/960513-1.c.s index 5e4ae5baf..adfe1131a 100644 --- a/test/torture-s/960513-1.c.s +++ b/test/torture-s/960513-1.c.s @@ -6,147 +6,147 @@ .type f,@function f: # @f .param i32, i64, i64, i32 - .local i64, i64, i32 + .local i32, i64, i64 # BB#0: # %entry - i32.const $push34=, __stack_pointer - i32.const $push31=, __stack_pointer - i32.load $push32=, 0($pop31) - i32.const $push33=, 192 - i32.sub $push82=, $pop32, $pop33 - i32.store $push119=, 0($pop34), $pop82 - tee_local $push118=, $6=, $pop119 - i32.const $push38=, 176 - i32.add $push39=, $pop118, $pop38 + i32.const $push37=, 0 + i32.const $push34=, 0 + i32.load $push35=, __stack_pointer($pop34) + i32.const $push36=, 192 + i32.sub $push85=, $pop35, $pop36 + i32.store $push122=, __stack_pointer($pop37), $pop85 + tee_local $push121=, $4=, $pop122 + i32.const $push41=, 176 + i32.add $push42=, $pop121, $pop41 i64.const $push1=, 0 i64.const $push0=, -9223372036854775808 - call __subtf3@FUNCTION, $pop39, $pop1, $pop0, $1, $2 - i32.const $push40=, 176 - i32.add $push41=, $6, $pop40 - i32.const $push2=, 8 - i32.add $push3=, $pop41, $pop2 - i64.load $4=, 0($pop3) - i64.load $5=, 176($6) - i32.const $push42=, 160 - i32.add $push43=, $6, $pop42 - i64.const $push117=, 0 - i64.const $push5=, -4611686018427387904 - call __multf3@FUNCTION, $pop43, $1, $2, $pop117, $pop5 - i32.const $push46=, 144 - i32.add $push47=, $6, $pop46 - i64.load $push8=, 160($6) - i32.const $push4=, 1 - i32.eq $push116=, $3, $pop4 - tee_local $push115=, $3=, $pop116 - i64.select $push114=, $pop8, $5, $pop115 + call __subtf3@FUNCTION, $pop42, $pop1, $pop0, $1, $2 + i32.const $push43=, 160 + i32.add $push44=, $4, $pop43 + i64.const $push120=, 0 + i64.const $push2=, -4611686018427387904 + call __multf3@FUNCTION, $pop44, $1, $2, $pop120, $pop2 + i32.const $push49=, 144 + i32.add $push50=, $4, $pop49 + i64.load $push10=, 160($4) + i64.load $push9=, 176($4) + i32.const $push3=, 1 + i32.eq $push119=, $3, $pop3 + tee_local $push118=, $3=, $pop119 + i64.select $push117=, $pop10, $pop9, $pop118 + tee_local $push116=, $6=, $pop117 + i32.const $push47=, 160 + i32.add $push48=, $4, $pop47 + i32.const $push4=, 8 + i32.add $push7=, $pop48, $pop4 + i64.load $push8=, 0($pop7) + i32.const $push45=, 176 + i32.add $push46=, $4, $pop45 + i32.const $push115=, 8 + i32.add $push5=, $pop46, $pop115 + i64.load $push6=, 0($pop5) + i64.select $push114=, $pop8, $pop6, $3 tee_local $push113=, $5=, $pop114 - i32.const $push44=, 160 - i32.add $push45=, $6, $pop44 + call __multf3@FUNCTION, $pop50, $pop116, $pop113, $1, $2 + i32.const $push53=, 128 + i32.add $push54=, $4, $pop53 + i64.load $push13=, 144($4) + i32.const $push51=, 144 + i32.add $push52=, $4, $pop51 i32.const $push112=, 8 - i32.add $push6=, $pop45, $pop112 - i64.load $push7=, 0($pop6) - i64.select $push111=, $pop7, $4, $3 - tee_local $push110=, $4=, $pop111 - call __multf3@FUNCTION, $pop47, $pop113, $pop110, $1, $2 - i32.const $push50=, 128 - i32.add $push51=, $6, $pop50 - i64.load $push11=, 144($6) - i32.const $push48=, 144 - i32.add $push49=, $6, $pop48 + i32.add $push11=, $pop52, $pop112 + i64.load $push12=, 0($pop11) + call __addtf3@FUNCTION, $pop54, $6, $5, $pop13, $pop12 + i32.const $push57=, 112 + i32.add $push58=, $4, $pop57 + i64.load $push111=, 128($4) + tee_local $push110=, $6=, $pop111 + i32.const $push55=, 128 + i32.add $push56=, $4, $pop55 i32.const $push109=, 8 - i32.add $push9=, $pop49, $pop109 - i64.load $push10=, 0($pop9) - call __addtf3@FUNCTION, $pop51, $5, $4, $pop11, $pop10 - i32.const $push54=, 112 - i32.add $push55=, $6, $pop54 - i64.load $push108=, 128($6) - tee_local $push107=, $4=, $pop108 - i32.const $push52=, 128 - i32.add $push53=, $6, $pop52 + i32.add $push14=, $pop56, $pop109 + i64.load $push108=, 0($pop14) + tee_local $push107=, $5=, $pop108 + call __multf3@FUNCTION, $pop58, $pop110, $pop107, $1, $2 + i32.const $push61=, 96 + i32.add $push62=, $4, $pop61 + i64.load $push17=, 112($4) + i32.const $push59=, 112 + i32.add $push60=, $4, $pop59 i32.const $push106=, 8 - i32.add $push12=, $pop53, $pop106 - i64.load $push105=, 0($pop12) - tee_local $push104=, $5=, $pop105 - call __multf3@FUNCTION, $pop55, $pop107, $pop104, $1, $2 - i32.const $push58=, 96 - i32.add $push59=, $6, $pop58 - i64.load $push15=, 112($6) - i32.const $push56=, 112 - i32.add $push57=, $6, $pop56 + i32.add $push15=, $pop60, $pop106 + i64.load $push16=, 0($pop15) + call __addtf3@FUNCTION, $pop62, $6, $5, $pop17, $pop16 + i32.const $push65=, 80 + i32.add $push66=, $4, $pop65 + i64.load $push105=, 96($4) + tee_local $push104=, $6=, $pop105 + i32.const $push63=, 96 + i32.add $push64=, $4, $pop63 i32.const $push103=, 8 - i32.add $push13=, $pop57, $pop103 - i64.load $push14=, 0($pop13) - call __addtf3@FUNCTION, $pop59, $4, $5, $pop15, $pop14 - i32.const $push62=, 80 - i32.add $push63=, $6, $pop62 - i64.load $push102=, 96($6) - tee_local $push101=, $4=, $pop102 - i32.const $push60=, 96 - i32.add $push61=, $6, $pop60 + i32.add $push18=, $pop64, $pop103 + i64.load $push102=, 0($pop18) + tee_local $push101=, $5=, $pop102 + call __multf3@FUNCTION, $pop66, $pop104, $pop101, $1, $2 + i32.const $push69=, 64 + i32.add $push70=, $4, $pop69 + i64.load $push21=, 80($4) + i32.const $push67=, 80 + i32.add $push68=, $4, $pop67 i32.const $push100=, 8 - i32.add $push16=, $pop61, $pop100 - i64.load $push99=, 0($pop16) - tee_local $push98=, $5=, $pop99 - call __multf3@FUNCTION, $pop63, $pop101, $pop98, $1, $2 - i32.const $push66=, 64 - i32.add $push67=, $6, $pop66 - i64.load $push19=, 80($6) - i32.const $push64=, 80 - i32.add $push65=, $6, $pop64 + i32.add $push19=, $pop68, $pop100 + i64.load $push20=, 0($pop19) + call __addtf3@FUNCTION, $pop70, $6, $5, $pop21, $pop20 + i32.const $push73=, 48 + i32.add $push74=, $4, $pop73 + i64.load $push99=, 64($4) + tee_local $push98=, $6=, $pop99 + i32.const $push71=, 64 + i32.add $push72=, $4, $pop71 i32.const $push97=, 8 - i32.add $push17=, $pop65, $pop97 - i64.load $push18=, 0($pop17) - call __addtf3@FUNCTION, $pop67, $4, $5, $pop19, $pop18 - i32.const $push70=, 48 - i32.add $push71=, $6, $pop70 - i64.load $push96=, 64($6) - tee_local $push95=, $4=, $pop96 - i32.const $push68=, 64 - i32.add $push69=, $6, $pop68 + i32.add $push22=, $pop72, $pop97 + i64.load $push96=, 0($pop22) + tee_local $push95=, $5=, $pop96 + call __multf3@FUNCTION, $pop74, $pop98, $pop95, $1, $2 + i32.const $push77=, 32 + i32.add $push78=, $4, $pop77 + i64.load $push25=, 48($4) + i32.const $push75=, 48 + i32.add $push76=, $4, $pop75 i32.const $push94=, 8 - i32.add $push20=, $pop69, $pop94 - i64.load $push93=, 0($pop20) - tee_local $push92=, $5=, $pop93 - call __multf3@FUNCTION, $pop71, $pop95, $pop92, $1, $2 - i32.const $push74=, 32 - i32.add $push75=, $6, $pop74 - i64.load $push23=, 48($6) - i32.const $push72=, 48 - i32.add $push73=, $6, $pop72 + i32.add $push23=, $pop76, $pop94 + i64.load $push24=, 0($pop23) + call __addtf3@FUNCTION, $pop78, $6, $5, $pop25, $pop24 + i32.const $push81=, 16 + i32.add $push82=, $4, $pop81 + i64.load $push93=, 32($4) + tee_local $push92=, $6=, $pop93 + i32.const $push79=, 32 + i32.add $push80=, $4, $pop79 i32.const $push91=, 8 - i32.add $push21=, $pop73, $pop91 - i64.load $push22=, 0($pop21) - call __addtf3@FUNCTION, $pop75, $4, $5, $pop23, $pop22 - i32.const $push78=, 16 - i32.add $push79=, $6, $pop78 - i64.load $push90=, 32($6) - tee_local $push89=, $4=, $pop90 - i32.const $push76=, 32 - i32.add $push77=, $6, $pop76 + i32.add $push26=, $pop80, $pop91 + i64.load $push90=, 0($pop26) + tee_local $push89=, $5=, $pop90 + call __multf3@FUNCTION, $pop82, $pop92, $pop89, $1, $2 + i64.load $push29=, 16($4) + i32.const $push83=, 16 + i32.add $push84=, $4, $pop83 i32.const $push88=, 8 - i32.add $push24=, $pop77, $pop88 - i64.load $push87=, 0($pop24) - tee_local $push86=, $5=, $pop87 - call __multf3@FUNCTION, $pop79, $pop89, $pop86, $1, $2 - i64.load $push27=, 16($6) - i32.const $push80=, 16 - i32.add $push81=, $6, $pop80 - i32.const $push85=, 8 - i32.add $push25=, $pop81, $pop85 - i64.load $push26=, 0($pop25) - call __addtf3@FUNCTION, $6, $4, $5, $pop27, $pop26 - i64.load $1=, 0($6) - i32.const $push84=, 8 - i32.add $push30=, $0, $pop84 - i32.const $push83=, 8 - i32.add $push28=, $6, $pop83 - i64.load $push29=, 0($pop28) - i64.store $drop=, 0($pop30), $pop29 - i64.store $drop=, 0($0), $1 - i32.const $push37=, __stack_pointer - i32.const $push35=, 192 - i32.add $push36=, $6, $pop35 - i32.store $drop=, 0($pop37), $pop36 - return + i32.add $push27=, $pop84, $pop88 + i64.load $push28=, 0($pop27) + call __addtf3@FUNCTION, $4, $6, $5, $pop29, $pop28 + i32.const $push87=, 8 + i32.add $push30=, $0, $pop87 + i32.const $push86=, 8 + i32.add $push31=, $4, $pop86 + i64.load $push32=, 0($pop31) + i64.store $drop=, 0($pop30), $pop32 + i64.load $push33=, 0($4) + i64.store $drop=, 0($0), $pop33 + i32.const $push40=, 0 + i32.const $push38=, 192 + i32.add $push39=, $4, $pop38 + i32.store $drop=, __stack_pointer($pop40), $pop39 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/960521-1.c.s b/test/torture-s/960521-1.c.s index 5af8c0332..aaea0ad3b 100644 --- a/test/torture-s/960521-1.c.s +++ b/test/torture-s/960521-1.c.s @@ -21,25 +21,27 @@ foo: # @foo .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push13=, -1 - i32.store $drop=, 0($0), $pop13 - i32.const $push12=, 1 - i32.add $1=, $1, $pop12 - i32.const $push11=, 4 - i32.add $0=, $0, $pop11 + i32.const $push15=, -1 + i32.store $drop=, 0($0), $pop15 + i32.const $push14=, 4 + i32.add $0=, $0, $pop14 + i32.const $push13=, 1 + i32.add $push12=, $1, $pop13 + tee_local $push11=, $1=, $pop12 i32.const $push10=, 0 i32.load $push2=, n($pop10) - i32.lt_s $push3=, $1, $pop2 + i32.lt_s $push3=, $pop11, $pop2 br_if 0, $pop3 # 0: up to label1 .LBB0_3: # %for.cond1.preheader end_loop # label2: end_block # label0: - i32.const $push14=, 0 - i32.load $push4=, b($pop14) + i32.const $push16=, 0 + i32.load $push4=, b($pop16) i32.const $push6=, 255 i32.const $push5=, 522236 i32.call $drop=, memset@FUNCTION, $pop4, $pop6, $pop5 - return $0 + copy_local $push17=, $0 + # fallthrough-return: $pop17 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -52,45 +54,45 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %for.body.lr.ph.i - i32.const $2=, 0 + i32.const $4=, 0 i32.const $push17=, 0 i32.const $push1=, 130560 i32.store $drop=, n($pop17), $pop1 i32.const $push16=, 0 i32.const $push2=, 522240 i32.call $push15=, malloc@FUNCTION, $pop2 - tee_local $push14=, $4=, $pop15 + tee_local $push14=, $3=, $pop15 i32.store $drop=, a($pop16), $pop14 - i32.const $push13=, 0 - i32.const $push12=, 522240 - i32.call $push11=, malloc@FUNCTION, $pop12 - tee_local $push10=, $3=, $pop11 - i32.const $push9=, 4 - i32.add $push0=, $pop10, $pop9 - i32.store $0=, b($pop13), $pop0 - i32.const $push8=, 0 - i32.load $1=, n($pop8) - i32.const $push7=, 0 - i32.store $drop=, 0($3), $pop7 + i32.const $push13=, 522240 + i32.call $push12=, malloc@FUNCTION, $pop13 + tee_local $push11=, $1=, $pop12 + i32.const $push10=, 0 + i32.store $push9=, 0($pop11), $pop10 + tee_local $push8=, $2=, $pop9 + i32.const $push7=, 4 + i32.add $push0=, $1, $pop7 + i32.store $0=, b($pop8), $pop0 + i32.load $2=, n($2) .LBB1_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label3: - i32.const $push20=, -1 - i32.store $drop=, 0($4), $pop20 - i32.const $push19=, 1 - i32.add $2=, $2, $pop19 - i32.const $push18=, 4 - i32.add $4=, $4, $pop18 - i32.lt_s $push3=, $2, $1 + i32.const $push22=, -1 + i32.store $drop=, 0($3), $pop22 + i32.const $push21=, 4 + i32.add $3=, $3, $pop21 + i32.const $push20=, 1 + i32.add $push19=, $4, $pop20 + tee_local $push18=, $4=, $pop19 + i32.lt_s $push3=, $pop18, $2 br_if 0, $pop3 # 0: up to label3 # BB#2: # %foo.exit end_loop # label4: - i32.load $2=, 0($3) + i32.load $3=, 0($1) i32.const $push5=, 255 i32.const $push4=, 522236 i32.call $drop=, memset@FUNCTION, $0, $pop5, $pop4 block - br_if 0, $2 # 0: down to label5 + br_if 0, $3 # 0: down to label5 # BB#3: # %if.end i32.const $push6=, 0 call exit@FUNCTION, $pop6 diff --git a/test/torture-s/960608-1.c.s b/test/torture-s/960608-1.c.s index 0daa37a61..4663c074c 100644 --- a/test/torture-s/960608-1.c.s +++ b/test/torture-s/960608-1.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.load8_u $push0=, 0($0) i32.const $push1=, 206 i32.ne $push2=, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/960801-1.c.s b/test/torture-s/960801-1.c.s index 511133eca..18fe04ff2 100644 --- a/test/torture-s/960801-1.c.s +++ b/test/torture-s/960801-1.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 65535 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -21,7 +21,7 @@ g: # @g .result i64 # BB#0: # %entry i64.const $push0=, 65535 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size g, .Lfunc_end1-g diff --git a/test/torture-s/960802-1.c.s b/test/torture-s/960802-1.c.s index 8c6722739..3ab33f550 100644 --- a/test/torture-s/960802-1.c.s +++ b/test/torture-s/960802-1.c.s @@ -8,7 +8,7 @@ f1: # @f1 .result i32 # BB#0: # %entry i32.const $push0=, 306 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -21,7 +21,7 @@ f2: # @f2 .result i32 # BB#0: # %entry i32.const $push0=, 1577058304 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -35,7 +35,7 @@ f3: # @f3 # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, val($pop0), $0 - return + # fallthrough-return .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -46,10 +46,10 @@ f3: # @f3 .type f4,@function f4: # @f4 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 1577058610 - i32.store $drop=, val($pop0), $pop1 - return + i32.const $push1=, 0 + i32.const $push0=, 1577058610 + i32.store $drop=, val($pop1), $pop0 + # fallthrough-return .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 diff --git a/test/torture-s/960909-1.c.s b/test/torture-s/960909-1.c.s index ac2f84039..6296855c1 100644 --- a/test/torture-s/960909-1.c.s +++ b/test/torture-s/960909-1.c.s @@ -11,8 +11,8 @@ ffs: # @ffs # BB#0: # %entry i32.const $2=, 0 block - i32.eqz $push5=, $0 - br_if 0, $pop5 # 0: down to label0 + i32.eqz $push7=, $0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %for.cond.preheader i32.const $2=, 1 i32.const $push2=, 1 @@ -24,17 +24,19 @@ ffs: # @ffs .LBB0_3: # %for.inc # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push4=, 1 - i32.add $2=, $2, $pop4 - i32.const $push3=, 1 - i32.shl $1=, $1, $pop3 - i32.and $push1=, $1, $0 - i32.eqz $push6=, $pop1 - br_if 0, $pop6 # 0: up to label1 + i32.const $push6=, 1 + i32.add $2=, $2, $pop6 + i32.const $push5=, 1 + i32.shl $push4=, $1, $pop5 + tee_local $push3=, $1=, $pop4 + i32.and $push1=, $pop3, $0 + i32.eqz $push8=, $pop1 + br_if 0, $pop8 # 0: up to label1 .LBB0_4: # %cleanup end_loop # label2: end_block # label0: - return $2 + copy_local $push9=, $2 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size ffs, .Lfunc_end0-ffs diff --git a/test/torture-s/961017-2.c.s b/test/torture-s/961017-2.c.s index 841de6e4d..e78263663 100644 --- a/test/torture-s/961017-2.c.s +++ b/test/torture-s/961017-2.c.s @@ -12,9 +12,10 @@ main: # @main .LBB0_1: # %do.cond # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push1=, 16384 - i32.add $0=, $0, $pop1 - br_if 0, $0 # 0: up to label0 + i32.const $push3=, 16384 + i32.add $push2=, $0, $pop3 + tee_local $push1=, $0=, $pop2 + br_if 0, $pop1 # 0: up to label0 # BB#2: # %do.end end_loop # label1: i32.const $push0=, 0 diff --git a/test/torture-s/961026-1.c.s b/test/torture-s/961026-1.c.s index 3291674fa..c7165c1ce 100644 --- a/test/torture-s/961026-1.c.s +++ b/test/torture-s/961026-1.c.s @@ -10,7 +10,7 @@ test: # @test # BB#0: # %entry i32.const $push0=, 31 i32.shr_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test diff --git a/test/torture-s/961112-1.c.s b/test/torture-s/961112-1.c.s index 9d0245fd5..838677e41 100644 --- a/test/torture-s/961112-1.c.s +++ b/test/torture-s/961112-1.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/961122-1.c.s b/test/torture-s/961122-1.c.s index 08ec20e69..ff50a2d22 100644 --- a/test/torture-s/961122-1.c.s +++ b/test/torture-s/961122-1.c.s @@ -16,7 +16,8 @@ addhi: # @addhi i64.shl $push2=, $pop0, $pop1 i64.add $push5=, $pop4, $pop2 i64.store $drop=, acc($pop3), $pop5 - return $0 + copy_local $push7=, $0 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size addhi, .Lfunc_end0-addhi @@ -37,7 +38,8 @@ subhi: # @subhi i64.shl $push2=, $pop0, $pop1 i64.sub $push5=, $pop4, $pop2 i64.store $drop=, acc($pop3), $pop5 - return $0 + copy_local $push7=, $0 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size subhi, .Lfunc_end1-subhi diff --git a/test/torture-s/961122-2.c.s b/test/torture-s/961122-2.c.s index 97f87c84b..619c97c1e 100644 --- a/test/torture-s/961122-2.c.s +++ b/test/torture-s/961122-2.c.s @@ -9,7 +9,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/961125-1.c.s b/test/torture-s/961125-1.c.s index fdc467e4d..a0e1a2e78 100644 --- a/test/torture-s/961125-1.c.s +++ b/test/torture-s/961125-1.c.s @@ -8,60 +8,65 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $2=, .L.str + i32.const $0=, .L.str i32.const $1=, 1 .LBB0_1: # %land.rhs.i # =>This Loop Header: Depth=1 - # Child Loop BB0_3 Depth 2 + # Child Loop BB0_4 Depth 2 loop # label0: - i32.eqz $push17=, $1 - br_if 1, $pop17 # 1: down to label1 + i32.eqz $push20=, $1 + br_if 1, $pop20 # 1: down to label1 # BB#2: # %while.cond2.preheader.i # in Loop: Header=BB0_1 Depth=1 block - i32.const $push11=, .L.str+3 - i32.ge_u $push0=, $2, $pop11 + i32.const $push12=, .L.str+3 + i32.ge_u $push0=, $0, $pop12 br_if 0, $pop0 # 0: down to label2 -.LBB0_3: # %land.rhs4.i +# BB#3: # %land.rhs4.i.preheader + # in Loop: Header=BB0_1 Depth=1 + copy_local $2=, $0 +.LBB0_4: # %land.rhs4.i # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label3: - i32.load8_u $0=, 0($2) - i32.const $push13=, 1 - i32.add $2=, $2, $pop13 - i32.const $push12=, 58 - i32.eq $push1=, $0, $pop12 - br_if 1, $pop1 # 1: down to label4 -# BB#4: # %land.rhs4.i - # in Loop: Header=BB0_3 Depth=2 - i32.const $push14=, .L.str+3 - i32.lt_u $push2=, $2, $pop14 - br_if 0, $pop2 # 0: up to label3 -.LBB0_5: # %while.end.thread.i + i32.const $push14=, 1 + i32.add $0=, $2, $pop14 + i32.load8_u $push1=, 0($2) + i32.const $push13=, 58 + i32.eq $push2=, $pop1, $pop13 + br_if 1, $pop2 # 1: down to label4 +# BB#5: # %land.rhs4.i + # in Loop: Header=BB0_4 Depth=2 + copy_local $2=, $0 + i32.const $push15=, .L.str+3 + i32.lt_u $push3=, $0, $pop15 + br_if 0, $pop3 # 0: up to label3 +.LBB0_6: # %while.end.thread.i # in Loop: Header=BB0_1 Depth=1 end_loop # label4: end_block # label2: - i32.const $push16=, -1 - i32.add $1=, $1, $pop16 - i32.const $push15=, .L.str+3 - i32.lt_u $push3=, $2, $pop15 - br_if 0, $pop3 # 0: up to label0 -.LBB0_6: # %begfield.exit + i32.const $push17=, -1 + i32.add $1=, $1, $pop17 + i32.const $push16=, .L.str+3 + i32.lt_u $push4=, $0, $pop16 + br_if 0, $pop4 # 0: up to label0 +.LBB0_7: # %begfield.exit end_loop # label1: - i32.const $push4=, 1 - i32.add $0=, $2, $pop4 block - i32.const $push5=, .L.str+3 - i32.gt_u $push6=, $0, $pop5 - i32.select $push7=, $2, $0, $pop6 - i32.const $push8=, .L.str+2 - i32.ne $push9=, $pop7, $pop8 - br_if 0, $pop9 # 0: down to label5 -# BB#7: # %if.end - i32.const $push10=, 0 - call exit@FUNCTION, $pop10 + i32.const $push5=, 1 + i32.add $push19=, $0, $pop5 + tee_local $push18=, $2=, $pop19 + i32.const $push6=, .L.str+3 + i32.gt_u $push7=, $2, $pop6 + i32.select $push8=, $0, $pop18, $pop7 + i32.const $push9=, .L.str+2 + i32.ne $push10=, $pop8, $pop9 + br_if 0, $pop10 # 0: down to label5 +# BB#8: # %if.end + i32.const $push11=, 0 + call exit@FUNCTION, $pop11 unreachable -.LBB0_8: # %if.then +.LBB0_9: # %if.then end_block # label5: call abort@FUNCTION unreachable diff --git a/test/torture-s/961206-1.c.s b/test/torture-s/961206-1.c.s index f2135dfa8..ba156e93c 100644 --- a/test/torture-s/961206-1.c.s +++ b/test/torture-s/961206-1.c.s @@ -10,7 +10,7 @@ sub1: # @sub1 # BB#0: # %entry i64.const $push0=, 2147483648 i64.lt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size sub1, .Lfunc_end0-sub1 @@ -25,7 +25,7 @@ sub2: # @sub2 # BB#0: # %entry i64.const $push0=, 2147483648 i64.lt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size sub2, .Lfunc_end1-sub2 @@ -40,7 +40,7 @@ sub3: # @sub3 # BB#0: # %entry i64.const $push0=, 2147483648 i64.lt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size sub3, .Lfunc_end2-sub3 @@ -55,7 +55,7 @@ sub4: # @sub4 # BB#0: # %entry i64.const $push0=, 2147483648 i64.lt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size sub4, .Lfunc_end3-sub4 diff --git a/test/torture-s/961213-1.c.s b/test/torture-s/961213-1.c.s index 1b314fea6..810e7502c 100644 --- a/test/torture-s/961213-1.c.s +++ b/test/torture-s/961213-1.c.s @@ -10,32 +10,35 @@ g: # @g .local i64, i64 # BB#0: # %entry i64.const $5=, 0 - i64.const $push4=, 0 - i64.store $drop=, 0($0), $pop4 + i64.const $push5=, 0 + i64.store $drop=, 0($0), $pop5 block - i32.const $push0=, 1 - i32.lt_s $push1=, $1, $pop0 - br_if 0, $pop1 # 0: down to label0 + i32.const $push1=, 1 + i32.lt_s $push2=, $1, $pop1 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.lr.ph i64.extend_s/i32 $4=, $3 copy_local $3=, $1 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i64.load32_u $push3=, 0($2) - i64.mul $push2=, $5, $4 - i64.add $5=, $pop3, $pop2 - i32.const $push6=, 4 - i32.add $2=, $2, $pop6 - i32.const $push5=, -1 - i32.add $3=, $3, $pop5 - br_if 0, $3 # 0: up to label1 + i64.load32_u $push4=, 0($2) + i64.mul $push3=, $5, $4 + i64.add $5=, $pop4, $pop3 + i32.const $push9=, 4 + i32.add $push0=, $2, $pop9 + copy_local $2=, $pop0 + i32.const $push8=, -1 + i32.add $push7=, $3, $pop8 + tee_local $push6=, $3=, $pop7 + br_if 0, $pop6 # 0: up to label1 # BB#3: # %for.cond.for.end_crit_edge end_loop # label2: i64.store $drop=, 0($0), $5 .LBB0_4: # %for.end end_block # label0: - return $1 + copy_local $push10=, $1 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g diff --git a/test/torture-s/961223-1.c.s b/test/torture-s/961223-1.c.s index 1789bef84..d65e74f92 100644 --- a/test/torture-s/961223-1.c.s +++ b/test/torture-s/961223-1.c.s @@ -10,7 +10,7 @@ sub: # @sub # BB#0: # %entry f64.const $push0=, 0x1p0 f64.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size sub, .Lfunc_end0-sub diff --git a/test/torture-s/970217-1.c.s b/test/torture-s/970217-1.c.s index 737086aac..0901f6022 100644 --- a/test/torture-s/970217-1.c.s +++ b/test/torture-s/970217-1.c.s @@ -10,7 +10,7 @@ sub: # @sub # BB#0: # %entry i32.const $push0=, 1 i32.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size sub, .Lfunc_end0-sub diff --git a/test/torture-s/970923-1.c.s b/test/torture-s/970923-1.c.s index 1ee7b0e99..02e66da80 100644 --- a/test/torture-s/970923-1.c.s +++ b/test/torture-s/970923-1.c.s @@ -9,7 +9,7 @@ ts: # @ts .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size ts, .Lfunc_end0-ts @@ -23,7 +23,7 @@ tu: # @tu .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size tu, .Lfunc_end1-tu diff --git a/test/torture-s/980205.c.s b/test/torture-s/980205.c.s index e115e4c47..15f243e2b 100644 --- a/test/torture-s/980205.c.s +++ b/test/torture-s/980205.c.s @@ -8,12 +8,13 @@ fdouble: # @fdouble .param f64, i32 .local i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 16 i32.sub $push18=, $pop12, $pop13 - i32.store $2=, 0($pop14), $pop18 + i32.store $push22=, __stack_pointer($pop14), $pop18 + tee_local $push21=, $2=, $pop22 i32.store $push0=, 12($2), $1 i32.const $push2=, 7 i32.add $push3=, $pop0, $pop2 @@ -22,7 +23,7 @@ fdouble: # @fdouble tee_local $push19=, $1=, $pop20 i32.const $push5=, 8 i32.add $push6=, $pop19, $pop5 - i32.store $drop=, 12($2), $pop6 + i32.store $drop=, 12($pop21), $pop6 block f64.const $push7=, 0x1p0 f64.ne $push8=, $0, $pop7 @@ -33,10 +34,10 @@ fdouble: # @fdouble f64.ne $push10=, $pop1, $pop9 br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.end - i32.const $push17=, __stack_pointer + i32.const $push17=, 0 i32.const $push15=, 16 i32.add $push16=, $2, $pop15 - i32.store $drop=, 0($pop17), $pop16 + i32.store $drop=, __stack_pointer($pop17), $pop16 return .LBB0_3: # %if.then end_block # label0: @@ -54,12 +55,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push7=, $pop4, $pop5 - i32.store $push9=, 0($pop6), $pop7 + i32.store $push9=, __stack_pointer($pop6), $pop7 tee_local $push8=, $0=, $pop9 i64.const $push0=, 4611686018427387904 i64.store $drop=, 0($pop8), $pop0 diff --git a/test/torture-s/980223.c.s b/test/torture-s/980223.c.s index e693a5d34..a5d21c43d 100644 --- a/test/torture-s/980223.c.s +++ b/test/torture-s/980223.c.s @@ -19,52 +19,52 @@ bar: # @bar .type foo,@function foo: # @foo .param i32, i32, i32 - .local i32, i32, i64 + .local i32, i64 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) - i32.const $push6=, 16 - i32.sub $push13=, $pop5, $pop6 - i32.store $3=, 0($pop7), $pop13 + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) + i32.const $push7=, 16 + i32.sub $push14=, $pop6, $pop7 + i32.store $3=, __stack_pointer($pop8), $pop14 block block block - i32.load $push16=, 0($1) - tee_local $push15=, $1=, $pop16 - i32.load8_u $push0=, 4($pop15) - i32.const $push14=, 64 - i32.and $push1=, $pop0, $pop14 + i32.load $push17=, 0($1) + tee_local $push16=, $1=, $pop17 + i32.load8_u $push0=, 4($pop16) + i32.const $push15=, 64 + i32.and $push1=, $pop0, $pop15 br_if 0, $pop1 # 0: down to label2 # BB#1: # %entry.if.end7_crit_edge - i64.load $5=, 0($2):p2align=2 + i64.load $4=, 0($2):p2align=2 br 1 # 1: down to label1 .LBB1_2: # %if.then end_block # label2: - i32.load $push21=, 0($1) - tee_local $push20=, $1=, $pop21 - i32.load8_u $4=, 4($pop20) - i64.load $push19=, 8($1):p2align=2 - tee_local $push18=, $5=, $pop19 - i64.store $drop=, 0($2):p2align=2, $pop18 - i32.const $push17=, 64 - i32.and $push2=, $4, $pop17 - br_if 1, $pop2 # 1: down to label0 + i32.load $push22=, 0($1) + tee_local $push21=, $1=, $pop22 + i64.load $push20=, 8($pop21):p2align=2 + tee_local $push19=, $4=, $pop20 + i64.store $drop=, 0($2):p2align=2, $pop19 + i32.load8_u $push2=, 4($1) + i32.const $push18=, 64 + i32.and $push3=, $pop2, $pop18 + br_if 1, $pop3 # 1: down to label0 .LBB1_3: # %if.end7 end_block # label1: - i64.store $drop=, 0($0):p2align=2, $5 - i32.const $push10=, __stack_pointer - i32.const $push8=, 16 - i32.add $push9=, $3, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i64.store $drop=, 0($0):p2align=2, $4 + i32.const $push11=, 0 + i32.const $push9=, 16 + i32.add $push10=, $3, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 return .LBB1_4: # %if.then6 end_block # label0: - i64.load $push3=, 0($2):p2align=2 - i64.store $drop=, 8($3):p2align=2, $pop3 - i32.const $push11=, 8 - i32.add $push12=, $3, $pop11 - call bar@FUNCTION, $2, $pop12 + i64.load $push4=, 0($2):p2align=2 + i64.store $drop=, 8($3):p2align=2, $pop4 + i32.const $push12=, 8 + i32.add $push13=, $3, $pop12 + call bar@FUNCTION, $2, $pop13 unreachable .endfunc .Lfunc_end1: @@ -76,47 +76,48 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) - i32.const $push7=, 16 - i32.sub $push12=, $pop6, $pop7 - i32.store $0=, 0($pop8), $pop12 - i32.const $push15=, 0 - i32.load8_u $1=, cons2+4($pop15) - i32.const $push14=, 0 - i64.load $push0=, .Lmain.y($pop14) - i64.store $drop=, 8($0), $pop0 + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) + i32.const $push9=, 16 + i32.sub $push14=, $pop8, $pop9 + i32.store $push19=, __stack_pointer($pop10), $pop14 + tee_local $push18=, $0=, $pop19 + i32.const $push17=, 0 + i64.load $push0=, .Lmain.y($pop17) + i64.store $drop=, 8($pop18), $pop0 block block - i32.const $push13=, 64 - i32.and $push1=, $1, $pop13 - i32.eqz $push21=, $pop1 - br_if 0, $pop21 # 0: down to label4 + i32.const $push16=, 0 + i32.load8_u $push1=, cons2+4($pop16) + i32.const $push15=, 64 + i32.and $push2=, $pop1, $pop15 + i32.eqz $push25=, $pop2 + br_if 0, $pop25 # 0: down to label4 # BB#1: # %if.then.i - i32.const $push19=, 0 - i32.load $push18=, cons2($pop19) - tee_local $push17=, $1=, $pop18 - i32.load8_u $2=, 4($pop17) - i64.load $push2=, 8($1):p2align=2 - i64.store $drop=, 8($0), $pop2 - i32.const $push16=, 64 - i32.and $push3=, $2, $pop16 - br_if 1, $pop3 # 1: down to label3 + i32.const $push23=, 0 + i32.load $push22=, cons2($pop23) + tee_local $push21=, $1=, $pop22 + i64.load $push3=, 8($pop21):p2align=2 + i64.store $drop=, 8($0), $pop3 + i32.load8_u $push4=, 4($1) + i32.const $push20=, 64 + i32.and $push5=, $pop4, $pop20 + br_if 1, $pop5 # 1: down to label3 .LBB2_2: # %foo.exit end_block # label4: - i32.const $push11=, __stack_pointer - i32.const $push9=, 16 - i32.add $push10=, $0, $pop9 - i32.store $drop=, 0($pop11), $pop10 - i32.const $push20=, 0 - return $pop20 + i32.const $push13=, 0 + i32.const $push11=, 16 + i32.add $push12=, $0, $pop11 + i32.store $drop=, __stack_pointer($pop13), $pop12 + i32.const $push24=, 0 + return $pop24 .LBB2_3: # %if.then6.i end_block # label3: - i64.load $push4=, 8($0) - i64.store $drop=, 0($0):p2align=2, $pop4 + i64.load $push6=, 8($0) + i64.store $drop=, 0($0):p2align=2, $pop6 call bar@FUNCTION, $0, $0 unreachable .endfunc diff --git a/test/torture-s/980424-1.c.s b/test/torture-s/980424-1.c.s index e39da30c4..99054f5b0 100644 --- a/test/torture-s/980424-1.c.s +++ b/test/torture-s/980424-1.c.s @@ -56,11 +56,11 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push1=, 0 - i32.const $push0=, 1 - i32.store $drop=, a($pop1), $pop0 + i32.const $push0=, 64 + i32.store $drop=, i($pop1), $pop0 i32.const $push4=, 0 - i32.const $push2=, 64 - i32.store $drop=, i($pop4), $pop2 + i32.const $push2=, 1 + i32.store $drop=, a($pop4), $pop2 call g@FUNCTION i32.const $push3=, 0 call exit@FUNCTION, $pop3 diff --git a/test/torture-s/980505-2.c.s b/test/torture-s/980505-2.c.s index ac0818144..c99925c9d 100644 --- a/test/torture-s/980505-2.c.s +++ b/test/torture-s/980505-2.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 147 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/980506-2.c.s b/test/torture-s/980506-2.c.s index 8b1ef6043..cbc365317 100644 --- a/test/torture-s/980506-2.c.s +++ b/test/torture-s/980506-2.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/980506-3.c.s b/test/torture-s/980506-3.c.s index 3c7e0f22b..45eb7b0fc 100644 --- a/test/torture-s/980506-3.c.s +++ b/test/torture-s/980506-3.c.s @@ -8,10 +8,10 @@ main: # @main .param i32, i32 .result i32 # BB#0: # %if.else - i32.const $push0=, lookup_table - i32.const $push2=, 4 - i32.const $push1=, 257 - i32.call $drop=, memset@FUNCTION, $pop0, $pop2, $pop1 + i32.const $push2=, lookup_table + i32.const $push1=, 4 + i32.const $push0=, 257 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 i32.const $push3=, 0 call exit@FUNCTION, $pop3 unreachable diff --git a/test/torture-s/980526-2.c.s b/test/torture-s/980526-2.c.s index b106ae684..d02b66858 100644 --- a/test/torture-s/980526-2.c.s +++ b/test/torture-s/980526-2.c.s @@ -31,51 +31,51 @@ getname: # @getname .param i32 .result i32 # BB#0: # %entry - i32.const $push27=, 13 - i32.mul $push28=, $0, $pop27 - i32.const $push8=, 7 - i32.mul $push9=, $0, $pop8 - i32.const $push10=, 3 - i32.add $push11=, $pop9, $pop10 + i32.const $push17=, 13 + i32.mul $push18=, $0, $pop17 + i32.const $push13=, 7 + i32.mul $push14=, $0, $pop13 + i32.const $push9=, 3 + i32.add $push15=, $pop14, $pop9 i32.const $push43=, 3 - i32.shl $push12=, $0, $pop43 - i32.const $push13=, 4 - i32.or $push14=, $pop12, $pop13 - i32.mul $push30=, $pop11, $pop14 - i32.add $push33=, $pop28, $pop30 - i32.const $push0=, 5 - i32.mul $push1=, $0, $pop0 - i32.const $push2=, 1 - i32.add $push3=, $pop1, $pop2 - i32.const $push4=, 6 + i32.shl $push10=, $0, $pop43 + i32.const $push11=, 4 + i32.or $push12=, $pop10, $pop11 + i32.mul $push16=, $pop15, $pop12 + i32.add $push19=, $pop18, $pop16 + i32.const $push4=, 5 i32.mul $push5=, $0, $pop4 - i32.const $push6=, 2 + i32.const $push6=, 1 i32.add $push7=, $pop5, $pop6 - i32.mul $push29=, $pop3, $pop7 - i32.add $push34=, $pop33, $pop29 - i32.const $push15=, 9 - i32.mul $push16=, $0, $pop15 + i32.const $push0=, 6 + i32.mul $push1=, $0, $pop0 + i32.const $push2=, 2 + i32.add $push3=, $pop1, $pop2 + i32.mul $push8=, $pop7, $pop3 + i32.add $push20=, $pop19, $pop8 + i32.const $push24=, 9 + i32.mul $push25=, $0, $pop24 i32.const $push42=, 5 - i32.add $push17=, $pop16, $pop42 - i32.const $push18=, 10 - i32.mul $push19=, $0, $pop18 - i32.const $push41=, 5 - i32.add $push20=, $pop19, $pop41 - i32.mul $push31=, $pop17, $pop20 - i32.add $push35=, $pop34, $pop31 - i32.const $push21=, 11 + i32.add $push26=, $pop25, $pop42 + i32.const $push21=, 10 i32.mul $push22=, $0, $pop21 + i32.const $push41=, 5 + i32.add $push23=, $pop22, $pop41 + i32.mul $push27=, $pop26, $pop23 + i32.add $push28=, $pop20, $pop27 + i32.const $push32=, 11 + i32.mul $push33=, $0, $pop32 i32.const $push40=, 5 - i32.add $push23=, $pop22, $pop40 - i32.const $push24=, 12 - i32.mul $push25=, $0, $pop24 + i32.add $push34=, $pop33, $pop40 + i32.const $push29=, 12 + i32.mul $push30=, $0, $pop29 i32.const $push39=, 5 - i32.add $push26=, $pop25, $pop39 - i32.mul $push32=, $pop23, $pop26 - i32.add $push36=, $pop35, $pop32 + i32.add $push31=, $pop30, $pop39 + i32.mul $push35=, $pop34, $pop31 + i32.add $push36=, $pop28, $pop35 i32.const $push38=, 5 i32.add $push37=, $pop36, $pop38 - return $pop37 + # fallthrough-return: $pop37 .endfunc .Lfunc_end1: .size getname, .Lfunc_end1-getname @@ -88,13 +88,13 @@ sys_mknod: # @sys_mknod .param i32, i32, i32 .result i32 # BB#0: # %entry - i32.const $push0=, 14 - i32.shl $push1=, $2, $pop0 - i32.const $push2=, -4194304 - i32.and $push3=, $pop1, $pop2 - i32.const $push4=, 255 - i32.and $push5=, $2, $pop4 - i32.or $push6=, $pop3, $pop5 + i32.const $push2=, 14 + i32.shl $push3=, $2, $pop2 + i32.const $push4=, -4194304 + i32.and $push5=, $pop3, $pop4 + i32.const $push0=, 255 + i32.and $push1=, $2, $pop0 + i32.or $push6=, $pop5, $pop1 call do_mknod@FUNCTION, $2, $2, $pop6 unreachable .endfunc @@ -109,9 +109,9 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, .L.str - i32.const $push1=, 305419896 - i32.call $drop=, sys_mknod@FUNCTION, $pop0, $0, $pop1 + i32.const $push1=, .L.str + i32.const $push0=, 305419896 + i32.call $drop=, sys_mknod@FUNCTION, $pop1, $0, $pop0 unreachable .endfunc .Lfunc_end3: diff --git a/test/torture-s/980526-3.c.s b/test/torture-s/980526-3.c.s index b463f0e91..f2718641a 100644 --- a/test/torture-s/980526-3.c.s +++ b/test/torture-s/980526-3.c.s @@ -9,7 +9,7 @@ compare: # @compare .result i32 # BB#0: # %entry i32.ne $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size compare, .Lfunc_end0-compare diff --git a/test/torture-s/980602-2.c.s b/test/torture-s/980602-2.c.s index 1eec9311d..cc3097035 100644 --- a/test/torture-s/980602-2.c.s +++ b/test/torture-s/980602-2.c.s @@ -14,16 +14,16 @@ main: # @main tee_local $push9=, $0=, $pop10 i32.const $push2=, 1 i32.add $push3=, $pop9, $pop2 - i32.const $push0=, 1073741823 - i32.and $push4=, $pop3, $pop0 - i32.const $push5=, -1073741824 - i32.and $push6=, $0, $pop5 - i32.or $push7=, $pop4, $pop6 - i32.store $drop=, t($pop12), $pop7 + i32.const $push4=, 1073741823 + i32.and $push5=, $pop3, $pop4 + i32.const $push0=, -1073741824 + i32.and $push1=, $0, $pop0 + i32.or $push6=, $pop5, $pop1 + i32.store $drop=, t($pop12), $pop6 block i32.const $push8=, 1073741823 - i32.and $push1=, $0, $pop8 - br_if 0, $pop1 # 0: down to label0 + i32.and $push7=, $0, $pop8 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.then i32.const $push13=, 0 call exit@FUNCTION, $pop13 diff --git a/test/torture-s/980604-1.c.s b/test/torture-s/980604-1.c.s index ad403cddf..8d038a1d9 100644 --- a/test/torture-s/980604-1.c.s +++ b/test/torture-s/980604-1.c.s @@ -8,14 +8,14 @@ main: # @main .result i32 # BB#0: # %entry block - i32.const $push0=, c - i32.const $push1=, d + i32.const $push4=, c + i32.const $push3=, d i32.const $push8=, 0 - i32.load $push2=, a($pop8) + i32.load $push1=, a($pop8) i32.const $push7=, 0 - i32.load $push3=, b($pop7) - i32.lt_s $push4=, $pop2, $pop3 - i32.select $push5=, $pop0, $pop1, $pop4 + i32.load $push0=, b($pop7) + i32.lt_s $push2=, $pop1, $pop0 + i32.select $push5=, $pop4, $pop3, $pop2 i32.load $push6=, 0($pop5) br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end diff --git a/test/torture-s/980605-1.c.s b/test/torture-s/980605-1.c.s index 9c69b90e2..427e5d13e 100644 --- a/test/torture-s/980605-1.c.s +++ b/test/torture-s/980605-1.c.s @@ -16,13 +16,13 @@ f2: # @f2 i32.const $push1=, 10 i32.add $push2=, $pop9, $pop1 i32.store $drop=, x($pop0), $pop2 - i32.trunc_u/f64 $push3=, $0 + i32.trunc_u/f64 $push4=, $0 i32.const $push8=, 10 - i32.mul $push4=, $1, $pop8 - i32.add $push5=, $pop3, $pop4 + i32.mul $push3=, $1, $pop8 + i32.add $push5=, $pop4, $pop3 i32.const $push6=, 45 i32.add $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size f2, .Lfunc_end0-f2 @@ -42,7 +42,8 @@ getval: # @getval i32.const $push1=, 1 i32.add $push2=, $pop3, $pop1 i32.store $drop=, x($pop0), $pop2 - return $0 + copy_local $push6=, $0 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size getval, .Lfunc_end1-getval @@ -54,12 +55,12 @@ getval: # @getval f: # @f .local i32, i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 16 i32.sub $push18=, $pop12, $pop13 - i32.store $0=, 0($pop14), $pop18 + i32.store $0=, __stack_pointer($pop14), $pop18 i32.const $push0=, 0 i32.const $push23=, 0 i32.load $push22=, x($pop23) @@ -82,10 +83,10 @@ f: # @f i32.ne $push10=, $1, $pop9 br_if 0, $pop10 # 0: down to label0 # BB#1: # %if.end - i32.const $push17=, __stack_pointer + i32.const $push17=, 0 i32.const $push15=, 16 i32.add $push16=, $0, $pop15 - i32.store $drop=, 0($pop17), $pop16 + i32.store $drop=, __stack_pointer($pop17), $pop16 return .LBB2_2: # %if.then end_block # label0: diff --git a/test/torture-s/980608-1.c.s b/test/torture-s/980608-1.c.s index 6a187ba90..e63a370ff 100644 --- a/test/torture-s/980608-1.c.s +++ b/test/torture-s/980608-1.c.s @@ -7,7 +7,7 @@ f1: # @f1 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -20,17 +20,18 @@ debug: # @debug .param i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push33=, __stack_pointer - i32.const $push30=, __stack_pointer - i32.load $push31=, 0($pop30) + i32.const $push33=, 0 + i32.const $push30=, 0 + i32.load $push31=, __stack_pointer($pop30) i32.const $push32=, 16 i32.sub $push37=, $pop31, $pop32 - i32.store $4=, 0($pop33), $pop37 + i32.store $push41=, __stack_pointer($pop33), $pop37 + tee_local $push40=, $4=, $pop41 i32.store $push39=, 12($4), $1 tee_local $push38=, $1=, $pop39 i32.const $push0=, 4 i32.add $push1=, $pop38, $pop0 - i32.store $2=, 12($4), $pop1 + i32.store $2=, 12($pop40), $pop1 block i32.load $push2=, 0($1) i32.const $push3=, 101 @@ -77,10 +78,10 @@ debug: # @debug i32.ne $push29=, $pop27, $pop28 br_if 0, $pop29 # 0: down to label0 # BB#6: # %if.end26 - i32.const $push36=, __stack_pointer + i32.const $push36=, 0 i32.const $push34=, 16 i32.add $push35=, $4, $pop34 - i32.store $drop=, 0($pop36), $pop35 + i32.store $drop=, __stack_pointer($pop36), $pop35 return .LBB1_7: # %if.then25 end_block # label0: @@ -98,12 +99,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 32 i32.sub $push10=, $pop7, $pop8 - i32.store $push12=, 0($pop9), $pop10 + i32.store $push12=, __stack_pointer($pop9), $pop10 tee_local $push11=, $0=, $pop12 i32.const $push0=, 16 i32.add $push1=, $pop11, $pop0 diff --git a/test/torture-s/980612-1.c.s b/test/torture-s/980612-1.c.s index 0e418e916..4e916c082 100644 --- a/test/torture-s/980612-1.c.s +++ b/test/torture-s/980612-1.c.s @@ -8,7 +8,7 @@ g: # @g .result i32 # BB#0: # %entry i32.const $push0=, f - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -21,7 +21,7 @@ h: # @h .result i32 # BB#0: # %entry i32.const $push0=, -1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size h, .Lfunc_end1-h @@ -32,26 +32,25 @@ h: # @h .type main,@function main: # @main .result i32 - .local i32 # BB#0: # %entry - i32.const $push6=, 0 - i32.load8_u $0=, f($pop6) - i32.const $push5=, 0 + i32.const $push7=, 0 i32.const $push0=, 255 - i32.store8 $drop=, f+1($pop5), $pop0 + i32.store8 $drop=, f+1($pop7), $pop0 block - i32.const $push1=, 111 - i32.and $push2=, $0, $pop1 - i32.const $push3=, 2 - i32.gt_u $push4=, $pop2, $pop3 - br_if 0, $pop4 # 0: down to label0 + i32.const $push6=, 0 + i32.load8_u $push1=, f($pop6) + i32.const $push2=, 111 + i32.and $push3=, $pop1, $pop2 + i32.const $push4=, 2 + i32.gt_u $push5=, $pop3, $pop4 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.then call abort@FUNCTION unreachable .LBB2_2: # %if.end end_block # label0: - i32.const $push7=, 0 - call exit@FUNCTION, $pop7 + i32.const $push8=, 0 + call exit@FUNCTION, $pop8 unreachable .endfunc .Lfunc_end2: diff --git a/test/torture-s/980617-1.c.s b/test/torture-s/980617-1.c.s index 4aba3bd8c..7ba27be6b 100644 --- a/test/torture-s/980617-1.c.s +++ b/test/torture-s/980617-1.c.s @@ -32,12 +32,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push10=, 0($pop5), $pop8 + i32.store $push10=, __stack_pointer($pop5), $pop8 tee_local $push9=, $0=, $pop10 i32.const $push0=, 196625 i32.store $drop=, 12($pop9), $pop0 diff --git a/test/torture-s/980701-1.c.s b/test/torture-s/980701-1.c.s index 838a3bb45..d33aa9a3d 100644 --- a/test/torture-s/980701-1.c.s +++ b/test/torture-s/980701-1.c.s @@ -10,7 +10,7 @@ ns_name_skip: # @ns_name_skip # BB#0: # %entry i32.const $push1=, 0 i32.store $push0=, 0($0), $pop1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size ns_name_skip, .Lfunc_end0-ns_name_skip @@ -25,7 +25,7 @@ dn_skipname: # @dn_skipname # BB#0: # %entry i32.const $push0=, 0 i32.sub $push1=, $pop0, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size dn_skipname, .Lfunc_end1-dn_skipname diff --git a/test/torture-s/980707-1.c.s b/test/torture-s/980707-1.c.s index 1cea106f1..eedd4c0f6 100644 --- a/test/torture-s/980707-1.c.s +++ b/test/torture-s/980707-1.c.s @@ -9,74 +9,68 @@ buildargv: # @buildargv .result i32 .local i32, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $2=, 0 .LBB0_1: # %while.cond1 # =>This Loop Header: Depth=1 # Child Loop BB0_5 Depth 2 + loop # label0: block - loop # label1: - block - i32.load8_u $push11=, 0($0) - tee_local $push10=, $2=, $pop11 - i32.const $push9=, 32 - i32.ne $push1=, $pop10, $pop9 - br_if 0, $pop1 # 0: down to label3 + i32.load8_u $push10=, 0($0) + tee_local $push9=, $1=, $pop10 + i32.const $push8=, 32 + i32.ne $push0=, $pop9, $pop8 + br_if 0, $pop0 # 0: down to label2 # BB#2: # %while.body3 # in Loop: Header=BB0_1 Depth=1 - i32.const $push8=, 1 - i32.add $0=, $0, $pop8 - br 1 # 1: up to label1 + i32.const $push7=, 1 + i32.add $0=, $0, $pop7 + br 1 # 1: up to label0 .LBB0_3: # %while.cond1 # in Loop: Header=BB0_1 Depth=1 - end_block # label3: - i32.eqz $push20=, $2 - br_if 2, $pop20 # 2: down to label0 + end_block # label2: + i32.eqz $push19=, $1 + br_if 1, $pop19 # 1: down to label1 # BB#4: # %if.end # in Loop: Header=BB0_1 Depth=1 - i32.const $push13=, 2 - i32.shl $push2=, $1, $pop13 - i32.store $drop=, buildargv.arglist($pop2), $0 - i32.const $push12=, 1 - i32.add $1=, $1, $pop12 + i32.const $push12=, 2 + i32.shl $push1=, $2, $pop12 + i32.store $drop=, buildargv.arglist($pop1), $0 + i32.const $push11=, 1 + i32.add $2=, $2, $pop11 .LBB0_5: # %while.cond7 # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 - loop # label4: - i32.load8_u $push16=, 0($0) - tee_local $push15=, $2=, $pop16 - i32.eqz $push21=, $pop15 - br_if 3, $pop21 # 3: down to label2 + loop # label3: + i32.load8_u $push15=, 0($0) + tee_local $push14=, $1=, $pop15 + i32.eqz $push20=, $pop14 + br_if 3, $pop20 # 3: down to label1 # BB#6: # %while.cond7 # in Loop: Header=BB0_5 Depth=2 - i32.const $push17=, 32 - i32.eq $push3=, $2, $pop17 - br_if 1, $pop3 # 1: down to label5 + i32.const $push16=, 32 + i32.eq $push2=, $1, $pop16 + br_if 1, $pop2 # 1: down to label4 # BB#7: # %while.body14 # in Loop: Header=BB0_5 Depth=2 - i32.const $push14=, 1 - i32.add $0=, $0, $pop14 - br 0 # 0: up to label4 + i32.const $push13=, 1 + i32.add $0=, $0, $pop13 + br 0 # 0: up to label3 .LBB0_8: # %if.end21 # in Loop: Header=BB0_1 Depth=1 - end_loop # label5: - i32.const $push19=, 0 - i32.store8 $drop=, 0($0), $pop19 - i32.const $push18=, 1 - i32.add $push0=, $0, $pop18 - copy_local $0=, $pop0 - copy_local $1=, $1 - br 0 # 0: up to label1 -.LBB0_9: - end_loop # label2: - copy_local $1=, $1 -.LBB0_10: # %while.end23 - end_block # label0: - i32.const $push4=, 2 - i32.shl $push5=, $1, $pop4 - i32.const $push7=, 0 - i32.store $drop=, buildargv.arglist($pop5), $pop7 + end_loop # label4: + i32.const $push18=, 0 + i32.store8 $drop=, 0($0), $pop18 + i32.const $push17=, 1 + i32.add $0=, $0, $pop17 + br 0 # 0: up to label0 +.LBB0_9: # %while.end23 + end_loop # label1: + i32.const $push3=, 2 + i32.shl $push4=, $2, $pop3 + i32.const $push5=, 0 + i32.store $drop=, buildargv.arglist($pop4), $pop5 i32.const $push6=, buildargv.arglist - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size buildargv, .Lfunc_end0-buildargv @@ -89,107 +83,101 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push19=, __stack_pointer - i32.const $push16=, __stack_pointer - i32.load $push17=, 0($pop16) - i32.const $push18=, 256 - i32.sub $push20=, $pop17, $pop18 - i32.store $push24=, 0($pop19), $pop20 - tee_local $push23=, $0=, $pop24 - i32.const $push22=, 0 - i32.load8_u $push1=, .L.str+4($pop22) - i32.store8 $drop=, 4($pop23), $pop1 + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) + i32.const $push17=, 256 + i32.sub $push19=, $pop16, $pop17 + i32.store $push23=, __stack_pointer($pop18), $pop19 + tee_local $push22=, $0=, $pop23 i32.const $push21=, 0 - i32.load $push2=, .L.str($pop21):p2align=0 - i32.store $drop=, 0($0), $pop2 + i32.load8_u $push0=, .L.str+4($pop21) + i32.store8 $drop=, 4($pop22), $pop0 + i32.const $push20=, 0 + i32.load $push1=, .L.str($pop20):p2align=0 + i32.store $drop=, 0($0), $pop1 copy_local $0=, $0 - i32.const $1=, 0 + i32.const $2=, 0 .LBB1_1: # %while.cond1.i # =>This Loop Header: Depth=1 # Child Loop BB1_5 Depth 2 + loop # label5: block - loop # label7: - block - i32.load8_u $push28=, 0($0) - tee_local $push27=, $2=, $pop28 - i32.const $push26=, 32 - i32.ne $push3=, $pop27, $pop26 - br_if 0, $pop3 # 0: down to label9 + i32.load8_u $push27=, 0($0) + tee_local $push26=, $1=, $pop27 + i32.const $push25=, 32 + i32.ne $push2=, $pop26, $pop25 + br_if 0, $pop2 # 0: down to label7 # BB#2: # %while.body3.i # in Loop: Header=BB1_1 Depth=1 - i32.const $push25=, 1 - i32.add $0=, $0, $pop25 - br 1 # 1: up to label7 + i32.const $push24=, 1 + i32.add $0=, $0, $pop24 + br 1 # 1: up to label5 .LBB1_3: # %while.cond1.i # in Loop: Header=BB1_1 Depth=1 - end_block # label9: - i32.eqz $push41=, $2 - br_if 2, $pop41 # 2: down to label6 + end_block # label7: + i32.eqz $push40=, $1 + br_if 1, $pop40 # 1: down to label6 # BB#4: # %if.end.i # in Loop: Header=BB1_1 Depth=1 - i32.const $push30=, 2 - i32.shl $push4=, $1, $pop30 - i32.store $drop=, buildargv.arglist($pop4), $0 - i32.const $push29=, 1 - i32.add $2=, $1, $pop29 + i32.const $push29=, 2 + i32.shl $push3=, $2, $pop29 + i32.store $drop=, buildargv.arglist($pop3), $0 + i32.const $push28=, 1 + i32.add $2=, $2, $pop28 .LBB1_5: # %while.cond7.i # Parent Loop BB1_1 Depth=1 # => This Inner Loop Header: Depth=2 - loop # label10: - i32.load8_u $push34=, 0($0) - tee_local $push33=, $1=, $pop34 - i32.const $push32=, 32 - i32.eq $push5=, $pop33, $pop32 - br_if 1, $pop5 # 1: down to label11 + loop # label8: + i32.load8_u $push33=, 0($0) + tee_local $push32=, $1=, $pop33 + i32.const $push31=, 32 + i32.eq $push4=, $pop32, $pop31 + br_if 1, $pop4 # 1: down to label9 # BB#6: # %while.cond7.i # in Loop: Header=BB1_5 Depth=2 - i32.eqz $push42=, $1 - br_if 3, $pop42 # 3: down to label8 + i32.eqz $push41=, $1 + br_if 3, $pop41 # 3: down to label6 # BB#7: # %while.body14.i # in Loop: Header=BB1_5 Depth=2 - i32.const $push31=, 1 - i32.add $0=, $0, $pop31 - br 0 # 0: up to label10 + i32.const $push30=, 1 + i32.add $0=, $0, $pop30 + br 0 # 0: up to label8 .LBB1_8: # %if.end21.i # in Loop: Header=BB1_1 Depth=1 - end_loop # label11: - i32.const $push36=, 0 - i32.store8 $drop=, 0($0), $pop36 - i32.const $push35=, 1 - i32.add $push0=, $0, $pop35 - copy_local $0=, $pop0 - copy_local $1=, $2 - br 0 # 0: up to label7 -.LBB1_9: - end_loop # label8: - copy_local $1=, $2 -.LBB1_10: # %buildargv.exit - end_block # label6: + end_loop # label9: + i32.const $push35=, 0 + i32.store8 $drop=, 0($0), $pop35 + i32.const $push34=, 1 + i32.add $0=, $0, $pop34 + br 0 # 0: up to label5 +.LBB1_9: # %buildargv.exit + end_loop # label6: block - i32.const $push6=, 2 - i32.shl $push7=, $1, $pop6 - i32.const $push8=, 0 - i32.store $push38=, buildargv.arglist($pop7), $pop8 - tee_local $push37=, $0=, $pop38 - i32.load $push9=, buildargv.arglist($pop37) - i32.const $push10=, .L.str.1 - i32.call $push11=, strcmp@FUNCTION, $pop9, $pop10 - br_if 0, $pop11 # 0: down to label12 -# BB#11: # %if.end - i32.load $push12=, buildargv.arglist+4($0) - i32.const $push13=, .L.str.2 - i32.call $push14=, strcmp@FUNCTION, $pop12, $pop13 - br_if 0, $pop14 # 0: down to label12 -# BB#12: # %if.end8 + i32.const $push5=, 2 + i32.shl $push6=, $2, $pop5 + i32.const $push7=, 0 + i32.store $push37=, buildargv.arglist($pop6), $pop7 + tee_local $push36=, $0=, $pop37 + i32.load $push8=, buildargv.arglist($pop36) + i32.const $push9=, .L.str.1 + i32.call $push10=, strcmp@FUNCTION, $pop8, $pop9 + br_if 0, $pop10 # 0: down to label10 +# BB#10: # %if.end + i32.load $push11=, buildargv.arglist+4($0) + i32.const $push12=, .L.str.2 + i32.call $push13=, strcmp@FUNCTION, $pop11, $pop12 + br_if 0, $pop13 # 0: down to label10 +# BB#11: # %if.end8 + i32.const $push38=, 0 + i32.load $push14=, buildargv.arglist+8($pop38) + br_if 0, $pop14 # 0: down to label10 +# BB#12: # %if.end11 i32.const $push39=, 0 - i32.load $push15=, buildargv.arglist+8($pop39) - br_if 0, $pop15 # 0: down to label12 -# BB#13: # %if.end11 - i32.const $push40=, 0 - call exit@FUNCTION, $pop40 + call exit@FUNCTION, $pop39 unreachable -.LBB1_14: # %if.then10 - end_block # label12: +.LBB1_13: # %if.then10 + end_block # label10: call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/980716-1.c.s b/test/torture-s/980716-1.c.s index e5bc27091..67e0e9bb7 100644 --- a/test/torture-s/980716-1.c.s +++ b/test/torture-s/980716-1.c.s @@ -8,38 +8,38 @@ stub: # @stub .param i32, i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 tee_local $push7=, $6=, $pop8 i32.store $push6=, 12($pop7), $1 - tee_local $push5=, $5=, $pop6 - copy_local $4=, $pop5 + tee_local $push5=, $2=, $pop6 + copy_local $5=, $pop5 .LBB0_1: # %while.cond # =>This Inner Loop Header: Depth=1 loop # label0: i32.const $push9=, 4 - i32.add $push0=, $4, $pop9 - i32.store $2=, 12($6), $pop0 - i32.load $3=, 0($4) - copy_local $4=, $2 - br_if 0, $3 # 0: up to label0 + i32.add $push0=, $5, $pop9 + i32.store $3=, 12($6), $pop0 + i32.load $4=, 0($5) + copy_local $5=, $3 + br_if 0, $4 # 0: up to label0 # BB#2: # %while.end end_loop # label1: - i32.store $drop=, 12($6), $5 + i32.store $drop=, 12($6), $2 .LBB0_3: # %while.cond.1 # =>This Inner Loop Header: Depth=1 loop # label2: i32.const $push10=, 4 i32.add $push1=, $1, $pop10 - i32.store $4=, 12($6), $pop1 - i32.load $2=, 0($1) - copy_local $1=, $4 - br_if 0, $2 # 0: up to label2 + i32.store $5=, 12($6), $pop1 + i32.load $3=, 0($1) + copy_local $1=, $5 + br_if 0, $3 # 0: up to label2 # BB#4: # %while.end.1 end_loop # label3: - return + # fallthrough-return .endfunc .Lfunc_end0: .size stub, .Lfunc_end0-stub @@ -52,12 +52,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push8=, $pop5, $pop6 - i32.store $push10=, 0($pop7), $pop8 + i32.store $push10=, __stack_pointer($pop7), $pop8 tee_local $push9=, $1=, $pop10 i32.const $push0=, 0 i32.store $0=, 12($pop9), $pop0 diff --git a/test/torture-s/981001-1.c.s b/test/torture-s/981001-1.c.s index 4e1f31506..426d2e5e4 100644 --- a/test/torture-s/981001-1.c.s +++ b/test/torture-s/981001-1.c.s @@ -21,31 +21,30 @@ sub: # @sub i32.and $push2=, $0, $pop13 br_if 1, $pop2 # 1: down to label0 # BB#2: # %if.then2 + i32.call $push17=, sub@FUNCTION, $1 + tee_local $push16=, $0=, $pop17 i32.const $push7=, -1 i32.add $push8=, $1, $pop7 i32.call $push9=, sub@FUNCTION, $pop8 - i32.const $push17=, 1 - i32.shl $push10=, $pop9, $pop17 - i32.call $push16=, sub@FUNCTION, $1 - tee_local $push15=, $0=, $pop16 - i32.add $push11=, $pop10, $pop15 - i32.mul $push12=, $pop11, $0 + i32.const $push15=, 1 + i32.shl $push10=, $pop9, $pop15 + i32.add $push11=, $0, $pop10 + i32.mul $push12=, $pop16, $pop11 return $pop12 .LBB0_3: # %cleanup end_block # label1: return $0 .LBB0_4: # %if.else end_block # label0: - i32.call $push22=, sub@FUNCTION, $1 - tee_local $push21=, $0=, $pop22 - i32.mul $push5=, $pop21, $0 i32.const $push20=, 1 i32.add $push3=, $1, $pop20 - i32.call $push19=, sub@FUNCTION, $pop3 - tee_local $push18=, $0=, $pop19 - i32.mul $push4=, $pop18, $0 + i32.call $0=, sub@FUNCTION, $pop3 + i32.call $push19=, sub@FUNCTION, $1 + tee_local $push18=, $1=, $pop19 + i32.mul $push5=, $pop18, $1 + i32.mul $push4=, $0, $0 i32.add $push6=, $pop5, $pop4 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size sub, .Lfunc_end0-sub diff --git a/test/torture-s/981019-1.c.s b/test/torture-s/981019-1.c.s index f17967244..928a72452 100644 --- a/test/torture-s/981019-1.c.s +++ b/test/torture-s/981019-1.c.s @@ -10,8 +10,8 @@ ff: # @ff # BB#0: # %entry block block - i32.eqz $push5=, $0 - br_if 0, $pop5 # 0: down to label1 + i32.eqz $push3=, $0 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %entry br_if 1, $2 # 1: down to label0 .LBB0_2: # %while.cond.preheader @@ -22,24 +22,23 @@ ff: # @ff # =>This Inner Loop Header: Depth=1 block loop # label3: - copy_local $push4=, $0 - tee_local $push3=, $3=, $pop4 - i32.eqz $0=, $pop3 - br_if 2, $3 # 2: down to label2 + i32.eqz $3=, $0 + br_if 2, $0 # 2: down to label2 # BB#4: # %while.body # in Loop: Header=BB0_3 Depth=1 - i32.eqz $push6=, $2 - br_if 0, $pop6 # 0: up to label3 + copy_local $0=, $3 + i32.eqz $push4=, $2 + br_if 0, $pop4 # 0: up to label3 # BB#5: # %land.lhs.true end_loop # label4: i32.const $push2=, 0 - i32.store $drop=, f3.x($pop2), $0 + i32.store $drop=, f3.x($pop2), $3 i32.call $drop=, f2@FUNCTION unreachable .LBB0_6: # %while.end end_block # label2: i32.const $push1=, 0 - i32.store $drop=, f3.x($pop1), $0 + i32.store $drop=, f3.x($pop1), $3 br_if 0, $2 # 0: down to label0 # BB#7: # %if.end16 return @@ -75,7 +74,7 @@ f3: # @f3 i32.load $push2=, f3.x($pop4) i32.eqz $push3=, $pop2 i32.store $push0=, f3.x($pop1), $pop3 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -102,21 +101,21 @@ main: # @main .local i32, i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load $0=, f3.x($pop0) + i32.load $1=, f3.x($pop0) .LBB4_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 loop # label5: - copy_local $push3=, $0 - tee_local $push2=, $1=, $pop3 - i32.eqz $0=, $pop2 - i32.eqz $push5=, $1 + copy_local $push3=, $1 + tee_local $push2=, $0=, $pop3 + i32.eqz $1=, $pop2 + i32.eqz $push5=, $0 br_if 0, $pop5 # 0: up to label5 # BB#2: # %ff.exit end_loop # label6: i32.const $push1=, 0 - i32.store $drop=, f3.x($pop1), $0 + i32.store $drop=, f3.x($pop1), $1 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/981130-1.c.s b/test/torture-s/981130-1.c.s index a7ec62e50..2b1a970d3 100644 --- a/test/torture-s/981130-1.c.s +++ b/test/torture-s/981130-1.c.s @@ -28,16 +28,14 @@ check: # @check .type main,@function main: # @main .result i32 - .local i64 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push1=, 0 i32.const $push5=, 0 - i64.load $push4=, s2($pop5) - tee_local $push3=, $0=, $pop4 - i64.store $drop=, s1($pop0), $pop3 - i32.wrap/i64 $push1=, $0 - i32.const $push2=, 1 - call check@FUNCTION, $pop1, $pop2 + i64.load $push2=, s2($pop5) + i64.store $push0=, s1($pop1), $pop2 + i32.wrap/i64 $push3=, $pop0 + i32.const $push4=, 1 + call check@FUNCTION, $pop3, $pop4 unreachable .endfunc .Lfunc_end1: diff --git a/test/torture-s/981206-1.c.s b/test/torture-s/981206-1.c.s index 734250f22..e7253d3ab 100644 --- a/test/torture-s/981206-1.c.s +++ b/test/torture-s/981206-1.c.s @@ -6,12 +6,12 @@ .type foo,@function foo: # @foo # BB#0: # %entry - i32.const $push1=, 0 + i32.const $push2=, 0 i32.const $push3=, 0 - i32.const $push2=, 1 - i32.store8 $push0=, x($pop3), $pop2 - i32.store8 $drop=, y($pop1), $pop0 - return + i32.const $push1=, 1 + i32.store8 $push0=, y($pop3), $pop1 + i32.store8 $drop=, x($pop2), $pop0 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -26,8 +26,8 @@ main: # @main i32.const $push2=, 0 i32.const $push4=, 0 i32.const $push1=, 1 - i32.store8 $push0=, x($pop4), $pop1 - i32.store8 $drop=, y($pop2), $pop0 + i32.store8 $push0=, y($pop4), $pop1 + i32.store8 $drop=, x($pop2), $pop0 i32.const $push3=, 0 call exit@FUNCTION, $pop3 unreachable diff --git a/test/torture-s/990106-1.c.s b/test/torture-s/990106-1.c.s index 9665f7905..591edfe3f 100644 --- a/test/torture-s/990106-1.c.s +++ b/test/torture-s/990106-1.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.const $push1=, 97 i32.store8 $push0=, 0($0), $pop1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/990106-2.c.s b/test/torture-s/990106-2.c.s index 12b877a04..430ca1426 100644 --- a/test/torture-s/990106-2.c.s +++ b/test/torture-s/990106-2.c.s @@ -12,12 +12,13 @@ calc_mp: # @calc_mp i32.const $push0=, -1 i32.rem_u $push1=, $pop0, $0 i32.const $push2=, 1 - i32.add $1=, $pop1, $pop2 + i32.add $push8=, $pop1, $pop2 + tee_local $push7=, $1=, $pop8 i32.const $push4=, 0 i32.gt_u $push3=, $1, $0 i32.select $push5=, $0, $pop4, $pop3 - i32.sub $push6=, $1, $pop5 - return $pop6 + i32.sub $push6=, $pop7, $pop5 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size calc_mp, .Lfunc_end0-calc_mp diff --git a/test/torture-s/990117-1.c.s b/test/torture-s/990117-1.c.s index 1e111fcff..6703d91e8 100644 --- a/test/torture-s/990117-1.c.s +++ b/test/torture-s/990117-1.c.s @@ -8,14 +8,14 @@ foo: # @foo .param i32, i32, i32, i32 .result i32 # BB#0: # %entry - f64.convert_s/i32 $push0=, $0 - f64.convert_s/i32 $push1=, $1 - f64.div $push2=, $pop0, $pop1 - f64.convert_s/i32 $push3=, $2 - f64.convert_s/i32 $push4=, $3 - f64.div $push5=, $pop3, $pop4 - f64.lt $push6=, $pop2, $pop5 - return $pop6 + f64.convert_s/i32 $push4=, $0 + f64.convert_s/i32 $push3=, $1 + f64.div $push5=, $pop4, $pop3 + f64.convert_s/i32 $push1=, $2 + f64.convert_s/i32 $push0=, $3 + f64.div $push2=, $pop1, $pop0 + f64.lt $push6=, $pop5, $pop2 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -28,7 +28,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/990127-1.c.s b/test/torture-s/990127-1.c.s index 5f666fa00..162fa85ca 100644 --- a/test/torture-s/990127-1.c.s +++ b/test/torture-s/990127-1.c.s @@ -8,266 +8,266 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %while.end - i32.const $push30=, __stack_pointer - i32.const $push27=, __stack_pointer - i32.load $push28=, 0($pop27) + i32.const $2=, 10 + i32.const $push30=, 0 + i32.const $push27=, 0 + i32.load $push28=, __stack_pointer($pop27) i32.const $push29=, 16 i32.sub $push63=, $pop28, $pop29 - i32.store $push66=, 0($pop30), $pop63 - tee_local $push65=, $2=, $pop66 + i32.store $push66=, __stack_pointer($pop30), $pop63 + tee_local $push65=, $0=, $pop66 + i32.const $push64=, 10 + i32.store $drop=, 12($pop65), $pop64 i32.const $push0=, 20 - i32.store $drop=, 8($pop65), $pop0 + i32.store $drop=, 8($0), $pop0 i32.const $push1=, 2 - i32.store $drop=, 8($2), $pop1 - i32.const $0=, 10 - i32.const $push64=, 10 - i32.store $drop=, 12($2), $pop64 + i32.store $drop=, 8($0), $pop1 i32.const $push2=, 9 - i32.store $drop=, 12($2), $pop2 - i32.const $3=, 18 + i32.store $drop=, 12($0), $pop2 + i32.const $1=, 18 .LBB0_1: # %while.body.1 # =>This Inner Loop Header: Depth=1 loop # label0: - copy_local $1=, $3 + copy_local $3=, $1 i32.const $push67=, 4 - i32.lt_s $push3=, $0, $pop67 + i32.lt_s $push3=, $2, $pop67 br_if 1, $pop3 # 1: down to label1 # BB#2: # %while.body.1.while.cond.1_crit_edge # in Loop: Header=BB0_1 Depth=1 - i32.load $push71=, 8($2) - tee_local $push70=, $0=, $pop71 + i32.load $push71=, 8($0) + tee_local $push70=, $2=, $pop71 i32.const $push69=, -1 i32.add $push4=, $pop70, $pop69 - i32.store $drop=, 8($2), $pop4 + i32.store $drop=, 8($0), $pop4 i32.const $push68=, 1 - i32.add $3=, $1, $pop68 - br_if 0, $0 # 0: up to label0 + i32.add $1=, $3, $pop68 + br_if 0, $2 # 0: up to label0 .LBB0_3: # %while.end.1 end_loop # label1: i32.const $push72=, 3 - i32.add $1=, $1, $pop72 + i32.add $3=, $3, $pop72 i32.const $push31=, 12 - i32.add $push32=, $2, $pop31 - copy_local $0=, $pop32 + i32.add $push32=, $0, $pop31 + copy_local $2=, $pop32 .LBB0_4: # %while.cond.2 # =>This Inner Loop Header: Depth=1 loop # label2: - i32.load $push75=, 0($0) - tee_local $push74=, $3=, $pop75 + i32.load $push75=, 0($2) + tee_local $push74=, $1=, $pop75 i32.const $push73=, -1 i32.add $push5=, $pop74, $pop73 - i32.store $drop=, 0($0), $pop5 - i32.eqz $push120=, $3 + i32.store $drop=, 0($2), $pop5 + i32.eqz $push120=, $1 br_if 1, $pop120 # 1: down to label3 # BB#5: # %while.body.2 # in Loop: Header=BB0_4 Depth=1 i32.const $push77=, 1 - i32.add $1=, $1, $pop77 + i32.add $3=, $3, $pop77 i32.const $push61=, 8 - i32.add $push62=, $2, $pop61 - copy_local $0=, $pop62 + i32.add $push62=, $0, $pop61 + copy_local $2=, $pop62 i32.const $push76=, 3 - i32.gt_s $push6=, $3, $pop76 + i32.gt_s $push6=, $1, $pop76 br_if 0, $pop6 # 0: up to label2 .LBB0_6: # %while.end.2 end_loop # label3: i32.const $push78=, 1 - i32.add $1=, $1, $pop78 + i32.add $3=, $3, $pop78 i32.const $push33=, 12 - i32.add $push34=, $2, $pop33 - copy_local $0=, $pop34 + i32.add $push34=, $0, $pop33 + copy_local $2=, $pop34 .LBB0_7: # %while.cond.3 # =>This Inner Loop Header: Depth=1 loop # label4: - i32.load $push81=, 0($0) - tee_local $push80=, $3=, $pop81 + i32.load $push81=, 0($2) + tee_local $push80=, $1=, $pop81 i32.const $push79=, -1 i32.add $push7=, $pop80, $pop79 - i32.store $drop=, 0($0), $pop7 - i32.eqz $push121=, $3 + i32.store $drop=, 0($2), $pop7 + i32.eqz $push121=, $1 br_if 1, $pop121 # 1: down to label5 # BB#8: # %while.body.3 # in Loop: Header=BB0_7 Depth=1 i32.const $push83=, 1 - i32.add $1=, $1, $pop83 + i32.add $3=, $3, $pop83 i32.const $push59=, 8 - i32.add $push60=, $2, $pop59 - copy_local $0=, $pop60 + i32.add $push60=, $0, $pop59 + copy_local $2=, $pop60 i32.const $push82=, 3 - i32.gt_s $push8=, $3, $pop82 + i32.gt_s $push8=, $1, $pop82 br_if 0, $pop8 # 0: up to label4 .LBB0_9: # %while.end.3 end_loop # label5: i32.const $push84=, 1 - i32.add $1=, $1, $pop84 + i32.add $3=, $3, $pop84 i32.const $push35=, 12 - i32.add $push36=, $2, $pop35 - copy_local $0=, $pop36 + i32.add $push36=, $0, $pop35 + copy_local $2=, $pop36 .LBB0_10: # %while.cond.4 # =>This Inner Loop Header: Depth=1 loop # label6: - i32.load $push87=, 0($0) - tee_local $push86=, $3=, $pop87 + i32.load $push87=, 0($2) + tee_local $push86=, $1=, $pop87 i32.const $push85=, -1 i32.add $push9=, $pop86, $pop85 - i32.store $drop=, 0($0), $pop9 - i32.eqz $push122=, $3 + i32.store $drop=, 0($2), $pop9 + i32.eqz $push122=, $1 br_if 1, $pop122 # 1: down to label7 # BB#11: # %while.body.4 # in Loop: Header=BB0_10 Depth=1 i32.const $push89=, 1 - i32.add $1=, $1, $pop89 + i32.add $3=, $3, $pop89 i32.const $push57=, 8 - i32.add $push58=, $2, $pop57 - copy_local $0=, $pop58 + i32.add $push58=, $0, $pop57 + copy_local $2=, $pop58 i32.const $push88=, 3 - i32.gt_s $push10=, $3, $pop88 + i32.gt_s $push10=, $1, $pop88 br_if 0, $pop10 # 0: up to label6 .LBB0_12: # %while.end.4 end_loop # label7: i32.const $push90=, 1 - i32.add $1=, $1, $pop90 + i32.add $3=, $3, $pop90 i32.const $push37=, 12 - i32.add $push38=, $2, $pop37 - copy_local $0=, $pop38 + i32.add $push38=, $0, $pop37 + copy_local $2=, $pop38 .LBB0_13: # %while.cond.5 # =>This Inner Loop Header: Depth=1 loop # label8: - i32.load $push93=, 0($0) - tee_local $push92=, $3=, $pop93 + i32.load $push93=, 0($2) + tee_local $push92=, $1=, $pop93 i32.const $push91=, -1 i32.add $push11=, $pop92, $pop91 - i32.store $drop=, 0($0), $pop11 - i32.eqz $push123=, $3 + i32.store $drop=, 0($2), $pop11 + i32.eqz $push123=, $1 br_if 1, $pop123 # 1: down to label9 # BB#14: # %while.body.5 # in Loop: Header=BB0_13 Depth=1 i32.const $push95=, 1 - i32.add $1=, $1, $pop95 + i32.add $3=, $3, $pop95 i32.const $push55=, 8 - i32.add $push56=, $2, $pop55 - copy_local $0=, $pop56 + i32.add $push56=, $0, $pop55 + copy_local $2=, $pop56 i32.const $push94=, 3 - i32.gt_s $push12=, $3, $pop94 + i32.gt_s $push12=, $1, $pop94 br_if 0, $pop12 # 0: up to label8 .LBB0_15: # %while.end.5 end_loop # label9: i32.const $push96=, 1 - i32.add $1=, $1, $pop96 + i32.add $3=, $3, $pop96 i32.const $push39=, 12 - i32.add $push40=, $2, $pop39 - copy_local $0=, $pop40 + i32.add $push40=, $0, $pop39 + copy_local $2=, $pop40 .LBB0_16: # %while.cond.6 # =>This Inner Loop Header: Depth=1 loop # label10: - i32.load $push99=, 0($0) - tee_local $push98=, $3=, $pop99 + i32.load $push99=, 0($2) + tee_local $push98=, $1=, $pop99 i32.const $push97=, -1 i32.add $push13=, $pop98, $pop97 - i32.store $drop=, 0($0), $pop13 - i32.eqz $push124=, $3 + i32.store $drop=, 0($2), $pop13 + i32.eqz $push124=, $1 br_if 1, $pop124 # 1: down to label11 # BB#17: # %while.body.6 # in Loop: Header=BB0_16 Depth=1 i32.const $push101=, 1 - i32.add $1=, $1, $pop101 + i32.add $3=, $3, $pop101 i32.const $push53=, 8 - i32.add $push54=, $2, $pop53 - copy_local $0=, $pop54 + i32.add $push54=, $0, $pop53 + copy_local $2=, $pop54 i32.const $push100=, 3 - i32.gt_s $push14=, $3, $pop100 + i32.gt_s $push14=, $1, $pop100 br_if 0, $pop14 # 0: up to label10 .LBB0_18: # %while.end.6 end_loop # label11: i32.const $push102=, 1 - i32.add $1=, $1, $pop102 + i32.add $3=, $3, $pop102 i32.const $push41=, 12 - i32.add $push42=, $2, $pop41 - copy_local $0=, $pop42 + i32.add $push42=, $0, $pop41 + copy_local $2=, $pop42 .LBB0_19: # %while.cond.7 # =>This Inner Loop Header: Depth=1 loop # label12: - i32.load $push105=, 0($0) - tee_local $push104=, $3=, $pop105 + i32.load $push105=, 0($2) + tee_local $push104=, $1=, $pop105 i32.const $push103=, -1 i32.add $push15=, $pop104, $pop103 - i32.store $drop=, 0($0), $pop15 - i32.eqz $push125=, $3 + i32.store $drop=, 0($2), $pop15 + i32.eqz $push125=, $1 br_if 1, $pop125 # 1: down to label13 # BB#20: # %while.body.7 # in Loop: Header=BB0_19 Depth=1 i32.const $push107=, 1 - i32.add $1=, $1, $pop107 + i32.add $3=, $3, $pop107 i32.const $push51=, 8 - i32.add $push52=, $2, $pop51 - copy_local $0=, $pop52 + i32.add $push52=, $0, $pop51 + copy_local $2=, $pop52 i32.const $push106=, 3 - i32.gt_s $push16=, $3, $pop106 + i32.gt_s $push16=, $1, $pop106 br_if 0, $pop16 # 0: up to label12 .LBB0_21: # %while.end.7 end_loop # label13: i32.const $push108=, 1 - i32.add $1=, $1, $pop108 + i32.add $3=, $3, $pop108 i32.const $push43=, 12 - i32.add $push44=, $2, $pop43 - copy_local $0=, $pop44 + i32.add $push44=, $0, $pop43 + copy_local $2=, $pop44 .LBB0_22: # %while.cond.8 # =>This Inner Loop Header: Depth=1 loop # label14: - i32.load $push111=, 0($0) - tee_local $push110=, $3=, $pop111 + i32.load $push111=, 0($2) + tee_local $push110=, $1=, $pop111 i32.const $push109=, -1 i32.add $push17=, $pop110, $pop109 - i32.store $drop=, 0($0), $pop17 - i32.eqz $push126=, $3 + i32.store $drop=, 0($2), $pop17 + i32.eqz $push126=, $1 br_if 1, $pop126 # 1: down to label15 # BB#23: # %while.body.8 # in Loop: Header=BB0_22 Depth=1 i32.const $push113=, 1 - i32.add $1=, $1, $pop113 + i32.add $3=, $3, $pop113 i32.const $push49=, 8 - i32.add $push50=, $2, $pop49 - copy_local $0=, $pop50 + i32.add $push50=, $0, $pop49 + copy_local $2=, $pop50 i32.const $push112=, 3 - i32.gt_s $push18=, $3, $pop112 + i32.gt_s $push18=, $1, $pop112 br_if 0, $pop18 # 0: up to label14 .LBB0_24: # %while.end.8 end_loop # label15: i32.const $push114=, 1 - i32.add $1=, $1, $pop114 + i32.add $3=, $3, $pop114 i32.const $push45=, 12 - i32.add $push46=, $2, $pop45 - copy_local $0=, $pop46 + i32.add $push46=, $0, $pop45 + copy_local $2=, $pop46 .LBB0_25: # %while.cond.9 # =>This Inner Loop Header: Depth=1 loop # label16: - i32.load $push117=, 0($0) - tee_local $push116=, $3=, $pop117 + i32.load $push117=, 0($2) + tee_local $push116=, $1=, $pop117 i32.const $push115=, -1 i32.add $push19=, $pop116, $pop115 - i32.store $drop=, 0($0), $pop19 - i32.eqz $push127=, $3 + i32.store $drop=, 0($2), $pop19 + i32.eqz $push127=, $1 br_if 1, $pop127 # 1: down to label17 # BB#26: # %while.body.9 # in Loop: Header=BB0_25 Depth=1 i32.const $push119=, 1 - i32.add $1=, $1, $pop119 + i32.add $3=, $3, $pop119 i32.const $push47=, 8 - i32.add $push48=, $2, $pop47 - copy_local $0=, $pop48 + i32.add $push48=, $0, $pop47 + copy_local $2=, $pop48 i32.const $push118=, 3 - i32.gt_s $push20=, $3, $pop118 + i32.gt_s $push20=, $1, $pop118 br_if 0, $pop20 # 0: up to label16 .LBB0_27: # %while.end.9 end_loop # label17: block - i32.load $push21=, 8($2) - i32.const $push22=, -5 - i32.ne $push23=, $pop21, $pop22 + i32.load $push22=, 8($0) + i32.const $push21=, -5 + i32.ne $push23=, $pop22, $pop21 br_if 0, $pop23 # 0: down to label18 # BB#28: # %while.end.9 i32.const $push24=, 42 - i32.ne $push25=, $1, $pop24 + i32.ne $push25=, $3, $pop24 br_if 0, $pop25 # 0: down to label18 # BB#29: # %if.end13 i32.const $push26=, 0 diff --git a/test/torture-s/990128-1.c.s b/test/torture-s/990128-1.c.s index b7fb86a23..2fd2fce79 100644 --- a/test/torture-s/990128-1.c.s +++ b/test/torture-s/990128-1.c.s @@ -8,45 +8,44 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %for.inc.i.preheader.i.preheader - i32.const $push1=, 0 + i32.const $push3=, 0 i32.const $push2=, sss - i32.store $drop=, ss($pop1), $pop2 + i32.store $drop=, ss($pop3), $pop2 + i32.const $1=, ss i32.const $push29=, 0 - i32.const $push3=, sss+4 - i32.store $drop=, sss($pop29), $pop3 - i32.const $push28=, 0 - i32.const $push4=, sss+8 - i32.store $drop=, sss+4($pop28), $pop4 + i32.const $push28=, ss + i32.store $drop=, p($pop29), $pop28 i32.const $push27=, 0 - i32.const $push5=, sss+12 - i32.store $drop=, sss+8($pop27), $pop5 + i32.const $push4=, sss+4 + i32.store $drop=, sss($pop27), $pop4 i32.const $push26=, 0 - i32.const $push6=, sss+16 - i32.store $drop=, sss+12($pop26), $pop6 + i32.const $push5=, sss+8 + i32.store $drop=, sss+4($pop26), $pop5 i32.const $push25=, 0 - i32.const $push7=, sss+20 - i32.store $drop=, sss+16($pop25), $pop7 + i32.const $push6=, sss+12 + i32.store $drop=, sss+8($pop25), $pop6 i32.const $push24=, 0 - i32.const $push8=, sss+24 - i32.store $drop=, sss+20($pop24), $pop8 + i32.const $push7=, sss+16 + i32.store $drop=, sss+12($pop24), $pop7 i32.const $push23=, 0 - i32.const $push9=, sss+28 - i32.store $drop=, sss+24($pop23), $pop9 + i32.const $push8=, sss+20 + i32.store $drop=, sss+16($pop23), $pop8 i32.const $push22=, 0 - i32.const $push10=, sss+32 - i32.store $drop=, sss+28($pop22), $pop10 + i32.const $push9=, sss+24 + i32.store $drop=, sss+20($pop22), $pop9 i32.const $push21=, 0 - i32.const $push11=, sss+36 - i32.store $drop=, sss+32($pop21), $pop11 - i32.const $1=, ss + i32.const $push10=, sss+28 + i32.store $drop=, sss+24($pop21), $pop10 i32.const $push20=, 0 - i32.load $2=, count($pop20) + i32.const $push11=, sss+32 + i32.store $drop=, sss+28($pop20), $pop11 i32.const $push19=, 0 - i32.const $push18=, ss - i32.store $drop=, p($pop19), $pop18 + i32.const $push12=, sss+36 + i32.store $drop=, sss+32($pop19), $pop12 + i32.const $push18=, 0 i32.const $push17=, 0 - i32.const $push16=, 0 - i32.store $drop=, sss+36($pop17), $pop16 + i32.store $push0=, sss+36($pop18), $pop17 + i32.load $2=, count($pop0) .LBB0_1: # %for.inc.i.preheader.i # =>This Loop Header: Depth=1 # Child Loop BB0_2 Depth 2 @@ -57,28 +56,30 @@ main: # @main # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label2: - i32.load $2=, 0($2) - br_if 0, $2 # 0: up to label2 + i32.load $push31=, 0($2) + tee_local $push30=, $2=, $pop31 + br_if 0, $pop30 # 0: up to label2 # BB#3: # %if.then.i # in Loop: Header=BB0_1 Depth=1 end_loop # label3: - i32.load $1=, 0($1) - i32.const $push30=, 1 - i32.add $2=, $0, $pop30 - br_if 0, $1 # 0: up to label0 + i32.const $push34=, 1 + i32.add $2=, $0, $pop34 + i32.load $push33=, 0($1) + tee_local $push32=, $1=, $pop33 + br_if 0, $pop32 # 0: up to label0 # BB#4: # %sub.exit end_loop # label1: block - i32.const $push31=, 0 - i32.const $push12=, 2 - i32.add $push13=, $0, $pop12 - i32.store $push0=, count($pop31), $pop13 - i32.const $push14=, 12 - i32.ne $push15=, $pop0, $pop14 - br_if 0, $pop15 # 0: down to label4 + i32.const $push35=, 0 + i32.const $push13=, 2 + i32.add $push14=, $0, $pop13 + i32.store $push1=, count($pop35), $pop14 + i32.const $push15=, 12 + i32.ne $push16=, $pop1, $pop15 + br_if 0, $pop16 # 0: down to label4 # BB#5: # %if.end - i32.const $push32=, 0 - call exit@FUNCTION, $pop32 + i32.const $push36=, 0 + call exit@FUNCTION, $pop36 unreachable .LBB0_6: # %if.then end_block # label4: @@ -99,8 +100,8 @@ sub: # @sub i32.const $push4=, 0 i32.load $2=, count($pop4) block - i32.eqz $push8=, $0 - br_if 0, $pop8 # 0: down to label5 + i32.eqz $push12=, $0 + br_if 0, $pop12 # 0: down to label5 # BB#1: # %for.inc.i.preheader.preheader .LBB1_2: # %for.inc.i.preheader # =>This Loop Header: Depth=1 @@ -111,29 +112,31 @@ sub: # @sub # Parent Loop BB1_2 Depth=1 # => This Inner Loop Header: Depth=2 loop # label8: - i32.load $3=, 0($3) - br_if 0, $3 # 0: up to label8 + i32.load $push6=, 0($3) + tee_local $push5=, $3=, $pop6 + br_if 0, $pop5 # 0: up to label8 # BB#4: # %if.then # in Loop: Header=BB1_2 Depth=1 end_loop # label9: - i32.const $push6=, 0 - i32.store $drop=, 0($1), $pop6 - i32.load $0=, 0($0) - i32.const $push5=, 1 - i32.add $2=, $2, $pop5 - br_if 0, $0 # 0: up to label6 + i32.const $push10=, 0 + i32.store $drop=, 0($1), $pop10 + i32.const $push9=, 1 + i32.add $2=, $2, $pop9 + i32.load $push8=, 0($0) + tee_local $push7=, $0=, $pop8 + br_if 0, $pop7 # 0: up to label6 # BB#5: # %for.cond.look.exit.thread_crit_edge end_loop # label7: i32.const $push1=, 0 i32.store $drop=, count($pop1), $2 .LBB1_6: # %for.end end_block # label5: - i32.const $push7=, 0 - i32.store $push0=, 0($1), $pop7 + i32.const $push11=, 0 + i32.store $push0=, 0($1), $pop11 i32.const $push2=, 1 i32.add $push3=, $2, $pop2 i32.store $drop=, count($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end1: .size sub, .Lfunc_end1-sub @@ -147,25 +150,26 @@ look: # @look .result i32 # BB#0: # %entry block - i32.eqz $push6=, $0 - br_if 0, $pop6 # 0: down to label10 + i32.eqz $push9=, $0 + br_if 0, $pop9 # 0: down to label10 .LBB2_1: # %for.inc # =>This Inner Loop Header: Depth=1 loop # label11: - i32.load $0=, 0($0) - br_if 0, $0 # 0: up to label11 + i32.load $push5=, 0($0) + tee_local $push4=, $0=, $pop5 + br_if 0, $pop4 # 0: up to label11 .LBB2_2: # %for.end end_loop # label12: end_block # label10: - i32.const $push1=, 0 - i32.load $0=, count($pop1) - i32.const $push5=, 0 - i32.store $push0=, 0($1), $pop5 + i32.const $push0=, 0 + i32.store $push8=, 0($1), $pop0 + tee_local $push7=, $0=, $pop8 + i32.load $push1=, count($0) i32.const $push2=, 1 - i32.add $push3=, $0, $pop2 - i32.store $drop=, count($pop0), $pop3 - i32.const $push4=, 1 - return $pop4 + i32.add $push3=, $pop1, $pop2 + i32.store $drop=, count($pop7), $pop3 + i32.const $push6=, 1 + # fallthrough-return: $pop6 .endfunc .Lfunc_end2: .size look, .Lfunc_end2-look diff --git a/test/torture-s/990130-1.c.s b/test/torture-s/990130-1.c.s index edf204659..768d0f071 100644 --- a/test/torture-s/990130-1.c.s +++ b/test/torture-s/990130-1.c.s @@ -9,14 +9,14 @@ main: # @main .local i32, i32 # BB#0: # %entry i32.const $push7=, 0 - i32.load $0=, dummy($pop7) i32.const $push6=, 0 - i32.const $push5=, 0 - i32.load $push4=, count($pop5) - tee_local $push3=, $1=, $pop4 + i32.load $push5=, count($pop6) + tee_local $push4=, $1=, $pop5 i32.const $push0=, 1 - i32.add $push1=, $pop3, $pop0 - i32.store $drop=, count($pop6), $pop1 + i32.add $push1=, $pop4, $pop0 + i32.store $drop=, count($pop7), $pop1 + i32.const $push3=, 0 + i32.load $0=, dummy($pop3) #APP #NO_APP i32.const $push2=, 0 diff --git a/test/torture-s/990211-1.c.s b/test/torture-s/990211-1.c.s index fc5362ad4..c9a20c0f5 100644 --- a/test/torture-s/990211-1.c.s +++ b/test/torture-s/990211-1.c.s @@ -7,7 +7,7 @@ func: # @func .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size func, .Lfunc_end0-func @@ -20,7 +20,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/990222-1.c.s b/test/torture-s/990222-1.c.s index 00d76bbb5..a53865280 100644 --- a/test/torture-s/990222-1.c.s +++ b/test/torture-s/990222-1.c.s @@ -9,71 +9,71 @@ main: # @main .local i32, i32 # BB#0: # %entry block + i32.const $push28=, 0 i32.const $push27=, 0 - i32.const $push26=, 0 - i32.load8_u $push1=, line+2($pop26) - i32.const $push25=, 1 - i32.add $push2=, $pop1, $pop25 - i32.store8 $push0=, line+2($pop27), $pop2 + i32.load8_u $push1=, line+2($pop27) + i32.const $push26=, 1 + i32.add $push2=, $pop1, $pop26 + i32.store8 $push0=, line+2($pop28), $pop2 + i32.const $push25=, 24 + i32.shl $push3=, $pop0, $pop25 i32.const $push24=, 24 - i32.shl $push3=, $pop0, $pop24 - i32.const $push23=, 24 - i32.shr_s $push22=, $pop3, $pop23 - tee_local $push21=, $1=, $pop22 + i32.shr_s $push23=, $pop3, $pop24 + tee_local $push22=, $1=, $pop23 i32.const $push4=, 58 - i32.lt_s $push5=, $pop21, $pop4 + i32.lt_s $push5=, $pop22, $pop4 br_if 0, $pop5 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $1=, line+1 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.load8_u $0=, 0($1) - i32.const $push34=, 1 - i32.add $push6=, $1, $pop34 - i32.const $push33=, 48 - i32.store8 $drop=, 0($pop6), $pop33 - i32.const $push32=, 1 - i32.add $push7=, $0, $pop32 - i32.store8 $0=, 0($1), $pop7 - i32.const $push31=, -1 - i32.add $1=, $1, $pop31 + i32.const $push35=, 1 + i32.add $push6=, $1, $pop35 + i32.const $push34=, 48 + i32.store8 $drop=, 0($pop6), $pop34 + i32.load8_u $push7=, 0($1) + i32.const $push33=, 1 + i32.add $push8=, $pop7, $pop33 + i32.store8 $0=, 0($1), $pop8 + i32.const $push32=, -1 + i32.add $1=, $1, $pop32 + i32.const $push31=, 24 + i32.shl $push9=, $0, $pop31 i32.const $push30=, 24 - i32.shl $push8=, $0, $pop30 - i32.const $push29=, 24 - i32.shr_s $push9=, $pop8, $pop29 - i32.const $push28=, 57 - i32.gt_s $push10=, $pop9, $pop28 - br_if 0, $pop10 # 0: up to label1 + i32.shr_s $push10=, $pop9, $pop30 + i32.const $push29=, 57 + i32.gt_s $push11=, $pop10, $pop29 + br_if 0, $pop11 # 0: up to label1 # BB#3: # %while.end.loopexit end_loop # label2: - i32.const $push11=, 0 - i32.load8_u $1=, line+2($pop11) + i32.const $push12=, 0 + i32.load8_u $1=, line+2($pop12) .LBB0_4: # %while.end end_block # label0: block - i32.const $push35=, 0 - i32.load8_u $push13=, line($pop35) - i32.const $push14=, 50 - i32.ne $push15=, $pop13, $pop14 - br_if 0, $pop15 # 0: down to label3 + i32.const $push36=, 0 + i32.load8_u $push14=, line($pop36) + i32.const $push15=, 50 + i32.ne $push16=, $pop14, $pop15 + br_if 0, $pop16 # 0: down to label3 # BB#5: # %while.end - i32.const $push38=, 0 - i32.load8_u $push12=, line+1($pop38) - i32.const $push37=, 255 - i32.and $push16=, $pop12, $pop37 - i32.const $push36=, 48 - i32.ne $push17=, $pop16, $pop36 - br_if 0, $pop17 # 0: down to label3 + i32.const $push39=, 0 + i32.load8_u $push13=, line+1($pop39) + i32.const $push38=, 255 + i32.and $push17=, $pop13, $pop38 + i32.const $push37=, 48 + i32.ne $push18=, $pop17, $pop37 + br_if 0, $pop18 # 0: down to label3 # BB#6: # %while.end - i32.const $push40=, 255 - i32.and $push18=, $1, $pop40 - i32.const $push39=, 48 - i32.ne $push19=, $pop18, $pop39 - br_if 0, $pop19 # 0: down to label3 + i32.const $push41=, 255 + i32.and $push19=, $1, $pop41 + i32.const $push40=, 48 + i32.ne $push20=, $pop19, $pop40 + br_if 0, $pop20 # 0: down to label3 # BB#7: # %if.end - i32.const $push20=, 0 - return $pop20 + i32.const $push21=, 0 + return $pop21 .LBB0_8: # %if.then end_block # label3: call abort@FUNCTION diff --git a/test/torture-s/990326-1.c.s b/test/torture-s/990326-1.c.s index 50fd923c7..281002dbc 100644 --- a/test/torture-s/990326-1.c.s +++ b/test/torture-s/990326-1.c.s @@ -8,7 +8,7 @@ a1: # @a1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size a1, .Lfunc_end0-a1 @@ -21,7 +21,7 @@ a2: # @a2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size a2, .Lfunc_end1-a2 @@ -34,7 +34,7 @@ a3: # @a3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size a3, .Lfunc_end2-a3 @@ -47,7 +47,7 @@ b1: # @b1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size b1, .Lfunc_end3-b1 @@ -60,7 +60,7 @@ b2: # @b2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size b2, .Lfunc_end4-b2 @@ -73,7 +73,7 @@ b3: # @b3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size b3, .Lfunc_end5-b3 @@ -86,7 +86,7 @@ c1: # @c1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size c1, .Lfunc_end6-c1 @@ -99,7 +99,7 @@ c2: # @c2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end7: .size c2, .Lfunc_end7-c2 @@ -112,7 +112,7 @@ c3: # @c3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size c3, .Lfunc_end8-c3 @@ -125,7 +125,7 @@ d1: # @d1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end9: .size d1, .Lfunc_end9-d1 @@ -138,7 +138,7 @@ d2: # @d2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end10: .size d2, .Lfunc_end10-d2 @@ -151,7 +151,7 @@ d3: # @d3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end11: .size d3, .Lfunc_end11-d3 @@ -164,7 +164,7 @@ e1: # @e1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end12: .size e1, .Lfunc_end12-e1 @@ -177,7 +177,7 @@ e2: # @e2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end13: .size e2, .Lfunc_end13-e2 @@ -190,7 +190,7 @@ e3: # @e3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end14: .size e3, .Lfunc_end14-e3 @@ -203,7 +203,7 @@ e4: # @e4 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end15: .size e4, .Lfunc_end15-e4 @@ -216,7 +216,7 @@ f1: # @f1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end16: .size f1, .Lfunc_end16-f1 @@ -229,7 +229,7 @@ f2: # @f2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end17: .size f2, .Lfunc_end17-f2 @@ -242,7 +242,7 @@ f3: # @f3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end18: .size f3, .Lfunc_end18-f3 @@ -255,7 +255,7 @@ f4: # @f4 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end19: .size f4, .Lfunc_end19-f4 @@ -268,7 +268,7 @@ g1: # @g1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end20: .size g1, .Lfunc_end20-g1 @@ -281,7 +281,7 @@ g2: # @g2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end21: .size g2, .Lfunc_end21-g2 @@ -294,7 +294,7 @@ g3: # @g3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end22: .size g3, .Lfunc_end22-g3 @@ -307,7 +307,7 @@ g4: # @g4 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end23: .size g4, .Lfunc_end23-g4 @@ -320,7 +320,7 @@ g5: # @g5 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end24: .size g5, .Lfunc_end24-g5 @@ -333,7 +333,7 @@ g6: # @g6 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end25: .size g6, .Lfunc_end25-g6 @@ -346,7 +346,7 @@ g7: # @g7 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end26: .size g7, .Lfunc_end26-g7 @@ -359,7 +359,7 @@ h1: # @h1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end27: .size h1, .Lfunc_end27-h1 @@ -372,7 +372,7 @@ h2: # @h2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end28: .size h2, .Lfunc_end28-h2 @@ -385,7 +385,7 @@ h3: # @h3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end29: .size h3, .Lfunc_end29-h3 @@ -398,7 +398,7 @@ h4: # @h4 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end30: .size h4, .Lfunc_end30-h4 @@ -411,7 +411,7 @@ h5: # @h5 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end31: .size h5, .Lfunc_end31-h5 @@ -424,7 +424,7 @@ h6: # @h6 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end32: .size h6, .Lfunc_end32-h6 @@ -437,7 +437,7 @@ h7: # @h7 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end33: .size h7, .Lfunc_end33-h7 diff --git a/test/torture-s/990404-1.c.s b/test/torture-s/990404-1.c.s index eb3cb4029..f03390a09 100644 --- a/test/torture-s/990404-1.c.s +++ b/test/torture-s/990404-1.c.s @@ -6,99 +6,119 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $4=, -1 - # implicit-def: %vreg166 + i32.const $11=, -1 + # implicit-def: %vreg119 .LBB0_1: # %for.cond # =>This Inner Loop Header: Depth=1 block loop # label1: - i32.const $push44=, 0 - i32.load $0=, x($pop44) - i32.const $push43=, 0 - i32.load $1=, x+4($pop43) - i32.const $push42=, 0 - i32.const $push41=, 0 - i32.gt_s $push40=, $0, $pop41 - tee_local $push39=, $12=, $pop40 - i32.select $0=, $0, $pop42, $pop39 - i32.const $push38=, 0 - i32.load $2=, x+8($pop38) - i32.gt_s $push37=, $1, $0 - tee_local $push36=, $11=, $pop37 - i32.select $0=, $1, $0, $pop36 - i32.const $push35=, 0 - i32.load $1=, x+12($pop35) - i32.gt_s $push34=, $2, $0 - tee_local $push33=, $10=, $pop34 - i32.select $0=, $2, $0, $pop33 - i32.const $push32=, 0 - i32.load $2=, x+16($pop32) - i32.gt_s $push31=, $1, $0 - tee_local $push30=, $9=, $pop31 - i32.select $0=, $1, $0, $pop30 - i32.const $push29=, 0 - i32.load $1=, x+20($pop29) - i32.gt_s $push28=, $2, $0 - tee_local $push27=, $8=, $pop28 - i32.select $0=, $2, $0, $pop27 - i32.const $push26=, 0 - i32.load $2=, x+24($pop26) - i32.gt_s $push25=, $1, $0 - tee_local $push24=, $7=, $pop25 - i32.select $0=, $1, $0, $pop24 - i32.const $push23=, 0 - i32.load $1=, x+28($pop23) - i32.gt_s $push22=, $2, $0 - tee_local $push21=, $6=, $pop22 - i32.select $0=, $2, $0, $pop21 - i32.const $push20=, 0 - i32.load $2=, x+32($pop20) - i32.const $push19=, 0 - i32.load $3=, x+36($pop19) - i32.gt_s $push18=, $1, $0 - tee_local $push17=, $5=, $pop18 - i32.select $0=, $1, $0, $pop17 - i32.gt_s $push16=, $2, $0 - tee_local $push15=, $1=, $pop16 - i32.select $0=, $2, $0, $pop15 - i32.gt_s $push14=, $3, $0 - tee_local $push13=, $2=, $pop14 - i32.select $push9=, $3, $0, $pop13 - i32.eqz $push61=, $pop9 - br_if 2, $pop61 # 2: down to label0 + i32.const $push82=, 0 + i32.load $push81=, x+36($pop82) + tee_local $push80=, $10=, $pop81 + i32.const $push79=, 0 + i32.load $push78=, x+32($pop79) + tee_local $push77=, $9=, $pop78 + i32.const $push76=, 0 + i32.load $push75=, x+28($pop76) + tee_local $push74=, $8=, $pop75 + i32.const $push73=, 0 + i32.load $push72=, x+24($pop73) + tee_local $push71=, $7=, $pop72 + i32.const $push70=, 0 + i32.load $push69=, x+20($pop70) + tee_local $push68=, $6=, $pop69 + i32.const $push67=, 0 + i32.load $push66=, x+16($pop67) + tee_local $push65=, $5=, $pop66 + i32.const $push64=, 0 + i32.load $push63=, x+12($pop64) + tee_local $push62=, $4=, $pop63 + i32.const $push61=, 0 + i32.load $push60=, x+8($pop61) + tee_local $push59=, $3=, $pop60 + i32.const $push58=, 0 + i32.load $push57=, x+4($pop58) + tee_local $push56=, $2=, $pop57 + i32.const $push55=, 0 + i32.load $push54=, x($pop55) + tee_local $push53=, $0=, $pop54 + i32.const $push52=, 0 + i32.const $push51=, 0 + i32.gt_s $push50=, $0, $pop51 + tee_local $push49=, $1=, $pop50 + i32.select $push48=, $pop53, $pop52, $pop49 + tee_local $push47=, $0=, $pop48 + i32.gt_s $push46=, $2, $0 + tee_local $push45=, $0=, $pop46 + i32.select $push44=, $pop56, $pop47, $pop45 + tee_local $push43=, $2=, $pop44 + i32.gt_s $push42=, $3, $2 + tee_local $push41=, $2=, $pop42 + i32.select $push40=, $pop59, $pop43, $pop41 + tee_local $push39=, $3=, $pop40 + i32.gt_s $push38=, $4, $3 + tee_local $push37=, $3=, $pop38 + i32.select $push36=, $pop62, $pop39, $pop37 + tee_local $push35=, $4=, $pop36 + i32.gt_s $push34=, $5, $4 + tee_local $push33=, $4=, $pop34 + i32.select $push32=, $pop65, $pop35, $pop33 + tee_local $push31=, $5=, $pop32 + i32.gt_s $push30=, $6, $5 + tee_local $push29=, $5=, $pop30 + i32.select $push28=, $pop68, $pop31, $pop29 + tee_local $push27=, $6=, $pop28 + i32.gt_s $push26=, $7, $6 + tee_local $push25=, $6=, $pop26 + i32.select $push24=, $pop71, $pop27, $pop25 + tee_local $push23=, $7=, $pop24 + i32.gt_s $push22=, $8, $7 + tee_local $push21=, $7=, $pop22 + i32.select $push20=, $pop74, $pop23, $pop21 + tee_local $push19=, $8=, $pop20 + i32.gt_s $push18=, $9, $8 + tee_local $push17=, $8=, $pop18 + i32.select $push16=, $pop77, $pop19, $pop17 + tee_local $push15=, $9=, $pop16 + i32.gt_s $push14=, $10, $9 + tee_local $push13=, $10=, $pop14 + i32.select $push9=, $pop80, $pop15, $pop13 + i32.eqz $push101=, $pop9 + br_if 2, $pop101 # 2: down to label0 # BB#2: # %if.end7 # in Loop: Header=BB0_1 Depth=1 - i32.const $push60=, 9 - i32.const $push59=, 8 - i32.const $push58=, 7 - i32.const $push57=, 6 - i32.const $push56=, 5 - i32.const $push55=, 4 - i32.const $push54=, 3 - i32.const $push53=, 2 - i32.const $push52=, 1 - i32.const $push51=, 0 - i32.select $push0=, $pop51, $13, $12 - i32.select $push1=, $pop52, $pop0, $11 - i32.select $push2=, $pop53, $pop1, $10 - i32.select $push3=, $pop54, $pop2, $9 - i32.select $push4=, $pop55, $pop3, $8 - i32.select $push5=, $pop56, $pop4, $7 - i32.select $push6=, $pop57, $pop5, $6 - i32.select $push7=, $pop58, $pop6, $5 - i32.select $push8=, $pop59, $pop7, $1 - i32.select $push50=, $pop60, $pop8, $2 - tee_local $push49=, $13=, $pop50 - i32.const $push48=, 2 - i32.shl $push10=, $pop49, $pop48 - i32.const $push47=, 0 - i32.store $drop=, x($pop10), $pop47 - i32.const $push46=, 1 - i32.add $4=, $4, $pop46 - i32.const $push45=, 10 - i32.lt_s $push11=, $4, $pop45 + i32.const $push100=, 9 + i32.const $push99=, 8 + i32.const $push98=, 7 + i32.const $push97=, 6 + i32.const $push96=, 5 + i32.const $push95=, 4 + i32.const $push94=, 3 + i32.const $push93=, 2 + i32.const $push92=, 1 + i32.const $push91=, 0 + i32.select $push0=, $pop91, $12, $1 + i32.select $push1=, $pop92, $pop0, $0 + i32.select $push2=, $pop93, $pop1, $2 + i32.select $push3=, $pop94, $pop2, $3 + i32.select $push4=, $pop95, $pop3, $4 + i32.select $push5=, $pop96, $pop4, $5 + i32.select $push6=, $pop97, $pop5, $6 + i32.select $push7=, $pop98, $pop6, $7 + i32.select $push8=, $pop99, $pop7, $8 + i32.select $push90=, $pop100, $pop8, $10 + tee_local $push89=, $12=, $pop90 + i32.const $push88=, 2 + i32.shl $push10=, $pop89, $pop88 + i32.const $push87=, 0 + i32.store $drop=, x($pop10), $pop87 + i32.const $push86=, 1 + i32.add $push85=, $11, $pop86 + tee_local $push84=, $11=, $pop85 + i32.const $push83=, 10 + i32.lt_s $push11=, $pop84, $pop83 br_if 0, $pop11 # 0: up to label1 # BB#3: # %if.then11 end_loop # label2: diff --git a/test/torture-s/990513-1.c.s b/test/torture-s/990513-1.c.s index fb9475be0..083a6d9f1 100644 --- a/test/torture-s/990513-1.c.s +++ b/test/torture-s/990513-1.c.s @@ -8,30 +8,31 @@ foo: # @foo .param i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $2=, 1024 + i32.const $3=, 1024 .LBB0_1: # %while.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.add $push13=, $0, $2 - tee_local $push12=, $3=, $pop13 - i32.const $push11=, -16 - i32.add $push6=, $pop12, $pop11 - i32.const $push10=, -12 - i32.add $push5=, $3, $pop10 - i32.const $push9=, -8 - i32.add $push4=, $3, $pop9 - i32.const $push8=, -4 - i32.add $push3=, $3, $pop8 + i32.add $push15=, $0, $3 + tee_local $push14=, $2=, $pop15 + i32.const $push13=, -16 + i32.add $push6=, $pop14, $pop13 + i32.const $push12=, -12 + i32.add $push5=, $2, $pop12 + i32.const $push11=, -4 + i32.add $push4=, $2, $pop11 + i32.const $push10=, -8 + i32.add $push3=, $2, $pop10 i32.store $push0=, 0($pop3), $1 i32.store $push1=, 0($pop4), $pop0 i32.store $push2=, 0($pop5), $pop1 i32.store $drop=, 0($pop6), $pop2 - i32.const $push7=, -16 - i32.add $2=, $2, $pop7 - br_if 0, $2 # 0: up to label0 + i32.const $push9=, -16 + i32.add $push8=, $3, $pop9 + tee_local $push7=, $3=, $pop8 + br_if 0, $pop7 # 0: up to label0 # BB#2: # %while.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -44,43 +45,44 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $1=, 1024 - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $2=, 1024 + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 1024 i32.sub $push16=, $pop10, $pop11 - i32.store $push1=, 0($pop12), $pop16 + i32.store $push1=, __stack_pointer($pop12), $pop16 i32.const $push2=, 0 i32.const $push17=, 1024 i32.call $0=, memset@FUNCTION, $pop1, $pop2, $pop17 .LBB1_1: # %while.body.i # =>This Inner Loop Header: Depth=1 loop # label2: - i32.add $push23=, $0, $1 - tee_local $push22=, $2=, $pop23 - i32.const $push21=, -16 - i32.add $push4=, $pop22, $pop21 - i32.const $push20=, -8 - i32.add $push3=, $2, $pop20 - i64.const $push19=, 25769803782 - i64.store $push0=, 0($pop3):p2align=2, $pop19 + i32.add $push25=, $0, $2 + tee_local $push24=, $1=, $pop25 + i32.const $push23=, -16 + i32.add $push4=, $pop24, $pop23 + i32.const $push22=, -8 + i32.add $push3=, $1, $pop22 + i64.const $push21=, 25769803782 + i64.store $push0=, 0($pop3):p2align=2, $pop21 i64.store $drop=, 0($pop4):p2align=2, $pop0 - i32.const $push18=, -16 - i32.add $1=, $1, $pop18 - br_if 0, $1 # 0: up to label2 + i32.const $push20=, -16 + i32.add $push19=, $2, $pop20 + tee_local $push18=, $2=, $pop19 + br_if 0, $pop18 # 0: up to label2 # BB#2: # %foo.exit end_loop # label3: block - i32.load $push5=, 0($0) - i32.const $push6=, 6 - i32.ne $push7=, $pop5, $pop6 + i32.load $push6=, 0($0) + i32.const $push5=, 6 + i32.ne $push7=, $pop6, $pop5 br_if 0, $pop7 # 0: down to label4 # BB#3: # %if.end - i32.const $push15=, __stack_pointer + i32.const $push15=, 0 i32.const $push13=, 1024 i32.add $push14=, $0, $pop13 - i32.store $drop=, 0($pop15), $pop14 + i32.store $drop=, __stack_pointer($pop15), $pop14 i32.const $push8=, 0 return $pop8 .LBB1_4: # %if.then diff --git a/test/torture-s/990524-1.c.s b/test/torture-s/990524-1.c.s index 3f0ccb1bb..352b564d0 100644 --- a/test/torture-s/990524-1.c.s +++ b/test/torture-s/990524-1.c.s @@ -11,55 +11,54 @@ loop: # @loop .LBB0_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label0: - i32.load8_u $push1=, 0($1) - i32.store8 $push20=, 0($0), $pop1 - tee_local $push19=, $4=, $pop20 - i32.const $push18=, 24 - i32.shl $push2=, $pop19, $pop18 - i32.const $push17=, 24 - i32.shr_s $3=, $pop2, $pop17 - i32.const $push16=, 1 - i32.add $2=, $1, $pop16 + i32.const $push19=, 1 + i32.add $3=, $1, $pop19 + i32.load8_u $push0=, 0($1) + i32.store8 $push18=, 0($0), $pop0 + tee_local $push17=, $2=, $pop18 + i32.const $push16=, 24 + i32.shl $push1=, $pop17, $pop16 + i32.const $push15=, 24 + i32.shr_s $4=, $pop1, $pop15 block block - i32.const $push15=, 34 - i32.eq $push3=, $4, $pop15 - br_if 0, $pop3 # 0: down to label3 + i32.const $push14=, 34 + i32.eq $push2=, $2, $pop14 + br_if 0, $pop2 # 0: down to label3 # BB#2: # %for.cond # in Loop: Header=BB0_1 Depth=1 - i32.const $push21=, 92 - i32.ne $push4=, $3, $pop21 - br_if 1, $pop4 # 1: down to label2 + i32.const $push20=, 92 + i32.ne $push3=, $4, $pop20 + br_if 1, $pop3 # 1: down to label2 .LBB0_3: # %sw.bb2 # in Loop: Header=BB0_1 Depth=1 end_block # label3: - i32.const $push14=, 92 - i32.store8 $drop=, 0($0), $pop14 - i32.const $push13=, 1 - i32.add $push6=, $0, $pop13 + i32.const $push13=, 92 + i32.store8 $drop=, 0($0), $pop13 + i32.const $push12=, 1 + i32.add $push4=, $0, $pop12 i32.load8_u $push5=, 0($1) - i32.store8 $drop=, 0($pop6), $pop5 - i32.const $push12=, 2 - i32.add $push0=, $0, $pop12 - copy_local $0=, $pop0 - copy_local $1=, $2 + i32.store8 $drop=, 0($pop4), $pop5 + i32.const $push11=, 2 + i32.add $0=, $0, $pop11 + copy_local $1=, $3 br 1 # 1: up to label0 .LBB0_4: # %for.cond # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.const $push22=, 1 - i32.add $0=, $0, $pop22 - copy_local $1=, $2 - br_if 0, $3 # 0: up to label0 + i32.const $push21=, 1 + i32.add $0=, $0, $pop21 + copy_local $1=, $3 + br_if 0, $4 # 0: up to label0 # BB#5: # %loopDone2 end_loop # label1: block - i32.const $push7=, a - i32.sub $push8=, $pop7, $0 - i32.const $push9=, b - i32.sub $push10=, $pop9, $2 - i32.ne $push11=, $pop8, $pop10 - br_if 0, $pop11 # 0: down to label4 + i32.const $push8=, a + i32.sub $push9=, $pop8, $0 + i32.const $push6=, b + i32.sub $push7=, $pop6, $3 + i32.ne $push10=, $pop9, $pop7 + br_if 0, $pop10 # 0: down to label4 # BB#6: # %if.end return .LBB0_7: # %if.then diff --git a/test/torture-s/990525-1.c.s b/test/torture-s/990525-1.c.s index b6dd33ffc..3cc607d9f 100644 --- a/test/torture-s/990525-1.c.s +++ b/test/torture-s/990525-1.c.s @@ -30,12 +30,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop8 + i32.store $push11=, __stack_pointer($pop5), $pop8 tee_local $push10=, $0=, $pop11 i32.const $push0=, 0 i64.load $push1=, .Lmain.s($pop0):p2align=2 diff --git a/test/torture-s/990525-2.c.s b/test/torture-s/990525-2.c.s index f6cd0a48d..faac90e69 100644 --- a/test/torture-s/990525-2.c.s +++ b/test/torture-s/990525-2.c.s @@ -8,7 +8,8 @@ func1: # @func1 .result i32 .local i32 # BB#0: # %if.end15 - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size func1, .Lfunc_end0-func1 @@ -24,7 +25,7 @@ func2: # @func2 i64.store $drop=, 0($0):p2align=2, $pop0 i64.const $push1=, 171798691870 i64.store $drop=, 8($0):p2align=2, $pop1 - return + # fallthrough-return .endfunc .Lfunc_end1: .size func2, .Lfunc_end1-func2 diff --git a/test/torture-s/990527-1.c.s b/test/torture-s/990527-1.c.s index 5c8b17cae..86a727ca8 100644 --- a/test/torture-s/990527-1.c.s +++ b/test/torture-s/990527-1.c.s @@ -12,7 +12,7 @@ g: # @g i32.load $push1=, sum($pop3) i32.add $push2=, $pop1, $0 i32.store $drop=, sum($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -31,7 +31,7 @@ f: # @f i32.const $push3=, 81 i32.add $push4=, $pop2, $pop3 i32.store $drop=, sum($pop0), $pop4 - return + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/990531-1.c.s b/test/torture-s/990531-1.c.s index 8c873e308..149c827ed 100644 --- a/test/torture-s/990531-1.c.s +++ b/test/torture-s/990531-1.c.s @@ -9,8 +9,8 @@ bad: # @bad .result i32 .local i32 # BB#0: # %entry - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push9=, $pop4, $pop5 tee_local $push8=, $2=, $pop9 @@ -21,7 +21,7 @@ bad: # @bad i32.const $push1=, 0 i32.store8 $drop=, 0($pop0), $pop1 i32.load $push2=, 8($2) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size bad, .Lfunc_end0-bad diff --git a/test/torture-s/990604-1.c.s b/test/torture-s/990604-1.c.s index 389660597..680a78e2f 100644 --- a/test/torture-s/990604-1.c.s +++ b/test/torture-s/990604-1.c.s @@ -16,7 +16,7 @@ f: # @f i32.store $drop=, b($pop3), $pop1 .LBB0_2: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -40,9 +40,9 @@ main: # @main # BB#1: # %entry br_if 1, $0 # 1: down to label1 # BB#2: # %f.exit.thread - i32.const $push2=, 0 - i32.const $push3=, 9 - i32.store $drop=, b($pop2), $pop3 + i32.const $push3=, 0 + i32.const $push2=, 9 + i32.store $drop=, b($pop3), $pop2 .LBB1_3: # %if.end end_block # label2: i32.const $push7=, 0 diff --git a/test/torture-s/990628-1.c.s b/test/torture-s/990628-1.c.s index cc5394639..09fad3a68 100644 --- a/test/torture-s/990628-1.c.s +++ b/test/torture-s/990628-1.c.s @@ -8,7 +8,7 @@ num_records: # @num_records .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size num_records, .Lfunc_end0-num_records @@ -20,10 +20,10 @@ num_records: # @num_records fetch: # @fetch .local i32 # BB#0: # %entry - i32.const $push0=, data_tmp - i32.const $push2=, 85 - i32.const $push1=, 404 - i32.call $drop=, memset@FUNCTION, $pop0, $pop2, $pop1 + i32.const $push2=, data_tmp + i32.const $push1=, 85 + i32.const $push0=, 404 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 i32.const $push3=, 0 i32.const $push14=, 0 i32.load $push13=, fetch.fetch_count($pop14) @@ -38,7 +38,7 @@ fetch: # @fetch i32.gt_s $push6=, $0, $pop9 i32.select $push8=, $pop7, $pop10, $pop6 i32.store $drop=, sqlca($pop11), $pop8 - return + # fallthrough-return .endfunc .Lfunc_end1: .size fetch, .Lfunc_end1-fetch @@ -50,67 +50,66 @@ fetch: # @fetch load_data: # @load_data .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.const $push27=, 404 - i32.call $push26=, malloc@FUNCTION, $pop27 - tee_local $push25=, $1=, $pop26 - i32.store $push0=, data_ptr($pop3), $pop25 - i32.const $push4=, 170 - i32.const $push24=, 404 - i32.call $drop=, memset@FUNCTION, $pop0, $pop4, $pop24 - i32.const $push5=, data_tmp - i32.const $push23=, 85 - i32.const $push22=, 404 - i32.call $0=, memset@FUNCTION, $pop5, $pop23, $pop22 - i32.const $push21=, 0 + i32.const $push2=, 0 + i32.const $push26=, 404 + i32.call $push25=, malloc@FUNCTION, $pop26 + tee_local $push24=, $3=, $pop25 + i32.store $push0=, data_ptr($pop2), $pop24 + i32.const $push3=, 170 + i32.const $push23=, 404 + i32.call $drop=, memset@FUNCTION, $pop0, $pop3, $pop23 + i32.const $push4=, data_tmp + i32.const $push22=, 85 + i32.const $push21=, 404 + i32.call $0=, memset@FUNCTION, $pop4, $pop22, $pop21 i32.const $push20=, 0 - i32.load $push19=, fetch.fetch_count($pop20) - tee_local $push18=, $2=, $pop19 - i32.const $push17=, 1 - i32.add $push6=, $pop18, $pop17 - i32.store $drop=, fetch.fetch_count($pop21), $pop6 - i32.const $push16=, 0 - i32.const $push7=, 100 + i32.const $push19=, 0 + i32.load $push18=, fetch.fetch_count($pop19) + tee_local $push17=, $2=, $pop18 + i32.const $push16=, 1 + i32.add $push5=, $pop17, $pop16 + i32.store $drop=, fetch.fetch_count($pop20), $pop5 i32.const $push15=, 0 + i32.const $push6=, 100 i32.const $push14=, 0 - i32.gt_s $push13=, $2, $pop14 - tee_local $push12=, $3=, $pop13 - i32.select $push8=, $pop7, $pop15, $pop12 - i32.store $drop=, sqlca($pop16), $pop8 + i32.const $push13=, 0 + i32.gt_s $push12=, $2, $pop13 + tee_local $push11=, $1=, $pop12 + i32.select $push7=, $pop6, $pop14, $pop11 + i32.store $drop=, sqlca($pop15), $pop7 block - br_if 0, $3 # 0: down to label0 + br_if 0, $1 # 0: down to label0 # BB#1: # %while.body.lr.ph .LBB2_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push37=, 404 - i32.call $drop=, memcpy@FUNCTION, $1, $0, $pop37 - i32.const $push36=, 85 - i32.const $push35=, 404 - i32.call $drop=, memset@FUNCTION, $0, $pop36, $pop35 + i32.const $push36=, 404 + i32.call $drop=, memcpy@FUNCTION, $3, $0, $pop36 + i32.const $push35=, 85 i32.const $push34=, 404 - i32.add $push1=, $1, $pop34 - copy_local $1=, $pop1 - copy_local $push33=, $2 - tee_local $push32=, $3=, $pop33 - i32.const $push31=, 1 - i32.add $push30=, $pop32, $pop31 - tee_local $push29=, $2=, $pop30 - i32.const $push28=, 1 - i32.lt_s $push9=, $pop29, $pop28 - br_if 0, $pop9 # 0: up to label1 + i32.call $drop=, memset@FUNCTION, $0, $pop35, $pop34 + i32.const $push33=, 404 + i32.add $3=, $3, $pop33 + copy_local $push32=, $2 + tee_local $push31=, $1=, $pop32 + i32.const $push30=, 1 + i32.add $push29=, $pop31, $pop30 + tee_local $push28=, $2=, $pop29 + i32.const $push27=, 1 + i32.lt_s $push8=, $pop28, $pop27 + br_if 0, $pop8 # 0: up to label1 # BB#3: # %while.cond.while.end_crit_edge end_loop # label2: i32.const $push10=, 0 - i32.const $push39=, 2 - i32.add $push2=, $3, $pop39 - i32.store $drop=, fetch.fetch_count($pop10), $pop2 + i32.const $push9=, 100 + i32.store $drop=, sqlca($pop10), $pop9 i32.const $push38=, 0 - i32.const $push11=, 100 - i32.store $drop=, sqlca($pop38), $pop11 + i32.const $push37=, 2 + i32.add $push1=, $1, $pop37 + i32.store $drop=, fetch.fetch_count($pop38), $pop1 .LBB2_4: # %while.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end2: .size load_data, .Lfunc_end2-load_data @@ -123,70 +122,70 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.const $push30=, 404 - i32.call $push1=, malloc@FUNCTION, $pop30 - i32.store $push0=, data_ptr($pop3), $pop1 - i32.const $push4=, 170 + i32.const $push2=, 0 i32.const $push29=, 404 - i32.call $0=, memset@FUNCTION, $pop0, $pop4, $pop29 - i32.const $push5=, data_tmp - i32.const $push28=, 85 - i32.const $push27=, 404 - i32.call $1=, memset@FUNCTION, $pop5, $pop28, $pop27 - i32.const $push26=, 0 + i32.call $push1=, malloc@FUNCTION, $pop29 + i32.store $push0=, data_ptr($pop2), $pop1 + i32.const $push3=, 170 + i32.const $push28=, 404 + i32.call $0=, memset@FUNCTION, $pop0, $pop3, $pop28 + i32.const $push4=, data_tmp + i32.const $push27=, 85 + i32.const $push26=, 404 + i32.call $1=, memset@FUNCTION, $pop4, $pop27, $pop26 i32.const $push25=, 0 - i32.load $push24=, fetch.fetch_count($pop25) - tee_local $push23=, $3=, $pop24 - i32.const $push22=, 1 - i32.add $push6=, $pop23, $pop22 - i32.store $drop=, fetch.fetch_count($pop26), $pop6 - i32.const $push21=, 0 - i32.const $push7=, 100 + i32.const $push24=, 0 + i32.load $push23=, fetch.fetch_count($pop24) + tee_local $push22=, $2=, $pop23 + i32.const $push21=, 1 + i32.add $push5=, $pop22, $pop21 + i32.store $drop=, fetch.fetch_count($pop25), $pop5 i32.const $push20=, 0 + i32.const $push6=, 100 i32.const $push19=, 0 - i32.gt_s $push18=, $3, $pop19 - tee_local $push17=, $2=, $pop18 - i32.select $push8=, $pop7, $pop20, $pop17 - i32.store $drop=, sqlca($pop21), $pop8 + i32.const $push18=, 0 + i32.gt_s $push17=, $2, $pop18 + tee_local $push16=, $3=, $pop17 + i32.select $push7=, $pop6, $pop19, $pop16 + i32.store $drop=, sqlca($pop20), $pop7 block - br_if 0, $2 # 0: down to label3 + br_if 0, $3 # 0: down to label3 # BB#1: # %while.body.lr.ph.i - copy_local $2=, $0 + copy_local $3=, $0 .LBB3_2: # %while.body.i # =>This Inner Loop Header: Depth=1 loop # label4: - i32.const $push36=, 404 - i32.call $drop=, memcpy@FUNCTION, $2, $1, $pop36 - i32.const $push35=, 85 + i32.const $push37=, 404 + i32.call $drop=, memcpy@FUNCTION, $3, $1, $pop37 + i32.const $push36=, 85 + i32.const $push35=, 404 + i32.call $drop=, memset@FUNCTION, $1, $pop36, $pop35 i32.const $push34=, 404 - i32.call $drop=, memset@FUNCTION, $1, $pop35, $pop34 + i32.add $3=, $3, $pop34 i32.const $push33=, 1 - i32.add $3=, $3, $pop33 - i32.const $push32=, 404 - i32.add $push2=, $2, $pop32 - copy_local $2=, $pop2 - i32.const $push31=, 1 - i32.lt_s $push9=, $3, $pop31 - br_if 0, $pop9 # 0: up to label4 + i32.add $push32=, $2, $pop33 + tee_local $push31=, $2=, $pop32 + i32.const $push30=, 1 + i32.lt_s $push8=, $pop31, $pop30 + br_if 0, $pop8 # 0: up to label4 # BB#3: # %while.cond.while.end_crit_edge.i end_loop # label5: i32.const $push10=, 0 + i32.const $push9=, 100 + i32.store $drop=, sqlca($pop10), $pop9 + i32.const $push38=, 0 i32.const $push11=, 2 - i32.store $drop=, fetch.fetch_count($pop10), $pop11 - i32.const $push37=, 0 - i32.const $push12=, 100 - i32.store $drop=, sqlca($pop37), $pop12 + i32.store $drop=, fetch.fetch_count($pop38), $pop11 .LBB3_4: # %load_data.exit end_block # label3: block - i32.load $push13=, 0($0) - i32.const $push14=, 1431655765 - i32.ne $push15=, $pop13, $pop14 - br_if 0, $pop15 # 0: down to label6 + i32.load $push12=, 0($0) + i32.const $push13=, 1431655765 + i32.ne $push14=, $pop12, $pop13 + br_if 0, $pop14 # 0: down to label6 # BB#5: # %if.end - i32.const $push16=, 0 - call exit@FUNCTION, $pop16 + i32.const $push15=, 0 + call exit@FUNCTION, $pop15 unreachable .LBB3_6: # %if.then end_block # label6: diff --git a/test/torture-s/990804-1.c.s b/test/torture-s/990804-1.c.s index b86cab2f4..1f5c95f0d 100644 --- a/test/torture-s/990804-1.c.s +++ b/test/torture-s/990804-1.c.s @@ -8,7 +8,7 @@ gfbyte: # @gfbyte .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size gfbyte, .Lfunc_end0-gfbyte diff --git a/test/torture-s/990827-1.c.s b/test/torture-s/990827-1.c.s index 74a057bfa..5442ee65b 100644 --- a/test/torture-s/990827-1.c.s +++ b/test/torture-s/990827-1.c.s @@ -9,15 +9,15 @@ test: # @test .result i32 # BB#0: # %entry i32.const $push0=, 1 - i32.and $push1=, $1, $pop0 + i32.and $push2=, $1, $pop0 i32.const $push8=, 1 - i32.add $push3=, $pop1, $pop8 + i32.add $push3=, $pop2, $pop8 i32.const $push7=, 1 i32.shr_u $push4=, $pop3, $pop7 i32.const $push6=, 1 - i32.shr_u $push2=, $0, $pop6 - i32.add $push5=, $pop4, $pop2 - return $pop5 + i32.shr_u $push1=, $0, $pop6 + i32.add $push5=, $pop4, $pop1 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test diff --git a/test/torture-s/990829-1.c.s b/test/torture-s/990829-1.c.s index bb3ad3bd9..6660b828e 100644 --- a/test/torture-s/990829-1.c.s +++ b/test/torture-s/990829-1.c.s @@ -13,7 +13,7 @@ test: # @test f64.add $push2=, $0, $pop1 f64.mul $push3=, $pop2, $1 f64.div $push4=, $pop0, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test diff --git a/test/torture-s/990923-1.c.s b/test/torture-s/990923-1.c.s index dde1b5562..4626d3833 100644 --- a/test/torture-s/990923-1.c.s +++ b/test/torture-s/990923-1.c.s @@ -8,15 +8,15 @@ foo: # @foo .param i32 .result i32 # BB#0: # %entry - i32.const $push4=, 65535 - i32.and $push5=, $0, $pop4 - i32.const $push6=, 1 - i32.const $push0=, -65536 + i32.const $push0=, 65535 i32.and $push1=, $0, $pop0 - i32.const $push2=, -1412628480 - i32.eq $push3=, $pop1, $pop2 - i32.select $push7=, $pop5, $pop6, $pop3 - return $pop7 + i32.const $push6=, 1 + i32.const $push2=, -65536 + i32.and $push3=, $0, $pop2 + i32.const $push4=, -1412628480 + i32.eq $push5=, $pop3, $pop4 + i32.select $push7=, $pop1, $pop6, $pop5 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/991014-1.c.s b/test/torture-s/991014-1.c.s index ea848ff2e..b1d8babb1 100644 --- a/test/torture-s/991014-1.c.s +++ b/test/torture-s/991014-1.c.s @@ -8,7 +8,7 @@ union_size: # @union_size .result i32 # BB#0: # %entry i32.const $push0=, 1073741568 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size union_size, .Lfunc_end0-union_size @@ -21,7 +21,7 @@ struct_size: # @struct_size .result i32 # BB#0: # %entry i32.const $push0=, 2147483152 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size struct_size, .Lfunc_end1-struct_size @@ -34,7 +34,7 @@ struct_a_offset: # @struct_a_offset .result i32 # BB#0: # %entry i32.const $push0=, 2147483136 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size struct_a_offset, .Lfunc_end2-struct_a_offset @@ -47,7 +47,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/991016-1.c.s b/test/torture-s/991016-1.c.s index c54610497..1326cbdfb 100644 --- a/test/torture-s/991016-1.c.s +++ b/test/torture-s/991016-1.c.s @@ -7,13 +7,13 @@ doit: # @doit .param i32, i32, i32 .result i32 - .local i64, i64, i32 + .local i32, i64, i64 # BB#0: # %entry block block block - i32.eqz $push19=, $0 - br_if 0, $pop19 # 0: down to label2 + i32.eqz $push25=, $0 + br_if 0, $pop25 # 0: down to label2 # BB#1: # %entry i32.const $push6=, 1 i32.eq $push0=, $0, $pop6 @@ -23,20 +23,21 @@ doit: # @doit i32.ne $push2=, $0, $pop1 br_if 2, $pop2 # 2: down to label0 # BB#3: # %do.body11.preheader - i64.load $3=, 0($2) + i64.load $5=, 0($2) .LBB0_4: # %do.body11 # =>This Inner Loop Header: Depth=1 loop # label3: - i32.const $push10=, -1 - i32.add $1=, $1, $pop10 - copy_local $push9=, $3 - tee_local $push8=, $4=, $pop9 - i64.const $push7=, 1 - i64.shl $3=, $pop8, $pop7 - br_if 0, $1 # 0: up to label3 + copy_local $push12=, $5 + tee_local $push11=, $4=, $pop12 + i64.const $push10=, 1 + i64.shl $5=, $pop11, $pop10 + i32.const $push9=, -1 + i32.add $push8=, $1, $pop9 + tee_local $push7=, $1=, $pop8 + br_if 0, $pop7 # 0: up to label3 # BB#5: # %do.end16 end_loop # label4: - i64.store $drop=, 0($2), $3 + i64.store $drop=, 0($2), $5 i64.eqz $push3=, $4 return $pop3 .LBB0_6: # %do.body.preheader @@ -45,17 +46,18 @@ doit: # @doit .LBB0_7: # %do.body # =>This Inner Loop Header: Depth=1 loop # label5: - i32.const $push14=, -1 - i32.add $1=, $1, $pop14 - copy_local $push13=, $0 - tee_local $push12=, $5=, $pop13 - i32.const $push11=, 1 - i32.shl $0=, $pop12, $pop11 - br_if 0, $1 # 0: up to label5 + copy_local $push18=, $0 + tee_local $push17=, $3=, $pop18 + i32.const $push16=, 1 + i32.shl $0=, $pop17, $pop16 + i32.const $push15=, -1 + i32.add $push14=, $1, $pop15 + tee_local $push13=, $1=, $pop14 + br_if 0, $pop13 # 0: up to label5 # BB#8: # %do.end end_loop # label6: i32.store $drop=, 0($2), $0 - i32.eqz $push5=, $5 + i32.eqz $push5=, $3 return $pop5 .LBB0_9: # %do.body2.preheader end_block # label1: @@ -63,17 +65,18 @@ doit: # @doit .LBB0_10: # %do.body2 # =>This Inner Loop Header: Depth=1 loop # label7: - i32.const $push18=, -1 - i32.add $1=, $1, $pop18 - copy_local $push17=, $0 - tee_local $push16=, $5=, $pop17 - i32.const $push15=, 1 - i32.shl $0=, $pop16, $pop15 - br_if 0, $1 # 0: up to label7 + copy_local $push24=, $0 + tee_local $push23=, $3=, $pop24 + i32.const $push22=, 1 + i32.shl $0=, $pop23, $pop22 + i32.const $push21=, -1 + i32.add $push20=, $1, $pop21 + tee_local $push19=, $1=, $pop20 + br_if 0, $pop19 # 0: up to label7 # BB#11: # %do.end7 end_loop # label8: i32.store $drop=, 0($2), $0 - i32.eqz $push4=, $5 + i32.eqz $push4=, $3 return $pop4 .LBB0_12: # %sw.default end_block # label0: diff --git a/test/torture-s/991019-1.c.s b/test/torture-s/991019-1.c.s index b2e285656..241720b9a 100644 --- a/test/torture-s/991019-1.c.s +++ b/test/torture-s/991019-1.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry f64.const $push0=, 0x1p0 f64.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/991023-1.c.s b/test/torture-s/991023-1.c.s index 865f66aed..3f7d0d80d 100644 --- a/test/torture-s/991023-1.c.s +++ b/test/torture-s/991023-1.c.s @@ -7,10 +7,10 @@ foo: # @foo .result i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.const $push2=, 4044 - i32.store $push0=, blah($pop1), $pop2 - return $pop0 + i32.const $push2=, 0 + i32.const $push1=, 4044 + i32.store $push0=, blah($pop2), $pop1 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/991112-1.c.s b/test/torture-s/991112-1.c.s index 04df976a8..0fc7706d9 100644 --- a/test/torture-s/991112-1.c.s +++ b/test/torture-s/991112-1.c.s @@ -9,7 +9,7 @@ rl_show_char: # @rl_show_char .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size rl_show_char, .Lfunc_end0-rl_show_char @@ -26,7 +26,7 @@ rl_character_len: # @rl_character_len i32.const $push1=, 2 i32.call $push0=, isprint@FUNCTION, $0 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size rl_character_len, .Lfunc_end1-rl_character_len diff --git a/test/torture-s/991118-1.c.s b/test/torture-s/991118-1.c.s index ba9f3324f..845a8be75 100644 --- a/test/torture-s/991118-1.c.s +++ b/test/torture-s/991118-1.c.s @@ -11,7 +11,7 @@ sub: # @sub i64.const $push1=, -8690468286197432320 i64.xor $push2=, $pop0, $pop1 i64.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end0: .size sub, .Lfunc_end0-sub @@ -27,7 +27,7 @@ sub2: # @sub2 i64.const $push1=, 2381903268435576 i64.xor $push2=, $pop0, $pop1 i64.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size sub2, .Lfunc_end1-sub2 @@ -43,7 +43,7 @@ sub3: # @sub3 i64.const $push1=, -4345234143098716160 i64.xor $push2=, $pop0, $pop1 i64.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end2: .size sub3, .Lfunc_end2-sub3 @@ -59,7 +59,7 @@ sub4: # @sub4 i64.const $push1=, 6885502895806072 i64.xor $push2=, $pop0, $pop1 i64.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end3: .size sub4, .Lfunc_end3-sub4 @@ -73,84 +73,86 @@ main: # @main .local i64, i64, i64, i64 # BB#0: # %entry i32.const $push3=, 0 - i64.load $2=, tmp2($pop3) - i32.const $push49=, 0 - i32.const $push48=, 0 - i64.load $push47=, tmp($pop48) - tee_local $push46=, $3=, $pop47 + i32.const $push51=, 0 + i64.load $push50=, tmp($pop51) + tee_local $push49=, $3=, $pop50 i64.const $push4=, -8690468286197432320 - i64.xor $push5=, $pop46, $pop4 - i64.store $0=, tmp($pop49), $pop5 - i32.const $push45=, 0 + i64.xor $push5=, $pop49, $pop4 + i64.store $0=, tmp($pop3), $pop5 + i32.const $push48=, 0 + i32.const $push47=, 0 + i64.load $push46=, tmp2($pop47) + tee_local $push45=, $2=, $pop46 i64.const $push6=, 2381903268435576 - i64.xor $push0=, $2, $pop6 - i64.store $1=, tmp2($pop45), $pop0 + i64.xor $push0=, $pop45, $pop6 + i64.store $1=, tmp2($pop48), $pop0 block - i64.const $push10=, -4096 - i64.and $push11=, $0, $pop10 - i64.const $push12=, -7687337405579571200 - i64.ne $push13=, $pop11, $pop12 - br_if 0, $pop13 # 0: down to label0 + i64.const $push7=, -4096 + i64.and $push8=, $0, $pop7 + i64.const $push9=, -7687337405579571200 + i64.ne $push10=, $pop8, $pop9 + br_if 0, $pop10 # 0: down to label0 # BB#1: # %entry - i64.const $push7=, 52 - i64.shl $push8=, $3, $pop7 - i64.const $push51=, 52 - i64.shr_s $push9=, $pop8, $pop51 - i32.wrap/i64 $push2=, $pop9 - i32.const $push50=, 291 - i32.ne $push14=, $pop2, $pop50 + i64.const $push11=, 52 + i64.shl $push12=, $3, $pop11 + i64.const $push53=, 52 + i64.shr_s $push13=, $pop12, $pop53 + i32.wrap/i64 $push2=, $pop13 + i32.const $push52=, 291 + i32.ne $push14=, $pop2, $pop52 br_if 0, $pop14 # 0: down to label0 # BB#2: # %if.end - i64.const $push16=, 52 - i64.shr_s $push17=, $2, $pop16 - i32.wrap/i64 $push18=, $pop17 - i32.const $push52=, 291 - i32.ne $push20=, $pop18, $pop52 + i64.const $push17=, 52 + i64.shr_s $push18=, $2, $pop17 + i32.wrap/i64 $push19=, $pop18 + i32.const $push54=, 291 + i32.ne $push20=, $pop19, $pop54 br_if 0, $pop20 # 0: down to label0 # BB#3: # %if.end - i64.const $push19=, 4503599627370495 - i64.and $push15=, $1, $pop19 + i64.const $push16=, 4503599627370495 + i64.and $push15=, $1, $pop16 i64.const $push21=, 2626808268586421 i64.ne $push22=, $pop15, $pop21 br_if 0, $pop22 # 0: down to label0 # BB#4: # %if.end19 i32.const $push24=, 0 - i64.load $2=, tmp4($pop24) - i32.const $push57=, 0 - i32.const $push56=, 0 - i64.load $push55=, tmp3($pop56) - tee_local $push54=, $3=, $pop55 + i32.const $push61=, 0 + i64.load $push60=, tmp3($pop61) + tee_local $push59=, $3=, $pop60 i64.const $push25=, -4345234143098716160 - i64.xor $push26=, $pop54, $pop25 - i64.store $0=, tmp3($pop57), $pop26 - i32.const $push53=, 0 + i64.xor $push26=, $pop59, $pop25 + i64.store $0=, tmp3($pop24), $pop26 + i32.const $push58=, 0 + i32.const $push57=, 0 + i64.load $push56=, tmp4($pop57) + tee_local $push55=, $2=, $pop56 i64.const $push27=, 6885502895806072 - i64.xor $push1=, $2, $pop27 - i64.store $1=, tmp4($pop53), $pop1 - i64.const $push31=, -2048 - i64.and $push32=, $0, $pop31 - i64.const $push33=, -3725223934242340864 - i64.ne $push34=, $pop32, $pop33 - br_if 0, $pop34 # 0: down to label0 + i64.xor $push1=, $pop55, $pop27 + i64.store $1=, tmp4($pop58), $pop1 + i64.const $push28=, -2048 + i64.and $push29=, $0, $pop28 + i64.const $push30=, -3725223934242340864 + i64.ne $push31=, $pop29, $pop30 + br_if 0, $pop31 # 0: down to label0 # BB#5: # %if.end19 - i64.const $push28=, 53 - i64.shl $push29=, $3, $pop28 - i64.const $push59=, 53 - i64.shr_s $push30=, $pop29, $pop59 - i32.wrap/i64 $push23=, $pop30 - i32.const $push58=, 291 - i32.ne $push35=, $pop23, $pop58 + i64.const $push32=, 53 + i64.shl $push33=, $3, $pop32 + i64.const $push63=, 53 + i64.shr_s $push34=, $pop33, $pop63 + i32.wrap/i64 $push23=, $pop34 + i32.const $push62=, 291 + i32.ne $push35=, $pop23, $pop62 br_if 0, $pop35 # 0: down to label0 # BB#6: # %if.end34 - i64.const $push37=, 53 - i64.shr_s $push38=, $2, $pop37 - i32.wrap/i64 $push39=, $pop38 - i32.const $push60=, 291 - i32.ne $push41=, $pop39, $pop60 + i64.const $push38=, 53 + i64.shr_s $push39=, $2, $pop38 + i32.wrap/i64 $push40=, $pop39 + i32.const $push64=, 291 + i32.ne $push41=, $pop40, $pop64 br_if 0, $pop41 # 0: down to label0 # BB#7: # %if.end34 - i64.const $push40=, 9007199254740991 - i64.and $push36=, $1, $pop40 + i64.const $push37=, 9007199254740991 + i64.and $push36=, $1, $pop37 i64.const $push42=, 7188242255599224 i64.ne $push43=, $pop36, $pop42 br_if 0, $pop43 # 0: down to label0 diff --git a/test/torture-s/991201-1.c.s b/test/torture-s/991201-1.c.s index 966226797..6863e1876 100644 --- a/test/torture-s/991201-1.c.s +++ b/test/torture-s/991201-1.c.s @@ -12,35 +12,36 @@ reset_palette: # @reset_palette i32.shl $push1=, $0, $pop0 i32.const $push2=, vc_cons i32.add $1=, $pop1, $pop2 - i32.const $2=, 6 - i32.const $0=, -64 + i32.const $0=, 6 + i32.const $2=, -64 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.load $push4=, 0($1) - i32.add $push5=, $pop4, $2 - i32.const $push17=, -2 - i32.add $push6=, $pop5, $pop17 - i32.load $push3=, default_red+64($0) - i32.store8 $drop=, 0($pop6), $pop3 - i32.load $push8=, 0($1) - i32.add $push9=, $pop8, $2 - i32.const $push16=, -1 - i32.add $push10=, $pop9, $pop16 - i32.load $push7=, default_grn+64($0) - i32.store8 $drop=, 0($pop10), $pop7 - i32.load $push12=, 0($1) - i32.add $push13=, $pop12, $2 - i32.load $push11=, default_blu+64($0) - i32.store8 $drop=, 0($pop13), $pop11 - i32.const $push15=, 3 - i32.add $2=, $2, $pop15 - i32.const $push14=, 4 - i32.add $0=, $0, $pop14 - br_if 0, $0 # 0: up to label0 + i32.load $push3=, 0($1) + i32.add $push4=, $pop3, $0 + i32.const $push19=, -2 + i32.add $push5=, $pop4, $pop19 + i32.load $push6=, default_red+64($2) + i32.store8 $drop=, 0($pop5), $pop6 + i32.load $push7=, 0($1) + i32.add $push8=, $pop7, $0 + i32.const $push18=, -1 + i32.add $push9=, $pop8, $pop18 + i32.load $push10=, default_grn+64($2) + i32.store8 $drop=, 0($pop9), $pop10 + i32.load $push11=, 0($1) + i32.add $push12=, $pop11, $0 + i32.load $push13=, default_blu+64($2) + i32.store8 $drop=, 0($pop12), $pop13 + i32.const $push17=, 3 + i32.add $0=, $0, $pop17 + i32.const $push16=, 4 + i32.add $push15=, $2, $pop16 + tee_local $push14=, $2=, $pop15 + br_if 0, $pop14 # 0: up to label0 # BB#2: # %bar.exit end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size reset_palette, .Lfunc_end0-reset_palette diff --git a/test/torture-s/991202-1.c.s b/test/torture-s/991202-1.c.s index 3c8f63e0a..76fe786c0 100644 --- a/test/torture-s/991202-1.c.s +++ b/test/torture-s/991202-1.c.s @@ -8,11 +8,11 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push1=, 0 - i32.const $push0=, 32 - i32.store $drop=, x($pop1), $pop0 + i32.const $push0=, 64 + i32.store $drop=, y($pop1), $pop0 i32.const $push4=, 0 - i32.const $push2=, 64 - i32.store $drop=, y($pop4), $pop2 + i32.const $push2=, 32 + i32.store $drop=, x($pop4), $pop2 i32.const $push3=, 0 call exit@FUNCTION, $pop3 unreachable diff --git a/test/torture-s/991202-2.c.s b/test/torture-s/991202-2.c.s index bcb075a4b..a50085dce 100644 --- a/test/torture-s/991202-2.c.s +++ b/test/torture-s/991202-2.c.s @@ -8,7 +8,7 @@ f1: # @f1 .result i32 # BB#0: # %entry i32.const $push0=, 8 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 diff --git a/test/torture-s/991202-3.c.s b/test/torture-s/991202-3.c.s index 8f78393b4..cc9e51ac7 100644 --- a/test/torture-s/991202-3.c.s +++ b/test/torture-s/991202-3.c.s @@ -12,7 +12,7 @@ f: # @f i32.shl $push1=, $0, $pop0 i32.const $push2=, 536862720 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -27,7 +27,7 @@ g: # @g # BB#0: # %entry i32.const $push0=, 16 i32.shl $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size g, .Lfunc_end1-g @@ -42,7 +42,7 @@ h: # @h # BB#0: # %entry i32.const $push0=, 3 i32.shr_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size h, .Lfunc_end2-h diff --git a/test/torture-s/991216-2.c.s b/test/torture-s/991216-2.c.s index c5caed017..b319b5a1d 100644 --- a/test/torture-s/991216-2.c.s +++ b/test/torture-s/991216-2.c.s @@ -6,75 +6,75 @@ .type test,@function test: # @test .param i32, i32 - .local i64, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push20=, __stack_pointer - i32.const $push17=, __stack_pointer - i32.load $push18=, 0($pop17) - i32.const $push19=, 16 - i32.sub $push24=, $pop18, $pop19 - i32.store $push26=, 0($pop20), $pop24 - tee_local $push25=, $4=, $pop26 - i32.store $drop=, 12($pop25), $1 + i32.const $push21=, 0 + i32.const $push18=, 0 + i32.load $push19=, __stack_pointer($pop18) + i32.const $push20=, 16 + i32.sub $push25=, $pop19, $pop20 + i32.store $push27=, __stack_pointer($pop21), $pop25 + tee_local $push26=, $3=, $pop27 + i32.store $4=, 12($pop26), $1 block block block i32.const $push0=, 2 - i32.lt_s $push1=, $0, $pop0 + i32.ge_s $push1=, $0, $pop0 br_if 0, $pop1 # 0: down to label2 -# BB#1: # %for.body.preheader - i32.const $3=, 1 -.LBB0_2: # %for.body +# BB#1: + copy_local $5=, $4 + br 1 # 1: down to label1 +.LBB0_2: # %for.body.preheader + end_block # label2: + i32.const $4=, 1 +.LBB0_3: # %for.body # =>This Inner Loop Header: Depth=1 loop # label3: - copy_local $push32=, $1 + i32.const $push33=, 4 + i32.add $push32=, $1, $pop33 tee_local $push31=, $5=, $pop32 - i32.const $push30=, 4 - i32.add $push29=, $pop31, $pop30 - tee_local $push28=, $1=, $pop29 - i32.store $drop=, 12($4), $pop28 - i32.const $push27=, 1 - i32.add $3=, $3, $pop27 - i32.load $push2=, 0($5) - i32.ne $push3=, $3, $pop2 - br_if 3, $pop3 # 3: down to label1 -# BB#3: # %for.cond - # in Loop: Header=BB0_2 Depth=1 - i32.lt_s $push4=, $3, $0 + i32.store $2=, 12($3), $pop31 + i32.const $push30=, 1 + i32.add $push29=, $4, $pop30 + tee_local $push28=, $4=, $pop29 + i32.load $push2=, 0($1) + i32.ne $push3=, $pop28, $pop2 + br_if 3, $pop3 # 3: down to label0 +# BB#4: # %for.cond + # in Loop: Header=BB0_3 Depth=1 + copy_local $1=, $2 + i32.lt_s $push4=, $4, $0 br_if 0, $pop4 # 0: up to label3 -.LBB0_4: # %for.end +.LBB0_5: # %for.end end_loop # label4: - end_block # label2: + end_block # label1: i32.const $push5=, 7 - i32.add $push6=, $1, $pop5 + i32.add $push6=, $5, $pop5 i32.const $push7=, -8 - i32.and $push34=, $pop6, $pop7 - tee_local $push33=, $3=, $pop34 - i64.load $2=, 0($pop33) + i32.and $push35=, $pop6, $pop7 + tee_local $push34=, $1=, $pop35 i32.const $push8=, 8 - i32.add $push9=, $3, $pop8 - i32.store $1=, 12($4), $pop9 - i64.const $push10=, 81985529216486895 - i64.ne $push11=, $2, $pop10 - br_if 1, $pop11 # 1: down to label0 -# BB#5: # %if.end7 - i32.const $push12=, 12 - i32.add $push13=, $3, $pop12 - i32.store $drop=, 12($4), $pop13 - i32.load $push14=, 0($1) - i32.const $push15=, 85 - i32.ne $push16=, $pop14, $pop15 - br_if 1, $pop16 # 1: down to label0 -# BB#6: # %if.end12 - i32.const $push23=, __stack_pointer - i32.const $push21=, 16 - i32.add $push22=, $4, $pop21 - i32.store $drop=, 0($pop23), $pop22 + i32.add $push9=, $pop34, $pop8 + i32.store $4=, 12($3), $pop9 + i64.load $push10=, 0($1) + i64.const $push11=, 81985529216486895 + i64.ne $push12=, $pop10, $pop11 + br_if 0, $pop12 # 0: down to label0 +# BB#6: # %if.end7 + i32.const $push13=, 12 + i32.add $push14=, $1, $pop13 + i32.store $drop=, 12($3), $pop14 + i32.load $push15=, 0($4) + i32.const $push16=, 85 + i32.ne $push17=, $pop15, $pop16 + br_if 0, $pop17 # 0: down to label0 +# BB#7: # %if.end12 + i32.const $push24=, 0 + i32.const $push22=, 16 + i32.add $push23=, $3, $pop22 + i32.store $drop=, __stack_pointer($pop24), $pop23 return -.LBB0_7: # %if.then - end_block # label1: - call abort@FUNCTION - unreachable .LBB0_8: # %if.then11 end_block # label0: call abort@FUNCTION @@ -91,12 +91,12 @@ main: # @main .result i32 .local i32, i64, i64, i32, i64, i64, i32 # BB#0: # %entry - i32.const $push38=, __stack_pointer - i32.const $push35=, __stack_pointer - i32.load $push36=, 0($pop35) + i32.const $push38=, 0 + i32.const $push35=, 0 + i32.load $push36=, __stack_pointer($pop35) i32.const $push37=, 288 i32.sub $push77=, $pop36, $pop37 - i32.store $push91=, 0($pop38), $pop77 + i32.store $push91=, __stack_pointer($pop38), $pop77 tee_local $push90=, $6=, $pop91 i32.const $push1=, 85 i32.store $0=, 280($pop90), $pop1 diff --git a/test/torture-s/991227-1.c.s b/test/torture-s/991227-1.c.s index d88381219..33ae8c230 100644 --- a/test/torture-s/991227-1.c.s +++ b/test/torture-s/991227-1.c.s @@ -13,7 +13,7 @@ doit: # @doit i32.select $push2=, $pop1, $pop0, $0 i32.const $push3=, 1 i32.add $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size doit, .Lfunc_end0-doit diff --git a/test/torture-s/991228-1.c.s b/test/torture-s/991228-1.c.s index a84debae9..fcaffdc00 100644 --- a/test/torture-s/991228-1.c.s +++ b/test/torture-s/991228-1.c.s @@ -7,25 +7,25 @@ signbit: # @signbit .param f64 .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) + i32.const $push10=, 16 + i32.sub $push14=, $pop9, $pop10 + tee_local $push13=, $1=, $pop14 + f64.store $drop=, 8($pop13), $0 + i32.const $push11=, 8 + i32.add $push12=, $1, $pop11 i32.const $push0=, 0 - i32.load $1=, endianness_test($pop0) - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) - i32.const $push9=, 16 - i32.sub $push13=, $pop8, $pop9 - tee_local $push12=, $2=, $pop13 - f64.store $drop=, 8($pop12), $0 - i32.const $push10=, 8 - i32.add $push11=, $2, $pop10 - i32.const $push1=, 2 - i32.shl $push2=, $1, $pop1 - i32.add $push3=, $pop11, $pop2 - i32.load $push4=, 0($pop3) - i32.const $push5=, 31 - i32.shr_u $push6=, $pop4, $pop5 - return $pop6 + i32.load $push1=, endianness_test($pop0) + i32.const $push2=, 2 + i32.shl $push3=, $pop1, $pop2 + i32.add $push4=, $pop12, $pop3 + i32.load $push5=, 0($pop4) + i32.const $push6=, 31 + i32.shr_u $push7=, $pop5, $pop6 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size signbit, .Lfunc_end0-signbit @@ -38,12 +38,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 16 i32.sub $push15=, $pop10, $pop11 - i32.store $0=, 0($pop12), $pop15 + i32.store $0=, __stack_pointer($pop12), $pop15 block i32.const $push19=, 0 i32.load $push0=, endianness_test($pop19) diff --git a/test/torture-s/align-1.c.s b/test/torture-s/align-1.c.s index 9555c3d2f..9acaae10e 100644 --- a/test/torture-s/align-1.c.s +++ b/test/torture-s/align-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/align-3.c.s b/test/torture-s/align-3.c.s index 810029018..d9021fff6 100644 --- a/test/torture-s/align-3.c.s +++ b/test/torture-s/align-3.c.s @@ -7,7 +7,7 @@ .type func,@function func: # @func # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size func, .Lfunc_end0-func @@ -20,7 +20,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/alloca-1.c.s b/test/torture-s/alloca-1.c.s index 109c3abe9..dab28f664 100644 --- a/test/torture-s/alloca-1.c.s +++ b/test/torture-s/alloca-1.c.s @@ -7,14 +7,14 @@ foo: # @foo .result i32 # BB#0: # %entry - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 32 i32.sub $push6=, $pop4, $pop5 i32.const $push0=, 15 i32.and $push1=, $pop6, $pop0 i32.eqz $push2=, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -28,21 +28,21 @@ main: # @main .local i32 # BB#0: # %entry block - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 32 i32.sub $push10=, $pop4, $pop5 - i32.store $push12=, 0($pop6), $pop10 + i32.store $push12=, __stack_pointer($pop6), $pop10 tee_local $push11=, $0=, $pop12 i32.const $push0=, 15 i32.and $push1=, $pop11, $pop0 br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 32 i32.add $push8=, $0, $pop7 - i32.store $drop=, 0($pop9), $pop8 + i32.store $drop=, __stack_pointer($pop9), $pop8 i32.const $push2=, 0 return $pop2 .LBB1_2: # %if.then diff --git a/test/torture-s/anon-1.c.s b/test/torture-s/anon-1.c.s index f5e8a5a37..0d940d3c9 100644 --- a/test/torture-s/anon-1.c.s +++ b/test/torture-s/anon-1.c.s @@ -12,7 +12,7 @@ main: # @main i64.const $push0=, 25769803781 i64.store $drop=, foo+4($pop1):p2align=2, $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/arith-1.c.s b/test/torture-s/arith-1.c.s index 861237fc8..d5b3356fa 100644 --- a/test/torture-s/arith-1.c.s +++ b/test/torture-s/arith-1.c.s @@ -8,13 +8,13 @@ sat_add: # @sat_add .param i32 .result i32 # BB#0: # %entry - i32.const $push2=, -1 - i32.const $push0=, 1 - i32.add $push1=, $0, $pop0 + i32.const $push0=, -1 + i32.const $push2=, 1 + i32.add $push3=, $0, $pop2 i32.const $push5=, -1 - i32.eq $push3=, $0, $pop5 - i32.select $push4=, $pop2, $pop1, $pop3 - return $pop4 + i32.eq $push1=, $0, $pop5 + i32.select $push4=, $pop0, $pop3, $pop1 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size sat_add, .Lfunc_end0-sat_add diff --git a/test/torture-s/arith-rand-ll.c.s b/test/torture-s/arith-rand-ll.c.s index 42f2c072e..8b56e4afd 100644 --- a/test/torture-s/arith-rand-ll.c.s +++ b/test/torture-s/arith-rand-ll.c.s @@ -6,20 +6,18 @@ .type simple_rand,@function simple_rand: # @simple_rand .result i64 - .local i64 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push1=, 0 i32.const $push9=, 0 - i64.load $push1=, simple_rand.seed($pop9) - i64.const $push2=, 1103515245 - i64.mul $push3=, $pop1, $pop2 - i64.const $push4=, 12345 - i64.add $push8=, $pop3, $pop4 - tee_local $push7=, $0=, $pop8 - i64.store $drop=, simple_rand.seed($pop0), $pop7 - i64.const $push5=, 8 - i64.shr_u $push6=, $0, $pop5 - return $pop6 + i64.load $push2=, simple_rand.seed($pop9) + i64.const $push3=, 1103515245 + i64.mul $push4=, $pop2, $pop3 + i64.const $push5=, 12345 + i64.add $push6=, $pop4, $pop5 + i64.store $push0=, simple_rand.seed($pop1), $pop6 + i64.const $push7=, 8 + i64.shr_u $push8=, $pop0, $pop7 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size simple_rand, .Lfunc_end0-simple_rand @@ -30,59 +28,60 @@ simple_rand: # @simple_rand .type random_bitstring,@function random_bitstring: # @random_bitstring .result i64 - .local i64, i32, i32, i64, i64 + .local i64, i32, i64, i64, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $4=, 0 i32.const $push10=, 0 - i64.load $4=, simple_rand.seed($pop10) - i64.const $0=, 0 + i64.load $2=, simple_rand.seed($pop10) + i64.const $3=, 0 .LBB1_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label0: i64.const $push20=, 1103515245 - i64.mul $push0=, $4, $pop20 + i64.mul $push0=, $2, $pop20 i64.const $push19=, 12345 i64.add $push18=, $pop0, $pop19 - tee_local $push17=, $4=, $pop18 + tee_local $push17=, $2=, $pop18 i64.const $push16=, 9 i64.shr_u $push15=, $pop17, $pop16 - tee_local $push14=, $3=, $pop15 + tee_local $push14=, $0=, $pop15 i32.wrap/i64 $push1=, $pop14 i32.const $push13=, 15 i32.and $push12=, $pop1, $pop13 - tee_local $push11=, $2=, $pop12 + tee_local $push11=, $1=, $pop12 i32.eqz $push26=, $pop11 br_if 1, $pop26 # 1: down to label1 # BB#2: # %if.else # in Loop: Header=BB1_1 Depth=1 + i32.add $4=, $1, $4 i64.const $push22=, 15 - i64.and $push2=, $3, $pop22 - i64.shl $0=, $0, $pop2 - i32.add $1=, $2, $1 + i64.and $push2=, $0, $pop22 + i64.shl $3=, $3, $pop2 block i64.const $push21=, 256 - i64.and $push3=, $4, $pop21 + i64.and $push3=, $2, $pop21 i64.eqz $push4=, $pop3 br_if 0, $pop4 # 0: down to label2 # BB#3: # %if.then2 # in Loop: Header=BB1_1 Depth=1 i32.const $push24=, 1 - i32.shl $push5=, $pop24, $2 + i32.shl $push5=, $pop24, $1 i32.const $push23=, -1 i32.add $push6=, $pop5, $pop23 i64.extend_s/i32 $push7=, $pop6 - i64.or $0=, $pop7, $0 + i64.or $3=, $pop7, $3 .LBB1_4: # %if.end # in Loop: Header=BB1_1 Depth=1 end_block # label2: i32.const $push25=, 71 - i32.lt_u $push8=, $1, $pop25 + i32.lt_u $push8=, $4, $pop25 br_if 0, $pop8 # 0: up to label0 .LBB1_5: # %cleanup end_loop # label1: i32.const $push9=, 0 - i64.store $drop=, simple_rand.seed($pop9), $4 - return $0 + i64.store $drop=, simple_rand.seed($pop9), $2 + copy_local $push27=, $3 + # fallthrough-return: $pop27 .endfunc .Lfunc_end1: .size random_bitstring, .Lfunc_end1-random_bitstring @@ -93,10 +92,10 @@ random_bitstring: # @random_bitstring .type main,@function main: # @main .result i32 - .local i64, i32, i32, i64, i32, i64, i32, i64, i64, i64, i32, i32, i32 + .local i64, i32, i64, i64, i32, i32, i32, i32, i32, i64, i32, i64 # BB#0: # %entry i32.const $push76=, 0 - i64.load $8=, simple_rand.seed($pop76) + i64.load $2=, simple_rand.seed($pop76) i64.const $0=, 0 .LBB2_1: # %for.body # =>This Loop Header: Depth=1 @@ -107,318 +106,323 @@ main: # @main block block loop # label7: - i64.const $3=, 0 - i32.const $4=, 0 + i64.const $9=, 0 + i32.const $10=, 0 .LBB2_2: # %for.cond.i # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label9: i64.const $push86=, 1103515245 - i64.mul $push0=, $8, $pop86 + i64.mul $push0=, $2, $pop86 i64.const $push85=, 12345 i64.add $push84=, $pop0, $pop85 - tee_local $push83=, $8=, $pop84 + tee_local $push83=, $2=, $pop84 i64.const $push82=, 9 i64.shr_u $push81=, $pop83, $pop82 - tee_local $push80=, $5=, $pop81 + tee_local $push80=, $11=, $pop81 i32.wrap/i64 $push1=, $pop80 i32.const $push79=, 15 i32.and $push78=, $pop1, $pop79 - tee_local $push77=, $6=, $pop78 - i32.eqz $push176=, $pop77 - br_if 1, $pop176 # 1: down to label10 + tee_local $push77=, $1=, $pop78 + i32.eqz $push186=, $pop77 + br_if 1, $pop186 # 1: down to label10 # BB#3: # %if.else.i # in Loop: Header=BB2_2 Depth=2 + i32.add $10=, $1, $10 i64.const $push88=, 15 - i64.and $push2=, $5, $pop88 - i64.shl $3=, $3, $pop2 - i32.add $4=, $6, $4 + i64.and $push2=, $11, $pop88 + i64.shl $9=, $9, $pop2 block i64.const $push87=, 256 - i64.and $push3=, $8, $pop87 + i64.and $push3=, $2, $pop87 i64.eqz $push4=, $pop3 br_if 0, $pop4 # 0: down to label11 # BB#4: # %if.then2.i # in Loop: Header=BB2_2 Depth=2 i32.const $push90=, 1 - i32.shl $push5=, $pop90, $6 + i32.shl $push5=, $pop90, $1 i32.const $push89=, -1 i32.add $push6=, $pop5, $pop89 i64.extend_s/i32 $push7=, $pop6 - i64.or $3=, $pop7, $3 + i64.or $9=, $pop7, $9 .LBB2_5: # %if.end.i # in Loop: Header=BB2_2 Depth=2 end_block # label11: i32.const $push91=, 71 - i32.lt_u $push8=, $4, $pop91 + i32.lt_u $push8=, $10, $pop91 br_if 0, $pop8 # 0: up to label9 .LBB2_6: # %random_bitstring.exit # in Loop: Header=BB2_1 Depth=1 end_loop # label10: - i64.const $5=, 0 - i32.const $4=, 0 + i32.const $10=, 0 + i64.const $11=, 0 .LBB2_7: # %for.cond.i452 # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label12: i64.const $push101=, 1103515245 - i64.mul $push9=, $8, $pop101 + i64.mul $push9=, $2, $pop101 i64.const $push100=, 12345 i64.add $push99=, $pop9, $pop100 - tee_local $push98=, $8=, $pop99 + tee_local $push98=, $2=, $pop99 i64.const $push97=, 9 i64.shr_u $push96=, $pop98, $pop97 - tee_local $push95=, $7=, $pop96 + tee_local $push95=, $3=, $pop96 i32.wrap/i64 $push10=, $pop95 i32.const $push94=, 15 i32.and $push93=, $pop10, $pop94 - tee_local $push92=, $6=, $pop93 - i32.eqz $push177=, $pop92 - br_if 1, $pop177 # 1: down to label13 + tee_local $push92=, $1=, $pop93 + i32.eqz $push187=, $pop92 + br_if 1, $pop187 # 1: down to label13 # BB#8: # %if.else.i457 # in Loop: Header=BB2_7 Depth=2 + i32.add $10=, $1, $10 i64.const $push103=, 15 - i64.and $push11=, $7, $pop103 - i64.shl $5=, $5, $pop11 - i32.add $4=, $6, $4 + i64.and $push11=, $3, $pop103 + i64.shl $11=, $11, $pop11 block i64.const $push102=, 256 - i64.and $push12=, $8, $pop102 + i64.and $push12=, $2, $pop102 i64.eqz $push13=, $pop12 br_if 0, $pop13 # 0: down to label14 # BB#9: # %if.then2.i462 # in Loop: Header=BB2_7 Depth=2 i32.const $push105=, 1 - i32.shl $push14=, $pop105, $6 + i32.shl $push14=, $pop105, $1 i32.const $push104=, -1 i32.add $push15=, $pop14, $pop104 i64.extend_s/i32 $push16=, $pop15 - i64.or $5=, $pop16, $5 + i64.or $11=, $pop16, $11 .LBB2_10: # %if.end.i465 # in Loop: Header=BB2_7 Depth=2 end_block # label14: i32.const $push106=, 71 - i32.lt_u $push17=, $4, $pop106 + i32.lt_u $push17=, $10, $pop106 br_if 0, $pop17 # 0: up to label12 .LBB2_11: # %random_bitstring.exit467 # in Loop: Header=BB2_1 Depth=1 end_loop # label13: block - i64.eqz $push18=, $5 + i64.eqz $push18=, $11 br_if 0, $pop18 # 0: down to label15 # BB#12: # %cleanup.cont # in Loop: Header=BB2_1 Depth=1 block i64.const $push108=, 9223372036854775807 - i64.and $push19=, $3, $pop108 + i64.and $push19=, $9, $pop108 i64.const $push107=, 0 i64.ne $push20=, $pop19, $pop107 br_if 0, $pop20 # 0: down to label16 # BB#13: # %cleanup.cont # in Loop: Header=BB2_1 Depth=1 i64.const $push109=, -1 - i64.eq $push21=, $5, $pop109 + i64.eq $push21=, $11, $pop109 br_if 1, $pop21 # 1: down to label15 .LBB2_14: # %if.end17 # in Loop: Header=BB2_1 Depth=1 end_block # label16: - i64.rem_s $7=, $3, $5 + i64.rem_s $push117=, $9, $11 + tee_local $push116=, $3=, $pop117 i64.const $push115=, 63 - i64.shr_s $push114=, $7, $pop115 - tee_local $push113=, $9=, $pop114 - i64.add $push24=, $7, $pop113 - i64.xor $push25=, $pop24, $9 + i64.shr_s $push114=, $3, $pop115 + tee_local $push113=, $3=, $pop114 + i64.add $push24=, $pop116, $pop113 + i64.xor $push25=, $pop24, $3 i64.const $push112=, 63 - i64.shr_s $push111=, $5, $pop112 - tee_local $push110=, $7=, $pop111 - i64.add $push22=, $5, $pop110 - i64.xor $push23=, $pop22, $7 + i64.shr_s $push111=, $11, $pop112 + tee_local $push110=, $3=, $pop111 + i64.add $push22=, $11, $pop110 + i64.xor $push23=, $pop22, $3 i64.ge_u $push26=, $pop25, $pop23 br_if 3, $pop26 # 3: down to label6 # BB#15: # %save_time # in Loop: Header=BB2_1 Depth=1 - i32.wrap/i64 $push117=, $5 - tee_local $push116=, $4=, $pop117 - i32.eqz $push178=, $pop116 - br_if 0, $pop178 # 0: down to label15 + i32.wrap/i64 $push119=, $11 + tee_local $push118=, $10=, $pop119 + i32.eqz $push188=, $pop118 + br_if 0, $pop188 # 0: down to label15 # BB#16: # %cleanup.cont65 # in Loop: Header=BB2_1 Depth=1 block - i32.wrap/i64 $push120=, $3 - tee_local $push119=, $6=, $pop120 - i32.const $push118=, 2147483647 - i32.and $push28=, $pop119, $pop118 + i32.wrap/i64 $push122=, $9 + tee_local $push121=, $1=, $pop122 + i32.const $push120=, 2147483647 + i32.and $push28=, $pop121, $pop120 br_if 0, $pop28 # 0: down to label17 # BB#17: # %cleanup.cont65 # in Loop: Header=BB2_1 Depth=1 - i32.const $push121=, -1 - i32.eq $push29=, $4, $pop121 + i32.const $push123=, -1 + i32.eq $push29=, $10, $pop123 br_if 1, $pop29 # 1: down to label15 .LBB2_18: # %if.end79 # in Loop: Header=BB2_1 Depth=1 end_block # label17: - i32.rem_s $1=, $6, $4 - i32.const $push127=, 31 - i32.shr_s $push126=, $1, $pop127 - tee_local $push125=, $2=, $pop126 - i32.add $push32=, $1, $pop125 - i32.xor $push33=, $pop32, $2 - i32.const $push124=, 31 - i32.shr_s $push123=, $4, $pop124 - tee_local $push122=, $2=, $pop123 - i32.add $push30=, $4, $pop122 - i32.xor $push31=, $pop30, $2 + i32.rem_s $push131=, $1, $10 + tee_local $push130=, $4=, $pop131 + i32.const $push129=, 31 + i32.shr_s $push128=, $4, $pop129 + tee_local $push127=, $6=, $pop128 + i32.add $push32=, $pop130, $pop127 + i32.xor $push33=, $pop32, $6 + i32.const $push126=, 31 + i32.shr_s $push125=, $10, $pop126 + tee_local $push124=, $6=, $pop125 + i32.add $push30=, $10, $pop124 + i32.xor $push31=, $pop30, $6 i32.ge_u $push34=, $pop33, $pop31 br_if 4, $pop34 # 4: down to label5 # BB#19: # %lor.lhs.false103 # in Loop: Header=BB2_1 Depth=1 block - i32.eqz $push179=, $1 - br_if 0, $pop179 # 0: down to label18 + i32.eqz $push189=, $4 + br_if 0, $pop189 # 0: down to label18 # BB#20: # %lor.lhs.false103 # in Loop: Header=BB2_1 Depth=1 - i32.xor $push35=, $1, $6 - i32.const $push128=, -1 - i32.le_s $push36=, $pop35, $pop128 + i32.xor $push35=, $4, $1 + i32.const $push132=, -1 + i32.le_s $push36=, $pop35, $pop132 br_if 5, $pop36 # 5: down to label5 .LBB2_21: # %cleanup.cont118 # in Loop: Header=BB2_1 Depth=1 end_block # label18: - i32.const $push129=, 65535 - i32.and $push37=, $4, $pop129 - i32.eqz $push180=, $pop37 - br_if 0, $pop180 # 0: down to label15 + i32.const $push133=, 65535 + i32.and $push37=, $10, $pop133 + i32.eqz $push190=, $pop37 + br_if 0, $pop190 # 0: down to label15 # BB#22: # %cleanup.cont158 # in Loop: Header=BB2_1 Depth=1 - i32.const $push148=, 16 - i32.shl $push38=, $6, $pop148 + i32.const $push154=, 16 + i32.shl $push38=, $1, $pop154 + i32.const $push153=, 16 + i32.shr_s $push152=, $pop38, $pop153 + tee_local $push151=, $5=, $pop152 + i32.const $push150=, 16 + i32.shl $push149=, $10, $pop150 + tee_local $push148=, $7=, $pop149 i32.const $push147=, 16 - i32.shr_s $push146=, $pop38, $pop147 - tee_local $push145=, $12=, $pop146 + i32.shr_s $push146=, $pop148, $pop147 + tee_local $push145=, $4=, $pop146 + i32.rem_s $push39=, $pop151, $pop145 i32.const $push144=, 16 - i32.shl $push143=, $4, $pop144 - tee_local $push142=, $11=, $pop143 + i32.shl $push143=, $pop39, $pop144 + tee_local $push142=, $8=, $pop143 i32.const $push141=, 16 i32.shr_s $push140=, $pop142, $pop141 - tee_local $push139=, $1=, $pop140 - i32.rem_s $push39=, $pop145, $pop139 - i32.const $push138=, 16 - i32.shl $push137=, $pop39, $pop138 - tee_local $push136=, $10=, $pop137 - i32.const $push135=, 16 - i32.shr_s $2=, $pop136, $pop135 - i32.const $push134=, 0 - i32.sub $push41=, $pop134, $2 - i32.const $push133=, -65536 - i32.gt_s $push40=, $10, $pop133 - i32.select $push42=, $2, $pop41, $pop40 - i32.const $push132=, 0 - i32.sub $push44=, $pop132, $1 - i32.const $push131=, -65536 - i32.gt_s $push43=, $11, $pop131 - i32.select $push45=, $1, $pop44, $pop43 - i32.const $push130=, 65535 - i32.and $push46=, $pop45, $pop130 + tee_local $push139=, $6=, $pop140 + i32.const $push138=, 0 + i32.sub $push41=, $pop138, $6 + i32.const $push137=, -65536 + i32.gt_s $push40=, $8, $pop137 + i32.select $push42=, $pop139, $pop41, $pop40 + i32.const $push136=, 0 + i32.sub $push44=, $pop136, $4 + i32.const $push135=, -65536 + i32.gt_s $push43=, $7, $pop135 + i32.select $push45=, $4, $pop44, $pop43 + i32.const $push134=, 65535 + i32.and $push46=, $pop45, $pop134 i32.ge_s $push47=, $pop42, $pop46 br_if 5, $pop47 # 5: down to label4 # BB#23: # %lor.lhs.false197 # in Loop: Header=BB2_1 Depth=1 - i32.div_s $push48=, $12, $1 - i32.mul $push49=, $pop48, $1 - i32.add $push50=, $pop49, $2 - i32.const $push150=, 16 - i32.shl $push51=, $pop50, $pop150 - i32.const $push149=, 16 - i32.shr_s $push52=, $pop51, $pop149 - i32.ne $push53=, $pop52, $12 + i32.div_s $push48=, $5, $4 + i32.mul $push49=, $pop48, $4 + i32.add $push50=, $pop49, $6 + i32.const $push156=, 16 + i32.shl $push51=, $pop50, $pop156 + i32.const $push155=, 16 + i32.shr_s $push52=, $pop51, $pop155 + i32.ne $push53=, $pop52, $5 br_if 5, $pop53 # 5: down to label4 # BB#24: # %if.end209 # in Loop: Header=BB2_1 Depth=1 - i32.const $push151=, 255 - i32.and $push55=, $4, $pop151 - i32.eqz $push181=, $pop55 - br_if 0, $pop181 # 0: down to label15 + i32.const $push157=, 255 + i32.and $push55=, $10, $pop157 + i32.eqz $push191=, $pop55 + br_if 0, $pop191 # 0: down to label15 # BB#25: # %cleanup.cont249 # in Loop: Header=BB2_1 Depth=1 - i32.const $push170=, 24 - i32.shl $push56=, $6, $pop170 - i32.const $push169=, 24 - i32.shr_s $push168=, $pop56, $pop169 - tee_local $push167=, $1=, $pop168 - i32.const $push166=, 24 - i32.shl $push165=, $4, $pop166 - tee_local $push164=, $2=, $pop165 - i32.const $push163=, 24 - i32.shr_s $push162=, $pop164, $pop163 - tee_local $push161=, $4=, $pop162 - i32.rem_s $push57=, $pop167, $pop161 - i32.const $push160=, 24 - i32.shl $push159=, $pop57, $pop160 - tee_local $push158=, $12=, $pop159 - i32.const $push157=, 24 - i32.shr_s $6=, $pop158, $pop157 - i32.const $push156=, 0 - i32.sub $push59=, $pop156, $6 - i32.const $push155=, -16777216 - i32.gt_s $push58=, $12, $pop155 - i32.select $push60=, $6, $pop59, $pop58 - i32.const $push154=, 0 - i32.sub $push62=, $pop154, $4 - i32.const $push153=, -16777216 - i32.gt_s $push61=, $2, $pop153 - i32.select $push63=, $4, $pop62, $pop61 - i32.const $push152=, 255 - i32.and $push64=, $pop63, $pop152 + i32.const $push178=, 24 + i32.shl $push56=, $1, $pop178 + i32.const $push177=, 24 + i32.shr_s $push176=, $pop56, $pop177 + tee_local $push175=, $4=, $pop176 + i32.const $push174=, 24 + i32.shl $push173=, $10, $pop174 + tee_local $push172=, $6=, $pop173 + i32.const $push171=, 24 + i32.shr_s $push170=, $pop172, $pop171 + tee_local $push169=, $10=, $pop170 + i32.rem_s $push57=, $pop175, $pop169 + i32.const $push168=, 24 + i32.shl $push167=, $pop57, $pop168 + tee_local $push166=, $5=, $pop167 + i32.const $push165=, 24 + i32.shr_s $push164=, $pop166, $pop165 + tee_local $push163=, $1=, $pop164 + i32.const $push162=, 0 + i32.sub $push59=, $pop162, $1 + i32.const $push161=, -16777216 + i32.gt_s $push58=, $5, $pop161 + i32.select $push60=, $pop163, $pop59, $pop58 + i32.const $push160=, 0 + i32.sub $push62=, $pop160, $10 + i32.const $push159=, -16777216 + i32.gt_s $push61=, $6, $pop159 + i32.select $push63=, $10, $pop62, $pop61 + i32.const $push158=, 255 + i32.and $push64=, $pop63, $pop158 i32.ge_s $push65=, $pop60, $pop64 br_if 6, $pop65 # 6: down to label3 # BB#26: # %lor.lhs.false288 # in Loop: Header=BB2_1 Depth=1 - i32.div_s $push66=, $1, $4 - i32.mul $push67=, $pop66, $4 - i32.add $push68=, $pop67, $6 - i32.const $push172=, 24 - i32.shl $push69=, $pop68, $pop172 - i32.const $push171=, 24 - i32.shr_s $push70=, $pop69, $pop171 - i32.ne $push71=, $pop70, $1 + i32.div_s $push66=, $4, $10 + i32.mul $push67=, $pop66, $10 + i32.add $push68=, $pop67, $1 + i32.const $push180=, 24 + i32.shl $push69=, $pop68, $pop180 + i32.const $push179=, 24 + i32.shr_s $push70=, $pop69, $pop179 + i32.ne $push71=, $pop70, $4 br_if 6, $pop71 # 6: down to label3 .LBB2_27: # %cleanup301 # in Loop: Header=BB2_1 Depth=1 end_block # label15: - i64.const $push174=, 1 - i64.add $0=, $0, $pop174 - i64.const $push173=, 10000 - i64.lt_s $push74=, $0, $pop173 + i64.const $push184=, 1 + i64.add $push183=, $0, $pop184 + tee_local $push182=, $0=, $pop183 + i64.const $push181=, 10000 + i64.lt_s $push74=, $pop182, $pop181 br_if 0, $pop74 # 0: up to label7 # BB#28: # %for.end end_loop # label8: i32.const $push75=, 0 - i64.store $drop=, simple_rand.seed($pop75), $8 - i32.const $push175=, 0 - call exit@FUNCTION, $pop175 + i64.store $drop=, simple_rand.seed($pop75), $2 + i32.const $push185=, 0 + call exit@FUNCTION, $pop185 unreachable .LBB2_29: # %if.then32 end_block # label6: i32.const $push27=, 0 - i64.store $drop=, simple_rand.seed($pop27), $8 + i64.store $drop=, simple_rand.seed($pop27), $2 call abort@FUNCTION unreachable .LBB2_30: # %if.then111 end_block # label5: i32.const $push73=, 0 - i64.store $drop=, simple_rand.seed($pop73), $8 + i64.store $drop=, simple_rand.seed($pop73), $2 call abort@FUNCTION unreachable .LBB2_31: # %if.then208 end_block # label4: i32.const $push54=, 0 - i64.store $drop=, simple_rand.seed($pop54), $8 + i64.store $drop=, simple_rand.seed($pop54), $2 call abort@FUNCTION unreachable .LBB2_32: # %if.then299 end_block # label3: i32.const $push72=, 0 - i64.store $drop=, simple_rand.seed($pop72), $8 + i64.store $drop=, simple_rand.seed($pop72), $2 call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/arith-rand.c.s b/test/torture-s/arith-rand.c.s index bccbcf39b..1b572f752 100644 --- a/test/torture-s/arith-rand.c.s +++ b/test/torture-s/arith-rand.c.s @@ -6,20 +6,18 @@ .type simple_rand,@function simple_rand: # @simple_rand .result i32 - .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push1=, 0 i32.const $push9=, 0 - i32.load $push1=, simple_rand.seed($pop9) - i32.const $push2=, 1103515245 - i32.mul $push3=, $pop1, $pop2 - i32.const $push4=, 12345 - i32.add $push8=, $pop3, $pop4 - tee_local $push7=, $0=, $pop8 - i32.store $drop=, simple_rand.seed($pop0), $pop7 - i32.const $push5=, 8 - i32.shr_u $push6=, $0, $pop5 - return $pop6 + i32.load $push2=, simple_rand.seed($pop9) + i32.const $push3=, 1103515245 + i32.mul $push4=, $pop2, $pop3 + i32.const $push5=, 12345 + i32.add $push6=, $pop4, $pop5 + i32.store $push0=, simple_rand.seed($pop1), $pop6 + i32.const $push7=, 8 + i32.shr_u $push8=, $pop0, $pop7 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size simple_rand, .Lfunc_end0-simple_rand @@ -32,52 +30,53 @@ random_bitstring: # @random_bitstring .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $0=, 0 + i32.const $2=, 0 i32.const $push7=, 0 - i32.load $3=, simple_rand.seed($pop7) - i32.const $1=, 0 + i32.load $1=, simple_rand.seed($pop7) + i32.const $3=, 0 .LBB1_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label0: i32.const $push15=, 1103515245 - i32.mul $push0=, $3, $pop15 + i32.mul $push0=, $1, $pop15 i32.const $push14=, 12345 i32.add $push13=, $pop0, $pop14 - tee_local $push12=, $3=, $pop13 + tee_local $push12=, $1=, $pop13 i32.const $push11=, 9 i32.shr_u $push1=, $pop12, $pop11 i32.const $push10=, 15 i32.and $push9=, $pop1, $pop10 - tee_local $push8=, $2=, $pop9 + tee_local $push8=, $0=, $pop9 i32.eqz $push20=, $pop8 br_if 1, $pop20 # 1: down to label1 # BB#2: # %if.else # in Loop: Header=BB1_1 Depth=1 - i32.add $1=, $2, $1 - i32.shl $0=, $0, $2 + i32.add $3=, $0, $3 + i32.shl $2=, $2, $0 block i32.const $push16=, 256 - i32.and $push2=, $3, $pop16 + i32.and $push2=, $1, $pop16 i32.eqz $push21=, $pop2 br_if 0, $pop21 # 0: down to label2 # BB#3: # %if.then1 # in Loop: Header=BB1_1 Depth=1 i32.const $push18=, 1 - i32.shl $push3=, $pop18, $2 + i32.shl $push3=, $pop18, $0 i32.const $push17=, -1 i32.add $push4=, $pop3, $pop17 - i32.or $0=, $pop4, $0 + i32.or $2=, $pop4, $2 .LBB1_4: # %if.end # in Loop: Header=BB1_1 Depth=1 end_block # label2: i32.const $push19=, 39 - i32.lt_u $push5=, $1, $pop19 + i32.lt_u $push5=, $3, $pop19 br_if 0, $pop5 # 0: up to label0 .LBB1_5: # %cleanup end_loop # label1: i32.const $push6=, 0 - i32.store $drop=, simple_rand.seed($pop6), $3 - return $0 + i32.store $drop=, simple_rand.seed($pop6), $1 + copy_local $push22=, $2 + # fallthrough-return: $pop22 .endfunc .Lfunc_end1: .size random_bitstring, .Lfunc_end1-random_bitstring @@ -91,7 +90,7 @@ main: # @main .local i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry i32.const $push58=, 0 - i32.load $5=, simple_rand.seed($pop58) + i32.load $2=, simple_rand.seed($pop58) i32.const $0=, 0 .LBB2_1: # %for.body # =>This Loop Header: Depth=1 @@ -101,253 +100,257 @@ main: # @main block block loop # label6: - i32.const $1=, 0 - i32.const $2=, 0 + i32.const $6=, 0 + i32.const $7=, 0 .LBB2_2: # %for.cond.i # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label8: i32.const $push66=, 1103515245 - i32.mul $push0=, $5, $pop66 + i32.mul $push0=, $2, $pop66 i32.const $push65=, 12345 i32.add $push64=, $pop0, $pop65 - tee_local $push63=, $5=, $pop64 + tee_local $push63=, $2=, $pop64 i32.const $push62=, 9 i32.shr_u $push1=, $pop63, $pop62 i32.const $push61=, 15 i32.and $push60=, $pop1, $pop61 - tee_local $push59=, $4=, $pop60 - i32.eqz $push138=, $pop59 - br_if 1, $pop138 # 1: down to label9 + tee_local $push59=, $1=, $pop60 + i32.eqz $push146=, $pop59 + br_if 1, $pop146 # 1: down to label9 # BB#3: # %if.else.i # in Loop: Header=BB2_2 Depth=2 - i32.add $2=, $4, $2 - i32.shl $1=, $1, $4 + i32.add $7=, $1, $7 + i32.shl $6=, $6, $1 block i32.const $push67=, 256 - i32.and $push2=, $5, $pop67 - i32.eqz $push139=, $pop2 - br_if 0, $pop139 # 0: down to label10 + i32.and $push2=, $2, $pop67 + i32.eqz $push147=, $pop2 + br_if 0, $pop147 # 0: down to label10 # BB#4: # %if.then1.i # in Loop: Header=BB2_2 Depth=2 i32.const $push69=, 1 - i32.shl $push3=, $pop69, $4 + i32.shl $push3=, $pop69, $1 i32.const $push68=, -1 i32.add $push4=, $pop3, $pop68 - i32.or $1=, $pop4, $1 + i32.or $6=, $pop4, $6 .LBB2_5: # %if.end.i # in Loop: Header=BB2_2 Depth=2 end_block # label10: i32.const $push70=, 39 - i32.lt_u $push5=, $2, $pop70 + i32.lt_u $push5=, $7, $pop70 br_if 0, $pop5 # 0: up to label8 .LBB2_6: # %random_bitstring.exit # in Loop: Header=BB2_1 Depth=1 end_loop # label9: - i32.const $2=, 0 - i32.const $3=, 0 + i32.const $7=, 0 + i32.const $8=, 0 .LBB2_7: # %for.cond.i339 # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label11: i32.const $push78=, 1103515245 - i32.mul $push6=, $5, $pop78 + i32.mul $push6=, $2, $pop78 i32.const $push77=, 12345 i32.add $push76=, $pop6, $pop77 - tee_local $push75=, $5=, $pop76 + tee_local $push75=, $2=, $pop76 i32.const $push74=, 9 i32.shr_u $push7=, $pop75, $pop74 i32.const $push73=, 15 i32.and $push72=, $pop7, $pop73 - tee_local $push71=, $4=, $pop72 - i32.eqz $push140=, $pop71 - br_if 1, $pop140 # 1: down to label12 + tee_local $push71=, $1=, $pop72 + i32.eqz $push148=, $pop71 + br_if 1, $pop148 # 1: down to label12 # BB#8: # %if.else.i343 # in Loop: Header=BB2_7 Depth=2 - i32.add $3=, $4, $3 - i32.shl $2=, $2, $4 + i32.add $8=, $1, $8 + i32.shl $7=, $7, $1 block i32.const $push79=, 256 - i32.and $push8=, $5, $pop79 - i32.eqz $push141=, $pop8 - br_if 0, $pop141 # 0: down to label13 + i32.and $push8=, $2, $pop79 + i32.eqz $push149=, $pop8 + br_if 0, $pop149 # 0: down to label13 # BB#9: # %if.then1.i347 # in Loop: Header=BB2_7 Depth=2 i32.const $push81=, 1 - i32.shl $push9=, $pop81, $4 + i32.shl $push9=, $pop81, $1 i32.const $push80=, -1 i32.add $push10=, $pop9, $pop80 - i32.or $2=, $pop10, $2 + i32.or $7=, $pop10, $7 .LBB2_10: # %if.end.i350 # in Loop: Header=BB2_7 Depth=2 end_block # label13: i32.const $push82=, 39 - i32.lt_u $push11=, $3, $pop82 + i32.lt_u $push11=, $8, $pop82 br_if 0, $pop11 # 0: up to label11 .LBB2_11: # %random_bitstring.exit352 # in Loop: Header=BB2_1 Depth=1 end_loop # label12: block - i32.eqz $push142=, $2 - br_if 0, $pop142 # 0: down to label14 + i32.eqz $push150=, $7 + br_if 0, $pop150 # 0: down to label14 # BB#12: # %cleanup.cont # in Loop: Header=BB2_1 Depth=1 block i32.const $push83=, 2147483647 - i32.and $push12=, $1, $pop83 + i32.and $push12=, $6, $pop83 br_if 0, $pop12 # 0: down to label15 # BB#13: # %cleanup.cont # in Loop: Header=BB2_1 Depth=1 i32.const $push84=, -1 - i32.eq $push13=, $2, $pop84 + i32.eq $push13=, $7, $pop84 br_if 1, $pop13 # 1: down to label14 .LBB2_14: # %if.end25 # in Loop: Header=BB2_1 Depth=1 end_block # label15: - i32.rem_s $4=, $1, $2 + i32.rem_s $push92=, $6, $7 + tee_local $push91=, $1=, $pop92 i32.const $push90=, 31 - i32.shr_s $push89=, $4, $pop90 - tee_local $push88=, $3=, $pop89 - i32.add $push16=, $4, $pop88 - i32.xor $push17=, $pop16, $3 + i32.shr_s $push89=, $1, $pop90 + tee_local $push88=, $1=, $pop89 + i32.add $push16=, $pop91, $pop88 + i32.xor $push17=, $pop16, $1 i32.const $push87=, 31 - i32.shr_s $push86=, $2, $pop87 - tee_local $push85=, $4=, $pop86 - i32.add $push14=, $2, $pop85 - i32.xor $push15=, $pop14, $4 + i32.shr_s $push86=, $7, $pop87 + tee_local $push85=, $1=, $pop86 + i32.add $push14=, $7, $pop85 + i32.xor $push15=, $pop14, $1 i32.ge_u $push18=, $pop17, $pop15 br_if 4, $pop18 # 4: down to label4 # BB#15: # %cleanup.cont47 # in Loop: Header=BB2_1 Depth=1 - i32.const $push91=, 65535 - i32.and $push20=, $2, $pop91 - i32.eqz $push143=, $pop20 - br_if 0, $pop143 # 0: down to label14 + i32.const $push93=, 65535 + i32.and $push20=, $7, $pop93 + i32.eqz $push151=, $pop20 + br_if 0, $pop151 # 0: down to label14 # BB#16: # %cleanup.cont86 # in Loop: Header=BB2_1 Depth=1 + i32.const $push114=, 16 + i32.shl $push21=, $6, $pop114 + i32.const $push113=, 16 + i32.shr_s $push112=, $pop21, $pop113 + tee_local $push111=, $3=, $pop112 i32.const $push110=, 16 - i32.shl $push21=, $1, $pop110 - i32.const $push109=, 16 - i32.shr_s $push108=, $pop21, $pop109 - tee_local $push107=, $8=, $pop108 - i32.const $push106=, 16 - i32.shl $push105=, $2, $pop106 - tee_local $push104=, $7=, $pop105 - i32.const $push103=, 16 - i32.shr_s $push102=, $pop104, $pop103 - tee_local $push101=, $4=, $pop102 - i32.rem_s $push22=, $pop107, $pop101 - i32.const $push100=, 16 - i32.shl $push99=, $pop22, $pop100 - tee_local $push98=, $6=, $pop99 - i32.const $push97=, 16 - i32.shr_s $3=, $pop98, $pop97 + i32.shl $push109=, $7, $pop110 + tee_local $push108=, $4=, $pop109 + i32.const $push107=, 16 + i32.shr_s $push106=, $pop108, $pop107 + tee_local $push105=, $1=, $pop106 + i32.rem_s $push22=, $pop111, $pop105 + i32.const $push104=, 16 + i32.shl $push103=, $pop22, $pop104 + tee_local $push102=, $5=, $pop103 + i32.const $push101=, 16 + i32.shr_s $push100=, $pop102, $pop101 + tee_local $push99=, $8=, $pop100 + i32.const $push98=, 0 + i32.sub $push24=, $pop98, $8 + i32.const $push97=, -65536 + i32.gt_s $push23=, $5, $pop97 + i32.select $push25=, $pop99, $pop24, $pop23 i32.const $push96=, 0 - i32.sub $push24=, $pop96, $3 + i32.sub $push27=, $pop96, $1 i32.const $push95=, -65536 - i32.gt_s $push23=, $6, $pop95 - i32.select $push25=, $3, $pop24, $pop23 - i32.const $push94=, 0 - i32.sub $push27=, $pop94, $4 - i32.const $push93=, -65536 - i32.gt_s $push26=, $7, $pop93 - i32.select $push28=, $4, $pop27, $pop26 - i32.const $push92=, 65535 - i32.and $push29=, $pop28, $pop92 + i32.gt_s $push26=, $4, $pop95 + i32.select $push28=, $1, $pop27, $pop26 + i32.const $push94=, 65535 + i32.and $push29=, $pop28, $pop94 i32.ge_s $push30=, $pop25, $pop29 br_if 3, $pop30 # 3: down to label5 # BB#17: # %lor.lhs.false125 # in Loop: Header=BB2_1 Depth=1 - i32.div_s $push31=, $8, $4 - i32.mul $push32=, $pop31, $4 - i32.add $push33=, $pop32, $3 - i32.const $push112=, 16 - i32.shl $push34=, $pop33, $pop112 - i32.const $push111=, 16 - i32.shr_s $push35=, $pop34, $pop111 - i32.ne $push36=, $pop35, $8 + i32.div_s $push31=, $3, $1 + i32.mul $push32=, $pop31, $1 + i32.add $push33=, $pop32, $8 + i32.const $push116=, 16 + i32.shl $push34=, $pop33, $pop116 + i32.const $push115=, 16 + i32.shr_s $push35=, $pop34, $pop115 + i32.ne $push36=, $pop35, $3 br_if 3, $pop36 # 3: down to label5 # BB#18: # %if.end137 # in Loop: Header=BB2_1 Depth=1 - i32.const $push113=, 255 - i32.and $push38=, $2, $pop113 - i32.eqz $push144=, $pop38 - br_if 0, $pop144 # 0: down to label14 + i32.const $push117=, 255 + i32.and $push38=, $7, $pop117 + i32.eqz $push152=, $pop38 + br_if 0, $pop152 # 0: down to label14 # BB#19: # %cleanup.cont177 # in Loop: Header=BB2_1 Depth=1 - i32.const $push132=, 24 - i32.shl $push39=, $1, $pop132 + i32.const $push138=, 24 + i32.shl $push39=, $6, $pop138 + i32.const $push137=, 24 + i32.shr_s $push136=, $pop39, $pop137 + tee_local $push135=, $6=, $pop136 + i32.const $push134=, 24 + i32.shl $push133=, $7, $pop134 + tee_local $push132=, $8=, $pop133 i32.const $push131=, 24 - i32.shr_s $push130=, $pop39, $pop131 + i32.shr_s $push130=, $pop132, $pop131 tee_local $push129=, $1=, $pop130 + i32.rem_s $push40=, $pop135, $pop129 i32.const $push128=, 24 - i32.shl $push127=, $2, $pop128 + i32.shl $push127=, $pop40, $pop128 tee_local $push126=, $3=, $pop127 i32.const $push125=, 24 i32.shr_s $push124=, $pop126, $pop125 - tee_local $push123=, $4=, $pop124 - i32.rem_s $push40=, $pop129, $pop123 - i32.const $push122=, 24 - i32.shl $push121=, $pop40, $pop122 - tee_local $push120=, $8=, $pop121 - i32.const $push119=, 24 - i32.shr_s $2=, $pop120, $pop119 - i32.const $push118=, 0 - i32.sub $push42=, $pop118, $2 - i32.const $push117=, -16777216 - i32.gt_s $push41=, $8, $pop117 - i32.select $push43=, $2, $pop42, $pop41 - i32.const $push116=, 0 - i32.sub $push45=, $pop116, $4 - i32.const $push115=, -16777216 - i32.gt_s $push44=, $3, $pop115 - i32.select $push46=, $4, $pop45, $pop44 - i32.const $push114=, 255 - i32.and $push47=, $pop46, $pop114 + tee_local $push123=, $7=, $pop124 + i32.const $push122=, 0 + i32.sub $push42=, $pop122, $7 + i32.const $push121=, -16777216 + i32.gt_s $push41=, $3, $pop121 + i32.select $push43=, $pop123, $pop42, $pop41 + i32.const $push120=, 0 + i32.sub $push45=, $pop120, $1 + i32.const $push119=, -16777216 + i32.gt_s $push44=, $8, $pop119 + i32.select $push46=, $1, $pop45, $pop44 + i32.const $push118=, 255 + i32.and $push47=, $pop46, $pop118 i32.ge_s $push48=, $pop43, $pop47 br_if 5, $pop48 # 5: down to label3 # BB#20: # %lor.lhs.false216 # in Loop: Header=BB2_1 Depth=1 - i32.div_s $push49=, $1, $4 - i32.mul $push50=, $pop49, $4 - i32.add $push51=, $pop50, $2 - i32.const $push134=, 24 - i32.shl $push52=, $pop51, $pop134 - i32.const $push133=, 24 - i32.shr_s $push53=, $pop52, $pop133 - i32.ne $push54=, $pop53, $1 + i32.div_s $push49=, $6, $1 + i32.mul $push50=, $pop49, $1 + i32.add $push51=, $pop50, $7 + i32.const $push140=, 24 + i32.shl $push52=, $pop51, $pop140 + i32.const $push139=, 24 + i32.shr_s $push53=, $pop52, $pop139 + i32.ne $push54=, $pop53, $6 br_if 5, $pop54 # 5: down to label3 .LBB2_21: # %cleanup229 # in Loop: Header=BB2_1 Depth=1 end_block # label14: - i32.const $push136=, 1 - i32.add $0=, $0, $pop136 - i32.const $push135=, 1000 - i32.lt_s $push56=, $0, $pop135 + i32.const $push144=, 1 + i32.add $push143=, $0, $pop144 + tee_local $push142=, $0=, $pop143 + i32.const $push141=, 1000 + i32.lt_s $push56=, $pop142, $pop141 br_if 0, $pop56 # 0: up to label6 # BB#22: # %for.end end_loop # label7: i32.const $push57=, 0 - i32.store $drop=, simple_rand.seed($pop57), $5 - i32.const $push137=, 0 - call exit@FUNCTION, $pop137 + i32.store $drop=, simple_rand.seed($pop57), $2 + i32.const $push145=, 0 + call exit@FUNCTION, $pop145 unreachable .LBB2_23: # %if.then136 end_block # label5: i32.const $push37=, 0 - i32.store $drop=, simple_rand.seed($pop37), $5 + i32.store $drop=, simple_rand.seed($pop37), $2 call abort@FUNCTION unreachable .LBB2_24: # %if.then40 end_block # label4: i32.const $push19=, 0 - i32.store $drop=, simple_rand.seed($pop19), $5 + i32.store $drop=, simple_rand.seed($pop19), $2 call abort@FUNCTION unreachable .LBB2_25: # %if.then227 end_block # label3: i32.const $push55=, 0 - i32.store $drop=, simple_rand.seed($pop55), $5 + i32.store $drop=, simple_rand.seed($pop55), $2 call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/ashldi-1.c.s b/test/torture-s/ashldi-1.c.s index c1d721487..1fe45f321 100644 --- a/test/torture-s/ashldi-1.c.s +++ b/test/torture-s/ashldi-1.c.s @@ -21,12 +21,13 @@ main: # @main br_if 2, $pop2 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB0_1 Depth=1 - i64.const $push9=, 1 - i64.add $0=, $0, $pop9 - i32.const $push8=, 8 - i32.add $2=, $2, $pop8 + i32.const $push11=, 8 + i32.add $2=, $2, $pop11 + i64.const $push10=, 1 + i64.add $push9=, $0, $pop10 + tee_local $push8=, $0=, $pop9 i64.const $push7=, 64 - i64.lt_s $push3=, $0, $pop7 + i64.lt_s $push3=, $pop8, $pop7 br_if 0, $pop3 # 0: up to label1 # BB#3: # %constant_shift.exit.preheader end_loop # label2: @@ -36,17 +37,18 @@ main: # @main # =>This Inner Loop Header: Depth=1 block loop # label4: - i32.const $push10=, 1 - i32.eqz $push14=, $pop10 - br_if 2, $pop14 # 2: down to label3 + i32.const $push12=, 1 + i32.eqz $push18=, $pop12 + br_if 2, $pop18 # 2: down to label3 # BB#5: # %for.cond2 # in Loop: Header=BB0_4 Depth=1 - i32.const $push13=, 1 - i32.add $2=, $2, $pop13 - i32.const $push12=, 8 - i32.add $1=, $1, $pop12 - i32.const $push11=, 63 - i32.le_s $push4=, $2, $pop11 + i32.const $push17=, 8 + i32.add $1=, $1, $pop17 + i32.const $push16=, 1 + i32.add $push15=, $2, $pop16 + tee_local $push14=, $2=, $pop15 + i32.const $push13=, 63 + i32.le_s $push4=, $pop14, $pop13 br_if 0, $pop4 # 0: up to label4 # BB#6: # %for.end13 end_loop # label5: diff --git a/test/torture-s/ashrdi-1.c.s b/test/torture-s/ashrdi-1.c.s index 10101aee1..1239d1327 100644 --- a/test/torture-s/ashrdi-1.c.s +++ b/test/torture-s/ashrdi-1.c.s @@ -22,12 +22,13 @@ main: # @main br_if 2, $pop2 # 2: down to label1 # BB#2: # %for.cond # in Loop: Header=BB0_1 Depth=1 - i64.const $push20=, 1 - i64.add $0=, $0, $pop20 - i32.const $push19=, 8 - i32.add $2=, $2, $pop19 + i32.const $push22=, 8 + i32.add $2=, $2, $pop22 + i64.const $push21=, 1 + i64.add $push20=, $0, $pop21 + tee_local $push19=, $0=, $pop20 i64.const $push18=, 64 - i64.lt_s $push3=, $0, $pop18 + i64.lt_s $push3=, $pop19, $pop18 br_if 0, $pop3 # 0: up to label2 # BB#3: # %for.body4.preheader end_loop # label3: @@ -36,19 +37,20 @@ main: # @main .LBB0_4: # %for.body4 # =>This Inner Loop Header: Depth=1 loop # label4: - i64.const $push21=, -8152436031399644656 - i64.shr_s $push4=, $pop21, $0 + i64.const $push23=, -8152436031399644656 + i64.shr_s $push4=, $pop23, $0 i64.load $push5=, 0($2) i64.ne $push6=, $pop4, $pop5 br_if 2, $pop6 # 2: down to label1 # BB#5: # %for.cond2 # in Loop: Header=BB0_4 Depth=1 - i64.const $push24=, 1 - i64.add $0=, $0, $pop24 - i32.const $push23=, 8 - i32.add $2=, $2, $pop23 - i64.const $push22=, 64 - i64.lt_s $push7=, $0, $pop22 + i32.const $push28=, 8 + i32.add $2=, $2, $pop28 + i64.const $push27=, 1 + i64.add $push26=, $0, $pop27 + tee_local $push25=, $0=, $pop26 + i64.const $push24=, 64 + i64.lt_s $push7=, $pop25, $pop24 br_if 0, $pop7 # 0: up to label4 # BB#6: # %for.body16.preheader end_loop # label5: @@ -57,19 +59,20 @@ main: # @main .LBB0_7: # %for.body16 # =>This Inner Loop Header: Depth=1 loop # label6: - i64.const $push25=, 8526495107234113920 - i64.call $push8=, constant_shift@FUNCTION, $pop25, $2 + i64.const $push29=, 8526495107234113920 + i64.call $push8=, constant_shift@FUNCTION, $pop29, $2 i64.load $push9=, 0($1) i64.ne $push10=, $pop8, $pop9 br_if 3, $pop10 # 3: down to label0 # BB#8: # %for.cond14 # in Loop: Header=BB0_7 Depth=1 - i32.const $push28=, 1 - i32.add $2=, $2, $pop28 - i32.const $push27=, 8 - i32.add $1=, $1, $pop27 - i32.const $push26=, 64 - i32.lt_s $push11=, $2, $pop26 + i32.const $push34=, 8 + i32.add $1=, $1, $pop34 + i32.const $push33=, 1 + i32.add $push32=, $2, $pop33 + tee_local $push31=, $2=, $pop32 + i32.const $push30=, 64 + i32.lt_s $push11=, $pop31, $pop30 br_if 0, $pop11 # 0: up to label6 # BB#9: # %for.body28.preheader end_loop # label7: @@ -79,19 +82,20 @@ main: # @main # =>This Inner Loop Header: Depth=1 block loop # label9: - i64.const $push29=, -8152436031399644656 - i64.call $push12=, constant_shift@FUNCTION, $pop29, $2 + i64.const $push35=, -8152436031399644656 + i64.call $push12=, constant_shift@FUNCTION, $pop35, $2 i64.load $push13=, 0($1) i64.ne $push14=, $pop12, $pop13 br_if 2, $pop14 # 2: down to label8 # BB#11: # %for.cond26 # in Loop: Header=BB0_10 Depth=1 - i32.const $push32=, 1 - i32.add $2=, $2, $pop32 - i32.const $push31=, 8 - i32.add $1=, $1, $pop31 - i32.const $push30=, 63 - i32.le_s $push15=, $2, $pop30 + i32.const $push40=, 8 + i32.add $1=, $1, $pop40 + i32.const $push39=, 1 + i32.add $push38=, $2, $pop39 + tee_local $push37=, $2=, $pop38 + i32.const $push36=, 63 + i32.le_s $push15=, $pop37, $pop36 br_if 0, $pop15 # 0: up to label9 # BB#12: # %for.end37 end_loop # label10: @@ -263,313 +267,313 @@ constant_shift: # @constant_shift .LBB1_4: # %sw.bb3 end_block # label73: i64.const $push63=, 2 - i64.shr_s $0=, $0, $pop63 - return $0 + i64.shr_s $push65=, $0, $pop63 + return $pop65 .LBB1_5: # %sw.bb5 end_block # label72: i64.const $push62=, 3 - i64.shr_s $0=, $0, $pop62 - return $0 + i64.shr_s $push66=, $0, $pop62 + return $pop66 .LBB1_6: # %sw.bb7 end_block # label71: i64.const $push61=, 4 - i64.shr_s $0=, $0, $pop61 - return $0 + i64.shr_s $push67=, $0, $pop61 + return $pop67 .LBB1_7: # %sw.bb9 end_block # label70: i64.const $push60=, 5 - i64.shr_s $0=, $0, $pop60 - return $0 + i64.shr_s $push68=, $0, $pop60 + return $pop68 .LBB1_8: # %sw.bb11 end_block # label69: i64.const $push59=, 6 - i64.shr_s $0=, $0, $pop59 - return $0 + i64.shr_s $push69=, $0, $pop59 + return $pop69 .LBB1_9: # %sw.bb13 end_block # label68: i64.const $push58=, 7 - i64.shr_s $0=, $0, $pop58 - return $0 + i64.shr_s $push70=, $0, $pop58 + return $pop70 .LBB1_10: # %sw.bb15 end_block # label67: i64.const $push57=, 8 - i64.shr_s $0=, $0, $pop57 - return $0 + i64.shr_s $push71=, $0, $pop57 + return $pop71 .LBB1_11: # %sw.bb17 end_block # label66: i64.const $push56=, 9 - i64.shr_s $0=, $0, $pop56 - return $0 + i64.shr_s $push72=, $0, $pop56 + return $pop72 .LBB1_12: # %sw.bb19 end_block # label65: i64.const $push55=, 10 - i64.shr_s $0=, $0, $pop55 - return $0 + i64.shr_s $push73=, $0, $pop55 + return $pop73 .LBB1_13: # %sw.bb21 end_block # label64: i64.const $push54=, 11 - i64.shr_s $0=, $0, $pop54 - return $0 + i64.shr_s $push74=, $0, $pop54 + return $pop74 .LBB1_14: # %sw.bb23 end_block # label63: i64.const $push53=, 12 - i64.shr_s $0=, $0, $pop53 - return $0 + i64.shr_s $push75=, $0, $pop53 + return $pop75 .LBB1_15: # %sw.bb25 end_block # label62: i64.const $push52=, 13 - i64.shr_s $0=, $0, $pop52 - return $0 + i64.shr_s $push76=, $0, $pop52 + return $pop76 .LBB1_16: # %sw.bb27 end_block # label61: i64.const $push51=, 14 - i64.shr_s $0=, $0, $pop51 - return $0 + i64.shr_s $push77=, $0, $pop51 + return $pop77 .LBB1_17: # %sw.bb29 end_block # label60: i64.const $push50=, 15 - i64.shr_s $0=, $0, $pop50 - return $0 + i64.shr_s $push78=, $0, $pop50 + return $pop78 .LBB1_18: # %sw.bb31 end_block # label59: i64.const $push49=, 16 - i64.shr_s $0=, $0, $pop49 - return $0 + i64.shr_s $push79=, $0, $pop49 + return $pop79 .LBB1_19: # %sw.bb33 end_block # label58: i64.const $push48=, 17 - i64.shr_s $0=, $0, $pop48 - return $0 + i64.shr_s $push80=, $0, $pop48 + return $pop80 .LBB1_20: # %sw.bb35 end_block # label57: i64.const $push47=, 18 - i64.shr_s $0=, $0, $pop47 - return $0 + i64.shr_s $push81=, $0, $pop47 + return $pop81 .LBB1_21: # %sw.bb37 end_block # label56: i64.const $push46=, 19 - i64.shr_s $0=, $0, $pop46 - return $0 + i64.shr_s $push82=, $0, $pop46 + return $pop82 .LBB1_22: # %sw.bb39 end_block # label55: i64.const $push45=, 20 - i64.shr_s $0=, $0, $pop45 - return $0 + i64.shr_s $push83=, $0, $pop45 + return $pop83 .LBB1_23: # %sw.bb41 end_block # label54: i64.const $push44=, 21 - i64.shr_s $0=, $0, $pop44 - return $0 + i64.shr_s $push84=, $0, $pop44 + return $pop84 .LBB1_24: # %sw.bb43 end_block # label53: i64.const $push43=, 22 - i64.shr_s $0=, $0, $pop43 - return $0 + i64.shr_s $push85=, $0, $pop43 + return $pop85 .LBB1_25: # %sw.bb45 end_block # label52: i64.const $push42=, 23 - i64.shr_s $0=, $0, $pop42 - return $0 + i64.shr_s $push86=, $0, $pop42 + return $pop86 .LBB1_26: # %sw.bb47 end_block # label51: i64.const $push41=, 24 - i64.shr_s $0=, $0, $pop41 - return $0 + i64.shr_s $push87=, $0, $pop41 + return $pop87 .LBB1_27: # %sw.bb49 end_block # label50: i64.const $push40=, 25 - i64.shr_s $0=, $0, $pop40 - return $0 + i64.shr_s $push88=, $0, $pop40 + return $pop88 .LBB1_28: # %sw.bb51 end_block # label49: i64.const $push39=, 26 - i64.shr_s $0=, $0, $pop39 - return $0 + i64.shr_s $push89=, $0, $pop39 + return $pop89 .LBB1_29: # %sw.bb53 end_block # label48: i64.const $push38=, 27 - i64.shr_s $0=, $0, $pop38 - return $0 + i64.shr_s $push90=, $0, $pop38 + return $pop90 .LBB1_30: # %sw.bb55 end_block # label47: i64.const $push37=, 28 - i64.shr_s $0=, $0, $pop37 - return $0 + i64.shr_s $push91=, $0, $pop37 + return $pop91 .LBB1_31: # %sw.bb57 end_block # label46: i64.const $push36=, 29 - i64.shr_s $0=, $0, $pop36 - return $0 + i64.shr_s $push92=, $0, $pop36 + return $pop92 .LBB1_32: # %sw.bb59 end_block # label45: i64.const $push35=, 30 - i64.shr_s $0=, $0, $pop35 - return $0 + i64.shr_s $push93=, $0, $pop35 + return $pop93 .LBB1_33: # %sw.bb61 end_block # label44: i64.const $push34=, 31 - i64.shr_s $0=, $0, $pop34 - return $0 + i64.shr_s $push94=, $0, $pop34 + return $pop94 .LBB1_34: # %sw.bb63 end_block # label43: i64.const $push33=, 32 - i64.shr_s $0=, $0, $pop33 - return $0 + i64.shr_s $push95=, $0, $pop33 + return $pop95 .LBB1_35: # %sw.bb65 end_block # label42: i64.const $push32=, 33 - i64.shr_s $0=, $0, $pop32 - return $0 + i64.shr_s $push96=, $0, $pop32 + return $pop96 .LBB1_36: # %sw.bb67 end_block # label41: i64.const $push31=, 34 - i64.shr_s $0=, $0, $pop31 - return $0 + i64.shr_s $push97=, $0, $pop31 + return $pop97 .LBB1_37: # %sw.bb69 end_block # label40: i64.const $push30=, 35 - i64.shr_s $0=, $0, $pop30 - return $0 + i64.shr_s $push98=, $0, $pop30 + return $pop98 .LBB1_38: # %sw.bb71 end_block # label39: i64.const $push29=, 36 - i64.shr_s $0=, $0, $pop29 - return $0 + i64.shr_s $push99=, $0, $pop29 + return $pop99 .LBB1_39: # %sw.bb73 end_block # label38: i64.const $push28=, 37 - i64.shr_s $0=, $0, $pop28 - return $0 + i64.shr_s $push100=, $0, $pop28 + return $pop100 .LBB1_40: # %sw.bb75 end_block # label37: i64.const $push27=, 38 - i64.shr_s $0=, $0, $pop27 - return $0 + i64.shr_s $push101=, $0, $pop27 + return $pop101 .LBB1_41: # %sw.bb77 end_block # label36: i64.const $push26=, 39 - i64.shr_s $0=, $0, $pop26 - return $0 + i64.shr_s $push102=, $0, $pop26 + return $pop102 .LBB1_42: # %sw.bb79 end_block # label35: i64.const $push25=, 40 - i64.shr_s $0=, $0, $pop25 - return $0 + i64.shr_s $push103=, $0, $pop25 + return $pop103 .LBB1_43: # %sw.bb81 end_block # label34: i64.const $push24=, 41 - i64.shr_s $0=, $0, $pop24 - return $0 + i64.shr_s $push104=, $0, $pop24 + return $pop104 .LBB1_44: # %sw.bb83 end_block # label33: i64.const $push23=, 42 - i64.shr_s $0=, $0, $pop23 - return $0 + i64.shr_s $push105=, $0, $pop23 + return $pop105 .LBB1_45: # %sw.bb85 end_block # label32: i64.const $push22=, 43 - i64.shr_s $0=, $0, $pop22 - return $0 + i64.shr_s $push106=, $0, $pop22 + return $pop106 .LBB1_46: # %sw.bb87 end_block # label31: i64.const $push21=, 44 - i64.shr_s $0=, $0, $pop21 - return $0 + i64.shr_s $push107=, $0, $pop21 + return $pop107 .LBB1_47: # %sw.bb89 end_block # label30: i64.const $push20=, 45 - i64.shr_s $0=, $0, $pop20 - return $0 + i64.shr_s $push108=, $0, $pop20 + return $pop108 .LBB1_48: # %sw.bb91 end_block # label29: i64.const $push19=, 46 - i64.shr_s $0=, $0, $pop19 - return $0 + i64.shr_s $push109=, $0, $pop19 + return $pop109 .LBB1_49: # %sw.bb93 end_block # label28: i64.const $push18=, 47 - i64.shr_s $0=, $0, $pop18 - return $0 + i64.shr_s $push110=, $0, $pop18 + return $pop110 .LBB1_50: # %sw.bb95 end_block # label27: i64.const $push17=, 48 - i64.shr_s $0=, $0, $pop17 - return $0 + i64.shr_s $push111=, $0, $pop17 + return $pop111 .LBB1_51: # %sw.bb97 end_block # label26: i64.const $push16=, 49 - i64.shr_s $0=, $0, $pop16 - return $0 + i64.shr_s $push112=, $0, $pop16 + return $pop112 .LBB1_52: # %sw.bb99 end_block # label25: i64.const $push15=, 50 - i64.shr_s $0=, $0, $pop15 - return $0 + i64.shr_s $push113=, $0, $pop15 + return $pop113 .LBB1_53: # %sw.bb101 end_block # label24: i64.const $push14=, 51 - i64.shr_s $0=, $0, $pop14 - return $0 + i64.shr_s $push114=, $0, $pop14 + return $pop114 .LBB1_54: # %sw.bb103 end_block # label23: i64.const $push13=, 52 - i64.shr_s $0=, $0, $pop13 - return $0 + i64.shr_s $push115=, $0, $pop13 + return $pop115 .LBB1_55: # %sw.bb105 end_block # label22: i64.const $push12=, 53 - i64.shr_s $0=, $0, $pop12 - return $0 + i64.shr_s $push116=, $0, $pop12 + return $pop116 .LBB1_56: # %sw.bb107 end_block # label21: i64.const $push11=, 54 - i64.shr_s $0=, $0, $pop11 - return $0 + i64.shr_s $push117=, $0, $pop11 + return $pop117 .LBB1_57: # %sw.bb109 end_block # label20: i64.const $push10=, 55 - i64.shr_s $0=, $0, $pop10 - return $0 + i64.shr_s $push118=, $0, $pop10 + return $pop118 .LBB1_58: # %sw.bb111 end_block # label19: i64.const $push9=, 56 - i64.shr_s $0=, $0, $pop9 - return $0 + i64.shr_s $push119=, $0, $pop9 + return $pop119 .LBB1_59: # %sw.bb113 end_block # label18: i64.const $push8=, 57 - i64.shr_s $0=, $0, $pop8 - return $0 + i64.shr_s $push120=, $0, $pop8 + return $pop120 .LBB1_60: # %sw.bb115 end_block # label17: i64.const $push7=, 58 - i64.shr_s $0=, $0, $pop7 - return $0 + i64.shr_s $push121=, $0, $pop7 + return $pop121 .LBB1_61: # %sw.bb117 end_block # label16: i64.const $push6=, 59 - i64.shr_s $0=, $0, $pop6 - return $0 + i64.shr_s $push122=, $0, $pop6 + return $pop122 .LBB1_62: # %sw.bb119 end_block # label15: i64.const $push5=, 60 - i64.shr_s $0=, $0, $pop5 - return $0 + i64.shr_s $push123=, $0, $pop5 + return $pop123 .LBB1_63: # %sw.bb121 end_block # label14: i64.const $push4=, 61 - i64.shr_s $0=, $0, $pop4 - return $0 + i64.shr_s $push124=, $0, $pop4 + return $pop124 .LBB1_64: # %sw.bb123 end_block # label13: i64.const $push3=, 62 - i64.shr_s $0=, $0, $pop3 - return $0 + i64.shr_s $push125=, $0, $pop3 + return $pop125 .LBB1_65: # %sw.bb125 end_block # label12: i64.const $push2=, 63 - i64.shr_s $0=, $0, $pop2 - return $0 + i64.shr_s $push126=, $0, $pop2 + return $pop126 .LBB1_66: # %sw.default end_block # label11: call abort@FUNCTION diff --git a/test/torture-s/bcp-1.c.s b/test/torture-s/bcp-1.c.s index 8b0ad147e..6e25bfd36 100644 --- a/test/torture-s/bcp-1.c.s +++ b/test/torture-s/bcp-1.c.s @@ -8,7 +8,7 @@ bad0: # @bad0 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size bad0, .Lfunc_end0-bad0 @@ -21,7 +21,7 @@ bad1: # @bad1 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bad1, .Lfunc_end1-bad1 @@ -35,7 +35,7 @@ bad2: # @bad2 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size bad2, .Lfunc_end2-bad2 @@ -49,7 +49,7 @@ bad3: # @bad3 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size bad3, .Lfunc_end3-bad3 @@ -63,7 +63,7 @@ bad4: # @bad4 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size bad4, .Lfunc_end4-bad4 @@ -76,7 +76,7 @@ bad5: # @bad5 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size bad5, .Lfunc_end5-bad5 @@ -90,7 +90,7 @@ bad6: # @bad6 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size bad6, .Lfunc_end6-bad6 @@ -103,7 +103,7 @@ bad7: # @bad7 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end7: .size bad7, .Lfunc_end7-bad7 @@ -116,7 +116,7 @@ bad8: # @bad8 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size bad8, .Lfunc_end8-bad8 @@ -130,7 +130,7 @@ bad9: # @bad9 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end9: .size bad9, .Lfunc_end9-bad9 @@ -143,7 +143,7 @@ bad10: # @bad10 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end10: .size bad10, .Lfunc_end10-bad10 @@ -156,7 +156,7 @@ good0: # @good0 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end11: .size good0, .Lfunc_end11-good0 @@ -169,7 +169,7 @@ good1: # @good1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end12: .size good1, .Lfunc_end12-good1 @@ -182,7 +182,7 @@ good2: # @good2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end13: .size good2, .Lfunc_end13-good2 @@ -195,7 +195,7 @@ opt0: # @opt0 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end14: .size opt0, .Lfunc_end14-opt0 @@ -208,7 +208,7 @@ opt1: # @opt1 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end15: .size opt1, .Lfunc_end15-opt1 @@ -221,7 +221,7 @@ opt2: # @opt2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end16: .size opt2, .Lfunc_end16-opt2 diff --git a/test/torture-s/bf-pack-1.c.s b/test/torture-s/bf-pack-1.c.s index 6480ac15f..28f8b8a37 100644 --- a/test/torture-s/bf-pack-1.c.s +++ b/test/torture-s/bf-pack-1.c.s @@ -41,12 +41,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push10=, 0($pop5), $pop8 + i32.store $push10=, __stack_pointer($pop5), $pop8 tee_local $push9=, $0=, $pop10 i64.const $push0=, 95075992080948 i64.store $drop=, 8($pop9), $pop0 diff --git a/test/torture-s/bf64-1.c.s b/test/torture-s/bf64-1.c.s index 76d4bc8f0..5e09e133f 100644 --- a/test/torture-s/bf64-1.c.s +++ b/test/torture-s/bf64-1.c.s @@ -11,7 +11,7 @@ sub: # @sub i64.const $push1=, -8690468286197432320 i64.or $push2=, $pop0, $pop1 i64.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end0: .size sub, .Lfunc_end0-sub @@ -27,7 +27,7 @@ sub2: # @sub2 i64.const $push1=, 2381903268435576 i64.or $push2=, $pop0, $pop1 i64.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size sub2, .Lfunc_end1-sub2 diff --git a/test/torture-s/bitfld-1.c.s b/test/torture-s/bitfld-1.c.s index f73566199..c19e3b30b 100644 --- a/test/torture-s/bitfld-1.c.s +++ b/test/torture-s/bitfld-1.c.s @@ -9,7 +9,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/bitfld-5.c.s b/test/torture-s/bitfld-5.c.s index cb97cd0ce..27cfdb99c 100644 --- a/test/torture-s/bitfld-5.c.s +++ b/test/torture-s/bitfld-5.c.s @@ -37,7 +37,7 @@ f: # @f i64.const $push3=, 1099511627775 i64.and $push4=, $pop2, $pop3 call g@FUNCTION, $pop4, $1 - return + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -50,12 +50,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push14=, $pop6, $pop7 - i32.store $push18=, 0($pop8), $pop14 + i32.store $push18=, __stack_pointer($pop8), $pop14 tee_local $push17=, $0=, $pop18 i32.const $push0=, 0 i64.load $push1=, .Lmain.s($pop0) @@ -69,12 +69,12 @@ main: # @main i64.store $drop=, 0($0), $pop3 i64.const $push4=, 1099511627778 call f@FUNCTION, $0, $pop4 - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $0, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 i32.const $push15=, 0 - return $pop15 + # fallthrough-return: $pop15 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/bitfld-6.c.s b/test/torture-s/bitfld-6.c.s index dda578d6d..998a7539e 100644 --- a/test/torture-s/bitfld-6.c.s +++ b/test/torture-s/bitfld-6.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/bswap-1.c.s b/test/torture-s/bswap-1.c.s index 19f476fc8..2479ce849 100644 --- a/test/torture-s/bswap-1.c.s +++ b/test/torture-s/bswap-1.c.s @@ -43,7 +43,7 @@ g: # @g i64.or $push6=, $pop5, $pop1 i64.or $push16=, $pop15, $pop6 i64.or $push30=, $pop29, $pop16 - return $pop30 + # fallthrough-return: $pop30 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -91,7 +91,7 @@ f: # @f i64.or $push6=, $pop5, $pop1 i64.or $push16=, $pop15, $pop6 i64.or $push30=, $pop29, $pop16 - return $pop30 + # fallthrough-return: $pop30 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/builtin-bitops-1.c.s b/test/torture-s/builtin-bitops-1.c.s index 4760c0294..708cc2e9b 100644 --- a/test/torture-s/builtin-bitops-1.c.s +++ b/test/torture-s/builtin-bitops-1.c.s @@ -11,8 +11,8 @@ my_ffs: # @my_ffs # BB#0: # %entry i32.const $1=, 0 block - i32.eqz $push7=, $0 - br_if 0, $pop7 # 0: down to label0 + i32.eqz $push9=, $0 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $1=, 0 .LBB0_2: # %for.body @@ -24,10 +24,11 @@ my_ffs: # @my_ffs br_if 1, $pop1 # 1: down to label2 # BB#3: # %for.inc # in Loop: Header=BB0_2 Depth=1 - i32.const $push6=, 1 - i32.add $1=, $1, $pop6 + i32.const $push8=, 1 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 i32.const $push5=, 32 - i32.lt_u $push2=, $1, $pop5 + i32.lt_u $push2=, $pop6, $pop5 br_if 0, $pop2 # 0: up to label1 .LBB0_4: # %for.end end_loop # label2: @@ -35,7 +36,8 @@ my_ffs: # @my_ffs i32.add $1=, $1, $pop3 .LBB0_5: # %cleanup end_block # label0: - return $1 + copy_local $push10=, $1 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size my_ffs, .Lfunc_end0-my_ffs @@ -59,14 +61,16 @@ my_ctz: # @my_ctz br_if 1, $pop1 # 1: down to label4 # BB#2: # %for.inc # in Loop: Header=BB1_1 Depth=1 - i32.const $push5=, 1 - i32.add $1=, $1, $pop5 + i32.const $push7=, 1 + i32.add $push6=, $1, $pop7 + tee_local $push5=, $1=, $pop6 i32.const $push4=, 32 - i32.lt_u $push2=, $1, $pop4 + i32.lt_u $push2=, $pop5, $pop4 br_if 0, $pop2 # 0: up to label3 .LBB1_3: # %for.end end_loop # label4: - return $1 + copy_local $push8=, $1 + # fallthrough-return: $pop8 .endfunc .Lfunc_end1: .size my_ctz, .Lfunc_end1-my_ctz @@ -91,16 +95,18 @@ my_clz: # @my_clz br_if 1, $pop1 # 1: down to label6 # BB#2: # %for.inc # in Loop: Header=BB2_1 Depth=1 - i32.const $push6=, 1 - i32.add $2=, $2, $pop6 - i32.const $push5=, -1 - i32.add $1=, $1, $pop5 + i32.const $push8=, -1 + i32.add $1=, $1, $pop8 + i32.const $push7=, 1 + i32.add $push6=, $2, $pop7 + tee_local $push5=, $2=, $pop6 i32.const $push4=, 32 - i32.lt_u $push2=, $2, $pop4 + i32.lt_u $push2=, $pop5, $pop4 br_if 0, $pop2 # 0: up to label5 .LBB2_3: # %for.end end_loop # label6: - return $2 + copy_local $push9=, $2 + # fallthrough-return: $pop9 .endfunc .Lfunc_end2: .size my_clz, .Lfunc_end2-my_clz @@ -128,18 +134,19 @@ my_clrsb: # @my_clrsb br_if 1, $pop3 # 1: down to label8 # BB#2: # %for.inc # in Loop: Header=BB3_1 Depth=1 - i32.const $push10=, 1 - i32.add $3=, $3, $pop10 - i32.const $push9=, -1 - i32.add $2=, $2, $pop9 + i32.const $push12=, -1 + i32.add $2=, $2, $pop12 + i32.const $push11=, 1 + i32.add $push10=, $3, $pop11 + tee_local $push9=, $3=, $pop10 i32.const $push8=, 32 - i32.lt_u $push4=, $3, $pop8 + i32.lt_u $push4=, $pop9, $pop8 br_if 0, $pop4 # 0: up to label7 .LBB3_3: # %for.end end_loop # label8: i32.const $push5=, -1 i32.add $push6=, $3, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end3: .size my_clrsb, .Lfunc_end3-my_clrsb @@ -158,20 +165,22 @@ my_popcount: # @my_popcount .LBB4_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label9: - i32.const $push7=, 1 - i32.shl $push0=, $pop7, $2 + i32.const $push9=, 1 + i32.shl $push0=, $pop9, $2 i32.and $push1=, $pop0, $0 - i32.const $push6=, 0 - i32.ne $push2=, $pop1, $pop6 + i32.const $push8=, 0 + i32.ne $push2=, $pop1, $pop8 i32.add $1=, $pop2, $1 - i32.const $push5=, 1 - i32.add $2=, $2, $pop5 + i32.const $push7=, 1 + i32.add $push6=, $2, $pop7 + tee_local $push5=, $2=, $pop6 i32.const $push4=, 32 - i32.ne $push3=, $2, $pop4 + i32.ne $push3=, $pop5, $pop4 br_if 0, $pop3 # 0: up to label9 # BB#2: # %for.end end_loop # label10: - return $1 + copy_local $push10=, $1 + # fallthrough-return: $pop10 .endfunc .Lfunc_end4: .size my_popcount, .Lfunc_end4-my_popcount @@ -190,22 +199,23 @@ my_parity: # @my_parity .LBB5_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label11: - i32.const $push9=, 1 - i32.shl $push0=, $pop9, $2 + i32.const $push11=, 1 + i32.shl $push0=, $pop11, $2 i32.and $push1=, $pop0, $0 - i32.const $push8=, 0 - i32.ne $push2=, $pop1, $pop8 + i32.const $push10=, 0 + i32.ne $push2=, $pop1, $pop10 i32.add $1=, $pop2, $1 - i32.const $push7=, 1 - i32.add $2=, $2, $pop7 + i32.const $push9=, 1 + i32.add $push8=, $2, $pop9 + tee_local $push7=, $2=, $pop8 i32.const $push6=, 32 - i32.ne $push3=, $2, $pop6 + i32.ne $push3=, $pop7, $pop6 br_if 0, $pop3 # 0: up to label11 # BB#2: # %for.end end_loop # label12: i32.const $push4=, 1 i32.and $push5=, $1, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end5: .size my_parity, .Lfunc_end5-my_parity @@ -221,8 +231,8 @@ my_ffsl: # @my_ffsl # BB#0: # %entry i32.const $1=, 0 block - i32.eqz $push7=, $0 - br_if 0, $pop7 # 0: down to label13 + i32.eqz $push9=, $0 + br_if 0, $pop9 # 0: down to label13 # BB#1: # %for.body.preheader i32.const $1=, 0 .LBB6_2: # %for.body @@ -234,10 +244,11 @@ my_ffsl: # @my_ffsl br_if 1, $pop1 # 1: down to label15 # BB#3: # %for.inc # in Loop: Header=BB6_2 Depth=1 - i32.const $push6=, 1 - i32.add $1=, $1, $pop6 + i32.const $push8=, 1 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 i32.const $push5=, 32 - i32.lt_u $push2=, $1, $pop5 + i32.lt_u $push2=, $pop6, $pop5 br_if 0, $pop2 # 0: up to label14 .LBB6_4: # %for.end end_loop # label15: @@ -245,7 +256,8 @@ my_ffsl: # @my_ffsl i32.add $1=, $1, $pop3 .LBB6_5: # %cleanup end_block # label13: - return $1 + copy_local $push10=, $1 + # fallthrough-return: $pop10 .endfunc .Lfunc_end6: .size my_ffsl, .Lfunc_end6-my_ffsl @@ -269,14 +281,16 @@ my_ctzl: # @my_ctzl br_if 1, $pop1 # 1: down to label17 # BB#2: # %for.inc # in Loop: Header=BB7_1 Depth=1 - i32.const $push5=, 1 - i32.add $1=, $1, $pop5 + i32.const $push7=, 1 + i32.add $push6=, $1, $pop7 + tee_local $push5=, $1=, $pop6 i32.const $push4=, 32 - i32.lt_u $push2=, $1, $pop4 + i32.lt_u $push2=, $pop5, $pop4 br_if 0, $pop2 # 0: up to label16 .LBB7_3: # %for.end end_loop # label17: - return $1 + copy_local $push8=, $1 + # fallthrough-return: $pop8 .endfunc .Lfunc_end7: .size my_ctzl, .Lfunc_end7-my_ctzl @@ -301,16 +315,18 @@ my_clzl: # @my_clzl br_if 1, $pop1 # 1: down to label19 # BB#2: # %for.inc # in Loop: Header=BB8_1 Depth=1 - i32.const $push6=, 1 - i32.add $2=, $2, $pop6 - i32.const $push5=, -1 - i32.add $1=, $1, $pop5 + i32.const $push8=, -1 + i32.add $1=, $1, $pop8 + i32.const $push7=, 1 + i32.add $push6=, $2, $pop7 + tee_local $push5=, $2=, $pop6 i32.const $push4=, 32 - i32.lt_u $push2=, $2, $pop4 + i32.lt_u $push2=, $pop5, $pop4 br_if 0, $pop2 # 0: up to label18 .LBB8_3: # %for.end end_loop # label19: - return $2 + copy_local $push9=, $2 + # fallthrough-return: $pop9 .endfunc .Lfunc_end8: .size my_clzl, .Lfunc_end8-my_clzl @@ -338,18 +354,19 @@ my_clrsbl: # @my_clrsbl br_if 1, $pop3 # 1: down to label21 # BB#2: # %for.inc # in Loop: Header=BB9_1 Depth=1 - i32.const $push10=, 1 - i32.add $3=, $3, $pop10 - i32.const $push9=, -1 - i32.add $2=, $2, $pop9 + i32.const $push12=, -1 + i32.add $2=, $2, $pop12 + i32.const $push11=, 1 + i32.add $push10=, $3, $pop11 + tee_local $push9=, $3=, $pop10 i32.const $push8=, 32 - i32.lt_u $push4=, $3, $pop8 + i32.lt_u $push4=, $pop9, $pop8 br_if 0, $pop4 # 0: up to label20 .LBB9_3: # %for.end end_loop # label21: i32.const $push5=, -1 i32.add $push6=, $3, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end9: .size my_clrsbl, .Lfunc_end9-my_clrsbl @@ -368,20 +385,22 @@ my_popcountl: # @my_popcountl .LBB10_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label22: - i32.const $push7=, 1 - i32.shl $push0=, $pop7, $2 + i32.const $push9=, 1 + i32.shl $push0=, $pop9, $2 i32.and $push1=, $pop0, $0 - i32.const $push6=, 0 - i32.ne $push2=, $pop1, $pop6 + i32.const $push8=, 0 + i32.ne $push2=, $pop1, $pop8 i32.add $1=, $pop2, $1 - i32.const $push5=, 1 - i32.add $2=, $2, $pop5 + i32.const $push7=, 1 + i32.add $push6=, $2, $pop7 + tee_local $push5=, $2=, $pop6 i32.const $push4=, 32 - i32.ne $push3=, $2, $pop4 + i32.ne $push3=, $pop5, $pop4 br_if 0, $pop3 # 0: up to label22 # BB#2: # %for.end end_loop # label23: - return $1 + copy_local $push10=, $1 + # fallthrough-return: $pop10 .endfunc .Lfunc_end10: .size my_popcountl, .Lfunc_end10-my_popcountl @@ -400,22 +419,23 @@ my_parityl: # @my_parityl .LBB11_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label24: - i32.const $push9=, 1 - i32.shl $push0=, $pop9, $2 + i32.const $push11=, 1 + i32.shl $push0=, $pop11, $2 i32.and $push1=, $pop0, $0 - i32.const $push8=, 0 - i32.ne $push2=, $pop1, $pop8 + i32.const $push10=, 0 + i32.ne $push2=, $pop1, $pop10 i32.add $1=, $pop2, $1 - i32.const $push7=, 1 - i32.add $2=, $2, $pop7 + i32.const $push9=, 1 + i32.add $push8=, $2, $pop9 + tee_local $push7=, $2=, $pop8 i32.const $push6=, 32 - i32.ne $push3=, $2, $pop6 + i32.ne $push3=, $pop7, $pop6 br_if 0, $pop3 # 0: up to label24 # BB#2: # %for.end end_loop # label25: i32.const $push4=, 1 i32.and $push5=, $1, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end11: .size my_parityl, .Lfunc_end11-my_parityl @@ -434,8 +454,8 @@ my_ffsll: # @my_ffsll i64.eqz $push0=, $0 br_if 0, $pop0 # 0: down to label26 # BB#1: # %for.body.preheader - i64.const $1=, 0 i32.const $2=, 0 + i64.const $1=, 0 .LBB12_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label27: @@ -447,12 +467,13 @@ my_ffsll: # @my_ffsll br_if 1, $pop3 # 1: down to label28 # BB#3: # %for.inc # in Loop: Header=BB12_2 Depth=1 - i64.const $push10=, 1 - i64.add $1=, $1, $pop10 - i32.const $push9=, 1 - i32.add $2=, $2, $pop9 + i32.const $push12=, 1 + i32.add $2=, $2, $pop12 + i64.const $push11=, 1 + i64.add $push10=, $1, $pop11 + tee_local $push9=, $1=, $pop10 i64.const $push8=, 64 - i64.lt_u $push4=, $1, $pop8 + i64.lt_u $push4=, $pop9, $pop8 br_if 0, $pop4 # 0: up to label27 .LBB12_4: # %for.end end_loop # label28: @@ -460,7 +481,8 @@ my_ffsll: # @my_ffsll i32.add $2=, $2, $pop5 .LBB12_5: # %cleanup end_block # label26: - return $2 + copy_local $push13=, $2 + # fallthrough-return: $pop13 .endfunc .Lfunc_end12: .size my_ffsll, .Lfunc_end12-my_ffsll @@ -474,8 +496,8 @@ my_ctzll: # @my_ctzll .result i32 .local i64, i32 # BB#0: # %entry - i64.const $1=, 0 i32.const $2=, 0 + i64.const $1=, 0 .LBB13_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label29: @@ -487,16 +509,18 @@ my_ctzll: # @my_ctzll br_if 1, $pop2 # 1: down to label30 # BB#2: # %for.inc # in Loop: Header=BB13_1 Depth=1 - i64.const $push8=, 1 - i64.add $1=, $1, $pop8 - i32.const $push7=, 1 - i32.add $2=, $2, $pop7 + i32.const $push10=, 1 + i32.add $2=, $2, $pop10 + i64.const $push9=, 1 + i64.add $push8=, $1, $pop9 + tee_local $push7=, $1=, $pop8 i64.const $push6=, 64 - i64.lt_u $push3=, $1, $pop6 + i64.lt_u $push3=, $pop7, $pop6 br_if 0, $pop3 # 0: up to label29 .LBB13_3: # %for.end end_loop # label30: - return $2 + copy_local $push11=, $2 + # fallthrough-return: $pop11 .endfunc .Lfunc_end13: .size my_ctzll, .Lfunc_end13-my_ctzll @@ -510,9 +534,9 @@ my_clzll: # @my_clzll .result i32 .local i64, i64, i32 # BB#0: # %entry + i32.const $3=, 0 i64.const $1=, 63 i64.const $2=, 0 - i32.const $3=, 0 .LBB14_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label31: @@ -526,18 +550,20 @@ my_clzll: # @my_clzll br_if 1, $pop3 # 1: down to label32 # BB#2: # %for.inc # in Loop: Header=BB14_1 Depth=1 + i64.const $push13=, -1 + i64.add $1=, $1, $pop13 + i32.const $push12=, 1 + i32.add $3=, $3, $pop12 i64.const $push11=, 1 - i64.add $2=, $2, $pop11 - i32.const $push10=, 1 - i32.add $3=, $3, $pop10 - i64.const $push9=, -1 - i64.add $1=, $1, $pop9 + i64.add $push10=, $2, $pop11 + tee_local $push9=, $2=, $pop10 i64.const $push8=, 64 - i64.lt_u $push4=, $2, $pop8 + i64.lt_u $push4=, $pop9, $pop8 br_if 0, $pop4 # 0: up to label31 .LBB14_3: # %for.end end_loop # label32: - return $3 + copy_local $push14=, $3 + # fallthrough-return: $pop14 .endfunc .Lfunc_end14: .size my_clzll, .Lfunc_end14-my_clzll @@ -566,20 +592,21 @@ my_clrsbll: # @my_clrsbll br_if 1, $pop3 # 1: down to label34 # BB#2: # %for.inc # in Loop: Header=BB15_1 Depth=1 + i64.const $push13=, -1 + i64.add $2=, $2, $pop13 + i32.const $push12=, 1 + i32.add $4=, $4, $pop12 i64.const $push11=, 1 - i64.add $3=, $3, $pop11 - i32.const $push10=, 1 - i32.add $4=, $4, $pop10 - i64.const $push9=, -1 - i64.add $2=, $2, $pop9 + i64.add $push10=, $3, $pop11 + tee_local $push9=, $3=, $pop10 i64.const $push8=, 64 - i64.lt_u $push4=, $3, $pop8 + i64.lt_u $push4=, $pop9, $pop8 br_if 0, $pop4 # 0: up to label33 .LBB15_3: # %for.end end_loop # label34: i32.const $push5=, -1 i32.add $push6=, $4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end15: .size my_clrsbll, .Lfunc_end15-my_clrsbll @@ -593,25 +620,27 @@ my_popcountll: # @my_popcountll .result i32 .local i64, i32 # BB#0: # %entry - i64.const $1=, 0 i32.const $2=, 0 + i64.const $1=, 0 .LBB16_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label35: - i64.const $push7=, 1 - i64.shl $push0=, $pop7, $1 + i64.const $push9=, 1 + i64.shl $push0=, $pop9, $1 i64.and $push1=, $pop0, $0 - i64.const $push6=, 0 - i64.ne $push2=, $pop1, $pop6 + i64.const $push8=, 0 + i64.ne $push2=, $pop1, $pop8 i32.add $2=, $pop2, $2 - i64.const $push5=, 1 - i64.add $1=, $1, $pop5 + i64.const $push7=, 1 + i64.add $push6=, $1, $pop7 + tee_local $push5=, $1=, $pop6 i64.const $push4=, 64 - i64.ne $push3=, $1, $pop4 + i64.ne $push3=, $pop5, $pop4 br_if 0, $pop3 # 0: up to label35 # BB#2: # %for.end end_loop # label36: - return $2 + copy_local $push10=, $2 + # fallthrough-return: $pop10 .endfunc .Lfunc_end16: .size my_popcountll, .Lfunc_end16-my_popcountll @@ -625,27 +654,28 @@ my_parityll: # @my_parityll .result i32 .local i64, i32 # BB#0: # %entry - i64.const $1=, 0 i32.const $2=, 0 + i64.const $1=, 0 .LBB17_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label37: - i64.const $push9=, 1 - i64.shl $push0=, $pop9, $1 + i64.const $push11=, 1 + i64.shl $push0=, $pop11, $1 i64.and $push1=, $pop0, $0 - i64.const $push8=, 0 - i64.ne $push2=, $pop1, $pop8 + i64.const $push10=, 0 + i64.ne $push2=, $pop1, $pop10 i32.add $2=, $pop2, $2 - i64.const $push7=, 1 - i64.add $1=, $1, $pop7 + i64.const $push9=, 1 + i64.add $push8=, $1, $pop9 + tee_local $push7=, $1=, $pop8 i64.const $push6=, 64 - i64.ne $push3=, $1, $pop6 + i64.ne $push3=, $pop7, $pop6 br_if 0, $pop3 # 0: up to label37 # BB#2: # %for.end end_loop # label38: i32.const $push4=, 1 i32.and $push5=, $2, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end17: .size my_parityll, .Lfunc_end17-my_parityll @@ -656,7 +686,7 @@ my_parityll: # @my_parityll .type main,@function main: # @main .result i32 - .local i32, i32, i32, i64, i32, i32, i64, i64, i64, i32, i32 + .local i32, i32, i32, i32, i64, i32, i32, i64, i64, i64, i32 # BB#0: # %entry i32.const $0=, 0 .LBB18_1: # %for.body @@ -670,199 +700,206 @@ main: # @main block block loop # label41: - i32.const $push220=, 2 - i32.shl $push219=, $0, $pop220 - tee_local $push218=, $5=, $pop219 - i32.load $push217=, ints($pop218) - tee_local $push216=, $10=, $pop217 - i32.ctz $push215=, $pop216 - tee_local $push214=, $2=, $pop215 - i32.const $push213=, 1 - i32.add $push4=, $pop214, $pop213 - i32.const $push212=, 0 - i32.select $4=, $pop4, $pop212, $10 - i32.const $9=, 0 + i32.const $push221=, 2 + i32.shl $push220=, $0, $pop221 + tee_local $push219=, $6=, $pop220 + i32.load $push218=, ints($pop219) + tee_local $push217=, $10=, $pop218 + i32.ctz $push216=, $pop217 + tee_local $push215=, $2=, $pop216 + i32.const $push214=, 1 + i32.add $push5=, $pop215, $pop214 + i32.const $push213=, 0 + i32.select $5=, $pop5, $pop213, $10 + i32.const $3=, 0 block - i32.eqz $push378=, $10 - br_if 0, $pop378 # 0: down to label43 + i32.eqz $push433=, $10 + br_if 0, $pop433 # 0: down to label43 # BB#2: # %for.body.i.preheader # in Loop: Header=BB18_1 Depth=1 - i32.const $9=, 0 + i32.const $3=, 0 .LBB18_3: # %for.body.i # Parent Loop BB18_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label44: - i32.const $push221=, 1 - i32.shl $push5=, $pop221, $9 - i32.and $push6=, $pop5, $10 - br_if 1, $pop6 # 1: down to label45 + i32.const $push222=, 1 + i32.shl $push6=, $pop222, $3 + i32.and $push7=, $pop6, $10 + br_if 1, $pop7 # 1: down to label45 # BB#4: # %for.inc.i # in Loop: Header=BB18_3 Depth=2 - i32.const $push223=, 1 - i32.add $9=, $9, $pop223 - i32.const $push222=, 32 - i32.lt_u $push7=, $9, $pop222 - br_if 0, $pop7 # 0: up to label44 + i32.const $push226=, 1 + i32.add $push225=, $3, $pop226 + tee_local $push224=, $3=, $pop225 + i32.const $push223=, 32 + i32.lt_u $push8=, $pop224, $pop223 + br_if 0, $pop8 # 0: up to label44 .LBB18_5: # %for.end.i # in Loop: Header=BB18_1 Depth=1 end_loop # label45: - i32.const $push224=, 1 - i32.add $9=, $9, $pop224 + i32.const $push227=, 1 + i32.add $3=, $3, $pop227 .LBB18_6: # %my_ffs.exit # in Loop: Header=BB18_1 Depth=1 end_block # label43: - i32.ne $push8=, $4, $9 - br_if 2, $pop8 # 2: down to label40 + i32.ne $push9=, $5, $3 + br_if 2, $pop9 # 2: down to label40 # BB#7: # %if.end # in Loop: Header=BB18_1 Depth=1 block - i32.eqz $push379=, $10 - br_if 0, $pop379 # 0: down to label46 + i32.eqz $push434=, $10 + br_if 0, $pop434 # 0: down to label46 # BB#8: # %land.lhs.true # in Loop: Header=BB18_1 Depth=1 i32.clz $1=, $10 - i32.const $9=, 0 - i32.const $4=, 31 + i32.const $5=, 0 + i32.const $3=, 31 .LBB18_9: # %for.body.i822 # Parent Loop BB18_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label47: - i32.const $push225=, 1 - i32.shl $push9=, $pop225, $4 - i32.and $push10=, $pop9, $10 - br_if 1, $pop10 # 1: down to label48 + i32.const $push228=, 1 + i32.shl $push10=, $pop228, $3 + i32.and $push11=, $pop10, $10 + br_if 1, $pop11 # 1: down to label48 # BB#10: # %for.inc.i825 # in Loop: Header=BB18_9 Depth=2 - i32.const $push228=, 1 - i32.add $9=, $9, $pop228 - i32.const $push227=, -1 - i32.add $4=, $4, $pop227 - i32.const $push226=, 32 - i32.lt_u $push11=, $9, $pop226 - br_if 0, $pop11 # 0: up to label47 + i32.const $push233=, -1 + i32.add $3=, $3, $pop233 + i32.const $push232=, 1 + i32.add $push231=, $5, $pop232 + tee_local $push230=, $5=, $pop231 + i32.const $push229=, 32 + i32.lt_u $push12=, $pop230, $pop229 + br_if 0, $pop12 # 0: up to label47 .LBB18_11: # %my_clz.exit # in Loop: Header=BB18_1 Depth=1 end_loop # label48: - i32.ne $push12=, $1, $9 - br_if 3, $pop12 # 3: down to label40 + i32.ne $push13=, $1, $5 + br_if 3, $pop13 # 3: down to label40 # BB#12: # %land.lhs.true13 # in Loop: Header=BB18_1 Depth=1 - i32.const $9=, 0 + i32.const $3=, 0 .LBB18_13: # %for.body.i889 # Parent Loop BB18_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label49: - i32.const $push229=, 1 - i32.shl $push13=, $pop229, $9 - i32.and $push14=, $pop13, $10 - br_if 1, $pop14 # 1: down to label50 + i32.const $push234=, 1 + i32.shl $push14=, $pop234, $3 + i32.and $push15=, $pop14, $10 + br_if 1, $pop15 # 1: down to label50 # BB#14: # %for.inc.i892 # in Loop: Header=BB18_13 Depth=2 - i32.const $push231=, 1 - i32.add $9=, $9, $pop231 - i32.const $push230=, 32 - i32.lt_u $push15=, $9, $pop230 - br_if 0, $pop15 # 0: up to label49 + i32.const $push238=, 1 + i32.add $push237=, $3, $pop238 + tee_local $push236=, $3=, $pop237 + i32.const $push235=, 32 + i32.lt_u $push16=, $pop236, $pop235 + br_if 0, $pop16 # 0: up to label49 .LBB18_15: # %my_ctz.exit # in Loop: Header=BB18_1 Depth=1 end_loop # label50: - i32.ne $push16=, $2, $9 - br_if 3, $pop16 # 3: down to label40 + i32.ne $push17=, $2, $3 + br_if 3, $pop17 # 3: down to label40 .LBB18_16: # %if.end19 # in Loop: Header=BB18_1 Depth=1 end_block # label46: i32.call $2=, __builtin_clrsb@FUNCTION, $10 - i32.const $push235=, ints - i32.add $push0=, $5, $pop235 - i32.load $push234=, 0($pop0) - tee_local $push233=, $10=, $pop234 - i32.const $push232=, 31 - i32.shr_u $5=, $pop233, $pop232 - i32.const $9=, 1 - i32.const $4=, 30 + i32.const $push242=, ints + i32.add $push0=, $6, $pop242 + i32.load $push241=, 0($pop0) + tee_local $push240=, $3=, $pop241 + i32.const $push239=, 31 + i32.shr_u $6=, $pop240, $pop239 + i32.const $5=, 1 + i32.const $10=, 30 .LBB18_17: # %for.body.i974 # Parent Loop BB18_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label51: - i32.shr_u $push17=, $10, $4 - i32.const $push236=, 1 - i32.and $push18=, $pop17, $pop236 - i32.ne $push19=, $pop18, $5 - br_if 1, $pop19 # 1: down to label52 + i32.shr_u $push18=, $3, $10 + i32.const $push243=, 1 + i32.and $push19=, $pop18, $pop243 + i32.ne $push20=, $pop19, $6 + br_if 1, $pop20 # 1: down to label52 # BB#18: # %for.inc.i977 # in Loop: Header=BB18_17 Depth=2 - i32.const $push239=, 1 - i32.add $9=, $9, $pop239 - i32.const $push238=, -1 - i32.add $4=, $4, $pop238 - i32.const $push237=, 32 - i32.lt_u $push20=, $9, $pop237 - br_if 0, $pop20 # 0: up to label51 + i32.const $push248=, -1 + i32.add $10=, $10, $pop248 + i32.const $push247=, 1 + i32.add $push246=, $5, $pop247 + tee_local $push245=, $5=, $pop246 + i32.const $push244=, 32 + i32.lt_u $push21=, $pop245, $pop244 + br_if 0, $pop21 # 0: up to label51 .LBB18_19: # %my_clrsb.exit # in Loop: Header=BB18_1 Depth=1 end_loop # label52: - i32.const $push240=, -1 - i32.add $push21=, $9, $pop240 - i32.ne $push22=, $2, $pop21 - br_if 2, $pop22 # 2: down to label40 + i32.const $push249=, -1 + i32.add $push22=, $5, $pop249 + i32.ne $push23=, $2, $pop22 + br_if 2, $pop23 # 2: down to label40 # BB#20: # %for.body.i1069.preheader # in Loop: Header=BB18_1 Depth=1 - i32.const $4=, 0 - i32.const $9=, 0 + i32.const $5=, 0 + i32.const $10=, 0 .LBB18_21: # %for.body.i1069 # Parent Loop BB18_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label53: - i32.const $push244=, 1 - i32.shl $push23=, $pop244, $9 - i32.and $push24=, $pop23, $10 - i32.const $push243=, 0 - i32.ne $push25=, $pop24, $pop243 - i32.add $4=, $pop25, $4 - i32.const $push242=, 1 - i32.add $9=, $9, $pop242 - i32.const $push241=, 32 - i32.ne $push26=, $9, $pop241 - br_if 0, $pop26 # 0: up to label53 + i32.const $push255=, 1 + i32.shl $push24=, $pop255, $10 + i32.and $push25=, $pop24, $3 + i32.const $push254=, 0 + i32.ne $push26=, $pop25, $pop254 + i32.add $5=, $pop26, $5 + i32.const $push253=, 1 + i32.add $push252=, $10, $pop253 + tee_local $push251=, $10=, $pop252 + i32.const $push250=, 32 + i32.ne $push27=, $pop251, $pop250 + br_if 0, $pop27 # 0: up to label53 # BB#22: # %my_popcount.exit # in Loop: Header=BB18_1 Depth=1 end_loop # label54: - i32.popcnt $push27=, $10 - i32.ne $push28=, $pop27, $4 - br_if 2, $pop28 # 2: down to label40 + i32.popcnt $push28=, $3 + i32.ne $push29=, $pop28, $5 + br_if 2, $pop29 # 2: down to label40 # BB#23: # %for.body.i1161.preheader # in Loop: Header=BB18_1 Depth=1 - i32.const $5=, 0 - i32.const $9=, 0 + i32.const $6=, 0 + i32.const $10=, 0 .LBB18_24: # %for.body.i1161 # Parent Loop BB18_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label55: - i32.const $push248=, 1 - i32.shl $push29=, $pop248, $9 - i32.and $push30=, $pop29, $10 - i32.const $push247=, 0 - i32.ne $push31=, $pop30, $pop247 - i32.add $5=, $pop31, $5 - i32.const $push246=, 1 - i32.add $9=, $9, $pop246 - i32.const $push245=, 32 - i32.ne $push32=, $9, $pop245 - br_if 0, $pop32 # 0: up to label55 + i32.const $push261=, 1 + i32.shl $push30=, $pop261, $10 + i32.and $push31=, $pop30, $3 + i32.const $push260=, 0 + i32.ne $push32=, $pop31, $pop260 + i32.add $6=, $pop32, $6 + i32.const $push259=, 1 + i32.add $push258=, $10, $pop259 + tee_local $push257=, $10=, $pop258 + i32.const $push256=, 32 + i32.ne $push33=, $pop257, $pop256 + br_if 0, $pop33 # 0: up to label55 # BB#25: # %my_parity.exit # in Loop: Header=BB18_1 Depth=1 end_loop # label56: - i32.xor $push33=, $5, $4 - i32.const $push249=, 1 - i32.and $push34=, $pop33, $pop249 - br_if 2, $pop34 # 2: down to label40 + i32.xor $push34=, $6, $5 + i32.const $push262=, 1 + i32.and $push35=, $pop34, $pop262 + br_if 2, $pop35 # 2: down to label40 # BB#26: # %for.cond # in Loop: Header=BB18_1 Depth=1 - i32.const $push251=, 1 - i32.add $0=, $0, $pop251 - i32.const $push250=, 13 - i32.lt_u $push35=, $0, $pop250 - br_if 0, $pop35 # 0: up to label41 + i32.const $push266=, 1 + i32.add $push265=, $0, $pop266 + tee_local $push264=, $0=, $pop265 + i32.const $push263=, 13 + i32.lt_u $push36=, $pop264, $pop263 + br_if 0, $pop36 # 0: up to label41 # BB#27: # %for.body41.preheader end_loop # label42: i32.const $0=, 0 @@ -875,202 +912,209 @@ main: # @main # Child Loop BB18_48 Depth 2 # Child Loop BB18_51 Depth 2 loop # label57: - i32.const $push260=, 2 - i32.shl $push259=, $0, $pop260 - tee_local $push258=, $5=, $pop259 - i32.load $push257=, longs($pop258) - tee_local $push256=, $10=, $pop257 - i32.ctz $push255=, $pop256 - tee_local $push254=, $2=, $pop255 - i32.const $push253=, 1 - i32.add $push36=, $pop254, $pop253 - i32.const $push252=, 0 - i32.select $4=, $pop36, $pop252, $10 - i32.const $9=, 0 + i32.const $push275=, 2 + i32.shl $push274=, $0, $pop275 + tee_local $push273=, $6=, $pop274 + i32.load $push272=, longs($pop273) + tee_local $push271=, $10=, $pop272 + i32.ctz $push270=, $pop271 + tee_local $push269=, $2=, $pop270 + i32.const $push268=, 1 + i32.add $push37=, $pop269, $pop268 + i32.const $push267=, 0 + i32.select $5=, $pop37, $pop267, $10 + i32.const $3=, 0 block - i32.eqz $push380=, $10 - br_if 0, $pop380 # 0: down to label59 + i32.eqz $push435=, $10 + br_if 0, $pop435 # 0: down to label59 # BB#29: # %for.body.i1251.preheader # in Loop: Header=BB18_28 Depth=1 - i32.const $9=, 0 + i32.const $3=, 0 .LBB18_30: # %for.body.i1251 # Parent Loop BB18_28 Depth=1 # => This Inner Loop Header: Depth=2 loop # label60: - i32.const $push261=, 1 - i32.shl $push37=, $pop261, $9 - i32.and $push38=, $pop37, $10 - br_if 1, $pop38 # 1: down to label61 + i32.const $push276=, 1 + i32.shl $push38=, $pop276, $3 + i32.and $push39=, $pop38, $10 + br_if 1, $pop39 # 1: down to label61 # BB#31: # %for.inc.i1254 # in Loop: Header=BB18_30 Depth=2 - i32.const $push263=, 1 - i32.add $9=, $9, $pop263 - i32.const $push262=, 32 - i32.lt_u $push39=, $9, $pop262 - br_if 0, $pop39 # 0: up to label60 + i32.const $push280=, 1 + i32.add $push279=, $3, $pop280 + tee_local $push278=, $3=, $pop279 + i32.const $push277=, 32 + i32.lt_u $push40=, $pop278, $pop277 + br_if 0, $pop40 # 0: up to label60 .LBB18_32: # %for.end.i1257 # in Loop: Header=BB18_28 Depth=1 end_loop # label61: - i32.const $push264=, 1 - i32.add $9=, $9, $pop264 + i32.const $push281=, 1 + i32.add $3=, $3, $pop281 .LBB18_33: # %my_ffsl.exit # in Loop: Header=BB18_28 Depth=1 end_block # label59: - i32.ne $push40=, $4, $9 - br_if 2, $pop40 # 2: down to label40 + i32.ne $push41=, $5, $3 + br_if 2, $pop41 # 2: down to label40 # BB#34: # %if.end49 # in Loop: Header=BB18_28 Depth=1 block - i32.eqz $push381=, $10 - br_if 0, $pop381 # 0: down to label62 + i32.eqz $push436=, $10 + br_if 0, $pop436 # 0: down to label62 # BB#35: # %land.lhs.true52 # in Loop: Header=BB18_28 Depth=1 i32.clz $1=, $10 - i32.const $9=, 0 - i32.const $4=, 31 + i32.const $5=, 0 + i32.const $3=, 31 .LBB18_36: # %for.body.i1346 # Parent Loop BB18_28 Depth=1 # => This Inner Loop Header: Depth=2 loop # label63: - i32.const $push265=, 1 - i32.shl $push41=, $pop265, $4 - i32.and $push42=, $pop41, $10 - br_if 1, $pop42 # 1: down to label64 + i32.const $push282=, 1 + i32.shl $push42=, $pop282, $3 + i32.and $push43=, $pop42, $10 + br_if 1, $pop43 # 1: down to label64 # BB#37: # %for.inc.i1349 # in Loop: Header=BB18_36 Depth=2 - i32.const $push268=, 1 - i32.add $9=, $9, $pop268 - i32.const $push267=, -1 - i32.add $4=, $4, $pop267 - i32.const $push266=, 32 - i32.lt_u $push43=, $9, $pop266 - br_if 0, $pop43 # 0: up to label63 + i32.const $push287=, -1 + i32.add $3=, $3, $pop287 + i32.const $push286=, 1 + i32.add $push285=, $5, $pop286 + tee_local $push284=, $5=, $pop285 + i32.const $push283=, 32 + i32.lt_u $push44=, $pop284, $pop283 + br_if 0, $pop44 # 0: up to label63 .LBB18_38: # %my_clzl.exit # in Loop: Header=BB18_28 Depth=1 end_loop # label64: - i32.ne $push44=, $1, $9 - br_if 3, $pop44 # 3: down to label40 + i32.ne $push45=, $1, $5 + br_if 3, $pop45 # 3: down to label40 # BB#39: # %land.lhs.true61 # in Loop: Header=BB18_28 Depth=1 - i32.const $9=, 0 + i32.const $3=, 0 .LBB18_40: # %for.body.i1438 # Parent Loop BB18_28 Depth=1 # => This Inner Loop Header: Depth=2 loop # label65: - i32.const $push269=, 1 - i32.shl $push45=, $pop269, $9 - i32.and $push46=, $pop45, $10 - br_if 1, $pop46 # 1: down to label66 + i32.const $push288=, 1 + i32.shl $push46=, $pop288, $3 + i32.and $push47=, $pop46, $10 + br_if 1, $pop47 # 1: down to label66 # BB#41: # %for.inc.i1441 # in Loop: Header=BB18_40 Depth=2 - i32.const $push271=, 1 - i32.add $9=, $9, $pop271 - i32.const $push270=, 32 - i32.lt_u $push47=, $9, $pop270 - br_if 0, $pop47 # 0: up to label65 + i32.const $push292=, 1 + i32.add $push291=, $3, $pop292 + tee_local $push290=, $3=, $pop291 + i32.const $push289=, 32 + i32.lt_u $push48=, $pop290, $pop289 + br_if 0, $pop48 # 0: up to label65 .LBB18_42: # %my_ctzl.exit # in Loop: Header=BB18_28 Depth=1 end_loop # label66: - i32.ne $push48=, $2, $9 - br_if 3, $pop48 # 3: down to label40 + i32.ne $push49=, $2, $3 + br_if 3, $pop49 # 3: down to label40 .LBB18_43: # %if.end67 # in Loop: Header=BB18_28 Depth=1 end_block # label62: i32.call $2=, __builtin_clrsbl@FUNCTION, $10 - i32.const $push275=, longs - i32.add $push1=, $5, $pop275 - i32.load $push274=, 0($pop1) - tee_local $push273=, $10=, $pop274 - i32.const $push272=, 31 - i32.shr_u $5=, $pop273, $pop272 - i32.const $9=, 1 - i32.const $4=, 30 + i32.const $push296=, longs + i32.add $push1=, $6, $pop296 + i32.load $push295=, 0($pop1) + tee_local $push294=, $3=, $pop295 + i32.const $push293=, 31 + i32.shr_u $6=, $pop294, $pop293 + i32.const $5=, 1 + i32.const $10=, 30 .LBB18_44: # %for.body.i1532 # Parent Loop BB18_28 Depth=1 # => This Inner Loop Header: Depth=2 loop # label67: - i32.shr_u $push49=, $10, $4 - i32.const $push276=, 1 - i32.and $push50=, $pop49, $pop276 - i32.ne $push51=, $pop50, $5 - br_if 1, $pop51 # 1: down to label68 + i32.shr_u $push50=, $3, $10 + i32.const $push297=, 1 + i32.and $push51=, $pop50, $pop297 + i32.ne $push52=, $pop51, $6 + br_if 1, $pop52 # 1: down to label68 # BB#45: # %for.inc.i1535 # in Loop: Header=BB18_44 Depth=2 - i32.const $push279=, 1 - i32.add $9=, $9, $pop279 - i32.const $push278=, -1 - i32.add $4=, $4, $pop278 - i32.const $push277=, 32 - i32.lt_u $push52=, $9, $pop277 - br_if 0, $pop52 # 0: up to label67 + i32.const $push302=, -1 + i32.add $10=, $10, $pop302 + i32.const $push301=, 1 + i32.add $push300=, $5, $pop301 + tee_local $push299=, $5=, $pop300 + i32.const $push298=, 32 + i32.lt_u $push53=, $pop299, $pop298 + br_if 0, $pop53 # 0: up to label67 .LBB18_46: # %my_clrsbl.exit # in Loop: Header=BB18_28 Depth=1 end_loop # label68: - i32.const $push280=, -1 - i32.add $push53=, $9, $pop280 - i32.ne $push54=, $2, $pop53 - br_if 2, $pop54 # 2: down to label40 + i32.const $push303=, -1 + i32.add $push54=, $5, $pop303 + i32.ne $push55=, $2, $pop54 + br_if 2, $pop55 # 2: down to label40 # BB#47: # %for.body.i1630.preheader # in Loop: Header=BB18_28 Depth=1 - i32.const $4=, 0 - i32.const $9=, 0 + i32.const $5=, 0 + i32.const $10=, 0 .LBB18_48: # %for.body.i1630 # Parent Loop BB18_28 Depth=1 # => This Inner Loop Header: Depth=2 loop # label69: - i32.const $push284=, 1 - i32.shl $push55=, $pop284, $9 - i32.and $push56=, $pop55, $10 - i32.const $push283=, 0 - i32.ne $push57=, $pop56, $pop283 - i32.add $4=, $pop57, $4 - i32.const $push282=, 1 - i32.add $9=, $9, $pop282 - i32.const $push281=, 32 - i32.ne $push58=, $9, $pop281 - br_if 0, $pop58 # 0: up to label69 + i32.const $push309=, 1 + i32.shl $push56=, $pop309, $10 + i32.and $push57=, $pop56, $3 + i32.const $push308=, 0 + i32.ne $push58=, $pop57, $pop308 + i32.add $5=, $pop58, $5 + i32.const $push307=, 1 + i32.add $push306=, $10, $pop307 + tee_local $push305=, $10=, $pop306 + i32.const $push304=, 32 + i32.ne $push59=, $pop305, $pop304 + br_if 0, $pop59 # 0: up to label69 # BB#49: # %my_popcountl.exit # in Loop: Header=BB18_28 Depth=1 end_loop # label70: - i32.popcnt $push59=, $10 - i32.ne $push60=, $pop59, $4 - br_if 2, $pop60 # 2: down to label40 + i32.popcnt $push60=, $3 + i32.ne $push61=, $pop60, $5 + br_if 2, $pop61 # 2: down to label40 # BB#50: # %for.body.i1723.preheader # in Loop: Header=BB18_28 Depth=1 - i32.const $5=, 0 - i32.const $9=, 0 + i32.const $6=, 0 + i32.const $10=, 0 .LBB18_51: # %for.body.i1723 # Parent Loop BB18_28 Depth=1 # => This Inner Loop Header: Depth=2 loop # label71: - i32.const $push288=, 1 - i32.shl $push61=, $pop288, $9 - i32.and $push62=, $pop61, $10 - i32.const $push287=, 0 - i32.ne $push63=, $pop62, $pop287 - i32.add $5=, $pop63, $5 - i32.const $push286=, 1 - i32.add $9=, $9, $pop286 - i32.const $push285=, 32 - i32.ne $push64=, $9, $pop285 - br_if 0, $pop64 # 0: up to label71 + i32.const $push315=, 1 + i32.shl $push62=, $pop315, $10 + i32.and $push63=, $pop62, $3 + i32.const $push314=, 0 + i32.ne $push64=, $pop63, $pop314 + i32.add $6=, $pop64, $6 + i32.const $push313=, 1 + i32.add $push312=, $10, $pop313 + tee_local $push311=, $10=, $pop312 + i32.const $push310=, 32 + i32.ne $push65=, $pop311, $pop310 + br_if 0, $pop65 # 0: up to label71 # BB#52: # %my_parityl.exit # in Loop: Header=BB18_28 Depth=1 end_loop # label72: - i32.xor $push65=, $5, $4 - i32.const $push289=, 1 - i32.and $push66=, $pop65, $pop289 - br_if 2, $pop66 # 2: down to label40 + i32.xor $push66=, $6, $5 + i32.const $push316=, 1 + i32.and $push67=, $pop66, $pop316 + br_if 2, $pop67 # 2: down to label40 # BB#53: # %for.cond39 # in Loop: Header=BB18_28 Depth=1 - i32.const $push291=, 1 - i32.add $0=, $0, $pop291 - i32.const $push290=, 13 - i32.lt_u $push67=, $0, $pop290 - br_if 0, $pop67 # 0: up to label57 + i32.const $push320=, 1 + i32.add $push319=, $0, $pop320 + tee_local $push318=, $0=, $pop319 + i32.const $push317=, 13 + i32.lt_u $push68=, $pop318, $pop317 + br_if 0, $pop68 # 0: up to label57 # BB#54: # %for.body92.preheader end_loop # label58: - i32.const $4=, 0 + i32.const $5=, 0 .LBB18_55: # %for.body92 # =>This Loop Header: Depth=1 # Child Loop BB18_57 Depth 2 @@ -1080,540 +1124,554 @@ main: # @main # Child Loop BB18_75 Depth 2 # Child Loop BB18_78 Depth 2 loop # label73: - i32.const $push302=, 0 - i32.const $push301=, 3 - i32.shl $push300=, $4, $pop301 - tee_local $push299=, $0=, $pop300 - i64.load $push298=, longlongs($pop299) - tee_local $push297=, $8=, $pop298 - i64.ctz $push296=, $pop297 - tee_local $push295=, $3=, $pop296 - i64.const $push294=, 1 - i64.add $push68=, $pop295, $pop294 - i32.wrap/i64 $push69=, $pop68 - i64.eqz $push293=, $8 - tee_local $push292=, $10=, $pop293 - i32.select $5=, $pop302, $pop69, $pop292 - i32.const $9=, 0 + i32.const $push331=, 0 + i32.const $push330=, 3 + i32.shl $push329=, $5, $pop330 + tee_local $push328=, $0=, $pop329 + i64.load $push327=, longlongs($pop328) + tee_local $push326=, $8=, $pop327 + i64.ctz $push325=, $pop326 + tee_local $push324=, $4=, $pop325 + i64.const $push323=, 1 + i64.add $push69=, $pop324, $pop323 + i32.wrap/i64 $push70=, $pop69 + i64.eqz $push322=, $8 + tee_local $push321=, $3=, $pop322 + i32.select $6=, $pop331, $pop70, $pop321 + i32.const $10=, 0 block - br_if 0, $10 # 0: down to label75 + br_if 0, $3 # 0: down to label75 # BB#56: # %for.body.i1814.preheader # in Loop: Header=BB18_55 Depth=1 - i64.const $7=, 0 - i32.const $9=, 0 + i32.const $10=, 0 + i64.const $9=, 0 .LBB18_57: # %for.body.i1814 # Parent Loop BB18_55 Depth=1 # => This Inner Loop Header: Depth=2 loop # label76: - i64.const $push304=, 1 - i64.shl $push70=, $pop304, $7 - i64.and $push71=, $pop70, $8 - i64.const $push303=, 0 - i64.ne $push72=, $pop71, $pop303 - br_if 1, $pop72 # 1: down to label77 + i64.const $push333=, 1 + i64.shl $push71=, $pop333, $9 + i64.and $push72=, $pop71, $8 + i64.const $push332=, 0 + i64.ne $push73=, $pop72, $pop332 + br_if 1, $pop73 # 1: down to label77 # BB#58: # %for.inc.i1818 # in Loop: Header=BB18_57 Depth=2 - i64.const $push307=, 1 - i64.add $7=, $7, $pop307 - i32.const $push306=, 1 - i32.add $9=, $9, $pop306 - i64.const $push305=, 64 - i64.lt_u $push73=, $7, $pop305 - br_if 0, $pop73 # 0: up to label76 + i32.const $push338=, 1 + i32.add $10=, $10, $pop338 + i64.const $push337=, 1 + i64.add $push336=, $9, $pop337 + tee_local $push335=, $9=, $pop336 + i64.const $push334=, 64 + i64.lt_u $push74=, $pop335, $pop334 + br_if 0, $pop74 # 0: up to label76 .LBB18_59: # %for.end.i1821 # in Loop: Header=BB18_55 Depth=1 end_loop # label77: - i32.const $push308=, 1 - i32.add $9=, $9, $pop308 + i32.const $push339=, 1 + i32.add $10=, $10, $pop339 .LBB18_60: # %my_ffsll.exit1823 # in Loop: Header=BB18_55 Depth=1 end_block # label75: - i32.ne $push74=, $5, $9 - br_if 2, $pop74 # 2: down to label40 + i32.ne $push75=, $6, $10 + br_if 2, $pop75 # 2: down to label40 # BB#61: # %if.end100 # in Loop: Header=BB18_55 Depth=1 block - br_if 0, $10 # 0: down to label78 + br_if 0, $3 # 0: down to label78 # BB#62: # %land.lhs.true103 # in Loop: Header=BB18_55 Depth=1 - i64.const $6=, 0 - i64.const $7=, 63 - i64.clz $push75=, $8 - i32.wrap/i64 $10=, $pop75 - i32.const $9=, 0 + i64.clz $push76=, $8 + i32.wrap/i64 $3=, $pop76 + i32.const $10=, 0 + i64.const $7=, 0 + i64.const $9=, 63 .LBB18_63: # %for.body.i1902 # Parent Loop BB18_55 Depth=1 # => This Inner Loop Header: Depth=2 loop # label79: - i64.const $push311=, 1 - i64.const $push310=, 4294967295 - i64.and $push76=, $7, $pop310 - i64.shl $push77=, $pop311, $pop76 - i64.and $push78=, $pop77, $8 - i64.const $push309=, 0 - i64.ne $push79=, $pop78, $pop309 - br_if 1, $pop79 # 1: down to label80 + i64.const $push342=, 1 + i64.const $push341=, 4294967295 + i64.and $push77=, $9, $pop341 + i64.shl $push78=, $pop342, $pop77 + i64.and $push79=, $pop78, $8 + i64.const $push340=, 0 + i64.ne $push80=, $pop79, $pop340 + br_if 1, $pop80 # 1: down to label80 # BB#64: # %for.inc.i1906 # in Loop: Header=BB18_63 Depth=2 - i64.const $push315=, 1 - i64.add $6=, $6, $pop315 - i32.const $push314=, 1 - i32.add $9=, $9, $pop314 - i64.const $push313=, -1 - i64.add $7=, $7, $pop313 - i64.const $push312=, 64 - i64.lt_u $push80=, $6, $pop312 - br_if 0, $pop80 # 0: up to label79 + i64.const $push348=, -1 + i64.add $9=, $9, $pop348 + i32.const $push347=, 1 + i32.add $10=, $10, $pop347 + i64.const $push346=, 1 + i64.add $push345=, $7, $pop346 + tee_local $push344=, $7=, $pop345 + i64.const $push343=, 64 + i64.lt_u $push81=, $pop344, $pop343 + br_if 0, $pop81 # 0: up to label79 .LBB18_65: # %my_clzll.exit1909 # in Loop: Header=BB18_55 Depth=1 end_loop # label80: - i32.ne $push81=, $10, $9 - br_if 3, $pop81 # 3: down to label40 + i32.ne $push82=, $3, $10 + br_if 3, $pop82 # 3: down to label40 # BB#66: # %land.lhs.true113 # in Loop: Header=BB18_55 Depth=1 - i64.const $7=, 0 - i32.wrap/i64 $10=, $3 - i32.const $9=, 0 + i32.wrap/i64 $3=, $4 + i32.const $10=, 0 + i64.const $9=, 0 .LBB18_67: # %for.body.i1948 # Parent Loop BB18_55 Depth=1 # => This Inner Loop Header: Depth=2 loop # label81: - i64.const $push317=, 1 - i64.shl $push82=, $pop317, $7 - i64.and $push83=, $pop82, $8 - i64.const $push316=, 0 - i64.ne $push84=, $pop83, $pop316 - br_if 1, $pop84 # 1: down to label82 + i64.const $push350=, 1 + i64.shl $push83=, $pop350, $9 + i64.and $push84=, $pop83, $8 + i64.const $push349=, 0 + i64.ne $push85=, $pop84, $pop349 + br_if 1, $pop85 # 1: down to label82 # BB#68: # %for.inc.i1952 # in Loop: Header=BB18_67 Depth=2 - i64.const $push320=, 1 - i64.add $7=, $7, $pop320 - i32.const $push319=, 1 - i32.add $9=, $9, $pop319 - i64.const $push318=, 64 - i64.lt_u $push85=, $7, $pop318 - br_if 0, $pop85 # 0: up to label81 + i32.const $push355=, 1 + i32.add $10=, $10, $pop355 + i64.const $push354=, 1 + i64.add $push353=, $9, $pop354 + tee_local $push352=, $9=, $pop353 + i64.const $push351=, 64 + i64.lt_u $push86=, $pop352, $pop351 + br_if 0, $pop86 # 0: up to label81 .LBB18_69: # %my_ctzll.exit1955 # in Loop: Header=BB18_55 Depth=1 end_loop # label82: - i32.ne $push86=, $10, $9 - br_if 3, $pop86 # 3: down to label40 + i32.ne $push87=, $3, $10 + br_if 3, $pop87 # 3: down to label40 .LBB18_70: # %if.end120 # in Loop: Header=BB18_55 Depth=1 end_block # label78: - i32.call $10=, __builtin_clrsbll@FUNCTION, $8 - i32.const $push324=, longlongs - i32.add $push2=, $0, $pop324 - i64.load $push323=, 0($pop2) - tee_local $push322=, $8=, $pop323 - i64.const $push321=, 63 - i64.shr_u $3=, $pop322, $pop321 - i64.const $6=, 1 - i64.const $7=, 62 - i32.const $9=, 1 + i32.call $3=, __builtin_clrsbll@FUNCTION, $8 + i32.const $push359=, longlongs + i32.add $push2=, $0, $pop359 + i64.load $push358=, 0($pop2) + tee_local $push357=, $9=, $pop358 + i64.const $push356=, 63 + i64.shr_u $4=, $pop357, $pop356 + i32.const $10=, 1 + i64.const $7=, 1 + i64.const $8=, 62 .LBB18_71: # %for.body.i2018 # Parent Loop BB18_55 Depth=1 # => This Inner Loop Header: Depth=2 loop # label83: - i64.shr_u $push87=, $8, $7 - i64.const $push325=, 1 - i64.and $push88=, $pop87, $pop325 - i64.ne $push89=, $pop88, $3 - br_if 1, $pop89 # 1: down to label84 + i64.shr_u $push88=, $9, $8 + i64.const $push360=, 1 + i64.and $push89=, $pop88, $pop360 + i64.ne $push90=, $pop89, $4 + br_if 1, $pop90 # 1: down to label84 # BB#72: # %for.inc.i2022 # in Loop: Header=BB18_71 Depth=2 - i64.const $push329=, 1 - i64.add $6=, $6, $pop329 - i32.const $push328=, 1 - i32.add $9=, $9, $pop328 - i64.const $push327=, -1 - i64.add $7=, $7, $pop327 - i64.const $push326=, 64 - i64.lt_u $push90=, $6, $pop326 - br_if 0, $pop90 # 0: up to label83 + i64.const $push366=, -1 + i64.add $8=, $8, $pop366 + i32.const $push365=, 1 + i32.add $10=, $10, $pop365 + i64.const $push364=, 1 + i64.add $push363=, $7, $pop364 + tee_local $push362=, $7=, $pop363 + i64.const $push361=, 64 + i64.lt_u $push91=, $pop362, $pop361 + br_if 0, $pop91 # 0: up to label83 .LBB18_73: # %my_clrsbll.exit2026 # in Loop: Header=BB18_55 Depth=1 end_loop # label84: - i32.const $push330=, -1 - i32.add $push91=, $9, $pop330 - i32.ne $push92=, $10, $pop91 - br_if 2, $pop92 # 2: down to label40 + i32.const $push367=, -1 + i32.add $push92=, $10, $pop367 + i32.ne $push93=, $3, $pop92 + br_if 2, $pop93 # 2: down to label40 # BB#74: # %if.end127 # in Loop: Header=BB18_55 Depth=1 - i64.popcnt $6=, $8 - i64.const $7=, 0 - i32.const $9=, 0 + i64.popcnt $7=, $9 + i32.const $10=, 0 + i64.const $8=, 0 .LBB18_75: # %for.body.i2110 # Parent Loop BB18_55 Depth=1 # => This Inner Loop Header: Depth=2 loop # label85: - i64.const $push334=, 1 - i64.shl $push93=, $pop334, $7 - i64.and $push94=, $pop93, $8 - i64.const $push333=, 0 - i64.ne $push95=, $pop94, $pop333 - i32.add $9=, $pop95, $9 - i64.const $push332=, 1 - i64.add $7=, $7, $pop332 - i64.const $push331=, 64 - i64.ne $push96=, $7, $pop331 - br_if 0, $pop96 # 0: up to label85 + i64.const $push373=, 1 + i64.shl $push94=, $pop373, $8 + i64.and $push95=, $pop94, $9 + i64.const $push372=, 0 + i64.ne $push96=, $pop95, $pop372 + i32.add $10=, $pop96, $10 + i64.const $push371=, 1 + i64.add $push370=, $8, $pop371 + tee_local $push369=, $8=, $pop370 + i64.const $push368=, 64 + i64.ne $push97=, $pop369, $pop368 + br_if 0, $pop97 # 0: up to label85 # BB#76: # %my_popcountll.exit2112 # in Loop: Header=BB18_55 Depth=1 end_loop # label86: - i32.wrap/i64 $push97=, $6 - i32.ne $push98=, $pop97, $9 - br_if 2, $pop98 # 2: down to label40 + i32.wrap/i64 $push98=, $7 + i32.ne $push99=, $pop98, $10 + br_if 2, $pop99 # 2: down to label40 # BB#77: # %for.body.i2196.preheader # in Loop: Header=BB18_55 Depth=1 - i64.const $7=, 0 - i32.const $10=, 0 + i32.const $3=, 0 + i64.const $8=, 0 .LBB18_78: # %for.body.i2196 # Parent Loop BB18_55 Depth=1 # => This Inner Loop Header: Depth=2 loop # label87: - i64.const $push338=, 1 - i64.shl $push99=, $pop338, $7 - i64.and $push100=, $pop99, $8 - i64.const $push337=, 0 - i64.ne $push101=, $pop100, $pop337 - i32.add $10=, $pop101, $10 - i64.const $push336=, 1 - i64.add $7=, $7, $pop336 - i64.const $push335=, 64 - i64.ne $push102=, $7, $pop335 - br_if 0, $pop102 # 0: up to label87 + i64.const $push379=, 1 + i64.shl $push100=, $pop379, $8 + i64.and $push101=, $pop100, $9 + i64.const $push378=, 0 + i64.ne $push102=, $pop101, $pop378 + i32.add $3=, $pop102, $3 + i64.const $push377=, 1 + i64.add $push376=, $8, $pop377 + tee_local $push375=, $8=, $pop376 + i64.const $push374=, 64 + i64.ne $push103=, $pop375, $pop374 + br_if 0, $pop103 # 0: up to label87 # BB#79: # %my_parityll.exit2199 # in Loop: Header=BB18_55 Depth=1 end_loop # label88: - i32.xor $push103=, $10, $9 - i32.const $push339=, 1 - i32.and $push104=, $pop103, $pop339 - br_if 3, $pop104 # 3: down to label39 + i32.xor $push104=, $3, $10 + i32.const $push380=, 1 + i32.and $push105=, $pop104, $pop380 + br_if 3, $pop105 # 3: down to label39 # BB#80: # %for.cond90 # in Loop: Header=BB18_55 Depth=1 - i32.const $push341=, 1 - i32.add $4=, $4, $pop341 - i32.const $push340=, 12 - i32.le_u $push105=, $4, $pop340 - br_if 0, $pop105 # 0: up to label73 + i32.const $push384=, 1 + i32.add $push383=, $5, $pop384 + tee_local $push382=, $5=, $pop383 + i32.const $push381=, 12 + i32.le_u $push106=, $pop382, $pop381 + br_if 0, $pop106 # 0: up to label73 # BB#81: # %if.end148 end_loop # label74: - i32.const $push106=, 0 - i32.call $push107=, __builtin_clrsb@FUNCTION, $pop106 - i32.const $push108=, 31 - i32.ne $push109=, $pop107, $pop108 - br_if 0, $pop109 # 0: down to label40 + i32.const $push107=, 0 + i32.call $push108=, __builtin_clrsb@FUNCTION, $pop107 + i32.const $push109=, 31 + i32.ne $push110=, $pop108, $pop109 + br_if 0, $pop110 # 0: down to label40 # BB#82: # %my_clrsb.exit2770 - i32.const $push110=, 1 - i32.call $push111=, __builtin_clrsb@FUNCTION, $pop110 - i32.const $push112=, 30 - i32.ne $push113=, $pop111, $pop112 - br_if 0, $pop113 # 0: down to label40 + i32.const $push111=, 1 + i32.call $push112=, __builtin_clrsb@FUNCTION, $pop111 + i32.const $push113=, 30 + i32.ne $push114=, $pop112, $pop113 + br_if 0, $pop114 # 0: down to label40 # BB#83: # %if.end198 - i32.const $push114=, -2147483648 - i32.call $push115=, __builtin_clrsb@FUNCTION, $pop114 - br_if 0, $pop115 # 0: down to label40 + i32.const $push115=, -2147483648 + i32.call $push116=, __builtin_clrsb@FUNCTION, $pop115 + br_if 0, $pop116 # 0: down to label40 # BB#84: # %my_clrsb.exit2597 - i32.const $push116=, 1073741824 - i32.call $push117=, __builtin_clrsb@FUNCTION, $pop116 - br_if 0, $pop117 # 0: down to label40 + i32.const $push117=, 1073741824 + i32.call $push118=, __builtin_clrsb@FUNCTION, $pop117 + br_if 0, $pop118 # 0: down to label40 # BB#85: # %my_clrsb.exit2514 - i32.const $push118=, 65536 - i32.call $push119=, __builtin_clrsb@FUNCTION, $pop118 - i32.const $push120=, 14 - i32.ne $push121=, $pop119, $pop120 - br_if 0, $pop121 # 0: down to label40 + i32.const $push119=, 65536 + i32.call $push120=, __builtin_clrsb@FUNCTION, $pop119 + i32.const $push121=, 14 + i32.ne $push122=, $pop120, $pop121 + br_if 0, $pop122 # 0: down to label40 # BB#86: # %my_clrsb.exit2432 - i32.const $push122=, 32768 - i32.call $push123=, __builtin_clrsb@FUNCTION, $pop122 - i32.const $push124=, 15 - i32.ne $push125=, $pop123, $pop124 - br_if 0, $pop125 # 0: down to label40 + i32.const $push123=, 32768 + i32.call $push124=, __builtin_clrsb@FUNCTION, $pop123 + i32.const $push125=, 15 + i32.ne $push126=, $pop124, $pop125 + br_if 0, $pop126 # 0: down to label40 # BB#87: # %my_clrsb.exit2348 - i32.const $push126=, -1515870811 - i32.call $push127=, __builtin_clrsb@FUNCTION, $pop126 - br_if 0, $pop127 # 0: down to label40 + i32.const $push127=, -1515870811 + i32.call $push128=, __builtin_clrsb@FUNCTION, $pop127 + br_if 0, $pop128 # 0: down to label40 # BB#88: # %my_clrsb.exit2273 - i32.const $push128=, 1515870810 - i32.call $push129=, __builtin_clrsb@FUNCTION, $pop128 - br_if 0, $pop129 # 0: down to label40 + i32.const $push129=, 1515870810 + i32.call $push130=, __builtin_clrsb@FUNCTION, $pop129 + br_if 0, $pop130 # 0: down to label40 # BB#89: # %for.body.i2179 - i32.const $push130=, -889323520 - i32.call $push131=, __builtin_clrsb@FUNCTION, $pop130 - i32.const $push132=, 1 - i32.ne $push133=, $pop131, $pop132 - br_if 0, $pop133 # 0: down to label40 + i32.const $push131=, -889323520 + i32.call $push132=, __builtin_clrsb@FUNCTION, $pop131 + i32.const $push133=, 1 + i32.ne $push134=, $pop132, $pop133 + br_if 0, $pop134 # 0: down to label40 # BB#90: # %for.body.i2093 - i32.const $push134=, 13303296 - i32.call $push135=, __builtin_clrsb@FUNCTION, $pop134 - i32.const $push136=, 7 - i32.ne $push137=, $pop135, $pop136 - br_if 0, $pop137 # 0: down to label40 + i32.const $push135=, 13303296 + i32.call $push136=, __builtin_clrsb@FUNCTION, $pop135 + i32.const $push137=, 7 + i32.ne $push138=, $pop136, $pop137 + br_if 0, $pop138 # 0: down to label40 # BB#91: # %for.body.i2004 - i32.const $push138=, 51966 - i32.call $push139=, __builtin_clrsb@FUNCTION, $pop138 - i32.const $push140=, 15 - i32.ne $push141=, $pop139, $pop140 - br_if 0, $pop141 # 0: down to label40 + i32.const $push139=, 51966 + i32.call $push140=, __builtin_clrsb@FUNCTION, $pop139 + i32.const $push141=, 15 + i32.ne $push142=, $pop140, $pop141 + br_if 0, $pop142 # 0: down to label40 # BB#92: # %if.end423 - i32.const $push342=, -1 - i32.call $4=, __builtin_clrsb@FUNCTION, $pop342 + i32.const $push385=, -1 + i32.call $5=, __builtin_clrsb@FUNCTION, $pop385 i32.const $10=, 30 - i32.const $9=, 1 + i32.const $3=, 1 .LBB18_93: # %for.body.i1935 # =>This Inner Loop Header: Depth=1 loop # label89: - i32.const $push344=, -1 - i32.shr_u $push142=, $pop344, $10 - i32.const $push343=, 1 - i32.and $push143=, $pop142, $pop343 - i32.eqz $push382=, $pop143 - br_if 1, $pop382 # 1: down to label90 + i32.const $push387=, -1 + i32.shr_u $push143=, $pop387, $10 + i32.const $push386=, 1 + i32.and $push144=, $pop143, $pop386 + i32.eqz $push437=, $pop144 + br_if 1, $pop437 # 1: down to label90 # BB#94: # %for.inc.i1938 # in Loop: Header=BB18_93 Depth=1 - i32.const $push347=, 1 - i32.add $9=, $9, $pop347 - i32.const $push346=, -1 - i32.add $10=, $10, $pop346 - i32.const $push345=, 32 - i32.lt_u $push144=, $9, $pop345 - br_if 0, $pop144 # 0: up to label89 + i32.const $push392=, -1 + i32.add $10=, $10, $pop392 + i32.const $push391=, 1 + i32.add $push390=, $3, $pop391 + tee_local $push389=, $3=, $pop390 + i32.const $push388=, 32 + i32.lt_u $push145=, $pop389, $pop388 + br_if 0, $pop145 # 0: up to label89 .LBB18_95: # %my_clrsb.exit1942 end_loop # label90: - i32.const $push145=, -1 - i32.add $push146=, $9, $pop145 - i32.ne $push147=, $4, $pop146 - br_if 0, $pop147 # 0: down to label40 + i32.const $push146=, -1 + i32.add $push147=, $3, $pop146 + i32.ne $push148=, $5, $pop147 + br_if 0, $pop148 # 0: down to label40 # BB#96: # %if.end440 - i64.const $8=, 0 - i64.const $push348=, 0 - i32.call $push148=, __builtin_clrsbll@FUNCTION, $pop348 - i32.const $push149=, 63 - i32.ne $push150=, $pop148, $pop149 - br_if 0, $pop150 # 0: down to label40 + i64.const $9=, 0 + i64.const $push393=, 0 + i32.call $push149=, __builtin_clrsbll@FUNCTION, $pop393 + i32.const $push150=, 63 + i32.ne $push151=, $pop149, $pop150 + br_if 0, $pop151 # 0: down to label40 # BB#97: # %for.body.i1844.preheader - i64.const $7=, 63 - i32.const $9=, 0 + i32.const $10=, 0 + i64.const $8=, 63 .LBB18_98: # %for.body.i1844 # =>This Inner Loop Header: Depth=1 loop # label91: - i32.wrap/i64 $push151=, $7 - i32.eqz $push383=, $pop151 - br_if 1, $pop383 # 1: down to label92 + i32.wrap/i64 $push152=, $8 + i32.eqz $push438=, $pop152 + br_if 1, $pop438 # 1: down to label92 # BB#99: # %for.inc.i1848 # in Loop: Header=BB18_98 Depth=1 - i64.const $push352=, 1 - i64.add $8=, $8, $pop352 - i32.const $push351=, 1 - i32.add $9=, $9, $pop351 - i64.const $push350=, -1 - i64.add $7=, $7, $pop350 - i64.const $push349=, 64 - i64.lt_u $push152=, $8, $pop349 - br_if 0, $pop152 # 0: up to label91 + i64.const $push399=, -1 + i64.add $8=, $8, $pop399 + i32.const $push398=, 1 + i32.add $10=, $10, $pop398 + i64.const $push397=, 1 + i64.add $push396=, $9, $pop397 + tee_local $push395=, $9=, $pop396 + i64.const $push394=, 64 + i64.lt_u $push153=, $pop395, $pop394 + br_if 0, $pop153 # 0: up to label91 .LBB18_100: # %my_clzll.exit1851 end_loop # label92: - i32.const $push153=, 63 - i32.ne $push154=, $9, $pop153 - br_if 0, $pop154 # 0: down to label40 + i32.const $push154=, 63 + i32.ne $push155=, $10, $pop154 + br_if 0, $pop155 # 0: down to label40 # BB#101: # %if.end465 - i64.const $push353=, 1 - i32.call $10=, __builtin_clrsbll@FUNCTION, $pop353 - i64.const $7=, 1 + i64.const $push400=, 1 + i32.call $3=, __builtin_clrsbll@FUNCTION, $pop400 + i64.const $8=, 1 .LBB18_102: # %for.body.i1799 # =>This Inner Loop Header: Depth=1 loop # label93: - i32.const $9=, 62 - i64.const $push354=, 63 - i64.eq $push155=, $7, $pop354 - br_if 1, $pop155 # 1: down to label94 + i32.const $10=, 62 + i64.const $push401=, 63 + i64.eq $push156=, $8, $pop401 + br_if 1, $pop156 # 1: down to label94 # BB#103: # %for.inc.i1803 # in Loop: Header=BB18_102 Depth=1 - i64.const $push356=, 1 - i64.add $7=, $7, $pop356 - i32.const $9=, 63 - i64.const $push355=, 64 - i64.lt_u $push156=, $7, $pop355 - br_if 0, $pop156 # 0: up to label93 + i32.const $10=, 63 + i64.const $push405=, 1 + i64.add $push404=, $8, $pop405 + tee_local $push403=, $8=, $pop404 + i64.const $push402=, 64 + i64.lt_u $push157=, $pop403, $pop402 + br_if 0, $pop157 # 0: up to label93 .LBB18_104: # %my_clrsbll.exit1807 end_loop # label94: - i32.ne $push157=, $10, $9 - br_if 0, $pop157 # 0: down to label40 + i32.ne $push158=, $3, $10 + br_if 0, $pop158 # 0: down to label40 # BB#105: # %for.body.i1759.preheader - i64.const $7=, 0 + i64.const $8=, 0 .LBB18_106: # %for.body.i1759 # =>This Inner Loop Header: Depth=1 block loop # label96: - i64.const $push357=, 63 - i64.eq $push158=, $7, $pop357 - br_if 2, $pop158 # 2: down to label95 + i64.const $push406=, 63 + i64.eq $push159=, $8, $pop406 + br_if 2, $pop159 # 2: down to label95 # BB#107: # %for.inc.i1763 # in Loop: Header=BB18_106 Depth=1 - i64.const $push359=, 1 - i64.add $7=, $7, $pop359 - i64.const $push358=, 64 - i64.lt_u $push159=, $7, $pop358 - br_if 0, $pop159 # 0: up to label96 + i64.const $push410=, 1 + i64.add $push409=, $8, $pop410 + tee_local $push408=, $8=, $pop409 + i64.const $push407=, 64 + i64.lt_u $push160=, $pop408, $pop407 + br_if 0, $pop160 # 0: up to label96 # BB#108: # %if.then481 end_loop # label97: call abort@FUNCTION unreachable .LBB18_109: # %for.body.i1731.preheader end_block # label95: - i64.const $7=, 0 + i64.const $8=, 0 .LBB18_110: # %for.body.i1731 # =>This Inner Loop Header: Depth=1 block loop # label99: - i64.const $push360=, 63 - i64.eq $push160=, $7, $pop360 - br_if 2, $pop160 # 2: down to label98 + i64.const $push411=, 63 + i64.eq $push161=, $8, $pop411 + br_if 2, $pop161 # 2: down to label98 # BB#111: # %for.inc.i1735 # in Loop: Header=BB18_110 Depth=1 - i64.const $push362=, 1 - i64.add $7=, $7, $pop362 - i64.const $push361=, 64 - i64.lt_u $push161=, $7, $pop361 - br_if 0, $pop161 # 0: up to label99 + i64.const $push415=, 1 + i64.add $push414=, $8, $pop415 + tee_local $push413=, $8=, $pop414 + i64.const $push412=, 64 + i64.lt_u $push162=, $pop413, $pop412 + br_if 0, $pop162 # 0: up to label99 # BB#112: # %if.then489 end_loop # label100: call abort@FUNCTION unreachable .LBB18_113: # %if.end490 end_block # label98: - i64.const $push162=, -9223372036854775808 - i32.call $push163=, __builtin_clrsbll@FUNCTION, $pop162 - br_if 0, $pop163 # 0: down to label40 + i64.const $push163=, -9223372036854775808 + i32.call $push164=, __builtin_clrsbll@FUNCTION, $pop163 + br_if 0, $pop164 # 0: down to label40 # BB#114: # %for.body.i1652.preheader - i64.const $7=, 63 - i64.const $8=, -1 + i64.const $8=, 63 + i64.const $9=, -1 .LBB18_115: # %for.body.i1652 # =>This Inner Loop Header: Depth=1 loop # label101: - i64.const $push365=, 1 - i64.add $8=, $8, $pop365 - i32.wrap/i64 $9=, $7 - i64.const $push364=, -1 - i64.add $push3=, $7, $pop364 - copy_local $7=, $pop3 - i32.const $push363=, 1 - i32.ne $push164=, $9, $pop363 - br_if 0, $pop164 # 0: up to label101 + i64.const $push418=, 1 + i64.add $9=, $9, $pop418 + i32.wrap/i64 $10=, $8 + i64.const $push417=, -1 + i64.add $push3=, $8, $pop417 + copy_local $8=, $pop3 + i32.const $push416=, 1 + i32.ne $push165=, $10, $pop416 + br_if 0, $pop165 # 0: up to label101 # BB#116: # %my_clzll.exit1659 end_loop # label102: - i32.wrap/i64 $push165=, $8 - i32.const $push166=, 62 - i32.ne $push167=, $pop165, $pop166 - br_if 0, $pop167 # 0: down to label40 + i32.wrap/i64 $push166=, $9 + i32.const $push167=, 62 + i32.ne $push168=, $pop166, $pop167 + br_if 0, $pop168 # 0: down to label40 # BB#117: # %for.body.i1612 - i64.const $push168=, 2 - i32.call $push169=, __builtin_clrsbll@FUNCTION, $pop168 - i32.const $push170=, 61 - i32.ne $push171=, $pop169, $pop170 - br_if 0, $pop171 # 0: down to label40 + i64.const $push169=, 2 + i32.call $push170=, __builtin_clrsbll@FUNCTION, $pop169 + i32.const $push171=, 61 + i32.ne $push172=, $pop170, $pop171 + br_if 0, $pop172 # 0: down to label40 # BB#118: # %my_clrsbll.exit1525 - i64.const $push172=, 4611686018427387904 - i32.call $push173=, __builtin_clrsbll@FUNCTION, $pop172 - br_if 0, $pop173 # 0: down to label40 + i64.const $push173=, 4611686018427387904 + i32.call $push174=, __builtin_clrsbll@FUNCTION, $pop173 + br_if 0, $pop174 # 0: down to label40 # BB#119: # %for.body.i1425 - i64.const $push174=, 4294967296 - i32.call $push175=, __builtin_clrsbll@FUNCTION, $pop174 - i32.const $push176=, 30 - i32.ne $push177=, $pop175, $pop176 - br_if 0, $pop177 # 0: down to label40 + i64.const $push175=, 4294967296 + i32.call $push176=, __builtin_clrsbll@FUNCTION, $pop175 + i32.const $push177=, 30 + i32.ne $push178=, $pop176, $pop177 + br_if 0, $pop178 # 0: down to label40 # BB#120: # %for.body.i1332 - i64.const $push178=, 2147483648 - i32.call $push179=, __builtin_clrsbll@FUNCTION, $pop178 - i32.const $push180=, 31 - i32.ne $push181=, $pop179, $pop180 - br_if 0, $pop181 # 0: down to label40 + i64.const $push179=, 2147483648 + i32.call $push180=, __builtin_clrsbll@FUNCTION, $pop179 + i32.const $push181=, 31 + i32.ne $push182=, $pop180, $pop181 + br_if 0, $pop182 # 0: down to label40 # BB#121: # %my_clrsbll.exit1245 - i64.const $push182=, -6510615555426900571 - i32.call $push183=, __builtin_clrsbll@FUNCTION, $pop182 - br_if 0, $pop183 # 0: down to label40 + i64.const $push183=, -6510615555426900571 + i32.call $push184=, __builtin_clrsbll@FUNCTION, $pop183 + br_if 0, $pop184 # 0: down to label40 # BB#122: # %my_clrsbll.exit1152 - i64.const $push184=, 6510615555426900570 - i32.call $push185=, __builtin_clrsbll@FUNCTION, $pop184 - br_if 0, $pop185 # 0: down to label40 + i64.const $push185=, 6510615555426900570 + i32.call $push186=, __builtin_clrsbll@FUNCTION, $pop185 + br_if 0, $pop186 # 0: down to label40 # BB#123: # %for.body.i1053 - i64.const $push186=, -3819392241693097984 - i32.call $push187=, __builtin_clrsbll@FUNCTION, $pop186 - i32.const $push188=, 1 - i32.ne $push189=, $pop187, $pop188 - br_if 0, $pop189 # 0: down to label40 + i64.const $push187=, -3819392241693097984 + i32.call $push188=, __builtin_clrsbll@FUNCTION, $pop187 + i32.const $push189=, 1 + i32.ne $push190=, $pop188, $pop189 + br_if 0, $pop190 # 0: down to label40 # BB#124: # %for.body.i964 - i64.const $push190=, 223195676147712 - i32.call $push191=, __builtin_clrsbll@FUNCTION, $pop190 - i32.const $push192=, 15 - i32.ne $push193=, $pop191, $pop192 - br_if 0, $pop193 # 0: down to label40 + i64.const $push191=, 223195676147712 + i32.call $push192=, __builtin_clrsbll@FUNCTION, $pop191 + i32.const $push193=, 15 + i32.ne $push194=, $pop192, $pop193 + br_if 0, $pop194 # 0: down to label40 # BB#125: # %for.body.i913.preheader - i64.const $7=, 63 - i64.const $8=, -1 + i64.const $8=, 63 + i64.const $9=, -1 .LBB18_126: # %for.body.i913 # =>This Inner Loop Header: Depth=1 loop # label103: - i64.const $push370=, 4294967295 - i64.and $6=, $7, $pop370 - i64.const $push369=, 1 - i64.add $8=, $8, $pop369 - i64.const $push368=, -1 - i64.add $7=, $7, $pop368 - i64.const $push367=, 1 - i64.shl $push194=, $pop367, $6 - i64.const $push366=, 3405695742 - i64.and $push195=, $pop194, $pop366 - i64.eqz $push196=, $pop195 - br_if 0, $pop196 # 0: up to label103 + i64.const $push423=, 1 + i64.add $9=, $9, $pop423 + i64.const $push422=, 4294967295 + i64.and $7=, $8, $pop422 + i64.const $push421=, -1 + i64.add $push4=, $8, $pop421 + copy_local $8=, $pop4 + i64.const $push420=, 1 + i64.shl $push195=, $pop420, $7 + i64.const $push419=, 3405695742 + i64.and $push196=, $pop195, $pop419 + i64.eqz $push197=, $pop196 + br_if 0, $pop197 # 0: up to label103 # BB#127: # %my_clzll.exit end_loop # label104: - i32.wrap/i64 $push197=, $8 - i32.const $push198=, 32 - i32.ne $push199=, $pop197, $pop198 - br_if 0, $pop199 # 0: down to label40 + i32.wrap/i64 $push198=, $9 + i32.const $push199=, 32 + i32.ne $push200=, $pop198, $pop199 + br_if 0, $pop200 # 0: down to label40 # BB#128: # %for.body.i877 - i64.const $push200=, 3405695742 - i32.call $push201=, __builtin_clrsbll@FUNCTION, $pop200 - i32.const $push202=, 31 - i32.ne $push203=, $pop201, $pop202 - br_if 0, $pop203 # 0: down to label40 + i64.const $push201=, 3405695742 + i32.call $push202=, __builtin_clrsbll@FUNCTION, $pop201 + i32.const $push203=, 31 + i32.ne $push204=, $pop202, $pop203 + br_if 0, $pop204 # 0: down to label40 # BB#129: # %if.end740 - i64.const $push371=, -1 - i32.call $10=, __builtin_clrsbll@FUNCTION, $pop371 - i64.const $7=, 62 - i64.const $8=, 1 - i32.const $9=, 1 + i64.const $push424=, -1 + i32.call $3=, __builtin_clrsbll@FUNCTION, $pop424 + i64.const $8=, 62 + i64.const $9=, 1 + i32.const $10=, 1 .LBB18_130: # %for.body.i812 # =>This Inner Loop Header: Depth=1 loop # label105: - i64.const $push373=, -1 - i64.shr_u $push204=, $pop373, $7 - i64.const $push372=, 1 - i64.and $push205=, $pop204, $pop372 - i64.eqz $push206=, $pop205 - br_if 1, $pop206 # 1: down to label106 + i64.const $push426=, -1 + i64.shr_u $push205=, $pop426, $8 + i64.const $push425=, 1 + i64.and $push206=, $pop205, $pop425 + i64.eqz $push207=, $pop206 + br_if 1, $pop207 # 1: down to label106 # BB#131: # %for.inc.i816 # in Loop: Header=BB18_130 Depth=1 - i64.const $push377=, 1 - i64.add $8=, $8, $pop377 - i32.const $push376=, 1 - i32.add $9=, $9, $pop376 - i64.const $push375=, -1 - i64.add $7=, $7, $pop375 - i64.const $push374=, 64 - i64.lt_u $push207=, $8, $pop374 - br_if 0, $pop207 # 0: up to label105 + i64.const $push432=, -1 + i64.add $8=, $8, $pop432 + i32.const $push431=, 1 + i32.add $10=, $10, $pop431 + i64.const $push430=, 1 + i64.add $push429=, $9, $pop430 + tee_local $push428=, $9=, $pop429 + i64.const $push427=, 64 + i64.lt_u $push208=, $pop428, $pop427 + br_if 0, $pop208 # 0: up to label105 .LBB18_132: # %my_clrsbll.exit end_loop # label106: - i32.const $push208=, -1 - i32.add $push209=, $9, $pop208 - i32.ne $push210=, $10, $pop209 - br_if 0, $pop210 # 0: down to label40 + i32.const $push209=, -1 + i32.add $push210=, $10, $pop209 + i32.ne $push211=, $3, $pop210 + br_if 0, $pop211 # 0: down to label40 # BB#133: # %if.end753 - i32.const $push211=, 0 - call exit@FUNCTION, $pop211 + i32.const $push212=, 0 + call exit@FUNCTION, $pop212 unreachable .LBB18_134: # %if.then37 end_block # label40: diff --git a/test/torture-s/builtin-prefetch-1.c.s b/test/torture-s/builtin-prefetch-1.c.s index 38b6a6844..eefadb68f 100644 --- a/test/torture-s/builtin-prefetch-1.c.s +++ b/test/torture-s/builtin-prefetch-1.c.s @@ -7,7 +7,7 @@ good_const: # @good_const .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size good_const, .Lfunc_end0-good_const @@ -19,7 +19,7 @@ good_const: # @good_const good_enum: # @good_enum .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size good_enum, .Lfunc_end1-good_enum @@ -31,7 +31,7 @@ good_enum: # @good_enum good_expr: # @good_expr .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size good_expr, .Lfunc_end2-good_expr @@ -43,7 +43,7 @@ good_expr: # @good_expr good_vararg: # @good_vararg .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end3: .size good_vararg, .Lfunc_end3-good_vararg diff --git a/test/torture-s/builtin-prefetch-2.c.s b/test/torture-s/builtin-prefetch-2.c.s index cb90ae1fd..97c5b325a 100644 --- a/test/torture-s/builtin-prefetch-2.c.s +++ b/test/torture-s/builtin-prefetch-2.c.s @@ -6,7 +6,7 @@ .type simple_global,@function simple_global: # @simple_global # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size simple_global, .Lfunc_end0-simple_global @@ -17,7 +17,7 @@ simple_global: # @simple_global .type simple_file,@function simple_file: # @simple_file # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size simple_file, .Lfunc_end1-simple_file @@ -28,7 +28,7 @@ simple_file: # @simple_file .type simple_static_local,@function simple_static_local: # @simple_static_local # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size simple_static_local, .Lfunc_end2-simple_static_local @@ -39,17 +39,17 @@ simple_static_local: # @simple_static_local .type simple_local,@function simple_local: # @simple_local # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 416 i32.sub $push8=, $pop2, $pop3 - i32.store $push0=, 0($pop4), $pop8 + i32.store $push0=, __stack_pointer($pop4), $pop8 i32.const $push5=, 416 i32.add $push6=, $pop0, $pop5 - i32.store $drop=, 0($pop7), $pop6 - return + i32.store $drop=, __stack_pointer($pop7), $pop6 + # fallthrough-return .endfunc .Lfunc_end3: .size simple_local, .Lfunc_end3-simple_local @@ -61,12 +61,12 @@ simple_local: # @simple_local simple_arg: # @simple_arg .param i32, i32, i32 # BB#0: # %entry - i32.const $push0=, __stack_pointer - i32.load $push1=, 0($pop0) + i32.const $push0=, 0 + i32.load $push1=, __stack_pointer($pop0) i32.const $push2=, 16 i32.sub $push3=, $pop1, $pop2 i32.store $drop=, 12($pop3), $2 - return + # fallthrough-return .endfunc .Lfunc_end4: .size simple_arg, .Lfunc_end4-simple_arg @@ -77,7 +77,7 @@ simple_arg: # @simple_arg .type expr_global,@function expr_global: # @expr_global # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end5: .size expr_global, .Lfunc_end5-expr_global @@ -88,11 +88,11 @@ expr_global: # @expr_global .type expr_local,@function expr_local: # @expr_local # BB#0: # %entry - i32.const $push0=, __stack_pointer - i32.load $push1=, 0($pop0) + i32.const $push0=, 0 + i32.load $push1=, __stack_pointer($pop0) i32.const $push2=, 80 i32.sub $drop=, $pop1, $pop2 - return + # fallthrough-return .endfunc .Lfunc_end6: .size expr_local, .Lfunc_end6-expr_local @@ -109,10 +109,10 @@ main: # @main call simple_static_local@FUNCTION i32.const $push3=, glob_int_arr i32.const $push0=, 0 - i32.load $push1=, glob_ptr_int($pop0) + i32.load $push2=, glob_ptr_int($pop0) i32.const $push7=, 0 - i32.load $push2=, glob_int($pop7) - call simple_arg@FUNCTION, $pop3, $pop1, $pop2 + i32.load $push1=, glob_int($pop7) + call simple_arg@FUNCTION, $pop3, $pop2, $pop1 i32.const $push6=, 0 i32.const $push4=, str i32.store $drop=, str+16($pop6), $pop4 diff --git a/test/torture-s/builtin-prefetch-3.c.s b/test/torture-s/builtin-prefetch-3.c.s index e60f5e72e..bd295bdb5 100644 --- a/test/torture-s/builtin-prefetch-3.c.s +++ b/test/torture-s/builtin-prefetch-3.c.s @@ -10,7 +10,7 @@ simple_vol_global: # @simple_vol_global i32.load $drop=, glob_vol_ptr_int($pop0) i32.const $push1=, 0 i32.load $drop=, glob_vol_ptr_vol_int($pop1) - return + # fallthrough-return .endfunc .Lfunc_end0: .size simple_vol_global, .Lfunc_end0-simple_vol_global @@ -25,7 +25,7 @@ simple_vol_file: # @simple_vol_file i32.load $drop=, stat_vol_ptr_int($pop0) i32.const $push1=, 0 i32.load $drop=, stat_vol_ptr_vol_int($pop1) - return + # fallthrough-return .endfunc .Lfunc_end1: .size simple_vol_file, .Lfunc_end1-simple_vol_file @@ -92,7 +92,7 @@ expr_vol_global: # @expr_vol_global i32.load $drop=, glob_vol_ptr_vol_int($pop6) i32.const $push5=, 0 i32.load $drop=, glob_vol_int($pop5) - return + # fallthrough-return .endfunc .Lfunc_end2: .size expr_vol_global, .Lfunc_end2-expr_vol_global @@ -109,8 +109,8 @@ main: # @main i32.const $push2=, 0 i32.const $push4=, 0 i32.const $push1=, str - i32.store $push0=, str+16($pop4), $pop1 - i32.store $drop=, vol_str+16($pop2), $pop0 + i32.store $push0=, vol_str+16($pop4), $pop1 + i32.store $drop=, str+16($pop2), $pop0 call expr_vol_global@FUNCTION i32.const $push3=, 0 call exit@FUNCTION, $pop3 diff --git a/test/torture-s/builtin-prefetch-4.c.s b/test/torture-s/builtin-prefetch-4.c.s index fb0d9e5e9..54fd4fb4f 100644 --- a/test/torture-s/builtin-prefetch-4.c.s +++ b/test/torture-s/builtin-prefetch-4.c.s @@ -9,7 +9,7 @@ assign_arg_ptr: # @assign_arg_ptr .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size assign_arg_ptr, .Lfunc_end0-assign_arg_ptr @@ -26,7 +26,7 @@ assign_glob_ptr: # @assign_glob_ptr i32.load $push3=, ptr($pop0) tee_local $push2=, $0=, $pop3 i32.eq $push1=, $pop2, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size assign_glob_ptr, .Lfunc_end1-assign_glob_ptr @@ -40,7 +40,7 @@ assign_arg_idx: # @assign_arg_idx .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size assign_arg_idx, .Lfunc_end2-assign_arg_idx @@ -57,7 +57,7 @@ assign_glob_idx: # @assign_glob_idx i32.load $push3=, arrindex($pop0) tee_local $push2=, $0=, $pop3 i32.eq $push1=, $pop2, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size assign_glob_idx, .Lfunc_end3-assign_glob_idx @@ -71,7 +71,7 @@ preinc_arg_ptr: # @preinc_arg_ptr .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size preinc_arg_ptr, .Lfunc_end4-preinc_arg_ptr @@ -90,7 +90,7 @@ preinc_glob_ptr: # @preinc_glob_ptr i32.add $push3=, $pop1, $pop2 i32.store $drop=, ptr($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end5: .size preinc_glob_ptr, .Lfunc_end5-preinc_glob_ptr @@ -104,7 +104,7 @@ postinc_arg_ptr: # @postinc_arg_ptr .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size postinc_arg_ptr, .Lfunc_end6-postinc_arg_ptr @@ -123,7 +123,7 @@ postinc_glob_ptr: # @postinc_glob_ptr i32.add $push3=, $pop1, $pop2 i32.store $drop=, ptr($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end7: .size postinc_glob_ptr, .Lfunc_end7-postinc_glob_ptr @@ -137,7 +137,7 @@ predec_arg_ptr: # @predec_arg_ptr .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size predec_arg_ptr, .Lfunc_end8-predec_arg_ptr @@ -156,7 +156,7 @@ predec_glob_ptr: # @predec_glob_ptr i32.add $push3=, $pop1, $pop2 i32.store $drop=, ptr($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end9: .size predec_glob_ptr, .Lfunc_end9-predec_glob_ptr @@ -170,7 +170,7 @@ postdec_arg_ptr: # @postdec_arg_ptr .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end10: .size postdec_arg_ptr, .Lfunc_end10-postdec_arg_ptr @@ -189,7 +189,7 @@ postdec_glob_ptr: # @postdec_glob_ptr i32.add $push3=, $pop1, $pop2 i32.store $drop=, ptr($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end11: .size postdec_glob_ptr, .Lfunc_end11-postdec_glob_ptr @@ -203,7 +203,7 @@ preinc_arg_idx: # @preinc_arg_idx .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end12: .size preinc_arg_idx, .Lfunc_end12-preinc_arg_idx @@ -222,7 +222,7 @@ preinc_glob_idx: # @preinc_glob_idx i32.add $push3=, $pop1, $pop2 i32.store $drop=, arrindex($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end13: .size preinc_glob_idx, .Lfunc_end13-preinc_glob_idx @@ -236,7 +236,7 @@ postinc_arg_idx: # @postinc_arg_idx .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end14: .size postinc_arg_idx, .Lfunc_end14-postinc_arg_idx @@ -255,7 +255,7 @@ postinc_glob_idx: # @postinc_glob_idx i32.add $push3=, $pop1, $pop2 i32.store $drop=, arrindex($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end15: .size postinc_glob_idx, .Lfunc_end15-postinc_glob_idx @@ -269,7 +269,7 @@ predec_arg_idx: # @predec_arg_idx .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end16: .size predec_arg_idx, .Lfunc_end16-predec_arg_idx @@ -288,7 +288,7 @@ predec_glob_idx: # @predec_glob_idx i32.add $push3=, $pop1, $pop2 i32.store $drop=, arrindex($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end17: .size predec_glob_idx, .Lfunc_end17-predec_glob_idx @@ -302,7 +302,7 @@ postdec_arg_idx: # @postdec_arg_idx .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end18: .size postdec_arg_idx, .Lfunc_end18-postdec_arg_idx @@ -321,7 +321,7 @@ postdec_glob_idx: # @postdec_glob_idx i32.add $push3=, $pop1, $pop2 i32.store $drop=, arrindex($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end19: .size postdec_glob_idx, .Lfunc_end19-postdec_glob_idx @@ -342,7 +342,7 @@ getptr: # @getptr i32.store $drop=, getptrcnt($pop0), $pop3 i32.const $push4=, 4 i32.add $push5=, $0, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end20: .size getptr, .Lfunc_end20-getptr @@ -357,15 +357,14 @@ funccall_arg_ptr: # @funccall_arg_ptr .local i32 # BB#0: # %entry i32.const $push0=, 0 - i32.const $push7=, 0 - i32.load $push1=, getptrcnt($pop7) - i32.const $push2=, 1 - i32.add $push6=, $pop1, $pop2 - tee_local $push5=, $1=, $pop6 - i32.store $drop=, getptrcnt($pop0), $pop5 - i32.const $push4=, 1 - i32.eq $push3=, $1, $pop4 - return $pop3 + i32.const $push6=, 0 + i32.load $push5=, getptrcnt($pop6) + tee_local $push4=, $1=, $pop5 + i32.const $push1=, 1 + i32.add $push2=, $pop4, $pop1 + i32.store $drop=, getptrcnt($pop0), $pop2 + i32.eqz $push3=, $1 + # fallthrough-return: $pop3 .endfunc .Lfunc_end21: .size funccall_arg_ptr, .Lfunc_end21-funccall_arg_ptr @@ -386,7 +385,7 @@ getint: # @getint i32.store $drop=, getintcnt($pop0), $pop3 i32.const $push5=, 1 i32.add $push4=, $0, $pop5 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end22: .size getint, .Lfunc_end22-getint @@ -398,18 +397,16 @@ getint: # @getint funccall_arg_idx: # @funccall_arg_idx .param i32, i32 .result i32 - .local i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push1=, 0 i32.const $push7=, 0 - i32.load $push1=, getintcnt($pop7) - i32.const $push2=, 1 - i32.add $push6=, $pop1, $pop2 - tee_local $push5=, $2=, $pop6 - i32.store $drop=, getintcnt($pop0), $pop5 - i32.const $push4=, 1 - i32.eq $push3=, $2, $pop4 - return $pop3 + i32.load $push2=, getintcnt($pop7) + i32.const $push3=, 1 + i32.add $push4=, $pop2, $pop3 + i32.store $push0=, getintcnt($pop1), $pop4 + i32.const $push6=, 1 + i32.eq $push5=, $pop0, $pop6 + # fallthrough-return: $pop5 .endfunc .Lfunc_end23: .size funccall_arg_idx, .Lfunc_end23-funccall_arg_idx @@ -420,125 +417,71 @@ funccall_arg_idx: # @funccall_arg_idx .type main,@function main: # @main .result i32 - .local i32 + .local i32, i32 # BB#0: # %entry block - i32.const $push29=, 0 - i32.load $push28=, ptr($pop29) - tee_local $push27=, $0=, $pop28 - i32.ne $push6=, $pop27, $0 - br_if 0, $pop6 # 0: down to label0 + i32.const $push10=, 0 + i32.load $push9=, ptr($pop10) + tee_local $push8=, $1=, $pop9 + i32.ne $push1=, $pop8, $1 + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end4 - i32.const $push32=, 0 - i32.load $push31=, arrindex($pop32) - tee_local $push30=, $0=, $pop31 - i32.ne $push7=, $pop30, $0 - br_if 0, $pop7 # 0: down to label0 -# BB#2: # %if.end12 - i32.const $push36=, 0 - i32.const $push35=, 0 - i32.load $push8=, ptr($pop35) - i32.const $push34=, 4 - i32.add $push2=, $pop8, $pop34 - i32.store $drop=, ptr($pop36), $pop2 - i32.const $push33=, 1 - i32.eqz $push73=, $pop33 - br_if 0, $pop73 # 0: down to label0 -# BB#3: # %if.end20 - i32.const $push40=, 0 - i32.const $push39=, 0 - i32.load $push3=, ptr($pop39) - i32.const $push38=, 4 - i32.add $push9=, $pop3, $pop38 - i32.store $drop=, ptr($pop40), $pop9 - i32.const $push37=, 1 - i32.eqz $push74=, $pop37 - br_if 0, $pop74 # 0: down to label0 -# BB#4: # %if.end28 - i32.const $push44=, 0 - i32.const $push43=, 0 - i32.load $push10=, ptr($pop43) - i32.const $push42=, -4 - i32.add $push4=, $pop10, $pop42 - i32.store $drop=, ptr($pop44), $pop4 - i32.const $push41=, 1 - i32.eqz $push75=, $pop41 - br_if 0, $pop75 # 0: down to label0 -# BB#5: # %if.end36 - i32.const $push48=, 0 - i32.const $push47=, 0 - i32.load $push5=, ptr($pop47) - i32.const $push46=, -4 - i32.add $push11=, $pop5, $pop46 - i32.store $drop=, ptr($pop48), $pop11 - i32.const $push45=, 1 - i32.eqz $push76=, $pop45 - br_if 0, $pop76 # 0: down to label0 -# BB#6: # %if.end44 - i32.const $push52=, 0 - i32.const $push51=, 0 - i32.load $push12=, arrindex($pop51) - i32.const $push50=, 1 - i32.add $push13=, $pop12, $pop50 - i32.store $drop=, arrindex($pop52), $pop13 - i32.const $push49=, 1 - i32.eqz $push77=, $pop49 - br_if 0, $pop77 # 0: down to label0 -# BB#7: # %if.end52 - i32.const $push56=, 0 - i32.const $push55=, 0 - i32.load $push14=, arrindex($pop55) - i32.const $push54=, 1 - i32.add $push15=, $pop14, $pop54 - i32.store $drop=, arrindex($pop56), $pop15 - i32.const $push53=, 1 - i32.eqz $push78=, $pop53 - br_if 0, $pop78 # 0: down to label0 -# BB#8: # %if.end64 - i32.const $push60=, 0 - i32.const $push59=, 0 - i32.load $push16=, arrindex($pop59) - i32.const $push58=, -1 - i32.add $push17=, $pop16, $pop58 - i32.store $drop=, arrindex($pop60), $pop17 - i32.const $push57=, 1 - i32.eqz $push79=, $pop57 - br_if 0, $pop79 # 0: down to label0 -# BB#9: # %if.end72 - i32.const $push64=, 0 - i32.const $push63=, 0 - i32.load $push18=, arrindex($pop63) - i32.const $push62=, -1 - i32.add $push19=, $pop18, $pop62 - i32.store $drop=, arrindex($pop64), $pop19 - i32.const $push61=, 1 - i32.eqz $push80=, $pop61 - br_if 0, $pop80 # 0: down to label0 -# BB#10: # %if.end76 - i32.const $push68=, 0 - i32.const $push67=, 0 - i32.load $push20=, getptrcnt($pop67) - i32.const $push66=, 1 - i32.add $push21=, $pop20, $pop66 - i32.store $push0=, getptrcnt($pop68), $pop21 - i32.const $push65=, 1 - i32.ne $push22=, $pop0, $pop65 - br_if 0, $pop22 # 0: down to label0 -# BB#11: # %if.end80 - i32.const $push72=, 0 - i32.const $push71=, 0 - i32.load $push23=, getintcnt($pop71) - i32.const $push70=, 1 - i32.add $push24=, $pop23, $pop70 - i32.store $push1=, getintcnt($pop72), $pop24 - i32.const $push69=, 1 - i32.ne $push25=, $pop1, $pop69 - br_if 0, $pop25 # 0: down to label0 -# BB#12: # %if.end84 + i32.const $push13=, 0 + i32.load $push12=, arrindex($pop13) + tee_local $push11=, $1=, $pop12 + i32.ne $push2=, $pop11, $1 + br_if 0, $pop2 # 0: down to label0 +# BB#2: # %if.end44 + i32.const $push16=, 0 + i32.const $push15=, 1 + i32.add $push0=, $1, $pop15 + i32.store $0=, arrindex($pop16), $pop0 + i32.const $push14=, 1 + i32.eqz $push33=, $pop14 + br_if 0, $pop33 # 0: down to label0 +# BB#3: # %if.end52 + i32.const $push18=, 0 + i32.const $push3=, 2 + i32.add $push4=, $1, $pop3 + i32.store $drop=, arrindex($pop18), $pop4 + i32.const $push17=, 1 + i32.eqz $push34=, $pop17 + br_if 0, $pop34 # 0: down to label0 +# BB#4: # %if.end64 + i32.const $push20=, 0 + i32.store $drop=, arrindex($pop20), $0 + i32.const $push19=, 1 + i32.eqz $push35=, $pop19 + br_if 0, $pop35 # 0: down to label0 +# BB#5: # %if.end72 + i32.const $push22=, 0 + i32.store $drop=, arrindex($pop22), $1 + i32.const $push21=, 1 + i32.eqz $push36=, $pop21 + br_if 0, $pop36 # 0: down to label0 +# BB#6: # %if.end76 + i32.const $push27=, 0 i32.const $push26=, 0 - call exit@FUNCTION, $pop26 + i32.load $push25=, getptrcnt($pop26) + tee_local $push24=, $1=, $pop25 + i32.const $push23=, 1 + i32.add $push5=, $pop24, $pop23 + i32.store $drop=, getptrcnt($pop27), $pop5 + br_if 0, $1 # 0: down to label0 +# BB#7: # %if.end80 + i32.const $push32=, 0 + i32.const $push31=, 0 + i32.load $push30=, getintcnt($pop31) + tee_local $push29=, $1=, $pop30 + i32.const $push28=, 1 + i32.add $push6=, $pop29, $pop28 + i32.store $drop=, getintcnt($pop32), $pop6 + br_if 0, $1 # 0: down to label0 +# BB#8: # %if.end84 + i32.const $push7=, 0 + call exit@FUNCTION, $pop7 unreachable -.LBB24_13: # %if.then83 +.LBB24_9: # %if.then83 end_block # label0: call abort@FUNCTION unreachable diff --git a/test/torture-s/builtin-prefetch-5.c.s b/test/torture-s/builtin-prefetch-5.c.s index 5e6e26faf..192baccce 100644 --- a/test/torture-s/builtin-prefetch-5.c.s +++ b/test/torture-s/builtin-prefetch-5.c.s @@ -7,7 +7,7 @@ arg_ptr: # @arg_ptr .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size arg_ptr, .Lfunc_end0-arg_ptr @@ -19,7 +19,7 @@ arg_ptr: # @arg_ptr arg_idx: # @arg_idx .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size arg_idx, .Lfunc_end1-arg_idx @@ -30,7 +30,7 @@ arg_idx: # @arg_idx .type glob_ptr,@function glob_ptr: # @glob_ptr # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size glob_ptr, .Lfunc_end2-glob_ptr @@ -41,7 +41,7 @@ glob_ptr: # @glob_ptr .type glob_idx,@function glob_idx: # @glob_idx # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end3: .size glob_idx, .Lfunc_end3-glob_idx @@ -59,14 +59,14 @@ main: # @main call glob_ptr@FUNCTION call glob_idx@FUNCTION i32.const $push9=, 0 + i32.const $push2=, 2 + i32.store $drop=, idx($pop9), $pop2 i32.const $push8=, 0 - i32.load $push2=, ptr($pop8) - i32.const $push3=, 1 - i32.add $push4=, $pop2, $pop3 - i32.store $drop=, ptr($pop9), $pop4 i32.const $push7=, 0 - i32.const $push5=, 2 - i32.store $drop=, idx($pop7), $pop5 + i32.load $push3=, ptr($pop7) + i32.const $push4=, 1 + i32.add $push5=, $pop3, $pop4 + i32.store $drop=, ptr($pop8), $pop5 call glob_ptr@FUNCTION call glob_idx@FUNCTION i32.const $push6=, 0 diff --git a/test/torture-s/builtin-prefetch-6.c.s b/test/torture-s/builtin-prefetch-6.c.s index 9d3f90738..aedf8cdf4 100644 --- a/test/torture-s/builtin-prefetch-6.c.s +++ b/test/torture-s/builtin-prefetch-6.c.s @@ -6,91 +6,91 @@ .type init_addrs,@function init_addrs: # @init_addrs # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push6=, 1024 - i32.store $drop=, bad_addr+40($pop0), $pop6 + i32.const $push1=, 0 + i64.const $push0=, 8589934593 + i64.store $drop=, bad_addr($pop1), $pop0 i32.const $push55=, 0 - i32.const $push7=, 2048 - i32.store $drop=, bad_addr+44($pop55), $pop7 + i64.const $push2=, 34359738372 + i64.store $drop=, bad_addr+8($pop55), $pop2 i32.const $push54=, 0 - i32.const $push8=, 4096 - i32.store $drop=, bad_addr+48($pop54), $pop8 + i64.const $push3=, 137438953488 + i64.store $drop=, bad_addr+16($pop54), $pop3 i32.const $push53=, 0 - i32.const $push9=, 8192 - i32.store $drop=, bad_addr+52($pop53), $pop9 + i64.const $push4=, 549755813952 + i64.store $drop=, bad_addr+24($pop53), $pop4 i32.const $push52=, 0 - i32.const $push10=, 16384 - i32.store $drop=, bad_addr+56($pop52), $pop10 + i64.const $push5=, 2199023255808 + i64.store $drop=, bad_addr+32($pop52), $pop5 i32.const $push51=, 0 - i32.const $push11=, 32768 - i32.store $drop=, bad_addr+60($pop51), $pop11 + i32.const $push6=, 1024 + i32.store $drop=, bad_addr+40($pop51), $pop6 i32.const $push50=, 0 - i32.const $push12=, 65536 - i32.store $drop=, bad_addr+64($pop50), $pop12 + i32.const $push7=, 2048 + i32.store $drop=, bad_addr+44($pop50), $pop7 i32.const $push49=, 0 - i32.const $push13=, 131072 - i32.store $drop=, bad_addr+68($pop49), $pop13 + i32.const $push8=, 4096 + i32.store $drop=, bad_addr+48($pop49), $pop8 i32.const $push48=, 0 - i32.const $push14=, 262144 - i32.store $drop=, bad_addr+72($pop48), $pop14 + i32.const $push9=, 8192 + i32.store $drop=, bad_addr+52($pop48), $pop9 i32.const $push47=, 0 - i32.const $push15=, 524288 - i32.store $drop=, bad_addr+76($pop47), $pop15 + i32.const $push10=, 16384 + i32.store $drop=, bad_addr+56($pop47), $pop10 i32.const $push46=, 0 - i32.const $push16=, 1048576 - i32.store $drop=, bad_addr+80($pop46), $pop16 + i32.const $push11=, 32768 + i32.store $drop=, bad_addr+60($pop46), $pop11 i32.const $push45=, 0 - i32.const $push17=, 2097152 - i32.store $drop=, bad_addr+84($pop45), $pop17 + i32.const $push12=, 65536 + i32.store $drop=, bad_addr+64($pop45), $pop12 i32.const $push44=, 0 - i32.const $push18=, 4194304 - i32.store $drop=, bad_addr+88($pop44), $pop18 + i32.const $push13=, 131072 + i32.store $drop=, bad_addr+68($pop44), $pop13 i32.const $push43=, 0 - i32.const $push19=, 8388608 - i32.store $drop=, bad_addr+92($pop43), $pop19 + i32.const $push14=, 262144 + i32.store $drop=, bad_addr+72($pop43), $pop14 i32.const $push42=, 0 - i32.const $push20=, 16777216 - i32.store $drop=, bad_addr+96($pop42), $pop20 + i32.const $push15=, 524288 + i32.store $drop=, bad_addr+76($pop42), $pop15 i32.const $push41=, 0 - i32.const $push21=, 33554432 - i32.store $drop=, bad_addr+100($pop41), $pop21 + i32.const $push16=, 1048576 + i32.store $drop=, bad_addr+80($pop41), $pop16 i32.const $push40=, 0 - i32.const $push22=, 67108864 - i32.store $drop=, bad_addr+104($pop40), $pop22 + i32.const $push17=, 2097152 + i32.store $drop=, bad_addr+84($pop40), $pop17 i32.const $push39=, 0 - i32.const $push23=, 134217728 - i32.store $drop=, bad_addr+108($pop39), $pop23 + i32.const $push18=, 4194304 + i32.store $drop=, bad_addr+88($pop39), $pop18 i32.const $push38=, 0 - i32.const $push24=, 268435456 - i32.store $drop=, bad_addr+112($pop38), $pop24 + i32.const $push19=, 8388608 + i32.store $drop=, bad_addr+92($pop38), $pop19 i32.const $push37=, 0 - i32.const $push25=, 536870912 - i32.store $drop=, bad_addr+116($pop37), $pop25 + i32.const $push20=, 16777216 + i32.store $drop=, bad_addr+96($pop37), $pop20 i32.const $push36=, 0 - i32.const $push26=, 1073741824 - i32.store $drop=, bad_addr+120($pop36), $pop26 + i32.const $push21=, 33554432 + i32.store $drop=, bad_addr+100($pop36), $pop21 i32.const $push35=, 0 - i32.const $push27=, -2147483648 - i32.store $drop=, bad_addr+124($pop35), $pop27 + i32.const $push22=, 67108864 + i32.store $drop=, bad_addr+104($pop35), $pop22 i32.const $push34=, 0 - i32.const $push28=, 33 - i32.store $drop=, arr_used($pop34), $pop28 + i32.const $push23=, 134217728 + i32.store $drop=, bad_addr+108($pop34), $pop23 i32.const $push33=, 0 - i64.const $push1=, 8589934593 - i64.store $drop=, bad_addr($pop33), $pop1 + i32.const $push24=, 268435456 + i32.store $drop=, bad_addr+112($pop33), $pop24 i32.const $push32=, 0 - i64.const $push2=, 34359738372 - i64.store $drop=, bad_addr+8($pop32), $pop2 + i32.const $push25=, 536870912 + i32.store $drop=, bad_addr+116($pop32), $pop25 i32.const $push31=, 0 - i64.const $push3=, 137438953488 - i64.store $drop=, bad_addr+16($pop31), $pop3 + i32.const $push26=, 1073741824 + i32.store $drop=, bad_addr+120($pop31), $pop26 i32.const $push30=, 0 - i64.const $push4=, 549755813952 - i64.store $drop=, bad_addr+24($pop30), $pop4 + i32.const $push27=, -2147483648 + i32.store $drop=, bad_addr+124($pop30), $pop27 i32.const $push29=, 0 - i64.const $push5=, 2199023255808 - i64.store $drop=, bad_addr+32($pop29), $pop5 - return + i32.const $push28=, 33 + i32.store $drop=, arr_used($pop29), $pop28 + # fallthrough-return .endfunc .Lfunc_end0: .size init_addrs, .Lfunc_end0-init_addrs @@ -106,12 +106,13 @@ prefetch_for_read: # @prefetch_for_read .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push0=, 4 - i32.add $0=, $0, $pop0 - br_if 0, $0 # 0: up to label0 + i32.const $push2=, 4 + i32.add $push1=, $0, $pop2 + tee_local $push0=, $0=, $pop1 + br_if 0, $pop0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end1: .size prefetch_for_read, .Lfunc_end1-prefetch_for_read @@ -127,12 +128,13 @@ prefetch_for_write: # @prefetch_for_write .LBB2_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push0=, 4 - i32.add $0=, $0, $pop0 - br_if 0, $0 # 0: up to label2 + i32.const $push2=, 4 + i32.add $push1=, $0, $pop2 + tee_local $push0=, $0=, $pop1 + br_if 0, $pop0 # 0: up to label2 # BB#2: # %for.end end_loop # label3: - return + # fallthrough-return .endfunc .Lfunc_end2: .size prefetch_for_write, .Lfunc_end2-prefetch_for_write diff --git a/test/torture-s/call-trap-1.c.s b/test/torture-s/call-trap-1.c.s index dabe897bc..9cc69c964 100644 --- a/test/torture-s/call-trap-1.c.s +++ b/test/torture-s/call-trap-1.c.s @@ -20,7 +20,7 @@ foo: # @foo .type bar,@function bar: # @bar # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/cbrt.c.s b/test/torture-s/cbrt.c.s index d85b90351..2fea5fd4b 100644 --- a/test/torture-s/cbrt.c.s +++ b/test/torture-s/cbrt.c.s @@ -7,133 +7,135 @@ cbrtl: # @cbrtl .param f64 .result f64 - .local i32, i32, i64, f64, i32, f64, f64 + .local f64, i64, i32, i32, f64, i32 # BB#0: # %entry - i32.const $push62=, __stack_pointer - i32.load $push63=, 0($pop62) - i32.const $push64=, 16 - i32.sub $push76=, $pop63, $pop64 - tee_local $push75=, $5=, $pop76 - i64.const $push1=, 0 - i64.store $drop=, 8($pop75), $pop1 + i32.const $push64=, 0 + i32.load $push65=, __stack_pointer($pop64) + i32.const $push66=, 16 + i32.sub $push78=, $pop65, $pop66 + tee_local $push77=, $6=, $pop78 + i64.const $push2=, 0 + i64.store $drop=, 8($pop77), $pop2 block - f64.store $push74=, 0($5), $0 - tee_local $push73=, $4=, $pop74 - i64.reinterpret/f64 $push72=, $pop73 - tee_local $push71=, $3=, $pop72 - i64.const $push2=, 32 - i64.shr_u $push3=, $pop71, $pop2 - i32.wrap/i64 $push70=, $pop3 - tee_local $push69=, $2=, $pop70 - i32.const $push4=, -2147483648 - i32.and $push68=, $pop69, $pop4 - tee_local $push67=, $1=, $pop68 - i32.xor $push66=, $pop67, $2 - tee_local $push65=, $2=, $pop66 - i32.const $push5=, 2146435072 - i32.lt_s $push6=, $pop65, $pop5 - br_if 0, $pop6 # 0: down to label0 + f64.store $push76=, 0($6), $0 + tee_local $push75=, $1=, $pop76 + i64.reinterpret/f64 $push74=, $pop75 + tee_local $push73=, $2=, $pop74 + i64.const $push3=, 32 + i64.shr_u $push4=, $pop73, $pop3 + i32.wrap/i64 $push72=, $pop4 + tee_local $push71=, $4=, $pop72 + i32.const $push5=, -2147483648 + i32.and $push70=, $pop71, $pop5 + tee_local $push69=, $3=, $pop70 + i32.xor $push68=, $pop69, $4 + tee_local $push67=, $4=, $pop68 + i32.const $push6=, 2146435072 + i32.lt_s $push7=, $pop67, $pop6 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.then - f64.add $push78=, $4, $4 - tee_local $push77=, $0=, $pop78 - return $pop77 + f64.add $push79=, $1, $1 + return $pop79 .LBB0_2: # %if.end end_block # label0: block - i32.wrap/i64 $push7=, $3 - i32.or $push8=, $pop7, $2 - i32.eqz $push90=, $pop8 - br_if 0, $pop90 # 0: down to label1 + i32.wrap/i64 $push8=, $2 + i32.or $push9=, $pop8, $4 + i32.eqz $push95=, $pop9 + br_if 0, $pop95 # 0: down to label1 # BB#3: # %if.end13 block block - i32.store $push80=, 4($5), $2 - tee_local $push79=, $2=, $pop80 - i32.const $push9=, 1048575 - i32.gt_s $push10=, $pop79, $pop9 - br_if 0, $pop10 # 0: down to label3 + i32.store $push81=, 4($6), $4 + tee_local $push80=, $4=, $pop81 + i32.const $push10=, 1048575 + i32.gt_s $push11=, $pop80, $pop10 + br_if 0, $pop11 # 0: down to label3 # BB#4: # %if.then18 - i32.const $push15=, 1129316352 - i32.store $drop=, 12($5), $pop15 - f64.load $push16=, 8($5) - f64.mul $push82=, $pop16, $4 - tee_local $push81=, $0=, $pop82 - f64.store $drop=, 8($5), $pop81 - i64.reinterpret/f64 $push17=, $0 - i64.const $push18=, 32 - i64.shr_u $push19=, $pop17, $pop18 - i32.wrap/i64 $push20=, $pop19 - i32.const $push21=, 3 - i32.div_u $push22=, $pop20, $pop21 - i32.const $push23=, 696219795 - i32.add $push24=, $pop22, $pop23 - i32.store $drop=, 12($5), $pop24 + i32.const $push16=, 1129316352 + i32.store $drop=, 12($6), $pop16 + f64.load $push17=, 8($6) + f64.mul $push18=, $pop17, $1 + f64.store $push0=, 8($6), $pop18 + i64.reinterpret/f64 $push19=, $pop0 + i64.const $push20=, 32 + i64.shr_u $push21=, $pop19, $pop20 + i32.wrap/i64 $push22=, $pop21 + i32.const $push23=, 3 + i32.div_u $push24=, $pop22, $pop23 + i32.const $push25=, 696219795 + i32.add $push26=, $pop24, $pop25 + i32.store $drop=, 12($6), $pop26 br 1 # 1: down to label2 .LBB0_5: # %if.else end_block # label3: - i32.const $push11=, 3 - i32.div_u $push12=, $2, $pop11 - i32.const $push13=, 715094163 - i32.add $push14=, $pop12, $pop13 - i32.store $drop=, 12($5), $pop14 + i32.const $push12=, 3 + i32.div_u $push13=, $4, $pop12 + i32.const $push14=, 715094163 + i32.add $push15=, $pop13, $pop14 + i32.store $drop=, 12($6), $pop15 .LBB0_6: # %if.end31 end_block # label2: - f64.load $0=, 8($5) - f64.const $push34=, 0x1.9b6db6db6db6ep0 - f64.mul $push25=, $0, $0 - f64.load $push89=, 0($5) - tee_local $push88=, $7=, $pop89 - f64.div $push26=, $pop25, $pop88 - f64.mul $push27=, $0, $pop26 - f64.const $push28=, 0x1.15f15f15f15f1p-1 - f64.add $push87=, $pop27, $pop28 - tee_local $push86=, $6=, $pop87 - f64.const $push29=, 0x1.6a0ea0ea0ea0fp0 - f64.add $push30=, $pop86, $pop29 + f64.load $push94=, 8($6) + tee_local $push93=, $0=, $pop94 + f64.const $push36=, 0x1.9b6db6db6db6ep0 + f64.mul $push27=, $0, $0 + f64.load $push92=, 0($6) + tee_local $push91=, $5=, $pop92 + f64.div $push28=, $pop27, $pop91 + f64.mul $push29=, $0, $pop28 + f64.const $push30=, 0x1.15f15f15f15f1p-1 + f64.add $push90=, $pop29, $pop30 + tee_local $push89=, $0=, $pop90 + f64.const $push33=, 0x1.6a0ea0ea0ea0fp0 + f64.add $push34=, $pop89, $pop33 f64.const $push31=, -0x1.691de2532c834p-1 - f64.div $push32=, $pop31, $6 - f64.add $push33=, $pop30, $pop32 - f64.div $push35=, $pop34, $pop33 - f64.const $push36=, 0x1.6db6db6db6db7p-2 - f64.add $push37=, $pop35, $pop36 - f64.mul $push38=, $0, $pop37 - f64.store $0=, 8($5), $pop38 - i32.const $push39=, 0 - i32.store $drop=, 8($5), $pop39 - i64.reinterpret/f64 $push40=, $0 - i64.const $push41=, 32 - i64.shr_u $push42=, $pop40, $pop41 - i32.wrap/i64 $push43=, $pop42 - i32.const $push44=, 1 - i32.add $push45=, $pop43, $pop44 - i32.store $drop=, 12($5), $pop45 - f64.load $0=, 8($5) - f64.mul $push46=, $0, $0 - f64.div $push85=, $7, $pop46 - tee_local $push84=, $7=, $pop85 - f64.sub $push48=, $pop84, $0 - f64.add $push47=, $0, $0 - f64.add $push49=, $pop47, $7 - f64.div $push50=, $pop48, $pop49 - f64.mul $push51=, $0, $pop50 - f64.add $push52=, $0, $pop51 - f64.store $push0=, 8($5), $pop52 - i64.reinterpret/f64 $push53=, $pop0 - i64.const $push83=, 32 - i64.shr_u $push54=, $pop53, $pop83 - i32.wrap/i64 $push55=, $pop54 - i32.or $push56=, $pop55, $1 - i32.store $drop=, 12($5), $pop56 - f64.load $0=, 8($5) - f64.mul $push57=, $0, $0 - f64.div $push58=, $4, $pop57 - f64.sub $push59=, $0, $pop58 - f64.const $push60=, -0x1.5555555555555p-2 - f64.mul $push61=, $pop59, $pop60 - f64.add $0=, $0, $pop61 + f64.div $push32=, $pop31, $0 + f64.add $push35=, $pop34, $pop32 + f64.div $push37=, $pop36, $pop35 + f64.const $push38=, 0x1.6db6db6db6db7p-2 + f64.add $push39=, $pop37, $pop38 + f64.mul $push40=, $pop93, $pop39 + f64.store $0=, 8($6), $pop40 + i32.const $push41=, 0 + i32.store $drop=, 8($6), $pop41 + i64.reinterpret/f64 $push42=, $0 + i64.const $push43=, 32 + i64.shr_u $push44=, $pop42, $pop43 + i32.wrap/i64 $push45=, $pop44 + i32.const $push46=, 1 + i32.add $push47=, $pop45, $pop46 + i32.store $drop=, 12($6), $pop47 + f64.load $push88=, 8($6) + tee_local $push87=, $0=, $pop88 + f64.mul $push48=, $0, $0 + f64.div $push86=, $5, $pop48 + tee_local $push85=, $5=, $pop86 + f64.sub $push51=, $pop85, $0 + f64.add $push49=, $0, $0 + f64.add $push50=, $pop49, $5 + f64.div $push52=, $pop51, $pop50 + f64.mul $push53=, $0, $pop52 + f64.add $push54=, $pop87, $pop53 + f64.store $push1=, 8($6), $pop54 + i64.reinterpret/f64 $push55=, $pop1 + i64.const $push84=, 32 + i64.shr_u $push56=, $pop55, $pop84 + i32.wrap/i64 $push57=, $pop56 + i32.or $push58=, $pop57, $3 + i32.store $drop=, 12($6), $pop58 + f64.load $push83=, 8($6) + tee_local $push82=, $0=, $pop83 + f64.mul $push59=, $0, $0 + f64.div $push60=, $1, $pop59 + f64.sub $push61=, $0, $pop60 + f64.const $push62=, -0x1.5555555555555p-2 + f64.mul $push63=, $pop61, $pop62 + f64.add $0=, $pop82, $pop63 .LBB0_7: # %cleanup end_block # label1: - return $0 + copy_local $push96=, $0 + # fallthrough-return: $pop96 .endfunc .Lfunc_end0: .size cbrtl, .Lfunc_end0-cbrtl diff --git a/test/torture-s/cmpdi-1.c.s b/test/torture-s/cmpdi-1.c.s index 6295cf38e..84c289e34 100644 --- a/test/torture-s/cmpdi-1.c.s +++ b/test/torture-s/cmpdi-1.c.s @@ -12,7 +12,7 @@ feq: # @feq i32.const $push1=, 140 i64.eq $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size feq, .Lfunc_end0-feq @@ -29,7 +29,7 @@ fne: # @fne i32.const $push1=, 13 i64.eq $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size fne, .Lfunc_end1-fne @@ -46,7 +46,7 @@ flt: # @flt i32.const $push1=, 140 i64.lt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size flt, .Lfunc_end2-flt @@ -63,7 +63,7 @@ fge: # @fge i32.const $push1=, 13 i64.lt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size fge, .Lfunc_end3-fge @@ -80,7 +80,7 @@ fgt: # @fgt i32.const $push1=, 140 i64.gt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size fgt, .Lfunc_end4-fgt @@ -97,7 +97,7 @@ fle: # @fle i32.const $push1=, 13 i64.gt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size fle, .Lfunc_end5-fle @@ -114,7 +114,7 @@ fltu: # @fltu i32.const $push1=, 140 i64.lt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end6: .size fltu, .Lfunc_end6-fltu @@ -131,7 +131,7 @@ fgeu: # @fgeu i32.const $push1=, 13 i64.lt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end7: .size fgeu, .Lfunc_end7-fgeu @@ -148,7 +148,7 @@ fgtu: # @fgtu i32.const $push1=, 140 i64.gt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end8: .size fgtu, .Lfunc_end8-fgtu @@ -165,7 +165,7 @@ fleu: # @fleu i32.const $push1=, 13 i64.gt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end9: .size fleu, .Lfunc_end9-fleu @@ -176,7 +176,7 @@ fleu: # @fleu .type main,@function main: # @main .result i32 - .local i32, i64, i32, i32, i32, i32, i64 + .local i32, i64, i32, i32, i32, i64, i32 # BB#0: # %entry i32.const $4=, correct_results i32.const $0=, 0 @@ -197,9 +197,9 @@ main: # @main i32.const $push49=, 13 i32.const $push48=, 140 i64.load $push47=, 0($2) - tee_local $push46=, $6=, $pop47 + tee_local $push46=, $5=, $pop47 i64.eq $push45=, $1, $pop46 - tee_local $push44=, $5=, $pop45 + tee_local $push44=, $6=, $pop45 i32.select $push1=, $pop49, $pop48, $pop44 i32.load $push2=, 0($4) i32.ne $push3=, $pop1, $pop2 @@ -208,7 +208,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push52=, 140 i32.const $push51=, 13 - i32.select $push4=, $pop52, $pop51, $5 + i32.select $push4=, $pop52, $pop51, $6 i32.const $push50=, 4 i32.add $push5=, $4, $pop50 i32.load $push6=, 0($pop5) @@ -218,8 +218,8 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push57=, 13 i32.const $push56=, 140 - i64.lt_s $push55=, $1, $6 - tee_local $push54=, $5=, $pop55 + i64.lt_s $push55=, $1, $5 + tee_local $push54=, $6=, $pop55 i32.select $push8=, $pop57, $pop56, $pop54 i32.const $push53=, 8 i32.add $push9=, $4, $pop53 @@ -230,7 +230,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push60=, 140 i32.const $push59=, 13 - i32.select $push12=, $pop60, $pop59, $5 + i32.select $push12=, $pop60, $pop59, $6 i32.const $push58=, 12 i32.add $push13=, $4, $pop58 i32.load $push14=, 0($pop13) @@ -240,8 +240,8 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push65=, 13 i32.const $push64=, 140 - i64.gt_s $push63=, $1, $6 - tee_local $push62=, $5=, $pop63 + i64.gt_s $push63=, $1, $5 + tee_local $push62=, $6=, $pop63 i32.select $push16=, $pop65, $pop64, $pop62 i32.const $push61=, 16 i32.add $push17=, $4, $pop61 @@ -252,7 +252,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push68=, 140 i32.const $push67=, 13 - i32.select $push20=, $pop68, $pop67, $5 + i32.select $push20=, $pop68, $pop67, $6 i32.const $push66=, 20 i32.add $push21=, $4, $pop66 i32.load $push22=, 0($pop21) @@ -262,8 +262,8 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push73=, 13 i32.const $push72=, 140 - i64.lt_u $push71=, $1, $6 - tee_local $push70=, $5=, $pop71 + i64.lt_u $push71=, $1, $5 + tee_local $push70=, $6=, $pop71 i32.select $push24=, $pop73, $pop72, $pop70 i32.const $push69=, 24 i32.add $push25=, $4, $pop69 @@ -274,7 +274,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push76=, 140 i32.const $push75=, 13 - i32.select $push28=, $pop76, $pop75, $5 + i32.select $push28=, $pop76, $pop75, $6 i32.const $push74=, 28 i32.add $push29=, $4, $pop74 i32.load $push30=, 0($pop29) @@ -284,8 +284,8 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push81=, 13 i32.const $push80=, 140 - i64.gt_u $push79=, $1, $6 - tee_local $push78=, $5=, $pop79 + i64.gt_u $push79=, $1, $5 + tee_local $push78=, $6=, $pop79 i32.select $push32=, $pop81, $pop80, $pop78 i32.const $push77=, 32 i32.add $push33=, $4, $pop77 @@ -296,7 +296,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push84=, 140 i32.const $push83=, 13 - i32.select $push36=, $pop84, $pop83, $5 + i32.select $push36=, $pop84, $pop83, $6 i32.const $push82=, 36 i32.add $push37=, $4, $pop82 i32.load $push38=, 0($pop37) @@ -304,22 +304,24 @@ main: # @main br_if 4, $pop39 # 4: down to label0 # BB#12: # %if.end50 # in Loop: Header=BB10_2 Depth=2 - i32.const $push88=, 40 - i32.add $4=, $4, $pop88 - i32.const $push87=, 1 - i32.add $3=, $3, $pop87 - i32.const $push86=, 8 - i32.add $2=, $2, $pop86 + i32.const $push90=, 40 + i32.add $4=, $4, $pop90 + i32.const $push89=, 8 + i32.add $2=, $2, $pop89 + i32.const $push88=, 1 + i32.add $push87=, $3, $pop88 + tee_local $push86=, $3=, $pop87 i32.const $push85=, 8 - i32.lt_s $push40=, $3, $pop85 + i32.lt_s $push40=, $pop86, $pop85 br_if 0, $pop40 # 0: up to label3 # BB#13: # %for.end # in Loop: Header=BB10_1 Depth=1 end_loop # label4: - i32.const $push90=, 1 - i32.add $0=, $0, $pop90 - i32.const $push89=, 8 - i32.lt_s $push41=, $0, $pop89 + i32.const $push94=, 1 + i32.add $push93=, $0, $pop94 + tee_local $push92=, $0=, $pop93 + i32.const $push91=, 8 + i32.lt_s $push41=, $pop92, $pop91 br_if 0, $pop41 # 0: up to label1 # BB#14: # %for.end53 end_loop # label2: diff --git a/test/torture-s/cmpsf-1.c.s b/test/torture-s/cmpsf-1.c.s index 4898729c3..28b874bd8 100644 --- a/test/torture-s/cmpsf-1.c.s +++ b/test/torture-s/cmpsf-1.c.s @@ -12,7 +12,7 @@ feq: # @feq i32.const $push1=, 140 f32.eq $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size feq, .Lfunc_end0-feq @@ -29,7 +29,7 @@ fne: # @fne i32.const $push1=, 140 f32.ne $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size fne, .Lfunc_end1-fne @@ -46,7 +46,7 @@ flt: # @flt i32.const $push1=, 140 f32.lt $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size flt, .Lfunc_end2-flt @@ -67,7 +67,7 @@ fge: # @fge i32.or $push3=, $pop2, $pop1 i32.or $push4=, $pop0, $pop3 i32.select $push7=, $pop6, $pop5, $pop4 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end3: .size fge, .Lfunc_end3-fge @@ -84,7 +84,7 @@ fgt: # @fgt i32.const $push1=, 140 f32.gt $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size fgt, .Lfunc_end4-fgt @@ -105,7 +105,7 @@ fle: # @fle i32.or $push3=, $pop2, $pop1 i32.or $push4=, $pop0, $pop3 i32.select $push7=, $pop6, $pop5, $pop4 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end5: .size fle, .Lfunc_end5-fle @@ -206,22 +206,24 @@ main: # @main br_if 4, $pop29 # 4: down to label0 # BB#8: # %if.end30 # in Loop: Header=BB6_2 Depth=2 - i32.const $push62=, 24 - i32.add $4=, $4, $pop62 - i32.const $push61=, 1 - i32.add $3=, $3, $pop61 - i32.const $push60=, 4 - i32.add $2=, $2, $pop60 + i32.const $push64=, 24 + i32.add $4=, $4, $pop64 + i32.const $push63=, 4 + i32.add $2=, $2, $pop63 + i32.const $push62=, 1 + i32.add $push61=, $3, $pop62 + tee_local $push60=, $3=, $pop61 i32.const $push59=, 8 - i32.lt_s $push30=, $3, $pop59 + i32.lt_s $push30=, $pop60, $pop59 br_if 0, $pop30 # 0: up to label3 # BB#9: # %for.end # in Loop: Header=BB6_1 Depth=1 end_loop # label4: - i32.const $push64=, 1 - i32.add $0=, $0, $pop64 - i32.const $push63=, 8 - i32.lt_s $push31=, $0, $pop63 + i32.const $push68=, 1 + i32.add $push67=, $0, $pop68 + tee_local $push66=, $0=, $pop67 + i32.const $push65=, 8 + i32.lt_s $push31=, $pop66, $pop65 br_if 0, $pop31 # 0: up to label1 # BB#10: # %for.end33 end_loop # label2: diff --git a/test/torture-s/cmpsi-1.c.s b/test/torture-s/cmpsi-1.c.s index 1e70d2081..50e057831 100644 --- a/test/torture-s/cmpsi-1.c.s +++ b/test/torture-s/cmpsi-1.c.s @@ -56,7 +56,8 @@ dummy: # @dummy .result i32 .local i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size dummy, .Lfunc_end2-dummy diff --git a/test/torture-s/cmpsi-2.c.s b/test/torture-s/cmpsi-2.c.s index 321bccd88..d964473e9 100644 --- a/test/torture-s/cmpsi-2.c.s +++ b/test/torture-s/cmpsi-2.c.s @@ -12,7 +12,7 @@ feq: # @feq i32.const $push1=, 140 i32.eq $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size feq, .Lfunc_end0-feq @@ -29,7 +29,7 @@ fne: # @fne i32.const $push1=, 13 i32.eq $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size fne, .Lfunc_end1-fne @@ -46,7 +46,7 @@ flt: # @flt i32.const $push1=, 140 i32.lt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size flt, .Lfunc_end2-flt @@ -63,7 +63,7 @@ fge: # @fge i32.const $push1=, 13 i32.lt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size fge, .Lfunc_end3-fge @@ -80,7 +80,7 @@ fgt: # @fgt i32.const $push1=, 140 i32.gt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size fgt, .Lfunc_end4-fgt @@ -97,7 +97,7 @@ fle: # @fle i32.const $push1=, 13 i32.gt_s $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size fle, .Lfunc_end5-fle @@ -114,7 +114,7 @@ fltu: # @fltu i32.const $push1=, 140 i32.lt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end6: .size fltu, .Lfunc_end6-fltu @@ -131,7 +131,7 @@ fgeu: # @fgeu i32.const $push1=, 13 i32.lt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end7: .size fgeu, .Lfunc_end7-fgeu @@ -148,7 +148,7 @@ fgtu: # @fgtu i32.const $push1=, 140 i32.gt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end8: .size fgtu, .Lfunc_end8-fgtu @@ -165,7 +165,7 @@ fleu: # @fleu i32.const $push1=, 13 i32.gt_u $push0=, $0, $1 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end9: .size fleu, .Lfunc_end9-fleu @@ -197,9 +197,9 @@ main: # @main i32.const $push49=, 13 i32.const $push48=, 140 i32.load $push47=, 0($2) - tee_local $push46=, $6=, $pop47 + tee_local $push46=, $5=, $pop47 i32.eq $push45=, $1, $pop46 - tee_local $push44=, $5=, $pop45 + tee_local $push44=, $6=, $pop45 i32.select $push1=, $pop49, $pop48, $pop44 i32.load $push2=, 0($4) i32.ne $push3=, $pop1, $pop2 @@ -208,7 +208,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push52=, 140 i32.const $push51=, 13 - i32.select $push4=, $pop52, $pop51, $5 + i32.select $push4=, $pop52, $pop51, $6 i32.const $push50=, 4 i32.add $push5=, $4, $pop50 i32.load $push6=, 0($pop5) @@ -218,8 +218,8 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push57=, 13 i32.const $push56=, 140 - i32.lt_s $push55=, $1, $6 - tee_local $push54=, $5=, $pop55 + i32.lt_s $push55=, $1, $5 + tee_local $push54=, $6=, $pop55 i32.select $push8=, $pop57, $pop56, $pop54 i32.const $push53=, 8 i32.add $push9=, $4, $pop53 @@ -230,7 +230,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push60=, 140 i32.const $push59=, 13 - i32.select $push12=, $pop60, $pop59, $5 + i32.select $push12=, $pop60, $pop59, $6 i32.const $push58=, 12 i32.add $push13=, $4, $pop58 i32.load $push14=, 0($pop13) @@ -240,8 +240,8 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push65=, 13 i32.const $push64=, 140 - i32.gt_s $push63=, $1, $6 - tee_local $push62=, $5=, $pop63 + i32.gt_s $push63=, $1, $5 + tee_local $push62=, $6=, $pop63 i32.select $push16=, $pop65, $pop64, $pop62 i32.const $push61=, 16 i32.add $push17=, $4, $pop61 @@ -252,7 +252,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push68=, 140 i32.const $push67=, 13 - i32.select $push20=, $pop68, $pop67, $5 + i32.select $push20=, $pop68, $pop67, $6 i32.const $push66=, 20 i32.add $push21=, $4, $pop66 i32.load $push22=, 0($pop21) @@ -262,8 +262,8 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push73=, 13 i32.const $push72=, 140 - i32.lt_u $push71=, $1, $6 - tee_local $push70=, $5=, $pop71 + i32.lt_u $push71=, $1, $5 + tee_local $push70=, $6=, $pop71 i32.select $push24=, $pop73, $pop72, $pop70 i32.const $push69=, 24 i32.add $push25=, $4, $pop69 @@ -274,7 +274,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push76=, 140 i32.const $push75=, 13 - i32.select $push28=, $pop76, $pop75, $5 + i32.select $push28=, $pop76, $pop75, $6 i32.const $push74=, 28 i32.add $push29=, $4, $pop74 i32.load $push30=, 0($pop29) @@ -284,8 +284,8 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push81=, 13 i32.const $push80=, 140 - i32.gt_u $push79=, $1, $6 - tee_local $push78=, $6=, $pop79 + i32.gt_u $push79=, $1, $5 + tee_local $push78=, $5=, $pop79 i32.select $push32=, $pop81, $pop80, $pop78 i32.const $push77=, 32 i32.add $push33=, $4, $pop77 @@ -296,7 +296,7 @@ main: # @main # in Loop: Header=BB10_2 Depth=2 i32.const $push84=, 140 i32.const $push83=, 13 - i32.select $push36=, $pop84, $pop83, $6 + i32.select $push36=, $pop84, $pop83, $5 i32.const $push82=, 36 i32.add $push37=, $4, $pop82 i32.load $push38=, 0($pop37) @@ -304,22 +304,24 @@ main: # @main br_if 4, $pop39 # 4: down to label0 # BB#12: # %if.end50 # in Loop: Header=BB10_2 Depth=2 - i32.const $push88=, 40 - i32.add $4=, $4, $pop88 - i32.const $push87=, 1 - i32.add $3=, $3, $pop87 - i32.const $push86=, 4 - i32.add $2=, $2, $pop86 + i32.const $push90=, 40 + i32.add $4=, $4, $pop90 + i32.const $push89=, 4 + i32.add $2=, $2, $pop89 + i32.const $push88=, 1 + i32.add $push87=, $3, $pop88 + tee_local $push86=, $3=, $pop87 i32.const $push85=, 8 - i32.lt_s $push40=, $3, $pop85 + i32.lt_s $push40=, $pop86, $pop85 br_if 0, $pop40 # 0: up to label3 # BB#13: # %for.end # in Loop: Header=BB10_1 Depth=1 end_loop # label4: - i32.const $push90=, 1 - i32.add $0=, $0, $pop90 - i32.const $push89=, 8 - i32.lt_s $push41=, $0, $pop89 + i32.const $push94=, 1 + i32.add $push93=, $0, $pop94 + tee_local $push92=, $0=, $pop93 + i32.const $push91=, 8 + i32.lt_s $push41=, $pop92, $pop91 br_if 0, $pop41 # 0: up to label1 # BB#14: # %for.end53 end_loop # label2: diff --git a/test/torture-s/compare-1.c.s b/test/torture-s/compare-1.c.s index 45b9d5571..9de5c5ba2 100644 --- a/test/torture-s/compare-1.c.s +++ b/test/torture-s/compare-1.c.s @@ -109,7 +109,7 @@ ine: # @ine br_if 1, $pop2 # 1: down to label11 .LBB1_4: # %if.end6 end_block # label12: - return $0 + return $2 .LBB1_5: # %if.then2 end_block # label11: call abort@FUNCTION @@ -141,7 +141,7 @@ ilt: # @ilt br_if 1, $2 # 1: down to label14 .LBB2_4: # %if.end6 end_block # label15: - return $0 + return $2 .LBB2_5: # %if.then4 end_block # label14: call abort@FUNCTION @@ -175,7 +175,7 @@ ile: # @ile br_if 1, $pop2 # 1: down to label17 .LBB3_4: # %if.end6 end_block # label18: - return $0 + return $2 .LBB3_5: # %if.then2 end_block # label17: call abort@FUNCTION @@ -207,7 +207,7 @@ igt: # @igt br_if 1, $2 # 1: down to label20 .LBB4_4: # %if.end6 end_block # label21: - return $0 + return $2 .LBB4_5: # %if.then4 end_block # label20: call abort@FUNCTION @@ -241,7 +241,7 @@ ige: # @ige br_if 1, $pop2 # 1: down to label23 .LBB5_4: # %if.end6 end_block # label24: - return $0 + return $2 .LBB5_5: # %if.then2 end_block # label23: call abort@FUNCTION @@ -258,7 +258,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size main, .Lfunc_end6-main diff --git a/test/torture-s/compare-2.c.s b/test/torture-s/compare-2.c.s index 322374bc2..0ee0834d2 100644 --- a/test/torture-s/compare-2.c.s +++ b/test/torture-s/compare-2.c.s @@ -8,10 +8,10 @@ foo: # @foo .param i32, i32 .result i32 # BB#0: # %entry - i32.ge_u $push0=, $0, $1 - i32.le_s $push1=, $0, $1 - i32.and $push2=, $pop0, $pop1 - return $pop2 + i32.ge_u $push1=, $0, $1 + i32.le_s $push0=, $0, $1 + i32.and $push2=, $pop1, $pop0 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -24,7 +24,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/compare-3.c.s b/test/torture-s/compare-3.c.s index 2f7c24be0..3ad24ca9d 100644 --- a/test/torture-s/compare-3.c.s +++ b/test/torture-s/compare-3.c.s @@ -7,7 +7,7 @@ test1: # @test1 .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -19,7 +19,7 @@ test1: # @test1 test2: # @test2 .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -31,7 +31,7 @@ test2: # @test2 test3: # @test3 .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -43,7 +43,7 @@ test3: # @test3 test4: # @test4 .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -55,7 +55,7 @@ test4: # @test4 test5: # @test5 .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end4: .size test5, .Lfunc_end4-test5 @@ -67,7 +67,7 @@ test5: # @test5 test6: # @test6 .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end5: .size test6, .Lfunc_end5-test6 @@ -79,7 +79,7 @@ test6: # @test6 all_tests: # @all_tests .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end6: .size all_tests, .Lfunc_end6-all_tests @@ -92,7 +92,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end7: .size main, .Lfunc_end7-main diff --git a/test/torture-s/complex-1.c.s b/test/torture-s/complex-1.c.s index dfb0c08da..6130c51d3 100644 --- a/test/torture-s/complex-1.c.s +++ b/test/torture-s/complex-1.c.s @@ -9,7 +9,7 @@ g0: # @g0 .result f64 # BB#0: # %entry f64.const $push0=, 0x1p0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g0, .Lfunc_end0-g0 @@ -23,7 +23,7 @@ g1: # @g1 .result f64 # BB#0: # %entry f64.const $push0=, -0x1p0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size g1, .Lfunc_end1-g1 @@ -37,7 +37,7 @@ g2: # @g2 .result f64 # BB#0: # %entry f64.const $push0=, 0x0p0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size g2, .Lfunc_end2-g2 @@ -49,11 +49,11 @@ g2: # @g2 xcexp: # @xcexp .param i32, i32 # BB#0: # %entry - i64.const $push0=, -4616189618054758400 - i64.store $drop=, 0($0), $pop0 - i64.const $push1=, 0 - i64.store $drop=, 8($0), $pop1 - return + i64.const $push0=, 0 + i64.store $drop=, 8($0), $pop0 + i64.const $push1=, -4616189618054758400 + i64.store $drop=, 0($0), $pop1 + # fallthrough-return .endfunc .Lfunc_end3: .size xcexp, .Lfunc_end3-xcexp diff --git a/test/torture-s/complex-2.c.s b/test/torture-s/complex-2.c.s index 0906685c2..98519ef88 100644 --- a/test/torture-s/complex-2.c.s +++ b/test/torture-s/complex-2.c.s @@ -6,17 +6,16 @@ .type f,@function f: # @f .param i32, i32, i32 - .local f64, f64 # BB#0: # %entry - f64.load $3=, 8($2) - f64.load $4=, 8($1) - f64.load $push0=, 0($2) - f64.load $push1=, 0($1) - f64.add $push2=, $pop0, $pop1 + f64.load $push1=, 0($2) + f64.load $push0=, 0($1) + f64.add $push2=, $pop1, $pop0 f64.store $drop=, 0($0), $pop2 - f64.add $push3=, $3, $4 - f64.store $drop=, 8($0), $pop3 - return + f64.load $push4=, 8($2) + f64.load $push3=, 8($1) + f64.add $push5=, $pop4, $pop3 + f64.store $drop=, 8($0), $pop5 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/complex-3.c.s b/test/torture-s/complex-3.c.s index c7fe89887..07c316dcf 100644 --- a/test/torture-s/complex-3.c.s +++ b/test/torture-s/complex-3.c.s @@ -7,9 +7,9 @@ f: # @f .param i32, f32, f32 # BB#0: # %entry - f32.store $drop=, 0($0), $1 f32.store $drop=, 4($0), $2 - return + f32.store $drop=, 0($0), $1 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/complex-5.c.s b/test/torture-s/complex-5.c.s index a4f5490d5..e52c552a8 100644 --- a/test/torture-s/complex-5.c.s +++ b/test/torture-s/complex-5.c.s @@ -6,17 +6,16 @@ .type p,@function p: # @p .param i32, i32, i32 - .local f32, f32 # BB#0: # %entry - f32.load $3=, 4($1) - f32.load $4=, 4($2) - f32.load $push0=, 0($1) - f32.load $push1=, 0($2) - f32.add $push2=, $pop0, $pop1 + f32.load $push1=, 0($1) + f32.load $push0=, 0($2) + f32.add $push2=, $pop1, $pop0 f32.store $drop=, 0($0), $pop2 - f32.add $push3=, $3, $4 - f32.store $drop=, 4($0), $pop3 - return + f32.load $push4=, 4($1) + f32.load $push3=, 4($2) + f32.add $push5=, $pop4, $pop3 + f32.store $drop=, 4($0), $pop5 + # fallthrough-return .endfunc .Lfunc_end0: .size p, .Lfunc_end0-p @@ -27,59 +26,61 @@ p: # @p .type main,@function main: # @main .result i32 - .local i32, f32, f32, f32, f32, f32 + .local i32, f32, f32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) - i32.const $push17=, 16 - i32.sub $push21=, $pop16, $pop17 - i32.store $0=, 0($pop18), $pop21 + i32.const $push22=, 0 + i32.const $push19=, 0 + i32.load $push20=, __stack_pointer($pop19) + i32.const $push21=, 16 + i32.sub $push25=, $pop20, $pop21 + i32.store $push41=, __stack_pointer($pop22), $pop25 + tee_local $push40=, $0=, $pop41 + i32.const $push23=, 8 + i32.add $push24=, $pop40, $pop23 + f32.const $push9=, 0x1p0 + f32.const $push8=, 0x0p0 + i32.const $push39=, 0 + i32.const $push38=, 0 + f32.load $push37=, x($pop38) + tee_local $push36=, $1=, $pop37 + i32.const $push35=, 0 + f32.load $push4=, y($pop35) + f32.add $push5=, $pop36, $pop4 + f32.store $push0=, z($pop39), $pop5 + i32.const $push34=, 0 i32.const $push33=, 0 - f32.load $1=, x+4($pop33) - i32.const $push32=, 0 - f32.load $2=, y+4($pop32) - i32.const $push19=, 8 - i32.add $push20=, $0, $pop19 - f32.const $push8=, 0x1p0 - f32.const $push7=, 0x0p0 - i32.const $push31=, 0 + f32.load $push32=, x+4($pop33) + tee_local $push31=, $2=, $pop32 i32.const $push30=, 0 - f32.load $push29=, x($pop30) - tee_local $push28=, $5=, $pop29 + f32.load $push6=, y+4($pop30) + f32.add $push7=, $pop31, $pop6 + f32.store $push1=, z+4($pop34), $pop7 + call __divsc3@FUNCTION, $pop24, $pop9, $pop8, $pop0, $pop1 + i32.const $push29=, 0 + f32.load $push10=, 8($0) + f32.add $push11=, $1, $pop10 + f32.store $drop=, y($pop29), $pop11 + i32.const $push28=, 0 + f32.load $push12=, 12($0) + f32.add $push13=, $2, $pop12 + f32.store $drop=, y+4($pop28), $pop13 + block i32.const $push27=, 0 - f32.load $push4=, y($pop27) - f32.add $push5=, $pop28, $pop4 - f32.store $push0=, z($pop31), $pop5 + f32.load $push15=, z($pop27) i32.const $push26=, 0 - f32.add $push6=, $1, $2 - f32.store $push1=, z+4($pop26), $pop6 - call __divsc3@FUNCTION, $pop20, $pop8, $pop7, $pop0, $pop1 - i32.const $push25=, 0 - f32.load $2=, z($pop25) - i32.const $push24=, 0 - f32.load $4=, w($pop24) - f32.load $3=, 12($0) - i32.const $push23=, 0 - f32.load $push9=, 8($0) - f32.add $push10=, $5, $pop9 - f32.store $drop=, y($pop23), $pop10 - i32.const $push22=, 0 - f32.add $push11=, $1, $3 - f32.store $drop=, y+4($pop22), $pop11 - block - f32.ne $push12=, $2, $4 - br_if 0, $pop12 # 0: down to label0 + f32.load $push14=, w($pop26) + f32.ne $push16=, $pop15, $pop14 + br_if 0, $pop16 # 0: down to label0 # BB#1: # %entry - i32.const $push35=, 0 - f32.load $push2=, z+4($pop35) - i32.const $push34=, 0 - f32.load $push3=, w+4($pop34) - f32.ne $push13=, $pop2, $pop3 - br_if 0, $pop13 # 0: down to label0 + i32.const $push43=, 0 + f32.load $push2=, z+4($pop43) + i32.const $push42=, 0 + f32.load $push3=, w+4($pop42) + f32.ne $push17=, $pop2, $pop3 + br_if 0, $pop17 # 0: down to label0 # BB#2: # %if.end - i32.const $push14=, 0 - call exit@FUNCTION, $pop14 + i32.const $push18=, 0 + call exit@FUNCTION, $pop18 unreachable .LBB1_3: # %if.then end_block # label0: diff --git a/test/torture-s/complex-6.c.s b/test/torture-s/complex-6.c.s index 3f8d5cd9f..db92dda5a 100644 --- a/test/torture-s/complex-6.c.s +++ b/test/torture-s/complex-6.c.s @@ -6,14 +6,13 @@ .type ctest_float,@function ctest_float: # @ctest_float .param i32, i32 - .local f32 # BB#0: # %entry - f32.load $2=, 4($1) i32.load $push0=, 0($1) i32.store $drop=, 0($0), $pop0 - f32.neg $push1=, $2 - f32.store $drop=, 4($0), $pop1 - return + f32.load $push1=, 4($1) + f32.neg $push2=, $pop1 + f32.store $drop=, 4($0), $pop2 + # fallthrough-return .endfunc .Lfunc_end0: .size ctest_float, .Lfunc_end0-ctest_float @@ -24,7 +23,7 @@ ctest_float: # @ctest_float .type test_float,@function test_float: # @test_float # BB#0: # %if.end - return + # fallthrough-return .endfunc .Lfunc_end1: .size test_float, .Lfunc_end1-test_float @@ -35,14 +34,13 @@ test_float: # @test_float .type ctest_double,@function ctest_double: # @ctest_double .param i32, i32 - .local f64 # BB#0: # %entry - f64.load $2=, 8($1) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - f64.neg $push1=, $2 - f64.store $drop=, 8($0), $pop1 - return + f64.load $push1=, 8($1) + f64.neg $push2=, $pop1 + f64.store $drop=, 8($0), $pop2 + # fallthrough-return .endfunc .Lfunc_end2: .size ctest_double, .Lfunc_end2-ctest_double @@ -53,7 +51,7 @@ ctest_double: # @ctest_double .type test_double,@function test_double: # @test_double # BB#0: # %if.end - return + # fallthrough-return .endfunc .Lfunc_end3: .size test_double, .Lfunc_end3-test_double @@ -64,42 +62,43 @@ test_double: # @test_double .type ctest_long_double,@function ctest_long_double: # @ctest_long_double .param i32, i32 - .local i32, i64, i64, i64, i64 + .local i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) - i32.const $push13=, 16 - i32.sub $push18=, $pop12, $pop13 - i32.store $2=, 0($pop14), $pop18 - i32.const $push0=, 8 + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) + i32.const $push17=, 16 + i32.sub $push22=, $pop16, $pop17 + i32.store $push27=, __stack_pointer($pop18), $pop22 + tee_local $push26=, $2=, $pop27 + i64.const $push5=, 0 + i64.const $push4=, -9223372036854775808 + i64.load $push3=, 16($1) + i32.const $push0=, 24 i32.add $push1=, $1, $pop0 - i64.load $3=, 0($pop1) - i64.load $4=, 0($1) - i64.const $push7=, 0 - i64.const $push6=, -9223372036854775808 - i64.load $push5=, 16($1) - i32.const $push2=, 24 - i32.add $push3=, $1, $pop2 - i64.load $push4=, 0($pop3) - call __subtf3@FUNCTION, $2, $pop7, $pop6, $pop5, $pop4 - i32.const $push21=, 8 - i32.add $push8=, $2, $pop21 - i64.load $5=, 0($pop8) - i64.load $6=, 0($2) - i64.store $drop=, 0($0), $4 - i32.const $push20=, 8 - i32.add $push9=, $0, $pop20 - i64.store $drop=, 0($pop9), $3 - i32.const $push19=, 24 - i32.add $push10=, $0, $pop19 - i64.store $drop=, 0($pop10), $5 - i64.store $drop=, 16($0), $6 - i32.const $push17=, __stack_pointer - i32.const $push15=, 16 - i32.add $push16=, $2, $pop15 - i32.store $drop=, 0($pop17), $pop16 - return + i64.load $push2=, 0($pop1) + call __subtf3@FUNCTION, $pop26, $pop5, $pop4, $pop3, $pop2 + i64.load $push6=, 0($1) + i64.store $drop=, 0($0), $pop6 + i32.const $push7=, 8 + i32.add $push8=, $0, $pop7 + i32.const $push25=, 8 + i32.add $push9=, $1, $pop25 + i64.load $push10=, 0($pop9) + i64.store $drop=, 0($pop8), $pop10 + i32.const $push24=, 24 + i32.add $push11=, $0, $pop24 + i32.const $push23=, 8 + i32.add $push12=, $2, $pop23 + i64.load $push13=, 0($pop12) + i64.store $drop=, 0($pop11), $pop13 + i64.load $push14=, 0($2) + i64.store $drop=, 16($0), $pop14 + i32.const $push21=, 0 + i32.const $push19=, 16 + i32.add $push20=, $2, $pop19 + i32.store $drop=, __stack_pointer($pop21), $pop20 + # fallthrough-return .endfunc .Lfunc_end4: .size ctest_long_double, .Lfunc_end4-ctest_long_double @@ -110,7 +109,7 @@ ctest_long_double: # @ctest_long_double .type test_long_double,@function test_long_double: # @test_long_double # BB#0: # %if.end - return + # fallthrough-return .endfunc .Lfunc_end5: .size test_long_double, .Lfunc_end5-test_long_double @@ -121,15 +120,14 @@ test_long_double: # @test_long_double .type ctest_int,@function ctest_int: # @ctest_int .param i32, i32 - .local i32 # BB#0: # %entry - i32.load $2=, 4($1) i32.load $push0=, 0($1) i32.store $drop=, 0($0), $pop0 - i32.const $push1=, 0 - i32.sub $push2=, $pop1, $2 - i32.store $drop=, 4($0), $pop2 - return + i32.const $push2=, 0 + i32.load $push1=, 4($1) + i32.sub $push3=, $pop2, $pop1 + i32.store $drop=, 4($0), $pop3 + # fallthrough-return .endfunc .Lfunc_end6: .size ctest_int, .Lfunc_end6-ctest_int @@ -140,7 +138,7 @@ ctest_int: # @ctest_int .type test_int,@function test_int: # @test_int # BB#0: # %if.end - return + # fallthrough-return .endfunc .Lfunc_end7: .size test_int, .Lfunc_end7-test_int @@ -151,15 +149,14 @@ test_int: # @test_int .type ctest_long_int,@function ctest_long_int: # @ctest_long_int .param i32, i32 - .local i32 # BB#0: # %entry - i32.load $2=, 4($1) i32.load $push0=, 0($1) i32.store $drop=, 0($0), $pop0 - i32.const $push1=, 0 - i32.sub $push2=, $pop1, $2 - i32.store $drop=, 4($0), $pop2 - return + i32.const $push2=, 0 + i32.load $push1=, 4($1) + i32.sub $push3=, $pop2, $pop1 + i32.store $drop=, 4($0), $pop3 + # fallthrough-return .endfunc .Lfunc_end8: .size ctest_long_int, .Lfunc_end8-ctest_long_int @@ -170,7 +167,7 @@ ctest_long_int: # @ctest_long_int .type test_long_int,@function test_long_int: # @test_long_int # BB#0: # %if.end - return + # fallthrough-return .endfunc .Lfunc_end9: .size test_long_int, .Lfunc_end9-test_long_int @@ -185,7 +182,7 @@ main: # @main i32.const $push1=, 0 i32.const $push2=, 0 i32.store $push0=, err($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end10: .size main, .Lfunc_end10-main diff --git a/test/torture-s/complex-7.c.s b/test/torture-s/complex-7.c.s index 8bf0489ad..7c0390fcc 100644 --- a/test/torture-s/complex-7.c.s +++ b/test/torture-s/complex-7.c.s @@ -8,65 +8,65 @@ check_float: # @check_float .param i32, i32, i32, i32, i32, i32 .local f32, f32, f32, f32 # BB#0: # %entry - f32.load $8=, 0($1) - f32.load $6=, 4($1) i32.const $push0=, 0 - f32.load $9=, f1($pop0) + f32.load $8=, f1($pop0) + f32.load $9=, 0($1) + f32.load $6=, 4($1) i32.const $push15=, 0 f32.load $7=, f1+4($pop15) block - f32.ne $push1=, $8, $9 + f32.ne $push1=, $9, $8 br_if 0, $pop1 # 0: down to label0 # BB#1: # %entry f32.ne $push2=, $6, $7 br_if 0, $pop2 # 0: down to label0 # BB#2: # %lor.lhs.false - f32.load $8=, 0($2) - f32.load $6=, 4($2) i32.const $push3=, 0 - f32.load $9=, f2($pop3) + f32.load $8=, f2($pop3) + f32.load $9=, 0($2) + f32.load $6=, 4($2) i32.const $push16=, 0 f32.load $7=, f2+4($pop16) - f32.ne $push4=, $8, $9 + f32.ne $push4=, $9, $8 br_if 0, $pop4 # 0: down to label0 # BB#3: # %lor.lhs.false f32.ne $push5=, $6, $7 br_if 0, $pop5 # 0: down to label0 # BB#4: # %lor.lhs.false4 - f32.load $8=, 0($3) - f32.load $9=, 4($3) i32.const $push6=, 0 - f32.load $6=, f3($pop6) + f32.load $8=, f3($pop6) + f32.load $9=, 0($3) + f32.load $6=, 4($3) i32.const $push17=, 0 f32.load $7=, f3+4($pop17) - f32.ne $push7=, $8, $6 + f32.ne $push7=, $9, $8 br_if 0, $pop7 # 0: down to label0 # BB#5: # %lor.lhs.false4 - f32.ne $push8=, $9, $7 + f32.ne $push8=, $6, $7 br_if 0, $pop8 # 0: down to label0 # BB#6: # %lor.lhs.false8 - f32.load $8=, 0($4) - f32.load $6=, 4($4) i32.const $push9=, 0 - f32.load $9=, f4($pop9) + f32.load $8=, f4($pop9) + f32.load $9=, 0($4) + f32.load $6=, 4($4) i32.const $push18=, 0 f32.load $7=, f4+4($pop18) - f32.ne $push10=, $8, $9 + f32.ne $push10=, $9, $8 br_if 0, $pop10 # 0: down to label0 # BB#7: # %lor.lhs.false8 f32.ne $push11=, $6, $7 br_if 0, $pop11 # 0: down to label0 # BB#8: # %lor.lhs.false12 - f32.load $8=, 0($5) - f32.load $9=, 4($5) i32.const $push12=, 0 - f32.load $6=, f5($pop12) + f32.load $8=, f5($pop12) + f32.load $9=, 0($5) + f32.load $6=, 4($5) i32.const $push19=, 0 f32.load $7=, f5+4($pop19) - f32.ne $push13=, $8, $6 + f32.ne $push13=, $9, $8 br_if 0, $pop13 # 0: down to label0 # BB#9: # %lor.lhs.false12 - f32.ne $push14=, $9, $7 + f32.ne $push14=, $6, $7 br_if 0, $pop14 # 0: down to label0 # BB#10: # %if.end return @@ -86,65 +86,65 @@ check_double: # @check_double .param i32, i32, i32, i32, i32, i32 .local f64, f64, f64, f64 # BB#0: # %entry - f64.load $8=, 0($1) - f64.load $6=, 8($1) i32.const $push0=, 0 - f64.load $9=, d1($pop0) + f64.load $8=, d1($pop0) + f64.load $9=, 0($1) + f64.load $6=, 8($1) i32.const $push15=, 0 f64.load $7=, d1+8($pop15) block - f64.ne $push1=, $8, $9 + f64.ne $push1=, $9, $8 br_if 0, $pop1 # 0: down to label1 # BB#1: # %entry f64.ne $push2=, $6, $7 br_if 0, $pop2 # 0: down to label1 # BB#2: # %lor.lhs.false - f64.load $8=, 0($2) - f64.load $6=, 8($2) i32.const $push3=, 0 - f64.load $9=, d2($pop3) + f64.load $8=, d2($pop3) + f64.load $9=, 0($2) + f64.load $6=, 8($2) i32.const $push16=, 0 f64.load $7=, d2+8($pop16) - f64.ne $push4=, $8, $9 + f64.ne $push4=, $9, $8 br_if 0, $pop4 # 0: down to label1 # BB#3: # %lor.lhs.false f64.ne $push5=, $6, $7 br_if 0, $pop5 # 0: down to label1 # BB#4: # %lor.lhs.false4 - f64.load $8=, 0($3) - f64.load $9=, 8($3) i32.const $push6=, 0 - f64.load $6=, d3($pop6) + f64.load $8=, d3($pop6) + f64.load $9=, 0($3) + f64.load $6=, 8($3) i32.const $push17=, 0 f64.load $7=, d3+8($pop17) - f64.ne $push7=, $8, $6 + f64.ne $push7=, $9, $8 br_if 0, $pop7 # 0: down to label1 # BB#5: # %lor.lhs.false4 - f64.ne $push8=, $9, $7 + f64.ne $push8=, $6, $7 br_if 0, $pop8 # 0: down to label1 # BB#6: # %lor.lhs.false8 - f64.load $8=, 0($4) - f64.load $6=, 8($4) i32.const $push9=, 0 - f64.load $9=, d4($pop9) + f64.load $8=, d4($pop9) + f64.load $9=, 0($4) + f64.load $6=, 8($4) i32.const $push18=, 0 f64.load $7=, d4+8($pop18) - f64.ne $push10=, $8, $9 + f64.ne $push10=, $9, $8 br_if 0, $pop10 # 0: down to label1 # BB#7: # %lor.lhs.false8 f64.ne $push11=, $6, $7 br_if 0, $pop11 # 0: down to label1 # BB#8: # %lor.lhs.false12 - f64.load $8=, 0($5) - f64.load $9=, 8($5) i32.const $push12=, 0 - f64.load $6=, d5($pop12) + f64.load $8=, d5($pop12) + f64.load $9=, 0($5) + f64.load $6=, 8($5) i32.const $push19=, 0 f64.load $7=, d5+8($pop19) - f64.ne $push13=, $8, $6 + f64.ne $push13=, $9, $8 br_if 0, $pop13 # 0: down to label1 # BB#9: # %lor.lhs.false12 - f64.ne $push14=, $9, $7 + f64.ne $push14=, $6, $7 br_if 0, $pop14 # 0: down to label1 # BB#10: # %if.end return @@ -162,117 +162,117 @@ check_double: # @check_double .type check_long_double,@function check_long_double: # @check_long_double .param i32, i32, i32, i32, i32, i32 - .local i64, i64, i64, i64, i64, i64, i64, i64 + .local i64, i64, i64, i64, i32 # BB#0: # %entry i32.const $push0=, 8 i32.add $push1=, $1, $pop0 - i64.load $10=, 0($pop1) - i32.const $push2=, 24 - i32.add $push3=, $1, $pop2 - i64.load $7=, 0($pop3) - i64.load $11=, 0($1) - i64.load $6=, 16($1) - i32.const $push4=, 0 - i64.load $12=, ld1+8($pop4) + i64.load $7=, 0($pop1) + i32.const $push2=, 0 + i64.load $8=, ld1+8($pop2) i32.const $push37=, 0 - i64.load $13=, ld1($pop37) + i64.load $9=, ld1($pop37) + i64.load $push3=, 0($1) + i32.call $10=, __netf2@FUNCTION, $pop3, $7, $9, $8 + i32.const $push4=, 24 + i32.add $push5=, $1, $pop4 + i64.load $7=, 0($pop5) + i64.load $8=, 16($1) i32.const $push36=, 0 i64.load $9=, ld1+24($pop36) i32.const $push35=, 0 - i64.load $8=, ld1+16($pop35) + i64.load $6=, ld1+16($pop35) block - i32.call $push5=, __netf2@FUNCTION, $11, $10, $13, $12 - br_if 0, $pop5 # 0: down to label2 + br_if 0, $10 # 0: down to label2 # BB#1: # %entry - i32.call $push6=, __netf2@FUNCTION, $6, $7, $8, $9 + i32.call $push6=, __netf2@FUNCTION, $8, $7, $6, $9 br_if 0, $pop6 # 0: down to label2 # BB#2: # %lor.lhs.false i32.const $push7=, 8 i32.add $push8=, $2, $pop7 - i64.load $10=, 0($pop8) - i32.const $push9=, 24 - i32.add $push10=, $2, $pop9 - i64.load $7=, 0($pop10) - i64.load $11=, 0($2) - i64.load $6=, 16($2) - i32.const $push11=, 0 - i64.load $12=, ld2+8($pop11) + i64.load $7=, 0($pop8) + i32.const $push9=, 0 + i64.load $8=, ld2+8($pop9) i32.const $push40=, 0 - i64.load $13=, ld2($pop40) + i64.load $9=, ld2($pop40) + i64.load $push10=, 0($2) + i32.call $1=, __netf2@FUNCTION, $pop10, $7, $9, $8 + i32.const $push11=, 24 + i32.add $push12=, $2, $pop11 + i64.load $7=, 0($pop12) + i64.load $8=, 16($2) i32.const $push39=, 0 i64.load $9=, ld2+24($pop39) i32.const $push38=, 0 - i64.load $8=, ld2+16($pop38) - i32.call $push12=, __netf2@FUNCTION, $11, $10, $13, $12 - br_if 0, $pop12 # 0: down to label2 + i64.load $6=, ld2+16($pop38) + br_if 0, $1 # 0: down to label2 # BB#3: # %lor.lhs.false - i32.call $push13=, __netf2@FUNCTION, $6, $7, $8, $9 + i32.call $push13=, __netf2@FUNCTION, $8, $7, $6, $9 br_if 0, $pop13 # 0: down to label2 # BB#4: # %lor.lhs.false4 i32.const $push14=, 8 i32.add $push15=, $3, $pop14 - i64.load $10=, 0($pop15) - i32.const $push16=, 24 - i32.add $push17=, $3, $pop16 - i64.load $11=, 0($pop17) - i64.load $12=, 0($3) - i64.load $13=, 16($3) - i32.const $push18=, 0 - i64.load $7=, ld3+8($pop18) + i64.load $7=, 0($pop15) + i32.const $push16=, 0 + i64.load $8=, ld3+8($pop16) i32.const $push43=, 0 - i64.load $6=, ld3($pop43) + i64.load $9=, ld3($pop43) + i64.load $push17=, 0($3) + i32.call $1=, __netf2@FUNCTION, $pop17, $7, $9, $8 + i32.const $push18=, 24 + i32.add $push19=, $3, $pop18 + i64.load $7=, 0($pop19) + i64.load $8=, 16($3) i32.const $push42=, 0 i64.load $9=, ld3+24($pop42) i32.const $push41=, 0 - i64.load $8=, ld3+16($pop41) - i32.call $push19=, __netf2@FUNCTION, $12, $10, $6, $7 - br_if 0, $pop19 # 0: down to label2 + i64.load $6=, ld3+16($pop41) + br_if 0, $1 # 0: down to label2 # BB#5: # %lor.lhs.false4 - i32.call $push20=, __netf2@FUNCTION, $13, $11, $8, $9 + i32.call $push20=, __netf2@FUNCTION, $8, $7, $6, $9 br_if 0, $pop20 # 0: down to label2 # BB#6: # %lor.lhs.false8 i32.const $push21=, 8 i32.add $push22=, $4, $pop21 - i64.load $10=, 0($pop22) - i32.const $push23=, 24 - i32.add $push24=, $4, $pop23 - i64.load $7=, 0($pop24) - i64.load $11=, 0($4) - i64.load $6=, 16($4) - i32.const $push25=, 0 - i64.load $12=, ld4+8($pop25) + i64.load $7=, 0($pop22) + i32.const $push23=, 0 + i64.load $8=, ld4+8($pop23) i32.const $push46=, 0 - i64.load $13=, ld4($pop46) + i64.load $9=, ld4($pop46) + i64.load $push24=, 0($4) + i32.call $1=, __netf2@FUNCTION, $pop24, $7, $9, $8 + i32.const $push25=, 24 + i32.add $push26=, $4, $pop25 + i64.load $7=, 0($pop26) + i64.load $8=, 16($4) i32.const $push45=, 0 i64.load $9=, ld4+24($pop45) i32.const $push44=, 0 - i64.load $8=, ld4+16($pop44) - i32.call $push26=, __netf2@FUNCTION, $11, $10, $13, $12 - br_if 0, $pop26 # 0: down to label2 + i64.load $6=, ld4+16($pop44) + br_if 0, $1 # 0: down to label2 # BB#7: # %lor.lhs.false8 - i32.call $push27=, __netf2@FUNCTION, $6, $7, $8, $9 + i32.call $push27=, __netf2@FUNCTION, $8, $7, $6, $9 br_if 0, $pop27 # 0: down to label2 # BB#8: # %lor.lhs.false12 i32.const $push28=, 8 i32.add $push29=, $5, $pop28 - i64.load $10=, 0($pop29) - i32.const $push30=, 24 - i32.add $push31=, $5, $pop30 - i64.load $11=, 0($pop31) - i64.load $12=, 0($5) - i64.load $13=, 16($5) - i32.const $push32=, 0 - i64.load $7=, ld5+8($pop32) + i64.load $7=, 0($pop29) + i32.const $push30=, 0 + i64.load $8=, ld5+8($pop30) i32.const $push49=, 0 - i64.load $6=, ld5($pop49) + i64.load $9=, ld5($pop49) + i64.load $push31=, 0($5) + i32.call $1=, __netf2@FUNCTION, $pop31, $7, $9, $8 + i32.const $push32=, 24 + i32.add $push33=, $5, $pop32 + i64.load $7=, 0($pop33) + i64.load $8=, 16($5) i32.const $push48=, 0 i64.load $9=, ld5+24($pop48) i32.const $push47=, 0 - i64.load $8=, ld5+16($pop47) - i32.call $push33=, __netf2@FUNCTION, $12, $10, $6, $7 - br_if 0, $pop33 # 0: down to label2 + i64.load $6=, ld5+16($pop47) + br_if 0, $1 # 0: down to label2 # BB#9: # %lor.lhs.false12 - i32.call $push34=, __eqtf2@FUNCTION, $13, $11, $8, $9 + i32.call $push34=, __eqtf2@FUNCTION, $8, $7, $6, $9 br_if 0, $pop34 # 0: down to label2 # BB#10: # %if.end return @@ -292,12 +292,12 @@ main: # @main .result i32 .local i32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f64, f64, f64, f64, f64, f64, f64, f64, f64, f64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push62=, __stack_pointer - i32.const $push59=, __stack_pointer - i32.load $push60=, 0($pop59) + i32.const $push62=, 0 + i32.const $push59=, 0 + i32.load $push60=, __stack_pointer($pop59) i32.const $push61=, 576 i32.sub $push131=, $pop60, $pop61 - i32.store $0=, 0($pop62), $pop131 + i32.store $0=, __stack_pointer($pop62), $pop131 i32.const $push0=, 0 f32.load $1=, f1($pop0) i32.const $push199=, 0 @@ -326,8 +326,8 @@ main: # @main f32.store $drop=, 556($0), $6 f32.store $drop=, 544($0), $7 f32.store $drop=, 548($0), $8 - f32.store $drop=, 536($0), $9 f32.store $drop=, 540($0), $10 + f32.store $drop=, 536($0), $9 i64.load $push1=, 568($0) i64.store $drop=, 280($0):p2align=2, $pop1 i32.const $push63=, 272 @@ -389,8 +389,8 @@ main: # @main f64.store $drop=, 496($0), $16 f64.store $drop=, 472($0), $17 f64.store $drop=, 480($0), $18 - f64.store $drop=, 456($0), $19 f64.store $drop=, 464($0), $20 + f64.store $drop=, 456($0), $19 i32.const $push77=, 232 i32.add $push78=, $0, $pop77 i32.const $push11=, 8 @@ -488,50 +488,50 @@ main: # @main i32.add $push98=, $0, $pop97 i32.const $push27=, 24 i32.add $push155=, $pop98, $pop27 - tee_local $push154=, $45=, $pop155 + tee_local $push154=, $41=, $pop155 i64.store $drop=, 0($pop154), $24 i64.store $drop=, 432($0), $23 - i64.store $drop=, 392($0), $26 - i64.store $drop=, 384($0), $25 i32.const $push99=, 384 i32.add $push100=, $0, $pop99 i32.const $push153=, 24 i32.add $push152=, $pop100, $pop153 - tee_local $push151=, $44=, $pop152 + tee_local $push151=, $42=, $pop152 i64.store $drop=, 0($pop151), $28 + i64.store $drop=, 392($0), $26 + i64.store $drop=, 384($0), $25 i64.store $drop=, 400($0), $27 - i64.store $drop=, 360($0), $30 - i64.store $drop=, 352($0), $29 i32.const $push101=, 352 i32.add $push102=, $0, $pop101 i32.const $push150=, 24 i32.add $push149=, $pop102, $pop150 tee_local $push148=, $43=, $pop149 i64.store $drop=, 0($pop148), $32 + i64.store $drop=, 360($0), $30 + i64.store $drop=, 352($0), $29 i64.store $drop=, 368($0), $31 - i64.store $drop=, 328($0), $34 - i64.store $drop=, 320($0), $33 i32.const $push103=, 320 i32.add $push104=, $0, $pop103 i32.const $push147=, 24 i32.add $push146=, $pop104, $pop147 - tee_local $push145=, $42=, $pop146 + tee_local $push145=, $44=, $pop146 i64.store $drop=, 0($pop145), $36 + i64.store $drop=, 328($0), $34 + i64.store $drop=, 320($0), $33 i64.store $drop=, 336($0), $35 - i64.store $drop=, 296($0), $38 - i64.store $drop=, 288($0), $37 i32.const $push105=, 288 i32.add $push106=, $0, $pop105 i32.const $push144=, 24 i32.add $push143=, $pop106, $pop144 - tee_local $push142=, $41=, $pop143 + tee_local $push142=, $45=, $pop143 i64.store $drop=, 0($pop142), $40 i64.store $drop=, 304($0), $39 + i64.store $drop=, 296($0), $38 + i64.store $drop=, 288($0), $37 i32.const $push107=, 128 i32.add $push108=, $0, $pop107 i32.const $push141=, 24 i32.add $push28=, $pop108, $pop141 - i64.load $push29=, 0($45) + i64.load $push29=, 0($41) i64.store $drop=, 0($pop28), $pop29 i32.const $push109=, 128 i32.add $push110=, $0, $pop109 @@ -547,7 +547,7 @@ main: # @main i32.add $push112=, $0, $pop111 i32.const $push140=, 24 i32.add $push35=, $pop112, $pop140 - i64.load $push36=, 0($44) + i64.load $push36=, 0($42) i64.store $drop=, 0($pop35), $pop36 i32.const $push113=, 96 i32.add $push114=, $0, $pop113 @@ -579,7 +579,7 @@ main: # @main i32.add $push120=, $0, $pop119 i32.const $push136=, 24 i32.add $push47=, $pop120, $pop136 - i64.load $push48=, 0($42) + i64.load $push48=, 0($44) i64.store $drop=, 0($pop47), $pop48 i32.const $push121=, 32 i32.add $push122=, $0, $pop121 @@ -593,7 +593,7 @@ main: # @main i64.store $drop=, 40($0), $pop52 i32.const $push134=, 24 i32.add $push53=, $0, $pop134 - i64.load $push54=, 0($41) + i64.load $push54=, 0($45) i64.store $drop=, 0($pop53), $pop54 i32.const $push133=, 16 i32.add $push55=, $0, $pop133 diff --git a/test/torture-s/conversion.c.s b/test/torture-s/conversion.c.s index 96cec3854..6ac3dc8eb 100644 --- a/test/torture-s/conversion.c.s +++ b/test/torture-s/conversion.c.s @@ -9,7 +9,7 @@ u2f: # @u2f .result f32 # BB#0: # %entry f32.convert_u/i32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size u2f, .Lfunc_end0-u2f @@ -23,7 +23,7 @@ u2d: # @u2d .result f64 # BB#0: # %entry f64.convert_u/i32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size u2d, .Lfunc_end1-u2d @@ -34,29 +34,29 @@ u2d: # @u2d .type u2ld,@function u2ld: # @u2ld .param i32, i32 - .local i64, i32 + .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) - i32.const $push6=, 16 - i32.sub $push11=, $pop5, $pop6 - i32.store $push14=, 0($pop7), $pop11 - tee_local $push13=, $3=, $pop14 - call __floatunsitf@FUNCTION, $pop13, $1 - i64.load $2=, 0($3) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) + i32.const $push7=, 16 + i32.sub $push12=, $pop6, $pop7 + i32.store $push15=, __stack_pointer($pop8), $pop12 + tee_local $push14=, $2=, $pop15 + call __floatunsitf@FUNCTION, $pop14, $1 i32.const $push0=, 8 - i32.add $push3=, $0, $pop0 - i32.const $push12=, 8 - i32.add $push1=, $3, $pop12 - i64.load $push2=, 0($pop1) - i64.store $drop=, 0($pop3), $pop2 - i64.store $drop=, 0($0), $2 - i32.const $push10=, __stack_pointer - i32.const $push8=, 16 - i32.add $push9=, $3, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return + i32.add $push1=, $0, $pop0 + i32.const $push13=, 8 + i32.add $push2=, $2, $pop13 + i64.load $push3=, 0($pop2) + i64.store $drop=, 0($pop1), $pop3 + i64.load $push4=, 0($2) + i64.store $drop=, 0($0), $pop4 + i32.const $push11=, 0 + i32.const $push9=, 16 + i32.add $push10=, $2, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 + # fallthrough-return .endfunc .Lfunc_end2: .size u2ld, .Lfunc_end2-u2ld @@ -70,7 +70,7 @@ s2f: # @s2f .result f32 # BB#0: # %entry f32.convert_s/i32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size s2f, .Lfunc_end3-s2f @@ -84,7 +84,7 @@ s2d: # @s2d .result f64 # BB#0: # %entry f64.convert_s/i32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size s2d, .Lfunc_end4-s2d @@ -95,29 +95,29 @@ s2d: # @s2d .type s2ld,@function s2ld: # @s2ld .param i32, i32 - .local i64, i32 + .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) - i32.const $push6=, 16 - i32.sub $push11=, $pop5, $pop6 - i32.store $push14=, 0($pop7), $pop11 - tee_local $push13=, $3=, $pop14 - call __floatsitf@FUNCTION, $pop13, $1 - i64.load $2=, 0($3) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) + i32.const $push7=, 16 + i32.sub $push12=, $pop6, $pop7 + i32.store $push15=, __stack_pointer($pop8), $pop12 + tee_local $push14=, $2=, $pop15 + call __floatsitf@FUNCTION, $pop14, $1 i32.const $push0=, 8 - i32.add $push3=, $0, $pop0 - i32.const $push12=, 8 - i32.add $push1=, $3, $pop12 - i64.load $push2=, 0($pop1) - i64.store $drop=, 0($pop3), $pop2 - i64.store $drop=, 0($0), $2 - i32.const $push10=, __stack_pointer - i32.const $push8=, 16 - i32.add $push9=, $3, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return + i32.add $push1=, $0, $pop0 + i32.const $push13=, 8 + i32.add $push2=, $2, $pop13 + i64.load $push3=, 0($pop2) + i64.store $drop=, 0($pop1), $pop3 + i64.load $push4=, 0($2) + i64.store $drop=, 0($0), $pop4 + i32.const $push11=, 0 + i32.const $push9=, 16 + i32.add $push10=, $2, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 + # fallthrough-return .endfunc .Lfunc_end5: .size s2ld, .Lfunc_end5-s2ld @@ -144,7 +144,8 @@ fnear: # @fnear f32.gt $2=, $pop2, $pop3 .LBB6_2: # %lor.end end_block # label0: - return $2 + copy_local $push6=, $2 + # fallthrough-return: $pop6 .endfunc .Lfunc_end6: .size fnear, .Lfunc_end6-fnear @@ -171,7 +172,8 @@ dnear: # @dnear f64.gt $2=, $pop2, $pop3 .LBB7_2: # %lor.end end_block # label1: - return $2 + copy_local $push6=, $2 + # fallthrough-return: $pop6 .endfunc .Lfunc_end7: .size dnear, .Lfunc_end7-dnear @@ -185,22 +187,22 @@ ldnear: # @ldnear .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 32 i32.sub $push21=, $pop11, $pop12 - i32.store $push29=, 0($pop13), $pop21 - tee_local $push28=, $5=, $pop29 + i32.store $push29=, __stack_pointer($pop13), $pop21 + tee_local $push28=, $4=, $pop29 i32.const $push17=, 16 i32.add $push18=, $pop28, $pop17 call __subtf3@FUNCTION, $pop18, $0, $1, $2, $3 - i32.const $4=, 1 + i32.const $5=, 1 block - i64.load $push27=, 16($5) + i64.load $push27=, 16($4) tee_local $push26=, $2=, $pop27 i32.const $push19=, 16 - i32.add $push20=, $5, $pop19 + i32.add $push20=, $4, $pop19 i32.const $push25=, 8 i32.add $push0=, $pop20, $pop25 i64.load $push24=, 0($pop0) @@ -211,23 +213,24 @@ ldnear: # @ldnear i32.eqz $push31=, $pop2 br_if 0, $pop31 # 0: down to label2 # BB#1: # %lor.rhs - call __divtf3@FUNCTION, $5, $0, $1, $2, $3 - i64.load $push5=, 0($5) + call __divtf3@FUNCTION, $4, $0, $1, $2, $3 + i64.load $push7=, 0($4) i32.const $push30=, 8 - i32.add $push3=, $5, $pop30 + i32.add $push3=, $4, $pop30 i64.load $push4=, 0($pop3) - i64.const $push7=, 8070450532247928832 - i64.const $push6=, 4641306360700491489 - i32.call $push8=, __gttf2@FUNCTION, $pop5, $pop4, $pop7, $pop6 + i64.const $push6=, 8070450532247928832 + i64.const $push5=, 4641306360700491489 + i32.call $push8=, __gttf2@FUNCTION, $pop7, $pop4, $pop6, $pop5 i32.const $push9=, 0 - i32.gt_s $4=, $pop8, $pop9 + i32.gt_s $5=, $pop8, $pop9 .LBB8_2: # %lor.end end_block # label2: - i32.const $push16=, __stack_pointer + i32.const $push16=, 0 i32.const $push14=, 32 - i32.add $push15=, $5, $pop14 - i32.store $drop=, 0($pop16), $pop15 - return $4 + i32.add $push15=, $4, $pop14 + i32.store $drop=, __stack_pointer($pop16), $pop15 + copy_local $push32=, $5 + # fallthrough-return: $pop32 .endfunc .Lfunc_end8: .size ldnear, .Lfunc_end8-ldnear @@ -240,7 +243,8 @@ test_integer_to_float: # @test_integer_to_float .result i32 .local i32 # BB#0: # %fnear.exit178 - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end9: .size test_integer_to_float, .Lfunc_end9-test_integer_to_float @@ -254,7 +258,7 @@ ull2f: # @ull2f .result f32 # BB#0: # %entry f32.convert_u/i64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end10: .size ull2f, .Lfunc_end10-ull2f @@ -268,7 +272,7 @@ ull2d: # @ull2d .result f64 # BB#0: # %entry f64.convert_u/i64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end11: .size ull2d, .Lfunc_end11-ull2d @@ -281,27 +285,27 @@ ull2ld: # @ull2ld .param i32, i64 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) - i32.const $push6=, 16 - i32.sub $push11=, $pop5, $pop6 - i32.store $push14=, 0($pop7), $pop11 - tee_local $push13=, $2=, $pop14 - call __floatunditf@FUNCTION, $pop13, $1 - i64.load $1=, 0($2) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) + i32.const $push7=, 16 + i32.sub $push12=, $pop6, $pop7 + i32.store $push15=, __stack_pointer($pop8), $pop12 + tee_local $push14=, $2=, $pop15 + call __floatunditf@FUNCTION, $pop14, $1 i32.const $push0=, 8 - i32.add $push3=, $0, $pop0 - i32.const $push12=, 8 - i32.add $push1=, $2, $pop12 - i64.load $push2=, 0($pop1) - i64.store $drop=, 0($pop3), $pop2 - i64.store $drop=, 0($0), $1 - i32.const $push10=, __stack_pointer - i32.const $push8=, 16 - i32.add $push9=, $2, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return + i32.add $push1=, $0, $pop0 + i32.const $push13=, 8 + i32.add $push2=, $2, $pop13 + i64.load $push3=, 0($pop2) + i64.store $drop=, 0($pop1), $pop3 + i64.load $push4=, 0($2) + i64.store $drop=, 0($0), $pop4 + i32.const $push11=, 0 + i32.const $push9=, 16 + i32.add $push10=, $2, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 + # fallthrough-return .endfunc .Lfunc_end12: .size ull2ld, .Lfunc_end12-ull2ld @@ -315,7 +319,7 @@ sll2f: # @sll2f .result f32 # BB#0: # %entry f32.convert_s/i64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end13: .size sll2f, .Lfunc_end13-sll2f @@ -329,7 +333,7 @@ sll2d: # @sll2d .result f64 # BB#0: # %entry f64.convert_s/i64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end14: .size sll2d, .Lfunc_end14-sll2d @@ -342,27 +346,27 @@ sll2ld: # @sll2ld .param i32, i64 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) - i32.const $push6=, 16 - i32.sub $push11=, $pop5, $pop6 - i32.store $push14=, 0($pop7), $pop11 - tee_local $push13=, $2=, $pop14 - call __floatditf@FUNCTION, $pop13, $1 - i64.load $1=, 0($2) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) + i32.const $push7=, 16 + i32.sub $push12=, $pop6, $pop7 + i32.store $push15=, __stack_pointer($pop8), $pop12 + tee_local $push14=, $2=, $pop15 + call __floatditf@FUNCTION, $pop14, $1 i32.const $push0=, 8 - i32.add $push3=, $0, $pop0 - i32.const $push12=, 8 - i32.add $push1=, $2, $pop12 - i64.load $push2=, 0($pop1) - i64.store $drop=, 0($pop3), $pop2 - i64.store $drop=, 0($0), $1 - i32.const $push10=, __stack_pointer - i32.const $push8=, 16 - i32.add $push9=, $2, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return + i32.add $push1=, $0, $pop0 + i32.const $push13=, 8 + i32.add $push2=, $2, $pop13 + i64.load $push3=, 0($pop2) + i64.store $drop=, 0($pop1), $pop3 + i64.load $push4=, 0($2) + i64.store $drop=, 0($0), $pop4 + i32.const $push11=, 0 + i32.const $push9=, 16 + i32.add $push10=, $2, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 + # fallthrough-return .endfunc .Lfunc_end15: .size sll2ld, .Lfunc_end15-sll2ld @@ -375,7 +379,8 @@ test_longlong_integer_to_float: # @test_longlong_integer_to_float .result i32 .local i32 # BB#0: # %fnear.exit - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end16: .size test_longlong_integer_to_float, .Lfunc_end16-test_longlong_integer_to_float @@ -389,7 +394,7 @@ f2u: # @f2u .result i32 # BB#0: # %entry i32.trunc_u/f32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end17: .size f2u, .Lfunc_end17-f2u @@ -403,7 +408,7 @@ d2u: # @d2u .result i32 # BB#0: # %entry i32.trunc_u/f64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end18: .size d2u, .Lfunc_end18-d2u @@ -417,7 +422,7 @@ ld2u: # @ld2u .result i32 # BB#0: # %entry i32.call $push0=, __fixunstfsi@FUNCTION, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end19: .size ld2u, .Lfunc_end19-ld2u @@ -431,7 +436,7 @@ f2s: # @f2s .result i32 # BB#0: # %entry i32.trunc_s/f32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end20: .size f2s, .Lfunc_end20-f2s @@ -445,7 +450,7 @@ d2s: # @d2s .result i32 # BB#0: # %entry i32.trunc_s/f64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end21: .size d2s, .Lfunc_end21-d2s @@ -459,7 +464,7 @@ ld2s: # @ld2s .result i32 # BB#0: # %entry i32.call $push0=, __fixtfsi@FUNCTION, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end22: .size ld2s, .Lfunc_end22-ld2s @@ -472,7 +477,8 @@ test_float_to_integer: # @test_float_to_integer .result i32 .local i32 # BB#0: # %if.end182 - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end23: .size test_float_to_integer, .Lfunc_end23-test_float_to_integer @@ -486,7 +492,7 @@ f2ull: # @f2ull .result i64 # BB#0: # %entry i64.trunc_u/f32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end24: .size f2ull, .Lfunc_end24-f2ull @@ -500,7 +506,7 @@ d2ull: # @d2ull .result i64 # BB#0: # %entry i64.trunc_u/f64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end25: .size d2ull, .Lfunc_end25-d2ull @@ -514,7 +520,7 @@ ld2ull: # @ld2ull .result i64 # BB#0: # %entry i64.call $push0=, __fixunstfdi@FUNCTION, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end26: .size ld2ull, .Lfunc_end26-ld2ull @@ -528,7 +534,7 @@ f2sll: # @f2sll .result i64 # BB#0: # %entry i64.trunc_s/f32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end27: .size f2sll, .Lfunc_end27-f2sll @@ -542,7 +548,7 @@ d2sll: # @d2sll .result i64 # BB#0: # %entry i64.trunc_s/f64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end28: .size d2sll, .Lfunc_end28-d2sll @@ -556,7 +562,7 @@ ld2sll: # @ld2sll .result i64 # BB#0: # %entry i64.call $push0=, __fixtfdi@FUNCTION, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end29: .size ld2sll, .Lfunc_end29-ld2sll @@ -569,7 +575,8 @@ test_float_to_longlong_integer: # @test_float_to_longlong_integer .result i32 .local i32 # BB#0: # %if.end172 - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end30: .size test_float_to_longlong_integer, .Lfunc_end30-test_float_to_longlong_integer diff --git a/test/torture-s/cvt-1.c.s b/test/torture-s/cvt-1.c.s index 8708f4282..4f50c318f 100644 --- a/test/torture-s/cvt-1.c.s +++ b/test/torture-s/cvt-1.c.s @@ -9,7 +9,7 @@ g2: # @g2 .result i32 # BB#0: # %entry i32.trunc_s/f64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size g2, .Lfunc_end0-g2 @@ -23,7 +23,7 @@ f: # @f .result f64 # BB#0: # %if.end f64.convert_s/i32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/dbra-1.c.s b/test/torture-s/dbra-1.c.s index 3c17f5283..ea13eb787 100644 --- a/test/torture-s/dbra-1.c.s +++ b/test/torture-s/dbra-1.c.s @@ -64,7 +64,7 @@ f1: # @f1 i32.const $push20=, 9 i32.eq $push9=, $0, $pop20 i32.select $push11=, $pop8, $pop10, $pop9 - return $pop11 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -78,7 +78,7 @@ f2: # @f2 .result i32 # BB#0: # %entry i32.eqz $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -148,7 +148,7 @@ f3: # @f3 i32.const $push17=, 10 i32.eq $push18=, $0, $pop17 i32.select $push20=, $pop22, $pop19, $pop18 - return $pop20 + # fallthrough-return: $pop20 .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -163,7 +163,7 @@ f4: # @f4 # BB#0: # %entry i32.const $push0=, 1 i32.eq $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 @@ -233,7 +233,7 @@ f5: # @f5 i32.const $push18=, -10 i32.eq $push19=, $0, $pop18 i32.select $push22=, $pop21, $pop20, $pop19 - return $pop22 + # fallthrough-return: $pop22 .endfunc .Lfunc_end4: .size f5, .Lfunc_end4-f5 @@ -248,7 +248,7 @@ f6: # @f6 # BB#0: # %entry i32.const $push0=, -1 i32.eq $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end5: .size f6, .Lfunc_end5-f6 diff --git a/test/torture-s/divcmp-1.c.s b/test/torture-s/divcmp-1.c.s index 5ba281618..cdbc4c7a0 100644 --- a/test/torture-s/divcmp-1.c.s +++ b/test/torture-s/divcmp-1.c.s @@ -12,7 +12,7 @@ test1: # @test1 i32.add $push1=, $0, $pop0 i32.const $push2=, 10 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -29,7 +29,7 @@ test1u: # @test1u i32.add $push1=, $0, $pop0 i32.const $push2=, 10 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size test1u, .Lfunc_end1-test1u @@ -46,7 +46,7 @@ test2: # @test2 i32.add $push1=, $0, $pop0 i32.const $push2=, 19 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size test2, .Lfunc_end2-test2 @@ -61,7 +61,7 @@ test2u: # @test2u # BB#0: # %entry i32.const $push0=, 10 i32.lt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size test2u, .Lfunc_end3-test2u @@ -78,7 +78,7 @@ test3: # @test3 i32.add $push1=, $0, $pop0 i32.const $push2=, 9 i32.gt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size test3, .Lfunc_end4-test3 @@ -95,7 +95,7 @@ test3u: # @test3u i32.add $push1=, $0, $pop0 i32.const $push2=, 9 i32.gt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size test3u, .Lfunc_end5-test3u @@ -112,7 +112,7 @@ test4: # @test4 i32.add $push1=, $0, $pop0 i32.const $push2=, 18 i32.gt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end6: .size test4, .Lfunc_end6-test4 @@ -127,7 +127,7 @@ test4u: # @test4u # BB#0: # %entry i32.const $push0=, 9 i32.gt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size test4u, .Lfunc_end7-test4u @@ -142,7 +142,7 @@ test5: # @test5 # BB#0: # %entry i32.const $push0=, 20 i32.lt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end8: .size test5, .Lfunc_end8-test5 @@ -157,7 +157,7 @@ test5u: # @test5u # BB#0: # %entry i32.const $push0=, 20 i32.lt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end9: .size test5u, .Lfunc_end9-test5u @@ -172,7 +172,7 @@ test6: # @test6 # BB#0: # %entry i32.const $push0=, -9 i32.lt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end10: .size test6, .Lfunc_end10-test6 @@ -187,7 +187,7 @@ test7: # @test7 # BB#0: # %entry i32.const $push0=, 30 i32.lt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end11: .size test7, .Lfunc_end11-test7 @@ -202,7 +202,7 @@ test7u: # @test7u # BB#0: # %entry i32.const $push0=, 30 i32.lt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end12: .size test7u, .Lfunc_end12-test7u @@ -217,7 +217,7 @@ test8: # @test8 # BB#0: # %entry i32.const $push0=, 10 i32.lt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end13: .size test8, .Lfunc_end13-test8 @@ -232,7 +232,7 @@ test8u: # @test8u # BB#0: # %entry i32.const $push0=, 10 i32.lt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end14: .size test8u, .Lfunc_end14-test8u @@ -247,7 +247,7 @@ test9: # @test9 # BB#0: # %entry i32.const $push0=, 29 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end15: .size test9, .Lfunc_end15-test9 @@ -262,7 +262,7 @@ test9u: # @test9u # BB#0: # %entry i32.const $push0=, 29 i32.gt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end16: .size test9u, .Lfunc_end16-test9u @@ -277,7 +277,7 @@ test10: # @test10 # BB#0: # %entry i32.const $push0=, 9 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end17: .size test10, .Lfunc_end17-test10 @@ -292,7 +292,7 @@ test10u: # @test10u # BB#0: # %entry i32.const $push0=, 9 i32.gt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end18: .size test10u, .Lfunc_end18-test10u @@ -307,7 +307,7 @@ test11: # @test11 # BB#0: # %entry i32.const $push0=, 19 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end19: .size test11, .Lfunc_end19-test11 @@ -322,7 +322,7 @@ test11u: # @test11u # BB#0: # %entry i32.const $push0=, 19 i32.gt_u $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end20: .size test11u, .Lfunc_end20-test11u @@ -337,7 +337,7 @@ test12: # @test12 # BB#0: # %entry i32.const $push0=, -10 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end21: .size test12, .Lfunc_end21-test12 @@ -350,7 +350,7 @@ main: # @main .result i32 # BB#0: # %if.end428 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end22: .size main, .Lfunc_end22-main diff --git a/test/torture-s/divcmp-2.c.s b/test/torture-s/divcmp-2.c.s index 589e0bde7..1b74e30f8 100644 --- a/test/torture-s/divcmp-2.c.s +++ b/test/torture-s/divcmp-2.c.s @@ -12,7 +12,7 @@ test1: # @test1 i32.add $push1=, $0, $pop0 i32.const $push2=, 10 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -29,7 +29,7 @@ test2: # @test2 i32.add $push1=, $0, $pop0 i32.const $push2=, 19 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -46,7 +46,7 @@ test3: # @test3 i32.add $push1=, $0, $pop0 i32.const $push2=, 10 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -63,7 +63,7 @@ test4: # @test4 i32.add $push1=, $0, $pop0 i32.const $push2=, 10 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -80,7 +80,7 @@ test5: # @test5 i32.add $push1=, $0, $pop0 i32.const $push2=, 19 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size test5, .Lfunc_end4-test5 @@ -97,7 +97,7 @@ test6: # @test6 i32.add $push1=, $0, $pop0 i32.const $push2=, 10 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end5: .size test6, .Lfunc_end5-test6 @@ -110,7 +110,7 @@ main: # @main .result i32 # BB#0: # %if.end92 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size main, .Lfunc_end6-main diff --git a/test/torture-s/divcmp-3.c.s b/test/torture-s/divcmp-3.c.s index e224b1324..1ffbeae50 100644 --- a/test/torture-s/divcmp-3.c.s +++ b/test/torture-s/divcmp-3.c.s @@ -12,7 +12,7 @@ test1: # @test1 i32.add $push1=, $0, $pop0 i32.const $push2=, 100 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -26,7 +26,7 @@ test1u: # @test1u .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size test1u, .Lfunc_end1-test1u @@ -43,7 +43,7 @@ test2: # @test2 i32.add $push1=, $0, $pop0 i32.const $push2=, 99 i32.gt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size test2, .Lfunc_end2-test2 @@ -57,7 +57,7 @@ test2u: # @test2u .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size test2u, .Lfunc_end3-test2u @@ -71,7 +71,7 @@ test3: # @test3 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size test3, .Lfunc_end4-test3 @@ -85,7 +85,7 @@ test3u: # @test3u .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size test3u, .Lfunc_end5-test3u @@ -99,7 +99,7 @@ test4: # @test4 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size test4, .Lfunc_end6-test4 @@ -113,7 +113,7 @@ test4u: # @test4u .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end7: .size test4u, .Lfunc_end7-test4u @@ -127,7 +127,7 @@ test5: # @test5 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size test5, .Lfunc_end8-test5 @@ -141,7 +141,7 @@ test5u: # @test5u .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end9: .size test5u, .Lfunc_end9-test5u @@ -155,7 +155,7 @@ test6: # @test6 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end10: .size test6, .Lfunc_end10-test6 @@ -169,7 +169,7 @@ test6u: # @test6u .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end11: .size test6u, .Lfunc_end11-test6u @@ -197,12 +197,13 @@ main: # @main br_if 2, $pop2 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB12_1 Depth=1 - i32.const $push10=, 1 - i32.add $1=, $1, $pop10 - i32.const $push9=, 16777216 - i32.add $0=, $0, $pop9 + i32.const $push12=, 16777216 + i32.add $0=, $0, $pop12 + i32.const $push11=, 1 + i32.add $push10=, $1, $pop11 + tee_local $push9=, $1=, $pop10 i32.const $push8=, 255 - i32.le_s $push3=, $1, $pop8 + i32.le_s $push3=, $pop9, $pop8 br_if 0, $pop3 # 0: up to label1 # BB#3: # %for.end end_loop # label2: diff --git a/test/torture-s/divcmp-4.c.s b/test/torture-s/divcmp-4.c.s index d67d9f166..599860387 100644 --- a/test/torture-s/divcmp-4.c.s +++ b/test/torture-s/divcmp-4.c.s @@ -12,7 +12,7 @@ test1: # @test1 i32.add $push1=, $0, $pop0 i32.const $push2=, 10 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -29,7 +29,7 @@ test2: # @test2 i32.add $push1=, $0, $pop0 i32.const $push2=, 19 i32.lt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -46,7 +46,7 @@ test3: # @test3 i32.add $push1=, $0, $pop0 i32.const $push2=, 9 i32.gt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -63,7 +63,7 @@ test4: # @test4 i32.add $push1=, $0, $pop0 i32.const $push2=, 18 i32.gt_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -78,7 +78,7 @@ test5: # @test5 # BB#0: # %entry i32.const $push0=, -20 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end4: .size test5, .Lfunc_end4-test5 @@ -93,7 +93,7 @@ test6: # @test6 # BB#0: # %entry i32.const $push0=, 9 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end5: .size test6, .Lfunc_end5-test6 @@ -108,7 +108,7 @@ test7: # @test7 # BB#0: # %entry i32.const $push0=, -30 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end6: .size test7, .Lfunc_end6-test7 @@ -123,7 +123,7 @@ test8: # @test8 # BB#0: # %entry i32.const $push0=, -10 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size test8, .Lfunc_end7-test8 @@ -138,7 +138,7 @@ test9: # @test9 # BB#0: # %entry i32.const $push0=, -29 i32.lt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end8: .size test9, .Lfunc_end8-test9 @@ -153,7 +153,7 @@ test10: # @test10 # BB#0: # %entry i32.const $push0=, -9 i32.lt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end9: .size test10, .Lfunc_end9-test10 @@ -168,7 +168,7 @@ test11: # @test11 # BB#0: # %entry i32.const $push0=, -19 i32.lt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end10: .size test11, .Lfunc_end10-test11 @@ -183,7 +183,7 @@ test12: # @test12 # BB#0: # %entry i32.const $push0=, 10 i32.lt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end11: .size test12, .Lfunc_end11-test12 @@ -196,7 +196,7 @@ main: # @main .result i32 # BB#0: # %if.end236 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end12: .size main, .Lfunc_end12-main diff --git a/test/torture-s/divcmp-5.c.s b/test/torture-s/divcmp-5.c.s index 37eda09e0..20f204ef6 100644 --- a/test/torture-s/divcmp-5.c.s +++ b/test/torture-s/divcmp-5.c.s @@ -9,7 +9,7 @@ always_one_1: # @always_one_1 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size always_one_1, .Lfunc_end0-always_one_1 @@ -23,7 +23,7 @@ always_one_2: # @always_one_2 .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size always_one_2, .Lfunc_end1-always_one_2 @@ -36,7 +36,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/divconst-1.c.s b/test/torture-s/divconst-1.c.s index c46f6b6d1..bdb3245bd 100644 --- a/test/torture-s/divconst-1.c.s +++ b/test/torture-s/divconst-1.c.s @@ -11,7 +11,8 @@ f: # @f i64.const $push1=, 14315126007568 i64.store $push0=, 0($0):p2align=2, $pop1 i64.store $drop=, 8($0):p2align=2, $pop0 - return $0 + copy_local $push2=, $0 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/divconst-2.c.s b/test/torture-s/divconst-2.c.s index 010f37091..a52df43bf 100644 --- a/test/torture-s/divconst-2.c.s +++ b/test/torture-s/divconst-2.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry i32.const $push0=, -2147483648 i32.eq $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -23,19 +23,9 @@ r: # @r .param i32 .result i32 # BB#0: # %entry - i32.const $push6=, 0 - i32.const $push0=, 31 - i32.shr_s $push1=, $0, $pop0 - i32.const $push2=, 1 - i32.shr_u $push3=, $pop1, $pop2 - i32.add $push4=, $0, $pop3 - i32.const $push11=, 31 - i32.shr_u $push5=, $pop4, $pop11 - i32.sub $push7=, $pop6, $pop5 - i32.const $push10=, 31 - i32.shl $push8=, $pop7, $pop10 - i32.sub $push9=, $0, $pop8 - return $pop9 + i32.const $push0=, -2147483648 + i32.rem_s $push1=, $0, $pop0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size r, .Lfunc_end1-r @@ -52,7 +42,7 @@ std_eqn: # @std_eqn i32.shl $push1=, $2, $pop0 i32.add $push2=, $pop1, $3 i32.eq $push3=, $pop2, $0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size std_eqn, .Lfunc_end2-std_eqn @@ -66,77 +56,47 @@ main: # @main .local i32 # BB#0: # %entry block - i32.const $push45=, 0 - i32.load $push44=, nums($pop45) - tee_local $push43=, $0=, $pop44 - i32.const $push42=, -2147483648 - i32.eq $push0=, $pop43, $pop42 - i32.const $push41=, 31 - i32.shl $push8=, $pop0, $pop41 - i32.const $push40=, 0 - i32.const $push39=, 31 - i32.shr_s $push1=, $0, $pop39 - i32.const $push38=, 1 - i32.shr_u $push2=, $pop1, $pop38 - i32.add $push3=, $0, $pop2 - i32.const $push37=, 31 - i32.shr_u $push4=, $pop3, $pop37 - i32.sub $push5=, $pop40, $pop4 - i32.const $push36=, 31 - i32.shl $push6=, $pop5, $pop36 - i32.sub $push7=, $0, $pop6 - i32.add $push9=, $pop8, $pop7 - i32.ne $push10=, $pop9, $0 - br_if 0, $pop10 # 0: down to label0 + i32.const $push22=, 0 + i32.load $push21=, nums($pop22) + tee_local $push20=, $0=, $pop21 + i32.const $push19=, -2147483648 + i32.eq $push1=, $pop20, $pop19 + i32.const $push18=, 31 + i32.shl $push2=, $pop1, $pop18 + i32.const $push17=, -2147483648 + i32.rem_s $push0=, $0, $pop17 + i32.add $push3=, $pop2, $pop0 + i32.ne $push4=, $pop3, $0 + br_if 0, $pop4 # 0: down to label0 # BB#1: # %for.cond - i32.const $push55=, 0 - i32.load $push54=, nums+4($pop55) - tee_local $push53=, $0=, $pop54 - i32.const $push52=, -2147483648 - i32.eq $push11=, $pop53, $pop52 - i32.const $push51=, 31 - i32.shl $push19=, $pop11, $pop51 - i32.const $push50=, 0 - i32.const $push49=, 31 - i32.shr_s $push12=, $0, $pop49 - i32.const $push48=, 1 - i32.shr_u $push13=, $pop12, $pop48 - i32.add $push14=, $0, $pop13 - i32.const $push47=, 31 - i32.shr_u $push15=, $pop14, $pop47 - i32.sub $push16=, $pop50, $pop15 - i32.const $push46=, 31 - i32.shl $push17=, $pop16, $pop46 - i32.sub $push18=, $0, $pop17 - i32.add $push20=, $pop19, $pop18 - i32.ne $push21=, $pop20, $0 - br_if 0, $pop21 # 0: down to label0 -# BB#2: # %for.cond.1 - i32.const $push62=, 0 - i32.load $push61=, nums+8($pop62) - tee_local $push60=, $0=, $pop61 - i32.const $push22=, -2147483648 - i32.eq $push23=, $pop60, $pop22 + i32.const $push28=, 0 + i32.load $push27=, nums+4($pop28) + tee_local $push26=, $0=, $pop27 + i32.const $push25=, -2147483648 + i32.eq $push6=, $pop26, $pop25 i32.const $push24=, 31 - i32.shl $push33=, $pop23, $pop24 - i32.const $push59=, 0 - i32.const $push58=, 31 - i32.shr_s $push25=, $0, $pop58 - i32.const $push26=, 1 - i32.shr_u $push27=, $pop25, $pop26 - i32.add $push28=, $0, $pop27 - i32.const $push57=, 31 - i32.shr_u $push29=, $pop28, $pop57 - i32.sub $push30=, $pop59, $pop29 - i32.const $push56=, 31 - i32.shl $push31=, $pop30, $pop56 - i32.sub $push32=, $0, $pop31 - i32.add $push34=, $pop33, $pop32 - i32.ne $push35=, $pop34, $0 - br_if 0, $pop35 # 0: down to label0 + i32.shl $push7=, $pop6, $pop24 + i32.const $push23=, -2147483648 + i32.rem_s $push5=, $0, $pop23 + i32.add $push8=, $pop7, $pop5 + i32.ne $push9=, $pop8, $0 + br_if 0, $pop9 # 0: down to label0 +# BB#2: # %for.cond.1 + i32.const $push32=, 0 + i32.load $push31=, nums+8($pop32) + tee_local $push30=, $0=, $pop31 + i32.const $push10=, -2147483648 + i32.eq $push12=, $pop30, $pop10 + i32.const $push13=, 31 + i32.shl $push14=, $pop12, $pop13 + i32.const $push29=, -2147483648 + i32.rem_s $push11=, $0, $pop29 + i32.add $push15=, $pop14, $pop11 + i32.ne $push16=, $pop15, $0 + br_if 0, $pop16 # 0: down to label0 # BB#3: # %for.cond.2 - i32.const $push63=, 0 - call exit@FUNCTION, $pop63 + i32.const $push33=, 0 + call exit@FUNCTION, $pop33 unreachable .LBB3_4: # %if.then end_block # label0: diff --git a/test/torture-s/divconst-3.c.s b/test/torture-s/divconst-3.c.s index 1e9153231..a516c81a4 100644 --- a/test/torture-s/divconst-3.c.s +++ b/test/torture-s/divconst-3.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry i64.const $push0=, 10000000000 i64.div_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/divmod-1.c.s b/test/torture-s/divmod-1.c.s index 586cde7b2..32acdd441 100644 --- a/test/torture-s/divmod-1.c.s +++ b/test/torture-s/divmod-1.c.s @@ -10,7 +10,7 @@ div1: # @div1 # BB#0: # %entry i32.const $push0=, 0 i32.sub $push1=, $pop0, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size div1, .Lfunc_end0-div1 @@ -25,7 +25,7 @@ div2: # @div2 # BB#0: # %entry i32.const $push0=, 0 i32.sub $push1=, $pop0, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size div2, .Lfunc_end1-div2 @@ -39,7 +39,7 @@ div3: # @div3 .result i32 # BB#0: # %entry i32.div_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size div3, .Lfunc_end2-div3 @@ -53,7 +53,7 @@ div4: # @div4 .result i32 # BB#0: # %entry i32.div_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size div4, .Lfunc_end3-div4 @@ -67,7 +67,7 @@ mod1: # @mod1 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size mod1, .Lfunc_end4-mod1 @@ -81,7 +81,7 @@ mod2: # @mod2 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size mod2, .Lfunc_end5-mod2 @@ -95,7 +95,7 @@ mod3: # @mod3 .result i32 # BB#0: # %entry i32.rem_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size mod3, .Lfunc_end6-mod3 @@ -109,7 +109,7 @@ mod4: # @mod4 .result i32 # BB#0: # %entry i32.rem_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end7: .size mod4, .Lfunc_end7-mod4 @@ -123,7 +123,7 @@ mod5: # @mod5 .result i32 # BB#0: # %entry i32.rem_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size mod5, .Lfunc_end8-mod5 @@ -137,7 +137,7 @@ mod6: # @mod6 .result i32 # BB#0: # %entry i32.rem_u $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end9: .size mod6, .Lfunc_end9-mod6 diff --git a/test/torture-s/doloop-1.c.s b/test/torture-s/doloop-1.c.s index c9b01c121..326b58052 100644 --- a/test/torture-s/doloop-1.c.s +++ b/test/torture-s/doloop-1.c.s @@ -12,28 +12,29 @@ main: # @main .LBB0_1: # %do.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push10=, 0 - i32.const $push9=, 0 - i32.load $push0=, i($pop9) - i32.const $push8=, 1 - i32.add $push1=, $pop0, $pop8 - i32.store $drop=, i($pop10), $pop1 - i32.const $push7=, -1 - i32.add $0=, $0, $pop7 + i32.const $push12=, 0 + i32.const $push11=, 0 + i32.load $push0=, i($pop11) + i32.const $push10=, 1 + i32.add $push1=, $pop0, $pop10 + i32.store $drop=, i($pop12), $pop1 + i32.const $push9=, -1 + i32.add $push8=, $0, $pop9 + tee_local $push7=, $0=, $pop8 i32.const $push6=, 255 - i32.and $push2=, $0, $pop6 + i32.and $push2=, $pop7, $pop6 br_if 0, $pop2 # 0: up to label0 # BB#2: # %do.end end_loop # label1: block - i32.const $push11=, 0 - i32.load $push3=, i($pop11) + i32.const $push13=, 0 + i32.load $push3=, i($pop13) i32.const $push4=, 256 i32.ne $push5=, $pop3, $pop4 br_if 0, $pop5 # 0: down to label2 # BB#3: # %if.end - i32.const $push12=, 0 - call exit@FUNCTION, $pop12 + i32.const $push14=, 0 + call exit@FUNCTION, $pop14 unreachable .LBB0_4: # %if.then end_block # label2: diff --git a/test/torture-s/doloop-2.c.s b/test/torture-s/doloop-2.c.s index 1a31bbf3b..bc8ce7a90 100644 --- a/test/torture-s/doloop-2.c.s +++ b/test/torture-s/doloop-2.c.s @@ -12,28 +12,29 @@ main: # @main .LBB0_1: # %do.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push10=, 0 - i32.const $push9=, 0 - i32.load $push0=, i($pop9) - i32.const $push8=, 1 - i32.add $push1=, $pop0, $pop8 - i32.store $drop=, i($pop10), $pop1 - i32.const $push7=, -1 - i32.add $0=, $0, $pop7 + i32.const $push12=, 0 + i32.const $push11=, 0 + i32.load $push0=, i($pop11) + i32.const $push10=, 1 + i32.add $push1=, $pop0, $pop10 + i32.store $drop=, i($pop12), $pop1 + i32.const $push9=, -1 + i32.add $push8=, $0, $pop9 + tee_local $push7=, $0=, $pop8 i32.const $push6=, 65535 - i32.and $push2=, $0, $pop6 + i32.and $push2=, $pop7, $pop6 br_if 0, $pop2 # 0: up to label0 # BB#2: # %do.end end_loop # label1: block - i32.const $push11=, 0 - i32.load $push3=, i($pop11) + i32.const $push13=, 0 + i32.load $push3=, i($pop13) i32.const $push4=, 65536 i32.ne $push5=, $pop3, $pop4 br_if 0, $pop5 # 0: down to label2 # BB#3: # %if.end - i32.const $push12=, 0 - call exit@FUNCTION, $pop12 + i32.const $push14=, 0 + call exit@FUNCTION, $pop14 unreachable .LBB0_4: # %if.then end_block # label2: diff --git a/test/torture-s/eeprof-1.c.s b/test/torture-s/eeprof-1.c.s index 68511abcc..79826cfb1 100644 --- a/test/torture-s/eeprof-1.c.s +++ b/test/torture-s/eeprof-1.c.s @@ -164,14 +164,14 @@ __cyg_profile_func_enter: # @__cyg_profile_func_enter .param i32, i32 # BB#0: # %entry i32.const $push0=, 0 + i32.store $drop=, last_fn_entered($pop0), $0 i32.const $push5=, 0 - i32.load $push1=, entry_calls($pop5) + i32.const $push4=, 0 + i32.load $push1=, entry_calls($pop4) i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 - i32.store $drop=, entry_calls($pop0), $pop3 - i32.const $push4=, 0 - i32.store $drop=, last_fn_entered($pop4), $0 - return + i32.store $drop=, entry_calls($pop5), $pop3 + # fallthrough-return .endfunc .Lfunc_end3: .size __cyg_profile_func_enter, .Lfunc_end3-__cyg_profile_func_enter @@ -184,14 +184,14 @@ __cyg_profile_func_exit: # @__cyg_profile_func_exit .param i32, i32 # BB#0: # %entry i32.const $push0=, 0 + i32.store $drop=, last_fn_exited($pop0), $0 i32.const $push5=, 0 - i32.load $push1=, exit_calls($pop5) + i32.const $push4=, 0 + i32.load $push1=, exit_calls($pop4) i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 - i32.store $drop=, exit_calls($pop0), $pop3 - i32.const $push4=, 0 - i32.store $drop=, last_fn_exited($pop4), $0 - return + i32.store $drop=, exit_calls($pop5), $pop3 + # fallthrough-return .endfunc .Lfunc_end4: .size __cyg_profile_func_exit, .Lfunc_end4-__cyg_profile_func_exit diff --git a/test/torture-s/enum-3.c.s b/test/torture-s/enum-3.c.s index 64788f8d5..31d1e2cef 100644 --- a/test/torture-s/enum-3.c.s +++ b/test/torture-s/enum-3.c.s @@ -8,19 +8,19 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push0=, 0 + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push8=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop8 + i32.store $push11=, __stack_pointer($pop5), $pop8 tee_local $push10=, $0=, $pop11 - i32.const $push0=, -2147483648 - i32.store $drop=, 12($pop10), $pop0 - i32.const $push1=, 0 i32.const $push6=, 12 - i32.add $push7=, $0, $pop6 - i32.store $drop=, q($pop1), $pop7 + i32.add $push7=, $pop10, $pop6 + i32.store $drop=, q($pop0), $pop7 + i32.const $push1=, -2147483648 + i32.store $drop=, 12($0), $pop1 i32.const $push9=, 0 call exit@FUNCTION, $pop9 unreachable diff --git a/test/torture-s/extzvsi.c.s b/test/torture-s/extzvsi.c.s index 12678fbf8..5635f3d89 100644 --- a/test/torture-s/extzvsi.c.s +++ b/test/torture-s/extzvsi.c.s @@ -22,7 +22,7 @@ foo: # @foo i32.select $push7=, $pop0, $pop6, $pop5 i32.const $push9=, 1 i32.select $push8=, $pop7, $pop9, $0 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -43,7 +43,7 @@ main: # @main i64.or $push5=, $pop3, $pop4 i64.store $drop=, x($pop0), $pop5 i32.const $push6=, 0 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/ffs-2.c.s b/test/torture-s/ffs-2.c.s index 7e29f26b5..e3e605140 100644 --- a/test/torture-s/ffs-2.c.s +++ b/test/torture-s/ffs-2.c.s @@ -6,133 +6,133 @@ .type main,@function main: # @main .result i32 - .local i32, i64 + .local i64, i32 # BB#0: # %entry block i32.const $push56=, 0 i64.load $push55=, ffstesttab($pop56) - tee_local $push54=, $1=, $pop55 + tee_local $push54=, $0=, $pop55 i32.wrap/i64 $push53=, $pop54 - tee_local $push52=, $0=, $pop53 + tee_local $push52=, $1=, $pop53 i32.ctz $push0=, $pop52 i32.const $push51=, 1 i32.add $push1=, $pop0, $pop51 i32.const $push50=, 0 - i32.select $push2=, $pop1, $pop50, $0 + i32.select $push2=, $pop1, $pop50, $1 i64.const $push49=, 32 - i64.shr_u $push3=, $1, $pop49 + i64.shr_u $push3=, $0, $pop49 i32.wrap/i64 $push4=, $pop3 i32.ne $push5=, $pop2, $pop4 br_if 0, $pop5 # 0: down to label0 # BB#1: # %for.cond i32.const $push64=, 0 i64.load $push63=, ffstesttab+8($pop64) - tee_local $push62=, $1=, $pop63 + tee_local $push62=, $0=, $pop63 i32.wrap/i64 $push61=, $pop62 - tee_local $push60=, $0=, $pop61 + tee_local $push60=, $1=, $pop61 i32.ctz $push6=, $pop60 i32.const $push59=, 1 i32.add $push7=, $pop6, $pop59 i32.const $push58=, 0 - i32.select $push8=, $pop7, $pop58, $0 + i32.select $push8=, $pop7, $pop58, $1 i64.const $push57=, 32 - i64.shr_u $push9=, $1, $pop57 + i64.shr_u $push9=, $0, $pop57 i32.wrap/i64 $push10=, $pop9 i32.ne $push11=, $pop8, $pop10 br_if 0, $pop11 # 0: down to label0 # BB#2: # %for.cond.1 i32.const $push72=, 0 i64.load $push71=, ffstesttab+16($pop72) - tee_local $push70=, $1=, $pop71 + tee_local $push70=, $0=, $pop71 i32.wrap/i64 $push69=, $pop70 - tee_local $push68=, $0=, $pop69 + tee_local $push68=, $1=, $pop69 i32.ctz $push12=, $pop68 i32.const $push67=, 1 i32.add $push13=, $pop12, $pop67 i32.const $push66=, 0 - i32.select $push14=, $pop13, $pop66, $0 + i32.select $push14=, $pop13, $pop66, $1 i64.const $push65=, 32 - i64.shr_u $push15=, $1, $pop65 + i64.shr_u $push15=, $0, $pop65 i32.wrap/i64 $push16=, $pop15 i32.ne $push17=, $pop14, $pop16 br_if 0, $pop17 # 0: down to label0 # BB#3: # %for.cond.2 i32.const $push80=, 0 i64.load $push79=, ffstesttab+24($pop80) - tee_local $push78=, $1=, $pop79 + tee_local $push78=, $0=, $pop79 i32.wrap/i64 $push77=, $pop78 - tee_local $push76=, $0=, $pop77 + tee_local $push76=, $1=, $pop77 i32.ctz $push18=, $pop76 i32.const $push75=, 1 i32.add $push19=, $pop18, $pop75 i32.const $push74=, 0 - i32.select $push20=, $pop19, $pop74, $0 + i32.select $push20=, $pop19, $pop74, $1 i64.const $push73=, 32 - i64.shr_u $push21=, $1, $pop73 + i64.shr_u $push21=, $0, $pop73 i32.wrap/i64 $push22=, $pop21 i32.ne $push23=, $pop20, $pop22 br_if 0, $pop23 # 0: down to label0 # BB#4: # %for.cond.3 i32.const $push88=, 0 i64.load $push87=, ffstesttab+32($pop88) - tee_local $push86=, $1=, $pop87 + tee_local $push86=, $0=, $pop87 i32.wrap/i64 $push85=, $pop86 - tee_local $push84=, $0=, $pop85 + tee_local $push84=, $1=, $pop85 i32.ctz $push24=, $pop84 i32.const $push83=, 1 i32.add $push25=, $pop24, $pop83 i32.const $push82=, 0 - i32.select $push26=, $pop25, $pop82, $0 + i32.select $push26=, $pop25, $pop82, $1 i64.const $push81=, 32 - i64.shr_u $push27=, $1, $pop81 + i64.shr_u $push27=, $0, $pop81 i32.wrap/i64 $push28=, $pop27 i32.ne $push29=, $pop26, $pop28 br_if 0, $pop29 # 0: down to label0 # BB#5: # %for.cond.4 i32.const $push96=, 0 i64.load $push95=, ffstesttab+40($pop96) - tee_local $push94=, $1=, $pop95 + tee_local $push94=, $0=, $pop95 i32.wrap/i64 $push93=, $pop94 - tee_local $push92=, $0=, $pop93 + tee_local $push92=, $1=, $pop93 i32.ctz $push30=, $pop92 i32.const $push91=, 1 i32.add $push31=, $pop30, $pop91 i32.const $push90=, 0 - i32.select $push32=, $pop31, $pop90, $0 + i32.select $push32=, $pop31, $pop90, $1 i64.const $push89=, 32 - i64.shr_u $push33=, $1, $pop89 + i64.shr_u $push33=, $0, $pop89 i32.wrap/i64 $push34=, $pop33 i32.ne $push35=, $pop32, $pop34 br_if 0, $pop35 # 0: down to label0 # BB#6: # %for.cond.5 i32.const $push104=, 0 i64.load $push103=, ffstesttab+48($pop104) - tee_local $push102=, $1=, $pop103 + tee_local $push102=, $0=, $pop103 i32.wrap/i64 $push101=, $pop102 - tee_local $push100=, $0=, $pop101 + tee_local $push100=, $1=, $pop101 i32.ctz $push36=, $pop100 i32.const $push99=, 1 i32.add $push37=, $pop36, $pop99 i32.const $push98=, 0 - i32.select $push38=, $pop37, $pop98, $0 + i32.select $push38=, $pop37, $pop98, $1 i64.const $push97=, 32 - i64.shr_u $push39=, $1, $pop97 + i64.shr_u $push39=, $0, $pop97 i32.wrap/i64 $push40=, $pop39 i32.ne $push41=, $pop38, $pop40 br_if 0, $pop41 # 0: down to label0 # BB#7: # %for.cond.6 i32.const $push112=, 0 i64.load $push111=, ffstesttab+56($pop112) - tee_local $push110=, $1=, $pop111 + tee_local $push110=, $0=, $pop111 i32.wrap/i64 $push109=, $pop110 - tee_local $push108=, $0=, $pop109 + tee_local $push108=, $1=, $pop109 i32.ctz $push42=, $pop108 i32.const $push107=, 1 i32.add $push43=, $pop42, $pop107 i32.const $push106=, 0 - i32.select $push44=, $pop43, $pop106, $0 + i32.select $push44=, $pop43, $pop106, $1 i64.const $push105=, 32 - i64.shr_u $push45=, $1, $pop105 + i64.shr_u $push45=, $0, $pop105 i32.wrap/i64 $push46=, $pop45 i32.ne $push47=, $pop44, $pop46 br_if 0, $pop47 # 0: down to label0 diff --git a/test/torture-s/fprintf-1.c.s b/test/torture-s/fprintf-1.c.s index a0778407f..3b360b74d 100644 --- a/test/torture-s/fprintf-1.c.s +++ b/test/torture-s/fprintf-1.c.s @@ -8,19 +8,19 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push48=, __stack_pointer - i32.const $push45=, __stack_pointer - i32.load $push46=, 0($pop45) + i32.const $push48=, 0 + i32.const $push45=, 0 + i32.load $push46=, __stack_pointer($pop45) i32.const $push47=, 144 i32.sub $push68=, $pop46, $pop47 - i32.store $1=, 0($pop48), $pop68 - i32.const $push0=, .L.str - i32.const $push1=, 5 + i32.store $1=, __stack_pointer($pop48), $pop68 + i32.const $push1=, .L.str + i32.const $push0=, 5 i32.const $push75=, 1 i32.const $push74=, 0 i32.load $push73=, stdout($pop74) tee_local $push72=, $2=, $pop73 - i32.call $drop=, fwrite@FUNCTION, $pop0, $pop1, $pop75, $pop72 + i32.call $drop=, fwrite@FUNCTION, $pop1, $pop0, $pop75, $pop72 block i32.const $push71=, .L.str i32.const $push70=, 0 @@ -29,10 +29,10 @@ main: # @main i32.ne $push3=, $pop2, $pop69 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end - i32.const $push4=, .L.str.1 - i32.const $push5=, 6 + i32.const $push5=, .L.str.1 + i32.const $push4=, 6 i32.const $push79=, 1 - i32.call $drop=, fwrite@FUNCTION, $pop4, $pop5, $pop79, $2 + i32.call $drop=, fwrite@FUNCTION, $pop5, $pop4, $pop79, $2 i32.const $push78=, .L.str.1 i32.const $push77=, 0 i32.call $push6=, fprintf@FUNCTION, $2, $pop78, $pop77 @@ -54,10 +54,10 @@ main: # @main i32.call $push14=, fprintf@FUNCTION, $2, $pop13, $pop81 br_if 0, $pop14 # 0: down to label0 # BB#4: # %if.end16 - i32.const $push15=, .L.str - i32.const $push16=, 5 + i32.const $push16=, .L.str + i32.const $push15=, 5 i32.const $push85=, 1 - i32.call $drop=, fwrite@FUNCTION, $pop15, $pop16, $pop85, $2 + i32.call $drop=, fwrite@FUNCTION, $pop16, $pop15, $pop85, $2 i32.const $push84=, .L.str i32.store $drop=, 128($1), $pop84 i32.const $push83=, .L.str.4 @@ -68,10 +68,10 @@ main: # @main i32.ne $push18=, $pop17, $pop82 br_if 0, $pop18 # 0: down to label0 # BB#5: # %if.end21 - i32.const $push19=, .L.str.1 - i32.const $push20=, 6 + i32.const $push20=, .L.str.1 + i32.const $push19=, 6 i32.const $push89=, 1 - i32.call $drop=, fwrite@FUNCTION, $pop19, $pop20, $pop89, $2 + i32.call $drop=, fwrite@FUNCTION, $pop20, $pop19, $pop89, $2 i32.const $push88=, .L.str.1 i32.store $drop=, 112($1), $pop88 i32.const $push87=, .L.str.4 @@ -142,10 +142,10 @@ main: # @main i32.ne $push44=, $pop42, $pop43 br_if 0, $pop44 # 0: down to label0 # BB#11: # %if.end51 - i32.const $push51=, __stack_pointer + i32.const $push51=, 0 i32.const $push49=, 144 i32.add $push50=, $1, $pop49 - i32.store $drop=, 0($pop51), $pop50 + i32.store $drop=, __stack_pointer($pop51), $pop50 return $0 .LBB0_12: # %if.then50 end_block # label0: diff --git a/test/torture-s/fprintf-chk-1.c.s b/test/torture-s/fprintf-chk-1.c.s index 83f8f5d80..da53bb7d3 100644 --- a/test/torture-s/fprintf-chk-1.c.s +++ b/test/torture-s/fprintf-chk-1.c.s @@ -9,12 +9,12 @@ __fprintf_chk: # @__fprintf_chk .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push10=, $pop4, $pop5 - i32.store $4=, 0($pop6), $pop10 + i32.store $4=, __stack_pointer($pop6), $pop10 block i32.const $push11=, 0 i32.load $push1=, should_optimize($pop11) @@ -25,10 +25,10 @@ __fprintf_chk: # @__fprintf_chk i32.store $drop=, should_optimize($pop12), $pop2 i32.store $push0=, 12($4), $3 i32.call $0=, vfprintf@FUNCTION, $0, $2, $pop0 - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 16 i32.add $push8=, $4, $pop7 - i32.store $drop=, 0($pop9), $pop8 + i32.store $drop=, __stack_pointer($pop9), $pop8 return $0 .LBB0_2: # %if.then end_block # label0: @@ -46,322 +46,323 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push76=, __stack_pointer - i32.const $push73=, __stack_pointer - i32.load $push74=, 0($pop73) - i32.const $push75=, 224 - i32.sub $push106=, $pop74, $pop75 - i32.store $2=, 0($pop76), $pop106 - i32.const $push113=, 0 - i32.const $push4=, 1 - i32.store $drop=, should_optimize($pop113), $pop4 - i32.const $push112=, 0 - i32.load $push111=, stdout($pop112) - tee_local $push110=, $3=, $pop111 - i32.const $push109=, .L.str - i32.const $push108=, 0 - i32.call $drop=, __fprintf_chk@FUNCTION, $pop110, $2, $pop109, $pop108 + i32.const $push74=, 0 + i32.const $push71=, 0 + i32.load $push72=, __stack_pointer($pop71) + i32.const $push73=, 224 + i32.sub $push104=, $pop72, $pop73 + i32.store $2=, __stack_pointer($pop74), $pop104 + i32.const $push111=, 0 + i32.const $push2=, 1 + i32.store $drop=, should_optimize($pop111), $pop2 + i32.const $push110=, 0 + i32.load $push109=, stdout($pop110) + tee_local $push108=, $3=, $pop109 + i32.const $push107=, .L.str + i32.const $push106=, 0 + i32.call $drop=, __fprintf_chk@FUNCTION, $pop108, $2, $pop107, $pop106 block - i32.const $push107=, 0 - i32.load $push5=, should_optimize($pop107) - i32.eqz $push183=, $pop5 - br_if 0, $pop183 # 0: down to label1 + i32.const $push105=, 0 + i32.load $push3=, should_optimize($pop105) + i32.eqz $push184=, $pop3 + br_if 0, $pop184 # 0: down to label1 # BB#1: # %if.end - i32.const $push116=, .L.str - i32.const $push115=, 0 - i32.const $push114=, 0 - i32.store $push0=, should_optimize($pop115), $pop114 - i32.call $push6=, __fprintf_chk@FUNCTION, $3, $2, $pop116, $pop0 - i32.const $push7=, 5 - i32.ne $push8=, $pop6, $pop7 - br_if 0, $pop8 # 0: down to label1 + i32.const $push114=, .L.str + i32.const $push113=, 0 + i32.const $push112=, 0 + i32.store $push0=, should_optimize($pop113), $pop112 + i32.call $push4=, __fprintf_chk@FUNCTION, $3, $2, $pop114, $pop0 + i32.const $push5=, 5 + i32.ne $push6=, $pop4, $pop5 + br_if 0, $pop6 # 0: down to label1 # BB#2: # %if.end3 - i32.const $push117=, 0 - i32.load $push9=, should_optimize($pop117) - i32.eqz $push184=, $pop9 - br_if 0, $pop184 # 0: down to label1 + i32.const $push115=, 0 + i32.load $push7=, should_optimize($pop115) + i32.eqz $push185=, $pop7 + br_if 0, $pop185 # 0: down to label1 # BB#3: # %if.end6 - i32.const $push121=, 0 - i32.const $push10=, 1 - i32.store $drop=, should_optimize($pop121), $pop10 - i32.const $push120=, .L.str.1 i32.const $push119=, 0 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop120, $pop119 - i32.const $push118=, 0 - i32.load $push11=, should_optimize($pop118) - i32.eqz $push185=, $pop11 - br_if 0, $pop185 # 0: down to label1 + i32.const $push8=, 1 + i32.store $drop=, should_optimize($pop119), $pop8 + i32.const $push118=, .L.str.1 + i32.const $push117=, 0 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop118, $pop117 + i32.const $push116=, 0 + i32.load $push9=, should_optimize($pop116) + i32.eqz $push186=, $pop9 + br_if 0, $pop186 # 0: down to label1 # BB#4: # %if.end10 - i32.const $push125=, .L.str.1 - i32.const $push12=, 0 - i32.const $push124=, 0 - i32.store $push123=, should_optimize($pop12), $pop124 - tee_local $push122=, $1=, $pop123 - i32.call $push13=, __fprintf_chk@FUNCTION, $3, $2, $pop125, $pop122 - i32.const $push14=, 6 - i32.ne $push15=, $pop13, $pop14 - br_if 0, $pop15 # 0: down to label1 + i32.const $push123=, .L.str.1 + i32.const $push10=, 0 + i32.const $push122=, 0 + i32.store $push121=, should_optimize($pop10), $pop122 + tee_local $push120=, $1=, $pop121 + i32.call $push11=, __fprintf_chk@FUNCTION, $3, $2, $pop123, $pop120 + i32.const $push12=, 6 + i32.ne $push13=, $pop11, $pop12 + br_if 0, $pop13 # 0: down to label1 # BB#5: # %if.end14 - i32.load $push16=, should_optimize($1) - i32.eqz $push186=, $pop16 - br_if 0, $pop186 # 0: down to label1 + i32.load $push14=, should_optimize($1) + i32.eqz $push187=, $pop14 + br_if 0, $pop187 # 0: down to label1 # BB#6: # %if.end17 - i32.const $push129=, 0 - i32.const $push17=, 1 - i32.store $1=, should_optimize($pop129), $pop17 - i32.const $push128=, .L.str.2 i32.const $push127=, 0 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop128, $pop127 - i32.const $push126=, 0 - i32.load $push18=, should_optimize($pop126) - i32.eqz $push187=, $pop18 - br_if 0, $pop187 # 0: down to label1 + i32.const $push15=, 1 + i32.store $1=, should_optimize($pop127), $pop15 + i32.const $push126=, .L.str.2 + i32.const $push125=, 0 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop126, $pop125 + i32.const $push124=, 0 + i32.load $push16=, should_optimize($pop124) + i32.eqz $push188=, $pop16 + br_if 0, $pop188 # 0: down to label1 # BB#7: # %if.end21 - i32.const $push132=, .L.str.2 - i32.const $push131=, 0 - i32.const $push130=, 0 - i32.store $push1=, should_optimize($pop131), $pop130 - i32.call $push19=, __fprintf_chk@FUNCTION, $3, $2, $pop132, $pop1 - i32.ne $push20=, $pop19, $1 - br_if 0, $pop20 # 0: down to label1 + i32.const $push130=, .L.str.2 + i32.const $push129=, 0 + i32.const $push128=, 0 + i32.store $push1=, should_optimize($pop129), $pop128 + i32.call $push17=, __fprintf_chk@FUNCTION, $3, $2, $pop130, $pop1 + i32.ne $push18=, $pop17, $1 + br_if 0, $pop18 # 0: down to label1 # BB#8: # %if.end25 - i32.const $push133=, 0 - i32.load $push21=, should_optimize($pop133) - i32.eqz $push188=, $pop21 - br_if 0, $pop188 # 0: down to label1 + i32.const $push131=, 0 + i32.load $push19=, should_optimize($pop131) + i32.eqz $push189=, $pop19 + br_if 0, $pop189 # 0: down to label1 # BB#9: # %if.end28 - i32.const $push137=, 0 - i32.const $push22=, 1 - i32.store $drop=, should_optimize($pop137), $pop22 - i32.const $push136=, .L.str.3 i32.const $push135=, 0 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop136, $pop135 - i32.const $push134=, 0 - i32.load $push23=, should_optimize($pop134) - i32.eqz $push189=, $pop23 - br_if 0, $pop189 # 0: down to label1 + i32.const $push20=, 1 + i32.store $drop=, should_optimize($pop135), $pop20 + i32.const $push134=, .L.str.3 + i32.const $push133=, 0 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop134, $pop133 + i32.const $push132=, 0 + i32.load $push21=, should_optimize($pop132) + i32.eqz $push190=, $pop21 + br_if 0, $pop190 # 0: down to label1 # BB#10: # %if.end32 - i32.const $push141=, .L.str.3 - i32.const $push24=, 0 - i32.const $push140=, 0 - i32.store $push139=, should_optimize($pop24), $pop140 - tee_local $push138=, $1=, $pop139 - i32.call $push25=, __fprintf_chk@FUNCTION, $3, $2, $pop141, $pop138 - br_if 0, $pop25 # 0: down to label1 + i32.const $push139=, .L.str.3 + i32.const $push22=, 0 + i32.const $push138=, 0 + i32.store $push137=, should_optimize($pop22), $pop138 + tee_local $push136=, $1=, $pop137 + i32.call $push23=, __fprintf_chk@FUNCTION, $3, $2, $pop139, $pop136 + br_if 0, $pop23 # 0: down to label1 # BB#11: # %if.end36 - i32.load $push26=, should_optimize($1) - i32.eqz $push190=, $pop26 - br_if 0, $pop190 # 0: down to label1 + i32.load $push24=, should_optimize($1) + i32.eqz $push191=, $pop24 + br_if 0, $pop191 # 0: down to label1 # BB#12: # %if.end39 - i32.const $push144=, 0 - i32.const $push27=, 1 - i32.store $drop=, should_optimize($pop144), $pop27 - i32.const $push28=, .L.str - i32.store $1=, 208($2), $pop28 - i32.const $push143=, .L.str.4 - i32.const $push80=, 208 - i32.add $push81=, $2, $pop80 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop143, $pop81 i32.const $push142=, 0 - i32.load $push29=, should_optimize($pop142) - i32.eqz $push191=, $pop29 - br_if 0, $pop191 # 0: down to label1 + i32.const $push25=, 1 + i32.store $drop=, should_optimize($pop142), $pop25 + i32.const $push26=, .L.str + i32.store $1=, 208($2), $pop26 + i32.const $push141=, .L.str.4 + i32.const $push78=, 208 + i32.add $push79=, $2, $pop78 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop141, $pop79 + i32.const $push140=, 0 + i32.load $push27=, should_optimize($pop140) + i32.eqz $push192=, $pop27 + br_if 0, $pop192 # 0: down to label1 # BB#13: # %if.end43 - i32.const $push147=, 0 - i32.const $push146=, 0 - i32.store $drop=, should_optimize($pop147), $pop146 i32.store $drop=, 192($2), $1 - i32.const $push145=, .L.str.4 - i32.const $push82=, 192 - i32.add $push83=, $2, $pop82 - i32.call $push30=, __fprintf_chk@FUNCTION, $3, $2, $pop145, $pop83 - i32.const $push31=, 5 - i32.ne $push32=, $pop30, $pop31 - br_if 0, $pop32 # 0: down to label1 + i32.const $push145=, 0 + i32.const $push144=, 0 + i32.store $drop=, should_optimize($pop145), $pop144 + i32.const $push143=, .L.str.4 + i32.const $push80=, 192 + i32.add $push81=, $2, $pop80 + i32.call $push28=, __fprintf_chk@FUNCTION, $3, $2, $pop143, $pop81 + i32.const $push29=, 5 + i32.ne $push30=, $pop28, $pop29 + br_if 0, $pop30 # 0: down to label1 # BB#14: # %if.end47 - i32.const $push148=, 0 - i32.load $push33=, should_optimize($pop148) - i32.eqz $push192=, $pop33 - br_if 0, $pop192 # 0: down to label1 + i32.const $push146=, 0 + i32.load $push31=, should_optimize($pop146) + i32.eqz $push193=, $pop31 + br_if 0, $pop193 # 0: down to label1 # BB#15: # %if.end50 - i32.const $push151=, 0 - i32.const $push34=, 1 - i32.store $drop=, should_optimize($pop151), $pop34 - i32.const $push35=, .L.str.1 - i32.store $1=, 176($2), $pop35 - i32.const $push150=, .L.str.4 - i32.const $push84=, 176 - i32.add $push85=, $2, $pop84 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop150, $pop85 i32.const $push149=, 0 - i32.load $push36=, should_optimize($pop149) - i32.eqz $push193=, $pop36 - br_if 0, $pop193 # 0: down to label1 + i32.const $push32=, 1 + i32.store $drop=, should_optimize($pop149), $pop32 + i32.const $push33=, .L.str.1 + i32.store $1=, 176($2), $pop33 + i32.const $push148=, .L.str.4 + i32.const $push82=, 176 + i32.add $push83=, $2, $pop82 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop148, $pop83 + i32.const $push147=, 0 + i32.load $push34=, should_optimize($pop147) + i32.eqz $push194=, $pop34 + br_if 0, $pop194 # 0: down to label1 # BB#16: # %if.end54 - i32.const $push37=, 0 - i32.const $push153=, 0 - i32.store $0=, should_optimize($pop37), $pop153 i32.store $drop=, 160($2), $1 - i32.const $push152=, .L.str.4 - i32.const $push86=, 160 - i32.add $push87=, $2, $pop86 - i32.call $push38=, __fprintf_chk@FUNCTION, $3, $2, $pop152, $pop87 - i32.const $push39=, 6 - i32.ne $push40=, $pop38, $pop39 - br_if 0, $pop40 # 0: down to label1 + i32.const $push35=, 0 + i32.const $push151=, 0 + i32.store $1=, should_optimize($pop35), $pop151 + i32.const $push150=, .L.str.4 + i32.const $push84=, 160 + i32.add $push85=, $2, $pop84 + i32.call $push36=, __fprintf_chk@FUNCTION, $3, $2, $pop150, $pop85 + i32.const $push37=, 6 + i32.ne $push38=, $pop36, $pop37 + br_if 0, $pop38 # 0: down to label1 # BB#17: # %if.end58 - i32.load $push41=, should_optimize($0) - i32.eqz $push194=, $pop41 - br_if 0, $pop194 # 0: down to label1 + i32.load $push39=, should_optimize($1) + i32.eqz $push195=, $pop39 + br_if 0, $pop195 # 0: down to label1 # BB#18: # %if.end61 - i32.const $push156=, 0 - i32.const $push42=, 1 - i32.store $1=, should_optimize($pop156), $pop42 - i32.const $push43=, .L.str.2 - i32.store $0=, 144($2), $pop43 - i32.const $push155=, .L.str.4 - i32.const $push88=, 144 - i32.add $push89=, $2, $pop88 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop155, $pop89 i32.const $push154=, 0 - i32.load $push44=, should_optimize($pop154) - i32.eqz $push195=, $pop44 - br_if 0, $pop195 # 0: down to label1 + i32.const $push40=, 1 + i32.store $1=, should_optimize($pop154), $pop40 + i32.const $push41=, .L.str.2 + i32.store $0=, 144($2), $pop41 + i32.const $push153=, .L.str.4 + i32.const $push86=, 144 + i32.add $push87=, $2, $pop86 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop153, $pop87 + i32.const $push152=, 0 + i32.load $push42=, should_optimize($pop152) + i32.eqz $push196=, $pop42 + br_if 0, $pop196 # 0: down to label1 # BB#19: # %if.end65 - i32.const $push159=, 0 - i32.const $push158=, 0 - i32.store $drop=, should_optimize($pop159), $pop158 i32.store $drop=, 128($2), $0 - i32.const $push157=, .L.str.4 - i32.const $push90=, 128 - i32.add $push91=, $2, $pop90 - i32.call $push45=, __fprintf_chk@FUNCTION, $3, $2, $pop157, $pop91 - i32.ne $push46=, $pop45, $1 - br_if 0, $pop46 # 0: down to label1 + i32.const $push157=, 0 + i32.const $push156=, 0 + i32.store $drop=, should_optimize($pop157), $pop156 + i32.const $push155=, .L.str.4 + i32.const $push88=, 128 + i32.add $push89=, $2, $pop88 + i32.call $push43=, __fprintf_chk@FUNCTION, $3, $2, $pop155, $pop89 + i32.ne $push44=, $pop43, $1 + br_if 0, $pop44 # 0: down to label1 # BB#20: # %if.end69 - i32.const $push160=, 0 - i32.load $push47=, should_optimize($pop160) - i32.eqz $push196=, $pop47 - br_if 0, $pop196 # 0: down to label1 + i32.const $push158=, 0 + i32.load $push45=, should_optimize($pop158) + i32.eqz $push197=, $pop45 + br_if 0, $pop197 # 0: down to label1 # BB#21: # %if.end72 - i32.const $push163=, 0 - i32.const $push48=, 1 - i32.store $drop=, should_optimize($pop163), $pop48 - i32.const $push49=, .L.str.3 - i32.store $1=, 112($2), $pop49 - i32.const $push162=, .L.str.4 - i32.const $push92=, 112 - i32.add $push93=, $2, $pop92 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop162, $pop93 i32.const $push161=, 0 - i32.load $push50=, should_optimize($pop161) - i32.eqz $push197=, $pop50 - br_if 0, $pop197 # 0: down to label1 + i32.const $push46=, 1 + i32.store $drop=, should_optimize($pop161), $pop46 + i32.const $push47=, .L.str.3 + i32.store $1=, 112($2), $pop47 + i32.const $push160=, .L.str.4 + i32.const $push90=, 112 + i32.add $push91=, $2, $pop90 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop160, $pop91 + i32.const $push159=, 0 + i32.load $push48=, should_optimize($pop159) + i32.eqz $push198=, $pop48 + br_if 0, $pop198 # 0: down to label1 # BB#22: # %if.end76 - i32.const $push51=, 0 - i32.const $push165=, 0 - i32.store $0=, should_optimize($pop51), $pop165 i32.store $drop=, 96($2), $1 - i32.const $push164=, .L.str.4 - i32.const $push94=, 96 - i32.add $push95=, $2, $pop94 - i32.call $push52=, __fprintf_chk@FUNCTION, $3, $2, $pop164, $pop95 - br_if 0, $pop52 # 0: down to label1 + i32.const $push49=, 0 + i32.const $push163=, 0 + i32.store $1=, should_optimize($pop49), $pop163 + i32.const $push162=, .L.str.4 + i32.const $push92=, 96 + i32.add $push93=, $2, $pop92 + i32.call $push50=, __fprintf_chk@FUNCTION, $3, $2, $pop162, $pop93 + br_if 0, $pop50 # 0: down to label1 # BB#23: # %if.end80 - i32.load $push53=, should_optimize($0) - i32.eqz $push198=, $pop53 - br_if 0, $pop198 # 0: down to label1 + i32.load $push51=, should_optimize($1) + i32.eqz $push199=, $pop51 + br_if 0, $pop199 # 0: down to label1 # BB#24: # %if.end83 - i32.const $push168=, 0 - i32.const $push54=, 1 - i32.store $1=, should_optimize($pop168), $pop54 - i32.const $push55=, 120 - i32.store $0=, 80($2), $pop55 - i32.const $push167=, .L.str.5 - i32.const $push96=, 80 - i32.add $push97=, $2, $pop96 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop167, $pop97 i32.const $push166=, 0 - i32.load $push56=, should_optimize($pop166) - i32.eqz $push199=, $pop56 - br_if 0, $pop199 # 0: down to label1 + i32.const $push52=, 1 + i32.store $1=, should_optimize($pop166), $pop52 + i32.const $push53=, 120 + i32.store $0=, 80($2), $pop53 + i32.const $push165=, .L.str.5 + i32.const $push94=, 80 + i32.add $push95=, $2, $pop94 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop165, $pop95 + i32.const $push164=, 0 + i32.load $push54=, should_optimize($pop164) + i32.eqz $push200=, $pop54 + br_if 0, $pop200 # 0: down to label1 # BB#25: # %if.end87 - i32.const $push171=, 0 - i32.const $push170=, 0 - i32.store $drop=, should_optimize($pop171), $pop170 i32.store $drop=, 64($2), $0 - i32.const $push169=, .L.str.5 - i32.const $push98=, 64 - i32.add $push99=, $2, $pop98 - i32.call $push57=, __fprintf_chk@FUNCTION, $3, $2, $pop169, $pop99 - i32.ne $push58=, $pop57, $1 - br_if 0, $pop58 # 0: down to label1 + i32.const $push169=, 0 + i32.const $push168=, 0 + i32.store $drop=, should_optimize($pop169), $pop168 + i32.const $push167=, .L.str.5 + i32.const $push96=, 64 + i32.add $push97=, $2, $pop96 + i32.call $push55=, __fprintf_chk@FUNCTION, $3, $2, $pop167, $pop97 + i32.ne $push56=, $pop55, $1 + br_if 0, $pop56 # 0: down to label1 # BB#26: # %if.end91 - i32.const $push172=, 0 - i32.load $push59=, should_optimize($pop172) - i32.eqz $push200=, $pop59 - br_if 0, $pop200 # 0: down to label1 + i32.const $push170=, 0 + i32.load $push57=, should_optimize($pop170) + i32.eqz $push201=, $pop57 + br_if 0, $pop201 # 0: down to label1 # BB#27: # %if.end94 + i32.const $push58=, .L.str.1 + i32.store $1=, 48($2), $pop58 + i32.const $push173=, 0 + i32.const $push172=, 0 + i32.store $0=, should_optimize($pop173), $pop172 + i32.const $push171=, .L.str.6 + i32.const $push98=, 48 + i32.add $push99=, $2, $pop98 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop171, $pop99 + i32.load $push59=, should_optimize($0) + i32.eqz $push202=, $pop59 + br_if 0, $pop202 # 0: down to label1 +# BB#28: # %if.end98 + i32.store $drop=, 32($2), $1 + i32.const $push60=, 0 i32.const $push175=, 0 - i32.const $push174=, 0 - i32.store $1=, should_optimize($pop175), $pop174 - i32.const $push60=, .L.str.1 - i32.store $0=, 48($2), $pop60 - i32.const $push173=, .L.str.6 - i32.const $push100=, 48 + i32.store $1=, should_optimize($pop60), $pop175 + i32.const $push174=, .L.str.6 + i32.const $push100=, 32 i32.add $push101=, $2, $pop100 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop173, $pop101 - i32.load $push61=, should_optimize($1) - i32.eqz $push201=, $pop61 - br_if 0, $pop201 # 0: down to label1 -# BB#28: # %if.end98 - i32.const $push62=, 0 - i32.const $push177=, 0 - i32.store $1=, should_optimize($pop62), $pop177 - i32.store $drop=, 32($2), $0 - i32.const $push176=, .L.str.6 - i32.const $push102=, 32 - i32.add $push103=, $2, $pop102 - i32.call $push63=, __fprintf_chk@FUNCTION, $3, $2, $pop176, $pop103 - i32.const $push64=, 7 - i32.ne $push65=, $pop63, $pop64 - br_if 0, $pop65 # 0: down to label1 + i32.call $push61=, __fprintf_chk@FUNCTION, $3, $2, $pop174, $pop101 + i32.const $push62=, 7 + i32.ne $push63=, $pop61, $pop62 + br_if 0, $pop63 # 0: down to label1 # BB#29: # %if.end102 - i32.load $push66=, should_optimize($1) - i32.eqz $push202=, $pop66 - br_if 0, $pop202 # 0: down to label1 -# BB#30: # %if.end105 - i32.const $push67=, 0 - i32.const $push179=, 0 - i32.store $push2=, should_optimize($pop67), $pop179 - i32.store $1=, 16($2), $pop2 - i32.const $push178=, .L.str.7 - i32.const $push104=, 16 - i32.add $push105=, $2, $pop104 - i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop178, $pop105 - i32.load $push68=, should_optimize($1) - i32.eqz $push203=, $pop68 + i32.load $push64=, should_optimize($1) + i32.eqz $push203=, $pop64 br_if 0, $pop203 # 0: down to label1 +# BB#30: # %if.end105 + i32.const $push65=, 0 + i32.store $push178=, 16($2), $pop65 + tee_local $push177=, $1=, $pop178 + i32.store $drop=, should_optimize($pop177), $1 + i32.const $push176=, .L.str.7 + i32.const $push102=, 16 + i32.add $push103=, $2, $pop102 + i32.call $drop=, __fprintf_chk@FUNCTION, $3, $2, $pop176, $pop103 + i32.load $push66=, should_optimize($1) + i32.eqz $push204=, $pop66 + br_if 0, $pop204 # 0: down to label1 # BB#31: # %if.end109 - i32.store $push3=, should_optimize($1), $1 - i32.store $drop=, 0($2), $pop3 - i32.const $push180=, .L.str.7 - i32.call $push69=, __fprintf_chk@FUNCTION, $3, $2, $pop180, $2 - i32.const $push70=, 2 - i32.ne $push71=, $pop69, $pop70 - br_if 0, $pop71 # 0: down to label1 + i32.store $push181=, 0($2), $1 + tee_local $push180=, $1=, $pop181 + i32.store $drop=, should_optimize($pop180), $1 + i32.const $push179=, .L.str.7 + i32.call $push67=, __fprintf_chk@FUNCTION, $3, $2, $pop179, $2 + i32.const $push68=, 2 + i32.ne $push69=, $pop67, $pop68 + br_if 0, $pop69 # 0: down to label1 # BB#32: # %if.end113 - i32.const $push181=, 0 - i32.load $push72=, should_optimize($pop181) - i32.eqz $push204=, $pop72 - br_if 0, $pop204 # 0: down to label1 -# BB#33: # %if.end116 - i32.const $push79=, __stack_pointer - i32.const $push77=, 224 - i32.add $push78=, $2, $pop77 - i32.store $drop=, 0($pop79), $pop78 i32.const $push182=, 0 - return $pop182 + i32.load $push70=, should_optimize($pop182) + i32.eqz $push205=, $pop70 + br_if 0, $pop205 # 0: down to label1 +# BB#33: # %if.end116 + i32.const $push77=, 0 + i32.const $push75=, 224 + i32.add $push76=, $2, $pop75 + i32.store $drop=, __stack_pointer($pop77), $pop76 + i32.const $push183=, 0 + return $pop183 .LBB1_34: # %if.then115 end_block # label1: call abort@FUNCTION diff --git a/test/torture-s/frame-address.c.s b/test/torture-s/frame-address.c.s index ca3495043..69bfbfad7 100644 --- a/test/torture-s/frame-address.c.s +++ b/test/torture-s/frame-address.c.s @@ -9,8 +9,8 @@ check_fa_work: # @check_fa_work .result i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 16 i32.sub $push18=, $pop9, $pop10 tee_local $push17=, $2=, $pop18 @@ -35,7 +35,7 @@ check_fa_work: # @check_fa_work i32.add $push16=, $2, $pop15 i32.le_u $push3=, $pop16, $1 i32.and $push7=, $pop2, $pop3 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size check_fa_work, .Lfunc_end0-check_fa_work @@ -49,16 +49,16 @@ check_fa_mid: # @check_fa_mid .result i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push5=, 0($pop3) - copy_local $push7=, $pop5 - tee_local $push6=, $1=, $pop7 - i32.store $drop=, 0($pop4), $pop6 - i32.call $push0=, check_fa_work@FUNCTION, $0, $1 - i32.const $push1=, 0 - i32.ne $push2=, $pop0, $pop1 - return $pop2 + i32.const $push2=, 0 + i32.load $push4=, __stack_pointer($pop2) + copy_local $push6=, $pop4 + tee_local $push5=, $1=, $pop6 + i32.call $0=, check_fa_work@FUNCTION, $0, $pop5 + i32.const $push3=, 0 + i32.store $drop=, __stack_pointer($pop3), $1 + i32.const $push0=, 0 + i32.ne $push1=, $0, $pop0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size check_fa_mid, .Lfunc_end1-check_fa_mid @@ -70,25 +70,25 @@ check_fa_mid: # @check_fa_mid check_fa: # @check_fa .param i32 .result i32 - .local i32 + .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) - i32.const $push5=, 16 - i32.sub $push12=, $pop4, $pop5 - i32.store $push14=, 0($pop6), $pop12 - tee_local $push13=, $1=, $pop14 - i32.const $push7=, 16 - i32.add $push8=, $pop13, $pop7 - i32.store $drop=, 0($pop9), $pop8 - i32.const $push10=, 15 - i32.add $push11=, $1, $pop10 - i32.call $push0=, check_fa_mid@FUNCTION, $pop11 - i32.const $push1=, 0 - i32.ne $push2=, $pop0, $pop1 - return $pop2 + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) + i32.const $push4=, 16 + i32.sub $push11=, $pop3, $pop4 + i32.store $push13=, __stack_pointer($pop5), $pop11 + tee_local $push12=, $1=, $pop13 + i32.const $push9=, 15 + i32.add $push10=, $pop12, $pop9 + i32.call $2=, check_fa_mid@FUNCTION, $pop10 + i32.const $push8=, 0 + i32.const $push6=, 16 + i32.add $push7=, $1, $pop6 + i32.store $drop=, __stack_pointer($pop8), $pop7 + i32.const $push0=, 0 + i32.ne $push1=, $2, $pop0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size check_fa, .Lfunc_end2-check_fa @@ -101,7 +101,7 @@ how_much: # @how_much .result i32 # BB#0: # %entry i32.const $push0=, 8 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size how_much, .Lfunc_end3-how_much diff --git a/test/torture-s/gofast.c.s b/test/torture-s/gofast.c.s index 4f7e9ea78..af6709975 100644 --- a/test/torture-s/gofast.c.s +++ b/test/torture-s/gofast.c.s @@ -9,7 +9,7 @@ fp_add: # @fp_add .result f32 # BB#0: # %entry f32.add $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size fp_add, .Lfunc_end0-fp_add @@ -23,7 +23,7 @@ fp_sub: # @fp_sub .result f32 # BB#0: # %entry f32.sub $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size fp_sub, .Lfunc_end1-fp_sub @@ -37,7 +37,7 @@ fp_mul: # @fp_mul .result f32 # BB#0: # %entry f32.mul $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size fp_mul, .Lfunc_end2-fp_mul @@ -51,7 +51,7 @@ fp_div: # @fp_div .result f32 # BB#0: # %entry f32.div $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size fp_div, .Lfunc_end3-fp_div @@ -65,7 +65,7 @@ fp_neg: # @fp_neg .result f32 # BB#0: # %entry f32.neg $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size fp_neg, .Lfunc_end4-fp_neg @@ -79,7 +79,7 @@ dp_add: # @dp_add .result f64 # BB#0: # %entry f64.add $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size dp_add, .Lfunc_end5-dp_add @@ -93,7 +93,7 @@ dp_sub: # @dp_sub .result f64 # BB#0: # %entry f64.sub $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size dp_sub, .Lfunc_end6-dp_sub @@ -107,7 +107,7 @@ dp_mul: # @dp_mul .result f64 # BB#0: # %entry f64.mul $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end7: .size dp_mul, .Lfunc_end7-dp_mul @@ -121,7 +121,7 @@ dp_div: # @dp_div .result f64 # BB#0: # %entry f64.div $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size dp_div, .Lfunc_end8-dp_div @@ -135,7 +135,7 @@ dp_neg: # @dp_neg .result f64 # BB#0: # %entry f64.neg $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end9: .size dp_neg, .Lfunc_end9-dp_neg @@ -149,7 +149,7 @@ fp_to_dp: # @fp_to_dp .result f64 # BB#0: # %entry f64.promote/f32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end10: .size fp_to_dp, .Lfunc_end10-fp_to_dp @@ -163,7 +163,7 @@ dp_to_fp: # @dp_to_fp .result f32 # BB#0: # %entry f32.demote/f64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end11: .size dp_to_fp, .Lfunc_end11-dp_to_fp @@ -177,7 +177,7 @@ eqsf2: # @eqsf2 .result i32 # BB#0: # %entry f32.eq $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end12: .size eqsf2, .Lfunc_end12-eqsf2 @@ -191,7 +191,7 @@ nesf2: # @nesf2 .result i32 # BB#0: # %entry f32.ne $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end13: .size nesf2, .Lfunc_end13-nesf2 @@ -205,7 +205,7 @@ gtsf2: # @gtsf2 .result i32 # BB#0: # %entry f32.gt $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end14: .size gtsf2, .Lfunc_end14-gtsf2 @@ -219,7 +219,7 @@ gesf2: # @gesf2 .result i32 # BB#0: # %entry f32.ge $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end15: .size gesf2, .Lfunc_end15-gesf2 @@ -233,7 +233,7 @@ ltsf2: # @ltsf2 .result i32 # BB#0: # %entry f32.lt $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end16: .size ltsf2, .Lfunc_end16-ltsf2 @@ -247,7 +247,7 @@ lesf2: # @lesf2 .result i32 # BB#0: # %entry f32.le $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end17: .size lesf2, .Lfunc_end17-lesf2 @@ -261,7 +261,7 @@ eqdf2: # @eqdf2 .result i32 # BB#0: # %entry f64.eq $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end18: .size eqdf2, .Lfunc_end18-eqdf2 @@ -275,7 +275,7 @@ nedf2: # @nedf2 .result i32 # BB#0: # %entry f64.ne $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end19: .size nedf2, .Lfunc_end19-nedf2 @@ -289,7 +289,7 @@ gtdf2: # @gtdf2 .result i32 # BB#0: # %entry f64.gt $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end20: .size gtdf2, .Lfunc_end20-gtdf2 @@ -303,7 +303,7 @@ gedf2: # @gedf2 .result i32 # BB#0: # %entry f64.ge $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end21: .size gedf2, .Lfunc_end21-gedf2 @@ -317,7 +317,7 @@ ltdf2: # @ltdf2 .result i32 # BB#0: # %entry f64.lt $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end22: .size ltdf2, .Lfunc_end22-ltdf2 @@ -331,7 +331,7 @@ ledf2: # @ledf2 .result i32 # BB#0: # %entry f64.le $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end23: .size ledf2, .Lfunc_end23-ledf2 @@ -345,7 +345,7 @@ floatsisf: # @floatsisf .result f32 # BB#0: # %entry f32.convert_s/i32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end24: .size floatsisf, .Lfunc_end24-floatsisf @@ -359,7 +359,7 @@ floatsidf: # @floatsidf .result f64 # BB#0: # %entry f64.convert_s/i32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end25: .size floatsidf, .Lfunc_end25-floatsidf @@ -373,7 +373,7 @@ fixsfsi: # @fixsfsi .result i32 # BB#0: # %entry i32.trunc_s/f32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end26: .size fixsfsi, .Lfunc_end26-fixsfsi @@ -387,7 +387,7 @@ fixdfsi: # @fixdfsi .result i32 # BB#0: # %entry i32.trunc_s/f64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end27: .size fixdfsi, .Lfunc_end27-fixdfsi @@ -401,7 +401,7 @@ fixunssfsi: # @fixunssfsi .result i32 # BB#0: # %entry i32.trunc_u/f32 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end28: .size fixunssfsi, .Lfunc_end28-fixunssfsi @@ -415,7 +415,7 @@ fixunsdfsi: # @fixunsdfsi .result i32 # BB#0: # %entry i32.trunc_u/f64 $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end29: .size fixunsdfsi, .Lfunc_end29-fixunsdfsi @@ -429,12 +429,12 @@ fail: # @fail .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $1=, 0($pop9), $pop13 + i32.store $1=, __stack_pointer($pop9), $pop13 i32.const $push0=, 0 i32.const $push15=, 0 i32.load $push1=, fail_count($pop15) @@ -446,11 +446,12 @@ fail: # @fail i32.load $push4=, stderr($pop14) i32.const $push5=, .L.str i32.call $drop=, fprintf@FUNCTION, $pop4, $pop5, $1 - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $1, $pop10 - i32.store $drop=, 0($pop12), $pop11 - return $1 + i32.store $drop=, __stack_pointer($pop12), $pop11 + copy_local $push16=, $1 + # fallthrough-return: $pop16 .endfunc .Lfunc_end30: .size fail, .Lfunc_end30-fail diff --git a/test/torture-s/ifcvt-onecmpl-abs-1.c.s b/test/torture-s/ifcvt-onecmpl-abs-1.c.s index 840de5bd7..849c716a3 100644 --- a/test/torture-s/ifcvt-onecmpl-abs-1.c.s +++ b/test/torture-s/ifcvt-onecmpl-abs-1.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.const $push0=, 31 i32.shr_s $push1=, $0, $pop0 i32.xor $push2=, $pop1, $0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/index-1.c.s b/test/torture-s/index-1.c.s index cdb8a5eec..8794c31c0 100644 --- a/test/torture-s/index-1.c.s +++ b/test/torture-s/index-1.c.s @@ -13,7 +13,7 @@ f: # @f i32.const $push2=, a-400000 i32.add $push3=, $pop1, $pop2 i32.load $push4=, 0($pop3) - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/inst-check.c.s b/test/torture-s/inst-check.c.s index 9f561f018..6fd027f32 100644 --- a/test/torture-s/inst-check.c.s +++ b/test/torture-s/inst-check.c.s @@ -15,13 +15,13 @@ f: # @f i32.lt_s $push1=, $0, $pop0 br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $push2=, -1 - i32.add $push3=, $0, $pop2 - i64.extend_u/i32 $push4=, $pop3 - i32.const $push5=, -2 + i32.const $push5=, -1 i32.add $push6=, $0, $pop5 i64.extend_u/i32 $push7=, $pop6 - i64.mul $push8=, $pop4, $pop7 + i32.const $push2=, -2 + i32.add $push3=, $0, $pop2 + i64.extend_u/i32 $push4=, $pop3 + i64.mul $push8=, $pop7, $pop4 i64.const $push9=, 1 i64.shr_u $push10=, $pop8, $pop9 i32.wrap/i64 $push11=, $pop10 @@ -30,7 +30,8 @@ f: # @f i32.add $1=, $pop12, $pop13 .LBB0_2: # %for.end end_block # label0: - return $1 + copy_local $push14=, $1 + # fallthrough-return: $pop14 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/int-compare.c.s b/test/torture-s/int-compare.c.s index 1a3b5f689..db793e650 100644 --- a/test/torture-s/int-compare.c.s +++ b/test/torture-s/int-compare.c.s @@ -9,7 +9,7 @@ gt: # @gt .result i32 # BB#0: # %entry i32.gt_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size gt, .Lfunc_end0-gt @@ -23,7 +23,7 @@ ge: # @ge .result i32 # BB#0: # %entry i32.ge_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size ge, .Lfunc_end1-ge @@ -37,7 +37,7 @@ lt: # @lt .result i32 # BB#0: # %entry i32.lt_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size lt, .Lfunc_end2-lt @@ -51,7 +51,7 @@ le: # @le .result i32 # BB#0: # %entry i32.le_s $push0=, $0, $1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size le, .Lfunc_end3-le @@ -103,7 +103,8 @@ f: # @f .result i32 .local i32 # BB#0: # %true.exit - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size f, .Lfunc_end6-f diff --git a/test/torture-s/ipa-sra-1.c.s b/test/torture-s/ipa-sra-1.c.s index 268f747ac..2575f36ae 100644 --- a/test/torture-s/ipa-sra-1.c.s +++ b/test/torture-s/ipa-sra-1.c.s @@ -9,7 +9,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/ipa-sra-2.c.s b/test/torture-s/ipa-sra-2.c.s index 364a1887b..ed7b15618 100644 --- a/test/torture-s/ipa-sra-2.c.s +++ b/test/torture-s/ipa-sra-2.c.s @@ -17,7 +17,8 @@ main: # @main tee_local $push4=, $0=, $pop5 i32.call $2=, foo@FUNCTION, $pop3, $pop4 call free@FUNCTION, $0 - return $2 + copy_local $push6=, $2 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -32,7 +33,7 @@ foo: # @foo i32.add $push1=, $1, $pop0 i32.select $push2=, $pop1, $1, $0 i32.load $push3=, 0($pop2) - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/longlong.c.s b/test/torture-s/longlong.c.s index 2fa60b164..8215b86e8 100644 --- a/test/torture-s/longlong.c.s +++ b/test/torture-s/longlong.c.s @@ -10,10 +10,10 @@ alpha_ep_extbl_i_eq_0: # @alpha_ep_extbl_i_eq_0 block i32.const $push28=, 0 i32.load $push27=, pars($pop28) - tee_local $push26=, $1=, $pop27 + tee_local $push26=, $0=, $pop27 i32.const $push0=, 31 i32.and $push25=, $pop26, $pop0 - tee_local $push24=, $0=, $pop25 + tee_local $push24=, $1=, $pop25 i32.const $push23=, 31 i32.eq $push1=, $pop24, $pop23 br_if 0, $pop1 # 0: down to label0 @@ -22,31 +22,31 @@ alpha_ep_extbl_i_eq_0: # @alpha_ep_extbl_i_eq_0 i32.load $push31=, r($pop32) tee_local $push30=, $2=, $pop31 i32.const $push20=, 3 - i32.shl $push21=, $0, $pop20 + i32.shl $push21=, $1, $pop20 i32.add $push22=, $pop30, $pop21 - i32.const $push2=, 2 - i32.shr_u $push3=, $1, $pop2 + i32.const $push12=, 2 + i32.shr_u $push13=, $0, $pop12 i32.const $push4=, 248 - i32.and $push5=, $pop3, $pop4 + i32.and $push14=, $pop13, $pop4 + i32.add $push15=, $2, $pop14 + i64.load $push16=, 0($pop15) + i32.const $push2=, 24 + i32.shr_u $push3=, $0, $pop2 + i32.const $push29=, 248 + i32.and $push5=, $pop3, $pop29 i32.add $push6=, $2, $pop5 i64.load $push7=, 0($pop6) - i32.const $push8=, 24 - i32.shr_u $push9=, $1, $pop8 - i32.const $push29=, 248 - i32.and $push10=, $pop9, $pop29 - i32.add $push11=, $2, $pop10 - i64.load $push12=, 0($pop11) - i64.const $push13=, 3 - i64.shl $push14=, $pop12, $pop13 - i64.const $push15=, 56 - i64.and $push16=, $pop14, $pop15 - i64.shr_u $push17=, $pop7, $pop16 + i64.const $push8=, 3 + i64.shl $push9=, $pop7, $pop8 + i64.const $push10=, 56 + i64.and $push11=, $pop9, $pop10 + i64.shr_u $push17=, $pop16, $pop11 i64.const $push18=, 255 i64.and $push19=, $pop17, $pop18 i64.store $drop=, 0($pop22), $pop19 .LBB0_2: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size alpha_ep_extbl_i_eq_0, .Lfunc_end0-alpha_ep_extbl_i_eq_0 @@ -57,38 +57,39 @@ alpha_ep_extbl_i_eq_0: # @alpha_ep_extbl_i_eq_0 .type main,@function main: # @main .result i32 - .local i32, i64 + .local i32 # BB#0: # %alpha_ep_extbl_i_eq_0.exit - i32.const $push18=, 0 - i32.load $0=, r($pop18) - i32.const $push17=, 0 + i32.const $push21=, 0 i64.const $push0=, 3160194 - i64.store $drop=, b+136($pop17), $pop0 - i32.const $push16=, 0 + i64.store $drop=, b+136($pop21), $pop0 + i32.const $push20=, 0 i64.const $push1=, 6003104017374052362 - i64.store $drop=, b+16($pop16), $pop1 - i64.load $push3=, 16($0) - i64.load $push4=, 136($0) - i64.const $push5=, 3 - i64.shl $push6=, $pop4, $pop5 - i64.const $push7=, 56 - i64.and $push8=, $pop6, $pop7 - i64.shr_u $push9=, $pop3, $pop8 + i64.store $drop=, b+16($pop20), $pop1 + i32.const $push19=, 0 + i32.const $push2=, -2013265854 + i32.store $drop=, pars($pop19), $pop2 + i32.const $push18=, 0 + i32.load $push17=, r($pop18) + tee_local $push16=, $0=, $pop17 + i64.load $push8=, 16($0) + i64.load $push3=, 136($0) + i64.const $push4=, 3 + i64.shl $push5=, $pop3, $pop4 + i64.const $push6=, 56 + i64.and $push7=, $pop5, $pop6 + i64.shr_u $push9=, $pop8, $pop7 i64.const $push10=, 255 i64.and $push11=, $pop9, $pop10 - i64.store $drop=, 16($0), $pop11 - i32.const $push15=, 0 - i64.load $1=, b+16($pop15) - i32.const $push14=, 0 - i32.const $push2=, -2013265854 - i32.store $drop=, pars($pop14), $pop2 + i64.store $drop=, 16($pop16), $pop11 block - i64.const $push12=, 77 - i64.ne $push13=, $1, $pop12 - br_if 0, $pop13 # 0: down to label1 + i32.const $push15=, 0 + i64.load $push12=, b+16($pop15) + i64.const $push13=, 77 + i64.ne $push14=, $pop12, $pop13 + br_if 0, $pop14 # 0: down to label1 # BB#1: # %if.end - i32.const $push19=, 0 - call exit@FUNCTION, $pop19 + i32.const $push22=, 0 + call exit@FUNCTION, $pop22 unreachable .LBB1_2: # %if.then end_block # label1: diff --git a/test/torture-s/loop-11.c.s b/test/torture-s/loop-11.c.s index 68ccf0245..70ce26405 100644 --- a/test/torture-s/loop-11.c.s +++ b/test/torture-s/loop-11.c.s @@ -13,9 +13,10 @@ main: # @main .LBB0_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push7=, -1 - i32.add $2=, $2, $pop7 - i32.store $0=, 0($1), $2 + i32.const $push9=, -1 + i32.add $push8=, $2, $pop9 + tee_local $push7=, $2=, $pop8 + i32.store $0=, 0($1), $pop7 i32.const $push6=, -4 i32.add $1=, $1, $pop6 i32.const $push5=, 0 @@ -23,23 +24,24 @@ main: # @main br_if 0, $pop0 # 0: up to label0 # BB#2: # %for.body.preheader end_loop # label1: - i32.const $2=, 0 - i32.const $1=, a + i32.const $1=, 0 + i32.const $2=, a .LBB0_3: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label3: - i32.load $push1=, 0($1) - i32.ne $push2=, $2, $pop1 + i32.load $push1=, 0($2) + i32.ne $push2=, $1, $pop1 br_if 2, $pop2 # 2: down to label2 # BB#4: # %for.cond # in Loop: Header=BB0_3 Depth=1 - i32.const $push10=, 1 - i32.add $2=, $2, $pop10 - i32.const $push9=, 4 - i32.add $1=, $1, $pop9 - i32.const $push8=, 198 - i32.le_s $push3=, $2, $pop8 + i32.const $push14=, 4 + i32.add $2=, $2, $pop14 + i32.const $push13=, 1 + i32.add $push12=, $1, $pop13 + tee_local $push11=, $1=, $pop12 + i32.const $push10=, 198 + i32.le_s $push3=, $pop11, $pop10 br_if 0, $pop3 # 0: up to label3 # BB#5: # %for.end end_loop # label4: diff --git a/test/torture-s/loop-12.c.s b/test/torture-s/loop-12.c.s index d764ee6dd..9079e3000 100644 --- a/test/torture-s/loop-12.c.s +++ b/test/torture-s/loop-12.c.s @@ -8,40 +8,41 @@ foo: # @foo .local i32, i32 # BB#0: # %entry i32.const $push7=, 0 - i32.load $0=, p($pop7) + i32.load $1=, p($pop7) .LBB0_1: # %while.cond # =>This Inner Loop Header: Depth=1 loop # label0: block - i32.load8_u $push1=, 0($0) - i32.const $push14=, -10 - i32.add $push0=, $pop1, $pop14 - i32.const $push13=, 255 - i32.and $push12=, $pop0, $pop13 - tee_local $push11=, $1=, $pop12 - i32.const $push10=, 49 - i32.gt_u $push2=, $pop11, $pop10 + i32.load8_u $push1=, 0($1) + i32.const $push16=, -10 + i32.add $push0=, $pop1, $pop16 + i32.const $push15=, 255 + i32.and $push14=, $pop0, $pop15 + tee_local $push13=, $0=, $pop14 + i32.const $push12=, 49 + i32.gt_u $push2=, $pop13, $pop12 br_if 0, $pop2 # 0: down to label2 # BB#2: # %is_end_of_statement.exit # in Loop: Header=BB0_1 Depth=1 - i64.const $push16=, 562949961809921 - i64.extend_u/i32 $push3=, $1 - i64.shr_u $push4=, $pop16, $pop3 - i64.const $push15=, 1 - i64.and $push5=, $pop4, $pop15 + i64.const $push18=, 562949961809921 + i64.extend_u/i32 $push3=, $0 + i64.shr_u $push4=, $pop18, $pop3 + i64.const $push17=, 1 + i64.and $push5=, $pop4, $pop17 i32.wrap/i64 $push6=, $pop5 br_if 2, $pop6 # 2: down to label1 .LBB0_3: # %while.body # in Loop: Header=BB0_1 Depth=1 end_block # label2: - i32.const $push9=, 1 - i32.add $0=, $0, $pop9 - i32.const $push8=, 0 - i32.store $drop=, p($pop8), $0 + i32.const $push11=, 0 + i32.const $push10=, 1 + i32.add $push9=, $1, $pop10 + tee_local $push8=, $1=, $pop9 + i32.store $drop=, p($pop11), $pop8 br 0 # 0: up to label0 .LBB0_4: # %while.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -58,37 +59,38 @@ main: # @main .LBB1_1: # %while.cond.i # =>This Inner Loop Header: Depth=1 loop # label3: - i32.load8_u $0=, 0($1) - i32.const $push13=, 0 - i32.store $drop=, p($pop13), $1 block - i32.const $push12=, -10 - i32.add $push0=, $0, $pop12 - i32.const $push11=, 255 - i32.and $push10=, $pop0, $pop11 - tee_local $push9=, $0=, $pop10 - i32.const $push8=, 49 - i32.gt_u $push1=, $pop9, $pop8 - br_if 0, $pop1 # 0: down to label5 + i32.const $push16=, 0 + i32.store $push15=, p($pop16), $1 + tee_local $push14=, $1=, $pop15 + i32.load8_u $push1=, 0($pop14) + i32.const $push13=, -10 + i32.add $push0=, $pop1, $pop13 + i32.const $push12=, 255 + i32.and $push11=, $pop0, $pop12 + tee_local $push10=, $0=, $pop11 + i32.const $push9=, 49 + i32.gt_u $push2=, $pop10, $pop9 + br_if 0, $pop2 # 0: down to label5 # BB#2: # %is_end_of_statement.exit.i # in Loop: Header=BB1_1 Depth=1 - i64.const $push15=, 562949961809921 - i64.extend_u/i32 $push2=, $0 - i64.shr_u $push3=, $pop15, $pop2 - i64.const $push14=, 1 - i64.and $push4=, $pop3, $pop14 - i32.wrap/i64 $push5=, $pop4 - br_if 2, $pop5 # 2: down to label4 + i64.const $push18=, 562949961809921 + i64.extend_u/i32 $push3=, $0 + i64.shr_u $push4=, $pop18, $pop3 + i64.const $push17=, 1 + i64.and $push5=, $pop4, $pop17 + i32.wrap/i64 $push6=, $pop5 + br_if 2, $pop6 # 2: down to label4 .LBB1_3: # %while.body.i # in Loop: Header=BB1_1 Depth=1 end_block # label5: - i32.const $push7=, 1 - i32.add $1=, $1, $pop7 + i32.const $push8=, 1 + i32.add $1=, $1, $pop8 br 0 # 0: up to label3 .LBB1_4: # %foo.exit end_loop # label4: - i32.const $push6=, 0 - return $pop6 + i32.const $push7=, 0 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/loop-13.c.s b/test/torture-s/loop-13.c.s index 50aa87526..c1f0a35ba 100644 --- a/test/torture-s/loop-13.c.s +++ b/test/torture-s/loop-13.c.s @@ -6,55 +6,57 @@ .type scale,@function scale: # @scale .param i32, i32, i32 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry block - i32.load $push13=, 0($0) - tee_local $push12=, $3=, $pop13 - i32.const $push11=, 1 - i32.eq $push0=, $pop12, $pop11 + i32.load $push15=, 0($0) + tee_local $push14=, $3=, $pop15 + i32.const $push13=, 1 + i32.eq $push0=, $pop14, $pop13 br_if 0, $pop0 # 0: down to label0 # BB#1: # %entry - i32.const $push14=, 1 - i32.lt_s $push1=, $2, $pop14 + i32.const $push16=, 1 + i32.lt_s $push1=, $2, $pop16 br_if 0, $pop1 # 0: down to label0 # BB#2: # %for.body.preheader - i32.load $4=, 4($1) i32.load $push2=, 0($1) i32.mul $push3=, $pop2, $3 i32.store $drop=, 0($1), $pop3 - i32.mul $push4=, $4, $3 - i32.store $drop=, 4($1), $pop4 - i32.const $push5=, 1 - i32.eq $push6=, $2, $pop5 - br_if 0, $pop6 # 0: down to label0 + i32.load $push4=, 4($1) + i32.mul $push5=, $pop4, $3 + i32.store $drop=, 4($1), $pop5 + i32.const $push6=, 1 + i32.eq $push7=, $2, $pop6 + br_if 0, $pop7 # 0: down to label0 # BB#3: # %for.body.for.body_crit_edge.preheader - i32.const $push7=, 12 - i32.add $1=, $1, $pop7 - i32.const $push15=, -1 - i32.add $2=, $2, $pop15 + i32.const $push8=, 12 + i32.add $1=, $1, $pop8 + i32.const $push17=, -1 + i32.add $2=, $2, $pop17 .LBB0_4: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push20=, -4 - i32.add $3=, $1, $pop20 - i32.load $4=, 0($1) - i32.load $push8=, 0($3) - i32.load $push19=, 0($0) - tee_local $push18=, $5=, $pop19 - i32.mul $push9=, $pop8, $pop18 - i32.store $drop=, 0($3), $pop9 - i32.mul $push10=, $4, $5 + i32.load $push9=, 0($1) + i32.load $push26=, 0($0) + tee_local $push25=, $3=, $pop26 + i32.mul $push10=, $pop9, $pop25 i32.store $drop=, 0($1), $pop10 - i32.const $push17=, -1 - i32.add $2=, $2, $pop17 - i32.const $push16=, 8 - i32.add $1=, $1, $pop16 - br_if 0, $2 # 0: up to label1 + i32.const $push24=, -4 + i32.add $push23=, $1, $pop24 + tee_local $push22=, $4=, $pop23 + i32.load $push11=, 0($4) + i32.mul $push12=, $3, $pop11 + i32.store $drop=, 0($pop22), $pop12 + i32.const $push21=, 8 + i32.add $1=, $1, $pop21 + i32.const $push20=, -1 + i32.add $push19=, $2, $pop20 + tee_local $push18=, $2=, $pop19 + br_if 0, $pop18 # 0: up to label1 .LBB0_5: # %if.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size scale, .Lfunc_end0-scale @@ -67,7 +69,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/loop-14.c.s b/test/torture-s/loop-14.c.s index 5e10722f9..0bcb7bd7a 100644 --- a/test/torture-s/loop-14.c.s +++ b/test/torture-s/loop-14.c.s @@ -9,7 +9,7 @@ f: # @f # BB#0: # %entry i64.const $push0=, 90194313258 i64.store $drop=, 4($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/loop-15.c.s b/test/torture-s/loop-15.c.s index 66fbf249e..2f655538c 100644 --- a/test/torture-s/loop-15.c.s +++ b/test/torture-s/loop-15.c.s @@ -26,7 +26,7 @@ foo: # @foo .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -39,21 +39,21 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push19=, __stack_pointer - i32.const $push16=, __stack_pointer - i32.load $push17=, 0($pop16) - i32.const $push18=, 32 - i32.sub $push23=, $pop17, $pop18 - i32.store $push28=, 0($pop19), $pop23 - tee_local $push27=, $12=, $pop28 - i32.const $push1=, 16 - i32.add $7=, $pop27, $pop1 - i32.const $3=, 0 - i32.const $2=, -1 - i32.const $push26=, 4 - i32.or $push25=, $12, $pop26 - tee_local $push24=, $11=, $pop25 - copy_local $1=, $pop24 + i32.const $5=, 0 + i32.const $4=, -1 + i32.const $push20=, 0 + i32.const $push17=, 0 + i32.load $push18=, __stack_pointer($pop17) + i32.const $push19=, 32 + i32.sub $push24=, $pop18, $pop19 + i32.store $push29=, __stack_pointer($pop20), $pop24 + tee_local $push28=, $1=, $pop29 + i32.const $push2=, 16 + i32.add $9=, $pop28, $pop2 + i32.const $push27=, 4 + i32.or $push26=, $1, $pop27 + tee_local $push25=, $2=, $pop26 + copy_local $3=, $pop25 .LBB1_1: # %for.cond1.preheader # =>This Loop Header: Depth=1 # Child Loop BB1_2 Depth 2 @@ -65,11 +65,11 @@ main: # @main block block loop # label6: - i32.const $push29=, 2 - i32.shl $push0=, $3, $pop29 - i32.add $4=, $12, $pop0 - copy_local $5=, $11 - i32.const $6=, 0 + i32.const $push30=, 2 + i32.shl $push1=, $5, $pop30 + i32.add $6=, $1, $pop1 + copy_local $7=, $2 + i32.const $8=, 0 .LBB1_2: # %for.cond4.preheader # Parent Loop BB1_1 Depth=1 # => This Loop Header: Depth=2 @@ -78,124 +78,130 @@ main: # @main # Child Loop BB1_9 Depth 3 # Child Loop BB1_12 Depth 3 loop # label8: + i32.const $push33=, 4 + i32.store $0=, 0($9), $pop33 i64.const $push32=, 4294967296 - i64.store $drop=, 0($12), $pop32 + i64.store $drop=, 0($1), $pop32 i64.const $push31=, 12884901890 - i64.store $drop=, 8($12), $pop31 - i32.const $push30=, 4 - i32.store $0=, 0($7), $pop30 + i64.store $drop=, 8($1), $pop31 block - i32.le_s $push2=, $6, $3 - br_if 0, $pop2 # 0: down to label10 + i32.le_s $push3=, $8, $5 + br_if 0, $pop3 # 0: down to label10 # BB#3: # %while.body.i.preheader # in Loop: Header=BB1_2 Depth=2 - i32.const $push33=, 2 - i32.shl $push3=, $6, $pop33 - i32.add $10=, $12, $pop3 + i32.const $push34=, 2 + i32.shl $push4=, $8, $pop34 + i32.add $12=, $1, $pop4 .LBB1_4: # %while.body.i # Parent Loop BB1_1 Depth=1 # Parent Loop BB1_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label11: - i32.const $push36=, -4 - i32.add $push35=, $10, $pop36 - tee_local $push34=, $9=, $pop35 - i32.load $push4=, 0($pop34) - i32.store $drop=, 0($10), $pop4 - copy_local $10=, $9 - i32.gt_u $push5=, $9, $4 - br_if 0, $pop5 # 0: up to label11 + i32.const $push37=, -4 + i32.add $push36=, $12, $pop37 + tee_local $push35=, $11=, $pop36 + i32.load $push5=, 0($pop35) + i32.store $drop=, 0($12), $pop5 + copy_local $12=, $11 + i32.gt_u $push6=, $11, $6 + br_if 0, $pop6 # 0: up to label11 .LBB1_5: # %for.body11.preheader # in Loop: Header=BB1_2 Depth=2 end_loop # label12: end_block # label10: - i32.const $10=, -1 - copy_local $9=, $12 + i32.const $12=, -1 + copy_local $11=, $1 .LBB1_6: # %for.body11 # Parent Loop BB1_1 Depth=1 # Parent Loop BB1_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label13: - i32.const $push37=, 1 - i32.add $10=, $10, $pop37 - i32.load $push6=, 0($9) - i32.ne $push7=, $10, $pop6 - br_if 6, $pop7 # 6: down to label5 + i32.const $push40=, 1 + i32.add $push39=, $12, $pop40 + tee_local $push38=, $12=, $pop39 + i32.load $push7=, 0($11) + i32.ne $push8=, $pop38, $pop7 + br_if 6, $pop8 # 6: down to label5 # BB#7: # %for.cond9 # in Loop: Header=BB1_6 Depth=3 - i32.add $9=, $9, $0 - i32.lt_s $push8=, $10, $3 - br_if 0, $pop8 # 0: up to label13 + i32.add $11=, $11, $0 + i32.lt_s $push9=, $12, $5 + br_if 0, $pop9 # 0: up to label13 # BB#8: # in Loop: Header=BB1_2 Depth=2 end_loop # label14: - copy_local $9=, $1 - copy_local $10=, $2 + copy_local $11=, $3 + copy_local $12=, $4 .LBB1_9: # %for.cond17 # Parent Loop BB1_1 Depth=1 # Parent Loop BB1_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label15: - i32.const $push38=, 1 - i32.add $10=, $10, $pop38 - i32.ge_s $push9=, $10, $6 - br_if 1, $pop9 # 1: down to label16 + i32.const $push43=, 1 + i32.add $push42=, $12, $pop43 + tee_local $push41=, $12=, $pop42 + i32.ge_s $push10=, $pop41, $8 + br_if 1, $pop10 # 1: down to label16 # BB#10: # %for.body19 # in Loop: Header=BB1_9 Depth=3 - i32.load $8=, 0($9) - i32.add $9=, $9, $0 - i32.eq $push15=, $10, $8 - br_if 0, $pop15 # 0: up to label15 + i32.load $10=, 0($11) + i32.add $push0=, $11, $0 + copy_local $11=, $pop0 + i32.eq $push16=, $12, $10 + br_if 0, $pop16 # 0: up to label15 br 7 # 7: down to label4 .LBB1_11: # %for.end26 # in Loop: Header=BB1_2 Depth=2 end_loop # label16: - i32.const $push41=, 1 - i32.add $6=, $6, $pop41 - copy_local $9=, $5 - copy_local $10=, $6 - i32.gt_s $push40=, $6, $0 - tee_local $push39=, $8=, $pop40 - br_if 1, $pop39 # 1: down to label9 + copy_local $12=, $7 + i32.const $push48=, 1 + i32.add $push47=, $8, $pop48 + tee_local $push46=, $8=, $pop47 + copy_local $11=, $pop46 + i32.gt_s $push45=, $8, $0 + tee_local $push44=, $10=, $pop45 + br_if 1, $pop44 # 1: down to label9 .LBB1_12: # %for.body30 # Parent Loop BB1_1 Depth=1 # Parent Loop BB1_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label17: - i32.load $push10=, 0($9) - i32.ne $push11=, $10, $pop10 - br_if 8, $pop11 # 8: down to label3 + i32.load $push11=, 0($12) + i32.ne $push12=, $11, $pop11 + br_if 8, $pop12 # 8: down to label3 # BB#13: # %for.cond28 # in Loop: Header=BB1_12 Depth=3 - i32.const $push42=, 1 - i32.add $10=, $10, $pop42 - i32.add $9=, $9, $0 - i32.le_s $push12=, $10, $0 - br_if 0, $pop12 # 0: up to label17 + i32.add $12=, $12, $0 + i32.const $push51=, 1 + i32.add $push50=, $11, $pop51 + tee_local $push49=, $11=, $pop50 + i32.le_s $push13=, $pop49, $0 + br_if 0, $pop13 # 0: up to label17 # BB#14: # %for.cond1.loopexit # in Loop: Header=BB1_2 Depth=2 end_loop # label18: - i32.add $5=, $5, $0 - i32.eqz $push46=, $8 - br_if 0, $pop46 # 0: up to label8 + i32.add $7=, $7, $0 + i32.eqz $push57=, $10 + br_if 0, $pop57 # 0: up to label8 .LBB1_15: # %for.inc41 # in Loop: Header=BB1_1 Depth=1 end_loop # label9: - i32.const $push45=, 1 - i32.add $3=, $3, $pop45 - i32.const $push44=, 1 - i32.add $2=, $2, $pop44 - i32.add $1=, $1, $0 - i32.const $push43=, 5 - i32.lt_s $push13=, $3, $pop43 - br_if 0, $pop13 # 0: up to label6 + i32.add $3=, $3, $0 + i32.const $push56=, 1 + i32.add $4=, $4, $pop56 + i32.const $push55=, 1 + i32.add $push54=, $5, $pop55 + tee_local $push53=, $5=, $pop54 + i32.const $push52=, 5 + i32.lt_s $push14=, $pop53, $pop52 + br_if 0, $pop14 # 0: up to label6 # BB#16: # %for.end43 end_loop # label7: - i32.const $push22=, __stack_pointer - i32.const $push20=, 32 - i32.add $push21=, $12, $pop20 - i32.store $drop=, 0($pop22), $pop21 - i32.const $push14=, 0 - return $pop14 + i32.const $push23=, 0 + i32.const $push21=, 32 + i32.add $push22=, $1, $pop21 + i32.store $drop=, __stack_pointer($pop23), $pop22 + i32.const $push15=, 0 + return $pop15 .LBB1_17: # %if.then end_block # label5: call abort@FUNCTION diff --git a/test/torture-s/loop-2.c.s b/test/torture-s/loop-2.c.s index d9106fe47..da07e74c5 100644 --- a/test/torture-s/loop-2.c.s +++ b/test/torture-s/loop-2.c.s @@ -10,27 +10,29 @@ f: # @f .local i32, i32 # BB#0: # %entry block - i32.eqz $push5=, $0 - br_if 0, $pop5 # 0: down to label0 + i32.eqz $push7=, $0 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %for.body.preheader i32.const $2=, 0 i32.const $1=, a .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push4=, -2 - i32.add $push0=, $2, $pop4 + i32.const $push6=, -2 + i32.add $push0=, $2, $pop6 i32.store $drop=, 0($1), $pop0 - i32.const $push3=, 1 - i32.add $2=, $2, $pop3 - i32.const $push2=, 4 - i32.add $1=, $1, $pop2 - i32.ne $push1=, $0, $2 + i32.const $push5=, 4 + i32.add $1=, $1, $pop5 + i32.const $push4=, 1 + i32.add $push3=, $2, $pop4 + tee_local $push2=, $2=, $pop3 + i32.ne $push1=, $0, $pop2 br_if 0, $pop1 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return $2 + copy_local $push8=, $2 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/loop-2b.c.s b/test/torture-s/loop-2b.c.s index 18d1d0c6a..2fed50bdb 100644 --- a/test/torture-s/loop-2b.c.s +++ b/test/torture-s/loop-2b.c.s @@ -14,33 +14,34 @@ f: # @f i32.eq $push1=, $0, $pop0 br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $push2=, 2 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, a - i32.add $2=, $pop3, $pop4 - i32.const $push5=, 2147483646 - i32.sub $1=, $pop5, $0 + i32.const $push2=, 2147483646 + i32.sub $2=, $pop2, $0 + i32.const $push3=, 2 + i32.shl $push4=, $0, $pop3 + i32.const $push5=, a + i32.add $0=, $pop4, $pop5 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: i32.const $push10=, -2 - i32.store $drop=, 0($2), $pop10 - copy_local $push9=, $1 - tee_local $push8=, $0=, $pop9 + i32.store $drop=, 0($0), $pop10 + copy_local $push9=, $2 + tee_local $push8=, $1=, $pop9 i32.const $push7=, 2147483645 i32.eq $push6=, $pop8, $pop7 br_if 1, $pop6 # 1: down to label2 # BB#3: # %for.body # in Loop: Header=BB0_2 Depth=1 - i32.const $push12=, 4 - i32.add $2=, $2, $pop12 - i32.const $push11=, -1 - i32.add $1=, $0, $pop11 - br_if 0, $0 # 0: up to label1 + i32.const $push12=, -1 + i32.add $2=, $1, $pop12 + i32.const $push11=, 4 + i32.add $0=, $0, $pop11 + br_if 0, $1 # 0: up to label1 .LBB0_4: # %for.end end_loop # label2: end_block # label0: - return $2 + copy_local $push13=, $0 + # fallthrough-return: $pop13 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/loop-2c.c.s b/test/torture-s/loop-2c.c.s index 2f7a978ee..96a6ee195 100644 --- a/test/torture-s/loop-2c.c.s +++ b/test/torture-s/loop-2c.c.s @@ -10,33 +10,35 @@ f: # @f .local i32 # BB#0: # %entry block - i32.eqz $push11=, $0 - br_if 0, $pop11 # 0: down to label0 + i32.eqz $push12=, $0 + br_if 0, $pop12 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $push4=, 2 - i32.shl $push5=, $0, $pop4 - i32.const $push6=, a-4 - i32.add $2=, $pop5, $pop6 - i32.const $push1=, 3 - i32.mul $push2=, $0, $pop1 - i32.add $push3=, $1, $pop2 - i32.const $push7=, -3 - i32.add $1=, $pop3, $pop7 + i32.const $push0=, 2 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, a-4 + i32.add $2=, $pop1, $pop2 + i32.const $push3=, 3 + i32.mul $push4=, $0, $pop3 + i32.add $push5=, $1, $pop4 + i32.const $push6=, -3 + i32.add $1=, $pop5, $pop6 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push10=, -1 - i32.add $0=, $0, $pop10 - i32.store $push0=, 0($2), $1 - i32.const $push9=, -3 - i32.add $1=, $pop0, $pop9 - i32.const $push8=, -4 - i32.add $2=, $2, $pop8 - br_if 0, $0 # 0: up to label1 + i32.store $drop=, 0($2), $1 + i32.const $push11=, -4 + i32.add $2=, $2, $pop11 + i32.const $push10=, -3 + i32.add $1=, $1, $pop10 + i32.const $push9=, -1 + i32.add $push8=, $0, $pop9 + tee_local $push7=, $0=, $pop8 + br_if 0, $pop7 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return $0 + copy_local $push13=, $2 + # fallthrough-return: $pop13 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -51,32 +53,34 @@ g: # @g .local i32, i32 # BB#0: # %entry block - i32.eqz $push10=, $0 - br_if 0, $pop10 # 0: down to label3 + i32.eqz $push11=, $0 + br_if 0, $pop11 # 0: down to label3 # BB#1: # %for.body.preheader.i - i32.const $push1=, 3 - i32.mul $push2=, $0, $pop1 - i32.const $push3=, a-3 - i32.add $2=, $pop2, $pop3 - i32.const $push4=, 2 - i32.shl $push5=, $0, $pop4 - i32.const $push6=, a-4 - i32.add $1=, $pop5, $pop6 + i32.const $push0=, 2 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, a-4 + i32.add $1=, $pop1, $pop2 + i32.const $push3=, 3 + i32.mul $push4=, $0, $pop3 + i32.const $push5=, a-3 + i32.add $2=, $pop4, $pop5 .LBB1_2: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label4: - i32.const $push9=, -1 - i32.add $0=, $0, $pop9 - i32.store $push0=, 0($1), $2 - i32.const $push8=, -3 - i32.add $2=, $pop0, $pop8 - i32.const $push7=, -4 - i32.add $1=, $1, $pop7 - br_if 0, $0 # 0: up to label4 + i32.store $drop=, 0($1), $2 + i32.const $push10=, -4 + i32.add $1=, $1, $pop10 + i32.const $push9=, -3 + i32.add $2=, $2, $pop9 + i32.const $push8=, -1 + i32.add $push7=, $0, $pop8 + tee_local $push6=, $0=, $pop7 + br_if 0, $pop6 # 0: up to label4 .LBB1_3: # %f.exit end_loop # label5: end_block # label3: - return $0 + copy_local $push12=, $1 + # fallthrough-return: $pop12 .endfunc .Lfunc_end1: .size g, .Lfunc_end1-g @@ -89,11 +93,11 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push1=, 0 - i32.const $push0=, a+3 - i32.store $drop=, a+4($pop1), $pop0 + i32.const $push0=, a + i32.store $drop=, a($pop1), $pop0 i32.const $push4=, 0 - i32.const $push2=, a - i32.store $drop=, a($pop4), $pop2 + i32.const $push2=, a+3 + i32.store $drop=, a+4($pop4), $pop2 i32.const $push3=, 0 call exit@FUNCTION, $pop3 unreachable diff --git a/test/torture-s/loop-2d.c.s b/test/torture-s/loop-2d.c.s index 7672875ab..18bd3c5a9 100644 --- a/test/torture-s/loop-2d.c.s +++ b/test/torture-s/loop-2d.c.s @@ -10,32 +10,34 @@ f: # @f .local i32, i32 # BB#0: # %entry block - i32.eqz $push10=, $0 - br_if 0, $pop10 # 0: down to label0 + i32.eqz $push11=, $0 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $push1=, 3 - i32.mul $push2=, $0, $pop1 - i32.const $push3=, a-3 - i32.add $2=, $pop2, $pop3 - i32.const $push4=, 2 - i32.shl $push5=, $0, $pop4 - i32.const $push6=, a-4 - i32.add $1=, $pop5, $pop6 + i32.const $push0=, 2 + i32.shl $push1=, $0, $pop0 + i32.const $push2=, a-4 + i32.add $1=, $pop1, $pop2 + i32.const $push3=, 3 + i32.mul $push4=, $0, $pop3 + i32.const $push5=, a-3 + i32.add $2=, $pop4, $pop5 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push9=, -1 - i32.add $0=, $0, $pop9 - i32.store $push0=, 0($1), $2 - i32.const $push8=, -3 - i32.add $2=, $pop0, $pop8 - i32.const $push7=, -4 - i32.add $1=, $1, $pop7 - br_if 0, $0 # 0: up to label1 + i32.store $drop=, 0($1), $2 + i32.const $push10=, -4 + i32.add $1=, $1, $pop10 + i32.const $push9=, -3 + i32.add $2=, $2, $pop9 + i32.const $push8=, -1 + i32.add $push7=, $0, $pop8 + tee_local $push6=, $0=, $pop7 + br_if 0, $pop6 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return $0 + copy_local $push12=, $1 + # fallthrough-return: $pop12 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -48,11 +50,11 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push1=, 0 - i32.const $push0=, a+3 - i32.store $drop=, a+4($pop1), $pop0 + i32.const $push0=, a + i32.store $drop=, a($pop1), $pop0 i32.const $push4=, 0 - i32.const $push2=, a - i32.store $drop=, a($pop4), $pop2 + i32.const $push2=, a+3 + i32.store $drop=, a+4($pop4), $pop2 i32.const $push3=, 0 call exit@FUNCTION, $pop3 unreachable diff --git a/test/torture-s/loop-2e.c.s b/test/torture-s/loop-2e.c.s index 62f2b693a..eebcc6c0d 100644 --- a/test/torture-s/loop-2e.c.s +++ b/test/torture-s/loop-2e.c.s @@ -7,125 +7,126 @@ f: # @f .param i32, i32 # BB#0: # %entry - i32.const $push1=, 4 - i32.add $push2=, $0, $pop1 - i32.store $drop=, 4($1), $pop2 - i32.const $push3=, 8 - i32.add $push4=, $0, $pop3 - i32.store $drop=, 8($1), $pop4 - i32.const $push5=, 12 - i32.add $push6=, $0, $pop5 - i32.store $drop=, 12($1), $pop6 - i32.const $push7=, 16 - i32.add $push8=, $0, $pop7 - i32.store $drop=, 16($1), $pop8 - i32.const $push9=, 20 - i32.add $push10=, $0, $pop9 - i32.store $drop=, 20($1), $pop10 - i32.const $push11=, 24 - i32.add $push12=, $0, $pop11 - i32.store $drop=, 24($1), $pop12 - i32.const $push13=, 28 - i32.add $push14=, $0, $pop13 - i32.store $drop=, 28($1), $pop14 - i32.const $push15=, 32 - i32.add $push16=, $0, $pop15 - i32.store $drop=, 32($1), $pop16 - i32.const $push17=, 36 - i32.add $push18=, $0, $pop17 - i32.store $drop=, 36($1), $pop18 - i32.const $push19=, 40 - i32.add $push20=, $0, $pop19 - i32.store $drop=, 40($1), $pop20 - i32.const $push21=, 44 - i32.add $push22=, $0, $pop21 - i32.store $drop=, 44($1), $pop22 - i32.const $push23=, 48 - i32.add $push24=, $0, $pop23 - i32.store $drop=, 48($1), $pop24 - i32.const $push25=, 52 - i32.add $push26=, $0, $pop25 - i32.store $drop=, 52($1), $pop26 - i32.const $push27=, 56 - i32.add $push28=, $0, $pop27 - i32.store $drop=, 56($1), $pop28 - i32.const $push29=, 60 - i32.add $push30=, $0, $pop29 - i32.store $drop=, 60($1), $pop30 - i32.const $push31=, 64 - i32.add $push32=, $0, $pop31 - i32.store $drop=, 64($1), $pop32 - i32.const $push33=, 68 - i32.add $push34=, $0, $pop33 - i32.store $drop=, 68($1), $pop34 - i32.const $push35=, 72 - i32.add $push36=, $0, $pop35 - i32.store $drop=, 72($1), $pop36 - i32.const $push37=, 76 - i32.add $push38=, $0, $pop37 - i32.store $drop=, 76($1), $pop38 - i32.const $push39=, 80 - i32.add $push40=, $0, $pop39 - i32.store $drop=, 80($1), $pop40 - i32.const $push41=, 84 - i32.add $push42=, $0, $pop41 - i32.store $drop=, 84($1), $pop42 - i32.const $push43=, 88 - i32.add $push44=, $0, $pop43 - i32.store $drop=, 88($1), $pop44 - i32.const $push45=, 92 - i32.add $push46=, $0, $pop45 - i32.store $drop=, 92($1), $pop46 - i32.const $push47=, 96 - i32.add $push48=, $0, $pop47 - i32.store $drop=, 96($1), $pop48 - i32.const $push49=, 100 - i32.add $push50=, $0, $pop49 - i32.store $drop=, 100($1), $pop50 - i32.const $push51=, 104 - i32.add $push52=, $0, $pop51 - i32.store $drop=, 104($1), $pop52 - i32.const $push53=, 108 - i32.add $push54=, $0, $pop53 - i32.store $drop=, 108($1), $pop54 - i32.const $push55=, 112 - i32.add $push56=, $0, $pop55 - i32.store $drop=, 112($1), $pop56 - i32.const $push57=, 116 - i32.add $push58=, $0, $pop57 - i32.store $drop=, 116($1), $pop58 - i32.const $push59=, 120 - i32.add $push60=, $0, $pop59 - i32.store $drop=, 120($1), $pop60 - i32.const $push61=, 124 - i32.add $push62=, $0, $pop61 - i32.store $drop=, 124($1), $pop62 - i32.const $push63=, 128 - i32.add $push64=, $0, $pop63 - i32.store $drop=, 128($1), $pop64 - i32.const $push65=, 132 - i32.add $push66=, $0, $pop65 - i32.store $drop=, 132($1), $pop66 - i32.const $push67=, 136 - i32.add $push68=, $0, $pop67 - i32.store $drop=, 136($1), $pop68 - i32.const $push69=, 140 - i32.add $push70=, $0, $pop69 - i32.store $drop=, 140($1), $pop70 - i32.const $push71=, 144 - i32.add $push72=, $0, $pop71 - i32.store $drop=, 144($1), $pop72 - i32.const $push73=, 148 - i32.add $push74=, $0, $pop73 - i32.store $drop=, 148($1), $pop74 - i32.const $push75=, 152 - i32.add $push76=, $0, $pop75 - i32.store $drop=, 152($1), $pop76 - i32.store $push0=, 0($1), $0 - i32.const $push77=, 156 - i32.add $push78=, $pop0, $pop77 - i32.store $drop=, 156($1), $pop78 - return + i32.store $push79=, 0($1), $0 + tee_local $push78=, $0=, $pop79 + i32.const $push0=, 4 + i32.add $push1=, $pop78, $pop0 + i32.store $drop=, 4($1), $pop1 + i32.const $push2=, 8 + i32.add $push3=, $0, $pop2 + i32.store $drop=, 8($1), $pop3 + i32.const $push4=, 12 + i32.add $push5=, $0, $pop4 + i32.store $drop=, 12($1), $pop5 + i32.const $push6=, 16 + i32.add $push7=, $0, $pop6 + i32.store $drop=, 16($1), $pop7 + i32.const $push8=, 20 + i32.add $push9=, $0, $pop8 + i32.store $drop=, 20($1), $pop9 + i32.const $push10=, 24 + i32.add $push11=, $0, $pop10 + i32.store $drop=, 24($1), $pop11 + i32.const $push12=, 28 + i32.add $push13=, $0, $pop12 + i32.store $drop=, 28($1), $pop13 + i32.const $push14=, 32 + i32.add $push15=, $0, $pop14 + i32.store $drop=, 32($1), $pop15 + i32.const $push16=, 36 + i32.add $push17=, $0, $pop16 + i32.store $drop=, 36($1), $pop17 + i32.const $push18=, 40 + i32.add $push19=, $0, $pop18 + i32.store $drop=, 40($1), $pop19 + i32.const $push20=, 44 + i32.add $push21=, $0, $pop20 + i32.store $drop=, 44($1), $pop21 + i32.const $push22=, 48 + i32.add $push23=, $0, $pop22 + i32.store $drop=, 48($1), $pop23 + i32.const $push24=, 52 + i32.add $push25=, $0, $pop24 + i32.store $drop=, 52($1), $pop25 + i32.const $push26=, 56 + i32.add $push27=, $0, $pop26 + i32.store $drop=, 56($1), $pop27 + i32.const $push28=, 60 + i32.add $push29=, $0, $pop28 + i32.store $drop=, 60($1), $pop29 + i32.const $push30=, 64 + i32.add $push31=, $0, $pop30 + i32.store $drop=, 64($1), $pop31 + i32.const $push32=, 68 + i32.add $push33=, $0, $pop32 + i32.store $drop=, 68($1), $pop33 + i32.const $push34=, 72 + i32.add $push35=, $0, $pop34 + i32.store $drop=, 72($1), $pop35 + i32.const $push36=, 76 + i32.add $push37=, $0, $pop36 + i32.store $drop=, 76($1), $pop37 + i32.const $push38=, 80 + i32.add $push39=, $0, $pop38 + i32.store $drop=, 80($1), $pop39 + i32.const $push40=, 84 + i32.add $push41=, $0, $pop40 + i32.store $drop=, 84($1), $pop41 + i32.const $push42=, 88 + i32.add $push43=, $0, $pop42 + i32.store $drop=, 88($1), $pop43 + i32.const $push44=, 92 + i32.add $push45=, $0, $pop44 + i32.store $drop=, 92($1), $pop45 + i32.const $push46=, 96 + i32.add $push47=, $0, $pop46 + i32.store $drop=, 96($1), $pop47 + i32.const $push48=, 100 + i32.add $push49=, $0, $pop48 + i32.store $drop=, 100($1), $pop49 + i32.const $push50=, 104 + i32.add $push51=, $0, $pop50 + i32.store $drop=, 104($1), $pop51 + i32.const $push52=, 108 + i32.add $push53=, $0, $pop52 + i32.store $drop=, 108($1), $pop53 + i32.const $push54=, 112 + i32.add $push55=, $0, $pop54 + i32.store $drop=, 112($1), $pop55 + i32.const $push56=, 116 + i32.add $push57=, $0, $pop56 + i32.store $drop=, 116($1), $pop57 + i32.const $push58=, 120 + i32.add $push59=, $0, $pop58 + i32.store $drop=, 120($1), $pop59 + i32.const $push60=, 124 + i32.add $push61=, $0, $pop60 + i32.store $drop=, 124($1), $pop61 + i32.const $push62=, 128 + i32.add $push63=, $0, $pop62 + i32.store $drop=, 128($1), $pop63 + i32.const $push64=, 132 + i32.add $push65=, $0, $pop64 + i32.store $drop=, 132($1), $pop65 + i32.const $push66=, 136 + i32.add $push67=, $0, $pop66 + i32.store $drop=, 136($1), $pop67 + i32.const $push68=, 140 + i32.add $push69=, $0, $pop68 + i32.store $drop=, 140($1), $pop69 + i32.const $push70=, 144 + i32.add $push71=, $0, $pop70 + i32.store $drop=, 144($1), $pop71 + i32.const $push72=, 148 + i32.add $push73=, $0, $pop72 + i32.store $drop=, 148($1), $pop73 + i32.const $push74=, 152 + i32.add $push75=, $0, $pop74 + i32.store $drop=, 152($1), $pop75 + i32.const $push76=, 156 + i32.add $push77=, $0, $pop76 + i32.store $drop=, 156($1), $pop77 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -138,7 +139,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/loop-2f.c.s b/test/torture-s/loop-2f.c.s index 987515d6a..51497cfc3 100644 --- a/test/torture-s/loop-2f.c.s +++ b/test/torture-s/loop-2f.c.s @@ -13,14 +13,15 @@ f: # @f i32.gt_u $push1=, $0, $pop0 br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader - i32.add $push2=, $1, $0 + i32.add $push4=, $1, $0 i32.const $push5=, 254 - i32.const $push3=, 40 - i32.sub $push4=, $pop3, $0 - i32.call $drop=, memset@FUNCTION, $pop2, $pop5, $pop4 + i32.const $push2=, 40 + i32.sub $push3=, $pop2, $0 + i32.call $drop=, memset@FUNCTION, $pop4, $pop5, $pop3 .LBB0_2: # %for.end end_block # label0: - return $0 + copy_local $push6=, $0 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/loop-2g.c.s b/test/torture-s/loop-2g.c.s index a80281406..d9c884975 100644 --- a/test/torture-s/loop-2g.c.s +++ b/test/torture-s/loop-2g.c.s @@ -13,14 +13,15 @@ f: # @f i32.gt_u $push1=, $0, $pop0 br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.preheader - i32.add $push2=, $1, $0 + i32.add $push4=, $1, $0 i32.const $push5=, 254 - i32.const $push3=, 40 - i32.sub $push4=, $pop3, $0 - i32.call $drop=, memset@FUNCTION, $pop2, $pop5, $pop4 + i32.const $push2=, 40 + i32.sub $push3=, $pop2, $0 + i32.call $drop=, memset@FUNCTION, $pop4, $pop5, $pop3 .LBB0_2: # %for.end end_block # label0: - return $0 + copy_local $push6=, $0 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/loop-3.c.s b/test/torture-s/loop-3.c.s index 600630109..d85322f03 100644 --- a/test/torture-s/loop-3.c.s +++ b/test/torture-s/loop-3.c.s @@ -15,7 +15,8 @@ g: # @g i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store $drop=, n($pop0), $pop3 - return $1 + copy_local $push5=, $1 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -42,7 +43,8 @@ f: # @f i32.const $push9=, 2 i32.add $push10=, $pop8, $pop9 i32.store $drop=, n($pop0), $pop10 - return $0 + copy_local $push13=, $0 + # fallthrough-return: $pop13 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/loop-3b.c.s b/test/torture-s/loop-3b.c.s index 583f7bf35..f0f94dc83 100644 --- a/test/torture-s/loop-3b.c.s +++ b/test/torture-s/loop-3b.c.s @@ -15,7 +15,8 @@ g: # @g i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store $drop=, n($pop0), $pop3 - return $1 + copy_local $push5=, $1 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -28,25 +29,26 @@ f: # @f .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push8=, 0 i32.const $push16=, 0 - i32.load $push1=, n($pop16) - i32.const $push2=, 268435455 + i32.load $push9=, n($pop16) + i32.const $push0=, 268435455 i32.const $push15=, 268435455 - i32.lt_s $push3=, $0, $pop15 - i32.select $push4=, $0, $pop2, $pop3 - i32.const $push5=, -1 - i32.xor $push6=, $pop4, $pop5 - i32.add $push7=, $0, $pop6 + i32.lt_s $push1=, $0, $pop15 + i32.select $push2=, $0, $pop0, $pop1 + i32.const $push3=, -1 + i32.xor $push4=, $pop2, $pop3 + i32.add $push5=, $0, $pop4 i32.const $push14=, 268435455 - i32.add $push8=, $pop7, $pop14 + i32.add $push6=, $pop5, $pop14 i32.const $push13=, 268435455 - i32.div_u $push9=, $pop8, $pop13 - i32.add $push10=, $pop1, $pop9 + i32.div_u $push7=, $pop6, $pop13 + i32.add $push10=, $pop9, $pop7 i32.const $push11=, 1 i32.add $push12=, $pop10, $pop11 - i32.store $drop=, n($pop0), $pop12 - return $0 + i32.store $drop=, n($pop8), $pop12 + copy_local $push17=, $0 + # fallthrough-return: $pop17 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f diff --git a/test/torture-s/loop-3c.c.s b/test/torture-s/loop-3c.c.s index ed8e747fe..9e781559a 100644 --- a/test/torture-s/loop-3c.c.s +++ b/test/torture-s/loop-3c.c.s @@ -17,21 +17,24 @@ f: # @f .LBB0_1: # %do.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push10=, 1 - i32.shr_s $2=, $2, $pop10 - i32.const $push9=, 4 - i32.add $0=, $0, $pop9 - i32.const $push8=, 2 - i32.shl $push4=, $2, $pop8 + i32.const $push14=, 1 + i32.shr_s $push13=, $2, $pop14 + tee_local $push12=, $2=, $pop13 + i32.const $push11=, 2 + i32.shl $push4=, $pop12, $pop11 i32.store $push0=, a($pop4), $1 - i32.const $push7=, 32 - i32.add $1=, $pop0, $pop7 + i32.const $push10=, 32 + i32.add $1=, $pop0, $pop10 + i32.const $push9=, 4 + i32.add $push8=, $0, $pop9 + tee_local $push7=, $0=, $pop8 i32.const $push6=, 1073741840 - i32.lt_s $push5=, $0, $pop6 + i32.lt_s $push5=, $pop7, $pop6 br_if 0, $pop5 # 0: up to label0 # BB#2: # %do.end end_loop # label1: - return $0 + copy_local $push15=, $0 + # fallthrough-return: $pop15 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -43,9 +46,9 @@ f: # @f main: # @main .result i32 # BB#0: # %if.end7 - i32.const $push1=, 0 - i32.const $push2=, a - i32.store $drop=, a+512($pop1), $pop2 + i32.const $push2=, 0 + i32.const $push1=, a + i32.store $drop=, a+512($pop2), $pop1 i32.const $push10=, 0 i32.const $push3=, a+32 i32.store $drop=, a+256($pop10), $pop3 diff --git a/test/torture-s/loop-4.c.s b/test/torture-s/loop-4.c.s index d247a9ac8..e0e7bedc7 100644 --- a/test/torture-s/loop-4.c.s +++ b/test/torture-s/loop-4.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 8192 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/loop-4b.c.s b/test/torture-s/loop-4b.c.s index 26b843f1e..5502652af 100644 --- a/test/torture-s/loop-4b.c.s +++ b/test/torture-s/loop-4b.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/loop-5.c.s b/test/torture-s/loop-5.c.s index f5d133df5..860bc0144 100644 --- a/test/torture-s/loop-5.c.s +++ b/test/torture-s/loop-5.c.s @@ -6,7 +6,7 @@ .type main,@function main: # @main .result i32 - .local i32, i64, i32, i32 + .local i32, i32, i32, i64 # BB#0: # %entry block i32.const $push36=, 0 @@ -17,11 +17,11 @@ main: # @main br_if 0, $pop5 # 0: down to label0 # BB#1: # %ap.exit.i i32.const $push39=, 2 - i32.shl $push7=, $2, $pop39 + i32.shl $push6=, $2, $pop39 i32.const $push38=, 0 - i32.store $push0=, a($pop7), $pop38 - i32.const $push6=, 1 - i32.add $push1=, $2, $pop6 + i32.store $push0=, a($pop6), $pop38 + i32.const $push7=, 1 + i32.add $push1=, $2, $pop7 i32.store $0=, t($pop0), $pop1 i32.const $push37=, 3 i32.eq $push8=, $2, $pop37 @@ -35,50 +35,51 @@ main: # @main i32.const $push42=, 2 i32.add $push2=, $2, $pop42 i32.store $push41=, t($pop43), $pop2 - tee_local $push40=, $3=, $pop41 + tee_local $push40=, $1=, $pop41 i32.gt_s $push10=, $pop40, $0 br_if 0, $pop10 # 0: down to label0 # BB#3: # %ap.exit.2.i - i32.const $push12=, 2 - i32.shl $push13=, $3, $pop12 + i32.const $push11=, 2 + i32.shl $push12=, $1, $pop11 i32.const $push48=, 2 - i32.store $0=, a($pop13), $pop48 + i32.store $0=, a($pop12), $pop48 i32.const $push47=, 0 - i32.const $push11=, 3 - i32.add $push3=, $2, $pop11 - i32.store $3=, t($pop47), $pop3 + i32.const $push13=, 3 + i32.add $push3=, $2, $pop13 + i32.store $1=, t($pop47), $pop3 i32.const $push46=, 0 i32.gt_s $push14=, $2, $pop46 br_if 0, $pop14 # 0: down to label0 # BB#4: # %testit.exit - i32.shl $push18=, $3, $0 - i32.const $push19=, 1 - i32.store $drop=, a($pop18), $pop19 - i32.const $push17=, 0 - i64.load $1=, a($pop17) - i32.const $push49=, 0 - i32.const $push15=, 4 - i32.add $push16=, $2, $pop15 - i32.store $drop=, t($pop49), $pop16 - i32.wrap/i64 $push20=, $1 + i32.shl $push15=, $1, $0 + i32.const $push16=, 1 + i32.store $drop=, a($pop15), $pop16 + i32.const $push19=, 0 + i32.const $push17=, 4 + i32.add $push18=, $2, $pop17 + i32.store $drop=, t($pop19), $pop18 + i32.const $push51=, 0 + i64.load $push50=, a($pop51) + tee_local $push49=, $3=, $pop50 + i32.wrap/i64 $push20=, $pop49 br_if 0, $pop20 # 0: down to label0 # BB#5: # %if.end i64.const $push21=, -4294967296 - i64.and $push22=, $1, $pop21 + i64.and $push22=, $3, $pop21 i64.const $push23=, 12884901888 i64.ne $push24=, $pop22, $pop23 br_if 0, $pop24 # 0: down to label0 # BB#6: # %if.end3 i32.const $push25=, 0 - i64.load $push51=, a+8($pop25) - tee_local $push50=, $1=, $pop51 - i32.wrap/i64 $push26=, $pop50 + i64.load $push53=, a+8($pop25) + tee_local $push52=, $3=, $pop53 + i32.wrap/i64 $push26=, $pop52 i32.const $push27=, 2 i32.ne $push28=, $pop26, $pop27 br_if 0, $pop28 # 0: down to label0 # BB#7: # %if.end6 i64.const $push29=, -4294967296 - i64.and $push30=, $1, $pop29 + i64.and $push30=, $3, $pop29 i64.const $push31=, 4294967296 i64.ne $push32=, $pop30, $pop31 br_if 0, $pop32 # 0: down to label0 diff --git a/test/torture-s/loop-7.c.s b/test/torture-s/loop-7.c.s index f88e3e137..e990abc16 100644 --- a/test/torture-s/loop-7.c.s +++ b/test/torture-s/loop-7.c.s @@ -13,19 +13,20 @@ foo: # @foo .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push8=, 1 - i32.shl $push0=, $pop8, $2 + i32.const $push10=, 1 + i32.shl $push0=, $pop10, $2 i32.eq $push1=, $pop0, $0 i32.select $1=, $2, $1, $pop1 - i32.const $push7=, 1 - i32.add $2=, $2, $pop7 + i32.const $push9=, 1 + i32.add $push8=, $2, $pop9 + tee_local $push7=, $2=, $pop8 i32.const $push6=, 9 - i32.gt_s $push2=, $2, $pop6 + i32.gt_s $push2=, $pop7, $pop6 br_if 1, $pop2 # 1: down to label1 # BB#2: # %for.body # in Loop: Header=BB0_1 Depth=1 - i32.const $push9=, 0 - i32.lt_s $push3=, $1, $pop9 + i32.const $push11=, 0 + i32.lt_s $push3=, $1, $pop11 br_if 0, $pop3 # 0: up to label0 .LBB0_3: # %for.end end_loop # label1: diff --git a/test/torture-s/loop-8.c.s b/test/torture-s/loop-8.c.s index 503133a3d..30974f47d 100644 --- a/test/torture-s/loop-8.c.s +++ b/test/torture-s/loop-8.c.s @@ -32,12 +32,12 @@ main: # @main .result i32 .local i32, f64 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 16 i32.sub $push16=, $pop9, $pop10 - i32.store $0=, 0($pop11), $pop16 + i32.store $0=, __stack_pointer($pop11), $pop16 block block i32.const $push20=, 0 diff --git a/test/torture-s/loop-9.c.s b/test/torture-s/loop-9.c.s index 87360bc00..fd3473cd4 100644 --- a/test/torture-s/loop-9.c.s +++ b/test/torture-s/loop-9.c.s @@ -8,7 +8,7 @@ false: # @false .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size false, .Lfunc_end0-false @@ -22,7 +22,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/loop-ivopts-1.c.s b/test/torture-s/loop-ivopts-1.c.s index 2686fd23f..f3c01407f 100644 --- a/test/torture-s/loop-ivopts-1.c.s +++ b/test/torture-s/loop-ivopts-1.c.s @@ -14,7 +14,7 @@ main: # @main i64.const $push2=, 4803089003686395904 i64.store $drop=, foo.tmp($pop4), $pop2 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -25,22 +25,24 @@ main: # @main .type foo,@function foo: # @foo .param i32 + .local i32 # BB#0: # %for.inc9.3 - i32.const $push1=, 0 - i32.const $push3=, 1095761920 - i32.store $drop=, foo.tmp($pop1), $pop3 + i32.const $push2=, 0 + i64.const $push1=, 4838273375797772288 + i64.store $drop=, foo.tmp+4($pop2):p2align=2, $pop1 i32.const $push9=, 0 - i64.const $push2=, 4838273375797772288 - i64.store $drop=, foo.tmp+4($pop9):p2align=2, $pop2 - i64.const $push4=, 4803089003686395904 - i64.store $drop=, 0($0):p2align=2, $pop4 + i32.const $push3=, 1095761920 + i32.store $1=, foo.tmp($pop9), $pop3 + i32.const $push4=, 1118306304 + i32.store $drop=, 4($0), $pop4 + i32.store $drop=, 0($0), $1 i32.const $push8=, 0 i64.load $push5=, foo.tmp+8($pop8) i64.store32 $push0=, 8($0), $pop5 i64.const $push6=, 32 i64.shr_u $push7=, $pop0, $pop6 i64.store32 $drop=, 12($0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/loop-ivopts-2.c.s b/test/torture-s/loop-ivopts-2.c.s index 0997b64fc..51d665658 100644 --- a/test/torture-s/loop-ivopts-2.c.s +++ b/test/torture-s/loop-ivopts-2.c.s @@ -13,29 +13,30 @@ check: # @check # =>This Inner Loop Header: Depth=1 block loop # label1: - i32.load $push0=, 0($0) + i32.load $push6=, 0($0) i32.const $push14=, 8 i32.const $push13=, 7 i32.const $push12=, -256 - i32.add $push1=, $1, $pop12 + i32.add $push0=, $1, $pop12 i32.const $push11=, 23 - i32.gt_u $push2=, $pop1, $pop11 - i32.select $push3=, $pop14, $pop13, $pop2 + i32.gt_u $push1=, $pop0, $pop11 + i32.select $push2=, $pop14, $pop13, $pop1 i32.const $push10=, -144 - i32.add $push4=, $1, $pop10 + i32.add $push3=, $1, $pop10 i32.const $push9=, 112 - i32.lt_u $push5=, $pop4, $pop9 - i32.add $push6=, $pop3, $pop5 - i32.ne $push7=, $pop0, $pop6 + i32.lt_u $push4=, $pop3, $pop9 + i32.add $push5=, $pop2, $pop4 + i32.ne $push7=, $pop6, $pop5 br_if 2, $pop7 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB0_1 Depth=1 - i32.const $push17=, 1 - i32.add $1=, $1, $pop17 - i32.const $push16=, 4 - i32.add $0=, $0, $pop16 + i32.const $push19=, 4 + i32.add $0=, $0, $pop19 + i32.const $push18=, 1 + i32.add $push17=, $1, $pop18 + tee_local $push16=, $1=, $pop17 i32.const $push15=, 287 - i32.le_s $push8=, $1, $pop15 + i32.le_s $push8=, $pop16, $pop15 br_if 0, $pop8 # 0: up to label1 # BB#3: # %for.end end_loop # label2: @@ -56,23 +57,24 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push45=, __stack_pointer - i32.const $push42=, __stack_pointer - i32.load $push43=, 0($pop42) + i32.const $push45=, 0 + i32.const $push42=, 0 + i32.load $push43=, __stack_pointer($pop42) i32.const $push44=, 1152 i32.sub $push49=, $pop43, $pop44 - i32.store $2=, 0($pop45), $pop49 + i32.store $2=, __stack_pointer($pop45), $pop49 i32.const $4=, 0 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label3: i32.add $push24=, $2, $4 - i32.const $push52=, 8 - i32.store $drop=, 0($pop24), $pop52 - i32.const $push51=, 4 - i32.add $4=, $4, $pop51 + i32.const $push54=, 8 + i32.store $drop=, 0($pop24), $pop54 + i32.const $push53=, 4 + i32.add $push52=, $4, $pop53 + tee_local $push51=, $4=, $pop52 i32.const $push50=, 576 - i32.ne $push25=, $4, $pop50 + i32.ne $push25=, $pop51, $pop50 br_if 0, $pop25 # 0: up to label3 # BB#2: # %for.body3.preheader end_loop # label4: @@ -83,12 +85,13 @@ main: # @main # =>This Inner Loop Header: Depth=1 loop # label5: i32.add $push27=, $3, $4 - i32.const $push55=, 9 - i32.store $drop=, 0($pop27), $pop55 - i32.const $push54=, 4 - i32.add $4=, $4, $pop54 - i32.const $push53=, 448 - i32.ne $push28=, $4, $pop53 + i32.const $push59=, 9 + i32.store $drop=, 0($pop27), $pop59 + i32.const $push58=, 4 + i32.add $push57=, $4, $pop58 + tee_local $push56=, $4=, $pop57 + i32.const $push55=, 448 + i32.ne $push28=, $pop56, $pop55 br_if 0, $pop28 # 0: up to label5 # BB#4: # %for.body17 end_loop # label6: @@ -128,34 +131,35 @@ main: # @main # =>This Inner Loop Header: Depth=1 block loop # label8: - i32.load $push32=, 0($3) - i32.const $push59=, -256 - i32.add $push33=, $4, $pop59 - i32.const $push58=, 23 - i32.gt_u $push34=, $pop33, $pop58 - i32.select $push35=, $1, $0, $pop34 - i32.const $push57=, -144 - i32.add $push36=, $4, $pop57 - i32.const $push56=, 112 - i32.lt_u $push37=, $pop36, $pop56 - i32.add $push38=, $pop35, $pop37 - i32.ne $push39=, $pop32, $pop38 + i32.load $push38=, 0($3) + i32.const $push63=, -256 + i32.add $push32=, $4, $pop63 + i32.const $push62=, 23 + i32.gt_u $push33=, $pop32, $pop62 + i32.select $push34=, $1, $0, $pop33 + i32.const $push61=, -144 + i32.add $push35=, $4, $pop61 + i32.const $push60=, 112 + i32.lt_u $push36=, $pop35, $pop60 + i32.add $push37=, $pop34, $pop36 + i32.ne $push39=, $pop38, $pop37 br_if 2, $pop39 # 2: down to label7 # BB#6: # %for.cond.i # in Loop: Header=BB1_5 Depth=1 - i32.const $push62=, 1 - i32.add $4=, $4, $pop62 - i32.const $push61=, 4 - i32.add $3=, $3, $pop61 - i32.const $push60=, 287 - i32.le_s $push40=, $4, $pop60 + i32.const $push68=, 4 + i32.add $3=, $3, $pop68 + i32.const $push67=, 1 + i32.add $push66=, $4, $pop67 + tee_local $push65=, $4=, $pop66 + i32.const $push64=, 287 + i32.le_s $push40=, $pop65, $pop64 br_if 0, $pop40 # 0: up to label8 # BB#7: # %check.exit end_loop # label9: - i32.const $push48=, __stack_pointer + i32.const $push48=, 0 i32.const $push46=, 1152 i32.add $push47=, $2, $pop46 - i32.store $drop=, 0($pop48), $pop47 + i32.store $drop=, __stack_pointer($pop48), $pop47 i32.const $push41=, 0 return $pop41 .LBB1_8: # %if.then.i diff --git a/test/torture-s/lshrdi-1.c.s b/test/torture-s/lshrdi-1.c.s index e994931e3..d372bdd0f 100644 --- a/test/torture-s/lshrdi-1.c.s +++ b/test/torture-s/lshrdi-1.c.s @@ -21,12 +21,13 @@ main: # @main br_if 2, $pop2 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB0_1 Depth=1 - i64.const $push9=, 1 - i64.add $0=, $0, $pop9 - i32.const $push8=, 8 - i32.add $2=, $2, $pop8 + i32.const $push11=, 8 + i32.add $2=, $2, $pop11 + i64.const $push10=, 1 + i64.add $push9=, $0, $pop10 + tee_local $push8=, $0=, $pop9 i64.const $push7=, 64 - i64.lt_s $push3=, $0, $pop7 + i64.lt_s $push3=, $pop8, $pop7 br_if 0, $pop3 # 0: up to label1 # BB#3: # %constant_shift.exit.preheader end_loop # label2: @@ -36,17 +37,18 @@ main: # @main # =>This Inner Loop Header: Depth=1 block loop # label4: - i32.const $push10=, 1 - i32.eqz $push14=, $pop10 - br_if 2, $pop14 # 2: down to label3 + i32.const $push12=, 1 + i32.eqz $push18=, $pop12 + br_if 2, $pop18 # 2: down to label3 # BB#5: # %for.cond2 # in Loop: Header=BB0_4 Depth=1 - i32.const $push13=, 1 - i32.add $2=, $2, $pop13 - i32.const $push12=, 8 - i32.add $1=, $1, $pop12 - i32.const $push11=, 63 - i32.le_s $push4=, $2, $pop11 + i32.const $push17=, 8 + i32.add $1=, $1, $pop17 + i32.const $push16=, 1 + i32.add $push15=, $2, $pop16 + tee_local $push14=, $2=, $pop15 + i32.const $push13=, 63 + i32.le_s $push4=, $pop14, $pop13 br_if 0, $pop4 # 0: up to label4 # BB#6: # %for.end13 end_loop # label5: diff --git a/test/torture-s/mayalias-2.c.s b/test/torture-s/mayalias-2.c.s index 558413c3d..b7147165a 100644 --- a/test/torture-s/mayalias-2.c.s +++ b/test/torture-s/mayalias-2.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -21,7 +21,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/mayalias-3.c.s b/test/torture-s/mayalias-3.c.s index 6d5bdeded..e8a0a8442 100644 --- a/test/torture-s/mayalias-3.c.s +++ b/test/torture-s/mayalias-3.c.s @@ -10,7 +10,8 @@ g: # @g # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, p($pop0), $0 - return $0 + copy_local $push1=, $0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -21,23 +22,23 @@ g: # @g .type f,@function f: # @f .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) - i32.const $push5=, 16 - i32.sub $push9=, $pop4, $pop5 - tee_local $push8=, $1=, $pop9 - i32.const $push1=, 10 - i32.store $drop=, 12($pop8), $pop1 - i32.const $push2=, 1 - i32.store16 $drop=, 12($1), $pop2 - i32.load $0=, 12($1) - i32.const $push0=, 0 - i32.const $push6=, 12 - i32.add $push7=, $1, $pop6 - i32.store $drop=, p($pop0), $pop7 - return $0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) + i32.const $push6=, 16 + i32.sub $push10=, $pop5, $pop6 + tee_local $push9=, $0=, $pop10 + i32.const $push0=, 10 + i32.store $drop=, 12($pop9), $pop0 + i32.const $push1=, 1 + i32.store16 $drop=, 12($0), $pop1 + i32.const $push2=, 0 + i32.const $push7=, 12 + i32.add $push8=, $0, $pop7 + i32.store $drop=, p($pop2), $pop8 + i32.load $push3=, 12($0) + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -48,34 +49,34 @@ f: # @f .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) - i32.const $push5=, 16 - i32.sub $push12=, $pop4, $pop5 - i32.store $push15=, 0($pop6), $pop12 - tee_local $push14=, $2=, $pop15 + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) + i32.const $push6=, 16 + i32.sub $push13=, $pop5, $pop6 + i32.store $push16=, __stack_pointer($pop7), $pop13 + tee_local $push15=, $1=, $pop16 i32.const $push0=, 10 - i32.store $0=, 12($pop14), $pop0 + i32.store $0=, 12($pop15), $pop0 i32.const $push1=, 1 - i32.store16 $drop=, 12($2), $pop1 - i32.load $1=, 12($2) - i32.const $push13=, 0 - i32.const $push10=, 12 - i32.add $push11=, $2, $pop10 - i32.store $drop=, p($pop13), $pop11 + i32.store16 $drop=, 12($1), $pop1 + i32.const $push14=, 0 + i32.const $push11=, 12 + i32.add $push12=, $1, $pop11 + i32.store $drop=, p($pop14), $pop12 block - i32.eq $push2=, $1, $0 - br_if 0, $pop2 # 0: down to label0 + i32.load $push2=, 12($1) + i32.eq $push3=, $0, $pop2 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end - i32.const $push9=, __stack_pointer - i32.const $push7=, 16 - i32.add $push8=, $2, $pop7 - i32.store $drop=, 0($pop9), $pop8 - i32.const $push16=, 0 - return $pop16 + i32.const $push10=, 0 + i32.const $push8=, 16 + i32.add $push9=, $1, $pop8 + i32.store $drop=, __stack_pointer($pop10), $pop9 + i32.const $push17=, 0 + return $pop17 .LBB2_2: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/medce-1.c.s b/test/torture-s/medce-1.c.s index 890b0de53..5be7c467f 100644 --- a/test/torture-s/medce-1.c.s +++ b/test/torture-s/medce-1.c.s @@ -6,10 +6,10 @@ .type bar,@function bar: # @bar # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 1 - i32.store8 $drop=, ok($pop0), $pop1 - return + i32.const $push1=, 0 + i32.const $push0=, 1 + i32.store8 $drop=, ok($pop1), $pop0 + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -31,7 +31,7 @@ foo: # @foo i32.store8 $drop=, ok($pop1), $pop3 .LBB1_2: # %sw.epilog end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -47,7 +47,7 @@ main: # @main i32.const $push0=, 1 i32.store8 $drop=, ok($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/memcpy-1.c.s b/test/torture-s/memcpy-1.c.s index 0a20c3907..7cb6ac19f 100644 --- a/test/torture-s/memcpy-1.c.s +++ b/test/torture-s/memcpy-1.c.s @@ -9,7 +9,7 @@ copy: # @copy .result i32 # BB#0: # %entry i32.call $push0=, memcpy@FUNCTION, $0, $1, $2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size copy, .Lfunc_end0-copy @@ -23,34 +23,34 @@ main: # @main .local i32, i32, i32 # BB#0: # %entry i32.const $2=, 0 - i32.const $push40=, __stack_pointer - i32.const $push37=, __stack_pointer - i32.load $push38=, 0($pop37) - i32.const $push39=, 696320 - i32.sub $push51=, $pop38, $pop39 - i32.store $push1=, 0($pop40), $pop51 - i32.const $push53=, 0 - i32.const $push52=, 348160 - i32.call $1=, memset@FUNCTION, $pop1, $pop53, $pop52 + i32.const $push42=, 0 + i32.const $push39=, 0 + i32.load $push40=, __stack_pointer($pop39) + i32.const $push41=, 696320 + i32.sub $push53=, $pop40, $pop41 + i32.store $push1=, __stack_pointer($pop42), $pop53 + i32.const $push55=, 0 + i32.const $push54=, 348160 + i32.call $1=, memset@FUNCTION, $pop1, $pop55, $pop54 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push41=, 348160 - i32.add $push42=, $1, $pop41 - i32.add $push2=, $pop42, $2 - i32.store8 $push0=, 0($pop2), $2 - i32.const $push57=, 1 - i32.add $push56=, $pop0, $pop57 - tee_local $push55=, $2=, $pop56 - i32.const $push54=, 348160 - i32.ne $push3=, $pop55, $pop54 - br_if 0, $pop3 # 0: up to label0 -# BB#2: # %for.end - end_loop # label1: i32.const $push43=, 348160 i32.add $push44=, $1, $pop43 - i32.const $push4=, 2720 - i32.call $drop=, memcpy@FUNCTION, $1, $pop44, $pop4 + i32.add $push4=, $pop44, $2 + i32.store8 $push0=, 0($pop4), $2 + i32.const $push59=, 1 + i32.add $push58=, $pop0, $pop59 + tee_local $push57=, $2=, $pop58 + i32.const $push56=, 348160 + i32.ne $push5=, $pop57, $pop56 + br_if 0, $pop5 # 0: up to label0 +# BB#2: # %for.end + end_loop # label1: + i32.const $push45=, 348160 + i32.add $push46=, $1, $pop45 + i32.const $push6=, 2720 + i32.call $drop=, memcpy@FUNCTION, $1, $pop46, $pop6 i32.const $2=, 0 .LBB1_3: # %for.body6 # =>This Inner Loop Header: Depth=1 @@ -58,144 +58,150 @@ main: # @main block block loop # label5: - i32.add $push5=, $1, $2 - i32.load8_u $push6=, 0($pop5) - i32.const $push58=, 255 - i32.and $push7=, $2, $pop58 - i32.ne $push8=, $pop6, $pop7 - br_if 2, $pop8 # 2: down to label4 + i32.add $push8=, $1, $2 + i32.load8_u $push9=, 0($pop8) + i32.const $push60=, 255 + i32.and $push7=, $2, $pop60 + i32.ne $push10=, $pop9, $pop7 + br_if 2, $pop10 # 2: down to label4 # BB#4: # %for.cond3 # in Loop: Header=BB1_3 Depth=1 - i32.const $push60=, 1 - i32.add $2=, $2, $pop60 - i32.const $push59=, 2719 - i32.le_u $push9=, $2, $pop59 - br_if 0, $pop9 # 0: up to label5 + i32.const $push64=, 1 + i32.add $push63=, $2, $pop64 + tee_local $push62=, $2=, $pop63 + i32.const $push61=, 2719 + i32.le_u $push11=, $pop62, $pop61 + br_if 0, $pop11 # 0: up to label5 # BB#5: # %for.end15 end_loop # label6: - i32.const $push61=, 1 - i32.const $push10=, 2720 - i32.call $0=, memset@FUNCTION, $1, $pop61, $pop10 + i32.const $push65=, 1 + i32.const $push12=, 2720 + i32.call $0=, memset@FUNCTION, $1, $pop65, $pop12 i32.const $2=, 1 .LBB1_6: # %for.cond18 # =>This Inner Loop Header: Depth=1 block loop # label8: - i32.const $push62=, 2719 - i32.gt_u $push11=, $2, $pop62 - br_if 2, $pop11 # 2: down to label7 + i32.const $push66=, 2719 + i32.gt_u $push13=, $2, $pop66 + br_if 2, $pop13 # 2: down to label7 # BB#7: # %for.cond18.for.body21_crit_edge # in Loop: Header=BB1_6 Depth=1 i32.add $1=, $0, $2 - i32.const $push64=, 1 - i32.add $2=, $2, $pop64 - i32.load8_u $push35=, 0($1) - i32.const $push63=, 1 - i32.eq $push36=, $pop35, $pop63 - br_if 0, $pop36 # 0: up to label8 + i32.const $push68=, 1 + i32.add $push2=, $2, $pop68 + copy_local $2=, $pop2 + i32.load8_u $push37=, 0($1) + i32.const $push67=, 1 + i32.eq $push38=, $pop37, $pop67 + br_if 0, $pop38 # 0: up to label8 # BB#8: # %if.then26 end_loop # label9: call abort@FUNCTION unreachable .LBB1_9: # %for.end30 end_block # label7: - i32.const $push45=, 348160 - i32.add $push46=, $0, $pop45 - i32.const $push12=, 348160 - i32.call $1=, memcpy@FUNCTION, $0, $pop46, $pop12 + i32.const $push47=, 348160 + i32.add $push48=, $0, $pop47 + i32.const $push14=, 348160 + i32.call $1=, memcpy@FUNCTION, $0, $pop48, $pop14 i32.const $2=, 0 .LBB1_10: # %for.body37 # =>This Inner Loop Header: Depth=1 loop # label10: - i32.add $push13=, $1, $2 - i32.load8_u $push14=, 0($pop13) - i32.const $push65=, 255 - i32.and $push15=, $2, $pop65 - i32.ne $push16=, $pop14, $pop15 - br_if 3, $pop16 # 3: down to label3 + i32.add $push16=, $1, $2 + i32.load8_u $push17=, 0($pop16) + i32.const $push69=, 255 + i32.and $push15=, $2, $pop69 + i32.ne $push18=, $pop17, $pop15 + br_if 3, $pop18 # 3: down to label3 # BB#11: # %for.cond34 # in Loop: Header=BB1_10 Depth=1 - i32.const $push67=, 1 - i32.add $2=, $2, $pop67 - i32.const $push66=, 348159 - i32.le_u $push17=, $2, $pop66 - br_if 0, $pop17 # 0: up to label10 + i32.const $push73=, 1 + i32.add $push72=, $2, $pop73 + tee_local $push71=, $2=, $pop72 + i32.const $push70=, 348159 + i32.le_u $push19=, $pop71, $pop70 + br_if 0, $pop19 # 0: up to label10 # BB#12: # %for.end48 end_loop # label11: - i32.const $push19=, 0 - i32.const $push18=, 348160 - i32.call $0=, memset@FUNCTION, $1, $pop19, $pop18 + i32.const $push21=, 0 + i32.const $push20=, 348160 + i32.call $0=, memset@FUNCTION, $1, $pop21, $pop20 i32.const $2=, 1 .LBB1_13: # %for.cond51 # =>This Inner Loop Header: Depth=1 block loop # label13: - i32.const $push68=, 348159 - i32.gt_u $push20=, $2, $pop68 - br_if 2, $pop20 # 2: down to label12 + i32.const $push74=, 348159 + i32.gt_u $push22=, $2, $pop74 + br_if 2, $pop22 # 2: down to label12 # BB#14: # %for.cond51.for.body54_crit_edge # in Loop: Header=BB1_13 Depth=1 i32.add $1=, $0, $2 - i32.const $push69=, 1 - i32.add $2=, $2, $pop69 - i32.load8_u $push34=, 0($1) - i32.eqz $push76=, $pop34 - br_if 0, $pop76 # 0: up to label13 + i32.const $push75=, 1 + i32.add $push3=, $2, $pop75 + copy_local $2=, $pop3 + i32.load8_u $push36=, 0($1) + i32.eqz $push86=, $pop36 + br_if 0, $pop86 # 0: up to label13 # BB#15: # %if.then59 end_loop # label14: call abort@FUNCTION unreachable .LBB1_16: # %for.end63 end_block # label12: - i32.const $push47=, 348160 - i32.add $push48=, $0, $pop47 - i32.const $push21=, 2720 - i32.call $1=, memcpy@FUNCTION, $0, $pop48, $pop21 + i32.const $push49=, 348160 + i32.add $push50=, $0, $pop49 + i32.const $push23=, 2720 + i32.call $1=, memcpy@FUNCTION, $0, $pop50, $pop23 i32.const $2=, 0 .LBB1_17: # %for.body70 # =>This Inner Loop Header: Depth=1 loop # label15: - i32.add $push22=, $1, $2 - i32.load8_u $push23=, 0($pop22) - i32.const $push70=, 255 - i32.and $push24=, $2, $pop70 - i32.ne $push25=, $pop23, $pop24 - br_if 4, $pop25 # 4: down to label2 + i32.add $push25=, $1, $2 + i32.load8_u $push26=, 0($pop25) + i32.const $push76=, 255 + i32.and $push24=, $2, $pop76 + i32.ne $push27=, $pop26, $pop24 + br_if 4, $pop27 # 4: down to label2 # BB#18: # %for.cond67 # in Loop: Header=BB1_17 Depth=1 - i32.const $push72=, 1 - i32.add $2=, $2, $pop72 - i32.const $push71=, 2719 - i32.le_u $push26=, $2, $pop71 - br_if 0, $pop26 # 0: up to label15 + i32.const $push80=, 1 + i32.add $push79=, $2, $pop80 + tee_local $push78=, $2=, $pop79 + i32.const $push77=, 2719 + i32.le_u $push28=, $pop78, $pop77 + br_if 0, $pop28 # 0: up to label15 # BB#19: # %for.end81 end_loop # label16: - i32.const $push49=, 348160 - i32.add $push50=, $1, $pop49 - i32.const $push27=, 348160 - i32.call $drop=, memcpy@FUNCTION, $1, $pop50, $pop27 + i32.const $push51=, 348160 + i32.add $push52=, $1, $pop51 + i32.const $push29=, 348160 + i32.call $drop=, memcpy@FUNCTION, $1, $pop52, $pop29 i32.const $2=, 0 .LBB1_20: # %for.body90 # =>This Inner Loop Header: Depth=1 block loop # label18: - i32.add $push28=, $1, $2 - i32.load8_u $push29=, 0($pop28) - i32.const $push73=, 255 - i32.and $push30=, $2, $pop73 - i32.ne $push31=, $pop29, $pop30 - br_if 2, $pop31 # 2: down to label17 + i32.add $push31=, $1, $2 + i32.load8_u $push32=, 0($pop31) + i32.const $push81=, 255 + i32.and $push30=, $2, $pop81 + i32.ne $push33=, $pop32, $pop30 + br_if 2, $pop33 # 2: down to label17 # BB#21: # %for.cond87 # in Loop: Header=BB1_20 Depth=1 - i32.const $push75=, 1 - i32.add $2=, $2, $pop75 - i32.const $push74=, 348159 - i32.le_u $push32=, $2, $pop74 - br_if 0, $pop32 # 0: up to label18 + i32.const $push85=, 1 + i32.add $push84=, $2, $pop85 + tee_local $push83=, $2=, $pop84 + i32.const $push82=, 348159 + i32.le_u $push34=, $pop83, $pop82 + br_if 0, $pop34 # 0: up to label18 # BB#22: # %for.end101 end_loop # label19: - i32.const $push33=, 0 - call exit@FUNCTION, $pop33 + i32.const $push35=, 0 + call exit@FUNCTION, $pop35 unreachable .LBB1_23: # %if.then97 end_block # label17: diff --git a/test/torture-s/memcpy-2.c.s b/test/torture-s/memcpy-2.c.s index a2d1afddd..5e6338c29 100644 --- a/test/torture-s/memcpy-2.c.s +++ b/test/torture-s/memcpy-2.c.s @@ -29,10 +29,10 @@ main: # @main # Child Loop BB0_7 Depth 4 # Child Loop BB0_11 Depth 4 loop # label3: - i32.const $push46=, u2 - i32.add $3=, $2, $pop46 - i32.const $push45=, 65 - i32.add $4=, $2, $pop45 + i32.const $push46=, 65 + i32.add $4=, $2, $pop46 + i32.const $push45=, u2 + i32.add $3=, $2, $pop45 i32.const $5=, 1 .LBB0_3: # %for.cond7.preheader # Parent Loop BB0_1 Depth=1 @@ -46,36 +46,37 @@ main: # @main i32.const $push48=, 97 i32.const $push47=, 96 i32.call $drop=, memset@FUNCTION, $pop49, $pop48, $pop47 - i32.const $6=, 65 - i32.const $8=, -96 + i32.const $8=, 65 + i32.const $6=, -96 .LBB0_4: # %for.body9 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # Parent Loop BB0_3 Depth=3 # => This Inner Loop Header: Depth=4 loop # label7: - i32.const $push55=, 65 - i32.const $push54=, 24 - i32.shl $push1=, $6, $pop54 - i32.const $push53=, 24 - i32.shr_s $push2=, $pop1, $pop53 - i32.const $push52=, 95 - i32.gt_s $push3=, $pop2, $pop52 - i32.select $push4=, $pop55, $6, $pop3 - i32.store8 $push0=, u2+96($8), $pop4 - i32.const $push51=, 1 - i32.add $6=, $pop0, $pop51 - i32.const $push50=, 1 - i32.add $8=, $8, $pop50 - br_if 0, $8 # 0: up to label7 + i32.const $push57=, 65 + i32.const $push56=, 24 + i32.shl $push1=, $8, $pop56 + i32.const $push55=, 24 + i32.shr_s $push2=, $pop1, $pop55 + i32.const $push54=, 95 + i32.gt_s $push3=, $pop2, $pop54 + i32.select $push4=, $pop57, $8, $pop3 + i32.store8 $push0=, u2+96($6), $pop4 + i32.const $push53=, 1 + i32.add $8=, $pop0, $pop53 + i32.const $push52=, 1 + i32.add $push51=, $6, $pop52 + tee_local $push50=, $6=, $pop51 + br_if 0, $pop50 # 0: up to label7 # BB#5: # %for.end # in Loop: Header=BB0_3 Depth=3 end_loop # label8: i32.call $drop=, memcpy@FUNCTION, $1, $3, $5 i32.const $7=, u1 block - i32.const $push56=, 1 - i32.lt_s $push5=, $0, $pop56 + i32.const $push58=, 1 + i32.lt_s $push5=, $0, $pop58 br_if 0, $pop5 # 0: down to label9 # BB#6: # %for.body23.preheader # in Loop: Header=BB0_3 Depth=3 @@ -86,23 +87,23 @@ main: # @main # Parent Loop BB0_3 Depth=3 # => This Inner Loop Header: Depth=4 loop # label10: - copy_local $push59=, $8 - tee_local $push58=, $6=, $pop59 - i32.load8_u $push6=, u1($pop58) - i32.const $push57=, 97 - i32.ne $push7=, $pop6, $pop57 + copy_local $push61=, $8 + tee_local $push60=, $6=, $pop61 + i32.load8_u $push6=, u1($pop60) + i32.const $push59=, 97 + i32.ne $push7=, $pop6, $pop59 br_if 9, $pop7 # 9: down to label0 # BB#8: # %for.inc29 # in Loop: Header=BB0_7 Depth=4 - i32.const $push62=, 1 - i32.add $push61=, $6, $pop62 - tee_local $push60=, $8=, $pop61 - i32.lt_s $push8=, $pop60, $0 + i32.const $push64=, 1 + i32.add $push63=, $6, $pop64 + tee_local $push62=, $8=, $pop63 + i32.lt_s $push8=, $pop62, $0 br_if 0, $pop8 # 0: up to label10 # BB#9: # in Loop: Header=BB0_3 Depth=3 end_loop # label11: - i32.const $push63=, u1+1 - i32.add $7=, $6, $pop63 + i32.const $push65=, u1+1 + i32.add $7=, $6, $pop65 .LBB0_10: # %for.body36.preheader # in Loop: Header=BB0_3 Depth=3 end_block # label9: @@ -116,114 +117,118 @@ main: # @main loop # label12: i32.add $push13=, $7, $8 i32.load8_u $push14=, 0($pop13) - i32.const $push70=, 65 - i32.const $push69=, 24 - i32.shl $push9=, $6, $pop69 - i32.const $push68=, 24 - i32.shr_s $push10=, $pop9, $pop68 - i32.const $push67=, 95 - i32.gt_s $push11=, $pop10, $pop67 - i32.select $push66=, $pop70, $6, $pop11 - tee_local $push65=, $6=, $pop66 - i32.const $push64=, 255 - i32.and $push12=, $pop65, $pop64 + i32.const $push72=, 65 + i32.const $push71=, 24 + i32.shl $push9=, $6, $pop71 + i32.const $push70=, 24 + i32.shr_s $push10=, $pop9, $pop70 + i32.const $push69=, 95 + i32.gt_s $push11=, $pop10, $pop69 + i32.select $push68=, $pop72, $6, $pop11 + tee_local $push67=, $6=, $pop68 + i32.const $push66=, 255 + i32.and $push12=, $pop67, $pop66 i32.ne $push15=, $pop14, $pop12 br_if 8, $pop15 # 8: down to label0 # BB#12: # %for.inc48 # in Loop: Header=BB0_11 Depth=4 - i32.const $push72=, 1 - i32.add $8=, $8, $pop72 - i32.const $push71=, 1 - i32.add $6=, $6, $pop71 - i32.lt_s $push16=, $8, $5 + i32.const $push76=, 1 + i32.add $6=, $6, $pop76 + i32.const $push75=, 1 + i32.add $push74=, $8, $pop75 + tee_local $push73=, $8=, $pop74 + i32.lt_s $push16=, $pop73, $5 br_if 0, $pop16 # 0: up to label12 # BB#13: # %for.body56.preheader # in Loop: Header=BB0_3 Depth=3 end_loop # label13: - i32.add $push75=, $7, $8 - tee_local $push74=, $8=, $pop75 - i32.load8_u $push17=, 0($pop74) - i32.const $push73=, 97 - i32.ne $push18=, $pop17, $pop73 + i32.add $push79=, $7, $8 + tee_local $push78=, $8=, $pop79 + i32.load8_u $push17=, 0($pop78) + i32.const $push77=, 97 + i32.ne $push18=, $pop17, $pop77 br_if 6, $pop18 # 6: down to label0 # BB#14: # %for.inc62 # in Loop: Header=BB0_3 Depth=3 - i32.const $push77=, 1 - i32.add $push19=, $8, $pop77 + i32.const $push81=, 1 + i32.add $push19=, $8, $pop81 i32.load8_u $push20=, 0($pop19) - i32.const $push76=, 97 - i32.ne $push21=, $pop20, $pop76 + i32.const $push80=, 97 + i32.ne $push21=, $pop20, $pop80 br_if 6, $pop21 # 6: down to label0 # BB#15: # %for.inc62.1 # in Loop: Header=BB0_3 Depth=3 - i32.const $push79=, 2 - i32.add $push22=, $8, $pop79 + i32.const $push83=, 2 + i32.add $push22=, $8, $pop83 i32.load8_u $push23=, 0($pop22) - i32.const $push78=, 97 - i32.ne $push24=, $pop23, $pop78 + i32.const $push82=, 97 + i32.ne $push24=, $pop23, $pop82 br_if 6, $pop24 # 6: down to label0 # BB#16: # %for.inc62.2 # in Loop: Header=BB0_3 Depth=3 - i32.const $push81=, 3 - i32.add $push25=, $8, $pop81 + i32.const $push85=, 3 + i32.add $push25=, $8, $pop85 i32.load8_u $push26=, 0($pop25) - i32.const $push80=, 97 - i32.ne $push27=, $pop26, $pop80 + i32.const $push84=, 97 + i32.ne $push27=, $pop26, $pop84 br_if 6, $pop27 # 6: down to label0 # BB#17: # %for.inc62.3 # in Loop: Header=BB0_3 Depth=3 - i32.const $push83=, 4 - i32.add $push28=, $8, $pop83 + i32.const $push87=, 4 + i32.add $push28=, $8, $pop87 i32.load8_u $push29=, 0($pop28) - i32.const $push82=, 97 - i32.ne $push30=, $pop29, $pop82 + i32.const $push86=, 97 + i32.ne $push30=, $pop29, $pop86 br_if 6, $pop30 # 6: down to label0 # BB#18: # %for.inc62.4 # in Loop: Header=BB0_3 Depth=3 - i32.const $push85=, 5 - i32.add $push31=, $8, $pop85 + i32.const $push89=, 5 + i32.add $push31=, $8, $pop89 i32.load8_u $push32=, 0($pop31) - i32.const $push84=, 97 - i32.ne $push33=, $pop32, $pop84 + i32.const $push88=, 97 + i32.ne $push33=, $pop32, $pop88 br_if 6, $pop33 # 6: down to label0 # BB#19: # %for.inc62.5 # in Loop: Header=BB0_3 Depth=3 - i32.const $push87=, 6 - i32.add $push34=, $8, $pop87 + i32.const $push91=, 6 + i32.add $push34=, $8, $pop91 i32.load8_u $push35=, 0($pop34) - i32.const $push86=, 97 - i32.ne $push36=, $pop35, $pop86 + i32.const $push90=, 97 + i32.ne $push36=, $pop35, $pop90 br_if 6, $pop36 # 6: down to label0 # BB#20: # %for.inc62.6 # in Loop: Header=BB0_3 Depth=3 - i32.const $push89=, 7 - i32.add $push37=, $8, $pop89 + i32.const $push93=, 7 + i32.add $push37=, $8, $pop93 i32.load8_u $push38=, 0($pop37) - i32.const $push88=, 97 - i32.ne $push39=, $pop38, $pop88 + i32.const $push92=, 97 + i32.ne $push39=, $pop38, $pop92 br_if 6, $pop39 # 6: down to label0 # BB#21: # %for.inc62.7 # in Loop: Header=BB0_3 Depth=3 - i32.const $push91=, 1 - i32.add $5=, $5, $pop91 - i32.const $push90=, 80 - i32.lt_u $push40=, $5, $pop90 + i32.const $push97=, 1 + i32.add $push96=, $5, $pop97 + tee_local $push95=, $5=, $pop96 + i32.const $push94=, 80 + i32.lt_u $push40=, $pop95, $pop94 br_if 0, $pop40 # 0: up to label5 # BB#22: # %for.inc69 # in Loop: Header=BB0_2 Depth=2 end_loop # label6: - i32.const $push93=, 1 - i32.add $2=, $2, $pop93 - i32.const $push92=, 8 - i32.lt_u $push41=, $2, $pop92 + i32.const $push101=, 1 + i32.add $push100=, $2, $pop101 + tee_local $push99=, $2=, $pop100 + i32.const $push98=, 8 + i32.lt_u $push41=, $pop99, $pop98 br_if 0, $pop41 # 0: up to label3 # BB#23: # %for.inc72 # in Loop: Header=BB0_1 Depth=1 end_loop # label4: - i32.const $push95=, 1 - i32.add $0=, $0, $pop95 - i32.const $push94=, 8 - i32.lt_u $push42=, $0, $pop94 + i32.const $push105=, 1 + i32.add $push104=, $0, $pop105 + tee_local $push103=, $0=, $pop104 + i32.const $push102=, 8 + i32.lt_u $push42=, $pop103, $pop102 br_if 0, $pop42 # 0: up to label1 # BB#24: # %for.end74 end_loop # label2: diff --git a/test/torture-s/memcpy-bi.c.s b/test/torture-s/memcpy-bi.c.s index eadc5428d..cd79506f7 100644 --- a/test/torture-s/memcpy-bi.c.s +++ b/test/torture-s/memcpy-bi.c.s @@ -26,989 +26,990 @@ check: # @check .type main,@function main: # @main .result i32 - .local i32, i64, i64, i64, i32 + .local i32 # BB#0: # %entry - i32.const $4=, 0 + i32.const $0=, 0 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push251=, 26 - i32.rem_s $push24=, $4, $pop251 - i32.const $push250=, 97 - i32.add $push25=, $pop24, $pop250 - i32.store8 $drop=, src($4), $pop25 - i32.const $push249=, 1 - i32.add $4=, $4, $pop249 - i32.const $push248=, 80 - i32.ne $push26=, $4, $pop248 + i32.const $push303=, 26 + i32.rem_s $push24=, $0, $pop303 + i32.const $push302=, 97 + i32.add $push25=, $pop24, $pop302 + i32.store8 $drop=, src($0), $pop25 + i32.const $push301=, 1 + i32.add $push300=, $0, $pop301 + tee_local $push299=, $0=, $pop300 + i32.const $push298=, 80 + i32.ne $push26=, $pop299, $pop298 br_if 0, $pop26 # 0: up to label1 # BB#2: # %check.exit end_loop # label2: - i32.const $push253=, 0 - i32.const $push252=, 0 - i32.load16_u $push27=, src($pop252) - i32.store16 $drop=, dst($pop253), $pop27 + i32.const $push305=, 0 + i32.const $push304=, 0 + i32.load16_u $push27=, src($pop304) + i32.store16 $drop=, dst($pop305), $pop27 block i32.const $push28=, 1 - i32.eqz $push676=, $pop28 - br_if 0, $pop676 # 0: down to label3 + i32.eqz $push728=, $pop28 + br_if 0, $pop728 # 0: down to label3 # BB#3: # %check.exit172 - i32.const $push259=, 0 - i32.const $push258=, 0 - i32.load8_u $push29=, src+2($pop258) - i32.store8 $drop=, dst+2($pop259), $pop29 - i32.const $push257=, 0 - i32.const $push256=, 0 - i32.load16_u $push30=, src($pop256) - i32.store16 $drop=, dst($pop257), $pop30 - i32.const $push255=, dst - i32.const $push254=, src - i32.const $push31=, 3 - i32.call $push32=, memcmp@FUNCTION, $pop255, $pop254, $pop31 - br_if 0, $pop32 # 0: down to label3 -# BB#4: # %check.exit176 - i32.const $push265=, 0 - i32.load $4=, src($pop265) - i32.const $push264=, 0 - i32.const $push263=, 0 - i32.load8_u $push33=, src+4($pop263) - i32.store8 $drop=, dst+4($pop264), $pop33 - i32.const $push262=, 0 - i32.store $drop=, dst($pop262), $4 - i32.const $push261=, dst - i32.const $push260=, src - i32.const $push34=, 5 - i32.call $push35=, memcmp@FUNCTION, $pop261, $pop260, $pop34 - br_if 0, $pop35 # 0: down to label3 -# BB#5: # %check.exit184 - i32.const $push271=, 0 - i32.const $push270=, 0 - i32.load16_u $push36=, src+4($pop270) - i32.store16 $drop=, dst+4($pop271), $pop36 - i32.const $push269=, 0 - i32.const $push268=, 0 - i32.load $push37=, src($pop268) - i32.store $drop=, dst($pop269), $pop37 - i32.const $push267=, dst - i32.const $push266=, src - i32.const $push38=, 6 - i32.call $push39=, memcmp@FUNCTION, $pop267, $pop266, $pop38 - br_if 0, $pop39 # 0: down to label3 -# BB#6: # %check.exit188 - i32.const $push279=, 0 - i32.load16_u $4=, src+4($pop279) - i32.const $push278=, 0 - i32.load $0=, src($pop278) - i32.const $push277=, 0 - i32.const $push276=, 0 - i32.load8_u $push40=, src+6($pop276) - i32.store8 $drop=, dst+6($pop277), $pop40 - i32.const $push275=, 0 - i32.store16 $drop=, dst+4($pop275), $4 - i32.const $push274=, 0 - i32.store $drop=, dst($pop274), $0 - i32.const $push273=, dst - i32.const $push272=, src - i32.const $push41=, 7 - i32.call $push42=, memcmp@FUNCTION, $pop273, $pop272, $pop41 - br_if 0, $pop42 # 0: down to label3 -# BB#7: # %check.exit192 - i32.const $push285=, 0 - i32.const $push284=, 0 - i32.load8_u $push43=, src+8($pop284) - i32.store8 $drop=, dst+8($pop285), $pop43 - i32.const $push283=, 0 - i32.const $push282=, 0 - i64.load $push44=, src($pop282) - i64.store $drop=, dst($pop283), $pop44 - i32.const $push281=, dst - i32.const $push280=, src - i32.const $push45=, 9 - i32.call $push46=, memcmp@FUNCTION, $pop281, $pop280, $pop45 - br_if 0, $pop46 # 0: down to label3 -# BB#8: # %check.exit200 - i32.const $push291=, 0 - i64.load $1=, src($pop291) - i32.const $push290=, 0 - i32.const $push289=, 0 - i32.load16_u $push47=, src+8($pop289) - i32.store16 $drop=, dst+8($pop290), $pop47 - i32.const $push288=, 0 - i64.store $drop=, dst($pop288), $1 - i32.const $push287=, dst - i32.const $push286=, src - i32.const $push48=, 10 - i32.call $push49=, memcmp@FUNCTION, $pop287, $pop286, $pop48 - br_if 0, $pop49 # 0: down to label3 -# BB#9: # %check.exit204 - i32.const $push299=, 0 - i32.load16_u $4=, src+8($pop299) - i32.const $push298=, 0 - i32.const $push297=, 0 - i32.load8_u $push50=, src+10($pop297) - i32.store8 $drop=, dst+10($pop298), $pop50 - i32.const $push296=, 0 - i32.store16 $drop=, dst+8($pop296), $4 - i32.const $push295=, 0 - i32.const $push294=, 0 - i64.load $push51=, src($pop294) - i64.store $drop=, dst($pop295), $pop51 - i32.const $push293=, dst - i32.const $push292=, src - i32.const $push52=, 11 - i32.call $push53=, memcmp@FUNCTION, $pop293, $pop292, $pop52 - br_if 0, $pop53 # 0: down to label3 -# BB#10: # %check.exit208 - i32.const $push305=, 0 - i64.load $1=, src($pop305) - i32.const $push304=, 0 - i32.const $push303=, 0 - i32.load $push54=, src+8($pop303) - i32.store $drop=, dst+8($pop304), $pop54 - i32.const $push302=, 0 - i64.store $drop=, dst($pop302), $1 - i32.const $push301=, dst - i32.const $push300=, src - i32.const $push55=, 12 - i32.call $push56=, memcmp@FUNCTION, $pop301, $pop300, $pop55 - br_if 0, $pop56 # 0: down to label3 -# BB#11: # %check.exit212 - i32.const $push313=, 0 - i32.load $4=, src+8($pop313) - i32.const $push312=, 0 i32.const $push311=, 0 - i32.load8_u $push57=, src+12($pop311) - i32.store8 $drop=, dst+12($pop312), $pop57 i32.const $push310=, 0 - i32.store $drop=, dst+8($pop310), $4 + i32.load8_u $push29=, src+2($pop310) + i32.store8 $drop=, dst+2($pop311), $pop29 i32.const $push309=, 0 i32.const $push308=, 0 - i64.load $push58=, src($pop308) - i64.store $drop=, dst($pop309), $pop58 + i32.load16_u $push30=, src($pop308) + i32.store16 $drop=, dst($pop309), $pop30 i32.const $push307=, dst i32.const $push306=, src - i32.const $push59=, 13 - i32.call $push60=, memcmp@FUNCTION, $pop307, $pop306, $pop59 - br_if 0, $pop60 # 0: down to label3 -# BB#12: # %check.exit216 - i32.const $push321=, 0 - i32.load $4=, src+8($pop321) - i32.const $push320=, 0 - i64.load $1=, src($pop320) - i32.const $push319=, 0 - i32.const $push318=, 0 - i32.load16_u $push61=, src+12($pop318) - i32.store16 $drop=, dst+12($pop319), $pop61 + i32.const $push31=, 3 + i32.call $push32=, memcmp@FUNCTION, $pop307, $pop306, $pop31 + br_if 0, $pop32 # 0: down to label3 +# BB#4: # %check.exit176 i32.const $push317=, 0 - i32.store $drop=, dst+8($pop317), $4 i32.const $push316=, 0 - i64.store $drop=, dst($pop316), $1 - i32.const $push315=, dst - i32.const $push314=, src - i32.const $push62=, 14 - i32.call $push63=, memcmp@FUNCTION, $pop315, $pop314, $pop62 - br_if 0, $pop63 # 0: down to label3 -# BB#13: # %check.exit220 + i32.load8_u $push33=, src+4($pop316) + i32.store8 $drop=, dst+4($pop317), $pop33 + i32.const $push315=, 0 + i32.const $push314=, 0 + i32.load $push34=, src($pop314) + i32.store $drop=, dst($pop315), $pop34 + i32.const $push313=, dst + i32.const $push312=, src + i32.const $push35=, 5 + i32.call $push36=, memcmp@FUNCTION, $pop313, $pop312, $pop35 + br_if 0, $pop36 # 0: down to label3 +# BB#5: # %check.exit184 + i32.const $push323=, 0 + i32.const $push322=, 0 + i32.load16_u $push37=, src+4($pop322) + i32.store16 $drop=, dst+4($pop323), $pop37 + i32.const $push321=, 0 + i32.const $push320=, 0 + i32.load $push38=, src($pop320) + i32.store $drop=, dst($pop321), $pop38 + i32.const $push319=, dst + i32.const $push318=, src + i32.const $push39=, 6 + i32.call $push40=, memcmp@FUNCTION, $pop319, $pop318, $pop39 + br_if 0, $pop40 # 0: down to label3 +# BB#6: # %check.exit188 i32.const $push331=, 0 - i32.load16_u $4=, src+12($pop331) i32.const $push330=, 0 - i32.load $0=, src+8($pop330) + i32.load8_u $push41=, src+6($pop330) + i32.store8 $drop=, dst+6($pop331), $pop41 i32.const $push329=, 0 i32.const $push328=, 0 - i32.load8_u $push64=, src+14($pop328) - i32.store8 $drop=, dst+14($pop329), $pop64 + i32.load16_u $push42=, src+4($pop328) + i32.store16 $drop=, dst+4($pop329), $pop42 i32.const $push327=, 0 - i32.store16 $drop=, dst+12($pop327), $4 i32.const $push326=, 0 - i32.store $drop=, dst+8($pop326), $0 - i32.const $push325=, 0 - i32.const $push324=, 0 - i64.load $push65=, src($pop324) - i64.store $drop=, dst($pop325), $pop65 - i32.const $push323=, dst - i32.const $push322=, src - i32.const $push66=, 15 - i32.call $push67=, memcmp@FUNCTION, $pop323, $pop322, $pop66 - br_if 0, $pop67 # 0: down to label3 -# BB#14: # %check.exit224 + i32.load $push43=, src($pop326) + i32.store $drop=, dst($pop327), $pop43 + i32.const $push325=, dst + i32.const $push324=, src + i32.const $push44=, 7 + i32.call $push45=, memcmp@FUNCTION, $pop325, $pop324, $pop44 + br_if 0, $pop45 # 0: down to label3 +# BB#7: # %check.exit192 i32.const $push337=, 0 - i64.load $1=, src($pop337) i32.const $push336=, 0 + i32.load8_u $push46=, src+8($pop336) + i32.store8 $drop=, dst+8($pop337), $pop46 i32.const $push335=, 0 - i64.load $push68=, src+8($pop335) - i64.store $drop=, dst+8($pop336), $pop68 i32.const $push334=, 0 - i64.store $drop=, dst($pop334), $1 + i64.load $push47=, src($pop334) + i64.store $drop=, dst($pop335), $pop47 i32.const $push333=, dst i32.const $push332=, src - i32.const $push69=, 16 - i32.call $push70=, memcmp@FUNCTION, $pop333, $pop332, $pop69 - br_if 0, $pop70 # 0: down to label3 -# BB#15: # %check.exit228 - i32.const $push345=, 0 - i64.load $1=, src+8($pop345) - i32.const $push344=, 0 + i32.const $push48=, 9 + i32.call $push49=, memcmp@FUNCTION, $pop333, $pop332, $pop48 + br_if 0, $pop49 # 0: down to label3 +# BB#8: # %check.exit200 i32.const $push343=, 0 - i32.load8_u $push71=, src+16($pop343) - i32.store8 $drop=, dst+16($pop344), $pop71 i32.const $push342=, 0 - i64.store $drop=, dst+8($pop342), $1 + i32.load16_u $push50=, src+8($pop342) + i32.store16 $drop=, dst+8($pop343), $pop50 i32.const $push341=, 0 i32.const $push340=, 0 - i64.load $push72=, src($pop340) - i64.store $drop=, dst($pop341), $pop72 + i64.load $push51=, src($pop340) + i64.store $drop=, dst($pop341), $pop51 i32.const $push339=, dst i32.const $push338=, src - i32.const $push73=, 17 - i32.call $push74=, memcmp@FUNCTION, $pop339, $pop338, $pop73 - br_if 0, $pop74 # 0: down to label3 -# BB#16: # %check.exit232 - i32.const $push353=, 0 - i64.load $1=, src+8($pop353) - i32.const $push352=, 0 - i64.load $2=, src($pop352) + i32.const $push52=, 10 + i32.call $push53=, memcmp@FUNCTION, $pop339, $pop338, $pop52 + br_if 0, $pop53 # 0: down to label3 +# BB#9: # %check.exit204 i32.const $push351=, 0 i32.const $push350=, 0 - i32.load16_u $push75=, src+16($pop350) - i32.store16 $drop=, dst+16($pop351), $pop75 + i32.load8_u $push54=, src+10($pop350) + i32.store8 $drop=, dst+10($pop351), $pop54 i32.const $push349=, 0 - i64.store $drop=, dst+8($pop349), $1 i32.const $push348=, 0 - i64.store $drop=, dst($pop348), $2 - i32.const $push347=, dst - i32.const $push346=, src - i32.const $push76=, 18 - i32.call $push77=, memcmp@FUNCTION, $pop347, $pop346, $pop76 - br_if 0, $pop77 # 0: down to label3 -# BB#17: # %check.exit236 + i32.load16_u $push55=, src+8($pop348) + i32.store16 $drop=, dst+8($pop349), $pop55 + i32.const $push347=, 0 + i32.const $push346=, 0 + i64.load $push56=, src($pop346) + i64.store $drop=, dst($pop347), $pop56 + i32.const $push345=, dst + i32.const $push344=, src + i32.const $push57=, 11 + i32.call $push58=, memcmp@FUNCTION, $pop345, $pop344, $pop57 + br_if 0, $pop58 # 0: down to label3 +# BB#10: # %check.exit208 + i32.const $push357=, 0 + i32.const $push356=, 0 + i32.load $push59=, src+8($pop356) + i32.store $drop=, dst+8($pop357), $pop59 + i32.const $push355=, 0 + i32.const $push354=, 0 + i64.load $push60=, src($pop354) + i64.store $drop=, dst($pop355), $pop60 + i32.const $push353=, dst + i32.const $push352=, src + i32.const $push61=, 12 + i32.call $push62=, memcmp@FUNCTION, $pop353, $pop352, $pop61 + br_if 0, $pop62 # 0: down to label3 +# BB#11: # %check.exit212 + i32.const $push365=, 0 + i32.const $push364=, 0 + i32.load8_u $push63=, src+12($pop364) + i32.store8 $drop=, dst+12($pop365), $pop63 i32.const $push363=, 0 - i32.load16_u $4=, src+16($pop363) i32.const $push362=, 0 - i64.load $1=, src+8($pop362) + i32.load $push64=, src+8($pop362) + i32.store $drop=, dst+8($pop363), $pop64 i32.const $push361=, 0 i32.const $push360=, 0 - i32.load8_u $push78=, src+18($pop360) - i32.store8 $drop=, dst+18($pop361), $pop78 - i32.const $push359=, 0 - i32.store16 $drop=, dst+16($pop359), $4 - i32.const $push358=, 0 - i64.store $drop=, dst+8($pop358), $1 - i32.const $push357=, 0 - i32.const $push356=, 0 - i64.load $push79=, src($pop356) - i64.store $drop=, dst($pop357), $pop79 - i32.const $push355=, dst - i32.const $push354=, src - i32.const $push80=, 19 - i32.call $push81=, memcmp@FUNCTION, $pop355, $pop354, $pop80 - br_if 0, $pop81 # 0: down to label3 -# BB#18: # %check.exit240 + i64.load $push65=, src($pop360) + i64.store $drop=, dst($pop361), $pop65 + i32.const $push359=, dst + i32.const $push358=, src + i32.const $push66=, 13 + i32.call $push67=, memcmp@FUNCTION, $pop359, $pop358, $pop66 + br_if 0, $pop67 # 0: down to label3 +# BB#12: # %check.exit216 + i32.const $push373=, 0 + i32.const $push372=, 0 + i32.load16_u $push68=, src+12($pop372) + i32.store16 $drop=, dst+12($pop373), $pop68 i32.const $push371=, 0 - i64.load $1=, src+8($pop371) i32.const $push370=, 0 - i64.load $2=, src($pop370) + i32.load $push69=, src+8($pop370) + i32.store $drop=, dst+8($pop371), $pop69 i32.const $push369=, 0 i32.const $push368=, 0 - i32.load $push82=, src+16($pop368) - i32.store $drop=, dst+16($pop369), $pop82 - i32.const $push367=, 0 - i64.store $drop=, dst+8($pop367), $1 - i32.const $push366=, 0 - i64.store $drop=, dst($pop366), $2 - i32.const $push365=, dst - i32.const $push364=, src - i32.const $push83=, 20 - i32.call $push84=, memcmp@FUNCTION, $pop365, $pop364, $pop83 - br_if 0, $pop84 # 0: down to label3 -# BB#19: # %check.exit244 + i64.load $push70=, src($pop368) + i64.store $drop=, dst($pop369), $pop70 + i32.const $push367=, dst + i32.const $push366=, src + i32.const $push71=, 14 + i32.call $push72=, memcmp@FUNCTION, $pop367, $pop366, $pop71 + br_if 0, $pop72 # 0: down to label3 +# BB#13: # %check.exit220 + i32.const $push383=, 0 + i32.const $push382=, 0 + i32.load8_u $push73=, src+14($pop382) + i32.store8 $drop=, dst+14($pop383), $pop73 i32.const $push381=, 0 - i32.load $4=, src+16($pop381) i32.const $push380=, 0 - i64.load $1=, src+8($pop380) + i32.load16_u $push74=, src+12($pop380) + i32.store16 $drop=, dst+12($pop381), $pop74 i32.const $push379=, 0 i32.const $push378=, 0 - i32.load8_u $push85=, src+20($pop378) - i32.store8 $drop=, dst+20($pop379), $pop85 + i32.load $push75=, src+8($pop378) + i32.store $drop=, dst+8($pop379), $pop75 i32.const $push377=, 0 - i32.store $drop=, dst+16($pop377), $4 i32.const $push376=, 0 - i64.store $drop=, dst+8($pop376), $1 - i32.const $push375=, 0 - i32.const $push374=, 0 - i64.load $push86=, src($pop374) - i64.store $drop=, dst($pop375), $pop86 - i32.const $push373=, dst - i32.const $push372=, src - i32.const $push87=, 21 - i32.call $push88=, memcmp@FUNCTION, $pop373, $pop372, $pop87 - br_if 0, $pop88 # 0: down to label3 -# BB#20: # %check.exit248 - i32.const $push391=, 0 - i32.load $4=, src+16($pop391) - i32.const $push390=, 0 - i64.load $1=, src+8($pop390) + i64.load $push76=, src($pop376) + i64.store $drop=, dst($pop377), $pop76 + i32.const $push375=, dst + i32.const $push374=, src + i32.const $push77=, 15 + i32.call $push78=, memcmp@FUNCTION, $pop375, $pop374, $pop77 + br_if 0, $pop78 # 0: down to label3 +# BB#14: # %check.exit224 i32.const $push389=, 0 i32.const $push388=, 0 - i32.load16_u $push89=, src+20($pop388) - i32.store16 $drop=, dst+20($pop389), $pop89 + i64.load $push79=, src+8($pop388) + i64.store $drop=, dst+8($pop389), $pop79 i32.const $push387=, 0 - i64.load $2=, src($pop387) i32.const $push386=, 0 - i32.store $drop=, dst+16($pop386), $4 - i32.const $push385=, 0 - i64.store $drop=, dst+8($pop385), $1 - i32.const $push384=, 0 - i64.store $drop=, dst($pop384), $2 - i32.const $push383=, dst - i32.const $push382=, src - i32.const $push90=, 22 - i32.call $push91=, memcmp@FUNCTION, $pop383, $pop382, $pop90 - br_if 0, $pop91 # 0: down to label3 -# BB#21: # %check.exit252 - i32.const $push403=, 0 - i32.load16_u $4=, src+20($pop403) - i32.const $push402=, 0 - i32.load $0=, src+16($pop402) - i32.const $push401=, 0 - i64.load $1=, src+8($pop401) - i32.const $push400=, 0 - i32.const $push399=, 0 - i32.load8_u $push92=, src+22($pop399) - i32.store8 $drop=, dst+22($pop400), $pop92 - i32.const $push398=, 0 - i32.store16 $drop=, dst+20($pop398), $4 + i64.load $push80=, src($pop386) + i64.store $drop=, dst($pop387), $pop80 + i32.const $push385=, dst + i32.const $push384=, src + i32.const $push81=, 16 + i32.call $push82=, memcmp@FUNCTION, $pop385, $pop384, $pop81 + br_if 0, $pop82 # 0: down to label3 +# BB#15: # %check.exit228 i32.const $push397=, 0 - i32.store $drop=, dst+16($pop397), $0 i32.const $push396=, 0 - i64.store $drop=, dst+8($pop396), $1 + i32.load8_u $push83=, src+16($pop396) + i32.store8 $drop=, dst+16($pop397), $pop83 i32.const $push395=, 0 i32.const $push394=, 0 - i64.load $push93=, src($pop394) - i64.store $drop=, dst($pop395), $pop93 - i32.const $push393=, dst - i32.const $push392=, src - i32.const $push94=, 23 - i32.call $push95=, memcmp@FUNCTION, $pop393, $pop392, $pop94 - br_if 0, $pop95 # 0: down to label3 -# BB#22: # %check.exit256 + i64.load $push84=, src+8($pop394) + i64.store $drop=, dst+8($pop395), $pop84 + i32.const $push393=, 0 + i32.const $push392=, 0 + i64.load $push85=, src($pop392) + i64.store $drop=, dst($pop393), $pop85 + i32.const $push391=, dst + i32.const $push390=, src + i32.const $push86=, 17 + i32.call $push87=, memcmp@FUNCTION, $pop391, $pop390, $pop86 + br_if 0, $pop87 # 0: down to label3 +# BB#16: # %check.exit232 + i32.const $push405=, 0 + i32.const $push404=, 0 + i32.load16_u $push88=, src+16($pop404) + i32.store16 $drop=, dst+16($pop405), $pop88 + i32.const $push403=, 0 + i32.const $push402=, 0 + i64.load $push89=, src+8($pop402) + i64.store $drop=, dst+8($pop403), $pop89 + i32.const $push401=, 0 + i32.const $push400=, 0 + i64.load $push90=, src($pop400) + i64.store $drop=, dst($pop401), $pop90 + i32.const $push399=, dst + i32.const $push398=, src + i32.const $push91=, 18 + i32.call $push92=, memcmp@FUNCTION, $pop399, $pop398, $pop91 + br_if 0, $pop92 # 0: down to label3 +# BB#17: # %check.exit236 + i32.const $push415=, 0 + i32.const $push414=, 0 + i32.load8_u $push93=, src+18($pop414) + i32.store8 $drop=, dst+18($pop415), $pop93 + i32.const $push413=, 0 + i32.const $push412=, 0 + i32.load16_u $push94=, src+16($pop412) + i32.store16 $drop=, dst+16($pop413), $pop94 i32.const $push411=, 0 - i64.load $1=, src+8($pop411) i32.const $push410=, 0 - i64.load $2=, src($pop410) + i64.load $push95=, src+8($pop410) + i64.store $drop=, dst+8($pop411), $pop95 i32.const $push409=, 0 i32.const $push408=, 0 - i64.load $push96=, src+16($pop408) - i64.store $drop=, dst+16($pop409), $pop96 - i32.const $push407=, 0 - i64.store $drop=, dst+8($pop407), $1 - i32.const $push406=, 0 - i64.store $drop=, dst($pop406), $2 - i32.const $push405=, dst - i32.const $push404=, src - i32.const $push97=, 24 - i32.call $push98=, memcmp@FUNCTION, $pop405, $pop404, $pop97 + i64.load $push96=, src($pop408) + i64.store $drop=, dst($pop409), $pop96 + i32.const $push407=, dst + i32.const $push406=, src + i32.const $push97=, 19 + i32.call $push98=, memcmp@FUNCTION, $pop407, $pop406, $pop97 br_if 0, $pop98 # 0: down to label3 -# BB#23: # %check.exit260 +# BB#18: # %check.exit240 + i32.const $push423=, 0 + i32.const $push422=, 0 + i32.load $push99=, src+16($pop422) + i32.store $drop=, dst+16($pop423), $pop99 i32.const $push421=, 0 - i64.load $1=, src+16($pop421) i32.const $push420=, 0 - i64.load $2=, src+8($pop420) + i64.load $push100=, src+8($pop420) + i64.store $drop=, dst+8($pop421), $pop100 i32.const $push419=, 0 i32.const $push418=, 0 - i32.load8_u $push99=, src+24($pop418) - i32.store8 $drop=, dst+24($pop419), $pop99 - i32.const $push417=, 0 - i64.store $drop=, dst+16($pop417), $1 - i32.const $push416=, 0 - i64.store $drop=, dst+8($pop416), $2 - i32.const $push415=, 0 - i32.const $push414=, 0 - i64.load $push100=, src($pop414) - i64.store $drop=, dst($pop415), $pop100 - i32.const $push413=, dst - i32.const $push412=, src - i32.const $push101=, 25 - i32.call $push102=, memcmp@FUNCTION, $pop413, $pop412, $pop101 - br_if 0, $pop102 # 0: down to label3 -# BB#24: # %check.exit264 + i64.load $push101=, src($pop418) + i64.store $drop=, dst($pop419), $pop101 + i32.const $push417=, dst + i32.const $push416=, src + i32.const $push102=, 20 + i32.call $push103=, memcmp@FUNCTION, $pop417, $pop416, $pop102 + br_if 0, $pop103 # 0: down to label3 +# BB#19: # %check.exit244 + i32.const $push433=, 0 + i32.const $push432=, 0 + i32.load8_u $push104=, src+20($pop432) + i32.store8 $drop=, dst+20($pop433), $pop104 i32.const $push431=, 0 - i64.load $1=, src+16($pop431) i32.const $push430=, 0 - i64.load $2=, src+8($pop430) + i32.load $push105=, src+16($pop430) + i32.store $drop=, dst+16($pop431), $pop105 i32.const $push429=, 0 i32.const $push428=, 0 - i32.load16_u $push103=, src+24($pop428) - i32.store16 $drop=, dst+24($pop429), $pop103 + i64.load $push106=, src+8($pop428) + i64.store $drop=, dst+8($pop429), $pop106 i32.const $push427=, 0 - i64.load $3=, src($pop427) i32.const $push426=, 0 - i64.store $drop=, dst+16($pop426), $1 - i32.const $push425=, 0 - i64.store $drop=, dst+8($pop425), $2 - i32.const $push424=, 0 - i64.store $drop=, dst($pop424), $3 - i32.const $push423=, dst - i32.const $push422=, src - i32.const $push104=, 26 - i32.call $push105=, memcmp@FUNCTION, $pop423, $pop422, $pop104 - br_if 0, $pop105 # 0: down to label3 -# BB#25: # %check.exit268 + i64.load $push107=, src($pop426) + i64.store $drop=, dst($pop427), $pop107 + i32.const $push425=, dst + i32.const $push424=, src + i32.const $push108=, 21 + i32.call $push109=, memcmp@FUNCTION, $pop425, $pop424, $pop108 + br_if 0, $pop109 # 0: down to label3 +# BB#20: # %check.exit248 i32.const $push443=, 0 - i32.load16_u $4=, src+24($pop443) i32.const $push442=, 0 - i64.load $1=, src+16($pop442) + i32.load16_u $push110=, src+20($pop442) + i32.store16 $drop=, dst+20($pop443), $pop110 i32.const $push441=, 0 - i64.load $2=, src+8($pop441) i32.const $push440=, 0 + i32.load $push111=, src+16($pop440) + i32.store $drop=, dst+16($pop441), $pop111 i32.const $push439=, 0 - i32.load8_u $push106=, src+26($pop439) - i32.store8 $drop=, dst+26($pop440), $pop106 i32.const $push438=, 0 - i32.store16 $drop=, dst+24($pop438), $4 + i64.load $push112=, src+8($pop438) + i64.store $drop=, dst+8($pop439), $pop112 i32.const $push437=, 0 - i64.store $drop=, dst+16($pop437), $1 i32.const $push436=, 0 - i64.store $drop=, dst+8($pop436), $2 - i32.const $push435=, 0 - i32.const $push434=, 0 - i64.load $push107=, src($pop434) - i64.store $drop=, dst($pop435), $pop107 - i32.const $push433=, dst - i32.const $push432=, src - i32.const $push108=, 27 - i32.call $push109=, memcmp@FUNCTION, $pop433, $pop432, $pop108 - br_if 0, $pop109 # 0: down to label3 -# BB#26: # %check.exit272 + i64.load $push113=, src($pop436) + i64.store $drop=, dst($pop437), $pop113 + i32.const $push435=, dst + i32.const $push434=, src + i32.const $push114=, 22 + i32.call $push115=, memcmp@FUNCTION, $pop435, $pop434, $pop114 + br_if 0, $pop115 # 0: down to label3 +# BB#21: # %check.exit252 + i32.const $push455=, 0 + i32.const $push454=, 0 + i32.load8_u $push116=, src+22($pop454) + i32.store8 $drop=, dst+22($pop455), $pop116 i32.const $push453=, 0 - i64.load $1=, src+16($pop453) i32.const $push452=, 0 - i64.load $2=, src+8($pop452) + i32.load16_u $push117=, src+20($pop452) + i32.store16 $drop=, dst+20($pop453), $pop117 i32.const $push451=, 0 i32.const $push450=, 0 - i32.load $push110=, src+24($pop450) - i32.store $drop=, dst+24($pop451), $pop110 + i32.load $push118=, src+16($pop450) + i32.store $drop=, dst+16($pop451), $pop118 i32.const $push449=, 0 - i64.load $3=, src($pop449) i32.const $push448=, 0 - i64.store $drop=, dst+16($pop448), $1 + i64.load $push119=, src+8($pop448) + i64.store $drop=, dst+8($pop449), $pop119 i32.const $push447=, 0 - i64.store $drop=, dst+8($pop447), $2 i32.const $push446=, 0 - i64.store $drop=, dst($pop446), $3 + i64.load $push120=, src($pop446) + i64.store $drop=, dst($pop447), $pop120 i32.const $push445=, dst i32.const $push444=, src - i32.const $push111=, 28 - i32.call $push112=, memcmp@FUNCTION, $pop445, $pop444, $pop111 - br_if 0, $pop112 # 0: down to label3 -# BB#27: # %check.exit276 - i32.const $push465=, 0 - i32.load $4=, src+24($pop465) - i32.const $push464=, 0 - i64.load $1=, src+16($pop464) + i32.const $push121=, 23 + i32.call $push122=, memcmp@FUNCTION, $pop445, $pop444, $pop121 + br_if 0, $pop122 # 0: down to label3 +# BB#22: # %check.exit256 i32.const $push463=, 0 - i64.load $2=, src+8($pop463) i32.const $push462=, 0 + i64.load $push123=, src+16($pop462) + i64.store $drop=, dst+16($pop463), $pop123 i32.const $push461=, 0 - i32.load8_u $push113=, src+28($pop461) - i32.store8 $drop=, dst+28($pop462), $pop113 i32.const $push460=, 0 - i32.store $drop=, dst+24($pop460), $4 + i64.load $push124=, src+8($pop460) + i64.store $drop=, dst+8($pop461), $pop124 i32.const $push459=, 0 - i64.store $drop=, dst+16($pop459), $1 i32.const $push458=, 0 - i64.store $drop=, dst+8($pop458), $2 - i32.const $push457=, 0 - i32.const $push456=, 0 - i64.load $push114=, src($pop456) - i64.store $drop=, dst($pop457), $pop114 - i32.const $push455=, dst - i32.const $push454=, src - i32.const $push115=, 29 - i32.call $push116=, memcmp@FUNCTION, $pop455, $pop454, $pop115 - br_if 0, $pop116 # 0: down to label3 -# BB#28: # %check.exit280 - i32.const $push117=, 0 - i32.load $4=, src+24($pop117) - i32.const $push476=, 0 - i32.const $push475=, 0 - i32.load16_u $push118=, src+28($pop475) - i32.store16 $drop=, dst+28($pop476), $pop118 - i32.const $push474=, 0 - i64.load $1=, src+16($pop474) + i64.load $push125=, src($pop458) + i64.store $drop=, dst($pop459), $pop125 + i32.const $push457=, dst + i32.const $push456=, src + i32.const $push126=, 24 + i32.call $push127=, memcmp@FUNCTION, $pop457, $pop456, $pop126 + br_if 0, $pop127 # 0: down to label3 +# BB#23: # %check.exit260 i32.const $push473=, 0 - i64.load $2=, src+8($pop473) i32.const $push472=, 0 - i32.store $drop=, dst+24($pop472), $4 + i32.load8_u $push128=, src+24($pop472) + i32.store8 $drop=, dst+24($pop473), $pop128 i32.const $push471=, 0 - i64.load $3=, src($pop471) i32.const $push470=, 0 - i64.store $drop=, dst+16($pop470), $1 + i64.load $push129=, src+16($pop470) + i64.store $drop=, dst+16($pop471), $pop129 i32.const $push469=, 0 - i64.store $drop=, dst+8($pop469), $2 i32.const $push468=, 0 - i64.store $drop=, dst($pop468), $3 - i32.const $push467=, dst - i32.const $push466=, src - i32.const $push119=, 30 - i32.call $push120=, memcmp@FUNCTION, $pop467, $pop466, $pop119 - br_if 0, $pop120 # 0: down to label3 -# BB#29: # %check.exit284 - i32.const $push121=, dst - i32.const $push481=, src - i32.const $push122=, 31 - i32.call $push480=, memcpy@FUNCTION, $pop121, $pop481, $pop122 - tee_local $push479=, $4=, $pop480 - i32.const $push478=, src - i32.const $push477=, 31 - i32.call $push123=, memcmp@FUNCTION, $pop479, $pop478, $pop477 - br_if 0, $pop123 # 0: down to label3 -# BB#30: # %check.exit288 - i32.const $push124=, 0 - i64.load $1=, src+16($pop124) + i64.load $push130=, src+8($pop468) + i64.store $drop=, dst+8($pop469), $pop130 + i32.const $push467=, 0 + i32.const $push466=, 0 + i64.load $push131=, src($pop466) + i64.store $drop=, dst($pop467), $pop131 + i32.const $push465=, dst + i32.const $push464=, src + i32.const $push132=, 25 + i32.call $push133=, memcmp@FUNCTION, $pop465, $pop464, $pop132 + br_if 0, $pop133 # 0: down to label3 +# BB#24: # %check.exit264 + i32.const $push483=, 0 + i32.const $push482=, 0 + i32.load16_u $push134=, src+24($pop482) + i32.store16 $drop=, dst+24($pop483), $pop134 + i32.const $push481=, 0 + i32.const $push480=, 0 + i64.load $push135=, src+16($pop480) + i64.store $drop=, dst+16($pop481), $pop135 + i32.const $push479=, 0 + i32.const $push478=, 0 + i64.load $push136=, src+8($pop478) + i64.store $drop=, dst+8($pop479), $pop136 + i32.const $push477=, 0 + i32.const $push476=, 0 + i64.load $push137=, src($pop476) + i64.store $drop=, dst($pop477), $pop137 + i32.const $push475=, dst + i32.const $push474=, src + i32.const $push138=, 26 + i32.call $push139=, memcmp@FUNCTION, $pop475, $pop474, $pop138 + br_if 0, $pop139 # 0: down to label3 +# BB#25: # %check.exit268 + i32.const $push495=, 0 + i32.const $push494=, 0 + i32.load8_u $push140=, src+26($pop494) + i32.store8 $drop=, dst+26($pop495), $pop140 + i32.const $push493=, 0 + i32.const $push492=, 0 + i32.load16_u $push141=, src+24($pop492) + i32.store16 $drop=, dst+24($pop493), $pop141 + i32.const $push491=, 0 + i32.const $push490=, 0 + i64.load $push142=, src+16($pop490) + i64.store $drop=, dst+16($pop491), $pop142 i32.const $push489=, 0 - i64.load $2=, src+8($pop489) i32.const $push488=, 0 + i64.load $push143=, src+8($pop488) + i64.store $drop=, dst+8($pop489), $pop143 i32.const $push487=, 0 - i64.load $push125=, src+24($pop487) - i64.store $drop=, dst+24($pop488), $pop125 i32.const $push486=, 0 - i64.load $3=, src($pop486) - i32.const $push485=, 0 - i64.store $drop=, dst+16($pop485), $1 - i32.const $push484=, 0 - i64.store $drop=, dst+8($pop484), $2 - i32.const $push483=, 0 - i64.store $drop=, dst($pop483), $3 - i32.const $push482=, src - i32.const $push126=, 32 - i32.call $push127=, memcmp@FUNCTION, $4, $pop482, $pop126 - br_if 0, $pop127 # 0: down to label3 + i64.load $push144=, src($pop486) + i64.store $drop=, dst($pop487), $pop144 + i32.const $push485=, dst + i32.const $push484=, src + i32.const $push145=, 27 + i32.call $push146=, memcmp@FUNCTION, $pop485, $pop484, $pop145 + br_if 0, $pop146 # 0: down to label3 +# BB#26: # %check.exit272 + i32.const $push505=, 0 + i32.const $push504=, 0 + i32.load $push147=, src+24($pop504) + i32.store $drop=, dst+24($pop505), $pop147 + i32.const $push503=, 0 + i32.const $push502=, 0 + i64.load $push148=, src+16($pop502) + i64.store $drop=, dst+16($pop503), $pop148 + i32.const $push501=, 0 + i32.const $push500=, 0 + i64.load $push149=, src+8($pop500) + i64.store $drop=, dst+8($pop501), $pop149 + i32.const $push499=, 0 + i32.const $push498=, 0 + i64.load $push150=, src($pop498) + i64.store $drop=, dst($pop499), $pop150 + i32.const $push497=, dst + i32.const $push496=, src + i32.const $push151=, 28 + i32.call $push152=, memcmp@FUNCTION, $pop497, $pop496, $pop151 + br_if 0, $pop152 # 0: down to label3 +# BB#27: # %check.exit276 + i32.const $push517=, 0 + i32.const $push516=, 0 + i32.load8_u $push153=, src+28($pop516) + i32.store8 $drop=, dst+28($pop517), $pop153 + i32.const $push515=, 0 + i32.const $push514=, 0 + i32.load $push154=, src+24($pop514) + i32.store $drop=, dst+24($pop515), $pop154 + i32.const $push513=, 0 + i32.const $push512=, 0 + i64.load $push155=, src+16($pop512) + i64.store $drop=, dst+16($pop513), $pop155 + i32.const $push511=, 0 + i32.const $push510=, 0 + i64.load $push156=, src+8($pop510) + i64.store $drop=, dst+8($pop511), $pop156 + i32.const $push509=, 0 + i32.const $push508=, 0 + i64.load $push157=, src($pop508) + i64.store $drop=, dst($pop509), $pop157 + i32.const $push507=, dst + i32.const $push506=, src + i32.const $push158=, 29 + i32.call $push159=, memcmp@FUNCTION, $pop507, $pop506, $pop158 + br_if 0, $pop159 # 0: down to label3 +# BB#28: # %check.exit280 + i32.const $push160=, 0 + i32.const $push528=, 0 + i32.load16_u $push161=, src+28($pop528) + i32.store16 $drop=, dst+28($pop160), $pop161 + i32.const $push527=, 0 + i32.const $push526=, 0 + i32.load $push162=, src+24($pop526) + i32.store $drop=, dst+24($pop527), $pop162 + i32.const $push525=, 0 + i32.const $push524=, 0 + i64.load $push163=, src+16($pop524) + i64.store $drop=, dst+16($pop525), $pop163 + i32.const $push523=, 0 + i32.const $push522=, 0 + i64.load $push164=, src+8($pop522) + i64.store $drop=, dst+8($pop523), $pop164 + i32.const $push521=, 0 + i32.const $push520=, 0 + i64.load $push165=, src($pop520) + i64.store $drop=, dst($pop521), $pop165 + i32.const $push519=, dst + i32.const $push518=, src + i32.const $push166=, 30 + i32.call $push167=, memcmp@FUNCTION, $pop519, $pop518, $pop166 + br_if 0, $pop167 # 0: down to label3 +# BB#29: # %check.exit284 + i32.const $push169=, dst + i32.const $push533=, src + i32.const $push168=, 31 + i32.call $push532=, memcpy@FUNCTION, $pop169, $pop533, $pop168 + tee_local $push531=, $0=, $pop532 + i32.const $push530=, src + i32.const $push529=, 31 + i32.call $push170=, memcmp@FUNCTION, $pop531, $pop530, $pop529 + br_if 0, $pop170 # 0: down to label3 +# BB#30: # %check.exit288 + i32.const $push171=, 0 + i32.const $push541=, 0 + i64.load $push172=, src+24($pop541) + i64.store $drop=, dst+24($pop171), $pop172 + i32.const $push540=, 0 + i32.const $push539=, 0 + i64.load $push173=, src+16($pop539) + i64.store $drop=, dst+16($pop540), $pop173 + i32.const $push538=, 0 + i32.const $push537=, 0 + i64.load $push174=, src+8($pop537) + i64.store $drop=, dst+8($pop538), $pop174 + i32.const $push536=, 0 + i32.const $push535=, 0 + i64.load $push175=, src($pop535) + i64.store $drop=, dst($pop536), $pop175 + i32.const $push534=, src + i32.const $push176=, 32 + i32.call $push177=, memcmp@FUNCTION, $0, $pop534, $pop176 + br_if 0, $pop177 # 0: down to label3 # BB#31: # %check.exit292 - i32.const $push128=, dst - i32.const $push494=, src - i32.const $push129=, 33 - i32.call $push493=, memcpy@FUNCTION, $pop128, $pop494, $pop129 - tee_local $push492=, $4=, $pop493 - i32.const $push491=, src - i32.const $push490=, 33 - i32.call $push130=, memcmp@FUNCTION, $pop492, $pop491, $pop490 - br_if 0, $pop130 # 0: down to label3 + i32.const $push179=, dst + i32.const $push546=, src + i32.const $push178=, 33 + i32.call $push545=, memcpy@FUNCTION, $pop179, $pop546, $pop178 + tee_local $push544=, $0=, $pop545 + i32.const $push543=, src + i32.const $push542=, 33 + i32.call $push180=, memcmp@FUNCTION, $pop544, $pop543, $pop542 + br_if 0, $pop180 # 0: down to label3 # BB#32: # %check.exit296 - i32.const $push497=, src - i32.const $push131=, 34 - i32.call $push0=, memcpy@FUNCTION, $4, $pop497, $pop131 - i32.const $push496=, src - i32.const $push495=, 34 - i32.call $push132=, memcmp@FUNCTION, $pop0, $pop496, $pop495 - br_if 0, $pop132 # 0: down to label3 + i32.const $push549=, src + i32.const $push181=, 34 + i32.call $push0=, memcpy@FUNCTION, $0, $pop549, $pop181 + i32.const $push548=, src + i32.const $push547=, 34 + i32.call $push182=, memcmp@FUNCTION, $pop0, $pop548, $pop547 + br_if 0, $pop182 # 0: down to label3 # BB#33: # %check.exit300 - i32.const $push133=, dst - i32.const $push502=, src - i32.const $push134=, 35 - i32.call $push501=, memcpy@FUNCTION, $pop133, $pop502, $pop134 - tee_local $push500=, $4=, $pop501 - i32.const $push499=, src - i32.const $push498=, 35 - i32.call $push135=, memcmp@FUNCTION, $pop500, $pop499, $pop498 - br_if 0, $pop135 # 0: down to label3 + i32.const $push184=, dst + i32.const $push554=, src + i32.const $push183=, 35 + i32.call $push553=, memcpy@FUNCTION, $pop184, $pop554, $pop183 + tee_local $push552=, $0=, $pop553 + i32.const $push551=, src + i32.const $push550=, 35 + i32.call $push185=, memcmp@FUNCTION, $pop552, $pop551, $pop550 + br_if 0, $pop185 # 0: down to label3 # BB#34: # %check.exit304 - i32.const $push505=, src - i32.const $push136=, 36 - i32.call $push1=, memcpy@FUNCTION, $4, $pop505, $pop136 - i32.const $push504=, src - i32.const $push503=, 36 - i32.call $push137=, memcmp@FUNCTION, $pop1, $pop504, $pop503 - br_if 0, $pop137 # 0: down to label3 + i32.const $push557=, src + i32.const $push186=, 36 + i32.call $push1=, memcpy@FUNCTION, $0, $pop557, $pop186 + i32.const $push556=, src + i32.const $push555=, 36 + i32.call $push187=, memcmp@FUNCTION, $pop1, $pop556, $pop555 + br_if 0, $pop187 # 0: down to label3 # BB#35: # %check.exit308 - i32.const $push138=, dst - i32.const $push510=, src - i32.const $push139=, 37 - i32.call $push509=, memcpy@FUNCTION, $pop138, $pop510, $pop139 - tee_local $push508=, $4=, $pop509 - i32.const $push507=, src - i32.const $push506=, 37 - i32.call $push140=, memcmp@FUNCTION, $pop508, $pop507, $pop506 - br_if 0, $pop140 # 0: down to label3 + i32.const $push189=, dst + i32.const $push562=, src + i32.const $push188=, 37 + i32.call $push561=, memcpy@FUNCTION, $pop189, $pop562, $pop188 + tee_local $push560=, $0=, $pop561 + i32.const $push559=, src + i32.const $push558=, 37 + i32.call $push190=, memcmp@FUNCTION, $pop560, $pop559, $pop558 + br_if 0, $pop190 # 0: down to label3 # BB#36: # %check.exit312 - i32.const $push513=, src - i32.const $push141=, 38 - i32.call $push2=, memcpy@FUNCTION, $4, $pop513, $pop141 - i32.const $push512=, src - i32.const $push511=, 38 - i32.call $push142=, memcmp@FUNCTION, $pop2, $pop512, $pop511 - br_if 0, $pop142 # 0: down to label3 + i32.const $push565=, src + i32.const $push191=, 38 + i32.call $push2=, memcpy@FUNCTION, $0, $pop565, $pop191 + i32.const $push564=, src + i32.const $push563=, 38 + i32.call $push192=, memcmp@FUNCTION, $pop2, $pop564, $pop563 + br_if 0, $pop192 # 0: down to label3 # BB#37: # %check.exit316 - i32.const $push143=, dst - i32.const $push518=, src - i32.const $push144=, 39 - i32.call $push517=, memcpy@FUNCTION, $pop143, $pop518, $pop144 - tee_local $push516=, $4=, $pop517 - i32.const $push515=, src - i32.const $push514=, 39 - i32.call $push145=, memcmp@FUNCTION, $pop516, $pop515, $pop514 - br_if 0, $pop145 # 0: down to label3 + i32.const $push194=, dst + i32.const $push570=, src + i32.const $push193=, 39 + i32.call $push569=, memcpy@FUNCTION, $pop194, $pop570, $pop193 + tee_local $push568=, $0=, $pop569 + i32.const $push567=, src + i32.const $push566=, 39 + i32.call $push195=, memcmp@FUNCTION, $pop568, $pop567, $pop566 + br_if 0, $pop195 # 0: down to label3 # BB#38: # %check.exit320 - i32.const $push521=, src - i32.const $push146=, 40 - i32.call $push3=, memcpy@FUNCTION, $4, $pop521, $pop146 - i32.const $push520=, src - i32.const $push519=, 40 - i32.call $push147=, memcmp@FUNCTION, $pop3, $pop520, $pop519 - br_if 0, $pop147 # 0: down to label3 + i32.const $push573=, src + i32.const $push196=, 40 + i32.call $push3=, memcpy@FUNCTION, $0, $pop573, $pop196 + i32.const $push572=, src + i32.const $push571=, 40 + i32.call $push197=, memcmp@FUNCTION, $pop3, $pop572, $pop571 + br_if 0, $pop197 # 0: down to label3 # BB#39: # %check.exit324 - i32.const $push148=, dst - i32.const $push526=, src - i32.const $push149=, 41 - i32.call $push525=, memcpy@FUNCTION, $pop148, $pop526, $pop149 - tee_local $push524=, $4=, $pop525 - i32.const $push523=, src - i32.const $push522=, 41 - i32.call $push150=, memcmp@FUNCTION, $pop524, $pop523, $pop522 - br_if 0, $pop150 # 0: down to label3 + i32.const $push199=, dst + i32.const $push578=, src + i32.const $push198=, 41 + i32.call $push577=, memcpy@FUNCTION, $pop199, $pop578, $pop198 + tee_local $push576=, $0=, $pop577 + i32.const $push575=, src + i32.const $push574=, 41 + i32.call $push200=, memcmp@FUNCTION, $pop576, $pop575, $pop574 + br_if 0, $pop200 # 0: down to label3 # BB#40: # %check.exit328 - i32.const $push529=, src - i32.const $push151=, 42 - i32.call $push4=, memcpy@FUNCTION, $4, $pop529, $pop151 - i32.const $push528=, src - i32.const $push527=, 42 - i32.call $push152=, memcmp@FUNCTION, $pop4, $pop528, $pop527 - br_if 0, $pop152 # 0: down to label3 + i32.const $push581=, src + i32.const $push201=, 42 + i32.call $push4=, memcpy@FUNCTION, $0, $pop581, $pop201 + i32.const $push580=, src + i32.const $push579=, 42 + i32.call $push202=, memcmp@FUNCTION, $pop4, $pop580, $pop579 + br_if 0, $pop202 # 0: down to label3 # BB#41: # %check.exit332 - i32.const $push153=, dst - i32.const $push534=, src - i32.const $push154=, 43 - i32.call $push533=, memcpy@FUNCTION, $pop153, $pop534, $pop154 - tee_local $push532=, $4=, $pop533 - i32.const $push531=, src - i32.const $push530=, 43 - i32.call $push155=, memcmp@FUNCTION, $pop532, $pop531, $pop530 - br_if 0, $pop155 # 0: down to label3 + i32.const $push204=, dst + i32.const $push586=, src + i32.const $push203=, 43 + i32.call $push585=, memcpy@FUNCTION, $pop204, $pop586, $pop203 + tee_local $push584=, $0=, $pop585 + i32.const $push583=, src + i32.const $push582=, 43 + i32.call $push205=, memcmp@FUNCTION, $pop584, $pop583, $pop582 + br_if 0, $pop205 # 0: down to label3 # BB#42: # %check.exit336 - i32.const $push537=, src - i32.const $push156=, 44 - i32.call $push5=, memcpy@FUNCTION, $4, $pop537, $pop156 - i32.const $push536=, src - i32.const $push535=, 44 - i32.call $push157=, memcmp@FUNCTION, $pop5, $pop536, $pop535 - br_if 0, $pop157 # 0: down to label3 + i32.const $push589=, src + i32.const $push206=, 44 + i32.call $push5=, memcpy@FUNCTION, $0, $pop589, $pop206 + i32.const $push588=, src + i32.const $push587=, 44 + i32.call $push207=, memcmp@FUNCTION, $pop5, $pop588, $pop587 + br_if 0, $pop207 # 0: down to label3 # BB#43: # %check.exit340 - i32.const $push158=, dst - i32.const $push542=, src - i32.const $push159=, 45 - i32.call $push541=, memcpy@FUNCTION, $pop158, $pop542, $pop159 - tee_local $push540=, $4=, $pop541 - i32.const $push539=, src - i32.const $push538=, 45 - i32.call $push160=, memcmp@FUNCTION, $pop540, $pop539, $pop538 - br_if 0, $pop160 # 0: down to label3 + i32.const $push209=, dst + i32.const $push594=, src + i32.const $push208=, 45 + i32.call $push593=, memcpy@FUNCTION, $pop209, $pop594, $pop208 + tee_local $push592=, $0=, $pop593 + i32.const $push591=, src + i32.const $push590=, 45 + i32.call $push210=, memcmp@FUNCTION, $pop592, $pop591, $pop590 + br_if 0, $pop210 # 0: down to label3 # BB#44: # %check.exit344 - i32.const $push545=, src - i32.const $push161=, 46 - i32.call $push6=, memcpy@FUNCTION, $4, $pop545, $pop161 - i32.const $push544=, src - i32.const $push543=, 46 - i32.call $push162=, memcmp@FUNCTION, $pop6, $pop544, $pop543 - br_if 0, $pop162 # 0: down to label3 + i32.const $push597=, src + i32.const $push211=, 46 + i32.call $push6=, memcpy@FUNCTION, $0, $pop597, $pop211 + i32.const $push596=, src + i32.const $push595=, 46 + i32.call $push212=, memcmp@FUNCTION, $pop6, $pop596, $pop595 + br_if 0, $pop212 # 0: down to label3 # BB#45: # %check.exit348 - i32.const $push163=, dst - i32.const $push550=, src - i32.const $push164=, 47 - i32.call $push549=, memcpy@FUNCTION, $pop163, $pop550, $pop164 - tee_local $push548=, $4=, $pop549 - i32.const $push547=, src - i32.const $push546=, 47 - i32.call $push165=, memcmp@FUNCTION, $pop548, $pop547, $pop546 - br_if 0, $pop165 # 0: down to label3 + i32.const $push214=, dst + i32.const $push602=, src + i32.const $push213=, 47 + i32.call $push601=, memcpy@FUNCTION, $pop214, $pop602, $pop213 + tee_local $push600=, $0=, $pop601 + i32.const $push599=, src + i32.const $push598=, 47 + i32.call $push215=, memcmp@FUNCTION, $pop600, $pop599, $pop598 + br_if 0, $pop215 # 0: down to label3 # BB#46: # %check.exit352 - i32.const $push553=, src - i32.const $push166=, 48 - i32.call $push7=, memcpy@FUNCTION, $4, $pop553, $pop166 - i32.const $push552=, src - i32.const $push551=, 48 - i32.call $push167=, memcmp@FUNCTION, $pop7, $pop552, $pop551 - br_if 0, $pop167 # 0: down to label3 + i32.const $push605=, src + i32.const $push216=, 48 + i32.call $push7=, memcpy@FUNCTION, $0, $pop605, $pop216 + i32.const $push604=, src + i32.const $push603=, 48 + i32.call $push217=, memcmp@FUNCTION, $pop7, $pop604, $pop603 + br_if 0, $pop217 # 0: down to label3 # BB#47: # %check.exit356 - i32.const $push168=, dst - i32.const $push558=, src - i32.const $push169=, 49 - i32.call $push557=, memcpy@FUNCTION, $pop168, $pop558, $pop169 - tee_local $push556=, $4=, $pop557 - i32.const $push555=, src - i32.const $push554=, 49 - i32.call $push170=, memcmp@FUNCTION, $pop556, $pop555, $pop554 - br_if 0, $pop170 # 0: down to label3 + i32.const $push219=, dst + i32.const $push610=, src + i32.const $push218=, 49 + i32.call $push609=, memcpy@FUNCTION, $pop219, $pop610, $pop218 + tee_local $push608=, $0=, $pop609 + i32.const $push607=, src + i32.const $push606=, 49 + i32.call $push220=, memcmp@FUNCTION, $pop608, $pop607, $pop606 + br_if 0, $pop220 # 0: down to label3 # BB#48: # %check.exit360 - i32.const $push561=, src - i32.const $push171=, 50 - i32.call $push8=, memcpy@FUNCTION, $4, $pop561, $pop171 - i32.const $push560=, src - i32.const $push559=, 50 - i32.call $push172=, memcmp@FUNCTION, $pop8, $pop560, $pop559 - br_if 0, $pop172 # 0: down to label3 + i32.const $push613=, src + i32.const $push221=, 50 + i32.call $push8=, memcpy@FUNCTION, $0, $pop613, $pop221 + i32.const $push612=, src + i32.const $push611=, 50 + i32.call $push222=, memcmp@FUNCTION, $pop8, $pop612, $pop611 + br_if 0, $pop222 # 0: down to label3 # BB#49: # %check.exit364 - i32.const $push173=, dst - i32.const $push566=, src - i32.const $push174=, 51 - i32.call $push565=, memcpy@FUNCTION, $pop173, $pop566, $pop174 - tee_local $push564=, $4=, $pop565 - i32.const $push563=, src - i32.const $push562=, 51 - i32.call $push175=, memcmp@FUNCTION, $pop564, $pop563, $pop562 - br_if 0, $pop175 # 0: down to label3 + i32.const $push224=, dst + i32.const $push618=, src + i32.const $push223=, 51 + i32.call $push617=, memcpy@FUNCTION, $pop224, $pop618, $pop223 + tee_local $push616=, $0=, $pop617 + i32.const $push615=, src + i32.const $push614=, 51 + i32.call $push225=, memcmp@FUNCTION, $pop616, $pop615, $pop614 + br_if 0, $pop225 # 0: down to label3 # BB#50: # %check.exit368 - i32.const $push569=, src - i32.const $push176=, 52 - i32.call $push9=, memcpy@FUNCTION, $4, $pop569, $pop176 - i32.const $push568=, src - i32.const $push567=, 52 - i32.call $push177=, memcmp@FUNCTION, $pop9, $pop568, $pop567 - br_if 0, $pop177 # 0: down to label3 + i32.const $push621=, src + i32.const $push226=, 52 + i32.call $push9=, memcpy@FUNCTION, $0, $pop621, $pop226 + i32.const $push620=, src + i32.const $push619=, 52 + i32.call $push227=, memcmp@FUNCTION, $pop9, $pop620, $pop619 + br_if 0, $pop227 # 0: down to label3 # BB#51: # %check.exit372 - i32.const $push178=, dst - i32.const $push574=, src - i32.const $push179=, 53 - i32.call $push573=, memcpy@FUNCTION, $pop178, $pop574, $pop179 - tee_local $push572=, $4=, $pop573 - i32.const $push571=, src - i32.const $push570=, 53 - i32.call $push180=, memcmp@FUNCTION, $pop572, $pop571, $pop570 - br_if 0, $pop180 # 0: down to label3 + i32.const $push229=, dst + i32.const $push626=, src + i32.const $push228=, 53 + i32.call $push625=, memcpy@FUNCTION, $pop229, $pop626, $pop228 + tee_local $push624=, $0=, $pop625 + i32.const $push623=, src + i32.const $push622=, 53 + i32.call $push230=, memcmp@FUNCTION, $pop624, $pop623, $pop622 + br_if 0, $pop230 # 0: down to label3 # BB#52: # %check.exit376 - i32.const $push577=, src - i32.const $push181=, 54 - i32.call $push10=, memcpy@FUNCTION, $4, $pop577, $pop181 - i32.const $push576=, src - i32.const $push575=, 54 - i32.call $push182=, memcmp@FUNCTION, $pop10, $pop576, $pop575 - br_if 0, $pop182 # 0: down to label3 + i32.const $push629=, src + i32.const $push231=, 54 + i32.call $push10=, memcpy@FUNCTION, $0, $pop629, $pop231 + i32.const $push628=, src + i32.const $push627=, 54 + i32.call $push232=, memcmp@FUNCTION, $pop10, $pop628, $pop627 + br_if 0, $pop232 # 0: down to label3 # BB#53: # %check.exit380 - i32.const $push183=, dst - i32.const $push582=, src - i32.const $push184=, 55 - i32.call $push581=, memcpy@FUNCTION, $pop183, $pop582, $pop184 - tee_local $push580=, $4=, $pop581 - i32.const $push579=, src - i32.const $push578=, 55 - i32.call $push185=, memcmp@FUNCTION, $pop580, $pop579, $pop578 - br_if 0, $pop185 # 0: down to label3 + i32.const $push234=, dst + i32.const $push634=, src + i32.const $push233=, 55 + i32.call $push633=, memcpy@FUNCTION, $pop234, $pop634, $pop233 + tee_local $push632=, $0=, $pop633 + i32.const $push631=, src + i32.const $push630=, 55 + i32.call $push235=, memcmp@FUNCTION, $pop632, $pop631, $pop630 + br_if 0, $pop235 # 0: down to label3 # BB#54: # %check.exit384 - i32.const $push585=, src - i32.const $push186=, 56 - i32.call $push11=, memcpy@FUNCTION, $4, $pop585, $pop186 - i32.const $push584=, src - i32.const $push583=, 56 - i32.call $push187=, memcmp@FUNCTION, $pop11, $pop584, $pop583 - br_if 0, $pop187 # 0: down to label3 + i32.const $push637=, src + i32.const $push236=, 56 + i32.call $push11=, memcpy@FUNCTION, $0, $pop637, $pop236 + i32.const $push636=, src + i32.const $push635=, 56 + i32.call $push237=, memcmp@FUNCTION, $pop11, $pop636, $pop635 + br_if 0, $pop237 # 0: down to label3 # BB#55: # %check.exit388 - i32.const $push188=, dst - i32.const $push590=, src - i32.const $push189=, 57 - i32.call $push589=, memcpy@FUNCTION, $pop188, $pop590, $pop189 - tee_local $push588=, $4=, $pop589 - i32.const $push587=, src - i32.const $push586=, 57 - i32.call $push190=, memcmp@FUNCTION, $pop588, $pop587, $pop586 - br_if 0, $pop190 # 0: down to label3 + i32.const $push239=, dst + i32.const $push642=, src + i32.const $push238=, 57 + i32.call $push641=, memcpy@FUNCTION, $pop239, $pop642, $pop238 + tee_local $push640=, $0=, $pop641 + i32.const $push639=, src + i32.const $push638=, 57 + i32.call $push240=, memcmp@FUNCTION, $pop640, $pop639, $pop638 + br_if 0, $pop240 # 0: down to label3 # BB#56: # %check.exit392 - i32.const $push593=, src - i32.const $push191=, 58 - i32.call $push12=, memcpy@FUNCTION, $4, $pop593, $pop191 - i32.const $push592=, src - i32.const $push591=, 58 - i32.call $push192=, memcmp@FUNCTION, $pop12, $pop592, $pop591 - br_if 0, $pop192 # 0: down to label3 + i32.const $push645=, src + i32.const $push241=, 58 + i32.call $push12=, memcpy@FUNCTION, $0, $pop645, $pop241 + i32.const $push644=, src + i32.const $push643=, 58 + i32.call $push242=, memcmp@FUNCTION, $pop12, $pop644, $pop643 + br_if 0, $pop242 # 0: down to label3 # BB#57: # %check.exit396 - i32.const $push193=, dst - i32.const $push598=, src - i32.const $push194=, 59 - i32.call $push597=, memcpy@FUNCTION, $pop193, $pop598, $pop194 - tee_local $push596=, $4=, $pop597 - i32.const $push595=, src - i32.const $push594=, 59 - i32.call $push195=, memcmp@FUNCTION, $pop596, $pop595, $pop594 - br_if 0, $pop195 # 0: down to label3 + i32.const $push244=, dst + i32.const $push650=, src + i32.const $push243=, 59 + i32.call $push649=, memcpy@FUNCTION, $pop244, $pop650, $pop243 + tee_local $push648=, $0=, $pop649 + i32.const $push647=, src + i32.const $push646=, 59 + i32.call $push245=, memcmp@FUNCTION, $pop648, $pop647, $pop646 + br_if 0, $pop245 # 0: down to label3 # BB#58: # %check.exit400 - i32.const $push601=, src - i32.const $push196=, 60 - i32.call $push13=, memcpy@FUNCTION, $4, $pop601, $pop196 - i32.const $push600=, src - i32.const $push599=, 60 - i32.call $push197=, memcmp@FUNCTION, $pop13, $pop600, $pop599 - br_if 0, $pop197 # 0: down to label3 + i32.const $push653=, src + i32.const $push246=, 60 + i32.call $push13=, memcpy@FUNCTION, $0, $pop653, $pop246 + i32.const $push652=, src + i32.const $push651=, 60 + i32.call $push247=, memcmp@FUNCTION, $pop13, $pop652, $pop651 + br_if 0, $pop247 # 0: down to label3 # BB#59: # %check.exit404 - i32.const $push198=, dst - i32.const $push606=, src - i32.const $push199=, 61 - i32.call $push605=, memcpy@FUNCTION, $pop198, $pop606, $pop199 - tee_local $push604=, $4=, $pop605 - i32.const $push603=, src - i32.const $push602=, 61 - i32.call $push200=, memcmp@FUNCTION, $pop604, $pop603, $pop602 - br_if 0, $pop200 # 0: down to label3 + i32.const $push249=, dst + i32.const $push658=, src + i32.const $push248=, 61 + i32.call $push657=, memcpy@FUNCTION, $pop249, $pop658, $pop248 + tee_local $push656=, $0=, $pop657 + i32.const $push655=, src + i32.const $push654=, 61 + i32.call $push250=, memcmp@FUNCTION, $pop656, $pop655, $pop654 + br_if 0, $pop250 # 0: down to label3 # BB#60: # %check.exit408 - i32.const $push609=, src - i32.const $push201=, 62 - i32.call $push14=, memcpy@FUNCTION, $4, $pop609, $pop201 - i32.const $push608=, src - i32.const $push607=, 62 - i32.call $push202=, memcmp@FUNCTION, $pop14, $pop608, $pop607 - br_if 0, $pop202 # 0: down to label3 + i32.const $push661=, src + i32.const $push251=, 62 + i32.call $push14=, memcpy@FUNCTION, $0, $pop661, $pop251 + i32.const $push660=, src + i32.const $push659=, 62 + i32.call $push252=, memcmp@FUNCTION, $pop14, $pop660, $pop659 + br_if 0, $pop252 # 0: down to label3 # BB#61: # %check.exit412 - i32.const $push203=, dst - i32.const $push614=, src - i32.const $push204=, 63 - i32.call $push613=, memcpy@FUNCTION, $pop203, $pop614, $pop204 - tee_local $push612=, $4=, $pop613 - i32.const $push611=, src - i32.const $push610=, 63 - i32.call $push205=, memcmp@FUNCTION, $pop612, $pop611, $pop610 - br_if 0, $pop205 # 0: down to label3 + i32.const $push254=, dst + i32.const $push666=, src + i32.const $push253=, 63 + i32.call $push665=, memcpy@FUNCTION, $pop254, $pop666, $pop253 + tee_local $push664=, $0=, $pop665 + i32.const $push663=, src + i32.const $push662=, 63 + i32.call $push255=, memcmp@FUNCTION, $pop664, $pop663, $pop662 + br_if 0, $pop255 # 0: down to label3 # BB#62: # %check.exit416 - i32.const $push617=, src - i32.const $push206=, 64 - i32.call $push15=, memcpy@FUNCTION, $4, $pop617, $pop206 - i32.const $push616=, src - i32.const $push615=, 64 - i32.call $push207=, memcmp@FUNCTION, $pop15, $pop616, $pop615 - br_if 0, $pop207 # 0: down to label3 + i32.const $push669=, src + i32.const $push256=, 64 + i32.call $push15=, memcpy@FUNCTION, $0, $pop669, $pop256 + i32.const $push668=, src + i32.const $push667=, 64 + i32.call $push257=, memcmp@FUNCTION, $pop15, $pop668, $pop667 + br_if 0, $pop257 # 0: down to label3 # BB#63: # %check.exit420 - i32.const $push208=, dst - i32.const $push622=, src - i32.const $push209=, 65 - i32.call $push621=, memcpy@FUNCTION, $pop208, $pop622, $pop209 - tee_local $push620=, $4=, $pop621 - i32.const $push619=, src - i32.const $push618=, 65 - i32.call $push210=, memcmp@FUNCTION, $pop620, $pop619, $pop618 - br_if 0, $pop210 # 0: down to label3 + i32.const $push259=, dst + i32.const $push674=, src + i32.const $push258=, 65 + i32.call $push673=, memcpy@FUNCTION, $pop259, $pop674, $pop258 + tee_local $push672=, $0=, $pop673 + i32.const $push671=, src + i32.const $push670=, 65 + i32.call $push260=, memcmp@FUNCTION, $pop672, $pop671, $pop670 + br_if 0, $pop260 # 0: down to label3 # BB#64: # %check.exit424 - i32.const $push625=, src - i32.const $push211=, 66 - i32.call $push16=, memcpy@FUNCTION, $4, $pop625, $pop211 - i32.const $push624=, src - i32.const $push623=, 66 - i32.call $push212=, memcmp@FUNCTION, $pop16, $pop624, $pop623 - br_if 0, $pop212 # 0: down to label3 + i32.const $push677=, src + i32.const $push261=, 66 + i32.call $push16=, memcpy@FUNCTION, $0, $pop677, $pop261 + i32.const $push676=, src + i32.const $push675=, 66 + i32.call $push262=, memcmp@FUNCTION, $pop16, $pop676, $pop675 + br_if 0, $pop262 # 0: down to label3 # BB#65: # %check.exit428 - i32.const $push213=, dst - i32.const $push630=, src - i32.const $push214=, 67 - i32.call $push629=, memcpy@FUNCTION, $pop213, $pop630, $pop214 - tee_local $push628=, $4=, $pop629 - i32.const $push627=, src - i32.const $push626=, 67 - i32.call $push215=, memcmp@FUNCTION, $pop628, $pop627, $pop626 - br_if 0, $pop215 # 0: down to label3 + i32.const $push264=, dst + i32.const $push682=, src + i32.const $push263=, 67 + i32.call $push681=, memcpy@FUNCTION, $pop264, $pop682, $pop263 + tee_local $push680=, $0=, $pop681 + i32.const $push679=, src + i32.const $push678=, 67 + i32.call $push265=, memcmp@FUNCTION, $pop680, $pop679, $pop678 + br_if 0, $pop265 # 0: down to label3 # BB#66: # %check.exit432 - i32.const $push633=, src - i32.const $push216=, 68 - i32.call $push17=, memcpy@FUNCTION, $4, $pop633, $pop216 - i32.const $push632=, src - i32.const $push631=, 68 - i32.call $push217=, memcmp@FUNCTION, $pop17, $pop632, $pop631 - br_if 0, $pop217 # 0: down to label3 + i32.const $push685=, src + i32.const $push266=, 68 + i32.call $push17=, memcpy@FUNCTION, $0, $pop685, $pop266 + i32.const $push684=, src + i32.const $push683=, 68 + i32.call $push267=, memcmp@FUNCTION, $pop17, $pop684, $pop683 + br_if 0, $pop267 # 0: down to label3 # BB#67: # %check.exit436 - i32.const $push218=, dst - i32.const $push638=, src - i32.const $push219=, 69 - i32.call $push637=, memcpy@FUNCTION, $pop218, $pop638, $pop219 - tee_local $push636=, $4=, $pop637 - i32.const $push635=, src - i32.const $push634=, 69 - i32.call $push220=, memcmp@FUNCTION, $pop636, $pop635, $pop634 - br_if 0, $pop220 # 0: down to label3 + i32.const $push269=, dst + i32.const $push690=, src + i32.const $push268=, 69 + i32.call $push689=, memcpy@FUNCTION, $pop269, $pop690, $pop268 + tee_local $push688=, $0=, $pop689 + i32.const $push687=, src + i32.const $push686=, 69 + i32.call $push270=, memcmp@FUNCTION, $pop688, $pop687, $pop686 + br_if 0, $pop270 # 0: down to label3 # BB#68: # %check.exit440 - i32.const $push641=, src - i32.const $push221=, 70 - i32.call $push18=, memcpy@FUNCTION, $4, $pop641, $pop221 - i32.const $push640=, src - i32.const $push639=, 70 - i32.call $push222=, memcmp@FUNCTION, $pop18, $pop640, $pop639 - br_if 0, $pop222 # 0: down to label3 + i32.const $push693=, src + i32.const $push271=, 70 + i32.call $push18=, memcpy@FUNCTION, $0, $pop693, $pop271 + i32.const $push692=, src + i32.const $push691=, 70 + i32.call $push272=, memcmp@FUNCTION, $pop18, $pop692, $pop691 + br_if 0, $pop272 # 0: down to label3 # BB#69: # %check.exit444 - i32.const $push223=, dst - i32.const $push646=, src - i32.const $push224=, 71 - i32.call $push645=, memcpy@FUNCTION, $pop223, $pop646, $pop224 - tee_local $push644=, $4=, $pop645 - i32.const $push643=, src - i32.const $push642=, 71 - i32.call $push225=, memcmp@FUNCTION, $pop644, $pop643, $pop642 - br_if 0, $pop225 # 0: down to label3 + i32.const $push274=, dst + i32.const $push698=, src + i32.const $push273=, 71 + i32.call $push697=, memcpy@FUNCTION, $pop274, $pop698, $pop273 + tee_local $push696=, $0=, $pop697 + i32.const $push695=, src + i32.const $push694=, 71 + i32.call $push275=, memcmp@FUNCTION, $pop696, $pop695, $pop694 + br_if 0, $pop275 # 0: down to label3 # BB#70: # %check.exit448 - i32.const $push649=, src - i32.const $push226=, 72 - i32.call $push19=, memcpy@FUNCTION, $4, $pop649, $pop226 - i32.const $push648=, src - i32.const $push647=, 72 - i32.call $push227=, memcmp@FUNCTION, $pop19, $pop648, $pop647 - br_if 0, $pop227 # 0: down to label3 + i32.const $push701=, src + i32.const $push276=, 72 + i32.call $push19=, memcpy@FUNCTION, $0, $pop701, $pop276 + i32.const $push700=, src + i32.const $push699=, 72 + i32.call $push277=, memcmp@FUNCTION, $pop19, $pop700, $pop699 + br_if 0, $pop277 # 0: down to label3 # BB#71: # %check.exit452 - i32.const $push228=, dst - i32.const $push654=, src - i32.const $push229=, 73 - i32.call $push653=, memcpy@FUNCTION, $pop228, $pop654, $pop229 - tee_local $push652=, $4=, $pop653 - i32.const $push651=, src - i32.const $push650=, 73 - i32.call $push230=, memcmp@FUNCTION, $pop652, $pop651, $pop650 - br_if 0, $pop230 # 0: down to label3 + i32.const $push279=, dst + i32.const $push706=, src + i32.const $push278=, 73 + i32.call $push705=, memcpy@FUNCTION, $pop279, $pop706, $pop278 + tee_local $push704=, $0=, $pop705 + i32.const $push703=, src + i32.const $push702=, 73 + i32.call $push280=, memcmp@FUNCTION, $pop704, $pop703, $pop702 + br_if 0, $pop280 # 0: down to label3 # BB#72: # %check.exit456 - i32.const $push657=, src - i32.const $push231=, 74 - i32.call $push20=, memcpy@FUNCTION, $4, $pop657, $pop231 - i32.const $push656=, src - i32.const $push655=, 74 - i32.call $push232=, memcmp@FUNCTION, $pop20, $pop656, $pop655 - br_if 0, $pop232 # 0: down to label3 + i32.const $push709=, src + i32.const $push281=, 74 + i32.call $push20=, memcpy@FUNCTION, $0, $pop709, $pop281 + i32.const $push708=, src + i32.const $push707=, 74 + i32.call $push282=, memcmp@FUNCTION, $pop20, $pop708, $pop707 + br_if 0, $pop282 # 0: down to label3 # BB#73: # %check.exit460 - i32.const $push233=, dst - i32.const $push662=, src - i32.const $push234=, 75 - i32.call $push661=, memcpy@FUNCTION, $pop233, $pop662, $pop234 - tee_local $push660=, $4=, $pop661 - i32.const $push659=, src - i32.const $push658=, 75 - i32.call $push235=, memcmp@FUNCTION, $pop660, $pop659, $pop658 - br_if 0, $pop235 # 0: down to label3 + i32.const $push284=, dst + i32.const $push714=, src + i32.const $push283=, 75 + i32.call $push713=, memcpy@FUNCTION, $pop284, $pop714, $pop283 + tee_local $push712=, $0=, $pop713 + i32.const $push711=, src + i32.const $push710=, 75 + i32.call $push285=, memcmp@FUNCTION, $pop712, $pop711, $pop710 + br_if 0, $pop285 # 0: down to label3 # BB#74: # %check.exit464 - i32.const $push665=, src - i32.const $push236=, 76 - i32.call $push21=, memcpy@FUNCTION, $4, $pop665, $pop236 - i32.const $push664=, src - i32.const $push663=, 76 - i32.call $push237=, memcmp@FUNCTION, $pop21, $pop664, $pop663 - br_if 0, $pop237 # 0: down to label3 + i32.const $push717=, src + i32.const $push286=, 76 + i32.call $push21=, memcpy@FUNCTION, $0, $pop717, $pop286 + i32.const $push716=, src + i32.const $push715=, 76 + i32.call $push287=, memcmp@FUNCTION, $pop21, $pop716, $pop715 + br_if 0, $pop287 # 0: down to label3 # BB#75: # %check.exit468 - i32.const $push238=, dst - i32.const $push670=, src - i32.const $push239=, 77 - i32.call $push669=, memcpy@FUNCTION, $pop238, $pop670, $pop239 - tee_local $push668=, $4=, $pop669 - i32.const $push667=, src - i32.const $push666=, 77 - i32.call $push240=, memcmp@FUNCTION, $pop668, $pop667, $pop666 - br_if 0, $pop240 # 0: down to label3 + i32.const $push289=, dst + i32.const $push722=, src + i32.const $push288=, 77 + i32.call $push721=, memcpy@FUNCTION, $pop289, $pop722, $pop288 + tee_local $push720=, $0=, $pop721 + i32.const $push719=, src + i32.const $push718=, 77 + i32.call $push290=, memcmp@FUNCTION, $pop720, $pop719, $pop718 + br_if 0, $pop290 # 0: down to label3 # BB#76: # %check.exit472 - i32.const $push673=, src - i32.const $push241=, 78 - i32.call $push22=, memcpy@FUNCTION, $4, $pop673, $pop241 - i32.const $push672=, src - i32.const $push671=, 78 - i32.call $push242=, memcmp@FUNCTION, $pop22, $pop672, $pop671 - br_if 0, $pop242 # 0: down to label3 + i32.const $push725=, src + i32.const $push291=, 78 + i32.call $push22=, memcpy@FUNCTION, $0, $pop725, $pop291 + i32.const $push724=, src + i32.const $push723=, 78 + i32.call $push292=, memcmp@FUNCTION, $pop22, $pop724, $pop723 + br_if 0, $pop292 # 0: down to label3 # BB#77: # %check.exit476 - i32.const $push244=, dst - i32.const $push243=, src - i32.const $push245=, 79 - i32.call $push23=, memcpy@FUNCTION, $pop244, $pop243, $pop245 - i32.const $push675=, src - i32.const $push674=, 79 - i32.call $push246=, memcmp@FUNCTION, $pop23, $pop675, $pop674 - br_if 0, $pop246 # 0: down to label3 + i32.const $push295=, dst + i32.const $push294=, src + i32.const $push293=, 79 + i32.call $push23=, memcpy@FUNCTION, $pop295, $pop294, $pop293 + i32.const $push727=, src + i32.const $push726=, 79 + i32.call $push296=, memcmp@FUNCTION, $pop23, $pop727, $pop726 + br_if 0, $pop296 # 0: down to label3 # BB#78: # %check.exit480 - i32.const $push247=, 0 - return $pop247 + i32.const $push297=, 0 + return $pop297 .LBB1_79: # %if.then.i479 end_block # label3: call abort@FUNCTION diff --git a/test/torture-s/memset-1.c.s b/test/torture-s/memset-1.c.s index 5dec78077..aaa13d455 100644 --- a/test/torture-s/memset-1.c.s +++ b/test/torture-s/memset-1.c.s @@ -33,7 +33,7 @@ main: # @main # Child Loop BB0_36 Depth 3 # Child Loop BB0_40 Depth 3 loop # label3: - i32.const $6=, u + i32.const $4=, u i32.const $push100=, u i32.const $push99=, 97 i32.const $push98=, 96 @@ -47,14 +47,14 @@ main: # @main br_if 0, $pop94 # 0: down to label5 # BB#3: # %for.body11.preheader # in Loop: Header=BB0_2 Depth=2 - i32.const $4=, 0 + i32.const $6=, 0 .LBB0_4: # %for.body11 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label6: - copy_local $push103=, $4 - tee_local $push102=, $6=, $pop103 + copy_local $push103=, $6 + tee_local $push102=, $4=, $pop103 i32.load8_u $push0=, u($pop102) i32.const $push101=, 97 i32.ne $push1=, $pop0, $pop101 @@ -62,346 +62,351 @@ main: # @main # BB#5: # %for.inc16 # in Loop: Header=BB0_4 Depth=3 i32.const $push106=, 1 - i32.add $push105=, $6, $pop106 - tee_local $push104=, $4=, $pop105 + i32.add $push105=, $4, $pop106 + tee_local $push104=, $6=, $pop105 i32.lt_s $push2=, $pop104, $1 br_if 0, $pop2 # 0: up to label6 # BB#6: # in Loop: Header=BB0_2 Depth=2 end_loop # label7: i32.const $push107=, u+1 - i32.add $6=, $6, $pop107 + i32.add $4=, $4, $pop107 .LBB0_7: # %for.body22.preheader # in Loop: Header=BB0_2 Depth=2 end_block # label5: - i32.const $4=, 0 + i32.const $6=, 0 .LBB0_8: # %for.body22 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label8: - i32.add $push3=, $6, $4 + i32.add $push3=, $4, $6 i32.load8_u $push4=, 0($pop3) br_if 6, $pop4 # 6: down to label0 # BB#9: # %for.inc28 # in Loop: Header=BB0_8 Depth=3 - i32.const $push108=, 1 - i32.add $4=, $4, $pop108 - i32.lt_s $push5=, $4, $3 + i32.const $push110=, 1 + i32.add $push109=, $6, $pop110 + tee_local $push108=, $6=, $pop109 + i32.lt_s $push5=, $pop108, $3 br_if 0, $pop5 # 0: up to label8 # BB#10: # %for.body35.preheader # in Loop: Header=BB0_2 Depth=2 end_loop # label9: - i32.add $push111=, $6, $4 - tee_local $push110=, $4=, $pop111 - i32.load8_u $push6=, 0($pop110) - i32.const $push109=, 97 - i32.ne $push7=, $pop6, $pop109 + i32.add $push113=, $4, $6 + tee_local $push112=, $6=, $pop113 + i32.load8_u $push6=, 0($pop112) + i32.const $push111=, 97 + i32.ne $push7=, $pop6, $pop111 br_if 4, $pop7 # 4: down to label0 # BB#11: # %for.inc41 # in Loop: Header=BB0_2 Depth=2 - i32.const $push113=, 1 - i32.add $push8=, $4, $pop113 + i32.const $push115=, 1 + i32.add $push8=, $6, $pop115 i32.load8_u $push9=, 0($pop8) - i32.const $push112=, 97 - i32.ne $push10=, $pop9, $pop112 + i32.const $push114=, 97 + i32.ne $push10=, $pop9, $pop114 br_if 4, $pop10 # 4: down to label0 # BB#12: # %for.inc41.1 # in Loop: Header=BB0_2 Depth=2 - i32.const $push115=, 2 - i32.add $push11=, $4, $pop115 + i32.const $push117=, 2 + i32.add $push11=, $6, $pop117 i32.load8_u $push12=, 0($pop11) - i32.const $push114=, 97 - i32.ne $push13=, $pop12, $pop114 + i32.const $push116=, 97 + i32.ne $push13=, $pop12, $pop116 br_if 4, $pop13 # 4: down to label0 # BB#13: # %for.inc41.2 # in Loop: Header=BB0_2 Depth=2 - i32.const $push117=, 3 - i32.add $push14=, $4, $pop117 + i32.const $push119=, 3 + i32.add $push14=, $6, $pop119 i32.load8_u $push15=, 0($pop14) - i32.const $push116=, 97 - i32.ne $push16=, $pop15, $pop116 + i32.const $push118=, 97 + i32.ne $push16=, $pop15, $pop118 br_if 4, $pop16 # 4: down to label0 # BB#14: # %for.inc41.3 # in Loop: Header=BB0_2 Depth=2 - i32.const $push119=, 4 - i32.add $push17=, $4, $pop119 + i32.const $push121=, 4 + i32.add $push17=, $6, $pop121 i32.load8_u $push18=, 0($pop17) - i32.const $push118=, 97 - i32.ne $push19=, $pop18, $pop118 + i32.const $push120=, 97 + i32.ne $push19=, $pop18, $pop120 br_if 4, $pop19 # 4: down to label0 # BB#15: # %for.inc41.4 # in Loop: Header=BB0_2 Depth=2 - i32.const $push121=, 5 - i32.add $push20=, $4, $pop121 + i32.const $push123=, 5 + i32.add $push20=, $6, $pop123 i32.load8_u $push21=, 0($pop20) - i32.const $push120=, 97 - i32.ne $push22=, $pop21, $pop120 + i32.const $push122=, 97 + i32.ne $push22=, $pop21, $pop122 br_if 4, $pop22 # 4: down to label0 # BB#16: # %for.inc41.5 # in Loop: Header=BB0_2 Depth=2 - i32.const $push123=, 6 - i32.add $push23=, $4, $pop123 + i32.const $push125=, 6 + i32.add $push23=, $6, $pop125 i32.load8_u $push24=, 0($pop23) - i32.const $push122=, 97 - i32.ne $push25=, $pop24, $pop122 + i32.const $push124=, 97 + i32.ne $push25=, $pop24, $pop124 br_if 4, $pop25 # 4: down to label0 # BB#17: # %for.inc41.6 # in Loop: Header=BB0_2 Depth=2 - i32.const $push125=, 7 - i32.add $push26=, $4, $pop125 + i32.const $push127=, 7 + i32.add $push26=, $6, $pop127 i32.load8_u $push27=, 0($pop26) - i32.const $push124=, 97 - i32.ne $push28=, $pop27, $pop124 + i32.const $push126=, 97 + i32.ne $push28=, $pop27, $pop126 br_if 4, $pop28 # 4: down to label0 # BB#18: # %for.inc41.7 # in Loop: Header=BB0_2 Depth=2 - i32.const $push126=, 0 - i32.load8_u $push29=, A($pop126) + i32.const $push128=, 0 + i32.load8_u $push29=, A($pop128) i32.call $drop=, memset@FUNCTION, $0, $pop29, $3 - i32.const $6=, u + i32.const $4=, u block br_if 0, $5 # 0: down to label10 # BB#19: # %for.body56.preheader # in Loop: Header=BB0_2 Depth=2 - i32.const $4=, 0 + i32.const $6=, 0 .LBB0_20: # %for.body56 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label11: - copy_local $push129=, $4 - tee_local $push128=, $6=, $pop129 - i32.load8_u $push30=, u($pop128) - i32.const $push127=, 97 - i32.ne $push31=, $pop30, $pop127 + copy_local $push131=, $6 + tee_local $push130=, $4=, $pop131 + i32.load8_u $push30=, u($pop130) + i32.const $push129=, 97 + i32.ne $push31=, $pop30, $pop129 br_if 7, $pop31 # 7: down to label0 # BB#21: # %for.inc62 # in Loop: Header=BB0_20 Depth=3 - i32.const $push132=, 1 - i32.add $push131=, $6, $pop132 - tee_local $push130=, $4=, $pop131 - i32.lt_s $push32=, $pop130, $1 + i32.const $push134=, 1 + i32.add $push133=, $4, $pop134 + tee_local $push132=, $6=, $pop133 + i32.lt_s $push32=, $pop132, $1 br_if 0, $pop32 # 0: up to label11 # BB#22: # in Loop: Header=BB0_2 Depth=2 end_loop # label12: - i32.const $push133=, u+1 - i32.add $6=, $6, $pop133 + i32.const $push135=, u+1 + i32.add $4=, $4, $pop135 .LBB0_23: # %for.body69.preheader # in Loop: Header=BB0_2 Depth=2 end_block # label10: - i32.const $4=, 0 + i32.const $6=, 0 .LBB0_24: # %for.body69 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label13: - i32.add $push33=, $6, $4 + i32.add $push33=, $4, $6 i32.load8_u $push34=, 0($pop33) - i32.const $push134=, 65 - i32.ne $push35=, $pop34, $pop134 + i32.const $push136=, 65 + i32.ne $push35=, $pop34, $pop136 br_if 6, $pop35 # 6: down to label0 # BB#25: # %for.inc75 # in Loop: Header=BB0_24 Depth=3 - i32.const $push135=, 1 - i32.add $4=, $4, $pop135 - i32.lt_s $push36=, $4, $3 + i32.const $push139=, 1 + i32.add $push138=, $6, $pop139 + tee_local $push137=, $6=, $pop138 + i32.lt_s $push36=, $pop137, $3 br_if 0, $pop36 # 0: up to label13 # BB#26: # %for.body82.preheader # in Loop: Header=BB0_2 Depth=2 end_loop # label14: - i32.add $push138=, $6, $4 - tee_local $push137=, $4=, $pop138 - i32.load8_u $push37=, 0($pop137) - i32.const $push136=, 97 - i32.ne $push38=, $pop37, $pop136 + i32.add $push142=, $4, $6 + tee_local $push141=, $6=, $pop142 + i32.load8_u $push37=, 0($pop141) + i32.const $push140=, 97 + i32.ne $push38=, $pop37, $pop140 br_if 4, $pop38 # 4: down to label0 # BB#27: # %for.inc88 # in Loop: Header=BB0_2 Depth=2 - i32.const $push140=, 1 - i32.add $push39=, $4, $pop140 + i32.const $push144=, 1 + i32.add $push39=, $6, $pop144 i32.load8_u $push40=, 0($pop39) - i32.const $push139=, 97 - i32.ne $push41=, $pop40, $pop139 + i32.const $push143=, 97 + i32.ne $push41=, $pop40, $pop143 br_if 4, $pop41 # 4: down to label0 # BB#28: # %for.inc88.1 # in Loop: Header=BB0_2 Depth=2 - i32.const $push142=, 2 - i32.add $push42=, $4, $pop142 + i32.const $push146=, 2 + i32.add $push42=, $6, $pop146 i32.load8_u $push43=, 0($pop42) - i32.const $push141=, 97 - i32.ne $push44=, $pop43, $pop141 + i32.const $push145=, 97 + i32.ne $push44=, $pop43, $pop145 br_if 4, $pop44 # 4: down to label0 # BB#29: # %for.inc88.2 # in Loop: Header=BB0_2 Depth=2 - i32.const $push144=, 3 - i32.add $push45=, $4, $pop144 + i32.const $push148=, 3 + i32.add $push45=, $6, $pop148 i32.load8_u $push46=, 0($pop45) - i32.const $push143=, 97 - i32.ne $push47=, $pop46, $pop143 + i32.const $push147=, 97 + i32.ne $push47=, $pop46, $pop147 br_if 4, $pop47 # 4: down to label0 # BB#30: # %for.inc88.3 # in Loop: Header=BB0_2 Depth=2 - i32.const $push146=, 4 - i32.add $push48=, $4, $pop146 + i32.const $push150=, 4 + i32.add $push48=, $6, $pop150 i32.load8_u $push49=, 0($pop48) - i32.const $push145=, 97 - i32.ne $push50=, $pop49, $pop145 + i32.const $push149=, 97 + i32.ne $push50=, $pop49, $pop149 br_if 4, $pop50 # 4: down to label0 # BB#31: # %for.inc88.4 # in Loop: Header=BB0_2 Depth=2 - i32.const $push148=, 5 - i32.add $push51=, $4, $pop148 + i32.const $push152=, 5 + i32.add $push51=, $6, $pop152 i32.load8_u $push52=, 0($pop51) - i32.const $push147=, 97 - i32.ne $push53=, $pop52, $pop147 + i32.const $push151=, 97 + i32.ne $push53=, $pop52, $pop151 br_if 4, $pop53 # 4: down to label0 # BB#32: # %for.inc88.5 # in Loop: Header=BB0_2 Depth=2 - i32.const $push150=, 6 - i32.add $push54=, $4, $pop150 + i32.const $push154=, 6 + i32.add $push54=, $6, $pop154 i32.load8_u $push55=, 0($pop54) - i32.const $push149=, 97 - i32.ne $push56=, $pop55, $pop149 + i32.const $push153=, 97 + i32.ne $push56=, $pop55, $pop153 br_if 4, $pop56 # 4: down to label0 # BB#33: # %for.inc88.6 # in Loop: Header=BB0_2 Depth=2 - i32.const $push152=, 7 - i32.add $push57=, $4, $pop152 + i32.const $push156=, 7 + i32.add $push57=, $6, $pop156 i32.load8_u $push58=, 0($pop57) - i32.const $push151=, 97 - i32.ne $push59=, $pop58, $pop151 + i32.const $push155=, 97 + i32.ne $push59=, $pop58, $pop155 br_if 4, $pop59 # 4: down to label0 # BB#34: # %for.inc88.7 # in Loop: Header=BB0_2 Depth=2 - i32.const $push153=, 66 - i32.call $drop=, memset@FUNCTION, $0, $pop153, $3 - i32.const $6=, u + i32.const $push157=, 66 + i32.call $drop=, memset@FUNCTION, $0, $pop157, $3 + i32.const $4=, u block br_if 0, $5 # 0: down to label15 # BB#35: # %for.body102.preheader # in Loop: Header=BB0_2 Depth=2 - i32.const $4=, 0 + i32.const $6=, 0 .LBB0_36: # %for.body102 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label16: - copy_local $push156=, $4 - tee_local $push155=, $6=, $pop156 - i32.load8_u $push60=, u($pop155) - i32.const $push154=, 97 - i32.ne $push61=, $pop60, $pop154 + copy_local $push160=, $6 + tee_local $push159=, $4=, $pop160 + i32.load8_u $push60=, u($pop159) + i32.const $push158=, 97 + i32.ne $push61=, $pop60, $pop158 br_if 7, $pop61 # 7: down to label0 # BB#37: # %for.inc108 # in Loop: Header=BB0_36 Depth=3 - i32.const $push159=, 1 - i32.add $push158=, $6, $pop159 - tee_local $push157=, $4=, $pop158 - i32.lt_s $push62=, $pop157, $1 + i32.const $push163=, 1 + i32.add $push162=, $4, $pop163 + tee_local $push161=, $6=, $pop162 + i32.lt_s $push62=, $pop161, $1 br_if 0, $pop62 # 0: up to label16 # BB#38: # in Loop: Header=BB0_2 Depth=2 end_loop # label17: - i32.const $push160=, u+1 - i32.add $6=, $6, $pop160 + i32.const $push164=, u+1 + i32.add $4=, $4, $pop164 .LBB0_39: # %for.body115.preheader # in Loop: Header=BB0_2 Depth=2 end_block # label15: - i32.const $4=, 0 + i32.const $6=, 0 .LBB0_40: # %for.body115 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # => This Inner Loop Header: Depth=3 loop # label18: - i32.add $push63=, $6, $4 + i32.add $push63=, $4, $6 i32.load8_u $push64=, 0($pop63) - i32.const $push161=, 66 - i32.ne $push65=, $pop64, $pop161 + i32.const $push165=, 66 + i32.ne $push65=, $pop64, $pop165 br_if 6, $pop65 # 6: down to label0 # BB#41: # %for.inc121 # in Loop: Header=BB0_40 Depth=3 - i32.const $push162=, 1 - i32.add $4=, $4, $pop162 - i32.lt_s $push66=, $4, $3 + i32.const $push168=, 1 + i32.add $push167=, $6, $pop168 + tee_local $push166=, $6=, $pop167 + i32.lt_s $push66=, $pop166, $3 br_if 0, $pop66 # 0: up to label18 # BB#42: # %for.body128.preheader # in Loop: Header=BB0_2 Depth=2 end_loop # label19: - i32.add $push165=, $6, $4 - tee_local $push164=, $4=, $pop165 - i32.load8_u $push67=, 0($pop164) - i32.const $push163=, 97 - i32.ne $push68=, $pop67, $pop163 + i32.add $push171=, $4, $6 + tee_local $push170=, $6=, $pop171 + i32.load8_u $push67=, 0($pop170) + i32.const $push169=, 97 + i32.ne $push68=, $pop67, $pop169 br_if 4, $pop68 # 4: down to label0 # BB#43: # %for.inc134 # in Loop: Header=BB0_2 Depth=2 - i32.const $push167=, 1 - i32.add $push69=, $4, $pop167 + i32.const $push173=, 1 + i32.add $push69=, $6, $pop173 i32.load8_u $push70=, 0($pop69) - i32.const $push166=, 97 - i32.ne $push71=, $pop70, $pop166 + i32.const $push172=, 97 + i32.ne $push71=, $pop70, $pop172 br_if 4, $pop71 # 4: down to label0 # BB#44: # %for.inc134.1 # in Loop: Header=BB0_2 Depth=2 - i32.const $push169=, 2 - i32.add $push72=, $4, $pop169 + i32.const $push175=, 2 + i32.add $push72=, $6, $pop175 i32.load8_u $push73=, 0($pop72) - i32.const $push168=, 97 - i32.ne $push74=, $pop73, $pop168 + i32.const $push174=, 97 + i32.ne $push74=, $pop73, $pop174 br_if 4, $pop74 # 4: down to label0 # BB#45: # %for.inc134.2 # in Loop: Header=BB0_2 Depth=2 - i32.const $push171=, 3 - i32.add $push75=, $4, $pop171 + i32.const $push177=, 3 + i32.add $push75=, $6, $pop177 i32.load8_u $push76=, 0($pop75) - i32.const $push170=, 97 - i32.ne $push77=, $pop76, $pop170 + i32.const $push176=, 97 + i32.ne $push77=, $pop76, $pop176 br_if 4, $pop77 # 4: down to label0 # BB#46: # %for.inc134.3 # in Loop: Header=BB0_2 Depth=2 - i32.const $push173=, 4 - i32.add $push78=, $4, $pop173 + i32.const $push179=, 4 + i32.add $push78=, $6, $pop179 i32.load8_u $push79=, 0($pop78) - i32.const $push172=, 97 - i32.ne $push80=, $pop79, $pop172 + i32.const $push178=, 97 + i32.ne $push80=, $pop79, $pop178 br_if 4, $pop80 # 4: down to label0 # BB#47: # %for.inc134.4 # in Loop: Header=BB0_2 Depth=2 - i32.const $push175=, 5 - i32.add $push81=, $4, $pop175 + i32.const $push181=, 5 + i32.add $push81=, $6, $pop181 i32.load8_u $push82=, 0($pop81) - i32.const $push174=, 97 - i32.ne $push83=, $pop82, $pop174 + i32.const $push180=, 97 + i32.ne $push83=, $pop82, $pop180 br_if 4, $pop83 # 4: down to label0 # BB#48: # %for.inc134.5 # in Loop: Header=BB0_2 Depth=2 - i32.const $push177=, 6 - i32.add $push84=, $4, $pop177 + i32.const $push183=, 6 + i32.add $push84=, $6, $pop183 i32.load8_u $push85=, 0($pop84) - i32.const $push176=, 97 - i32.ne $push86=, $pop85, $pop176 + i32.const $push182=, 97 + i32.ne $push86=, $pop85, $pop182 br_if 4, $pop86 # 4: down to label0 # BB#49: # %for.inc134.6 # in Loop: Header=BB0_2 Depth=2 - i32.const $push179=, 7 - i32.add $push87=, $4, $pop179 + i32.const $push185=, 7 + i32.add $push87=, $6, $pop185 i32.load8_u $push88=, 0($pop87) - i32.const $push178=, 97 - i32.ne $push89=, $pop88, $pop178 + i32.const $push184=, 97 + i32.ne $push89=, $pop88, $pop184 br_if 4, $pop89 # 4: down to label0 # BB#50: # %for.inc134.7 # in Loop: Header=BB0_2 Depth=2 - i32.const $push181=, 1 - i32.add $3=, $3, $pop181 - i32.const $push180=, 80 - i32.lt_u $push90=, $3, $pop180 + i32.const $push189=, 1 + i32.add $push188=, $3, $pop189 + tee_local $push187=, $3=, $pop188 + i32.const $push186=, 80 + i32.lt_u $push90=, $pop187, $pop186 br_if 0, $pop90 # 0: up to label3 # BB#51: # %for.inc141 # in Loop: Header=BB0_1 Depth=1 end_loop # label4: - i32.const $push183=, 1 - i32.add $1=, $1, $pop183 - i32.const $push182=, 8 - i32.lt_u $push91=, $1, $pop182 + i32.const $push193=, 1 + i32.add $push192=, $1, $pop193 + tee_local $push191=, $1=, $pop192 + i32.const $push190=, 8 + i32.lt_u $push91=, $pop191, $pop190 br_if 0, $pop91 # 0: up to label1 # BB#52: # %for.end143 end_loop # label2: diff --git a/test/torture-s/memset-2.c.s b/test/torture-s/memset-2.c.s index 268ae51a6..7b740cf32 100644 --- a/test/torture-s/memset-2.c.s +++ b/test/torture-s/memset-2.c.s @@ -6,11 +6,11 @@ .type reset,@function reset: # @reset # BB#0: # %entry - i32.const $push0=, u - i32.const $push2=, 97 - i32.const $push1=, 31 - i32.call $drop=, memset@FUNCTION, $pop0, $pop2, $pop1 - return + i32.const $push2=, u + i32.const $push1=, 97 + i32.const $push0=, 31 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 + # fallthrough-return .endfunc .Lfunc_end0: .size reset, .Lfunc_end0-reset @@ -23,19 +23,19 @@ check: # @check .param i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $4=, u + i32.const $3=, u block block i32.const $push25=, 1 i32.lt_s $push0=, $0, $pop25 br_if 0, $pop0 # 0: down to label1 # BB#1: # %for.body.preheader - i32.const $3=, 0 + i32.const $4=, 0 .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - copy_local $push28=, $3 - tee_local $push27=, $4=, $pop28 + copy_local $push28=, $4 + tee_local $push27=, $3=, $pop28 i32.load8_u $push1=, u($pop27) i32.const $push26=, 97 i32.ne $push2=, $pop1, $pop26 @@ -43,14 +43,14 @@ check: # @check # BB#3: # %for.inc # in Loop: Header=BB1_2 Depth=1 i32.const $push31=, 1 - i32.add $push30=, $4, $pop31 - tee_local $push29=, $3=, $pop30 + i32.add $push30=, $3, $pop31 + tee_local $push29=, $4=, $pop30 i32.lt_s $push3=, $pop29, $0 br_if 0, $pop3 # 0: up to label2 # BB#4: end_loop # label3: i32.const $push32=, u+1 - i32.add $4=, $4, $pop32 + i32.add $3=, $3, $pop32 .LBB1_5: # %for.cond3.preheader end_block # label1: block @@ -58,63 +58,64 @@ check: # @check i32.lt_s $push4=, $1, $pop33 br_if 0, $pop4 # 0: down to label4 # BB#6: # %for.body6.preheader - i32.const $3=, 0 + i32.const $4=, 0 .LBB1_7: # %for.body6 # =>This Inner Loop Header: Depth=1 loop # label5: - i32.add $push5=, $4, $3 + i32.add $push5=, $3, $4 i32.load8_s $push6=, 0($pop5) i32.ne $push7=, $pop6, $2 br_if 3, $pop7 # 3: down to label0 # BB#8: # %for.inc12 # in Loop: Header=BB1_7 Depth=1 - i32.const $push34=, 1 - i32.add $3=, $3, $pop34 - i32.lt_s $push8=, $3, $1 + i32.const $push36=, 1 + i32.add $push35=, $4, $pop36 + tee_local $push34=, $4=, $pop35 + i32.lt_s $push8=, $pop34, $1 br_if 0, $pop8 # 0: up to label5 # BB#9: end_loop # label6: - i32.add $4=, $4, $3 + i32.add $3=, $3, $4 .LBB1_10: # %for.body19.preheader end_block # label4: - i32.load8_u $push9=, 0($4) - i32.const $push35=, 97 - i32.ne $push10=, $pop9, $pop35 + i32.load8_u $push9=, 0($3) + i32.const $push37=, 97 + i32.ne $push10=, $pop9, $pop37 br_if 0, $pop10 # 0: down to label0 # BB#11: # %for.inc25 - i32.load8_u $push11=, 1($4) - i32.const $push36=, 97 - i32.ne $push12=, $pop11, $pop36 + i32.load8_u $push11=, 1($3) + i32.const $push38=, 97 + i32.ne $push12=, $pop11, $pop38 br_if 0, $pop12 # 0: down to label0 # BB#12: # %for.inc25.1 - i32.load8_u $push13=, 2($4) - i32.const $push37=, 97 - i32.ne $push14=, $pop13, $pop37 + i32.load8_u $push13=, 2($3) + i32.const $push39=, 97 + i32.ne $push14=, $pop13, $pop39 br_if 0, $pop14 # 0: down to label0 # BB#13: # %for.inc25.2 - i32.load8_u $push15=, 3($4) - i32.const $push38=, 97 - i32.ne $push16=, $pop15, $pop38 + i32.load8_u $push15=, 3($3) + i32.const $push40=, 97 + i32.ne $push16=, $pop15, $pop40 br_if 0, $pop16 # 0: down to label0 # BB#14: # %for.inc25.3 - i32.load8_u $push17=, 4($4) - i32.const $push39=, 97 - i32.ne $push18=, $pop17, $pop39 + i32.load8_u $push17=, 4($3) + i32.const $push41=, 97 + i32.ne $push18=, $pop17, $pop41 br_if 0, $pop18 # 0: down to label0 # BB#15: # %for.inc25.4 - i32.load8_u $push19=, 5($4) - i32.const $push40=, 97 - i32.ne $push20=, $pop19, $pop40 + i32.load8_u $push19=, 5($3) + i32.const $push42=, 97 + i32.ne $push20=, $pop19, $pop42 br_if 0, $pop20 # 0: down to label0 # BB#16: # %for.inc25.5 - i32.load8_u $push21=, 6($4) - i32.const $push41=, 97 - i32.ne $push22=, $pop21, $pop41 + i32.load8_u $push21=, 6($3) + i32.const $push43=, 97 + i32.ne $push22=, $pop21, $pop43 br_if 0, $pop22 # 0: down to label0 # BB#17: # %for.inc25.6 - i32.load8_u $push23=, 7($4) - i32.const $push42=, 97 - i32.ne $push24=, $pop23, $pop42 + i32.load8_u $push23=, 7($3) + i32.const $push44=, 97 + i32.ne $push24=, $pop23, $pop44 br_if 0, $pop24 # 0: down to label0 # BB#18: # %for.inc25.7 return @@ -138,28 +139,29 @@ main: # @main .LBB2_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label7: - i32.const $push93=, u - i32.const $push92=, 97 - i32.const $push91=, 31 - i32.call $drop=, memset@FUNCTION, $pop93, $pop92, $pop91 - i32.const $push90=, 1 - i32.const $push89=, 0 - i32.store8 $push88=, u($1), $pop89 - tee_local $push87=, $0=, $pop88 - call check@FUNCTION, $1, $pop90, $pop87 + i32.const $push95=, u + i32.const $push94=, 97 + i32.const $push93=, 31 + i32.call $drop=, memset@FUNCTION, $pop95, $pop94, $pop93 + i32.const $push92=, 1 + i32.const $push91=, 0 + i32.store8 $push90=, u($1), $pop91 + tee_local $push89=, $0=, $pop90 + call check@FUNCTION, $1, $pop92, $pop89 i32.load8_u $push33=, A($0) i32.store8 $drop=, u($1), $pop33 + i32.const $push88=, 1 + i32.const $push87=, 65 + call check@FUNCTION, $1, $pop88, $pop87 i32.const $push86=, 1 - i32.const $push85=, 65 - call check@FUNCTION, $1, $pop86, $pop85 + i32.const $push85=, 66 + i32.store8 $push0=, u($1), $pop85 + call check@FUNCTION, $1, $pop86, $pop0 i32.const $push84=, 1 - i32.const $push83=, 66 - i32.store8 $push0=, u($1), $pop83 - call check@FUNCTION, $1, $pop84, $pop0 - i32.const $push82=, 1 - i32.add $1=, $1, $pop82 + i32.add $push83=, $1, $pop84 + tee_local $push82=, $1=, $pop83 i32.const $push81=, 8 - i32.ne $push34=, $1, $pop81 + i32.ne $push34=, $pop82, $pop81 br_if 0, $pop34 # 0: up to label7 # BB#2: # %for.body18.preheader end_loop # label8: @@ -167,31 +169,32 @@ main: # @main .LBB2_3: # %for.body18 # =>This Inner Loop Header: Depth=1 loop # label9: - i32.const $push108=, u - i32.const $push107=, 97 - i32.const $push106=, 31 - i32.call $drop=, memset@FUNCTION, $pop108, $pop107, $pop106 - i32.const $push105=, 2 - i32.const $push104=, 0 - i32.store16 $push103=, u($1):p2align=0, $pop104 - tee_local $push102=, $0=, $pop103 - call check@FUNCTION, $1, $pop105, $pop102 + i32.const $push112=, u + i32.const $push111=, 97 + i32.const $push110=, 31 + i32.call $drop=, memset@FUNCTION, $pop112, $pop111, $pop110 + i32.const $push109=, 2 + i32.const $push108=, 0 + i32.store16 $push107=, u($1):p2align=0, $pop108 + tee_local $push106=, $0=, $pop107 + call check@FUNCTION, $1, $pop109, $pop106 i32.load8_u $push35=, A($0) - i32.const $push101=, 257 - i32.mul $push36=, $pop35, $pop101 + i32.const $push105=, 257 + i32.mul $push36=, $pop35, $pop105 i32.store16 $drop=, u($1):p2align=0, $pop36 - i32.const $push100=, 2 - i32.const $push99=, 65 - call check@FUNCTION, $1, $pop100, $pop99 - i32.const $push98=, 16962 - i32.store16 $drop=, u($1):p2align=0, $pop98 - i32.const $push97=, 2 - i32.const $push96=, 66 - call check@FUNCTION, $1, $pop97, $pop96 - i32.const $push95=, 1 - i32.add $1=, $1, $pop95 - i32.const $push94=, 8 - i32.ne $push37=, $1, $pop94 + i32.const $push104=, 2 + i32.const $push103=, 65 + call check@FUNCTION, $1, $pop104, $pop103 + i32.const $push102=, 16962 + i32.store16 $drop=, u($1):p2align=0, $pop102 + i32.const $push101=, 2 + i32.const $push100=, 66 + call check@FUNCTION, $1, $pop101, $pop100 + i32.const $push99=, 1 + i32.add $push98=, $1, $pop99 + tee_local $push97=, $1=, $pop98 + i32.const $push96=, 8 + i32.ne $push37=, $pop97, $pop96 br_if 0, $pop37 # 0: up to label9 # BB#4: # %for.body44.preheader end_loop # label10: @@ -199,34 +202,35 @@ main: # @main .LBB2_5: # %for.body44 # =>This Inner Loop Header: Depth=1 loop # label11: - i32.const $push123=, u - i32.const $push122=, 97 - i32.const $push121=, 31 - i32.call $drop=, memset@FUNCTION, $pop123, $pop122, $pop121 - i32.const $push120=, 3 - i32.const $push119=, 0 - i32.store8 $push1=, u+2($1), $pop119 - i32.store16 $push118=, u($1):p2align=0, $pop1 - tee_local $push117=, $0=, $pop118 - call check@FUNCTION, $1, $pop120, $pop117 + i32.const $push129=, u + i32.const $push128=, 97 + i32.const $push127=, 31 + i32.call $drop=, memset@FUNCTION, $pop129, $pop128, $pop127 + i32.const $push126=, 3 + i32.const $push125=, 0 + i32.store8 $push1=, u+2($1), $pop125 + i32.store16 $push124=, u($1):p2align=0, $pop1 + tee_local $push123=, $0=, $pop124 + call check@FUNCTION, $1, $pop126, $pop123 i32.load8_u $push38=, A($0) i32.store8 $push2=, u+2($1), $pop38 - i32.const $push116=, 257 - i32.mul $push39=, $pop2, $pop116 + i32.const $push122=, 257 + i32.mul $push39=, $pop2, $pop122 i32.store16 $drop=, u($1):p2align=0, $pop39 - i32.const $push115=, 3 - i32.const $push114=, 65 - call check@FUNCTION, $1, $pop115, $pop114 - i32.const $push113=, 66 - i32.store8 $0=, u+2($1), $pop113 - i32.const $push112=, 16962 - i32.store16 $drop=, u($1):p2align=0, $pop112 - i32.const $push111=, 3 - call check@FUNCTION, $1, $pop111, $0 - i32.const $push110=, 1 - i32.add $1=, $1, $pop110 - i32.const $push109=, 8 - i32.ne $push40=, $1, $pop109 + i32.const $push121=, 3 + i32.const $push120=, 65 + call check@FUNCTION, $1, $pop121, $pop120 + i32.const $push119=, 66 + i32.store8 $0=, u+2($1), $pop119 + i32.const $push118=, 16962 + i32.store16 $drop=, u($1):p2align=0, $pop118 + i32.const $push117=, 3 + call check@FUNCTION, $1, $pop117, $0 + i32.const $push116=, 1 + i32.add $push115=, $1, $pop116 + tee_local $push114=, $1=, $pop115 + i32.const $push113=, 8 + i32.ne $push40=, $pop114, $pop113 br_if 0, $pop40 # 0: up to label11 # BB#6: # %for.body70.preheader end_loop # label12: @@ -234,31 +238,32 @@ main: # @main .LBB2_7: # %for.body70 # =>This Inner Loop Header: Depth=1 loop # label13: - i32.const $push138=, u - i32.const $push137=, 97 - i32.const $push136=, 31 - i32.call $drop=, memset@FUNCTION, $pop138, $pop137, $pop136 - i32.const $push135=, 4 - i32.const $push134=, 0 - i32.store $push133=, u($1):p2align=0, $pop134 - tee_local $push132=, $0=, $pop133 - call check@FUNCTION, $1, $pop135, $pop132 + i32.const $push146=, u + i32.const $push145=, 97 + i32.const $push144=, 31 + i32.call $drop=, memset@FUNCTION, $pop146, $pop145, $pop144 + i32.const $push143=, 4 + i32.const $push142=, 0 + i32.store $push141=, u($1):p2align=0, $pop142 + tee_local $push140=, $0=, $pop141 + call check@FUNCTION, $1, $pop143, $pop140 i32.load8_u $push41=, A($0) - i32.const $push131=, 16843009 - i32.mul $push42=, $pop41, $pop131 + i32.const $push139=, 16843009 + i32.mul $push42=, $pop41, $pop139 i32.store $drop=, u($1):p2align=0, $pop42 - i32.const $push130=, 4 - i32.const $push129=, 65 - call check@FUNCTION, $1, $pop130, $pop129 - i32.const $push128=, 1111638594 - i32.store $drop=, u($1):p2align=0, $pop128 - i32.const $push127=, 4 - i32.const $push126=, 66 - call check@FUNCTION, $1, $pop127, $pop126 - i32.const $push125=, 1 - i32.add $1=, $1, $pop125 - i32.const $push124=, 8 - i32.ne $push43=, $1, $pop124 + i32.const $push138=, 4 + i32.const $push137=, 65 + call check@FUNCTION, $1, $pop138, $pop137 + i32.const $push136=, 1111638594 + i32.store $drop=, u($1):p2align=0, $pop136 + i32.const $push135=, 4 + i32.const $push134=, 66 + call check@FUNCTION, $1, $pop135, $pop134 + i32.const $push133=, 1 + i32.add $push132=, $1, $pop133 + tee_local $push131=, $1=, $pop132 + i32.const $push130=, 8 + i32.ne $push43=, $pop131, $pop130 br_if 0, $pop43 # 0: up to label13 # BB#8: # %for.body96.preheader end_loop # label14: @@ -266,34 +271,35 @@ main: # @main .LBB2_9: # %for.body96 # =>This Inner Loop Header: Depth=1 loop # label15: - i32.const $push153=, u - i32.const $push152=, 97 - i32.const $push151=, 31 - i32.call $drop=, memset@FUNCTION, $pop153, $pop152, $pop151 - i32.const $push150=, 5 - i32.const $push149=, 0 - i32.store8 $push3=, u+4($1), $pop149 - i32.store $push148=, u($1):p2align=0, $pop3 - tee_local $push147=, $0=, $pop148 - call check@FUNCTION, $1, $pop150, $pop147 + i32.const $push163=, u + i32.const $push162=, 97 + i32.const $push161=, 31 + i32.call $drop=, memset@FUNCTION, $pop163, $pop162, $pop161 + i32.const $push160=, 5 + i32.const $push159=, 0 + i32.store8 $push3=, u+4($1), $pop159 + i32.store $push158=, u($1):p2align=0, $pop3 + tee_local $push157=, $0=, $pop158 + call check@FUNCTION, $1, $pop160, $pop157 i32.load8_u $push44=, A($0) i32.store8 $push4=, u+4($1), $pop44 - i32.const $push146=, 16843009 - i32.mul $push45=, $pop4, $pop146 + i32.const $push156=, 16843009 + i32.mul $push45=, $pop4, $pop156 i32.store $drop=, u($1):p2align=0, $pop45 - i32.const $push145=, 5 - i32.const $push144=, 65 - call check@FUNCTION, $1, $pop145, $pop144 - i32.const $push143=, 66 - i32.store8 $0=, u+4($1), $pop143 - i32.const $push142=, 1111638594 - i32.store $drop=, u($1):p2align=0, $pop142 - i32.const $push141=, 5 - call check@FUNCTION, $1, $pop141, $0 - i32.const $push140=, 1 - i32.add $1=, $1, $pop140 - i32.const $push139=, 8 - i32.ne $push46=, $1, $pop139 + i32.const $push155=, 5 + i32.const $push154=, 65 + call check@FUNCTION, $1, $pop155, $pop154 + i32.const $push153=, 66 + i32.store8 $0=, u+4($1), $pop153 + i32.const $push152=, 1111638594 + i32.store $drop=, u($1):p2align=0, $pop152 + i32.const $push151=, 5 + call check@FUNCTION, $1, $pop151, $0 + i32.const $push150=, 1 + i32.add $push149=, $1, $pop150 + tee_local $push148=, $1=, $pop149 + i32.const $push147=, 8 + i32.ne $push46=, $pop148, $pop147 br_if 0, $pop46 # 0: up to label15 # BB#10: # %for.body122.preheader end_loop # label16: @@ -301,38 +307,39 @@ main: # @main .LBB2_11: # %for.body122 # =>This Inner Loop Header: Depth=1 loop # label17: - i32.const $push172=, u - i32.const $push171=, 97 - i32.const $push170=, 31 - i32.call $drop=, memset@FUNCTION, $pop172, $pop171, $pop170 - i32.const $push169=, 6 - i32.const $push168=, 0 - i32.store16 $push5=, u+4($1):p2align=0, $pop168 - i32.store $push167=, u($1):p2align=0, $pop5 - tee_local $push166=, $0=, $pop167 - call check@FUNCTION, $1, $pop169, $pop166 - i32.load8_u $push165=, A($0) - tee_local $push164=, $0=, $pop165 - i32.const $push163=, 257 - i32.mul $push47=, $pop164, $pop163 + i32.const $push184=, u + i32.const $push183=, 97 + i32.const $push182=, 31 + i32.call $drop=, memset@FUNCTION, $pop184, $pop183, $pop182 + i32.const $push181=, 6 + i32.const $push180=, 0 + i32.store16 $push5=, u+4($1):p2align=0, $pop180 + i32.store $push179=, u($1):p2align=0, $pop5 + tee_local $push178=, $0=, $pop179 + call check@FUNCTION, $1, $pop181, $pop178 + i32.load8_u $push177=, A($0) + tee_local $push176=, $0=, $pop177 + i32.const $push175=, 257 + i32.mul $push47=, $pop176, $pop175 i32.store16 $drop=, u+4($1):p2align=0, $pop47 - i32.const $push162=, 16843009 - i32.mul $push48=, $0, $pop162 + i32.const $push174=, 16843009 + i32.mul $push48=, $0, $pop174 i32.store $drop=, u($1):p2align=0, $pop48 - i32.const $push161=, 6 - i32.const $push160=, 65 - call check@FUNCTION, $1, $pop161, $pop160 - i32.const $push159=, 16962 - i32.store16 $drop=, u+4($1):p2align=0, $pop159 - i32.const $push158=, 1111638594 - i32.store $drop=, u($1):p2align=0, $pop158 - i32.const $push157=, 6 - i32.const $push156=, 66 - call check@FUNCTION, $1, $pop157, $pop156 - i32.const $push155=, 1 - i32.add $1=, $1, $pop155 - i32.const $push154=, 8 - i32.ne $push49=, $1, $pop154 + i32.const $push173=, 6 + i32.const $push172=, 65 + call check@FUNCTION, $1, $pop173, $pop172 + i32.const $push171=, 16962 + i32.store16 $drop=, u+4($1):p2align=0, $pop171 + i32.const $push170=, 1111638594 + i32.store $drop=, u($1):p2align=0, $pop170 + i32.const $push169=, 6 + i32.const $push168=, 66 + call check@FUNCTION, $1, $pop169, $pop168 + i32.const $push167=, 1 + i32.add $push166=, $1, $pop167 + tee_local $push165=, $1=, $pop166 + i32.const $push164=, 8 + i32.ne $push49=, $pop165, $pop164 br_if 0, $pop49 # 0: up to label17 # BB#12: # %for.body148.preheader end_loop # label18: @@ -340,41 +347,42 @@ main: # @main .LBB2_13: # %for.body148 # =>This Inner Loop Header: Depth=1 loop # label19: - i32.const $push191=, u - i32.const $push190=, 97 - i32.const $push189=, 31 - i32.call $drop=, memset@FUNCTION, $pop191, $pop190, $pop189 - i32.const $push188=, 7 - i32.const $push187=, 0 - i32.store8 $push6=, u+6($1), $pop187 + i32.const $push205=, u + i32.const $push204=, 97 + i32.const $push203=, 31 + i32.call $drop=, memset@FUNCTION, $pop205, $pop204, $pop203 + i32.const $push202=, 7 + i32.const $push201=, 0 + i32.store8 $push6=, u+6($1), $pop201 i32.store16 $push7=, u+4($1):p2align=0, $pop6 - i32.store $push186=, u($1):p2align=0, $pop7 - tee_local $push185=, $0=, $pop186 - call check@FUNCTION, $1, $pop188, $pop185 + i32.store $push200=, u($1):p2align=0, $pop7 + tee_local $push199=, $0=, $pop200 + call check@FUNCTION, $1, $pop202, $pop199 i32.load8_u $push50=, A($0) - i32.store8 $push184=, u+6($1), $pop50 - tee_local $push183=, $0=, $pop184 - i32.const $push182=, 257 - i32.mul $push51=, $pop183, $pop182 + i32.store8 $push198=, u+6($1), $pop50 + tee_local $push197=, $0=, $pop198 + i32.const $push196=, 257 + i32.mul $push51=, $pop197, $pop196 i32.store16 $drop=, u+4($1):p2align=0, $pop51 - i32.const $push181=, 16843009 - i32.mul $push52=, $0, $pop181 + i32.const $push195=, 16843009 + i32.mul $push52=, $0, $pop195 i32.store $drop=, u($1):p2align=0, $pop52 - i32.const $push180=, 7 - i32.const $push179=, 65 - call check@FUNCTION, $1, $pop180, $pop179 - i32.const $push178=, 66 - i32.store8 $0=, u+6($1), $pop178 - i32.const $push177=, 16962 - i32.store16 $drop=, u+4($1):p2align=0, $pop177 - i32.const $push176=, 1111638594 - i32.store $drop=, u($1):p2align=0, $pop176 - i32.const $push175=, 7 - call check@FUNCTION, $1, $pop175, $0 - i32.const $push174=, 1 - i32.add $1=, $1, $pop174 - i32.const $push173=, 8 - i32.ne $push53=, $1, $pop173 + i32.const $push194=, 7 + i32.const $push193=, 65 + call check@FUNCTION, $1, $pop194, $pop193 + i32.const $push192=, 66 + i32.store8 $0=, u+6($1), $pop192 + i32.const $push191=, 16962 + i32.store16 $drop=, u+4($1):p2align=0, $pop191 + i32.const $push190=, 1111638594 + i32.store $drop=, u($1):p2align=0, $pop190 + i32.const $push189=, 7 + call check@FUNCTION, $1, $pop189, $0 + i32.const $push188=, 1 + i32.add $push187=, $1, $pop188 + tee_local $push186=, $1=, $pop187 + i32.const $push185=, 8 + i32.ne $push53=, $pop186, $pop185 br_if 0, $pop53 # 0: up to label19 # BB#14: # %for.body174.preheader end_loop # label20: @@ -382,33 +390,34 @@ main: # @main .LBB2_15: # %for.body174 # =>This Inner Loop Header: Depth=1 loop # label21: - i32.const $push206=, u - i32.const $push205=, 97 - i32.const $push204=, 31 - i32.call $drop=, memset@FUNCTION, $pop206, $pop205, $pop204 - i64.const $push203=, 0 - i64.store $drop=, u($1):p2align=0, $pop203 - i32.const $push202=, 8 - i32.const $push201=, 0 - call check@FUNCTION, $1, $pop202, $pop201 - i32.const $push200=, 0 - i32.load8_u $push54=, A($pop200) - i32.const $push199=, 16843009 - i32.mul $push55=, $pop54, $pop199 + i32.const $push222=, u + i32.const $push221=, 97 + i32.const $push220=, 31 + i32.call $drop=, memset@FUNCTION, $pop222, $pop221, $pop220 + i64.const $push219=, 0 + i64.store $drop=, u($1):p2align=0, $pop219 + i32.const $push218=, 8 + i32.const $push217=, 0 + call check@FUNCTION, $1, $pop218, $pop217 + i32.const $push216=, 0 + i32.load8_u $push54=, A($pop216) + i32.const $push215=, 16843009 + i32.mul $push55=, $pop54, $pop215 i32.store $push8=, u+4($1):p2align=0, $pop55 i32.store $drop=, u($1):p2align=0, $pop8 - i32.const $push198=, 8 - i32.const $push197=, 65 - call check@FUNCTION, $1, $pop198, $pop197 - i64.const $push196=, 4774451407313060418 - i64.store $drop=, u($1):p2align=0, $pop196 - i32.const $push195=, 8 - i32.const $push194=, 66 - call check@FUNCTION, $1, $pop195, $pop194 - i32.const $push193=, 1 - i32.add $1=, $1, $pop193 - i32.const $push192=, 8 - i32.ne $push56=, $1, $pop192 + i32.const $push214=, 8 + i32.const $push213=, 65 + call check@FUNCTION, $1, $pop214, $pop213 + i64.const $push212=, 4774451407313060418 + i64.store $drop=, u($1):p2align=0, $pop212 + i32.const $push211=, 8 + i32.const $push210=, 66 + call check@FUNCTION, $1, $pop211, $pop210 + i32.const $push209=, 1 + i32.add $push208=, $1, $pop209 + tee_local $push207=, $1=, $pop208 + i32.const $push206=, 8 + i32.ne $push56=, $pop207, $pop206 br_if 0, $pop56 # 0: up to label21 # BB#16: # %for.body200.preheader end_loop # label22: @@ -416,37 +425,38 @@ main: # @main .LBB2_17: # %for.body200 # =>This Inner Loop Header: Depth=1 loop # label23: - i32.const $push221=, u - i32.const $push220=, 97 - i32.const $push219=, 31 - i32.call $drop=, memset@FUNCTION, $pop221, $pop220, $pop219 - i32.const $push218=, 9 - i32.const $push217=, 0 - i32.store8 $push9=, u+8($1), $pop217 + i32.const $push239=, u + i32.const $push238=, 97 + i32.const $push237=, 31 + i32.call $drop=, memset@FUNCTION, $pop239, $pop238, $pop237 + i32.const $push236=, 9 + i32.const $push235=, 0 + i32.store8 $push9=, u+8($1), $pop235 i32.store $push10=, u+4($1):p2align=0, $pop9 - i32.store $push216=, u($1):p2align=0, $pop10 - tee_local $push215=, $0=, $pop216 - call check@FUNCTION, $1, $pop218, $pop215 + i32.store $push234=, u($1):p2align=0, $pop10 + tee_local $push233=, $0=, $pop234 + call check@FUNCTION, $1, $pop236, $pop233 i32.load8_u $push57=, A($0) i32.store8 $push11=, u+8($1), $pop57 - i32.const $push214=, 16843009 - i32.mul $push58=, $pop11, $pop214 + i32.const $push232=, 16843009 + i32.mul $push58=, $pop11, $pop232 i32.store $push12=, u+4($1):p2align=0, $pop58 i32.store $drop=, u($1):p2align=0, $pop12 - i32.const $push213=, 9 - i32.const $push212=, 65 - call check@FUNCTION, $1, $pop213, $pop212 - i32.const $push211=, 66 - i32.store8 $0=, u+8($1), $pop211 - i32.const $push210=, 1111638594 - i32.store $push13=, u+4($1):p2align=0, $pop210 + i32.const $push231=, 9 + i32.const $push230=, 65 + call check@FUNCTION, $1, $pop231, $pop230 + i32.const $push229=, 66 + i32.store8 $0=, u+8($1), $pop229 + i32.const $push228=, 1111638594 + i32.store $push13=, u+4($1):p2align=0, $pop228 i32.store $drop=, u($1):p2align=0, $pop13 - i32.const $push209=, 9 - call check@FUNCTION, $1, $pop209, $0 - i32.const $push208=, 1 - i32.add $1=, $1, $pop208 - i32.const $push207=, 8 - i32.ne $push59=, $1, $pop207 + i32.const $push227=, 9 + call check@FUNCTION, $1, $pop227, $0 + i32.const $push226=, 1 + i32.add $push225=, $1, $pop226 + tee_local $push224=, $1=, $pop225 + i32.const $push223=, 8 + i32.ne $push59=, $pop224, $pop223 br_if 0, $pop59 # 0: up to label23 # BB#18: # %for.body226.preheader end_loop # label24: @@ -454,41 +464,42 @@ main: # @main .LBB2_19: # %for.body226 # =>This Inner Loop Header: Depth=1 loop # label25: - i32.const $push240=, u - i32.const $push239=, 97 - i32.const $push238=, 31 - i32.call $drop=, memset@FUNCTION, $pop240, $pop239, $pop238 - i32.const $push237=, 10 - i32.const $push236=, 0 - i32.store16 $push14=, u+8($1):p2align=0, $pop236 + i32.const $push260=, u + i32.const $push259=, 97 + i32.const $push258=, 31 + i32.call $drop=, memset@FUNCTION, $pop260, $pop259, $pop258 + i32.const $push257=, 10 + i32.const $push256=, 0 + i32.store16 $push14=, u+8($1):p2align=0, $pop256 i32.store $push15=, u+4($1):p2align=0, $pop14 - i32.store $push235=, u($1):p2align=0, $pop15 - tee_local $push234=, $0=, $pop235 - call check@FUNCTION, $1, $pop237, $pop234 - i32.load8_u $push233=, A($0) - tee_local $push232=, $0=, $pop233 - i32.const $push231=, 257 - i32.mul $push60=, $pop232, $pop231 + i32.store $push255=, u($1):p2align=0, $pop15 + tee_local $push254=, $0=, $pop255 + call check@FUNCTION, $1, $pop257, $pop254 + i32.load8_u $push253=, A($0) + tee_local $push252=, $0=, $pop253 + i32.const $push251=, 257 + i32.mul $push60=, $pop252, $pop251 i32.store16 $drop=, u+8($1):p2align=0, $pop60 - i32.const $push230=, 16843009 - i32.mul $push61=, $0, $pop230 + i32.const $push250=, 16843009 + i32.mul $push61=, $0, $pop250 i32.store $push16=, u+4($1):p2align=0, $pop61 i32.store $drop=, u($1):p2align=0, $pop16 - i32.const $push229=, 10 - i32.const $push228=, 65 - call check@FUNCTION, $1, $pop229, $pop228 - i32.const $push227=, 16962 - i32.store16 $drop=, u+8($1):p2align=0, $pop227 - i32.const $push226=, 1111638594 - i32.store $push17=, u+4($1):p2align=0, $pop226 + i32.const $push249=, 10 + i32.const $push248=, 65 + call check@FUNCTION, $1, $pop249, $pop248 + i32.const $push247=, 16962 + i32.store16 $drop=, u+8($1):p2align=0, $pop247 + i32.const $push246=, 1111638594 + i32.store $push17=, u+4($1):p2align=0, $pop246 i32.store $drop=, u($1):p2align=0, $pop17 - i32.const $push225=, 10 - i32.const $push224=, 66 - call check@FUNCTION, $1, $pop225, $pop224 - i32.const $push223=, 1 - i32.add $1=, $1, $pop223 - i32.const $push222=, 8 - i32.ne $push62=, $1, $pop222 + i32.const $push245=, 10 + i32.const $push244=, 66 + call check@FUNCTION, $1, $pop245, $pop244 + i32.const $push243=, 1 + i32.add $push242=, $1, $pop243 + tee_local $push241=, $1=, $pop242 + i32.const $push240=, 8 + i32.ne $push62=, $pop241, $pop240 br_if 0, $pop62 # 0: up to label25 # BB#20: # %for.body252.preheader end_loop # label26: @@ -496,44 +507,45 @@ main: # @main .LBB2_21: # %for.body252 # =>This Inner Loop Header: Depth=1 loop # label27: - i32.const $push259=, u - i32.const $push258=, 97 - i32.const $push257=, 31 - i32.call $drop=, memset@FUNCTION, $pop259, $pop258, $pop257 - i32.const $push256=, 11 - i32.const $push255=, 0 - i32.store8 $push18=, u+10($1), $pop255 + i32.const $push281=, u + i32.const $push280=, 97 + i32.const $push279=, 31 + i32.call $drop=, memset@FUNCTION, $pop281, $pop280, $pop279 + i32.const $push278=, 11 + i32.const $push277=, 0 + i32.store8 $push18=, u+10($1), $pop277 i32.store16 $push19=, u+8($1):p2align=0, $pop18 i32.store $push20=, u+4($1):p2align=0, $pop19 - i32.store $push254=, u($1):p2align=0, $pop20 - tee_local $push253=, $0=, $pop254 - call check@FUNCTION, $1, $pop256, $pop253 + i32.store $push276=, u($1):p2align=0, $pop20 + tee_local $push275=, $0=, $pop276 + call check@FUNCTION, $1, $pop278, $pop275 i32.load8_u $push63=, A($0) - i32.store8 $push252=, u+10($1), $pop63 - tee_local $push251=, $0=, $pop252 - i32.const $push250=, 257 - i32.mul $push64=, $pop251, $pop250 + i32.store8 $push274=, u+10($1), $pop63 + tee_local $push273=, $0=, $pop274 + i32.const $push272=, 257 + i32.mul $push64=, $pop273, $pop272 i32.store16 $drop=, u+8($1):p2align=0, $pop64 - i32.const $push249=, 16843009 - i32.mul $push65=, $0, $pop249 + i32.const $push271=, 16843009 + i32.mul $push65=, $0, $pop271 i32.store $push21=, u+4($1):p2align=0, $pop65 i32.store $drop=, u($1):p2align=0, $pop21 - i32.const $push248=, 11 - i32.const $push247=, 65 - call check@FUNCTION, $1, $pop248, $pop247 - i32.const $push246=, 66 - i32.store8 $0=, u+10($1), $pop246 - i32.const $push245=, 16962 - i32.store16 $drop=, u+8($1):p2align=0, $pop245 - i32.const $push244=, 1111638594 - i32.store $push22=, u+4($1):p2align=0, $pop244 + i32.const $push270=, 11 + i32.const $push269=, 65 + call check@FUNCTION, $1, $pop270, $pop269 + i32.const $push268=, 66 + i32.store8 $0=, u+10($1), $pop268 + i32.const $push267=, 16962 + i32.store16 $drop=, u+8($1):p2align=0, $pop267 + i32.const $push266=, 1111638594 + i32.store $push22=, u+4($1):p2align=0, $pop266 i32.store $drop=, u($1):p2align=0, $pop22 - i32.const $push243=, 11 - call check@FUNCTION, $1, $pop243, $0 - i32.const $push242=, 1 - i32.add $1=, $1, $pop242 - i32.const $push241=, 8 - i32.ne $push66=, $1, $pop241 + i32.const $push265=, 11 + call check@FUNCTION, $1, $pop265, $0 + i32.const $push264=, 1 + i32.add $push263=, $1, $pop264 + tee_local $push262=, $1=, $pop263 + i32.const $push261=, 8 + i32.ne $push66=, $pop262, $pop261 br_if 0, $pop66 # 0: up to label27 # BB#22: # %for.body278.preheader end_loop # label28: @@ -541,37 +553,38 @@ main: # @main .LBB2_23: # %for.body278 # =>This Inner Loop Header: Depth=1 loop # label29: - i32.const $push276=, u - i32.const $push275=, 97 - i32.const $push274=, 31 - i32.call $drop=, memset@FUNCTION, $pop276, $pop275, $pop274 - i64.const $push273=, 0 - i64.store $drop=, u+4($1):p2align=0, $pop273 - i32.const $push272=, 12 - i32.const $push271=, 0 - i32.store $push270=, u($1):p2align=0, $pop271 - tee_local $push269=, $0=, $pop270 - call check@FUNCTION, $1, $pop272, $pop269 + i32.const $push300=, u + i32.const $push299=, 97 + i32.const $push298=, 31 + i32.call $drop=, memset@FUNCTION, $pop300, $pop299, $pop298 + i64.const $push297=, 0 + i64.store $drop=, u+4($1):p2align=0, $pop297 + i32.const $push296=, 12 + i32.const $push295=, 0 + i32.store $push294=, u($1):p2align=0, $pop295 + tee_local $push293=, $0=, $pop294 + call check@FUNCTION, $1, $pop296, $pop293 i32.load8_u $push67=, A($0) - i32.const $push268=, 16843009 - i32.mul $push68=, $pop67, $pop268 + i32.const $push292=, 16843009 + i32.mul $push68=, $pop67, $pop292 i32.store $push23=, u+8($1):p2align=0, $pop68 i32.store $push24=, u+4($1):p2align=0, $pop23 i32.store $drop=, u($1):p2align=0, $pop24 - i32.const $push267=, 12 - i32.const $push266=, 65 - call check@FUNCTION, $1, $pop267, $pop266 - i64.const $push265=, 4774451407313060418 - i64.store $drop=, u+4($1):p2align=0, $pop265 - i32.const $push264=, 1111638594 - i32.store $drop=, u($1):p2align=0, $pop264 - i32.const $push263=, 12 - i32.const $push262=, 66 - call check@FUNCTION, $1, $pop263, $pop262 - i32.const $push261=, 1 - i32.add $1=, $1, $pop261 - i32.const $push260=, 8 - i32.ne $push69=, $1, $pop260 + i32.const $push291=, 12 + i32.const $push290=, 65 + call check@FUNCTION, $1, $pop291, $pop290 + i64.const $push289=, 4774451407313060418 + i64.store $drop=, u+4($1):p2align=0, $pop289 + i32.const $push288=, 1111638594 + i32.store $drop=, u($1):p2align=0, $pop288 + i32.const $push287=, 12 + i32.const $push286=, 66 + call check@FUNCTION, $1, $pop287, $pop286 + i32.const $push285=, 1 + i32.add $push284=, $1, $pop285 + tee_local $push283=, $1=, $pop284 + i32.const $push282=, 8 + i32.ne $push69=, $pop283, $pop282 br_if 0, $pop69 # 0: up to label29 # BB#24: # %for.body304.preheader end_loop # label30: @@ -579,40 +592,41 @@ main: # @main .LBB2_25: # %for.body304 # =>This Inner Loop Header: Depth=1 loop # label31: - i32.const $push293=, u - i32.const $push292=, 97 - i32.const $push291=, 31 - i32.call $drop=, memset@FUNCTION, $pop293, $pop292, $pop291 - i32.const $push290=, 0 - i32.store8 $0=, u+12($1), $pop290 - i64.const $push289=, 0 - i64.store $drop=, u+4($1):p2align=0, $pop289 - i32.const $push288=, 13 - i32.store $push287=, u($1):p2align=0, $0 - tee_local $push286=, $0=, $pop287 - call check@FUNCTION, $1, $pop288, $pop286 + i32.const $push319=, u + i32.const $push318=, 97 + i32.const $push317=, 31 + i32.call $drop=, memset@FUNCTION, $pop319, $pop318, $pop317 + i32.const $push316=, 0 + i32.store8 $0=, u+12($1), $pop316 + i64.const $push315=, 0 + i64.store $drop=, u+4($1):p2align=0, $pop315 + i32.const $push314=, 13 + i32.store $push313=, u($1):p2align=0, $0 + tee_local $push312=, $0=, $pop313 + call check@FUNCTION, $1, $pop314, $pop312 i32.load8_u $push70=, A($0) i32.store8 $push25=, u+12($1), $pop70 - i32.const $push285=, 16843009 - i32.mul $push71=, $pop25, $pop285 + i32.const $push311=, 16843009 + i32.mul $push71=, $pop25, $pop311 i32.store $push26=, u+8($1):p2align=0, $pop71 i32.store $push27=, u+4($1):p2align=0, $pop26 i32.store $drop=, u($1):p2align=0, $pop27 - i32.const $push284=, 13 - i32.const $push283=, 65 - call check@FUNCTION, $1, $pop284, $pop283 - i32.const $push282=, 66 - i32.store8 $0=, u+12($1), $pop282 - i64.const $push281=, 4774451407313060418 - i64.store $drop=, u+4($1):p2align=0, $pop281 - i32.const $push280=, 1111638594 - i32.store $drop=, u($1):p2align=0, $pop280 - i32.const $push279=, 13 - call check@FUNCTION, $1, $pop279, $0 - i32.const $push278=, 1 - i32.add $1=, $1, $pop278 - i32.const $push277=, 8 - i32.ne $push72=, $1, $pop277 + i32.const $push310=, 13 + i32.const $push309=, 65 + call check@FUNCTION, $1, $pop310, $pop309 + i32.const $push308=, 66 + i32.store8 $0=, u+12($1), $pop308 + i64.const $push307=, 4774451407313060418 + i64.store $drop=, u+4($1):p2align=0, $pop307 + i32.const $push306=, 1111638594 + i32.store $drop=, u($1):p2align=0, $pop306 + i32.const $push305=, 13 + call check@FUNCTION, $1, $pop305, $0 + i32.const $push304=, 1 + i32.add $push303=, $1, $pop304 + tee_local $push302=, $1=, $pop303 + i32.const $push301=, 8 + i32.ne $push72=, $pop302, $pop301 br_if 0, $pop72 # 0: up to label31 # BB#26: # %for.body330.preheader end_loop # label32: @@ -620,44 +634,45 @@ main: # @main .LBB2_27: # %for.body330 # =>This Inner Loop Header: Depth=1 loop # label33: - i32.const $push314=, u - i32.const $push313=, 97 - i32.const $push312=, 31 - i32.call $drop=, memset@FUNCTION, $pop314, $pop313, $pop312 - i32.const $push311=, 0 - i32.store16 $0=, u+12($1):p2align=0, $pop311 - i64.const $push310=, 0 - i64.store $drop=, u+4($1):p2align=0, $pop310 - i32.const $push309=, 14 - i32.store $push308=, u($1):p2align=0, $0 - tee_local $push307=, $0=, $pop308 - call check@FUNCTION, $1, $pop309, $pop307 - i32.load8_u $push306=, A($0) - tee_local $push305=, $0=, $pop306 - i32.const $push304=, 257 - i32.mul $push73=, $pop305, $pop304 + i32.const $push342=, u + i32.const $push341=, 97 + i32.const $push340=, 31 + i32.call $drop=, memset@FUNCTION, $pop342, $pop341, $pop340 + i32.const $push339=, 0 + i32.store16 $0=, u+12($1):p2align=0, $pop339 + i64.const $push338=, 0 + i64.store $drop=, u+4($1):p2align=0, $pop338 + i32.const $push337=, 14 + i32.store $push336=, u($1):p2align=0, $0 + tee_local $push335=, $0=, $pop336 + call check@FUNCTION, $1, $pop337, $pop335 + i32.load8_u $push334=, A($0) + tee_local $push333=, $0=, $pop334 + i32.const $push332=, 257 + i32.mul $push73=, $pop333, $pop332 i32.store16 $drop=, u+12($1):p2align=0, $pop73 - i32.const $push303=, 16843009 - i32.mul $push74=, $0, $pop303 + i32.const $push331=, 16843009 + i32.mul $push74=, $0, $pop331 i32.store $push28=, u+8($1):p2align=0, $pop74 i32.store $push29=, u+4($1):p2align=0, $pop28 i32.store $drop=, u($1):p2align=0, $pop29 - i32.const $push302=, 14 - i32.const $push301=, 65 - call check@FUNCTION, $1, $pop302, $pop301 - i32.const $push300=, 16962 - i32.store16 $drop=, u+12($1):p2align=0, $pop300 - i64.const $push299=, 4774451407313060418 - i64.store $drop=, u+4($1):p2align=0, $pop299 - i32.const $push298=, 1111638594 - i32.store $drop=, u($1):p2align=0, $pop298 - i32.const $push297=, 14 - i32.const $push296=, 66 - call check@FUNCTION, $1, $pop297, $pop296 - i32.const $push295=, 1 - i32.add $1=, $1, $pop295 - i32.const $push294=, 8 - i32.ne $push75=, $1, $pop294 + i32.const $push330=, 14 + i32.const $push329=, 65 + call check@FUNCTION, $1, $pop330, $pop329 + i32.const $push328=, 16962 + i32.store16 $drop=, u+12($1):p2align=0, $pop328 + i64.const $push327=, 4774451407313060418 + i64.store $drop=, u+4($1):p2align=0, $pop327 + i32.const $push326=, 1111638594 + i32.store $drop=, u($1):p2align=0, $pop326 + i32.const $push325=, 14 + i32.const $push324=, 66 + call check@FUNCTION, $1, $pop325, $pop324 + i32.const $push323=, 1 + i32.add $push322=, $1, $pop323 + tee_local $push321=, $1=, $pop322 + i32.const $push320=, 8 + i32.ne $push75=, $pop321, $pop320 br_if 0, $pop75 # 0: up to label33 # BB#28: # %for.body356.preheader end_loop # label34: @@ -665,47 +680,48 @@ main: # @main .LBB2_29: # %for.body356 # =>This Inner Loop Header: Depth=1 loop # label35: - i32.const $push335=, u - i32.const $push334=, 97 - i32.const $push333=, 31 - i32.call $drop=, memset@FUNCTION, $pop335, $pop334, $pop333 - i32.const $push332=, 0 - i32.store8 $push30=, u+14($1), $pop332 + i32.const $push365=, u + i32.const $push364=, 97 + i32.const $push363=, 31 + i32.call $drop=, memset@FUNCTION, $pop365, $pop364, $pop363 + i32.const $push362=, 0 + i32.store8 $push30=, u+14($1), $pop362 i32.store16 $0=, u+12($1):p2align=0, $pop30 - i64.const $push331=, 0 - i64.store $drop=, u+4($1):p2align=0, $pop331 - i32.const $push330=, 15 - i32.store $push329=, u($1):p2align=0, $0 - tee_local $push328=, $0=, $pop329 - call check@FUNCTION, $1, $pop330, $pop328 + i64.const $push361=, 0 + i64.store $drop=, u+4($1):p2align=0, $pop361 + i32.const $push360=, 15 + i32.store $push359=, u($1):p2align=0, $0 + tee_local $push358=, $0=, $pop359 + call check@FUNCTION, $1, $pop360, $pop358 i32.load8_u $push76=, A($0) - i32.store8 $push327=, u+14($1), $pop76 - tee_local $push326=, $0=, $pop327 - i32.const $push325=, 257 - i32.mul $push77=, $pop326, $pop325 + i32.store8 $push357=, u+14($1), $pop76 + tee_local $push356=, $0=, $pop357 + i32.const $push355=, 257 + i32.mul $push77=, $pop356, $pop355 i32.store16 $drop=, u+12($1):p2align=0, $pop77 - i32.const $push324=, 16843009 - i32.mul $push78=, $0, $pop324 + i32.const $push354=, 16843009 + i32.mul $push78=, $0, $pop354 i32.store $push31=, u+8($1):p2align=0, $pop78 i32.store $push32=, u+4($1):p2align=0, $pop31 i32.store $drop=, u($1):p2align=0, $pop32 - i32.const $push323=, 15 - i32.const $push322=, 65 - call check@FUNCTION, $1, $pop323, $pop322 - i32.const $push321=, 66 - i32.store8 $0=, u+14($1), $pop321 - i32.const $push320=, 16962 - i32.store16 $drop=, u+12($1):p2align=0, $pop320 - i64.const $push319=, 4774451407313060418 - i64.store $drop=, u+4($1):p2align=0, $pop319 - i32.const $push318=, 1111638594 - i32.store $drop=, u($1):p2align=0, $pop318 - i32.const $push317=, 15 - call check@FUNCTION, $1, $pop317, $0 - i32.const $push316=, 1 - i32.add $1=, $1, $pop316 - i32.const $push315=, 8 - i32.ne $push79=, $1, $pop315 + i32.const $push353=, 15 + i32.const $push352=, 65 + call check@FUNCTION, $1, $pop353, $pop352 + i32.const $push351=, 66 + i32.store8 $0=, u+14($1), $pop351 + i32.const $push350=, 16962 + i32.store16 $drop=, u+12($1):p2align=0, $pop350 + i64.const $push349=, 4774451407313060418 + i64.store $drop=, u+4($1):p2align=0, $pop349 + i32.const $push348=, 1111638594 + i32.store $drop=, u($1):p2align=0, $pop348 + i32.const $push347=, 15 + call check@FUNCTION, $1, $pop347, $0 + i32.const $push346=, 1 + i32.add $push345=, $1, $pop346 + tee_local $push344=, $1=, $pop345 + i32.const $push343=, 8 + i32.ne $push79=, $pop344, $pop343 br_if 0, $pop79 # 0: up to label35 # BB#30: # %for.end378 end_loop # label36: diff --git a/test/torture-s/memset-3.c.s b/test/torture-s/memset-3.c.s index 2ff0dffcd..b83fb08bb 100644 --- a/test/torture-s/memset-3.c.s +++ b/test/torture-s/memset-3.c.s @@ -6,11 +6,11 @@ .type reset,@function reset: # @reset # BB#0: # %entry - i32.const $push0=, u - i32.const $push2=, 97 - i32.const $push1=, 31 - i32.call $drop=, memset@FUNCTION, $pop0, $pop2, $pop1 - return + i32.const $push2=, u + i32.const $push1=, 97 + i32.const $push0=, 31 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 + # fallthrough-return .endfunc .Lfunc_end0: .size reset, .Lfunc_end0-reset @@ -23,19 +23,19 @@ check: # @check .param i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $4=, u + i32.const $3=, u block block i32.const $push25=, 1 i32.lt_s $push0=, $0, $pop25 br_if 0, $pop0 # 0: down to label1 # BB#1: # %for.body.preheader - i32.const $3=, 0 + i32.const $4=, 0 .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - copy_local $push28=, $3 - tee_local $push27=, $4=, $pop28 + copy_local $push28=, $4 + tee_local $push27=, $3=, $pop28 i32.load8_u $push1=, u($pop27) i32.const $push26=, 97 i32.ne $push2=, $pop1, $pop26 @@ -43,14 +43,14 @@ check: # @check # BB#3: # %for.inc # in Loop: Header=BB1_2 Depth=1 i32.const $push31=, 1 - i32.add $push30=, $4, $pop31 - tee_local $push29=, $3=, $pop30 + i32.add $push30=, $3, $pop31 + tee_local $push29=, $4=, $pop30 i32.lt_s $push3=, $pop29, $0 br_if 0, $pop3 # 0: up to label2 # BB#4: end_loop # label3: i32.const $push32=, u+1 - i32.add $4=, $4, $pop32 + i32.add $3=, $3, $pop32 .LBB1_5: # %for.cond3.preheader end_block # label1: block @@ -58,63 +58,64 @@ check: # @check i32.lt_s $push4=, $1, $pop33 br_if 0, $pop4 # 0: down to label4 # BB#6: # %for.body6.preheader - i32.const $3=, 0 + i32.const $4=, 0 .LBB1_7: # %for.body6 # =>This Inner Loop Header: Depth=1 loop # label5: - i32.add $push5=, $4, $3 + i32.add $push5=, $3, $4 i32.load8_s $push6=, 0($pop5) i32.ne $push7=, $pop6, $2 br_if 3, $pop7 # 3: down to label0 # BB#8: # %for.inc12 # in Loop: Header=BB1_7 Depth=1 - i32.const $push34=, 1 - i32.add $3=, $3, $pop34 - i32.lt_s $push8=, $3, $1 + i32.const $push36=, 1 + i32.add $push35=, $4, $pop36 + tee_local $push34=, $4=, $pop35 + i32.lt_s $push8=, $pop34, $1 br_if 0, $pop8 # 0: up to label5 # BB#9: end_loop # label6: - i32.add $4=, $4, $3 + i32.add $3=, $3, $4 .LBB1_10: # %for.body19.preheader end_block # label4: - i32.load8_u $push9=, 0($4) - i32.const $push35=, 97 - i32.ne $push10=, $pop9, $pop35 + i32.load8_u $push9=, 0($3) + i32.const $push37=, 97 + i32.ne $push10=, $pop9, $pop37 br_if 0, $pop10 # 0: down to label0 # BB#11: # %for.inc25 - i32.load8_u $push11=, 1($4) - i32.const $push36=, 97 - i32.ne $push12=, $pop11, $pop36 + i32.load8_u $push11=, 1($3) + i32.const $push38=, 97 + i32.ne $push12=, $pop11, $pop38 br_if 0, $pop12 # 0: down to label0 # BB#12: # %for.inc25.1 - i32.load8_u $push13=, 2($4) - i32.const $push37=, 97 - i32.ne $push14=, $pop13, $pop37 + i32.load8_u $push13=, 2($3) + i32.const $push39=, 97 + i32.ne $push14=, $pop13, $pop39 br_if 0, $pop14 # 0: down to label0 # BB#13: # %for.inc25.2 - i32.load8_u $push15=, 3($4) - i32.const $push38=, 97 - i32.ne $push16=, $pop15, $pop38 + i32.load8_u $push15=, 3($3) + i32.const $push40=, 97 + i32.ne $push16=, $pop15, $pop40 br_if 0, $pop16 # 0: down to label0 # BB#14: # %for.inc25.3 - i32.load8_u $push17=, 4($4) - i32.const $push39=, 97 - i32.ne $push18=, $pop17, $pop39 + i32.load8_u $push17=, 4($3) + i32.const $push41=, 97 + i32.ne $push18=, $pop17, $pop41 br_if 0, $pop18 # 0: down to label0 # BB#15: # %for.inc25.4 - i32.load8_u $push19=, 5($4) - i32.const $push40=, 97 - i32.ne $push20=, $pop19, $pop40 + i32.load8_u $push19=, 5($3) + i32.const $push42=, 97 + i32.ne $push20=, $pop19, $pop42 br_if 0, $pop20 # 0: down to label0 # BB#16: # %for.inc25.5 - i32.load8_u $push21=, 6($4) - i32.const $push41=, 97 - i32.ne $push22=, $pop21, $pop41 + i32.load8_u $push21=, 6($3) + i32.const $push43=, 97 + i32.ne $push22=, $pop21, $pop43 br_if 0, $pop22 # 0: down to label0 # BB#17: # %for.inc25.6 - i32.load8_u $push23=, 7($4) - i32.const $push42=, 97 - i32.ne $push24=, $pop23, $pop42 + i32.load8_u $push23=, 7($3) + i32.const $push44=, 97 + i32.ne $push24=, $pop23, $pop44 br_if 0, $pop24 # 0: down to label0 # BB#18: # %for.inc25.7 return @@ -134,7 +135,7 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $3=, 0 .LBB2_1: # %for.body # =>This Loop Header: Depth=1 # Child Loop BB2_3 Depth 2 @@ -148,10 +149,10 @@ main: # @main i32.const $push78=, 31 i32.call $push0=, memset@FUNCTION, $pop80, $pop79, $pop78 i32.const $push77=, 0 - i32.call $drop=, memset@FUNCTION, $pop0, $pop77, $1 + i32.call $drop=, memset@FUNCTION, $pop0, $pop77, $3 block i32.const $push76=, 1 - i32.lt_s $push75=, $1, $pop76 + i32.lt_s $push75=, $3, $pop76 tee_local $push74=, $2=, $pop75 br_if 0, $pop74 # 0: down to label10 # BB#2: # %for.body6.i.preheader @@ -162,20 +163,20 @@ main: # @main # => This Inner Loop Header: Depth=2 loop # label11: copy_local $push82=, $0 - tee_local $push81=, $3=, $pop82 + tee_local $push81=, $1=, $pop82 i32.load8_u $push1=, u($pop81) br_if 5, $pop1 # 5: down to label7 # BB#4: # %for.inc12.i # in Loop: Header=BB2_3 Depth=2 i32.const $push85=, 1 - i32.add $push84=, $3, $pop85 + i32.add $push84=, $1, $pop85 tee_local $push83=, $0=, $pop84 - i32.lt_s $push2=, $pop83, $1 + i32.lt_s $push2=, $pop83, $3 br_if 0, $pop2 # 0: up to label11 # BB#5: # in Loop: Header=BB2_1 Depth=1 end_loop # label12: i32.const $push86=, u+1 - i32.add $0=, $3, $pop86 + i32.add $0=, $1, $pop86 .LBB2_6: # %for.body19.preheader.i # in Loop: Header=BB2_1 Depth=1 end_block # label10: @@ -231,7 +232,7 @@ main: # @main i32.const $push96=, u i32.const $push95=, 0 i32.load8_u $push19=, A($pop95) - i32.call $drop=, memset@FUNCTION, $pop96, $pop19, $1 + i32.call $drop=, memset@FUNCTION, $pop96, $pop19, $3 block br_if 0, $2 # 0: down to label13 # BB#15: # %for.body6.i241.preheader @@ -242,7 +243,7 @@ main: # @main # => This Inner Loop Header: Depth=2 loop # label14: copy_local $push99=, $0 - tee_local $push98=, $3=, $pop99 + tee_local $push98=, $1=, $pop99 i32.load8_u $push20=, u($pop98) i32.const $push97=, 65 i32.ne $push21=, $pop20, $pop97 @@ -250,14 +251,14 @@ main: # @main # BB#17: # %for.inc12.i246 # in Loop: Header=BB2_16 Depth=2 i32.const $push102=, 1 - i32.add $push101=, $3, $pop102 + i32.add $push101=, $1, $pop102 tee_local $push100=, $0=, $pop101 - i32.lt_s $push22=, $pop100, $1 + i32.lt_s $push22=, $pop100, $3 br_if 0, $pop22 # 0: up to label14 # BB#18: # in Loop: Header=BB2_1 Depth=1 end_loop # label15: i32.const $push103=, u+1 - i32.add $0=, $3, $pop103 + i32.add $0=, $1, $pop103 .LBB2_19: # %for.body19.preheader.i249 # in Loop: Header=BB2_1 Depth=1 end_block # label13: @@ -312,7 +313,7 @@ main: # @main i32.const $0=, u i32.const $push113=, u i32.const $push112=, 66 - i32.call $drop=, memset@FUNCTION, $pop113, $pop112, $1 + i32.call $drop=, memset@FUNCTION, $pop113, $pop112, $3 block br_if 0, $2 # 0: down to label16 # BB#28: # %for.body6.i278.preheader @@ -323,7 +324,7 @@ main: # @main # => This Inner Loop Header: Depth=2 loop # label17: copy_local $push116=, $0 - tee_local $push115=, $3=, $pop116 + tee_local $push115=, $1=, $pop116 i32.load8_u $push39=, u($pop115) i32.const $push114=, 66 i32.ne $push40=, $pop39, $pop114 @@ -331,14 +332,14 @@ main: # @main # BB#30: # %for.inc12.i283 # in Loop: Header=BB2_29 Depth=2 i32.const $push119=, 1 - i32.add $push118=, $3, $pop119 + i32.add $push118=, $1, $pop119 tee_local $push117=, $0=, $pop118 - i32.lt_s $push41=, $pop117, $1 + i32.lt_s $push41=, $pop117, $3 br_if 0, $pop41 # 0: up to label17 # BB#31: # in Loop: Header=BB2_1 Depth=1 end_loop # label18: i32.const $push120=, u+1 - i32.add $0=, $3, $pop120 + i32.add $0=, $1, $pop120 .LBB2_32: # %for.body19.preheader.i286 # in Loop: Header=BB2_1 Depth=1 end_block # label16: @@ -390,234 +391,242 @@ main: # @main br_if 2, $pop57 # 2: down to label7 # BB#40: # %for.cond # in Loop: Header=BB2_1 Depth=1 - i32.const $push130=, 1 - i32.add $1=, $1, $pop130 + i32.const $push132=, 1 + i32.add $push131=, $3, $pop132 + tee_local $push130=, $3=, $pop131 i32.const $push129=, 15 - i32.lt_s $push58=, $1, $pop129 + i32.lt_s $push58=, $pop130, $pop129 br_if 0, $pop58 # 0: up to label8 # BB#41: # %for.body13.preheader end_loop # label9: - i32.const $1=, 0 + i32.const $3=, 0 .LBB2_42: # %for.body13 # =>This Inner Loop Header: Depth=1 loop # label19: - i32.const $push145=, u - i32.const $push144=, 97 - i32.const $push143=, 31 - i32.call $drop=, memset@FUNCTION, $pop145, $pop144, $pop143 - i32.const $push142=, u+1 - i32.const $push141=, 0 - i32.call $0=, memset@FUNCTION, $pop142, $pop141, $1 - i32.const $push140=, 1 - i32.const $push139=, 0 - call check@FUNCTION, $pop140, $1, $pop139 - i32.const $push138=, 0 - i32.load8_u $push59=, A($pop138) - i32.call $drop=, memset@FUNCTION, $0, $pop59, $1 - i32.const $push137=, 1 - i32.const $push136=, 65 - call check@FUNCTION, $pop137, $1, $pop136 - i32.const $push135=, 66 - i32.call $drop=, memset@FUNCTION, $0, $pop135, $1 - i32.const $push134=, 1 - i32.const $push133=, 66 - call check@FUNCTION, $pop134, $1, $pop133 - i32.const $push132=, 1 - i32.add $1=, $1, $pop132 - i32.const $push131=, 15 - i32.ne $push60=, $1, $pop131 + i32.const $push149=, u + i32.const $push148=, 97 + i32.const $push147=, 31 + i32.call $drop=, memset@FUNCTION, $pop149, $pop148, $pop147 + i32.const $push146=, u+1 + i32.const $push145=, 0 + i32.call $0=, memset@FUNCTION, $pop146, $pop145, $3 + i32.const $push144=, 1 + i32.const $push143=, 0 + call check@FUNCTION, $pop144, $3, $pop143 + i32.const $push142=, 0 + i32.load8_u $push59=, A($pop142) + i32.call $drop=, memset@FUNCTION, $0, $pop59, $3 + i32.const $push141=, 1 + i32.const $push140=, 65 + call check@FUNCTION, $pop141, $3, $pop140 + i32.const $push139=, 66 + i32.call $drop=, memset@FUNCTION, $0, $pop139, $3 + i32.const $push138=, 1 + i32.const $push137=, 66 + call check@FUNCTION, $pop138, $3, $pop137 + i32.const $push136=, 1 + i32.add $push135=, $3, $pop136 + tee_local $push134=, $3=, $pop135 + i32.const $push133=, 15 + i32.ne $push60=, $pop134, $pop133 br_if 0, $pop60 # 0: up to label19 # BB#43: # %for.body33.preheader end_loop # label20: - i32.const $1=, 0 + i32.const $3=, 0 .LBB2_44: # %for.body33 # =>This Inner Loop Header: Depth=1 loop # label21: - i32.const $push160=, u - i32.const $push159=, 97 - i32.const $push158=, 31 - i32.call $drop=, memset@FUNCTION, $pop160, $pop159, $pop158 - i32.const $push157=, u+2 - i32.const $push156=, 0 - i32.call $0=, memset@FUNCTION, $pop157, $pop156, $1 + i32.const $push166=, u + i32.const $push165=, 97 + i32.const $push164=, 31 + i32.call $drop=, memset@FUNCTION, $pop166, $pop165, $pop164 + i32.const $push163=, u+2 + i32.const $push162=, 0 + i32.call $0=, memset@FUNCTION, $pop163, $pop162, $3 + i32.const $push161=, 2 + i32.const $push160=, 0 + call check@FUNCTION, $pop161, $3, $pop160 + i32.const $push159=, 0 + i32.load8_u $push61=, A($pop159) + i32.call $drop=, memset@FUNCTION, $0, $pop61, $3 + i32.const $push158=, 2 + i32.const $push157=, 65 + call check@FUNCTION, $pop158, $3, $pop157 + i32.const $push156=, 66 + i32.call $drop=, memset@FUNCTION, $0, $pop156, $3 i32.const $push155=, 2 - i32.const $push154=, 0 - call check@FUNCTION, $pop155, $1, $pop154 - i32.const $push153=, 0 - i32.load8_u $push61=, A($pop153) - i32.call $drop=, memset@FUNCTION, $0, $pop61, $1 - i32.const $push152=, 2 - i32.const $push151=, 65 - call check@FUNCTION, $pop152, $1, $pop151 - i32.const $push150=, 66 - i32.call $drop=, memset@FUNCTION, $0, $pop150, $1 - i32.const $push149=, 2 - i32.const $push148=, 66 - call check@FUNCTION, $pop149, $1, $pop148 - i32.const $push147=, 1 - i32.add $1=, $1, $pop147 - i32.const $push146=, 15 - i32.ne $push62=, $1, $pop146 + i32.const $push154=, 66 + call check@FUNCTION, $pop155, $3, $pop154 + i32.const $push153=, 1 + i32.add $push152=, $3, $pop153 + tee_local $push151=, $3=, $pop152 + i32.const $push150=, 15 + i32.ne $push62=, $pop151, $pop150 br_if 0, $pop62 # 0: up to label21 # BB#45: # %for.body53.preheader end_loop # label22: - i32.const $1=, 0 + i32.const $3=, 0 .LBB2_46: # %for.body53 # =>This Inner Loop Header: Depth=1 loop # label23: - i32.const $push175=, u - i32.const $push174=, 97 - i32.const $push173=, 31 - i32.call $drop=, memset@FUNCTION, $pop175, $pop174, $pop173 - i32.const $push172=, u+3 - i32.const $push171=, 0 - i32.call $0=, memset@FUNCTION, $pop172, $pop171, $1 - i32.const $push170=, 3 - i32.const $push169=, 0 - call check@FUNCTION, $pop170, $1, $pop169 - i32.const $push168=, 0 - i32.load8_u $push63=, A($pop168) - i32.call $drop=, memset@FUNCTION, $0, $pop63, $1 - i32.const $push167=, 3 - i32.const $push166=, 65 - call check@FUNCTION, $pop167, $1, $pop166 - i32.const $push165=, 66 - i32.call $drop=, memset@FUNCTION, $0, $pop165, $1 - i32.const $push164=, 3 - i32.const $push163=, 66 - call check@FUNCTION, $pop164, $1, $pop163 - i32.const $push162=, 1 - i32.add $1=, $1, $pop162 - i32.const $push161=, 15 - i32.ne $push64=, $1, $pop161 + i32.const $push183=, u + i32.const $push182=, 97 + i32.const $push181=, 31 + i32.call $drop=, memset@FUNCTION, $pop183, $pop182, $pop181 + i32.const $push180=, u+3 + i32.const $push179=, 0 + i32.call $0=, memset@FUNCTION, $pop180, $pop179, $3 + i32.const $push178=, 3 + i32.const $push177=, 0 + call check@FUNCTION, $pop178, $3, $pop177 + i32.const $push176=, 0 + i32.load8_u $push63=, A($pop176) + i32.call $drop=, memset@FUNCTION, $0, $pop63, $3 + i32.const $push175=, 3 + i32.const $push174=, 65 + call check@FUNCTION, $pop175, $3, $pop174 + i32.const $push173=, 66 + i32.call $drop=, memset@FUNCTION, $0, $pop173, $3 + i32.const $push172=, 3 + i32.const $push171=, 66 + call check@FUNCTION, $pop172, $3, $pop171 + i32.const $push170=, 1 + i32.add $push169=, $3, $pop170 + tee_local $push168=, $3=, $pop169 + i32.const $push167=, 15 + i32.ne $push64=, $pop168, $pop167 br_if 0, $pop64 # 0: up to label23 # BB#47: # %for.body73.preheader end_loop # label24: - i32.const $1=, 0 + i32.const $3=, 0 .LBB2_48: # %for.body73 # =>This Inner Loop Header: Depth=1 loop # label25: - i32.const $push190=, u - i32.const $push189=, 97 - i32.const $push188=, 31 - i32.call $drop=, memset@FUNCTION, $pop190, $pop189, $pop188 - i32.const $push187=, u+4 - i32.const $push186=, 0 - i32.call $0=, memset@FUNCTION, $pop187, $pop186, $1 - i32.const $push185=, 4 - i32.const $push184=, 0 - call check@FUNCTION, $pop185, $1, $pop184 - i32.const $push183=, 0 - i32.load8_u $push65=, A($pop183) - i32.call $drop=, memset@FUNCTION, $0, $pop65, $1 - i32.const $push182=, 4 - i32.const $push181=, 65 - call check@FUNCTION, $pop182, $1, $pop181 - i32.const $push180=, 66 - i32.call $drop=, memset@FUNCTION, $0, $pop180, $1 - i32.const $push179=, 4 - i32.const $push178=, 66 - call check@FUNCTION, $pop179, $1, $pop178 - i32.const $push177=, 1 - i32.add $1=, $1, $pop177 - i32.const $push176=, 15 - i32.ne $push66=, $1, $pop176 + i32.const $push200=, u + i32.const $push199=, 97 + i32.const $push198=, 31 + i32.call $drop=, memset@FUNCTION, $pop200, $pop199, $pop198 + i32.const $push197=, u+4 + i32.const $push196=, 0 + i32.call $0=, memset@FUNCTION, $pop197, $pop196, $3 + i32.const $push195=, 4 + i32.const $push194=, 0 + call check@FUNCTION, $pop195, $3, $pop194 + i32.const $push193=, 0 + i32.load8_u $push65=, A($pop193) + i32.call $drop=, memset@FUNCTION, $0, $pop65, $3 + i32.const $push192=, 4 + i32.const $push191=, 65 + call check@FUNCTION, $pop192, $3, $pop191 + i32.const $push190=, 66 + i32.call $drop=, memset@FUNCTION, $0, $pop190, $3 + i32.const $push189=, 4 + i32.const $push188=, 66 + call check@FUNCTION, $pop189, $3, $pop188 + i32.const $push187=, 1 + i32.add $push186=, $3, $pop187 + tee_local $push185=, $3=, $pop186 + i32.const $push184=, 15 + i32.ne $push66=, $pop185, $pop184 br_if 0, $pop66 # 0: up to label25 # BB#49: # %for.body93.preheader end_loop # label26: - i32.const $1=, 0 + i32.const $3=, 0 .LBB2_50: # %for.body93 # =>This Inner Loop Header: Depth=1 loop # label27: - i32.const $push205=, u - i32.const $push204=, 97 - i32.const $push203=, 31 - i32.call $drop=, memset@FUNCTION, $pop205, $pop204, $pop203 - i32.const $push202=, u+5 - i32.const $push201=, 0 - i32.call $0=, memset@FUNCTION, $pop202, $pop201, $1 - i32.const $push200=, 5 - i32.const $push199=, 0 - call check@FUNCTION, $pop200, $1, $pop199 - i32.const $push198=, 0 - i32.load8_u $push67=, A($pop198) - i32.call $drop=, memset@FUNCTION, $0, $pop67, $1 - i32.const $push197=, 5 - i32.const $push196=, 65 - call check@FUNCTION, $pop197, $1, $pop196 - i32.const $push195=, 66 - i32.call $drop=, memset@FUNCTION, $0, $pop195, $1 - i32.const $push194=, 5 - i32.const $push193=, 66 - call check@FUNCTION, $pop194, $1, $pop193 - i32.const $push192=, 1 - i32.add $1=, $1, $pop192 - i32.const $push191=, 15 - i32.ne $push68=, $1, $pop191 + i32.const $push217=, u + i32.const $push216=, 97 + i32.const $push215=, 31 + i32.call $drop=, memset@FUNCTION, $pop217, $pop216, $pop215 + i32.const $push214=, u+5 + i32.const $push213=, 0 + i32.call $0=, memset@FUNCTION, $pop214, $pop213, $3 + i32.const $push212=, 5 + i32.const $push211=, 0 + call check@FUNCTION, $pop212, $3, $pop211 + i32.const $push210=, 0 + i32.load8_u $push67=, A($pop210) + i32.call $drop=, memset@FUNCTION, $0, $pop67, $3 + i32.const $push209=, 5 + i32.const $push208=, 65 + call check@FUNCTION, $pop209, $3, $pop208 + i32.const $push207=, 66 + i32.call $drop=, memset@FUNCTION, $0, $pop207, $3 + i32.const $push206=, 5 + i32.const $push205=, 66 + call check@FUNCTION, $pop206, $3, $pop205 + i32.const $push204=, 1 + i32.add $push203=, $3, $pop204 + tee_local $push202=, $3=, $pop203 + i32.const $push201=, 15 + i32.ne $push68=, $pop202, $pop201 br_if 0, $pop68 # 0: up to label27 # BB#51: # %for.body113.preheader end_loop # label28: - i32.const $1=, 0 + i32.const $3=, 0 .LBB2_52: # %for.body113 # =>This Inner Loop Header: Depth=1 loop # label29: - i32.const $push220=, u - i32.const $push219=, 97 - i32.const $push218=, 31 - i32.call $drop=, memset@FUNCTION, $pop220, $pop219, $pop218 - i32.const $push217=, u+6 - i32.const $push216=, 0 - i32.call $0=, memset@FUNCTION, $pop217, $pop216, $1 - i32.const $push215=, 6 - i32.const $push214=, 0 - call check@FUNCTION, $pop215, $1, $pop214 - i32.const $push213=, 0 - i32.load8_u $push69=, A($pop213) - i32.call $drop=, memset@FUNCTION, $0, $pop69, $1 - i32.const $push212=, 6 - i32.const $push211=, 65 - call check@FUNCTION, $pop212, $1, $pop211 - i32.const $push210=, 66 - i32.call $drop=, memset@FUNCTION, $0, $pop210, $1 - i32.const $push209=, 6 - i32.const $push208=, 66 - call check@FUNCTION, $pop209, $1, $pop208 - i32.const $push207=, 1 - i32.add $1=, $1, $pop207 - i32.const $push206=, 15 - i32.ne $push70=, $1, $pop206 + i32.const $push234=, u + i32.const $push233=, 97 + i32.const $push232=, 31 + i32.call $drop=, memset@FUNCTION, $pop234, $pop233, $pop232 + i32.const $push231=, u+6 + i32.const $push230=, 0 + i32.call $0=, memset@FUNCTION, $pop231, $pop230, $3 + i32.const $push229=, 6 + i32.const $push228=, 0 + call check@FUNCTION, $pop229, $3, $pop228 + i32.const $push227=, 0 + i32.load8_u $push69=, A($pop227) + i32.call $drop=, memset@FUNCTION, $0, $pop69, $3 + i32.const $push226=, 6 + i32.const $push225=, 65 + call check@FUNCTION, $pop226, $3, $pop225 + i32.const $push224=, 66 + i32.call $drop=, memset@FUNCTION, $0, $pop224, $3 + i32.const $push223=, 6 + i32.const $push222=, 66 + call check@FUNCTION, $pop223, $3, $pop222 + i32.const $push221=, 1 + i32.add $push220=, $3, $pop221 + tee_local $push219=, $3=, $pop220 + i32.const $push218=, 15 + i32.ne $push70=, $pop219, $pop218 br_if 0, $pop70 # 0: up to label29 # BB#53: # %for.body133.preheader end_loop # label30: - i32.const $1=, 0 + i32.const $3=, 0 .LBB2_54: # %for.body133 # =>This Inner Loop Header: Depth=1 loop # label31: - i32.const $push235=, u - i32.const $push234=, 97 - i32.const $push233=, 31 - i32.call $drop=, memset@FUNCTION, $pop235, $pop234, $pop233 - i32.const $push232=, u+7 - i32.const $push231=, 0 - i32.call $0=, memset@FUNCTION, $pop232, $pop231, $1 - i32.const $push230=, 7 - i32.const $push229=, 0 - call check@FUNCTION, $pop230, $1, $pop229 - i32.const $push228=, 0 - i32.load8_u $push71=, A($pop228) - i32.call $drop=, memset@FUNCTION, $0, $pop71, $1 - i32.const $push227=, 7 - i32.const $push226=, 65 - call check@FUNCTION, $pop227, $1, $pop226 - i32.const $push225=, 66 - i32.call $drop=, memset@FUNCTION, $0, $pop225, $1 - i32.const $push224=, 7 - i32.const $push223=, 66 - call check@FUNCTION, $pop224, $1, $pop223 - i32.const $push222=, 1 - i32.add $1=, $1, $pop222 - i32.const $push221=, 15 - i32.ne $push72=, $1, $pop221 + i32.const $push251=, u + i32.const $push250=, 97 + i32.const $push249=, 31 + i32.call $drop=, memset@FUNCTION, $pop251, $pop250, $pop249 + i32.const $push248=, u+7 + i32.const $push247=, 0 + i32.call $0=, memset@FUNCTION, $pop248, $pop247, $3 + i32.const $push246=, 7 + i32.const $push245=, 0 + call check@FUNCTION, $pop246, $3, $pop245 + i32.const $push244=, 0 + i32.load8_u $push71=, A($pop244) + i32.call $drop=, memset@FUNCTION, $0, $pop71, $3 + i32.const $push243=, 7 + i32.const $push242=, 65 + call check@FUNCTION, $pop243, $3, $pop242 + i32.const $push241=, 66 + i32.call $drop=, memset@FUNCTION, $0, $pop241, $3 + i32.const $push240=, 7 + i32.const $push239=, 66 + call check@FUNCTION, $pop240, $3, $pop239 + i32.const $push238=, 1 + i32.add $push237=, $3, $pop238 + tee_local $push236=, $3=, $pop237 + i32.const $push235=, 15 + i32.ne $push72=, $pop236, $pop235 br_if 0, $pop72 # 0: up to label31 # BB#55: # %for.end149 end_loop # label32: diff --git a/test/torture-s/mode-dependent-address.c.s b/test/torture-s/mode-dependent-address.c.s index 2e20d3a03..571521203 100644 --- a/test/torture-s/mode-dependent-address.c.s +++ b/test/torture-s/mode-dependent-address.c.s @@ -12,42 +12,44 @@ f883b: # @f883b .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.load16_s $5=, 0($1) i32.add $push12=, $0, $6 - i32.const $push25=, 1 - i32.const $push24=, 1 - i32.lt_s $push0=, $5, $pop24 - i32.select $push1=, $5, $pop25, $pop0 + i32.load16_s $push29=, 0($1) + tee_local $push28=, $5=, $pop29 + i32.const $push27=, 1 + i32.const $push26=, 1 + i32.lt_s $push0=, $5, $pop26 + i32.select $push1=, $pop28, $pop27, $pop0 i32.load $push2=, 0($2) - i32.const $push23=, 31 - i32.and $push3=, $pop2, $pop23 + i32.const $push25=, 31 + i32.and $push3=, $pop2, $pop25 i32.shr_s $push4=, $pop1, $pop3 - i32.const $push22=, 1 - i32.xor $push5=, $pop4, $pop22 - i32.const $push21=, 32 - i32.add $push6=, $pop5, $pop21 - i32.const $push20=, 7 - i32.shr_u $push7=, $pop6, $pop20 - i32.const $push19=, 251 - i32.or $push8=, $pop7, $pop19 + i32.const $push24=, 1 + i32.xor $push5=, $pop4, $pop24 + i32.const $push23=, 32 + i32.add $push6=, $pop5, $pop23 + i32.const $push22=, 7 + i32.shr_u $push7=, $pop6, $pop22 + i32.const $push21=, 251 + i32.or $push8=, $pop7, $pop21 i64.extend_u/i32 $push9=, $pop8 i64.load $push10=, 0($3) i64.and $push11=, $pop9, $pop10 i64.store8 $drop=, 0($pop12), $pop11 - i32.const $push18=, 1 - i32.add $6=, $6, $pop18 - i32.const $push17=, 2 - i32.add $1=, $1, $pop17 - i32.const $push16=, 4 - i32.add $2=, $2, $pop16 - i32.const $push15=, 8 - i32.add $3=, $3, $pop15 + i32.const $push20=, 8 + i32.add $3=, $3, $pop20 + i32.const $push19=, 4 + i32.add $2=, $2, $pop19 + i32.const $push18=, 2 + i32.add $1=, $1, $pop18 + i32.const $push17=, 1 + i32.add $push16=, $6, $pop17 + tee_local $push15=, $6=, $pop16 i32.const $push14=, 96 - i32.ne $push13=, $6, $pop14 + i32.ne $push13=, $pop15, $pop14 br_if 0, $pop13 # 0: up to label0 # BB#2: # %for.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size f883b, .Lfunc_end0-f883b @@ -67,66 +69,69 @@ main: # @main .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push31=, 255 - i32.and $push3=, $4, $pop31 - i32.store16 $push1=, 0($3), $pop3 - i32.store $drop=, 0($2), $pop1 + i32.store8 $push32=, arg4($4), $4 + tee_local $push31=, $4=, $pop32 + i32.const $push30=, 255 + i32.and $push1=, $pop31, $pop30 + i32.store $push0=, 0($2), $pop1 + i32.store16 $drop=, 0($3), $pop0 i64.extend_u/i32 $push2=, $4 - i64.const $push30=, 255 - i64.and $push4=, $pop2, $pop30 - i64.store $drop=, 0($1), $pop4 - i32.const $push29=, 2 - i32.add $3=, $3, $pop29 - i32.const $push28=, 4 - i32.add $2=, $2, $pop28 - i32.const $push27=, 8 - i32.add $1=, $1, $pop27 - i32.store8 $push0=, arg4($4), $4 - i32.const $push26=, 1 - i32.add $push25=, $pop0, $pop26 - tee_local $push24=, $4=, $pop25 - i32.const $push23=, 96 - i32.ne $push5=, $pop24, $pop23 - br_if 0, $pop5 # 0: up to label2 + i64.const $push29=, 255 + i64.and $push3=, $pop2, $pop29 + i64.store $drop=, 0($1), $pop3 + i32.const $push28=, 8 + i32.add $1=, $1, $pop28 + i32.const $push27=, 4 + i32.add $2=, $2, $pop27 + i32.const $push26=, 2 + i32.add $3=, $3, $pop26 + i32.const $push25=, 1 + i32.add $push24=, $4, $pop25 + tee_local $push23=, $4=, $pop24 + i32.const $push22=, 96 + i32.ne $push4=, $pop23, $pop22 + br_if 0, $pop4 # 0: up to label2 # BB#2: # %for.body.i.preheader end_loop # label3: - i32.const $3=, result - i32.const $2=, arg3 - i32.const $1=, arg2 - i32.const $4=, -192 + i32.const $4=, result + i32.const $3=, arg3 + i32.const $2=, arg2 + i32.const $1=, -192 .LBB1_3: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label4: - i32.load16_s $0=, arg1+192($4) + i32.load16_s $push47=, arg1+192($1) + tee_local $push46=, $0=, $pop47 + i32.const $push45=, 1 + i32.const $push44=, 1 + i32.lt_s $push5=, $0, $pop44 + i32.select $push6=, $pop46, $pop45, $pop5 + i32.load $push7=, 0($2) + i32.const $push43=, 31 + i32.and $push8=, $pop7, $pop43 + i32.shr_s $push9=, $pop6, $pop8 i32.const $push42=, 1 - i32.const $push41=, 1 - i32.lt_s $push6=, $0, $pop41 - i32.select $push7=, $0, $pop42, $pop6 - i32.load $push8=, 0($1) - i32.const $push40=, 31 - i32.and $push9=, $pop8, $pop40 - i32.shr_s $push10=, $pop7, $pop9 - i32.const $push39=, 1 - i32.xor $push11=, $pop10, $pop39 - i32.const $push38=, 32 - i32.add $push12=, $pop11, $pop38 - i32.const $push37=, 7 - i32.shr_u $push13=, $pop12, $pop37 - i32.const $push36=, 251 - i32.or $push14=, $pop13, $pop36 - i64.extend_u/i32 $push15=, $pop14 - i64.load $push16=, 0($2) - i64.and $push17=, $pop15, $pop16 - i64.store8 $drop=, 0($3), $pop17 - i32.const $push35=, 1 - i32.add $3=, $3, $pop35 - i32.const $push34=, 8 - i32.add $2=, $2, $pop34 - i32.const $push33=, 4 - i32.add $1=, $1, $pop33 - i32.const $push32=, 2 - i32.add $4=, $4, $pop32 - br_if 0, $4 # 0: up to label4 + i32.xor $push10=, $pop9, $pop42 + i32.const $push41=, 32 + i32.add $push11=, $pop10, $pop41 + i32.const $push40=, 7 + i32.shr_u $push12=, $pop11, $pop40 + i32.const $push39=, 251 + i32.or $push13=, $pop12, $pop39 + i64.extend_u/i32 $push14=, $pop13 + i64.load $push15=, 0($3) + i64.and $push16=, $pop14, $pop15 + i64.store8 $drop=, 0($4), $pop16 + i32.const $push38=, 4 + i32.add $2=, $2, $pop38 + i32.const $push37=, 8 + i32.add $3=, $3, $pop37 + i32.const $push36=, 1 + i32.add $4=, $4, $pop36 + i32.const $push35=, 2 + i32.add $push34=, $1, $pop35 + tee_local $push33=, $1=, $pop34 + br_if 0, $pop33 # 0: up to label4 # BB#4: # %for.body10.preheader end_loop # label5: i32.const $4=, 0 @@ -136,22 +141,23 @@ main: # @main block loop # label7: i32.load8_s $push18=, result($4) - i32.load $push19=, 0($3) - i32.ne $push20=, $pop18, $pop19 - br_if 2, $pop20 # 2: down to label6 + i32.load $push17=, 0($3) + i32.ne $push19=, $pop18, $pop17 + br_if 2, $pop19 # 2: down to label6 # BB#6: # %for.cond7 # in Loop: Header=BB1_5 Depth=1 - i32.const $push45=, 1 - i32.add $4=, $4, $pop45 - i32.const $push44=, 4 - i32.add $3=, $3, $pop44 - i32.const $push43=, 95 - i32.le_s $push21=, $4, $pop43 - br_if 0, $pop21 # 0: up to label7 + i32.const $push52=, 4 + i32.add $3=, $3, $pop52 + i32.const $push51=, 1 + i32.add $push50=, $4, $pop51 + tee_local $push49=, $4=, $pop50 + i32.const $push48=, 95 + i32.le_s $push20=, $pop49, $pop48 + br_if 0, $pop20 # 0: up to label7 # BB#7: # %for.end18 end_loop # label8: - i32.const $push22=, 0 - return $pop22 + i32.const $push21=, 0 + return $pop21 .LBB1_8: # %if.then end_block # label6: call abort@FUNCTION diff --git a/test/torture-s/multdi-1.c.s b/test/torture-s/multdi-1.c.s index e87a86ec0..c40c6c5f7 100644 --- a/test/torture-s/multdi-1.c.s +++ b/test/torture-s/multdi-1.c.s @@ -11,7 +11,7 @@ mpy: # @mpy i64.extend_s/i32 $push1=, $1 i64.extend_s/i32 $push0=, $0 i64.mul $push2=, $pop1, $pop0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size mpy, .Lfunc_end0-mpy @@ -27,7 +27,7 @@ main: # @main i64.const $push0=, -1 i64.store $drop=, mpy_res($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/multi-ix.c.s b/test/torture-s/multi-ix.c.s index d032289a5..3f70dc0ab 100644 --- a/test/torture-s/multi-ix.c.s +++ b/test/torture-s/multi-ix.c.s @@ -8,12 +8,12 @@ f: # @f .param i32 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push193=, __stack_pointer - i32.const $push190=, __stack_pointer - i32.load $push191=, 0($pop190) + i32.const $push193=, 0 + i32.const $push190=, 0 + i32.load $push191=, __stack_pointer($pop190) i32.const $push192=, 80480 i32.sub $push665=, $pop191, $pop192 - i32.store $1=, 0($pop193), $pop665 + i32.store $1=, __stack_pointer($pop193), $pop665 block i32.const $push0=, 1 i32.lt_s $push1=, $0, $pop0 @@ -24,253 +24,253 @@ f: # @f loop # label1: i32.const $push197=, 320 i32.add $push198=, $1, $pop197 - i32.const $push817=, 156 - i32.add $push2=, $pop198, $pop817 + i32.const $push819=, 156 + i32.add $push2=, $pop198, $pop819 i32.const $push199=, 480 i32.add $push200=, $1, $pop199 i32.store $drop=, 0($pop2), $pop200 i32.const $push201=, 320 i32.add $push202=, $1, $pop201 - i32.const $push816=, 152 - i32.add $push3=, $pop202, $pop816 + i32.const $push818=, 152 + i32.add $push3=, $pop202, $pop818 i32.const $push203=, 2480 i32.add $push204=, $1, $pop203 i32.store $drop=, 0($pop3), $pop204 i32.const $push205=, 320 i32.add $push206=, $1, $pop205 - i32.const $push815=, 148 - i32.add $push4=, $pop206, $pop815 + i32.const $push817=, 148 + i32.add $push4=, $pop206, $pop817 i32.const $push207=, 4480 i32.add $push208=, $1, $pop207 i32.store $drop=, 0($pop4), $pop208 i32.const $push209=, 320 i32.add $push210=, $1, $pop209 - i32.const $push814=, 144 - i32.add $push5=, $pop210, $pop814 + i32.const $push816=, 144 + i32.add $push5=, $pop210, $pop816 i32.const $push211=, 6480 i32.add $push212=, $1, $pop211 i32.store $drop=, 0($pop5), $pop212 i32.const $push213=, 320 i32.add $push214=, $1, $pop213 - i32.const $push813=, 140 - i32.add $push6=, $pop214, $pop813 + i32.const $push815=, 140 + i32.add $push6=, $pop214, $pop815 i32.const $push215=, 8480 i32.add $push216=, $1, $pop215 i32.store $drop=, 0($pop6), $pop216 i32.const $push217=, 320 i32.add $push218=, $1, $pop217 - i32.const $push812=, 136 - i32.add $push7=, $pop218, $pop812 + i32.const $push814=, 136 + i32.add $push7=, $pop218, $pop814 i32.const $push219=, 10480 i32.add $push220=, $1, $pop219 i32.store $drop=, 0($pop7), $pop220 i32.const $push221=, 320 i32.add $push222=, $1, $pop221 - i32.const $push811=, 132 - i32.add $push8=, $pop222, $pop811 + i32.const $push813=, 132 + i32.add $push8=, $pop222, $pop813 i32.const $push223=, 12480 i32.add $push224=, $1, $pop223 i32.store $drop=, 0($pop8), $pop224 i32.const $push225=, 320 i32.add $push226=, $1, $pop225 - i32.const $push810=, 128 - i32.add $push9=, $pop226, $pop810 + i32.const $push812=, 128 + i32.add $push9=, $pop226, $pop812 i32.const $push227=, 14480 i32.add $push228=, $1, $pop227 i32.store $drop=, 0($pop9), $pop228 i32.const $push229=, 320 i32.add $push230=, $1, $pop229 - i32.const $push809=, 124 - i32.add $push10=, $pop230, $pop809 + i32.const $push811=, 124 + i32.add $push10=, $pop230, $pop811 i32.const $push231=, 16480 i32.add $push232=, $1, $pop231 i32.store $drop=, 0($pop10), $pop232 i32.const $push233=, 320 i32.add $push234=, $1, $pop233 - i32.const $push808=, 120 - i32.add $push11=, $pop234, $pop808 + i32.const $push810=, 120 + i32.add $push11=, $pop234, $pop810 i32.const $push235=, 18480 i32.add $push236=, $1, $pop235 i32.store $drop=, 0($pop11), $pop236 i32.const $push237=, 320 i32.add $push238=, $1, $pop237 - i32.const $push807=, 116 - i32.add $push12=, $pop238, $pop807 + i32.const $push809=, 116 + i32.add $push12=, $pop238, $pop809 i32.const $push239=, 20480 i32.add $push240=, $1, $pop239 i32.store $drop=, 0($pop12), $pop240 i32.const $push241=, 320 i32.add $push242=, $1, $pop241 - i32.const $push806=, 112 - i32.add $push13=, $pop242, $pop806 + i32.const $push808=, 112 + i32.add $push13=, $pop242, $pop808 i32.const $push243=, 22480 i32.add $push244=, $1, $pop243 i32.store $drop=, 0($pop13), $pop244 i32.const $push245=, 320 i32.add $push246=, $1, $pop245 - i32.const $push805=, 108 - i32.add $push14=, $pop246, $pop805 + i32.const $push807=, 108 + i32.add $push14=, $pop246, $pop807 i32.const $push247=, 24480 i32.add $push248=, $1, $pop247 i32.store $drop=, 0($pop14), $pop248 i32.const $push249=, 320 i32.add $push250=, $1, $pop249 - i32.const $push804=, 104 - i32.add $push15=, $pop250, $pop804 + i32.const $push806=, 104 + i32.add $push15=, $pop250, $pop806 i32.const $push251=, 26480 i32.add $push252=, $1, $pop251 i32.store $drop=, 0($pop15), $pop252 i32.const $push253=, 320 i32.add $push254=, $1, $pop253 - i32.const $push803=, 100 - i32.add $push16=, $pop254, $pop803 + i32.const $push805=, 100 + i32.add $push16=, $pop254, $pop805 i32.const $push255=, 28480 i32.add $push256=, $1, $pop255 i32.store $drop=, 0($pop16), $pop256 i32.const $push257=, 320 i32.add $push258=, $1, $pop257 - i32.const $push802=, 96 - i32.add $push17=, $pop258, $pop802 + i32.const $push804=, 96 + i32.add $push17=, $pop258, $pop804 i32.const $push259=, 30480 i32.add $push260=, $1, $pop259 i32.store $drop=, 0($pop17), $pop260 i32.const $push261=, 320 i32.add $push262=, $1, $pop261 - i32.const $push801=, 92 - i32.add $push18=, $pop262, $pop801 + i32.const $push803=, 92 + i32.add $push18=, $pop262, $pop803 i32.const $push263=, 32480 i32.add $push264=, $1, $pop263 i32.store $drop=, 0($pop18), $pop264 i32.const $push265=, 320 i32.add $push266=, $1, $pop265 - i32.const $push800=, 88 - i32.add $push19=, $pop266, $pop800 + i32.const $push802=, 88 + i32.add $push19=, $pop266, $pop802 i32.const $push267=, 34480 i32.add $push268=, $1, $pop267 i32.store $drop=, 0($pop19), $pop268 i32.const $push269=, 320 i32.add $push270=, $1, $pop269 - i32.const $push799=, 84 - i32.add $push20=, $pop270, $pop799 + i32.const $push801=, 84 + i32.add $push20=, $pop270, $pop801 i32.const $push271=, 36480 i32.add $push272=, $1, $pop271 i32.store $drop=, 0($pop20), $pop272 i32.const $push273=, 320 i32.add $push274=, $1, $pop273 - i32.const $push798=, 80 - i32.add $push21=, $pop274, $pop798 + i32.const $push800=, 80 + i32.add $push21=, $pop274, $pop800 i32.const $push275=, 38480 i32.add $push276=, $1, $pop275 i32.store $drop=, 0($pop21), $pop276 i32.const $push277=, 320 i32.add $push278=, $1, $pop277 - i32.const $push797=, 76 - i32.add $push22=, $pop278, $pop797 + i32.const $push799=, 76 + i32.add $push22=, $pop278, $pop799 i32.const $push279=, 40480 i32.add $push280=, $1, $pop279 i32.store $drop=, 0($pop22), $pop280 i32.const $push281=, 320 i32.add $push282=, $1, $pop281 - i32.const $push796=, 72 - i32.add $push23=, $pop282, $pop796 + i32.const $push798=, 72 + i32.add $push23=, $pop282, $pop798 i32.const $push283=, 42480 i32.add $push284=, $1, $pop283 i32.store $drop=, 0($pop23), $pop284 i32.const $push285=, 320 i32.add $push286=, $1, $pop285 - i32.const $push795=, 68 - i32.add $push24=, $pop286, $pop795 + i32.const $push797=, 68 + i32.add $push24=, $pop286, $pop797 i32.const $push287=, 44480 i32.add $push288=, $1, $pop287 i32.store $drop=, 0($pop24), $pop288 i32.const $push289=, 320 i32.add $push290=, $1, $pop289 - i32.const $push794=, 64 - i32.add $push25=, $pop290, $pop794 + i32.const $push796=, 64 + i32.add $push25=, $pop290, $pop796 i32.const $push291=, 46480 i32.add $push292=, $1, $pop291 i32.store $drop=, 0($pop25), $pop292 i32.const $push293=, 320 i32.add $push294=, $1, $pop293 - i32.const $push793=, 60 - i32.add $push26=, $pop294, $pop793 + i32.const $push795=, 60 + i32.add $push26=, $pop294, $pop795 i32.const $push295=, 48480 i32.add $push296=, $1, $pop295 i32.store $drop=, 0($pop26), $pop296 i32.const $push297=, 320 i32.add $push298=, $1, $pop297 - i32.const $push792=, 56 - i32.add $push27=, $pop298, $pop792 + i32.const $push794=, 56 + i32.add $push27=, $pop298, $pop794 i32.const $push299=, 50480 i32.add $push300=, $1, $pop299 i32.store $drop=, 0($pop27), $pop300 i32.const $push301=, 320 i32.add $push302=, $1, $pop301 - i32.const $push791=, 52 - i32.add $push28=, $pop302, $pop791 + i32.const $push793=, 52 + i32.add $push28=, $pop302, $pop793 i32.const $push303=, 52480 i32.add $push304=, $1, $pop303 i32.store $drop=, 0($pop28), $pop304 i32.const $push305=, 320 i32.add $push306=, $1, $pop305 - i32.const $push790=, 48 - i32.add $push29=, $pop306, $pop790 + i32.const $push792=, 48 + i32.add $push29=, $pop306, $pop792 i32.const $push307=, 54480 i32.add $push308=, $1, $pop307 i32.store $drop=, 0($pop29), $pop308 i32.const $push309=, 320 i32.add $push310=, $1, $pop309 - i32.const $push789=, 44 - i32.add $push30=, $pop310, $pop789 + i32.const $push791=, 44 + i32.add $push30=, $pop310, $pop791 i32.const $push311=, 56480 i32.add $push312=, $1, $pop311 i32.store $drop=, 0($pop30), $pop312 i32.const $push313=, 320 i32.add $push314=, $1, $pop313 - i32.const $push788=, 40 - i32.add $push31=, $pop314, $pop788 + i32.const $push790=, 40 + i32.add $push31=, $pop314, $pop790 i32.const $push315=, 58480 i32.add $push316=, $1, $pop315 i32.store $drop=, 0($pop31), $pop316 i32.const $push317=, 320 i32.add $push318=, $1, $pop317 - i32.const $push787=, 36 - i32.add $push32=, $pop318, $pop787 + i32.const $push789=, 36 + i32.add $push32=, $pop318, $pop789 i32.const $push319=, 60480 i32.add $push320=, $1, $pop319 i32.store $drop=, 0($pop32), $pop320 i32.const $push321=, 320 i32.add $push322=, $1, $pop321 - i32.const $push786=, 32 - i32.add $push33=, $pop322, $pop786 + i32.const $push788=, 32 + i32.add $push33=, $pop322, $pop788 i32.const $push323=, 62480 i32.add $push324=, $1, $pop323 i32.store $drop=, 0($pop33), $pop324 i32.const $push325=, 320 i32.add $push326=, $1, $pop325 - i32.const $push785=, 28 - i32.add $push34=, $pop326, $pop785 + i32.const $push787=, 28 + i32.add $push34=, $pop326, $pop787 i32.const $push327=, 64480 i32.add $push328=, $1, $pop327 i32.store $drop=, 0($pop34), $pop328 i32.const $push329=, 320 i32.add $push330=, $1, $pop329 - i32.const $push784=, 24 - i32.add $push35=, $pop330, $pop784 + i32.const $push786=, 24 + i32.add $push35=, $pop330, $pop786 i32.const $push331=, 66480 i32.add $push332=, $1, $pop331 i32.store $drop=, 0($pop35), $pop332 i32.const $push333=, 320 i32.add $push334=, $1, $pop333 - i32.const $push783=, 20 - i32.add $push36=, $pop334, $pop783 + i32.const $push785=, 20 + i32.add $push36=, $pop334, $pop785 i32.const $push335=, 68480 i32.add $push336=, $1, $pop335 i32.store $drop=, 0($pop36), $pop336 i32.const $push337=, 320 i32.add $push338=, $1, $pop337 - i32.const $push782=, 16 - i32.add $push37=, $pop338, $pop782 + i32.const $push784=, 16 + i32.add $push37=, $pop338, $pop784 i32.const $push339=, 70480 i32.add $push340=, $1, $pop339 i32.store $drop=, 0($pop37), $pop340 @@ -286,299 +286,299 @@ f: # @f i32.const $push347=, 78480 i32.add $push348=, $1, $pop347 i32.store $drop=, 320($1), $pop348 - i32.const $push781=, 40 + i32.const $push783=, 40 i32.const $push349=, 320 i32.add $push350=, $1, $pop349 - call s@FUNCTION, $pop781, $pop350 - i32.load $2=, 78480($1) - i32.load $3=, 76480($1) - i32.load $4=, 74480($1) - i32.load $5=, 72480($1) - i32.load $6=, 70480($1) - i32.load $7=, 68480($1) - i32.load $8=, 66480($1) - i32.load $9=, 64480($1) - i32.load $10=, 62480($1) - i32.load $11=, 60480($1) - i32.load $12=, 58480($1) - i32.load $13=, 56480($1) - i32.load $14=, 54480($1) - i32.load $15=, 52480($1) - i32.load $16=, 50480($1) - i32.load $17=, 48480($1) - i32.load $18=, 46480($1) - i32.load $19=, 44480($1) - i32.load $20=, 42480($1) - i32.load $21=, 40480($1) - i32.load $22=, 38480($1) - i32.load $23=, 36480($1) - i32.load $24=, 34480($1) - i32.load $25=, 32480($1) - i32.load $26=, 30480($1) - i32.load $27=, 28480($1) - i32.load $28=, 26480($1) - i32.load $29=, 24480($1) - i32.load $30=, 22480($1) - i32.load $31=, 20480($1) - i32.load $32=, 18480($1) - i32.load $33=, 16480($1) - i32.load $34=, 14480($1) - i32.load $35=, 12480($1) - i32.load $36=, 10480($1) - i32.load $37=, 8480($1) - i32.load $38=, 6480($1) - i32.load $39=, 4480($1) - i32.load $40=, 2480($1) - i32.load $41=, 480($1) + call s@FUNCTION, $pop783, $pop350 + i32.load $2=, 480($1) + i32.load $3=, 2480($1) + i32.load $4=, 4480($1) + i32.load $5=, 6480($1) + i32.load $6=, 8480($1) + i32.load $7=, 10480($1) + i32.load $8=, 12480($1) + i32.load $9=, 14480($1) + i32.load $10=, 16480($1) + i32.load $11=, 18480($1) + i32.load $12=, 20480($1) + i32.load $13=, 22480($1) + i32.load $14=, 24480($1) + i32.load $15=, 26480($1) + i32.load $16=, 28480($1) + i32.load $17=, 30480($1) + i32.load $18=, 32480($1) + i32.load $19=, 34480($1) + i32.load $20=, 36480($1) + i32.load $21=, 38480($1) + i32.load $22=, 40480($1) + i32.load $23=, 42480($1) + i32.load $24=, 44480($1) + i32.load $25=, 46480($1) + i32.load $26=, 48480($1) + i32.load $27=, 50480($1) + i32.load $28=, 52480($1) + i32.load $29=, 54480($1) + i32.load $30=, 56480($1) + i32.load $31=, 58480($1) + i32.load $32=, 60480($1) + i32.load $33=, 62480($1) + i32.load $34=, 64480($1) + i32.load $35=, 66480($1) + i32.load $36=, 68480($1) + i32.load $37=, 70480($1) + i32.load $38=, 72480($1) + i32.load $39=, 74480($1) + i32.load $40=, 78480($1) + i32.load $41=, 76480($1) i32.const $push351=, 160 i32.add $push352=, $1, $pop351 - i32.const $push780=, 156 - i32.add $push38=, $pop352, $pop780 + i32.const $push782=, 156 + i32.add $push38=, $pop352, $pop782 i32.const $push353=, 480 i32.add $push354=, $1, $pop353 i32.store $drop=, 0($pop38), $pop354 i32.const $push355=, 160 i32.add $push356=, $1, $pop355 - i32.const $push779=, 152 - i32.add $push39=, $pop356, $pop779 + i32.const $push781=, 152 + i32.add $push39=, $pop356, $pop781 i32.const $push357=, 2480 i32.add $push358=, $1, $pop357 i32.store $drop=, 0($pop39), $pop358 i32.const $push359=, 160 i32.add $push360=, $1, $pop359 - i32.const $push778=, 148 - i32.add $push40=, $pop360, $pop778 + i32.const $push780=, 148 + i32.add $push40=, $pop360, $pop780 i32.const $push361=, 4480 i32.add $push362=, $1, $pop361 i32.store $drop=, 0($pop40), $pop362 i32.const $push363=, 160 i32.add $push364=, $1, $pop363 - i32.const $push777=, 144 - i32.add $push41=, $pop364, $pop777 + i32.const $push779=, 144 + i32.add $push41=, $pop364, $pop779 i32.const $push365=, 6480 i32.add $push366=, $1, $pop365 i32.store $drop=, 0($pop41), $pop366 i32.const $push367=, 160 i32.add $push368=, $1, $pop367 - i32.const $push776=, 140 - i32.add $push42=, $pop368, $pop776 + i32.const $push778=, 140 + i32.add $push42=, $pop368, $pop778 i32.const $push369=, 8480 i32.add $push370=, $1, $pop369 i32.store $drop=, 0($pop42), $pop370 i32.const $push371=, 160 i32.add $push372=, $1, $pop371 - i32.const $push775=, 136 - i32.add $push43=, $pop372, $pop775 + i32.const $push777=, 136 + i32.add $push43=, $pop372, $pop777 i32.const $push373=, 10480 i32.add $push374=, $1, $pop373 i32.store $drop=, 0($pop43), $pop374 i32.const $push375=, 160 i32.add $push376=, $1, $pop375 - i32.const $push774=, 132 - i32.add $push44=, $pop376, $pop774 + i32.const $push776=, 132 + i32.add $push44=, $pop376, $pop776 i32.const $push377=, 12480 i32.add $push378=, $1, $pop377 i32.store $drop=, 0($pop44), $pop378 i32.const $push379=, 160 i32.add $push380=, $1, $pop379 - i32.const $push773=, 128 - i32.add $push45=, $pop380, $pop773 + i32.const $push775=, 128 + i32.add $push45=, $pop380, $pop775 i32.const $push381=, 14480 i32.add $push382=, $1, $pop381 i32.store $drop=, 0($pop45), $pop382 i32.const $push383=, 160 i32.add $push384=, $1, $pop383 - i32.const $push772=, 124 - i32.add $push46=, $pop384, $pop772 + i32.const $push774=, 124 + i32.add $push46=, $pop384, $pop774 i32.const $push385=, 16480 i32.add $push386=, $1, $pop385 i32.store $drop=, 0($pop46), $pop386 i32.const $push387=, 160 i32.add $push388=, $1, $pop387 - i32.const $push771=, 120 - i32.add $push47=, $pop388, $pop771 + i32.const $push773=, 120 + i32.add $push47=, $pop388, $pop773 i32.const $push389=, 18480 i32.add $push390=, $1, $pop389 i32.store $drop=, 0($pop47), $pop390 i32.const $push391=, 160 i32.add $push392=, $1, $pop391 - i32.const $push770=, 116 - i32.add $push48=, $pop392, $pop770 + i32.const $push772=, 116 + i32.add $push48=, $pop392, $pop772 i32.const $push393=, 20480 i32.add $push394=, $1, $pop393 i32.store $drop=, 0($pop48), $pop394 i32.const $push395=, 160 i32.add $push396=, $1, $pop395 - i32.const $push769=, 112 - i32.add $push49=, $pop396, $pop769 + i32.const $push771=, 112 + i32.add $push49=, $pop396, $pop771 i32.const $push397=, 22480 i32.add $push398=, $1, $pop397 i32.store $drop=, 0($pop49), $pop398 i32.const $push399=, 160 i32.add $push400=, $1, $pop399 - i32.const $push768=, 108 - i32.add $push50=, $pop400, $pop768 + i32.const $push770=, 108 + i32.add $push50=, $pop400, $pop770 i32.const $push401=, 24480 i32.add $push402=, $1, $pop401 i32.store $drop=, 0($pop50), $pop402 i32.const $push403=, 160 i32.add $push404=, $1, $pop403 - i32.const $push767=, 104 - i32.add $push51=, $pop404, $pop767 + i32.const $push769=, 104 + i32.add $push51=, $pop404, $pop769 i32.const $push405=, 26480 i32.add $push406=, $1, $pop405 i32.store $drop=, 0($pop51), $pop406 i32.const $push407=, 160 i32.add $push408=, $1, $pop407 - i32.const $push766=, 100 - i32.add $push52=, $pop408, $pop766 + i32.const $push768=, 100 + i32.add $push52=, $pop408, $pop768 i32.const $push409=, 28480 i32.add $push410=, $1, $pop409 i32.store $drop=, 0($pop52), $pop410 i32.const $push411=, 160 i32.add $push412=, $1, $pop411 - i32.const $push765=, 96 - i32.add $push53=, $pop412, $pop765 + i32.const $push767=, 96 + i32.add $push53=, $pop412, $pop767 i32.const $push413=, 30480 i32.add $push414=, $1, $pop413 i32.store $drop=, 0($pop53), $pop414 i32.const $push415=, 160 i32.add $push416=, $1, $pop415 - i32.const $push764=, 92 - i32.add $push54=, $pop416, $pop764 + i32.const $push766=, 92 + i32.add $push54=, $pop416, $pop766 i32.const $push417=, 32480 i32.add $push418=, $1, $pop417 i32.store $drop=, 0($pop54), $pop418 i32.const $push419=, 160 i32.add $push420=, $1, $pop419 - i32.const $push763=, 88 - i32.add $push55=, $pop420, $pop763 + i32.const $push765=, 88 + i32.add $push55=, $pop420, $pop765 i32.const $push421=, 34480 i32.add $push422=, $1, $pop421 i32.store $drop=, 0($pop55), $pop422 i32.const $push423=, 160 i32.add $push424=, $1, $pop423 - i32.const $push762=, 84 - i32.add $push56=, $pop424, $pop762 + i32.const $push764=, 84 + i32.add $push56=, $pop424, $pop764 i32.const $push425=, 36480 i32.add $push426=, $1, $pop425 i32.store $drop=, 0($pop56), $pop426 i32.const $push427=, 160 i32.add $push428=, $1, $pop427 - i32.const $push761=, 80 - i32.add $push57=, $pop428, $pop761 + i32.const $push763=, 80 + i32.add $push57=, $pop428, $pop763 i32.const $push429=, 38480 i32.add $push430=, $1, $pop429 i32.store $drop=, 0($pop57), $pop430 i32.const $push431=, 160 i32.add $push432=, $1, $pop431 - i32.const $push760=, 76 - i32.add $push58=, $pop432, $pop760 + i32.const $push762=, 76 + i32.add $push58=, $pop432, $pop762 i32.const $push433=, 40480 i32.add $push434=, $1, $pop433 i32.store $drop=, 0($pop58), $pop434 i32.const $push435=, 160 i32.add $push436=, $1, $pop435 - i32.const $push759=, 72 - i32.add $push59=, $pop436, $pop759 + i32.const $push761=, 72 + i32.add $push59=, $pop436, $pop761 i32.const $push437=, 42480 i32.add $push438=, $1, $pop437 i32.store $drop=, 0($pop59), $pop438 i32.const $push439=, 160 i32.add $push440=, $1, $pop439 - i32.const $push758=, 68 - i32.add $push60=, $pop440, $pop758 + i32.const $push760=, 68 + i32.add $push60=, $pop440, $pop760 i32.const $push441=, 44480 i32.add $push442=, $1, $pop441 i32.store $drop=, 0($pop60), $pop442 i32.const $push443=, 160 i32.add $push444=, $1, $pop443 - i32.const $push757=, 64 - i32.add $push61=, $pop444, $pop757 + i32.const $push759=, 64 + i32.add $push61=, $pop444, $pop759 i32.const $push445=, 46480 i32.add $push446=, $1, $pop445 i32.store $drop=, 0($pop61), $pop446 i32.const $push447=, 160 i32.add $push448=, $1, $pop447 - i32.const $push756=, 60 - i32.add $push62=, $pop448, $pop756 + i32.const $push758=, 60 + i32.add $push62=, $pop448, $pop758 i32.const $push449=, 48480 i32.add $push450=, $1, $pop449 i32.store $drop=, 0($pop62), $pop450 i32.const $push451=, 160 i32.add $push452=, $1, $pop451 - i32.const $push755=, 56 - i32.add $push63=, $pop452, $pop755 + i32.const $push757=, 56 + i32.add $push63=, $pop452, $pop757 i32.const $push453=, 50480 i32.add $push454=, $1, $pop453 i32.store $drop=, 0($pop63), $pop454 i32.const $push455=, 160 i32.add $push456=, $1, $pop455 - i32.const $push754=, 52 - i32.add $push64=, $pop456, $pop754 + i32.const $push756=, 52 + i32.add $push64=, $pop456, $pop756 i32.const $push457=, 52480 i32.add $push458=, $1, $pop457 i32.store $drop=, 0($pop64), $pop458 i32.const $push459=, 160 i32.add $push460=, $1, $pop459 - i32.const $push753=, 48 - i32.add $push65=, $pop460, $pop753 + i32.const $push755=, 48 + i32.add $push65=, $pop460, $pop755 i32.const $push461=, 54480 i32.add $push462=, $1, $pop461 i32.store $drop=, 0($pop65), $pop462 i32.const $push463=, 160 i32.add $push464=, $1, $pop463 - i32.const $push752=, 44 - i32.add $push66=, $pop464, $pop752 + i32.const $push754=, 44 + i32.add $push66=, $pop464, $pop754 i32.const $push465=, 56480 i32.add $push466=, $1, $pop465 i32.store $drop=, 0($pop66), $pop466 i32.const $push467=, 160 i32.add $push468=, $1, $pop467 - i32.const $push751=, 40 - i32.add $push67=, $pop468, $pop751 + i32.const $push753=, 40 + i32.add $push67=, $pop468, $pop753 i32.const $push469=, 58480 i32.add $push470=, $1, $pop469 i32.store $drop=, 0($pop67), $pop470 i32.const $push471=, 160 i32.add $push472=, $1, $pop471 - i32.const $push750=, 36 - i32.add $push68=, $pop472, $pop750 + i32.const $push752=, 36 + i32.add $push68=, $pop472, $pop752 i32.const $push473=, 60480 i32.add $push474=, $1, $pop473 i32.store $drop=, 0($pop68), $pop474 i32.const $push475=, 160 i32.add $push476=, $1, $pop475 - i32.const $push749=, 32 - i32.add $push69=, $pop476, $pop749 + i32.const $push751=, 32 + i32.add $push69=, $pop476, $pop751 i32.const $push477=, 62480 i32.add $push478=, $1, $pop477 i32.store $drop=, 0($pop69), $pop478 i32.const $push479=, 160 i32.add $push480=, $1, $pop479 - i32.const $push748=, 28 - i32.add $push70=, $pop480, $pop748 + i32.const $push750=, 28 + i32.add $push70=, $pop480, $pop750 i32.const $push481=, 64480 i32.add $push482=, $1, $pop481 i32.store $drop=, 0($pop70), $pop482 i32.const $push483=, 160 i32.add $push484=, $1, $pop483 - i32.const $push747=, 24 - i32.add $push71=, $pop484, $pop747 + i32.const $push749=, 24 + i32.add $push71=, $pop484, $pop749 i32.const $push485=, 66480 i32.add $push486=, $1, $pop485 i32.store $drop=, 0($pop71), $pop486 i32.const $push487=, 160 i32.add $push488=, $1, $pop487 - i32.const $push746=, 20 - i32.add $push72=, $pop488, $pop746 + i32.const $push748=, 20 + i32.add $push72=, $pop488, $pop748 i32.const $push489=, 68480 i32.add $push490=, $1, $pop489 i32.store $drop=, 0($pop72), $pop490 i32.const $push491=, 160 i32.add $push492=, $1, $pop491 - i32.const $push745=, 16 - i32.add $push73=, $pop492, $pop745 + i32.const $push747=, 16 + i32.add $push73=, $pop492, $pop747 i32.const $push493=, 70480 i32.add $push494=, $1, $pop493 i32.store $drop=, 0($pop73), $pop494 @@ -594,427 +594,427 @@ f: # @f i32.const $push501=, 78480 i32.add $push502=, $1, $pop501 i32.store $drop=, 160($1), $pop502 - i32.const $push744=, 40 + i32.const $push746=, 40 i32.const $push503=, 160 i32.add $push504=, $1, $pop503 - call z@FUNCTION, $pop744, $pop504 - i32.const $push505=, 78480 + call z@FUNCTION, $pop746, $pop504 + i32.const $push505=, 76480 i32.add $push506=, $1, $pop505 - i32.const $push743=, 2 - i32.shl $push74=, $2, $pop743 + i32.const $push745=, 2 + i32.shl $push74=, $41, $pop745 i32.add $push75=, $pop506, $pop74 - i32.store $drop=, 0($pop75), $2 - i32.const $push507=, 76480 + i32.store $drop=, 0($pop75), $41 + i32.const $push507=, 78480 i32.add $push508=, $1, $pop507 - i32.const $push742=, 2 - i32.shl $push76=, $3, $pop742 + i32.const $push744=, 2 + i32.shl $push76=, $40, $pop744 i32.add $push77=, $pop508, $pop76 - i32.store $drop=, 0($pop77), $3 + i32.store $drop=, 0($pop77), $40 i32.const $push509=, 74480 i32.add $push510=, $1, $pop509 - i32.const $push741=, 2 - i32.shl $push78=, $4, $pop741 + i32.const $push743=, 2 + i32.shl $push78=, $39, $pop743 i32.add $push79=, $pop510, $pop78 - i32.store $drop=, 0($pop79), $4 + i32.store $drop=, 0($pop79), $39 i32.const $push511=, 72480 i32.add $push512=, $1, $pop511 - i32.const $push740=, 2 - i32.shl $push80=, $5, $pop740 + i32.const $push742=, 2 + i32.shl $push80=, $38, $pop742 i32.add $push81=, $pop512, $pop80 - i32.store $drop=, 0($pop81), $5 + i32.store $drop=, 0($pop81), $38 i32.const $push513=, 70480 i32.add $push514=, $1, $pop513 - i32.const $push739=, 2 - i32.shl $push82=, $6, $pop739 + i32.const $push741=, 2 + i32.shl $push82=, $37, $pop741 i32.add $push83=, $pop514, $pop82 - i32.store $drop=, 0($pop83), $6 + i32.store $drop=, 0($pop83), $37 i32.const $push515=, 68480 i32.add $push516=, $1, $pop515 - i32.const $push738=, 2 - i32.shl $push84=, $7, $pop738 + i32.const $push740=, 2 + i32.shl $push84=, $36, $pop740 i32.add $push85=, $pop516, $pop84 - i32.store $drop=, 0($pop85), $7 + i32.store $drop=, 0($pop85), $36 i32.const $push517=, 66480 i32.add $push518=, $1, $pop517 - i32.const $push737=, 2 - i32.shl $push86=, $8, $pop737 + i32.const $push739=, 2 + i32.shl $push86=, $35, $pop739 i32.add $push87=, $pop518, $pop86 - i32.store $drop=, 0($pop87), $8 + i32.store $drop=, 0($pop87), $35 i32.const $push519=, 64480 i32.add $push520=, $1, $pop519 - i32.const $push736=, 2 - i32.shl $push88=, $9, $pop736 + i32.const $push738=, 2 + i32.shl $push88=, $34, $pop738 i32.add $push89=, $pop520, $pop88 - i32.store $drop=, 0($pop89), $9 + i32.store $drop=, 0($pop89), $34 i32.const $push521=, 62480 i32.add $push522=, $1, $pop521 - i32.const $push735=, 2 - i32.shl $push90=, $10, $pop735 + i32.const $push737=, 2 + i32.shl $push90=, $33, $pop737 i32.add $push91=, $pop522, $pop90 - i32.store $drop=, 0($pop91), $10 + i32.store $drop=, 0($pop91), $33 i32.const $push523=, 60480 i32.add $push524=, $1, $pop523 - i32.const $push734=, 2 - i32.shl $push92=, $11, $pop734 + i32.const $push736=, 2 + i32.shl $push92=, $32, $pop736 i32.add $push93=, $pop524, $pop92 - i32.store $drop=, 0($pop93), $11 + i32.store $drop=, 0($pop93), $32 i32.const $push525=, 58480 i32.add $push526=, $1, $pop525 - i32.const $push733=, 2 - i32.shl $push94=, $12, $pop733 + i32.const $push735=, 2 + i32.shl $push94=, $31, $pop735 i32.add $push95=, $pop526, $pop94 - i32.store $drop=, 0($pop95), $12 + i32.store $drop=, 0($pop95), $31 i32.const $push527=, 56480 i32.add $push528=, $1, $pop527 - i32.const $push732=, 2 - i32.shl $push96=, $13, $pop732 + i32.const $push734=, 2 + i32.shl $push96=, $30, $pop734 i32.add $push97=, $pop528, $pop96 - i32.store $drop=, 0($pop97), $13 + i32.store $drop=, 0($pop97), $30 i32.const $push529=, 54480 i32.add $push530=, $1, $pop529 - i32.const $push731=, 2 - i32.shl $push98=, $14, $pop731 + i32.const $push733=, 2 + i32.shl $push98=, $29, $pop733 i32.add $push99=, $pop530, $pop98 - i32.store $drop=, 0($pop99), $14 + i32.store $drop=, 0($pop99), $29 i32.const $push531=, 52480 i32.add $push532=, $1, $pop531 - i32.const $push730=, 2 - i32.shl $push100=, $15, $pop730 + i32.const $push732=, 2 + i32.shl $push100=, $28, $pop732 i32.add $push101=, $pop532, $pop100 - i32.store $drop=, 0($pop101), $15 + i32.store $drop=, 0($pop101), $28 i32.const $push533=, 50480 i32.add $push534=, $1, $pop533 - i32.const $push729=, 2 - i32.shl $push102=, $16, $pop729 + i32.const $push731=, 2 + i32.shl $push102=, $27, $pop731 i32.add $push103=, $pop534, $pop102 - i32.store $drop=, 0($pop103), $16 + i32.store $drop=, 0($pop103), $27 i32.const $push535=, 48480 i32.add $push536=, $1, $pop535 - i32.const $push728=, 2 - i32.shl $push104=, $17, $pop728 + i32.const $push730=, 2 + i32.shl $push104=, $26, $pop730 i32.add $push105=, $pop536, $pop104 - i32.store $drop=, 0($pop105), $17 + i32.store $drop=, 0($pop105), $26 i32.const $push537=, 46480 i32.add $push538=, $1, $pop537 - i32.const $push727=, 2 - i32.shl $push106=, $18, $pop727 + i32.const $push729=, 2 + i32.shl $push106=, $25, $pop729 i32.add $push107=, $pop538, $pop106 - i32.store $drop=, 0($pop107), $18 + i32.store $drop=, 0($pop107), $25 i32.const $push539=, 44480 i32.add $push540=, $1, $pop539 - i32.const $push726=, 2 - i32.shl $push108=, $19, $pop726 + i32.const $push728=, 2 + i32.shl $push108=, $24, $pop728 i32.add $push109=, $pop540, $pop108 - i32.store $drop=, 0($pop109), $19 + i32.store $drop=, 0($pop109), $24 i32.const $push541=, 42480 i32.add $push542=, $1, $pop541 - i32.const $push725=, 2 - i32.shl $push110=, $20, $pop725 + i32.const $push727=, 2 + i32.shl $push110=, $23, $pop727 i32.add $push111=, $pop542, $pop110 - i32.store $drop=, 0($pop111), $20 + i32.store $drop=, 0($pop111), $23 i32.const $push543=, 40480 i32.add $push544=, $1, $pop543 - i32.const $push724=, 2 - i32.shl $push112=, $21, $pop724 + i32.const $push726=, 2 + i32.shl $push112=, $22, $pop726 i32.add $push113=, $pop544, $pop112 - i32.store $drop=, 0($pop113), $21 + i32.store $drop=, 0($pop113), $22 i32.const $push545=, 38480 i32.add $push546=, $1, $pop545 - i32.const $push723=, 2 - i32.shl $push114=, $22, $pop723 + i32.const $push725=, 2 + i32.shl $push114=, $21, $pop725 i32.add $push115=, $pop546, $pop114 - i32.store $drop=, 0($pop115), $22 + i32.store $drop=, 0($pop115), $21 i32.const $push547=, 36480 i32.add $push548=, $1, $pop547 - i32.const $push722=, 2 - i32.shl $push116=, $23, $pop722 + i32.const $push724=, 2 + i32.shl $push116=, $20, $pop724 i32.add $push117=, $pop548, $pop116 - i32.store $drop=, 0($pop117), $23 + i32.store $drop=, 0($pop117), $20 i32.const $push549=, 34480 i32.add $push550=, $1, $pop549 - i32.const $push721=, 2 - i32.shl $push118=, $24, $pop721 + i32.const $push723=, 2 + i32.shl $push118=, $19, $pop723 i32.add $push119=, $pop550, $pop118 - i32.store $drop=, 0($pop119), $24 + i32.store $drop=, 0($pop119), $19 i32.const $push551=, 32480 i32.add $push552=, $1, $pop551 - i32.const $push720=, 2 - i32.shl $push120=, $25, $pop720 + i32.const $push722=, 2 + i32.shl $push120=, $18, $pop722 i32.add $push121=, $pop552, $pop120 - i32.store $drop=, 0($pop121), $25 + i32.store $drop=, 0($pop121), $18 i32.const $push553=, 30480 i32.add $push554=, $1, $pop553 - i32.const $push719=, 2 - i32.shl $push122=, $26, $pop719 + i32.const $push721=, 2 + i32.shl $push122=, $17, $pop721 i32.add $push123=, $pop554, $pop122 - i32.store $drop=, 0($pop123), $26 + i32.store $drop=, 0($pop123), $17 i32.const $push555=, 28480 i32.add $push556=, $1, $pop555 - i32.const $push718=, 2 - i32.shl $push124=, $27, $pop718 + i32.const $push720=, 2 + i32.shl $push124=, $16, $pop720 i32.add $push125=, $pop556, $pop124 - i32.store $drop=, 0($pop125), $27 + i32.store $drop=, 0($pop125), $16 i32.const $push557=, 26480 i32.add $push558=, $1, $pop557 - i32.const $push717=, 2 - i32.shl $push126=, $28, $pop717 + i32.const $push719=, 2 + i32.shl $push126=, $15, $pop719 i32.add $push127=, $pop558, $pop126 - i32.store $drop=, 0($pop127), $28 + i32.store $drop=, 0($pop127), $15 i32.const $push559=, 24480 i32.add $push560=, $1, $pop559 - i32.const $push716=, 2 - i32.shl $push128=, $29, $pop716 + i32.const $push718=, 2 + i32.shl $push128=, $14, $pop718 i32.add $push129=, $pop560, $pop128 - i32.store $drop=, 0($pop129), $29 + i32.store $drop=, 0($pop129), $14 i32.const $push561=, 22480 i32.add $push562=, $1, $pop561 - i32.const $push715=, 2 - i32.shl $push130=, $30, $pop715 + i32.const $push717=, 2 + i32.shl $push130=, $13, $pop717 i32.add $push131=, $pop562, $pop130 - i32.store $drop=, 0($pop131), $30 + i32.store $drop=, 0($pop131), $13 i32.const $push563=, 20480 i32.add $push564=, $1, $pop563 - i32.const $push714=, 2 - i32.shl $push132=, $31, $pop714 + i32.const $push716=, 2 + i32.shl $push132=, $12, $pop716 i32.add $push133=, $pop564, $pop132 - i32.store $drop=, 0($pop133), $31 + i32.store $drop=, 0($pop133), $12 i32.const $push565=, 18480 i32.add $push566=, $1, $pop565 - i32.const $push713=, 2 - i32.shl $push134=, $32, $pop713 + i32.const $push715=, 2 + i32.shl $push134=, $11, $pop715 i32.add $push135=, $pop566, $pop134 - i32.store $drop=, 0($pop135), $32 + i32.store $drop=, 0($pop135), $11 i32.const $push567=, 16480 i32.add $push568=, $1, $pop567 - i32.const $push712=, 2 - i32.shl $push136=, $33, $pop712 + i32.const $push714=, 2 + i32.shl $push136=, $10, $pop714 i32.add $push137=, $pop568, $pop136 - i32.store $drop=, 0($pop137), $33 + i32.store $drop=, 0($pop137), $10 i32.const $push569=, 14480 i32.add $push570=, $1, $pop569 - i32.const $push711=, 2 - i32.shl $push138=, $34, $pop711 + i32.const $push713=, 2 + i32.shl $push138=, $9, $pop713 i32.add $push139=, $pop570, $pop138 - i32.store $drop=, 0($pop139), $34 + i32.store $drop=, 0($pop139), $9 i32.const $push571=, 12480 i32.add $push572=, $1, $pop571 - i32.const $push710=, 2 - i32.shl $push140=, $35, $pop710 + i32.const $push712=, 2 + i32.shl $push140=, $8, $pop712 i32.add $push141=, $pop572, $pop140 - i32.store $drop=, 0($pop141), $35 + i32.store $drop=, 0($pop141), $8 i32.const $push573=, 10480 i32.add $push574=, $1, $pop573 - i32.const $push709=, 2 - i32.shl $push142=, $36, $pop709 + i32.const $push711=, 2 + i32.shl $push142=, $7, $pop711 i32.add $push143=, $pop574, $pop142 - i32.store $drop=, 0($pop143), $36 + i32.store $drop=, 0($pop143), $7 i32.const $push575=, 8480 i32.add $push576=, $1, $pop575 - i32.const $push708=, 2 - i32.shl $push144=, $37, $pop708 + i32.const $push710=, 2 + i32.shl $push144=, $6, $pop710 i32.add $push145=, $pop576, $pop144 - i32.store $drop=, 0($pop145), $37 + i32.store $drop=, 0($pop145), $6 i32.const $push577=, 6480 i32.add $push578=, $1, $pop577 - i32.const $push707=, 2 - i32.shl $push146=, $38, $pop707 + i32.const $push709=, 2 + i32.shl $push146=, $5, $pop709 i32.add $push147=, $pop578, $pop146 - i32.store $drop=, 0($pop147), $38 + i32.store $drop=, 0($pop147), $5 i32.const $push579=, 4480 i32.add $push580=, $1, $pop579 - i32.const $push706=, 2 - i32.shl $push148=, $39, $pop706 + i32.const $push708=, 2 + i32.shl $push148=, $4, $pop708 i32.add $push149=, $pop580, $pop148 - i32.store $drop=, 0($pop149), $39 + i32.store $drop=, 0($pop149), $4 i32.const $push581=, 2480 i32.add $push582=, $1, $pop581 - i32.const $push705=, 2 - i32.shl $push150=, $40, $pop705 + i32.const $push707=, 2 + i32.shl $push150=, $3, $pop707 i32.add $push151=, $pop582, $pop150 - i32.store $drop=, 0($pop151), $40 + i32.store $drop=, 0($pop151), $3 i32.const $push583=, 480 i32.add $push584=, $1, $pop583 - i32.const $push704=, 2 - i32.shl $push152=, $41, $pop704 + i32.const $push706=, 2 + i32.shl $push152=, $2, $pop706 i32.add $push153=, $pop584, $pop152 - i32.store $drop=, 0($pop153), $41 - i32.const $push703=, 156 - i32.add $push154=, $1, $pop703 + i32.store $drop=, 0($pop153), $2 + i32.const $push705=, 156 + i32.add $push154=, $1, $pop705 i32.const $push585=, 480 i32.add $push586=, $1, $pop585 i32.store $drop=, 0($pop154), $pop586 - i32.const $push702=, 152 - i32.add $push155=, $1, $pop702 + i32.const $push704=, 152 + i32.add $push155=, $1, $pop704 i32.const $push587=, 2480 i32.add $push588=, $1, $pop587 i32.store $drop=, 0($pop155), $pop588 - i32.const $push701=, 148 - i32.add $push156=, $1, $pop701 + i32.const $push703=, 148 + i32.add $push156=, $1, $pop703 i32.const $push589=, 4480 i32.add $push590=, $1, $pop589 i32.store $drop=, 0($pop156), $pop590 - i32.const $push700=, 144 - i32.add $push157=, $1, $pop700 + i32.const $push702=, 144 + i32.add $push157=, $1, $pop702 i32.const $push591=, 6480 i32.add $push592=, $1, $pop591 i32.store $drop=, 0($pop157), $pop592 - i32.const $push699=, 140 - i32.add $push158=, $1, $pop699 + i32.const $push701=, 140 + i32.add $push158=, $1, $pop701 i32.const $push593=, 8480 i32.add $push594=, $1, $pop593 i32.store $drop=, 0($pop158), $pop594 - i32.const $push698=, 136 - i32.add $push159=, $1, $pop698 + i32.const $push700=, 136 + i32.add $push159=, $1, $pop700 i32.const $push595=, 10480 i32.add $push596=, $1, $pop595 i32.store $drop=, 0($pop159), $pop596 - i32.const $push697=, 132 - i32.add $push160=, $1, $pop697 + i32.const $push699=, 132 + i32.add $push160=, $1, $pop699 i32.const $push597=, 12480 i32.add $push598=, $1, $pop597 i32.store $drop=, 0($pop160), $pop598 - i32.const $push696=, 128 - i32.add $push161=, $1, $pop696 + i32.const $push698=, 128 + i32.add $push161=, $1, $pop698 i32.const $push599=, 14480 i32.add $push600=, $1, $pop599 i32.store $drop=, 0($pop161), $pop600 - i32.const $push695=, 124 - i32.add $push162=, $1, $pop695 + i32.const $push697=, 124 + i32.add $push162=, $1, $pop697 i32.const $push601=, 16480 i32.add $push602=, $1, $pop601 i32.store $drop=, 0($pop162), $pop602 - i32.const $push694=, 120 - i32.add $push163=, $1, $pop694 + i32.const $push696=, 120 + i32.add $push163=, $1, $pop696 i32.const $push603=, 18480 i32.add $push604=, $1, $pop603 i32.store $drop=, 0($pop163), $pop604 - i32.const $push693=, 116 - i32.add $push164=, $1, $pop693 + i32.const $push695=, 116 + i32.add $push164=, $1, $pop695 i32.const $push605=, 20480 i32.add $push606=, $1, $pop605 i32.store $drop=, 0($pop164), $pop606 - i32.const $push692=, 112 - i32.add $push165=, $1, $pop692 + i32.const $push694=, 112 + i32.add $push165=, $1, $pop694 i32.const $push607=, 22480 i32.add $push608=, $1, $pop607 i32.store $drop=, 0($pop165), $pop608 - i32.const $push691=, 108 - i32.add $push166=, $1, $pop691 + i32.const $push693=, 108 + i32.add $push166=, $1, $pop693 i32.const $push609=, 24480 i32.add $push610=, $1, $pop609 i32.store $drop=, 0($pop166), $pop610 - i32.const $push690=, 104 - i32.add $push167=, $1, $pop690 + i32.const $push692=, 104 + i32.add $push167=, $1, $pop692 i32.const $push611=, 26480 i32.add $push612=, $1, $pop611 i32.store $drop=, 0($pop167), $pop612 - i32.const $push689=, 100 - i32.add $push168=, $1, $pop689 + i32.const $push691=, 100 + i32.add $push168=, $1, $pop691 i32.const $push613=, 28480 i32.add $push614=, $1, $pop613 i32.store $drop=, 0($pop168), $pop614 - i32.const $push688=, 96 - i32.add $push169=, $1, $pop688 + i32.const $push690=, 96 + i32.add $push169=, $1, $pop690 i32.const $push615=, 30480 i32.add $push616=, $1, $pop615 i32.store $drop=, 0($pop169), $pop616 - i32.const $push687=, 92 - i32.add $push170=, $1, $pop687 + i32.const $push689=, 92 + i32.add $push170=, $1, $pop689 i32.const $push617=, 32480 i32.add $push618=, $1, $pop617 i32.store $drop=, 0($pop170), $pop618 - i32.const $push686=, 88 - i32.add $push171=, $1, $pop686 + i32.const $push688=, 88 + i32.add $push171=, $1, $pop688 i32.const $push619=, 34480 i32.add $push620=, $1, $pop619 i32.store $drop=, 0($pop171), $pop620 - i32.const $push685=, 84 - i32.add $push172=, $1, $pop685 + i32.const $push687=, 84 + i32.add $push172=, $1, $pop687 i32.const $push621=, 36480 i32.add $push622=, $1, $pop621 i32.store $drop=, 0($pop172), $pop622 - i32.const $push684=, 80 - i32.add $push173=, $1, $pop684 + i32.const $push686=, 80 + i32.add $push173=, $1, $pop686 i32.const $push623=, 38480 i32.add $push624=, $1, $pop623 i32.store $drop=, 0($pop173), $pop624 - i32.const $push683=, 76 - i32.add $push174=, $1, $pop683 + i32.const $push685=, 76 + i32.add $push174=, $1, $pop685 i32.const $push625=, 40480 i32.add $push626=, $1, $pop625 i32.store $drop=, 0($pop174), $pop626 - i32.const $push682=, 72 - i32.add $push175=, $1, $pop682 + i32.const $push684=, 72 + i32.add $push175=, $1, $pop684 i32.const $push627=, 42480 i32.add $push628=, $1, $pop627 i32.store $drop=, 0($pop175), $pop628 - i32.const $push681=, 68 - i32.add $push176=, $1, $pop681 + i32.const $push683=, 68 + i32.add $push176=, $1, $pop683 i32.const $push629=, 44480 i32.add $push630=, $1, $pop629 i32.store $drop=, 0($pop176), $pop630 - i32.const $push680=, 64 - i32.add $push177=, $1, $pop680 + i32.const $push682=, 64 + i32.add $push177=, $1, $pop682 i32.const $push631=, 46480 i32.add $push632=, $1, $pop631 i32.store $drop=, 0($pop177), $pop632 - i32.const $push679=, 60 - i32.add $push178=, $1, $pop679 + i32.const $push681=, 60 + i32.add $push178=, $1, $pop681 i32.const $push633=, 48480 i32.add $push634=, $1, $pop633 i32.store $drop=, 0($pop178), $pop634 - i32.const $push678=, 56 - i32.add $push179=, $1, $pop678 + i32.const $push680=, 56 + i32.add $push179=, $1, $pop680 i32.const $push635=, 50480 i32.add $push636=, $1, $pop635 i32.store $drop=, 0($pop179), $pop636 - i32.const $push677=, 52 - i32.add $push180=, $1, $pop677 + i32.const $push679=, 52 + i32.add $push180=, $1, $pop679 i32.const $push637=, 52480 i32.add $push638=, $1, $pop637 i32.store $drop=, 0($pop180), $pop638 - i32.const $push676=, 48 - i32.add $push181=, $1, $pop676 + i32.const $push678=, 48 + i32.add $push181=, $1, $pop678 i32.const $push639=, 54480 i32.add $push640=, $1, $pop639 i32.store $drop=, 0($pop181), $pop640 - i32.const $push675=, 44 - i32.add $push182=, $1, $pop675 + i32.const $push677=, 44 + i32.add $push182=, $1, $pop677 i32.const $push641=, 56480 i32.add $push642=, $1, $pop641 i32.store $drop=, 0($pop182), $pop642 - i32.const $push674=, 40 - i32.add $push183=, $1, $pop674 + i32.const $push676=, 40 + i32.add $push183=, $1, $pop676 i32.const $push643=, 58480 i32.add $push644=, $1, $pop643 i32.store $drop=, 0($pop183), $pop644 - i32.const $push673=, 36 - i32.add $push184=, $1, $pop673 + i32.const $push675=, 36 + i32.add $push184=, $1, $pop675 i32.const $push645=, 60480 i32.add $push646=, $1, $pop645 i32.store $drop=, 0($pop184), $pop646 - i32.const $push672=, 32 - i32.add $push185=, $1, $pop672 + i32.const $push674=, 32 + i32.add $push185=, $1, $pop674 i32.const $push647=, 62480 i32.add $push648=, $1, $pop647 i32.store $drop=, 0($pop185), $pop648 - i32.const $push671=, 28 - i32.add $push186=, $1, $pop671 + i32.const $push673=, 28 + i32.add $push186=, $1, $pop673 i32.const $push649=, 64480 i32.add $push650=, $1, $pop649 i32.store $drop=, 0($pop186), $pop650 - i32.const $push670=, 24 - i32.add $push187=, $1, $pop670 + i32.const $push672=, 24 + i32.add $push187=, $1, $pop672 i32.const $push651=, 66480 i32.add $push652=, $1, $pop651 i32.store $drop=, 0($pop187), $pop652 - i32.const $push669=, 20 - i32.add $push188=, $1, $pop669 + i32.const $push671=, 20 + i32.add $push188=, $1, $pop671 i32.const $push653=, 68480 i32.add $push654=, $1, $pop653 i32.store $drop=, 0($pop188), $pop654 - i32.const $push668=, 16 - i32.add $push189=, $1, $pop668 + i32.const $push670=, 16 + i32.add $push189=, $1, $pop670 i32.const $push655=, 70480 i32.add $push656=, $1, $pop655 i32.store $drop=, 0($pop189), $pop656 @@ -1030,19 +1030,20 @@ f: # @f i32.const $push663=, 78480 i32.add $push664=, $1, $pop663 i32.store $drop=, 0($1), $pop664 - i32.const $push667=, 40 - call c@FUNCTION, $pop667, $1 - i32.const $push666=, -1 - i32.add $0=, $0, $pop666 - br_if 0, $0 # 0: up to label1 + i32.const $push669=, 40 + call c@FUNCTION, $pop669, $1 + i32.const $push668=, -1 + i32.add $push667=, $0, $pop668 + tee_local $push666=, $0=, $pop667 + br_if 0, $pop666 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - i32.const $push196=, __stack_pointer + i32.const $push196=, 0 i32.const $push194=, 80480 i32.add $push195=, $1, $pop194 - i32.store $drop=, 0($pop196), $pop195 - return + i32.store $drop=, __stack_pointer($pop196), $pop195 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -1055,8 +1056,8 @@ s: # @s .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push8=, $pop5, $pop6 tee_local $push7=, $2=, $pop8 @@ -1086,7 +1087,7 @@ s: # @s .LBB1_3: # %while.end end_loop # label5: end_block # label3: - return + # fallthrough-return .endfunc .Lfunc_end1: .size s, .Lfunc_end1-s @@ -1099,41 +1100,42 @@ z: # @z .param i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $3=, $pop11 i32.store $drop=, 12($pop10), $1 block - i32.eqz $push16=, $0 - br_if 0, $pop16 # 0: down to label6 + i32.eqz $push18=, $0 + br_if 0, $pop18 # 0: down to label6 # BB#1: # %while.body.preheader i32.load $1=, 12($3) .LBB2_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label7: - i32.const $push15=, 4 - i32.add $push0=, $1, $pop15 + i32.const $push17=, 4 + i32.add $push0=, $1, $pop17 i32.store $2=, 12($3), $pop0 - i32.const $push14=, -1 - i32.add $0=, $0, $pop14 i32.load $push1=, 0($1) - i32.const $push13=, 0 - i32.const $push12=, 2000 - i32.call $drop=, memset@FUNCTION, $pop1, $pop13, $pop12 + i32.const $push16=, 0 + i32.const $push15=, 2000 + i32.call $drop=, memset@FUNCTION, $pop1, $pop16, $pop15 copy_local $1=, $2 - br_if 0, $0 # 0: up to label7 + i32.const $push14=, -1 + i32.add $push13=, $0, $pop14 + tee_local $push12=, $0=, $pop13 + br_if 0, $pop12 # 0: up to label7 .LBB2_3: # %while.end end_loop # label8: end_block # label6: - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $3, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end2: .size z, .Lfunc_end2-z @@ -1146,51 +1148,53 @@ c: # @c .param i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) - i32.const $push8=, 16 - i32.sub $push13=, $pop7, $pop8 - i32.store $push16=, 0($pop9), $pop13 - tee_local $push15=, $2=, $pop16 - i32.store $drop=, 12($pop15), $1 - i32.const $push0=, 2 - i32.shl $push1=, $0, $pop0 - i32.const $push14=, -4 - i32.add $1=, $pop1, $pop14 + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) + i32.const $push9=, 16 + i32.sub $push14=, $pop8, $pop9 + i32.store $push17=, __stack_pointer($pop10), $pop14 + tee_local $push16=, $2=, $pop17 + i32.store $drop=, 12($pop16), $1 + i32.const $push1=, 2 + i32.shl $push2=, $0, $pop1 + i32.const $push15=, -4 + i32.add $1=, $pop2, $pop15 .LBB3_1: # %while.cond # =>This Inner Loop Header: Depth=1 block loop # label10: - i32.eqz $push22=, $0 - br_if 2, $pop22 # 2: down to label9 + i32.eqz $push25=, $0 + br_if 2, $pop25 # 2: down to label9 # BB#2: # %while.body # in Loop: Header=BB3_1 Depth=1 - i32.load $push21=, 12($2) - tee_local $push20=, $3=, $pop21 - i32.const $push19=, 4 - i32.add $push2=, $pop20, $pop19 - i32.store $drop=, 12($2), $pop2 - i32.load $push3=, 0($3) - i32.add $3=, $pop3, $1 - i32.const $push18=, -1 - i32.add $0=, $0, $pop18 - i32.const $push17=, -4 - i32.add $1=, $1, $pop17 + i32.load $push24=, 12($2) + tee_local $push23=, $3=, $pop24 + i32.const $push22=, 4 + i32.add $push3=, $pop23, $pop22 + i32.store $drop=, 12($2), $pop3 i32.load $push4=, 0($3) - i32.eq $push5=, $0, $pop4 - br_if 0, $pop5 # 0: up to label10 + i32.add $3=, $pop4, $1 + i32.const $push21=, -4 + i32.add $push0=, $1, $pop21 + copy_local $1=, $pop0 + i32.const $push20=, -1 + i32.add $push19=, $0, $pop20 + tee_local $push18=, $0=, $pop19 + i32.load $push5=, 0($3) + i32.eq $push6=, $pop18, $pop5 + br_if 0, $pop6 # 0: up to label10 # BB#3: # %if.then end_loop # label11: call abort@FUNCTION unreachable .LBB3_4: # %while.end end_block # label9: - i32.const $push12=, __stack_pointer - i32.const $push10=, 16 - i32.add $push11=, $2, $pop10 - i32.store $drop=, 0($pop12), $pop11 - return + i32.const $push13=, 0 + i32.const $push11=, 16 + i32.add $push12=, $2, $pop11 + i32.store $drop=, __stack_pointer($pop13), $pop12 + # fallthrough-return .endfunc .Lfunc_end3: .size c, .Lfunc_end3-c diff --git a/test/torture-s/nestfunc-4.c.s b/test/torture-s/nestfunc-4.c.s index 264dc37cf..d3b593392 100644 --- a/test/torture-s/nestfunc-4.c.s +++ b/test/torture-s/nestfunc-4.c.s @@ -9,15 +9,16 @@ main: # @main .local i32 # BB#0: # %if.then i32.const $push0=, 0 - i32.load $0=, level($pop0) - i32.const $push8=, 0 + i32.const $push10=, 0 + i32.load $push9=, level($pop10) + tee_local $push8=, $0=, $pop9 i32.const $push1=, 2040 i32.const $push7=, 2040 i32.gt_s $push2=, $0, $pop7 - i32.select $push3=, $0, $pop1, $pop2 + i32.select $push3=, $pop8, $pop1, $pop2 i32.const $push4=, 1 i32.add $push5=, $pop3, $pop4 - i32.store $drop=, level($pop8), $pop5 + i32.store $drop=, level($pop0), $pop5 i32.const $push6=, 0 call exit@FUNCTION, $pop6 unreachable @@ -34,17 +35,18 @@ foo: # @foo .local i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load $0=, level($pop0) - i32.const $push8=, 0 + i32.const $push10=, 0 + i32.load $push9=, level($pop10) + tee_local $push8=, $0=, $pop9 i32.const $push1=, 2040 i32.const $push7=, 2040 i32.gt_s $push2=, $0, $pop7 - i32.select $push3=, $0, $pop1, $pop2 + i32.select $push3=, $pop8, $pop1, $pop2 i32.const $push4=, 1 i32.add $push5=, $pop3, $pop4 - i32.store $drop=, level($pop8), $pop5 + i32.store $drop=, level($pop0), $pop5 i32.const $push6=, -42 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -57,20 +59,20 @@ bar: # @bar .result i32 .local i32, i32 # BB#0: # %entry - i32.const $0=, -42 + i32.const $1=, -42 block i32.const $push0=, 0 i32.load $push5=, level($pop0) - tee_local $push4=, $1=, $pop5 + tee_local $push4=, $0=, $pop5 i32.const $push1=, 2040 i32.gt_s $push2=, $pop4, $pop1 br_if 0, $pop2 # 0: down to label0 # BB#1: # %cond.false - i32.call $0=, foo@FUNCTION + i32.call $1=, foo@FUNCTION .LBB2_2: # %cond.end end_block # label0: - i32.sub $push3=, $0, $1 - return $pop3 + i32.sub $push3=, $1, $0 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size bar, .Lfunc_end2-bar diff --git a/test/torture-s/p18298.c.s b/test/torture-s/p18298.c.s index d15905f63..103f02747 100644 --- a/test/torture-s/p18298.c.s +++ b/test/torture-s/p18298.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.const $push0=, s i32.call $push1=, strcmp@FUNCTION, $pop0, $0 i32.eqz $push2=, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -35,7 +35,7 @@ main: # @main .LBB1_2: # %while.end end_block # label0: i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/packed-2.c.s b/test/torture-s/packed-2.c.s index 3dc58d421..11050e468 100644 --- a/test/torture-s/packed-2.c.s +++ b/test/torture-s/packed-2.c.s @@ -10,7 +10,7 @@ main: # @main i32.const $push1=, 0 i32.const $push2=, 0 i32.store $push0=, t+2($pop1):p2align=1, $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pending-4.c.s b/test/torture-s/pending-4.c.s index b767505a1..c8efa2c02 100644 --- a/test/torture-s/pending-4.c.s +++ b/test/torture-s/pending-4.c.s @@ -7,7 +7,7 @@ dummy: # @dummy .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size dummy, .Lfunc_end0-dummy diff --git a/test/torture-s/postmod-1.c.s b/test/torture-s/postmod-1.c.s index f96388ec4..3147010fd 100644 --- a/test/torture-s/postmod-1.c.s +++ b/test/torture-s/postmod-1.c.s @@ -6,164 +6,337 @@ .type foo,@function foo: # @foo .param i32 - .local i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32, f32, f32, i32, i32, i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32 + .local i32, i32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32 # BB#0: # %entry i32.const $push0=, 2 - i32.shl $push37=, $0, $pop0 - tee_local $push36=, $20=, $pop37 - i32.const $push1=, array0 - i32.add $19=, $pop36, $pop1 - i32.const $push2=, array1 - i32.add $18=, $20, $pop2 - i32.const $push3=, array2 - i32.add $17=, $20, $pop3 - i32.const $push4=, array3 - i32.add $16=, $20, $pop4 - i32.const $push5=, array4 - i32.add $15=, $20, $pop5 - i32.const $push35=, 0 - f32.load $26=, counter0($pop35) - i32.const $push34=, 0 - f32.load $25=, counter1($pop34) - i32.const $push33=, 0 - f32.load $24=, counter2($pop33) - i32.const $push32=, 0 - f32.load $23=, counter3($pop32) - i32.const $push31=, 0 - f32.load $22=, counter4($pop31) - i32.const $push30=, 0 - f32.load $21=, counter5($pop30) - i32.const $push6=, array5 - i32.add $14=, $20, $pop6 + i32.shl $2=, $0, $pop0 + i32.const $push1=, 3 + i32.shl $1=, $0, $pop1 + i32.const $push115=, 0 + f32.load $20=, counter5($pop115) + i32.const $push114=, 0 + f32.load $21=, counter4($pop114) + i32.const $push113=, 0 + f32.load $22=, counter3($pop113) + i32.const $push112=, 0 + f32.load $23=, counter2($pop112) + i32.const $push111=, 0 + f32.load $24=, counter1($pop111) + i32.const $push110=, 0 + f32.load $25=, counter0($pop110) + i32.const $19=, 0 .LBB0_1: # %do.body - # =>This Loop Header: Depth=1 - # Child Loop BB0_2 Depth 2 + # =>This Inner Loop Header: Depth=1 loop # label0: - f32.load $6=, 0($19) - f32.load $7=, 0($18) - f32.load $8=, 0($17) - f32.load $9=, 0($16) - f32.load $10=, 0($15) - f32.load $11=, 0($14) - i32.const $push72=, 12 - i32.add $19=, $19, $pop72 - i32.const $push71=, 12 - i32.add $18=, $18, $pop71 - i32.add $push13=, $19, $20 - f32.load $12=, 0($pop13) - i32.add $push14=, $18, $20 - f32.load $13=, 0($pop14) - i32.const $push70=, 0 - f32.add $push7=, $6, $26 - f32.store $26=, counter0($pop70), $pop7 - i32.const $push69=, 0 - f32.add $push8=, $7, $25 - f32.store $25=, counter1($pop69), $pop8 - i32.const $push68=, 12 - i32.add $17=, $17, $pop68 - i32.const $push67=, 12 - i32.add $16=, $16, $pop67 - i32.add $push15=, $17, $20 - f32.load $6=, 0($pop15) - i32.add $push16=, $16, $20 - f32.load $7=, 0($pop16) - i32.const $push66=, 0 - f32.add $push9=, $8, $24 - f32.store $24=, counter2($pop66), $pop9 - i32.const $push65=, 0 - f32.add $push10=, $9, $23 - f32.store $23=, counter3($pop65), $pop10 - i32.const $push64=, 12 - i32.add $15=, $15, $pop64 - i32.const $push63=, 12 - i32.add $14=, $14, $pop63 - i32.add $push17=, $15, $20 - f32.load $8=, 0($pop17) - i32.add $push18=, $14, $20 - f32.load $9=, 0($pop18) - i32.const $push62=, 0 - f32.add $push11=, $10, $22 - f32.store $22=, counter4($pop62), $pop11 - i32.const $push61=, 0 - f32.add $push12=, $11, $21 - f32.store $21=, counter5($pop61), $pop12 - i32.const $push60=, 0 - f32.add $push59=, $12, $26 - tee_local $push58=, $26=, $pop59 - f32.store $drop=, counter0($pop60), $pop58 - i32.const $push57=, 0 - f32.add $push56=, $13, $25 - tee_local $push55=, $25=, $pop56 - f32.store $drop=, counter1($pop57), $pop55 - i32.const $push54=, 0 - f32.add $push53=, $6, $24 - tee_local $push52=, $24=, $pop53 - f32.store $drop=, counter2($pop54), $pop52 - i32.const $push51=, 0 - f32.add $push50=, $7, $23 - tee_local $push49=, $23=, $pop50 - f32.store $drop=, counter3($pop51), $pop49 - i32.const $push48=, 0 - f32.add $push47=, $8, $22 - tee_local $push46=, $22=, $pop47 - f32.store $drop=, counter4($pop48), $pop46 - i32.const $push45=, 0 - f32.add $push44=, $9, $21 - tee_local $push43=, $21=, $pop44 - f32.store $drop=, counter5($pop45), $pop43 - i32.const $push42=, 0 - i32.load $1=, vol($pop42) - i32.const $push41=, 0 - i32.load $2=, vol($pop41) - i32.const $push40=, 0 - i32.load $3=, vol($pop40) - i32.const $push39=, 0 - i32.load $4=, vol($pop39) - i32.const $push38=, 0 - i32.load $5=, vol($pop38) - i32.const $0=, 10 -.LBB0_2: # %for.body - # Parent Loop BB0_1 Depth=1 - # => This Inner Loop Header: Depth=2 - loop # label2: - i32.const $push83=, 0 - i32.const $push82=, 0 - i32.load $push19=, vol($pop82) - i32.add $push20=, $pop19, $1 - i32.store $drop=, vol($pop83), $pop20 - i32.const $push81=, 0 - i32.const $push80=, 0 - i32.load $push21=, vol($pop80) - i32.add $push22=, $pop21, $2 - i32.store $drop=, vol($pop81), $pop22 - i32.const $push79=, 0 - i32.const $push78=, 0 - i32.load $push23=, vol($pop78) - i32.add $push24=, $pop23, $3 - i32.store $drop=, vol($pop79), $pop24 - i32.const $push77=, 0 - i32.const $push76=, 0 - i32.load $push25=, vol($pop76) - i32.add $push26=, $pop25, $4 - i32.store $drop=, vol($pop77), $pop26 - i32.const $push75=, 0 - i32.const $push74=, 0 - i32.load $push27=, vol($pop74) - i32.add $push28=, $pop27, $5 - i32.store $drop=, vol($pop75), $pop28 - i32.const $push73=, -1 - i32.add $0=, $0, $pop73 - br_if 0, $0 # 0: up to label2 -# BB#3: # %for.end - # in Loop: Header=BB0_1 Depth=1 - end_loop # label3: - i32.const $push84=, 0 - i32.load $push29=, stop($pop84) - i32.eqz $push85=, $pop29 - br_if 0, $pop85 # 0: up to label0 -# BB#4: # %do.end + i32.add $push226=, $1, $19 + tee_local $push225=, $0=, $pop226 + f32.load $3=, array0+12($pop225) + i32.add $push224=, $2, $19 + tee_local $push223=, $15=, $pop224 + f32.load $4=, array0($pop223) + f32.load $5=, array1+12($0) + f32.load $6=, array1($15) + f32.load $7=, array2+12($0) + f32.load $8=, array2($15) + f32.load $9=, array3+12($0) + f32.load $10=, array3($15) + f32.load $11=, array4+12($0) + f32.load $12=, array4($15) + f32.load $13=, array5+12($0) + f32.load $14=, array5($15) + i32.const $push222=, 0 + i32.load $0=, vol($pop222) + i32.const $push221=, 0 + i32.load $15=, vol($pop221) + i32.const $push220=, 0 + i32.load $16=, vol($pop220) + i32.const $push219=, 0 + i32.load $17=, vol($pop219) + i32.const $push218=, 0 + i32.load $18=, vol($pop218) + i32.const $push217=, 0 + i32.const $push216=, 0 + i32.load $push2=, vol($pop216) + i32.add $push3=, $0, $pop2 + i32.store $drop=, vol($pop217), $pop3 + i32.const $push215=, 0 + i32.const $push214=, 0 + i32.load $push4=, vol($pop214) + i32.add $push5=, $15, $pop4 + i32.store $drop=, vol($pop215), $pop5 + i32.const $push213=, 0 + i32.const $push212=, 0 + i32.load $push6=, vol($pop212) + i32.add $push7=, $16, $pop6 + i32.store $drop=, vol($pop213), $pop7 + i32.const $push211=, 0 + i32.const $push210=, 0 + i32.load $push8=, vol($pop210) + i32.add $push9=, $17, $pop8 + i32.store $drop=, vol($pop211), $pop9 + i32.const $push209=, 0 + i32.const $push208=, 0 + i32.load $push10=, vol($pop208) + i32.add $push11=, $18, $pop10 + i32.store $drop=, vol($pop209), $pop11 + i32.const $push207=, 0 + i32.const $push206=, 0 + i32.load $push12=, vol($pop206) + i32.add $push13=, $0, $pop12 + i32.store $drop=, vol($pop207), $pop13 + i32.const $push205=, 0 + i32.const $push204=, 0 + i32.load $push14=, vol($pop204) + i32.add $push15=, $15, $pop14 + i32.store $drop=, vol($pop205), $pop15 + i32.const $push203=, 0 + i32.const $push202=, 0 + i32.load $push16=, vol($pop202) + i32.add $push17=, $16, $pop16 + i32.store $drop=, vol($pop203), $pop17 + i32.const $push201=, 0 + i32.const $push200=, 0 + i32.load $push18=, vol($pop200) + i32.add $push19=, $17, $pop18 + i32.store $drop=, vol($pop201), $pop19 + i32.const $push199=, 0 + i32.const $push198=, 0 + i32.load $push20=, vol($pop198) + i32.add $push21=, $18, $pop20 + i32.store $drop=, vol($pop199), $pop21 + i32.const $push197=, 0 + i32.const $push196=, 0 + i32.load $push22=, vol($pop196) + i32.add $push23=, $0, $pop22 + i32.store $drop=, vol($pop197), $pop23 + i32.const $push195=, 0 + i32.const $push194=, 0 + i32.load $push24=, vol($pop194) + i32.add $push25=, $15, $pop24 + i32.store $drop=, vol($pop195), $pop25 + i32.const $push193=, 0 + i32.const $push192=, 0 + i32.load $push26=, vol($pop192) + i32.add $push27=, $16, $pop26 + i32.store $drop=, vol($pop193), $pop27 + i32.const $push191=, 0 + i32.const $push190=, 0 + i32.load $push28=, vol($pop190) + i32.add $push29=, $17, $pop28 + i32.store $drop=, vol($pop191), $pop29 + i32.const $push189=, 0 + i32.const $push188=, 0 + i32.load $push30=, vol($pop188) + i32.add $push31=, $18, $pop30 + i32.store $drop=, vol($pop189), $pop31 + i32.const $push187=, 0 + i32.const $push186=, 0 + i32.load $push32=, vol($pop186) + i32.add $push33=, $0, $pop32 + i32.store $drop=, vol($pop187), $pop33 + i32.const $push185=, 0 + i32.const $push184=, 0 + i32.load $push34=, vol($pop184) + i32.add $push35=, $15, $pop34 + i32.store $drop=, vol($pop185), $pop35 + i32.const $push183=, 0 + i32.const $push182=, 0 + i32.load $push36=, vol($pop182) + i32.add $push37=, $16, $pop36 + i32.store $drop=, vol($pop183), $pop37 + i32.const $push181=, 0 + i32.const $push180=, 0 + i32.load $push38=, vol($pop180) + i32.add $push39=, $17, $pop38 + i32.store $drop=, vol($pop181), $pop39 + i32.const $push179=, 0 + i32.const $push178=, 0 + i32.load $push40=, vol($pop178) + i32.add $push41=, $18, $pop40 + i32.store $drop=, vol($pop179), $pop41 + i32.const $push177=, 0 + i32.const $push176=, 0 + i32.load $push42=, vol($pop176) + i32.add $push43=, $0, $pop42 + i32.store $drop=, vol($pop177), $pop43 + i32.const $push175=, 0 + i32.const $push174=, 0 + i32.load $push44=, vol($pop174) + i32.add $push45=, $15, $pop44 + i32.store $drop=, vol($pop175), $pop45 + i32.const $push173=, 0 + i32.const $push172=, 0 + i32.load $push46=, vol($pop172) + i32.add $push47=, $16, $pop46 + i32.store $drop=, vol($pop173), $pop47 + i32.const $push171=, 0 + i32.const $push170=, 0 + i32.load $push48=, vol($pop170) + i32.add $push49=, $17, $pop48 + i32.store $drop=, vol($pop171), $pop49 + i32.const $push169=, 0 + i32.const $push168=, 0 + i32.load $push50=, vol($pop168) + i32.add $push51=, $18, $pop50 + i32.store $drop=, vol($pop169), $pop51 + i32.const $push167=, 0 + i32.const $push166=, 0 + i32.load $push52=, vol($pop166) + i32.add $push53=, $0, $pop52 + i32.store $drop=, vol($pop167), $pop53 + i32.const $push165=, 0 + i32.const $push164=, 0 + i32.load $push54=, vol($pop164) + i32.add $push55=, $15, $pop54 + i32.store $drop=, vol($pop165), $pop55 + i32.const $push163=, 0 + i32.const $push162=, 0 + i32.load $push56=, vol($pop162) + i32.add $push57=, $16, $pop56 + i32.store $drop=, vol($pop163), $pop57 + i32.const $push161=, 0 + i32.const $push160=, 0 + i32.load $push58=, vol($pop160) + i32.add $push59=, $17, $pop58 + i32.store $drop=, vol($pop161), $pop59 + i32.const $push159=, 0 + i32.const $push158=, 0 + i32.load $push60=, vol($pop158) + i32.add $push61=, $18, $pop60 + i32.store $drop=, vol($pop159), $pop61 + i32.const $push157=, 0 + i32.const $push156=, 0 + i32.load $push62=, vol($pop156) + i32.add $push63=, $0, $pop62 + i32.store $drop=, vol($pop157), $pop63 + i32.const $push155=, 0 + i32.const $push154=, 0 + i32.load $push64=, vol($pop154) + i32.add $push65=, $15, $pop64 + i32.store $drop=, vol($pop155), $pop65 + i32.const $push153=, 0 + i32.const $push152=, 0 + i32.load $push66=, vol($pop152) + i32.add $push67=, $16, $pop66 + i32.store $drop=, vol($pop153), $pop67 + i32.const $push151=, 0 + i32.const $push150=, 0 + i32.load $push68=, vol($pop150) + i32.add $push69=, $17, $pop68 + i32.store $drop=, vol($pop151), $pop69 + i32.const $push149=, 0 + i32.const $push148=, 0 + i32.load $push70=, vol($pop148) + i32.add $push71=, $18, $pop70 + i32.store $drop=, vol($pop149), $pop71 + i32.const $push147=, 0 + i32.const $push146=, 0 + i32.load $push72=, vol($pop146) + i32.add $push73=, $0, $pop72 + i32.store $drop=, vol($pop147), $pop73 + i32.const $push145=, 0 + i32.const $push144=, 0 + i32.load $push74=, vol($pop144) + i32.add $push75=, $15, $pop74 + i32.store $drop=, vol($pop145), $pop75 + i32.const $push143=, 0 + i32.const $push142=, 0 + i32.load $push76=, vol($pop142) + i32.add $push77=, $16, $pop76 + i32.store $drop=, vol($pop143), $pop77 + i32.const $push141=, 0 + i32.const $push140=, 0 + i32.load $push78=, vol($pop140) + i32.add $push79=, $17, $pop78 + i32.store $drop=, vol($pop141), $pop79 + i32.const $push139=, 0 + i32.const $push138=, 0 + i32.load $push80=, vol($pop138) + i32.add $push81=, $18, $pop80 + i32.store $drop=, vol($pop139), $pop81 + i32.const $push137=, 0 + i32.const $push136=, 0 + i32.load $push82=, vol($pop136) + i32.add $push83=, $0, $pop82 + i32.store $drop=, vol($pop137), $pop83 + i32.const $push135=, 0 + i32.const $push134=, 0 + i32.load $push84=, vol($pop134) + i32.add $push85=, $15, $pop84 + i32.store $drop=, vol($pop135), $pop85 + i32.const $push133=, 0 + i32.const $push132=, 0 + i32.load $push86=, vol($pop132) + i32.add $push87=, $16, $pop86 + i32.store $drop=, vol($pop133), $pop87 + i32.const $push131=, 0 + i32.const $push130=, 0 + i32.load $push88=, vol($pop130) + i32.add $push89=, $17, $pop88 + i32.store $drop=, vol($pop131), $pop89 + i32.const $push129=, 0 + i32.const $push128=, 0 + i32.load $push90=, vol($pop128) + i32.add $push91=, $18, $pop90 + i32.store $drop=, vol($pop129), $pop91 + i32.const $push127=, 0 + i32.const $push126=, 0 + i32.load $push92=, vol($pop126) + i32.add $push93=, $0, $pop92 + i32.store $drop=, vol($pop127), $pop93 + i32.const $push125=, 0 + i32.const $push124=, 0 + i32.load $push94=, vol($pop124) + i32.add $push95=, $15, $pop94 + i32.store $drop=, vol($pop125), $pop95 + i32.const $push123=, 0 + i32.const $push122=, 0 + i32.load $push96=, vol($pop122) + i32.add $push97=, $16, $pop96 + i32.store $drop=, vol($pop123), $pop97 + i32.const $push121=, 0 + i32.const $push120=, 0 + i32.load $push98=, vol($pop120) + i32.add $push99=, $17, $pop98 + i32.store $drop=, vol($pop121), $pop99 + i32.const $push119=, 0 + i32.const $push118=, 0 + i32.load $push100=, vol($pop118) + i32.add $push101=, $18, $pop100 + i32.store $drop=, vol($pop119), $pop101 + f32.add $push102=, $14, $20 + f32.add $20=, $13, $pop102 + f32.add $push103=, $12, $21 + f32.add $21=, $11, $pop103 + f32.add $push104=, $10, $22 + f32.add $22=, $9, $pop104 + f32.add $push105=, $8, $23 + f32.add $23=, $7, $pop105 + f32.add $push106=, $6, $24 + f32.add $24=, $5, $pop106 + f32.add $push107=, $4, $25 + f32.add $25=, $3, $pop107 + i32.const $push117=, 12 + i32.add $19=, $19, $pop117 + i32.const $push116=, 0 + i32.load $push108=, stop($pop116) + i32.eqz $push232=, $pop108 + br_if 0, $pop232 # 0: up to label0 +# BB#2: # %do.end end_loop # label1: - return + i32.const $push109=, 0 + f32.store $drop=, counter1($pop109), $24 + i32.const $push231=, 0 + f32.store $drop=, counter0($pop231), $25 + i32.const $push230=, 0 + f32.store $drop=, counter2($pop230), $23 + i32.const $push229=, 0 + f32.store $drop=, counter3($pop229), $22 + i32.const $push228=, 0 + f32.store $drop=, counter4($pop228), $21 + i32.const $push227=, 0 + f32.store $drop=, counter5($pop227), $20 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -174,65 +347,66 @@ foo: # @foo .type main,@function main: # @main .result i32 + .local i32, i32 # BB#0: # %entry - i32.const $push10=, 0 - i32.const $push53=, 0 - i32.const $push52=, 0 - i32.const $push51=, 0 - i32.const $push50=, 0 - i32.const $push49=, 0 - i32.const $push11=, 1065353216 - i32.store $push0=, array0+4($pop49), $pop11 - i32.store $push2=, array1+4($pop50), $pop0 - i32.store $push4=, array2+4($pop51), $pop2 - i32.store $push6=, array3+4($pop52), $pop4 - i32.store $push8=, array4+4($pop53), $pop6 - i32.store $drop=, array5+4($pop10), $pop8 - i32.const $push48=, 0 - i32.const $push47=, 0 - i32.const $push46=, 0 - i32.const $push45=, 0 + i32.const $push2=, 0 + i32.const $push1=, 1073741824 + i32.store $0=, array0+20($pop2), $pop1 i32.const $push44=, 0 i32.const $push43=, 0 - i32.const $push12=, 1073741824 - i32.store $push1=, array0+20($pop43), $pop12 - i32.store $push3=, array1+20($pop44), $pop1 - i32.store $push5=, array2+20($pop45), $pop3 - i32.store $push7=, array3+20($pop46), $pop5 - i32.store $push9=, array4+20($pop47), $pop7 - i32.store $drop=, array5+20($pop48), $pop9 - i32.const $push13=, 1 - call foo@FUNCTION, $pop13 + i32.const $push3=, 1065353216 + i32.store $push0=, array0+4($pop43), $pop3 + i32.store $1=, array1+4($pop44), $pop0 i32.const $push42=, 0 - f32.load $push14=, counter0($pop42) - f32.const $push15=, 0x1.8p1 - f32.ne $push16=, $pop14, $pop15 + i32.store $drop=, array1+20($pop42), $0 i32.const $push41=, 0 - f32.load $push17=, counter1($pop41) - f32.const $push40=, 0x1.8p1 - f32.ne $push18=, $pop17, $pop40 - i32.or $push19=, $pop16, $pop18 + i32.store $drop=, array2+4($pop41), $1 + i32.const $push40=, 0 + i32.store $drop=, array2+20($pop40), $0 i32.const $push39=, 0 - f32.load $push20=, counter2($pop39) - f32.const $push38=, 0x1.8p1 - f32.ne $push21=, $pop20, $pop38 - i32.or $push22=, $pop19, $pop21 + i32.store $drop=, array3+4($pop39), $1 + i32.const $push38=, 0 + i32.store $drop=, array3+20($pop38), $0 i32.const $push37=, 0 - f32.load $push23=, counter3($pop37) - f32.const $push36=, 0x1.8p1 - f32.ne $push24=, $pop23, $pop36 - i32.or $push25=, $pop22, $pop24 + i32.store $drop=, array4+4($pop37), $1 + i32.const $push36=, 0 + i32.store $drop=, array4+20($pop36), $0 i32.const $push35=, 0 - f32.load $push26=, counter4($pop35) - f32.const $push34=, 0x1.8p1 - f32.ne $push27=, $pop26, $pop34 - i32.or $push28=, $pop25, $pop27 + i32.store $drop=, array5+4($pop35), $1 + i32.const $push34=, 0 + i32.store $drop=, array5+20($pop34), $0 + i32.const $push4=, 1 + call foo@FUNCTION, $pop4 i32.const $push33=, 0 - f32.load $push29=, counter5($pop33) - f32.const $push32=, 0x1.8p1 - f32.ne $push30=, $pop29, $pop32 - i32.or $push31=, $pop28, $pop30 - return $pop31 + f32.load $push8=, counter0($pop33) + f32.const $push6=, 0x1.8p1 + f32.ne $push9=, $pop8, $pop6 + i32.const $push32=, 0 + f32.load $push5=, counter1($pop32) + f32.const $push31=, 0x1.8p1 + f32.ne $push7=, $pop5, $pop31 + i32.or $push10=, $pop9, $pop7 + i32.const $push30=, 0 + f32.load $push11=, counter2($pop30) + f32.const $push29=, 0x1.8p1 + f32.ne $push12=, $pop11, $pop29 + i32.or $push13=, $pop10, $pop12 + i32.const $push28=, 0 + f32.load $push14=, counter3($pop28) + f32.const $push27=, 0x1.8p1 + f32.ne $push15=, $pop14, $pop27 + i32.or $push16=, $pop13, $pop15 + i32.const $push26=, 0 + f32.load $push17=, counter4($pop26) + f32.const $push25=, 0x1.8p1 + f32.ne $push18=, $pop17, $pop25 + i32.or $push19=, $pop16, $pop18 + i32.const $push24=, 0 + f32.load $push20=, counter5($pop24) + f32.const $push23=, 0x1.8p1 + f32.ne $push21=, $pop20, $pop23 + i32.or $push22=, $pop19, $pop21 + # fallthrough-return: $pop22 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr15262-1.c.s b/test/torture-s/pr15262-1.c.s index cfc0525cc..0f66f56c0 100644 --- a/test/torture-s/pr15262-1.c.s +++ b/test/torture-s/pr15262-1.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 3 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -21,7 +21,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr15262-2.c.s b/test/torture-s/pr15262-2.c.s index eae43fa32..25a3a3de6 100644 --- a/test/torture-s/pr15262-2.c.s +++ b/test/torture-s/pr15262-2.c.s @@ -8,20 +8,20 @@ foo: # @foo .param i32, i32, i32 .result i32 # BB#0: # %entry - i32.load $push8=, 0($0) - tee_local $push7=, $0=, $pop8 - i32.const $push4=, 3 - i32.store $drop=, 0($pop7), $pop4 - i32.const $push5=, 2 - i32.store $drop=, 0($1), $pop5 - i32.load $0=, 0($0) - i32.const $push1=, 0 - f32.load $push0=, 0($2) - i32.const $push6=, 0 - f32.load $push2=, X($pop6) - f32.add $push3=, $pop0, $pop2 - f32.store $drop=, X($pop1), $pop3 - return $0 + i32.load $push9=, 0($0) + tee_local $push8=, $0=, $pop9 + i32.const $push0=, 3 + i32.store $drop=, 0($pop8), $pop0 + i32.const $push1=, 2 + i32.store $drop=, 0($1), $pop1 + i32.const $push2=, 0 + f32.load $push4=, 0($2) + i32.const $push7=, 0 + f32.load $push3=, X($pop7) + f32.add $push5=, $pop4, $pop3 + f32.store $drop=, X($pop2), $pop5 + i32.load $push6=, 0($0) + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -41,7 +41,7 @@ main: # @main f32.add $push1=, $pop3, $0 f32.store $drop=, X($pop0), $pop1 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr15262.c.s b/test/torture-s/pr15262.c.s index f36619be4..174b30181 100644 --- a/test/torture-s/pr15262.c.s +++ b/test/torture-s/pr15262.c.s @@ -9,7 +9,7 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 1084647014 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -23,21 +23,22 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) - i32.const $push6=, 16 - i32.sub $push12=, $pop5, $pop6 - tee_local $push11=, $3=, $pop12 - i32.const $push7=, 8 - i32.add $push8=, $pop11, $pop7 - i32.const $push9=, 12 - i32.add $push10=, $3, $pop9 - i32.select $push1=, $pop8, $pop10, $1 + i32.const $push3=, 0 + i32.load $3=, __stack_pointer($pop3) + i32.const $push0=, 1 + i32.store $0=, 4($0), $pop0 + i32.const $push4=, 16 + i32.sub $push10=, $3, $pop4 + tee_local $push9=, $3=, $pop10 + i32.const $push5=, 8 + i32.add $push6=, $pop9, $pop5 + i32.const $push7=, 12 + i32.add $push8=, $3, $pop7 + i32.select $push1=, $pop6, $pop8, $1 i32.const $push2=, 1084647014 i32.store $drop=, 0($pop1), $pop2 - i32.const $push3=, 1 - i32.store $push0=, 4($0), $pop3 - return $pop0 + copy_local $push11=, $0 + # fallthrough-return: $pop11 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -50,7 +51,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr15296.c.s b/test/torture-s/pr15296.c.s index 45bd0ff54..72f96ac9f 100644 --- a/test/torture-s/pr15296.c.s +++ b/test/torture-s/pr15296.c.s @@ -23,39 +23,40 @@ f: # @f block block block - i32.eqz $push12=, $3 - br_if 0, $pop12 # 0: down to label7 + i32.eqz $push14=, $3 + br_if 0, $pop14 # 0: down to label7 # BB#3: # %if.end3 copy_local $4=, $5 - i32.eqz $push13=, $5 - br_if 1, $pop13 # 1: down to label6 + i32.eqz $push15=, $5 + br_if 1, $pop15 # 1: down to label6 .LBB0_4: # %l3 end_block # label7: - i32.const $push10=, 8 - i32.add $push11=, $1, $pop10 - i32.load $3=, 0($pop11) i32.const $push8=, 4 i32.add $push9=, $1, $pop8 - i32.store $drop=, 0($pop9), $4 - br_if 1, $3 # 1: down to label5 + i32.store $3=, 0($pop9), $4 + i32.const $push10=, 8 + i32.add $push11=, $1, $pop10 + i32.load $push13=, 0($pop11) + tee_local $push12=, $1=, $pop13 + br_if 1, $pop12 # 1: down to label5 # BB#5: # %if.end19 - i32.eqz $push14=, $4 - br_if 2, $pop14 # 2: down to label4 + i32.eqz $push16=, $3 + br_if 2, $pop16 # 2: down to label4 # BB#6: # %if.end24 - i32.store $drop=, 8($4), $3 + i32.store $drop=, 8($3), $1 return .LBB0_7: # %if.end6 end_block # label6: - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 + i32.const $push3=, 4 + i32.add $push4=, $1, $pop3 i32.load $push1=, 0($1) - i32.load $push3=, 0($pop1) - i32.store $push0=, 0($pop5), $pop3 + i32.load $push5=, 0($pop1) + i32.store $push0=, 0($pop4), $pop5 br_if 2, $pop0 # 2: down to label3 # BB#8: # %if.end12 - i32.const $push6=, 0 - i32.const $push7=, -1 - i32.store $drop=, 12($pop6), $pop7 + i32.const $push7=, 0 + i32.const $push6=, -1 + i32.store $drop=, 12($pop7), $pop6 return .LBB0_9: # %if.then18 end_block # label5: @@ -94,73 +95,73 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push34=, __stack_pointer - i32.const $push31=, __stack_pointer - i32.load $push32=, 0($pop31) + i32.const $push34=, 0 + i32.const $push31=, 0 + i32.load $push32=, __stack_pointer($pop31) i32.const $push33=, 48 i32.sub $push41=, $pop32, $pop33 - i32.store $push50=, 0($pop34), $pop41 - tee_local $push49=, $1=, $pop50 - i32.const $push3=, 24 - i32.add $push4=, $pop49, $pop3 + i32.store $push50=, __stack_pointer($pop34), $pop41 + tee_local $push49=, $0=, $pop50 i32.const $push0=, 0 - i32.load $push5=, .Lmain.s+16($pop0) - i32.store $drop=, 0($pop4), $pop5 + i64.load $push1=, .Lmain.uv+8($pop0) + i64.store $drop=, 40($pop49), $pop1 i32.const $push48=, 0 - i64.load $push1=, .Lmain.uv+8($pop48) - i64.store $drop=, 40($1), $pop1 + i64.load $push2=, .Lmain.uv($pop48) + i64.store $drop=, 32($0), $pop2 + i32.const $push3=, 24 + i32.add $push4=, $0, $pop3 i32.const $push47=, 0 - i64.load $push2=, .Lmain.uv($pop47) - i64.store $drop=, 32($1), $pop2 + i32.load $push5=, .Lmain.s+16($pop47) + i32.store $drop=, 0($pop4), $pop5 i32.const $push6=, 16 - i32.add $push46=, $1, $pop6 - tee_local $push45=, $0=, $pop46 + i32.add $push46=, $0, $pop6 + tee_local $push45=, $1=, $pop46 i32.const $push44=, 0 i64.load $push7=, .Lmain.s+8($pop44):p2align=2 i64.store $drop=, 0($pop45), $pop7 i32.const $push43=, 0 i64.load $push8=, .Lmain.s($pop43):p2align=2 - i64.store $drop=, 8($1), $pop8 + i64.store $drop=, 8($0), $pop8 i32.const $push42=, 0 i32.const $push35=, 8 - i32.add $push36=, $1, $pop35 + i32.add $push36=, $0, $pop35 i32.const $push10=, 20000 i32.const $push9=, 10000 i32.const $push37=, 32 - i32.add $push38=, $1, $pop37 - call f@FUNCTION, $pop42, $pop36, $1, $pop10, $pop9, $pop38 + i32.add $push38=, $0, $pop37 + call f@FUNCTION, $pop42, $pop36, $0, $pop10, $pop9, $pop38 block - i32.load $push11=, 12($1) + i32.load $push11=, 12($0) i32.const $push39=, 32 - i32.add $push40=, $1, $pop39 + i32.add $push40=, $0, $pop39 i32.ne $push12=, $pop11, $pop40 br_if 0, $pop12 # 0: down to label8 # BB#1: # %lor.lhs.false - i32.load $push13=, 0($0) + i32.load $push13=, 0($1) br_if 0, $pop13 # 0: down to label8 # BB#2: # %lor.lhs.false6 i32.const $push14=, 20 - i32.add $push15=, $1, $pop14 + i32.add $push15=, $0, $pop14 i32.load $push16=, 0($pop15) i32.const $push17=, 999 i32.ne $push18=, $pop16, $pop17 br_if 0, $pop18 # 0: down to label8 # BB#3: # %lor.lhs.false11 i32.const $push19=, 24 - i32.add $push20=, $1, $pop19 + i32.add $push20=, $0, $pop19 i32.load $push21=, 0($pop20) i32.const $push22=, 777 i32.ne $push23=, $pop21, $pop22 br_if 0, $pop23 # 0: down to label8 # BB#4: # %lor.lhs.false16 - i64.load $push24=, 32($1) - i64.const $push25=, 953482739823 - i64.ne $push26=, $pop24, $pop25 + i64.load $push25=, 32($0) + i64.const $push24=, 953482739823 + i64.ne $push26=, $pop25, $pop24 br_if 0, $pop26 # 0: down to label8 # BB#5: # %lor.lhs.false24 - i64.load $push27=, 40($1) - i64.const $push28=, 1906965479424 - i64.ne $push29=, $pop27, $pop28 + i64.load $push28=, 40($0) + i64.const $push27=, 1906965479424 + i64.ne $push29=, $pop28, $pop27 br_if 0, $pop29 # 0: down to label8 # BB#6: # %if.end i32.const $push30=, 0 diff --git a/test/torture-s/pr16790-1.c.s b/test/torture-s/pr16790-1.c.s index d008a0b94..5ec1ccfdc 100644 --- a/test/torture-s/pr16790-1.c.s +++ b/test/torture-s/pr16790-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr17078-1.c.s b/test/torture-s/pr17078-1.c.s index e31857af3..522da4cb2 100644 --- a/test/torture-s/pr17078-1.c.s +++ b/test/torture-s/pr17078-1.c.s @@ -9,7 +9,7 @@ test: # @test # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -22,7 +22,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr17133.c.s b/test/torture-s/pr17133.c.s index 738da629f..bef5cd88b 100644 --- a/test/torture-s/pr17133.c.s +++ b/test/torture-s/pr17133.c.s @@ -6,42 +6,43 @@ .type pure_alloc,@function pure_alloc: # @pure_alloc .result i32 - .local i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $0=, bar($pop1) - i32.const $push13=, 0 - i32.load $1=, baz($pop13) + i32.const $push0=, 0 + i32.const $push14=, 0 + i32.load $push13=, foo($pop14) + tee_local $push12=, $3=, $pop13 + i32.const $push11=, 2 + i32.add $push1=, $pop12, $pop11 + i32.store $0=, foo($pop0), $pop1 + i32.const $push10=, 0 + i32.load $1=, bar($pop10) block - i32.const $push12=, 0 - i32.const $push11=, 0 - i32.load $push10=, foo($pop11) - tee_local $push9=, $2=, $pop10 - i32.const $push8=, 2 - i32.add $push2=, $pop9, $pop8 - i32.store $push0=, foo($pop12), $pop2 - i32.lt_u $push3=, $pop0, $1 - br_if 0, $pop3 # 0: down to label0 + i32.const $push9=, 0 + i32.load $push8=, baz($pop9) + tee_local $push7=, $2=, $pop8 + i32.lt_u $push2=, $0, $pop7 + br_if 0, $pop2 # 0: down to label0 # BB#1: - i32.const $push14=, 2 - i32.gt_u $1=, $1, $pop14 + i32.const $push15=, 2 + i32.gt_u $3=, $2, $pop15 .LBB0_2: # %if.end # =>This Inner Loop Header: Depth=1 loop # label1: - i32.eqz $push16=, $1 - br_if 0, $pop16 # 0: up to label1 + i32.eqz $push17=, $3 + br_if 0, $pop17 # 0: up to label1 # BB#3: # %while.cond.if.then_crit_edge end_loop # label2: - i32.const $2=, 0 - i32.const $push15=, 0 - i32.const $push4=, 2 - i32.store $drop=, foo($pop15), $pop4 + i32.const $3=, 0 + i32.const $push16=, 0 + i32.const $push3=, 2 + i32.store $drop=, foo($pop16), $pop3 .LBB0_4: # %if.then end_block # label0: - i32.add $push5=, $0, $2 - i32.const $push6=, -2 - i32.and $push7=, $pop5, $pop6 - return $pop7 + i32.add $push4=, $1, $3 + i32.const $push5=, -2 + i32.and $push6=, $pop4, $pop5 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size pure_alloc, .Lfunc_end0-pure_alloc @@ -54,34 +55,35 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $0=, baz($pop1) block block block - i32.const $push12=, 0 - i32.const $push11=, 0 - i32.load $push2=, foo($pop11) - i32.const $push10=, 2 - i32.add $push0=, $pop2, $pop10 - i32.store $push9=, foo($pop12), $pop0 + i32.const $push1=, 0 + i32.const $push14=, 0 + i32.load $push2=, foo($pop14) + i32.const $push13=, 2 + i32.add $push0=, $pop2, $pop13 + i32.store $push12=, foo($pop1), $pop0 + tee_local $push11=, $0=, $pop12 + i32.const $push10=, 0 + i32.load $push9=, baz($pop10) tee_local $push8=, $1=, $pop9 - i32.ge_u $push3=, $pop8, $0 + i32.ge_u $push3=, $pop11, $pop8 br_if 0, $pop3 # 0: down to label5 # BB#1: # %pure_alloc.exit - br_if 1, $1 # 1: down to label4 + br_if 1, $0 # 1: down to label4 # BB#2: # %if.then call abort@FUNCTION unreachable .LBB1_3: # %if.end.lr.ph.i end_block # label5: - i32.const $push13=, 2 - i32.le_u $push4=, $0, $pop13 + i32.const $push15=, 2 + i32.le_u $push4=, $1, $pop15 br_if 1, $pop4 # 1: down to label3 # BB#4: # %pure_alloc.exit.thread.split - i32.const $push5=, 0 - i32.const $push6=, 2 - i32.store $drop=, foo($pop5), $pop6 + i32.const $push6=, 0 + i32.const $push5=, 2 + i32.store $drop=, foo($pop6), $pop5 .LBB1_5: # %if.end end_block # label4: i32.const $push7=, 0 diff --git a/test/torture-s/pr19005.c.s b/test/torture-s/pr19005.c.s index 5a67e2852..9ae0dd0c8 100644 --- a/test/torture-s/pr19005.c.s +++ b/test/torture-s/pr19005.c.s @@ -10,9 +10,9 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 0 i32.load $push20=, v($pop0) - tee_local $push19=, $4=, $pop20 + tee_local $push19=, $2=, $pop20 i32.const $push18=, 255 - i32.and $2=, $pop19, $pop18 + i32.and $4=, $pop19, $pop18 block block block @@ -23,11 +23,11 @@ bar: # @bar br_if 0, $pop22 # 0: down to label2 # BB#1: # %if.else block - i32.ne $push4=, $2, $1 + i32.ne $push4=, $4, $1 br_if 0, $pop4 # 0: down to label3 # BB#2: # %if.else i32.const $push2=, 1 - i32.add $push3=, $4, $pop2 + i32.add $push3=, $2, $pop2 i32.const $push21=, 255 i32.and $push1=, $pop3, $pop21 i32.eq $push5=, $pop1, $0 @@ -38,11 +38,11 @@ bar: # @bar unreachable .LBB0_4: # %if.then end_block # label2: - i32.ne $push6=, $2, $0 + i32.ne $push6=, $4, $0 br_if 1, $pop6 # 1: down to label0 # BB#5: # %lor.lhs.false i32.const $push7=, 1 - i32.add $push8=, $4, $pop7 + i32.add $push8=, $2, $pop7 i32.const $push9=, 255 i32.and $push10=, $pop8, $pop9 i32.ne $push11=, $pop10, $1 @@ -73,15 +73,15 @@ foo: # @foo # BB#0: # %entry i32.const $push25=, 255 i32.and $1=, $0, $pop25 - i32.const $push24=, 1 - i32.add $push1=, $0, $pop24 - i32.const $push23=, 255 - i32.and $2=, $pop1, $pop23 - i32.const $push2=, 0 - i32.load $push22=, v($pop2) - tee_local $push21=, $4=, $pop22 + i32.const $push1=, 0 + i32.load $push24=, v($pop1) + tee_local $push23=, $2=, $pop24 + i32.const $push22=, 255 + i32.and $4=, $pop23, $pop22 + i32.const $push21=, 1 + i32.add $push2=, $0, $pop21 i32.const $push20=, 255 - i32.and $0=, $pop21, $pop20 + i32.and $0=, $pop2, $pop20 block block block @@ -93,14 +93,14 @@ foo: # @foo i32.eqz $push35=, $pop17 br_if 0, $pop35 # 0: down to label8 # BB#1: # %if.else.i - i32.ne $push4=, $0, $2 + i32.ne $push4=, $4, $0 br_if 3, $pop4 # 3: down to label5 # BB#2: # %if.else.i i32.const $push29=, 1 - i32.add $push3=, $4, $pop29 + i32.add $push3=, $2, $pop29 i32.const $push28=, 255 i32.and $push27=, $pop3, $pop28 - tee_local $push26=, $4=, $pop27 + tee_local $push26=, $2=, $pop27 i32.ne $push5=, $pop26, $1 br_if 3, $pop5 # 3: down to label5 # BB#3: # %bar.exit @@ -112,15 +112,15 @@ foo: # @foo br 2 # 2: down to label6 .LBB1_4: # %if.then.i end_block # label8: - i32.ne $push9=, $0, $1 + i32.ne $push9=, $4, $1 br_if 3, $pop9 # 3: down to label4 # BB#5: # %lor.lhs.false.i i32.const $push32=, 1 - i32.add $push10=, $4, $pop32 + i32.add $push10=, $2, $pop32 i32.const $push11=, 255 i32.and $push31=, $pop10, $pop11 - tee_local $push30=, $4=, $pop31 - i32.ne $push12=, $pop30, $2 + tee_local $push30=, $2=, $pop31 + i32.ne $push12=, $pop30, $0 br_if 3, $pop12 # 3: down to label4 # BB#6: # %bar.exit.thread i32.const $push13=, 0 @@ -128,10 +128,10 @@ foo: # @foo i32.store $drop=, s($pop13), $pop33 .LBB1_7: # %if.else.i40 end_block # label7: - i32.ne $push14=, $0, $1 + i32.ne $push14=, $4, $1 br_if 1, $pop14 # 1: down to label5 # BB#8: # %if.else.i40 - i32.ne $push15=, $4, $2 + i32.ne $push15=, $2, $0 br_if 1, $pop15 # 1: down to label5 .LBB1_9: # %bar.exit43 end_block # label6: @@ -180,7 +180,7 @@ main: # @main # BB#2: # %for.end end_loop # label10: i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr19449.c.s b/test/torture-s/pr19449.c.s index 1ce8ac8fe..ef67e03f6 100644 --- a/test/torture-s/pr19449.c.s +++ b/test/torture-s/pr19449.c.s @@ -9,7 +9,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 3 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr19515.c.s b/test/torture-s/pr19515.c.s index b58f7a638..07be33dc0 100644 --- a/test/torture-s/pr19515.c.s +++ b/test/torture-s/pr19515.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr19606.c.s b/test/torture-s/pr19606.c.s index aa50620ae..6ab65cc46 100644 --- a/test/torture-s/pr19606.c.s +++ b/test/torture-s/pr19606.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.load8_s $push1=, a($pop0) i32.const $push2=, 1 i32.shr_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -27,7 +27,7 @@ bar: # @bar i32.load8_s $push1=, a($pop0) i32.const $push2=, 5 i32.rem_u $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr19687.c.s b/test/torture-s/pr19687.c.s index 678685a7f..f3d2c26dd 100644 --- a/test/torture-s/pr19687.c.s +++ b/test/torture-s/pr19687.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %for.cond.3 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr19689.c.s b/test/torture-s/pr19689.c.s index 5b3e4a1bf..aa079283f 100644 --- a/test/torture-s/pr19689.c.s +++ b/test/torture-s/pr19689.c.s @@ -7,16 +7,16 @@ foo: # @foo .param i32 # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push2=, 0 i32.const $push7=, 0 - i32.load $push1=, f($pop7) + i32.load $push3=, f($pop7) i32.const $push4=, -536870912 - i32.and $push5=, $pop1, $pop4 - i32.const $push2=, 536870911 - i32.and $push3=, $0, $pop2 - i32.or $push6=, $pop5, $pop3 - i32.store $drop=, f($pop0), $pop6 - return + i32.and $push5=, $pop3, $pop4 + i32.const $push0=, 536870911 + i32.and $push1=, $0, $pop0 + i32.or $push6=, $pop5, $pop1 + i32.store $drop=, f($pop2), $pop6 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -37,7 +37,7 @@ main: # @main i32.or $push5=, $pop3, $pop4 i32.store $drop=, f($pop0), $pop5 i32.const $push6=, 0 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr20100-1.c.s b/test/torture-s/pr20100-1.c.s index ae35b6b24..2243f3ec2 100644 --- a/test/torture-s/pr20100-1.c.s +++ b/test/torture-s/pr20100-1.c.s @@ -7,26 +7,24 @@ frob: # @frob .param i32, i32 .result i32 - .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load8_u $2=, e($pop0) + i32.const $push2=, 0 + i32.store16 $push0=, p($pop2), $1 + i32.const $push15=, 0 + i32.const $push14=, 0 + i32.const $push3=, 1 + i32.add $push4=, $0, $pop3 i32.const $push13=, 0 - i32.store16 $drop=, p($pop13), $1 - i32.const $push12=, 0 - i32.const $push11=, 0 - i32.const $push4=, 1 - i32.add $push5=, $0, $pop4 - i32.const $push1=, -1 - i32.add $push2=, $2, $pop1 - i32.eq $push3=, $0, $pop2 - i32.select $push10=, $pop11, $pop5, $pop3 - tee_local $push9=, $0=, $pop10 - i32.store16 $drop=, g($pop12), $pop9 - i32.const $push6=, 65535 - i32.and $push7=, $0, $pop6 - i32.eq $push8=, $1, $pop7 - return $pop8 + i32.load8_u $push5=, e($pop13) + i32.const $push6=, -1 + i32.add $push7=, $pop5, $pop6 + i32.eq $push8=, $0, $pop7 + i32.select $push9=, $pop14, $pop4, $pop8 + i32.store16 $push1=, g($pop15), $pop9 + i32.const $push10=, 65535 + i32.and $push11=, $pop1, $pop10 + i32.eq $push12=, $pop0, $pop11 + # fallthrough-return: $pop12 .endfunc .Lfunc_end0: .size frob, .Lfunc_end0-frob @@ -39,11 +37,11 @@ get_n: # @get_n .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $3=, 0 block i32.const $push17=, 0 i32.load16_u $push16=, p($pop17) - tee_local $push15=, $3=, $pop16 + tee_local $push15=, $0=, $pop16 i32.const $push14=, 0 i32.load16_u $push13=, g($pop14) tee_local $push12=, $2=, $pop13 @@ -53,31 +51,32 @@ get_n: # @get_n i32.const $push18=, 0 i32.load8_u $push1=, e($pop18) i32.const $push2=, -1 - i32.add $0=, $pop1, $pop2 - i32.const $1=, 0 + i32.add $1=, $pop1, $pop2 + i32.const $3=, 0 .LBB1_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push26=, 0 - i32.const $push25=, 65535 - i32.and $push24=, $2, $pop25 - tee_local $push23=, $2=, $pop24 - i32.const $push22=, 1 - i32.add $push4=, $pop23, $pop22 - i32.eq $push3=, $2, $0 - i32.select $2=, $pop26, $pop4, $pop3 - i32.const $push21=, 1 - i32.add $1=, $1, $pop21 + i32.const $push28=, 0 + i32.const $push27=, 65535 + i32.and $push26=, $2, $pop27 + tee_local $push25=, $2=, $pop26 + i32.const $push24=, 1 + i32.add $push4=, $pop25, $pop24 + i32.eq $push3=, $2, $1 + i32.select $2=, $pop28, $pop4, $pop3 + i32.const $push23=, 1 + i32.add $push22=, $3, $pop23 + tee_local $push21=, $3=, $pop22 i32.const $push20=, 65535 - i32.and $push5=, $1, $pop20 + i32.and $push5=, $pop21, $pop20 i32.const $push19=, 4 i32.gt_u $push6=, $pop5, $pop19 br_if 1, $pop6 # 1: down to label2 # BB#3: # %while.body # in Loop: Header=BB1_2 Depth=1 - i32.const $push27=, 65535 - i32.and $push7=, $2, $pop27 - i32.ne $push8=, $3, $pop7 + i32.const $push29=, 65535 + i32.and $push7=, $2, $pop29 + i32.ne $push8=, $0, $pop7 br_if 0, $pop8 # 0: up to label1 .LBB1_4: # %while.cond.while.end_crit_edge end_loop # label2: @@ -86,8 +85,8 @@ get_n: # @get_n .LBB1_5: # %while.end end_block # label0: i32.const $push10=, 65535 - i32.and $push11=, $1, $pop10 - return $pop11 + i32.and $push11=, $3, $pop10 + # fallthrough-return: $pop11 .endfunc .Lfunc_end1: .size get_n, .Lfunc_end1-get_n @@ -98,17 +97,18 @@ get_n: # @get_n .type main,@function main: # @main .result i32 + .local i32 # BB#0: # %if.end - i32.const $push2=, 0 - i32.const $push1=, 3 - i32.store8 $drop=, e($pop2), $pop1 - i32.const $push6=, 0 + i32.const $push1=, 0 + i32.const $push0=, 2 + i32.store16 $0=, p($pop1), $pop0 i32.const $push5=, 0 - i32.const $push3=, 2 - i32.store16 $push0=, p($pop5), $pop3 - i32.store16 $drop=, g($pop6), $pop0 + i32.const $push2=, 3 + i32.store8 $drop=, e($pop5), $pop2 i32.const $push4=, 0 - call exit@FUNCTION, $pop4 + i32.store16 $drop=, g($pop4), $0 + i32.const $push3=, 0 + call exit@FUNCTION, $pop3 unreachable .endfunc .Lfunc_end2: diff --git a/test/torture-s/pr20187-1.c.s b/test/torture-s/pr20187-1.c.s index 0f9926cb6..a6a09569b 100644 --- a/test/torture-s/pr20187-1.c.s +++ b/test/torture-s/pr20187-1.c.s @@ -20,7 +20,7 @@ test: # @test i32.const $push6=, 255 i32.and $push7=, $pop5, $pop6 i32.eqz $push8=, $pop7 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -46,7 +46,7 @@ main: # @main i32.and $push7=, $pop5, $pop6 i32.const $push9=, 0 i32.ne $push8=, $pop7, $pop9 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr20466-1.c.s b/test/torture-s/pr20466-1.c.s index a8a5c2f1d..5b2d8da71 100644 --- a/test/torture-s/pr20466-1.c.s +++ b/test/torture-s/pr20466-1.c.s @@ -11,15 +11,15 @@ f: # @f # BB#0: # %entry i32.load $5=, 0($0) i32.store $drop=, 0($0), $2 - i32.load $1=, 0($1) i32.load $push0=, 0($4) i32.store $drop=, 0($3), $pop0 - i32.load $0=, 0($0) - i32.store $drop=, 0($5), $1 - i32.const $push1=, 99 - i32.store $drop=, 0($0), $pop1 - i32.const $push2=, 3 - return $pop2 + i32.load $push1=, 0($1) + i32.store $drop=, 0($5), $pop1 + i32.load $push2=, 0($0) + i32.const $push3=, 99 + i32.store $drop=, 0($pop2), $pop3 + i32.const $push4=, 3 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -32,23 +32,23 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push25=, __stack_pointer - i32.const $push22=, __stack_pointer - i32.load $push23=, 0($pop22) + i32.const $push25=, 0 + i32.const $push22=, 0 + i32.load $push23=, __stack_pointer($pop22) i32.const $push24=, 32 i32.sub $push44=, $pop23, $pop24 - i32.store $push46=, 0($pop25), $pop44 + i32.store $push46=, __stack_pointer($pop25), $pop44 tee_local $push45=, $1=, $pop46 i32.const $push4=, 42 i32.store $drop=, 28($pop45), $pop4 + i32.const $push5=, 66 + i32.store $0=, 24($1), $pop5 i32.const $push6=, 1 i32.store $drop=, 20($1), $pop6 i32.const $push7=, -1 i32.store $drop=, 16($1), $pop7 i32.const $push8=, 55 i32.store $drop=, 12($1), $pop8 - i32.const $push5=, 66 - i32.store $0=, 24($1), $pop5 i32.const $push26=, 28 i32.add $push27=, $1, $pop26 i32.store $drop=, 8($1), $pop27 diff --git a/test/torture-s/pr20527-1.c.s b/test/torture-s/pr20527-1.c.s index 2f89e33af..35433805d 100644 --- a/test/torture-s/pr20527-1.c.s +++ b/test/torture-s/pr20527-1.c.s @@ -6,46 +6,48 @@ .type f,@function f: # @f .param i32, i32, i32, i32 - .local i32, i32 + .local i32 # BB#0: # %entry block i32.gt_s $push0=, $2, $3 br_if 0, $pop0 # 0: down to label0 # BB#1: # %for.body.preheader + i32.const $push12=, -1 + i32.add $4=, $2, $pop12 i32.const $push1=, 2 - i32.shl $push12=, $2, $pop1 - tee_local $push11=, $5=, $pop12 - i32.add $0=, $0, $pop11 - i32.const $push10=, -1 - i32.add $4=, $2, $pop10 - i32.add $push2=, $1, $5 + i32.shl $push11=, $2, $pop1 + tee_local $push10=, $2=, $pop11 + i32.add $0=, $0, $pop10 + i32.add $push2=, $1, $2 i32.const $push9=, 4 i32.add $2=, $pop2, $pop9 i32.const $1=, 0 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.load $push3=, 0($2) - i32.const $push17=, -4 - i32.add $push4=, $2, $pop17 - i32.load $push5=, 0($pop4) - i32.sub $push6=, $pop3, $pop5 - i32.add $1=, $pop6, $1 - i32.const $push16=, -1 - i32.add $push7=, $1, $pop16 + i32.load $push5=, 0($2) + i32.const $push21=, -4 + i32.add $push3=, $2, $pop21 + i32.load $push4=, 0($pop3) + i32.sub $push6=, $pop5, $pop4 + i32.add $push20=, $pop6, $1 + tee_local $push19=, $1=, $pop20 + i32.const $push18=, -1 + i32.add $push7=, $pop19, $pop18 i32.store $drop=, 0($0), $pop7 + i32.const $push17=, 4 + i32.add $0=, $0, $pop17 + i32.const $push16=, 4 + i32.add $2=, $2, $pop16 i32.const $push15=, 1 - i32.add $4=, $4, $pop15 - i32.const $push14=, 4 - i32.add $2=, $2, $pop14 - i32.const $push13=, 4 - i32.add $0=, $0, $pop13 - i32.lt_s $push8=, $4, $3 + i32.add $push14=, $4, $pop15 + tee_local $push13=, $4=, $pop14 + i32.lt_s $push8=, $pop13, $3 br_if 0, $pop8 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -58,33 +60,33 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push16=, __stack_pointer - i32.const $push13=, __stack_pointer - i32.load $push14=, 0($pop13) + i32.const $push16=, 0 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) i32.const $push15=, 16 i32.sub $push19=, $pop14, $pop15 - i32.store $push21=, 0($pop16), $pop19 + i32.store $push21=, __stack_pointer($pop16), $pop19 tee_local $push20=, $0=, $pop21 i32.const $push17=, 4 i32.add $push18=, $pop20, $pop17 - i32.const $push0=, b - i32.const $push2=, 0 - i32.const $push1=, 2 - call f@FUNCTION, $pop18, $pop0, $pop2, $pop1 + i32.const $push2=, b + i32.const $push1=, 0 + i32.const $push0=, 2 + call f@FUNCTION, $pop18, $pop2, $pop1, $pop0 block - i32.load $push3=, 4($0) - i32.const $push4=, 3 - i32.ne $push5=, $pop3, $pop4 + i32.load $push4=, 4($0) + i32.const $push3=, 3 + i32.ne $push5=, $pop4, $pop3 br_if 0, $pop5 # 0: down to label3 # BB#1: # %lor.lhs.false - i32.load $push6=, 8($0) - i32.const $push7=, 9 - i32.ne $push8=, $pop6, $pop7 + i32.load $push7=, 8($0) + i32.const $push6=, 9 + i32.ne $push8=, $pop7, $pop6 br_if 0, $pop8 # 0: down to label3 # BB#2: # %lor.lhs.false3 - i32.load $push9=, 12($0) - i32.const $push10=, 21 - i32.ne $push11=, $pop9, $pop10 + i32.load $push10=, 12($0) + i32.const $push9=, 21 + i32.ne $push11=, $pop10, $pop9 br_if 0, $pop11 # 0: down to label3 # BB#3: # %if.end i32.const $push12=, 0 diff --git a/test/torture-s/pr20601-1.c.s b/test/torture-s/pr20601-1.c.s index 0b1a09d92..8b02ec514 100644 --- a/test/torture-s/pr20601-1.c.s +++ b/test/torture-s/pr20601-1.c.s @@ -25,7 +25,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -36,187 +36,190 @@ bar: # @bar .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push36=, 0 - i32.const $push0=, g - i32.store $drop=, c($pop36), $pop0 - i32.const $push35=, 0 + i32.const $push38=, 0 i32.const $push1=, 4 - i32.store $0=, b($pop35), $pop1 - i32.const $2=, g+4 + i32.store $0=, b($pop38), $pop1 + i32.const $push37=, 0 + i32.const $push2=, g + i32.store $drop=, c($pop37), $pop2 + i32.const $3=, g+4 + i32.const $push36=, 0 + i32.const $push35=, g+4 + i32.store $drop=, e($pop36), $pop35 + i32.const $2=, 3 i32.const $push34=, 0 - i32.const $push33=, g+4 - i32.store $drop=, e($pop34), $pop33 - i32.const $4=, 3 - i32.const $push32=, 0 - i32.const $push31=, 3 - i32.store $drop=, d($pop32), $pop31 - i32.const $3=, 1 + i32.const $push33=, 3 + i32.store $drop=, d($pop34), $pop33 + i32.const $4=, 1 .LBB2_1: # %land.rhs.i # =>This Inner Loop Header: Depth=1 block block block block - block - loop # label7: - i32.load $push39=, 0($2) - tee_local $push38=, $5=, $pop39 - i32.load8_u $push2=, 0($pop38) - i32.const $push37=, 45 - i32.ne $push3=, $pop2, $pop37 - br_if 1, $pop3 # 1: down to label8 + loop # label6: + i32.load $push41=, 0($3) + tee_local $push40=, $1=, $pop41 + i32.load8_u $push3=, 0($pop40) + i32.const $push39=, 45 + i32.ne $push4=, $pop3, $pop39 + br_if 1, $pop4 # 1: down to label7 # BB#2: # %while.body.i # in Loop: Header=BB2_1 Depth=1 block - i32.load8_s $push41=, 1($5) - tee_local $push40=, $1=, $pop41 - i32.eqz $push68=, $pop40 - br_if 0, $pop68 # 0: down to label9 + i32.load8_s $push43=, 1($1) + tee_local $push42=, $5=, $pop43 + i32.eqz $push78=, $pop42 + br_if 0, $pop78 # 0: down to label8 # BB#3: # %land.lhs.true.i # in Loop: Header=BB2_1 Depth=1 - i32.load8_u $push4=, 2($5) - br_if 6, $pop4 # 6: down to label3 + i32.load8_u $push5=, 2($1) + br_if 5, $pop5 # 5: down to label3 .LBB2_4: # %if.end.i # in Loop: Header=BB2_1 Depth=1 - end_block # label9: + end_block # label8: + block block block block - i32.const $push42=, 80 - i32.eq $push5=, $1, $pop42 - br_if 0, $pop5 # 0: down to label12 + i32.const $push44=, 80 + i32.eq $push6=, $5, $pop44 + br_if 0, $pop6 # 0: down to label12 # BB#5: # %if.end.i # in Loop: Header=BB2_1 Depth=1 - i32.const $push43=, 117 - i32.eq $push6=, $1, $pop43 - br_if 1, $pop6 # 1: down to label11 + i32.const $push45=, 117 + i32.eq $push7=, $5, $pop45 + br_if 2, $pop7 # 2: down to label10 # BB#6: # %if.end.i # in Loop: Header=BB2_1 Depth=1 - i32.const $push44=, 45 - i32.ne $push7=, $1, $pop44 - br_if 2, $pop7 # 2: down to label10 + i32.const $push46=, 45 + i32.ne $push8=, $5, $pop46 + br_if 1, $pop8 # 1: down to label11 br 6 # 6: down to label5 .LBB2_7: # %sw.bb21.i # in Loop: Header=BB2_1 Depth=1 end_block # label12: - i32.const $push45=, 4096 - i32.or $3=, $3, $pop45 - br 1 # 1: down to label10 -.LBB2_8: # %sw.bb.i + i32.const $push47=, 4096 + i32.or $4=, $4, $pop47 +.LBB2_8: # %sw.epilog.i # in Loop: Header=BB2_1 Depth=1 end_block # label11: - i32.load $push15=, 4($2) - i32.eqz $push69=, $pop15 - br_if 6, $pop69 # 6: down to label3 -# BB#9: # %if.end19.i - # in Loop: Header=BB2_1 Depth=1 - i32.add $2=, $2, $0 - i32.const $push49=, 0 - i32.store $1=, t+4100($pop49), $2 - i32.const $push48=, -1 - i32.add $4=, $4, $pop48 - i32.const $push47=, 0 - i32.store $drop=, d($pop47), $4 - i32.const $push46=, 0 - i32.store $drop=, e($pop46), $1 -.LBB2_10: # %sw.epilog.i + copy_local $5=, $2 + br 1 # 1: down to label9 +.LBB2_9: # %sw.bb.i # in Loop: Header=BB2_1 Depth=1 end_block # label10: + i32.load $push16=, 4($3) + i32.eqz $push79=, $pop16 + br_if 5, $pop79 # 5: down to label3 +# BB#10: # %if.end19.i + # in Loop: Header=BB2_1 Depth=1 i32.const $push55=, 0 - i32.const $push54=, -1 - i32.add $push53=, $4, $pop54 - tee_local $push52=, $6=, $pop53 - i32.store $1=, d($pop55), $pop52 - i32.add $2=, $2, $0 + i32.const $push54=, 0 + i32.add $push53=, $3, $0 + tee_local $push52=, $3=, $pop53 + i32.store $push0=, t+4100($pop54), $pop52 + i32.store $drop=, e($pop55), $pop0 i32.const $push51=, 0 - i32.store $drop=, e($pop51), $2 - i32.const $push50=, 1 - i32.gt_s $5=, $4, $pop50 - copy_local $4=, $1 - br_if 0, $5 # 0: up to label7 - br 2 # 2: down to label6 -.LBB2_11: - end_loop # label8: - copy_local $6=, $4 -.LBB2_12: # %while.end.i - end_block # label6: + i32.const $push50=, -1 + i32.add $push49=, $2, $pop50 + tee_local $push48=, $5=, $pop49 + i32.store $drop=, d($pop51), $pop48 +.LBB2_11: # %sw.epilog.i + # in Loop: Header=BB2_1 Depth=1 + end_block # label9: + i32.const $push63=, 0 + i32.add $push62=, $3, $0 + tee_local $push61=, $3=, $pop62 + i32.store $drop=, e($pop63), $pop61 + i32.const $push60=, 0 + i32.const $push59=, -1 + i32.add $push58=, $5, $pop59 + tee_local $push57=, $2=, $pop58 + i32.store $drop=, d($pop60), $pop57 i32.const $push56=, 1 - i32.lt_s $push17=, $6, $pop56 - br_if 1, $pop17 # 1: down to label4 + i32.gt_s $push17=, $5, $pop56 + br_if 0, $pop17 # 0: up to label6 +.LBB2_12: # %while.end.i + end_loop # label7: + i32.const $push64=, 1 + i32.lt_s $push19=, $2, $pop64 + br_if 1, $pop19 # 1: down to label4 # BB#13: # %while.end.i - i32.const $push57=, 1 - i32.and $push16=, $3, $pop57 - br_if 1, $pop16 # 1: down to label4 + i32.const $push65=, 1 + i32.and $push18=, $4, $pop65 + br_if 1, $pop18 # 1: down to label4 br 2 # 2: down to label3 .LBB2_14: # %sw.bb22.i end_block # label5: - i32.const $push13=, 1536 - i32.or $push14=, $3, $pop13 - i32.const $push11=, 1 - i32.eq $push12=, $3, $pop11 - i32.select $3=, $pop14, $3, $pop12 - i32.const $push10=, 4 - i32.add $2=, $2, $pop10 - i32.const $push9=, 0 - i32.const $push8=, -1 - i32.add $push60=, $4, $pop8 - tee_local $push59=, $6=, $pop60 - i32.store $drop=, d($pop9), $pop59 - i32.const $push58=, 0 - i32.store $drop=, e($pop58), $2 + i32.const $push10=, 0 + i32.const $push9=, 4 + i32.add $push70=, $3, $pop9 + tee_local $push69=, $3=, $pop70 + i32.store $drop=, e($pop10), $pop69 + i32.const $push68=, 0 + i32.const $push11=, -1 + i32.add $push67=, $2, $pop11 + tee_local $push66=, $2=, $pop67 + i32.store $drop=, d($pop68), $pop66 + i32.const $push14=, 1536 + i32.or $push15=, $4, $pop14 + i32.const $push12=, 1 + i32.eq $push13=, $4, $pop12 + i32.select $4=, $pop15, $4, $pop13 .LBB2_15: # %setup2.exit end_block # label4: - i32.const $push61=, 0 - i32.const $push18=, .L.str.4 - i32.store $4=, t($pop61), $pop18 + i32.const $push71=, 0 + i32.const $push20=, .L.str.4 + i32.store $5=, t($pop71), $pop20 block - i32.const $push19=, 512 - i32.and $push20=, $3, $pop19 - i32.eqz $push70=, $pop20 - br_if 0, $pop70 # 0: down to label13 + i32.const $push21=, 512 + i32.and $push22=, $4, $pop21 + i32.eqz $push80=, $pop22 + br_if 0, $pop80 # 0: down to label13 # BB#16: # %if.then6.i - i32.const $push64=, 0 - i32.const $push21=, 1 - i32.add $push22=, $6, $pop21 - i32.store $drop=, d($pop64), $pop22 - i32.const $push63=, 0 + i32.const $push74=, 0 i32.const $push23=, f - i32.store $drop=, e($pop63), $pop23 - i32.const $push62=, 0 - i32.store $drop=, f($pop62), $4 - i32.const $4=, 4 + i32.store $drop=, e($pop74), $pop23 + i32.const $push73=, 0 + i32.store $drop=, f($pop73), $5 + i32.const $push72=, 0 + i32.const $push24=, 1 + i32.add $push25=, $2, $pop24 + i32.store $drop=, d($pop72), $pop25 + i32.const $5=, 4 .LBB2_17: # %for.cond.i # =>This Inner Loop Header: Depth=1 loop # label14: - i32.add $push24=, $2, $4 - i32.const $push66=, -4 - i32.add $push25=, $pop24, $pop66 - i32.load $push26=, 0($pop25) - i32.store $1=, f($4), $pop26 - i32.const $push65=, 4 - i32.add $4=, $4, $pop65 + i32.add $push26=, $3, $5 + i32.const $push76=, -4 + i32.add $push27=, $pop26, $pop76 + i32.load $push28=, 0($pop27) + i32.store $1=, f($5), $pop28 + i32.const $push75=, 4 + i32.add $5=, $5, $pop75 br_if 0, $1 # 0: up to label14 .LBB2_18: # %setup1.exit end_loop # label15: end_block # label13: - i32.const $push28=, 1024 - i32.and $push29=, $3, $pop28 - i32.eqz $push71=, $pop29 - br_if 1, $pop71 # 1: down to label2 + i32.const $push30=, 1024 + i32.and $push31=, $4, $pop30 + i32.eqz $push81=, $pop31 + br_if 1, $pop81 # 1: down to label2 # BB#19: # %setup1.exit - i32.const $push67=, 0 - i32.load $push27=, a+16($pop67) - br_if 1, $pop27 # 1: down to label2 + i32.const $push77=, 0 + i32.load $push29=, a+16($pop77) + br_if 1, $pop29 # 1: down to label2 .LBB2_20: # %if.then end_block # label3: call abort@FUNCTION unreachable .LBB2_21: # %if.end end_block # label2: - i32.const $push30=, 0 - call exit@FUNCTION, $pop30 + i32.const $push32=, 0 + call exit@FUNCTION, $pop32 unreachable .endfunc .Lfunc_end2: diff --git a/test/torture-s/pr20621-1.c.s b/test/torture-s/pr20621-1.c.s index d154e9376..eec04322f 100644 --- a/test/torture-s/pr20621-1.c.s +++ b/test/torture-s/pr20621-1.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.shl $push1=, $1, $pop0 i32.add $push2=, $0, $pop1 i32.load $push3=, 0($pop2) - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -29,7 +29,7 @@ main: # @main i32.const $push4=, 0 i32.load $push1=, gb($pop4) i32.add $push3=, $pop2, $pop1 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr21173.c.s b/test/torture-s/pr21173.c.s index 8487cf3ea..3740a071e 100644 --- a/test/torture-s/pr21173.c.s +++ b/test/torture-s/pr21173.c.s @@ -6,22 +6,21 @@ .type foo,@function foo: # @foo .param i32 - .local i32 # BB#0: # %entry i32.const $push1=, 0 - i32.load $1=, a+4($pop1) - i32.const $push9=, 0 - i32.const $push8=, 0 - i32.load $push2=, a($pop8) + i32.const $push10=, 0 + i32.load $push2=, a($pop10) i32.const $push0=, q - i32.sub $push7=, $0, $pop0 - tee_local $push6=, $0=, $pop7 - i32.add $push3=, $pop2, $pop6 - i32.store $drop=, a($pop9), $pop3 - i32.const $push5=, 0 - i32.add $push4=, $1, $0 - i32.store $drop=, a+4($pop5), $pop4 - return + i32.sub $push9=, $0, $pop0 + tee_local $push8=, $0=, $pop9 + i32.add $push3=, $pop2, $pop8 + i32.store $drop=, a($pop1), $pop3 + i32.const $push7=, 0 + i32.const $push6=, 0 + i32.load $push4=, a+4($pop6) + i32.add $push5=, $pop4, $0 + i32.store $drop=, a+4($pop7), $pop5 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -35,10 +34,10 @@ main: # @main # BB#0: # %entry block i32.const $push4=, 0 - i32.load $push0=, a($pop4) + i32.load $push1=, a($pop4) i32.const $push3=, 0 - i32.load $push1=, a+4($pop3) - i32.or $push2=, $pop0, $pop1 + i32.load $push0=, a+4($pop3) + i32.or $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.cond.1 i32.const $push5=, 0 diff --git a/test/torture-s/pr21331.c.s b/test/torture-s/pr21331.c.s index 0e30e42c0..c82f28f5e 100644 --- a/test/torture-s/pr21331.c.s +++ b/test/torture-s/pr21331.c.s @@ -8,7 +8,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, -1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -21,7 +21,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -34,7 +34,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr22061-1.c.s b/test/torture-s/pr22061-1.c.s index 6151b4efd..13f604d91 100644 --- a/test/torture-s/pr22061-1.c.s +++ b/test/torture-s/pr22061-1.c.s @@ -6,7 +6,7 @@ .type foo,@function foo: # @foo # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -24,7 +24,7 @@ bar: # @bar tee_local $push2=, $1=, $pop3 i32.add $push1=, $0, $pop2 i32.store8 $drop=, 0($pop1), $1 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr22098-3.c.s b/test/torture-s/pr22098-3.c.s index 4d1de536e..a66aa5a59 100644 --- a/test/torture-s/pr22098-3.c.s +++ b/test/torture-s/pr22098-3.c.s @@ -13,7 +13,7 @@ f: # @f i32.const $push3=, 1 i32.add $push4=, $pop2, $pop3 i32.store $push0=, n($pop1), $pop4 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/pr22348.c.s b/test/torture-s/pr22348.c.s index d4cbcf2fd..127d52446 100644 --- a/test/torture-s/pr22348.c.s +++ b/test/torture-s/pr22348.c.s @@ -29,7 +29,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr22429.c.s b/test/torture-s/pr22429.c.s index 51697e3c6..33abf185f 100644 --- a/test/torture-s/pr22429.c.s +++ b/test/torture-s/pr22429.c.s @@ -14,7 +14,7 @@ f: # @f i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 1 i32.xor $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -27,7 +27,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr22630.c.s b/test/torture-s/pr22630.c.s index caf6c8ff8..cd0efb59e 100644 --- a/test/torture-s/pr22630.c.s +++ b/test/torture-s/pr22630.c.s @@ -13,12 +13,12 @@ bla: # @bla i32.eq $push2=, $pop1, $0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.then1 - i32.const $push3=, 0 - i32.const $push4=, 1 - i32.store $drop=, j($pop3), $pop4 + i32.const $push4=, 0 + i32.const $push3=, 1 + i32.store $drop=, j($pop4), $pop3 .LBB0_2: # %if.end2 end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size bla, .Lfunc_end0-bla @@ -34,7 +34,7 @@ main: # @main i32.const $push0=, 1 i32.store $drop=, j($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr23135.c.s b/test/torture-s/pr23135.c.s index 3bc4e877f..287ea6c59 100644 --- a/test/torture-s/pr23135.c.s +++ b/test/torture-s/pr23135.c.s @@ -31,217 +31,219 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push18=, 0 - i32.load $13=, i($pop18) - i32.const $push118=, 0 - i32.load $14=, j($pop118) - i32.const $push117=, 0 - i32.const $push116=, 0 - i32.load $push115=, j+4($pop116) - tee_local $push114=, $17=, $pop115 - i32.const $push113=, 0 - i32.load $push112=, i+4($pop113) - tee_local $push111=, $16=, $pop112 - i32.add $push3=, $pop114, $pop111 - i32.store $0=, res+4($pop117), $pop3 + i32.const $push24=, 0 + i32.const $push128=, 0 + i32.load $push127=, j+4($pop128) + tee_local $push126=, $17=, $pop127 + i32.const $push125=, 0 + i32.load $push124=, i+4($pop125) + tee_local $push123=, $15=, $pop124 + i32.add $push9=, $pop126, $pop123 + i32.store $0=, res+4($pop24), $pop9 block - i32.const $push110=, 0 - i32.add $push2=, $14, $13 - i32.store $push109=, res($pop110), $pop2 - tee_local $push108=, $15=, $pop109 - i32.const $push19=, 160 - i32.ne $push20=, $pop108, $pop19 - br_if 0, $pop20 # 0: down to label1 + i32.const $push122=, 0 + i32.const $push121=, 0 + i32.load $push120=, j($pop121) + tee_local $push119=, $16=, $pop120 + i32.const $push118=, 0 + i32.load $push117=, i($pop118) + tee_local $push116=, $14=, $pop117 + i32.add $push8=, $pop119, $pop116 + i32.store $push115=, res($pop122), $pop8 + tee_local $push114=, $1=, $pop115 + i32.const $push25=, 160 + i32.ne $push26=, $pop114, $pop25 + br_if 0, $pop26 # 0: down to label1 # BB#1: # %entry - i32.const $push21=, 113 - i32.ne $push22=, $0, $pop21 - br_if 0, $pop22 # 0: down to label1 + i32.const $push27=, 113 + i32.ne $push28=, $0, $pop27 + br_if 0, $pop28 # 0: down to label1 # BB#2: # %verify.exit - i32.const $push23=, 0 - i32.mul $push4=, $14, $13 - i32.store $1=, res($pop23), $pop4 - i32.const $push119=, 0 - i32.mul $push5=, $17, $16 - i32.store $2=, res+4($pop119), $pop5 - i32.const $push24=, 1500 - i32.ne $push25=, $1, $pop24 - br_if 0, $pop25 # 0: down to label1 + i32.const $push29=, 0 + i32.mul $push10=, $16, $14 + i32.store $2=, res($pop29), $pop10 + i32.const $push129=, 0 + i32.mul $push11=, $17, $15 + i32.store $3=, res+4($pop129), $pop11 + i32.const $push30=, 1500 + i32.ne $push31=, $2, $pop30 + br_if 0, $pop31 # 0: down to label1 # BB#3: # %verify.exit - i32.const $push26=, 1300 - i32.ne $push27=, $2, $pop26 - br_if 0, $pop27 # 0: down to label1 + i32.const $push32=, 1300 + i32.ne $push33=, $3, $pop32 + br_if 0, $pop33 # 0: down to label1 # BB#4: # %verify.exit48 - i32.const $push28=, 0 - i32.div_s $push6=, $13, $14 - i32.store $3=, res($pop28), $pop6 - i32.const $push120=, 0 - i32.div_s $push7=, $16, $17 - i32.store $4=, res+4($pop120), $pop7 - i32.const $push29=, 15 - i32.ne $push30=, $3, $pop29 - br_if 0, $pop30 # 0: down to label1 + i32.const $push34=, 0 + i32.div_s $push12=, $14, $16 + i32.store $4=, res($pop34), $pop12 + i32.const $push130=, 0 + i32.div_s $push13=, $15, $17 + i32.store $5=, res+4($pop130), $pop13 + i32.const $push35=, 15 + i32.ne $push36=, $4, $pop35 + br_if 0, $pop36 # 0: down to label1 # BB#5: # %verify.exit48 - i32.const $push31=, 7 - i32.ne $push32=, $4, $pop31 - br_if 0, $pop32 # 0: down to label1 + i32.const $push37=, 7 + i32.ne $push38=, $5, $pop37 + br_if 0, $pop38 # 0: down to label1 # BB#6: # %verify.exit54 - i32.const $push33=, 0 - i32.and $push8=, $14, $13 - i32.store $5=, res($pop33), $pop8 - i32.const $push121=, 0 - i32.and $push9=, $17, $16 - i32.store $6=, res+4($pop121), $pop9 - i32.const $push34=, 2 - i32.ne $push35=, $5, $pop34 - br_if 0, $pop35 # 0: down to label1 + i32.const $push39=, 0 + i32.and $push14=, $16, $14 + i32.store $6=, res($pop39), $pop14 + i32.const $push131=, 0 + i32.and $push15=, $17, $15 + i32.store $7=, res+4($pop131), $pop15 + i32.const $push40=, 2 + i32.ne $push41=, $6, $pop40 + br_if 0, $pop41 # 0: down to label1 # BB#7: # %verify.exit54 - i32.const $push36=, 4 - i32.ne $push37=, $6, $pop36 - br_if 0, $pop37 # 0: down to label1 + i32.const $push42=, 4 + i32.ne $push43=, $7, $pop42 + br_if 0, $pop43 # 0: down to label1 # BB#8: # %verify.exit60 - i32.const $push38=, 0 - i32.or $push10=, $14, $13 - i32.store $7=, res($pop38), $pop10 - i32.const $push122=, 0 - i32.or $push11=, $17, $16 - i32.store $8=, res+4($pop122), $pop11 - i32.const $push39=, 158 - i32.ne $push40=, $7, $pop39 - br_if 0, $pop40 # 0: down to label1 + i32.const $push44=, 0 + i32.or $push16=, $16, $14 + i32.store $8=, res($pop44), $pop16 + i32.const $push132=, 0 + i32.or $push17=, $17, $15 + i32.store $9=, res+4($pop132), $pop17 + i32.const $push45=, 158 + i32.ne $push46=, $8, $pop45 + br_if 0, $pop46 # 0: down to label1 # BB#9: # %verify.exit60 - i32.const $push41=, 109 - i32.ne $push42=, $8, $pop41 - br_if 0, $pop42 # 0: down to label1 + i32.const $push47=, 109 + i32.ne $push48=, $9, $pop47 + br_if 0, $pop48 # 0: down to label1 # BB#10: # %verify.exit66 - i32.const $push43=, 0 - i32.xor $push12=, $13, $14 - i32.store $14=, res($pop43), $pop12 - i32.const $push123=, 0 - i32.xor $push13=, $16, $17 - i32.store $17=, res+4($pop123), $pop13 - i32.const $push44=, 156 - i32.ne $push45=, $14, $pop44 - br_if 0, $pop45 # 0: down to label1 + i32.const $push49=, 0 + i32.xor $push18=, $14, $16 + i32.store $16=, res($pop49), $pop18 + i32.const $push133=, 0 + i32.xor $push19=, $15, $17 + i32.store $17=, res+4($pop133), $pop19 + i32.const $push50=, 156 + i32.ne $push51=, $16, $pop50 + br_if 0, $pop51 # 0: down to label1 # BB#11: # %verify.exit66 - i32.const $push46=, 105 - i32.ne $push47=, $17, $pop46 - br_if 0, $pop47 # 0: down to label1 + i32.const $push52=, 105 + i32.ne $push53=, $17, $pop52 + br_if 0, $pop53 # 0: down to label1 # BB#12: # %verify.exit72 - i32.const $push48=, 0 - i32.const $push126=, 0 - i32.sub $push14=, $pop126, $13 - i32.store $9=, res($pop48), $pop14 - i32.const $push125=, 0 - i32.const $push124=, 0 - i32.sub $push15=, $pop124, $16 - i32.store $10=, res+4($pop125), $pop15 - i32.const $push49=, -150 - i32.ne $push50=, $9, $pop49 - br_if 0, $pop50 # 0: down to label1 -# BB#13: # %verify.exit72 - i32.const $push51=, -100 - i32.ne $push52=, $10, $pop51 - br_if 0, $pop52 # 0: down to label1 -# BB#14: # %verify.exit78 i32.const $push54=, 0 - i32.const $push53=, -1 - i32.xor $push16=, $13, $pop53 - i32.store $11=, res($pop54), $pop16 - i32.const $push128=, 0 - i32.const $push127=, -1 - i32.xor $push17=, $16, $pop127 - i32.store $12=, res+4($pop128), $pop17 - i32.const $push55=, 150 - i32.ne $push56=, $13, $pop55 + i32.const $push136=, 0 + i32.sub $push20=, $pop136, $14 + i32.store $10=, res($pop54), $pop20 + i32.const $push135=, 0 + i32.const $push134=, 0 + i32.sub $push21=, $pop134, $15 + i32.store $11=, res+4($pop135), $pop21 + i32.const $push55=, -150 + i32.ne $push56=, $10, $pop55 br_if 0, $pop56 # 0: down to label1 -# BB#15: # %verify.exit78 - i32.const $push57=, -101 - i32.ne $push58=, $12, $pop57 +# BB#13: # %verify.exit72 + i32.const $push57=, -100 + i32.ne $push58=, $11, $pop57 br_if 0, $pop58 # 0: down to label1 +# BB#14: # %verify.exit78 + i32.const $push60=, 0 + i32.const $push59=, -1 + i32.xor $push22=, $14, $pop59 + i32.store $12=, res($pop60), $pop22 + i32.const $push138=, 0 + i32.const $push137=, -1 + i32.xor $push23=, $15, $pop137 + i32.store $13=, res+4($pop138), $pop23 + i32.const $push61=, 150 + i32.ne $push62=, $14, $pop61 + br_if 0, $pop62 # 0: down to label1 +# BB#15: # %verify.exit78 + i32.const $push63=, -101 + i32.ne $push64=, $13, $pop63 + br_if 0, $pop64 # 0: down to label1 # BB#16: # %verify.exit84 - i32.const $push71=, 0 - i32.add $push60=, $1, $15 - i32.add $push63=, $pop60, $5 - i32.add $push64=, $pop63, $7 - i32.add $push67=, $pop64, $14 - i32.sub $push68=, $pop67, $13 - i32.add $push70=, $pop68, $11 - i32.store $13=, k($pop71), $pop70 - i32.const $push131=, 0 - i32.add $push61=, $2, $0 - i32.add $push62=, $pop61, $6 - i32.add $push65=, $pop62, $8 - i32.add $push66=, $pop65, $17 - i32.sub $push69=, $pop66, $16 - i32.add $push59=, $pop69, $12 - i32.store $16=, k+4($pop131), $pop59 - i32.const $push130=, 0 - i32.store $drop=, res($pop130), $13 - i32.const $push129=, 0 - i32.store $drop=, res+4($pop129), $16 - i32.const $push72=, 1675 - i32.ne $push73=, $13, $pop72 - br_if 0, $pop73 # 0: down to label1 + i32.const $push72=, 0 + i32.const $push141=, 0 + i32.add $push66=, $2, $1 + i32.add $push67=, $pop66, $6 + i32.add $push68=, $pop67, $8 + i32.add $push69=, $pop68, $16 + i32.sub $push70=, $pop69, $14 + i32.add $push71=, $pop70, $12 + i32.store $push0=, res($pop141), $pop71 + i32.store $14=, k($pop72), $pop0 + i32.const $push140=, 0 + i32.const $push139=, 0 + i32.add $push73=, $3, $0 + i32.add $push74=, $pop73, $7 + i32.add $push75=, $pop74, $9 + i32.add $push76=, $pop75, $17 + i32.sub $push77=, $pop76, $15 + i32.add $push65=, $pop77, $13 + i32.store $push1=, res+4($pop139), $pop65 + i32.store $15=, k+4($pop140), $pop1 + i32.const $push78=, 1675 + i32.ne $push79=, $14, $pop78 + br_if 0, $pop79 # 0: down to label1 # BB#17: # %verify.exit84 - i32.const $push74=, 1430 - i32.ne $push75=, $16, $pop74 - br_if 0, $pop75 # 0: down to label1 + i32.const $push80=, 1430 + i32.ne $push81=, $15, $pop80 + br_if 0, $pop81 # 0: down to label1 # BB#18: # %verify.exit90 - i32.const $push88=, 0 - i32.mul $push77=, $1, $15 - i32.mul $push80=, $pop77, $5 - i32.mul $push81=, $pop80, $7 - i32.mul $push84=, $pop81, $14 - i32.mul $push85=, $pop84, $9 - i32.mul $push87=, $pop85, $11 - i32.store $13=, k($pop88), $pop87 - i32.const $push134=, 0 - i32.mul $push78=, $2, $0 - i32.mul $push79=, $pop78, $6 - i32.mul $push82=, $pop79, $8 - i32.mul $push83=, $pop82, $17 - i32.mul $push86=, $pop83, $10 - i32.mul $push76=, $pop86, $12 - i32.store $16=, k+4($pop134), $pop76 - i32.const $push133=, 0 - i32.store $drop=, res($pop133), $13 - i32.const $push132=, 0 - i32.store $drop=, res+4($pop132), $16 - i32.const $push89=, 1456467968 - i32.ne $push90=, $13, $pop89 - br_if 0, $pop90 # 0: down to label1 + i32.const $push89=, 0 + i32.const $push144=, 0 + i32.mul $push83=, $2, $1 + i32.mul $push84=, $pop83, $6 + i32.mul $push85=, $pop84, $8 + i32.mul $push86=, $pop85, $16 + i32.mul $push87=, $pop86, $10 + i32.mul $push88=, $pop87, $12 + i32.store $push2=, res($pop144), $pop88 + i32.store $14=, k($pop89), $pop2 + i32.const $push143=, 0 + i32.const $push142=, 0 + i32.mul $push90=, $3, $0 + i32.mul $push91=, $pop90, $7 + i32.mul $push92=, $pop91, $9 + i32.mul $push93=, $pop92, $17 + i32.mul $push94=, $pop93, $11 + i32.mul $push82=, $pop94, $13 + i32.store $push3=, res+4($pop142), $pop82 + i32.store $15=, k+4($pop143), $pop3 + i32.const $push95=, 1456467968 + i32.ne $push96=, $14, $pop95 + br_if 0, $pop96 # 0: down to label1 # BB#19: # %verify.exit90 - i32.const $push91=, -1579586240 - i32.ne $push92=, $16, $pop91 - br_if 0, $pop92 # 0: down to label1 + i32.const $push97=, -1579586240 + i32.ne $push98=, $15, $pop97 + br_if 0, $pop98 # 0: down to label1 # BB#20: # %verify.exit96 - i32.const $push138=, 0 - i32.div_s $push94=, $15, $1 - i32.div_s $push95=, $pop94, $3 - i32.div_s $push98=, $pop95, $5 - i32.div_s $push99=, $pop98, $7 - i32.div_s $push102=, $pop99, $14 - i32.div_s $push103=, $pop102, $9 - i32.div_s $push106=, $pop103, $11 - i32.store $13=, k($pop138), $pop106 - i32.const $push137=, 0 - i32.div_s $push93=, $0, $2 - i32.div_s $push96=, $pop93, $4 - i32.div_s $push97=, $pop96, $6 - i32.div_s $push100=, $pop97, $8 - i32.div_s $push101=, $pop100, $17 - i32.div_s $push104=, $pop101, $10 + i32.const $push148=, 0 + i32.const $push147=, 0 + i32.div_s $push99=, $1, $2 + i32.div_s $push100=, $pop99, $4 + i32.div_s $push101=, $pop100, $6 + i32.div_s $push102=, $pop101, $8 + i32.div_s $push103=, $pop102, $16 + i32.div_s $push104=, $pop103, $10 i32.div_s $push105=, $pop104, $12 - i32.store $14=, k+4($pop137), $pop105 - i32.const $push136=, 0 - i32.store $push0=, res($pop136), $13 - i32.const $push135=, 0 - i32.store $push1=, res+4($pop135), $14 - i32.or $push107=, $pop0, $pop1 - br_if 0, $pop107 # 0: down to label1 + i32.store $push4=, res($pop147), $pop105 + i32.store $push5=, k($pop148), $pop4 + i32.const $push146=, 0 + i32.const $push145=, 0 + i32.div_s $push106=, $0, $3 + i32.div_s $push107=, $pop106, $5 + i32.div_s $push108=, $pop107, $7 + i32.div_s $push109=, $pop108, $9 + i32.div_s $push110=, $pop109, $17 + i32.div_s $push111=, $pop110, $11 + i32.div_s $push112=, $pop111, $13 + i32.store $push6=, res+4($pop145), $pop112 + i32.store $push7=, k+4($pop146), $pop6 + i32.or $push113=, $pop5, $pop7 + br_if 0, $pop113 # 0: down to label1 # BB#21: # %verify.exit102 - i32.const $push139=, 0 - call exit@FUNCTION, $pop139 + i32.const $push149=, 0 + call exit@FUNCTION, $pop149 unreachable .LBB1_22: # %if.then.i101 end_block # label1: diff --git a/test/torture-s/pr23604.c.s b/test/torture-s/pr23604.c.s index 098652fb7..b7453cd1a 100644 --- a/test/torture-s/pr23604.c.s +++ b/test/torture-s/pr23604.c.s @@ -24,7 +24,8 @@ g: # @g i32.const $0=, 1 .LBB0_4: # %return end_block # label0: - return $0 + copy_local $push3=, $0 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -37,7 +38,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr24141.c.s b/test/torture-s/pr24141.c.s index 4fc8114bc..9efa608b4 100644 --- a/test/torture-s/pr24141.c.s +++ b/test/torture-s/pr24141.c.s @@ -6,10 +6,10 @@ .type g,@function g: # @g # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 1 - i32.store $drop=, i($pop0), $pop1 - return + i32.const $push1=, 0 + i32.const $push0=, 1 + i32.store $drop=, i($pop1), $pop0 + # fallthrough-return .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -27,12 +27,12 @@ f: # @f # BB#1: # %entry br_if 0, $1 # 0: down to label0 # BB#2: # %if.then10 - i32.const $push0=, 0 - i32.const $push1=, 1 - i32.store $drop=, i($pop0), $pop1 + i32.const $push1=, 0 + i32.const $push0=, 1 + i32.store $drop=, i($pop1), $pop0 .LBB1_3: # %cleanup end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -48,7 +48,7 @@ main: # @main i32.const $push0=, 1 i32.store $drop=, i($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr24142.c.s b/test/torture-s/pr24142.c.s index ea280bc00..60f8fec10 100644 --- a/test/torture-s/pr24142.c.s +++ b/test/torture-s/pr24142.c.s @@ -8,14 +8,14 @@ f: # @f .param i32, i32 .result i32 # BB#0: # %entry - i32.const $push0=, 1 - i32.or $push1=, $0, $pop0 + i32.const $push2=, 1 + i32.or $push3=, $0, $pop2 i32.const $push6=, 1 - i32.eq $push2=, $pop1, $pop6 - i32.const $push3=, 0 - i32.ne $push4=, $1, $pop3 - i32.and $push5=, $pop2, $pop4 - return $pop5 + i32.eq $push4=, $pop3, $pop6 + i32.const $push0=, 0 + i32.ne $push1=, $1, $pop0 + i32.and $push5=, $pop4, $pop1 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -28,7 +28,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr24716.c.s b/test/torture-s/pr24716.c.s index beb514d63..c0630b466 100644 --- a/test/torture-s/pr24716.c.s +++ b/test/torture-s/pr24716.c.s @@ -21,22 +21,22 @@ f: # @f loop # label0: block block - i32.const $push21=, 3 - i32.lt_s $push0=, $5, $pop21 + i32.const $push23=, 3 + i32.lt_s $push0=, $5, $pop23 br_if 0, $pop0 # 0: down to label3 # BB#2: # %if.end.thread # in Loop: Header=BB0_1 Depth=1 - i32.const $push23=, 1 - i32.add $5=, $5, $pop23 - i32.const $push22=, -1 - i32.add $3=, $2, $pop22 + i32.const $push25=, -1 + i32.add $3=, $2, $pop25 + i32.const $push24=, 1 + i32.add $5=, $5, $pop24 br 1 # 1: down to label2 .LBB0_3: # %if.end # in Loop: Header=BB0_1 Depth=1 end_block # label3: i32.const $3=, 0 - i32.const $push24=, 1 - i32.eq $push1=, $2, $pop24 + i32.const $push26=, 1 + i32.eq $push1=, $2, $pop26 br_if 2, $pop1 # 2: down to label1 .LBB0_4: # %while.cond.preheader # in Loop: Header=BB0_1 Depth=1 @@ -51,17 +51,18 @@ f: # @f # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label5: - i32.add $5=, $5, $4 - i32.gt_s $push3=, $5, $1 + i32.add $push12=, $5, $4 + tee_local $push11=, $5=, $pop12 + i32.gt_s $push3=, $pop11, $1 br_if 0, $pop3 # 0: up to label5 .LBB0_7: # %do.body10.preheader # in Loop: Header=BB0_1 Depth=1 end_loop # label6: end_block # label4: - i32.const $push12=, 2 - i32.shl $push4=, $0, $pop12 - i32.const $push11=, W - i32.add $2=, $pop4, $pop11 + i32.const $push14=, 2 + i32.shl $push4=, $0, $pop14 + i32.const $push13=, W + i32.add $2=, $pop4, $pop13 .LBB0_8: # %do.body10 # Parent Loop BB0_1 Depth=1 # => This Loop Header: Depth=2 @@ -74,25 +75,25 @@ f: # @f # => This Inner Loop Header: Depth=3 loop # label9: block - i32.eqz $push25=, $4 - br_if 0, $pop25 # 0: down to label11 + i32.eqz $push27=, $4 + br_if 0, $pop27 # 0: down to label11 # BB#10: # %if.then13 # in Loop: Header=BB0_9 Depth=3 - i32.const $push13=, 0 - i32.store $drop=, 0($2), $pop13 + i32.const $push15=, 0 + i32.store $drop=, 0($2), $pop15 i32.const $5=, 1 .LBB0_11: # %do.cond16 # in Loop: Header=BB0_9 Depth=3 end_block # label11: i32.const $4=, 0 - i32.const $push14=, 1 - i32.lt_s $push5=, $1, $pop14 + i32.const $push16=, 1 + i32.lt_s $push5=, $1, $pop16 br_if 0, $pop5 # 0: up to label9 # BB#12: # %do.cond19 # in Loop: Header=BB0_8 Depth=2 end_loop # label10: - i32.const $push15=, 0 - i32.gt_s $push6=, $0, $pop15 + i32.const $push17=, 0 + i32.gt_s $push6=, $0, $pop17 br_if 0, $pop6 # 0: up to label7 # BB#13: # %do.body22.preheader # in Loop: Header=BB0_1 Depth=1 @@ -103,8 +104,8 @@ f: # @f # => This Loop Header: Depth=2 # Child Loop BB0_15 Depth 3 loop # label12: - i32.const $push16=, 2 - i32.shl $push7=, $4, $pop16 + i32.const $push18=, 2 + i32.shl $push7=, $4, $pop18 i32.load $4=, Link($pop7) i32.const $1=, 0 .LBB0_15: # %while.cond24 @@ -116,29 +117,30 @@ f: # @f br_if 1, $pop8 # 1: down to label15 # BB#16: # %while.body26 # in Loop: Header=BB0_15 Depth=3 - i32.const $push19=, -1 - i32.eq $push10=, $4, $pop19 + i32.const $push21=, -1 + i32.eq $push10=, $4, $pop21 br_if 0, $pop10 # 0: up to label14 # BB#17: # %if.then28 # in Loop: Header=BB0_15 Depth=3 - i32.const $push18=, 1 - i32.add $5=, $5, $pop18 - i32.const $push17=, 1 - i32.add $1=, $1, $pop17 + i32.const $push20=, 1 + i32.add $1=, $1, $pop20 + i32.const $push19=, 1 + i32.add $5=, $5, $pop19 br 0 # 0: up to label14 .LBB0_18: # %do.cond33 # in Loop: Header=BB0_14 Depth=2 end_loop # label15: i32.const $0=, -1 i32.const $2=, 1 - i32.const $push20=, -1 - i32.ne $push9=, $4, $pop20 + i32.const $push22=, -1 + i32.ne $push9=, $4, $pop22 br_if 0, $pop9 # 0: up to label12 br 2 # 2: up to label0 .LBB0_19: # %for.end end_loop # label13: end_loop # label1: - return $5 + copy_local $push28=, $5 + # fallthrough-return: $pop28 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -152,8 +154,8 @@ main: # @main .local i32, i32, i32, i32, i32 # BB#0: # %entry i32.const $4=, 0 - i32.const $2=, 2 - i32.const $0=, 0 + i32.const $1=, 2 + i32.const $2=, 0 i32.const $3=, 0 .LBB1_1: # %for.cond.i # =>This Loop Header: Depth=1 @@ -166,19 +168,19 @@ main: # @main block block i32.const $push8=, 3 - i32.lt_s $push0=, $0, $pop8 + i32.lt_s $push0=, $2, $pop8 br_if 0, $pop0 # 0: down to label21 # BB#2: # %if.end.thread.i # in Loop: Header=BB1_1 Depth=1 - i32.const $push10=, 1 - i32.add $0=, $0, $pop10 - i32.const $push9=, -1 - i32.add $1=, $3, $pop9 + i32.const $push10=, -1 + i32.add $0=, $3, $pop10 + i32.const $push9=, 1 + i32.add $2=, $2, $pop9 br 1 # 1: down to label20 .LBB1_3: # %if.end.i # in Loop: Header=BB1_1 Depth=1 end_block # label21: - i32.const $1=, 0 + i32.const $0=, 0 i32.const $push11=, 1 i32.eq $push1=, $3, $pop11 br_if 1, $pop1 # 1: down to label19 @@ -186,65 +188,66 @@ main: # @main # in Loop: Header=BB1_1 Depth=1 end_block # label20: block - i32.le_s $push3=, $0, $2 + i32.le_s $push3=, $2, $1 br_if 0, $pop3 # 0: down to label22 # BB#5: # %while.body.lr.ph.i # in Loop: Header=BB1_1 Depth=1 - i32.eq $3=, $1, $2 + i32.eq $3=, $0, $1 .LBB1_6: # %while.body.i # Parent Loop BB1_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label23: - i32.add $0=, $0, $3 - i32.gt_s $push4=, $0, $2 + i32.add $push13=, $2, $3 + tee_local $push12=, $2=, $pop13 + i32.gt_s $push4=, $pop12, $1 br_if 0, $pop4 # 0: up to label23 .LBB1_7: # %do.body10.i # in Loop: Header=BB1_1 Depth=1 end_loop # label24: end_block # label22: - i32.const $push15=, 2 - i32.shl $push14=, $4, $pop15 - tee_local $push13=, $1=, $pop14 - i32.load $3=, W($pop13) - i32.const $push12=, W - i32.add $1=, $1, $pop12 + i32.const $push17=, 2 + i32.shl $push16=, $4, $pop17 + tee_local $push15=, $3=, $pop16 + i32.const $push14=, W + i32.add $0=, $pop15, $pop14 + i32.load $3=, W($3) .LBB1_8: # %do.body11.i # Parent Loop BB1_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label25: block - i32.eqz $push20=, $3 - br_if 0, $pop20 # 0: down to label27 + i32.eqz $push22=, $3 + br_if 0, $pop22 # 0: down to label27 # BB#9: # %if.then13.i # in Loop: Header=BB1_8 Depth=2 - i32.const $push16=, 0 - i32.store $drop=, 0($1), $pop16 - i32.const $0=, 1 + i32.const $push18=, 0 + i32.store $drop=, 0($0), $pop18 + i32.const $2=, 1 .LBB1_10: # %do.cond16.i # in Loop: Header=BB1_8 Depth=2 end_block # label27: i32.const $3=, 0 - i32.eqz $push21=, $2 - br_if 0, $pop21 # 0: up to label25 + i32.eqz $push23=, $1 + br_if 0, $pop23 # 0: up to label25 .LBB1_11: # %do.cond33.i # Parent Loop BB1_1 Depth=1 # => This Inner Loop Header: Depth=2 end_loop # label26: loop # label28: - i32.const $push19=, 2 - i32.shl $push6=, $4, $pop19 - i32.load $push18=, Link($pop6) - tee_local $push17=, $4=, $pop18 + i32.const $push21=, 2 + i32.shl $push6=, $4, $pop21 + i32.load $push20=, Link($pop6) + tee_local $push19=, $4=, $pop20 i32.const $push5=, -1 - i32.ne $push7=, $pop17, $pop5 + i32.ne $push7=, $pop19, $pop5 br_if 0, $pop7 # 0: up to label28 br 3 # 3: down to label18 .LBB1_12: # %f.exit end_loop # label29: end_block # label19: block - i32.eqz $push22=, $0 - br_if 0, $pop22 # 0: down to label30 + i32.eqz $push24=, $2 + br_if 0, $pop24 # 0: down to label30 # BB#13: # %if.end i32.const $push2=, 0 return $pop2 @@ -255,7 +258,7 @@ main: # @main .LBB1_15: # in Loop: Header=BB1_1 Depth=1 end_block # label18: i32.const $3=, 1 - i32.const $2=, 0 + i32.const $1=, 0 i32.const $4=, -1 br 0 # 0: up to label16 .LBB1_16: diff --git a/test/torture-s/pr24851.c.s b/test/torture-s/pr24851.c.s index 4bc519f72..3db767bd9 100644 --- a/test/torture-s/pr24851.c.s +++ b/test/torture-s/pr24851.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr25125.c.s b/test/torture-s/pr25125.c.s index e83ae722e..5ae373161 100644 --- a/test/torture-s/pr25125.c.s +++ b/test/torture-s/pr25125.c.s @@ -23,7 +23,7 @@ f: # @f end_block # label0: i32.const $push4=, 65535 i32.and $push5=, $1, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/pr25737.c.s b/test/torture-s/pr25737.c.s index d09e3568e..d0c4d1dbc 100644 --- a/test/torture-s/pr25737.c.s +++ b/test/torture-s/pr25737.c.s @@ -11,7 +11,7 @@ time_enqueue: # @time_enqueue i32.const $push1=, 0 i32.store $push0=, 0($0), $pop1 i32.load $push2=, Timer_Queue($pop0) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size time_enqueue, .Lfunc_end0-time_enqueue @@ -26,7 +26,7 @@ main: # @main i32.const $push1=, 0 i32.const $push2=, 0 i32.store $push0=, Timer_Queue($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr27073.c.s b/test/torture-s/pr27073.c.s index 97d4f06eb..3070b9a6b 100644 --- a/test/torture-s/pr27073.c.s +++ b/test/torture-s/pr27073.c.s @@ -10,36 +10,37 @@ foo: # @foo block i32.const $push0=, 65535 i32.and $push1=, $4, $pop0 - i32.eqz $push13=, $pop1 - br_if 0, $pop13 # 0: down to label0 + i32.eqz $push15=, $pop1 + br_if 0, $pop15 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push2=, 0 i32.sub $4=, $pop2, $4 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push12=, 4 - i32.add $push3=, $0, $pop12 + i32.store $drop=, 0($0), $5 + i32.const $push14=, 4 + i32.add $push3=, $0, $pop14 i32.store $drop=, 0($pop3), $6 - i32.const $push11=, 8 - i32.add $push4=, $0, $pop11 + i32.const $push13=, 8 + i32.add $push4=, $0, $pop13 i32.store $drop=, 0($pop4), $7 - i32.const $push10=, 12 - i32.add $push5=, $0, $pop10 + i32.const $push12=, 12 + i32.add $push5=, $0, $pop12 i32.store $drop=, 0($pop5), $8 - i32.const $push9=, 16 - i32.add $push6=, $0, $pop9 + i32.const $push11=, 16 + i32.add $push6=, $0, $pop11 i32.store $drop=, 0($pop6), $9 - i32.store $drop=, 0($0), $5 - i32.const $push8=, 1 - i32.add $4=, $4, $pop8 - i32.const $push7=, 20 - i32.add $0=, $0, $pop7 - br_if 0, $4 # 0: up to label1 + i32.const $push10=, 20 + i32.add $0=, $0, $pop10 + i32.const $push9=, 1 + i32.add $push8=, $4, $pop9 + tee_local $push7=, $4=, $pop8 + br_if 0, $pop7 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -52,12 +53,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push37=, __stack_pointer - i32.const $push34=, __stack_pointer - i32.load $push35=, 0($pop34) + i32.const $push37=, 0 + i32.const $push34=, 0 + i32.load $push35=, __stack_pointer($pop34) i32.const $push36=, 48 i32.sub $push38=, $pop35, $pop36 - i32.store $push42=, 0($pop37), $pop38 + i32.store $push42=, __stack_pointer($pop37), $pop38 tee_local $push41=, $0=, $pop42 i32.const $push4=, 2 i32.const $push3=, 100 @@ -77,44 +78,44 @@ main: # @main i32.ne $push8=, $pop7, $pop43 br_if 0, $pop8 # 0: down to label3 # BB#2: # %for.cond.1 - i32.load $push9=, 8($0) - i32.const $push10=, 300 - i32.ne $push11=, $pop9, $pop10 + i32.load $push10=, 8($0) + i32.const $push9=, 300 + i32.ne $push11=, $pop10, $pop9 br_if 0, $pop11 # 0: down to label3 # BB#3: # %for.cond.2 - i32.load $push12=, 12($0) - i32.const $push13=, 400 - i32.ne $push14=, $pop12, $pop13 + i32.load $push13=, 12($0) + i32.const $push12=, 400 + i32.ne $push14=, $pop13, $pop12 br_if 0, $pop14 # 0: down to label3 # BB#4: # %for.cond.3 - i32.load $push15=, 16($0) - i32.const $push16=, 500 - i32.ne $push17=, $pop15, $pop16 + i32.load $push16=, 16($0) + i32.const $push15=, 500 + i32.ne $push17=, $pop16, $pop15 br_if 0, $pop17 # 0: down to label3 # BB#5: # %for.cond.4 - i32.load $push18=, 20($0) - i32.const $push19=, 100 - i32.ne $push20=, $pop18, $pop19 + i32.load $push19=, 20($0) + i32.const $push18=, 100 + i32.ne $push20=, $pop19, $pop18 br_if 0, $pop20 # 0: down to label3 # BB#6: # %for.cond.5 - i32.load $push21=, 24($0) - i32.const $push22=, 200 - i32.ne $push23=, $pop21, $pop22 + i32.load $push22=, 24($0) + i32.const $push21=, 200 + i32.ne $push23=, $pop22, $pop21 br_if 0, $pop23 # 0: down to label3 # BB#7: # %for.cond.6 - i32.load $push24=, 28($0) - i32.const $push25=, 300 - i32.ne $push26=, $pop24, $pop25 + i32.load $push25=, 28($0) + i32.const $push24=, 300 + i32.ne $push26=, $pop25, $pop24 br_if 0, $pop26 # 0: down to label3 # BB#8: # %for.cond.7 - i32.load $push27=, 32($0) - i32.const $push28=, 400 - i32.ne $push29=, $pop27, $pop28 + i32.load $push28=, 32($0) + i32.const $push27=, 400 + i32.ne $push29=, $pop28, $pop27 br_if 0, $pop29 # 0: down to label3 # BB#9: # %for.cond.8 - i32.load $push30=, 36($0) - i32.const $push31=, 500 - i32.ne $push32=, $pop30, $pop31 + i32.load $push31=, 36($0) + i32.const $push30=, 500 + i32.ne $push32=, $pop31, $pop30 br_if 0, $pop32 # 0: down to label3 # BB#10: # %for.cond.9 i32.const $push33=, 0 diff --git a/test/torture-s/pr27260.c.s b/test/torture-s/pr27260.c.s index 4a03dd089..c934d7ec8 100644 --- a/test/torture-s/pr27260.c.s +++ b/test/torture-s/pr27260.c.s @@ -7,12 +7,12 @@ foo: # @foo .param i32 # BB#0: # %entry - i32.const $push2=, buf + i32.const $push3=, buf i32.const $push0=, 2 i32.ne $push1=, $0, $pop0 - i32.const $push3=, 64 - i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop3 - return + i32.const $push2=, 64 + i32.call $drop=, memset@FUNCTION, $pop3, $pop1, $pop2 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -26,77 +26,80 @@ main: # @main .local i32, i32 # BB#0: # %entry i32.const $1=, 0 - i32.const $push12=, 0 - i32.const $push0=, 2 - i32.store8 $drop=, buf+64($pop12), $pop0 + i32.const $push14=, 0 + i32.const $push2=, 2 + i32.store8 $drop=, buf+64($pop14), $pop2 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label1: - i32.load8_u $push1=, buf($1) - br_if 2, $pop1 # 2: down to label0 + i32.load8_u $push3=, buf($1) + br_if 2, $pop3 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 - i32.const $push14=, 1 - i32.add $1=, $1, $pop14 - i32.const $push13=, 63 - i32.le_s $push2=, $1, $pop13 - br_if 0, $pop2 # 0: up to label1 + i32.const $push18=, 1 + i32.add $push17=, $1, $pop18 + tee_local $push16=, $1=, $pop17 + i32.const $push15=, 63 + i32.le_s $push4=, $pop16, $pop15 + br_if 0, $pop4 # 0: up to label1 # BB#3: # %for.end end_loop # label2: - i32.const $push3=, buf - i32.const $push15=, 1 - i32.const $push4=, 64 - i32.call $drop=, memset@FUNCTION, $pop3, $pop15, $pop4 + i32.const $push6=, buf + i32.const $push19=, 1 + i32.const $push5=, 64 + i32.call $drop=, memset@FUNCTION, $pop6, $pop19, $pop5 i32.const $1=, 1 .LBB1_4: # %for.cond3 # =>This Inner Loop Header: Depth=1 block loop # label4: - i32.const $push16=, 63 - i32.gt_s $push5=, $1, $pop16 - br_if 2, $pop5 # 2: down to label3 + i32.const $push20=, 63 + i32.gt_s $push7=, $1, $pop20 + br_if 2, $pop7 # 2: down to label3 # BB#5: # %for.cond3.for.body6_crit_edge # in Loop: Header=BB1_4 Depth=1 i32.load8_u $0=, buf($1) - i32.const $push18=, 1 - i32.add $1=, $1, $pop18 - i32.const $push17=, 1 - i32.eq $push11=, $0, $pop17 - br_if 0, $pop11 # 0: up to label4 + i32.const $push22=, 1 + i32.add $push0=, $1, $pop22 + copy_local $1=, $pop0 + i32.const $push21=, 1 + i32.eq $push13=, $0, $pop21 + br_if 0, $pop13 # 0: up to label4 # BB#6: # %if.then11 end_loop # label5: call abort@FUNCTION unreachable .LBB1_7: # %for.end15 end_block # label3: - i32.const $push6=, buf - i32.const $push8=, 0 - i32.const $push7=, 64 - i32.call $drop=, memset@FUNCTION, $pop6, $pop8, $pop7 + i32.const $push10=, buf + i32.const $push9=, 0 + i32.const $push8=, 64 + i32.call $drop=, memset@FUNCTION, $pop10, $pop9, $pop8 i32.const $1=, 1 .LBB1_8: # %for.cond16 # =>This Inner Loop Header: Depth=1 block loop # label7: - i32.const $push19=, 63 - i32.gt_s $push9=, $1, $pop19 - br_if 2, $pop9 # 2: down to label6 + i32.const $push23=, 63 + i32.gt_s $push11=, $1, $pop23 + br_if 2, $pop11 # 2: down to label6 # BB#9: # %for.cond16.for.body19_crit_edge # in Loop: Header=BB1_8 Depth=1 i32.load8_u $0=, buf($1) - i32.const $push20=, 1 - i32.add $1=, $1, $pop20 - i32.eqz $push21=, $0 - br_if 0, $pop21 # 0: up to label7 + i32.const $push24=, 1 + i32.add $push1=, $1, $pop24 + copy_local $1=, $pop1 + i32.eqz $push25=, $0 + br_if 0, $pop25 # 0: up to label7 # BB#10: # %if.then24 end_loop # label8: call abort@FUNCTION unreachable .LBB1_11: # %if.end33 end_block # label6: - i32.const $push10=, 0 - return $pop10 + i32.const $push12=, 0 + return $pop12 .LBB1_12: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr27285.c.s b/test/torture-s/pr27285.c.s index 306947803..f23fd936d 100644 --- a/test/torture-s/pr27285.c.s +++ b/test/torture-s/pr27285.c.s @@ -10,43 +10,43 @@ foo: # @foo # BB#0: # %entry block i32.load8_u $push8=, 1($0) - tee_local $push7=, $2=, $pop8 + tee_local $push7=, $3=, $pop8 i32.eqz $push22=, $pop7 br_if 0, $pop22 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push0=, 3 - i32.add $0=, $0, $pop0 + i32.add $1=, $1, $pop0 i32.const $push9=, 3 - i32.add $1=, $1, $pop9 + i32.add $0=, $0, $pop9 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.load8_u $push5=, 0($0) + i32.load8_u $push4=, 0($0) i32.const $push21=, 255 i32.const $push20=, 255 i32.const $push19=, 8 - i32.sub $push2=, $pop19, $2 - i32.shl $push3=, $pop20, $pop2 + i32.sub $push1=, $pop19, $3 + i32.shl $push2=, $pop20, $pop1 i32.const $push18=, 7 - i32.gt_s $push17=, $2, $pop18 - tee_local $push16=, $3=, $pop17 - i32.select $push4=, $pop21, $pop3, $pop16 - i32.and $push6=, $pop5, $pop4 - i32.store8 $drop=, 0($1), $pop6 + i32.gt_s $push17=, $3, $pop18 + tee_local $push16=, $2=, $pop17 + i32.select $push3=, $pop21, $pop2, $pop16 + i32.and $push5=, $pop4, $pop3 + i32.store8 $drop=, 0($1), $pop5 i32.const $push15=, 1 - i32.add $0=, $0, $pop15 + i32.add $1=, $1, $pop15 i32.const $push14=, 1 - i32.add $1=, $1, $pop14 + i32.add $0=, $0, $pop14 i32.const $push13=, -8 - i32.add $push1=, $2, $pop13 + i32.add $push6=, $3, $pop13 i32.const $push12=, 0 - i32.select $push11=, $pop1, $pop12, $3 - tee_local $push10=, $2=, $pop11 + i32.select $push11=, $pop6, $pop12, $2 + tee_local $push10=, $3=, $pop11 br_if 0, $pop10 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -57,80 +57,81 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i64, i32 + .local i32 # BB#0: # %entry - i32.const $push32=, __stack_pointer - i32.const $push29=, __stack_pointer - i32.load $push30=, 0($pop29) - i32.const $push31=, 48 - i32.sub $push44=, $pop30, $pop31 - i32.store $push52=, 0($pop32), $pop44 - tee_local $push51=, $2=, $pop52 - i32.const $push36=, 24 - i32.add $push37=, $pop51, $pop36 - i32.const $push3=, 18 - i32.add $push4=, $pop37, $pop3 - i32.const $push1=, 0 - i32.load8_u $push2=, .Lmain.x+18($pop1) - i32.store8 $drop=, 0($pop4), $pop2 - i32.const $push38=, 24 - i32.add $push39=, $2, $pop38 - i32.const $push6=, 16 - i32.add $push7=, $pop39, $pop6 + i32.const $push33=, 0 + i32.const $push30=, 0 + i32.load $push31=, __stack_pointer($pop30) + i32.const $push32=, 48 + i32.sub $push45=, $pop31, $pop32 + i32.store $push54=, __stack_pointer($pop33), $pop45 + tee_local $push53=, $0=, $pop54 + i32.const $push37=, 24 + i32.add $push38=, $pop53, $pop37 + i32.const $push4=, 18 + i32.add $push5=, $pop38, $pop4 + i32.const $push2=, 0 + i32.load8_u $push3=, .Lmain.x+18($pop2) + i32.store8 $drop=, 0($pop5), $pop3 + i32.const $push39=, 24 + i32.add $push40=, $0, $pop39 + i32.const $push7=, 16 + i32.add $push8=, $pop40, $pop7 + i32.const $push52=, 0 + i32.load16_u $push6=, .Lmain.x+16($pop52):p2align=0 + i32.store16 $drop=, 0($pop8), $pop6 + i32.const $push41=, 24 + i32.add $push42=, $0, $pop41 + i32.const $push10=, 8 + i32.add $push11=, $pop42, $pop10 + i32.const $push51=, 0 + i64.load $push9=, .Lmain.x+8($pop51):p2align=0 + i64.store $drop=, 0($pop11), $pop9 i32.const $push50=, 0 - i32.load16_u $push5=, .Lmain.x+16($pop50):p2align=0 - i32.store16 $drop=, 0($pop7), $pop5 - i32.const $push40=, 24 - i32.add $push41=, $2, $pop40 - i32.const $push9=, 8 - i32.add $push10=, $pop41, $pop9 - i32.const $push49=, 0 - i64.load $push8=, .Lmain.x+8($pop49):p2align=0 - i64.store $drop=, 0($pop10), $pop8 - i32.const $push48=, 16 - i32.add $push13=, $2, $pop48 - i32.const $push47=, 18 - i32.add $push12=, $2, $pop47 - i32.const $push46=, 0 - i32.store8 $push0=, 0($pop12), $pop46 - i32.store16 $0=, 0($pop13), $pop0 - i32.const $push45=, 8 - i32.add $push14=, $2, $pop45 - i64.const $push15=, 0 - i64.store $1=, 0($pop14), $pop15 - i64.load $push11=, .Lmain.x($0):p2align=0 - i64.store $drop=, 24($2), $pop11 - i64.store $drop=, 0($2), $1 - i32.const $push42=, 24 - i32.add $push43=, $2, $pop42 - call foo@FUNCTION, $pop43, $2 + i64.load $push12=, .Lmain.x($pop50):p2align=0 + i64.store $drop=, 24($0), $pop12 + i32.const $push49=, 16 + i32.add $push14=, $0, $pop49 + i32.const $push48=, 18 + i32.add $push13=, $0, $pop48 + i32.const $push47=, 0 + i32.store8 $push0=, 0($pop13), $pop47 + i32.store16 $drop=, 0($pop14), $pop0 + i32.const $push46=, 8 + i32.add $push15=, $0, $pop46 + i64.const $push16=, 0 + i64.store $push1=, 0($pop15), $pop16 + i64.store $drop=, 0($0), $pop1 + i32.const $push43=, 24 + i32.add $push44=, $0, $pop43 + call foo@FUNCTION, $pop44, $0 block - i32.load8_u $push16=, 3($2) + i32.load8_u $push18=, 3($0) i32.const $push17=, 170 - i32.ne $push18=, $pop16, $pop17 - br_if 0, $pop18 # 0: down to label3 + i32.ne $push19=, $pop18, $pop17 + br_if 0, $pop19 # 0: down to label3 # BB#1: # %lor.lhs.false - i32.load8_u $push19=, 4($2) + i32.load8_u $push21=, 4($0) i32.const $push20=, 187 - i32.ne $push21=, $pop19, $pop20 - br_if 0, $pop21 # 0: down to label3 + i32.ne $push22=, $pop21, $pop20 + br_if 0, $pop22 # 0: down to label3 # BB#2: # %lor.lhs.false13 - i32.load8_u $push22=, 5($2) + i32.load8_u $push24=, 5($0) i32.const $push23=, 204 - i32.ne $push24=, $pop22, $pop23 - br_if 0, $pop24 # 0: down to label3 + i32.ne $push25=, $pop24, $pop23 + br_if 0, $pop25 # 0: down to label3 # BB#3: # %lor.lhs.false22 - i32.load8_u $push25=, 6($2) + i32.load8_u $push27=, 6($0) i32.const $push26=, 128 - i32.ne $push27=, $pop25, $pop26 - br_if 0, $pop27 # 0: down to label3 + i32.ne $push28=, $pop27, $pop26 + br_if 0, $pop28 # 0: down to label3 # BB#4: # %if.end - i32.const $push35=, __stack_pointer - i32.const $push33=, 48 - i32.add $push34=, $2, $pop33 - i32.store $drop=, 0($pop35), $pop34 - i32.const $push28=, 0 - return $pop28 + i32.const $push36=, 0 + i32.const $push34=, 48 + i32.add $push35=, $0, $pop34 + i32.store $drop=, __stack_pointer($pop36), $pop35 + i32.const $push29=, 0 + return $pop29 .LBB1_5: # %if.then end_block # label3: call abort@FUNCTION diff --git a/test/torture-s/pr27364.c.s b/test/torture-s/pr27364.c.s index 890bbb4df..99351b706 100644 --- a/test/torture-s/pr27364.c.s +++ b/test/torture-s/pr27364.c.s @@ -25,7 +25,8 @@ f: # @f i32.shr_u $1=, $pop7, $pop8 .LBB0_2: # %return end_block # label0: - return $1 + copy_local $push9=, $1 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/pr28289.c.s b/test/torture-s/pr28289.c.s index 82695ac5c..36d8f7f16 100644 --- a/test/torture-s/pr28289.c.s +++ b/test/torture-s/pr28289.c.s @@ -12,7 +12,7 @@ ix86_split_ashr: # @ix86_split_ashr i32.select $push2=, $pop1, $pop0, $0 i32.const $push3=, 0 i32.call_indirect $drop=, $pop2, $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size ix86_split_ashr, .Lfunc_end0-ix86_split_ashr @@ -38,7 +38,7 @@ gen_x86_64_shrd: # @gen_x86_64_shrd .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size gen_x86_64_shrd, .Lfunc_end2-gen_x86_64_shrd @@ -58,7 +58,7 @@ main: # @main i32.const $push6=, 0 i32.call_indirect $drop=, $pop4, $pop6 i32.const $push5=, 1 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/pr28403.c.s b/test/torture-s/pr28403.c.s index 5c9e6471c..de5b754ed 100644 --- a/test/torture-s/pr28403.c.s +++ b/test/torture-s/pr28403.c.s @@ -17,7 +17,8 @@ foo: # @foo i32.add $push5=, $pop4, $6 i32.add $push6=, $pop5, $7 i32.store $drop=, global($pop7), $pop6 - return $1 + copy_local $push8=, $7 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -42,7 +43,7 @@ bar: # @bar i32.const $push5=, 0 i64.load32_u $push6=, global($pop5) i64.shr_u $push7=, $0, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr28651.c.s b/test/torture-s/pr28651.c.s index c3f92c6d4..ae5032e3c 100644 --- a/test/torture-s/pr28651.c.s +++ b/test/torture-s/pr28651.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 2147483643 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr28778.c.s b/test/torture-s/pr28778.c.s index d761e5fa6..6e88fbd9f 100644 --- a/test/torture-s/pr28778.c.s +++ b/test/torture-s/pr28778.c.s @@ -8,12 +8,12 @@ find: # @find .param i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 128 i32.sub $push11=, $pop5, $pop6 - i32.store $1=, 0($pop7), $pop11 + i32.store $1=, __stack_pointer($pop7), $pop11 block br_if 0, $0 # 0: down to label0 # BB#1: # %if.else @@ -28,10 +28,10 @@ find: # @find i32.ne $push3=, $pop1, $pop2 br_if 0, $pop3 # 0: down to label1 # BB#3: # %aglChoosePixelFormat.exit - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 128 i32.add $push9=, $1, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 return .LBB0_4: # %if.then.i end_block # label1: @@ -71,7 +71,7 @@ main: # @main .result i32 # BB#0: # %find.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr28982a.c.s b/test/torture-s/pr28982a.c.s index 7565fe051..f24737041 100644 --- a/test/torture-s/pr28982a.c.s +++ b/test/torture-s/pr28982a.c.s @@ -6,9 +6,8 @@ .type foo,@function foo: # @foo .param i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, i64 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32 # BB#0: # %entry - f32.const $41=, 0x0p0 f32.const $42=, 0x0p0 f32.const $43=, 0x0p0 f32.const $44=, 0x0p0 @@ -28,161 +27,161 @@ foo: # @foo f32.const $58=, 0x0p0 f32.const $59=, 0x0p0 f32.const $60=, 0x0p0 + f32.const $61=, 0x0p0 block - i32.eqz $push151=, $0 - br_if 0, $pop151 # 0: down to label0 + i32.eqz $push173=, $0 + br_if 0, $pop173 # 0: down to label0 # BB#1: # %while.body.preheader - i32.const $push129=, 0 - i64.load $push128=, incs+72($pop129) - tee_local $push127=, $61=, $pop128 - i64.const $push20=, 32 - i64.shr_u $push30=, $pop127, $pop20 - i32.wrap/i64 $push19=, $pop30 - i32.const $push31=, 2 - i32.shl $1=, $pop19, $pop31 - i32.wrap/i64 $push18=, $61 - i32.const $push126=, 2 - i32.shl $2=, $pop18, $pop126 - i32.const $push125=, 0 - i64.load $push124=, incs+64($pop125) - tee_local $push123=, $61=, $pop124 - i64.const $push122=, 32 - i64.shr_u $push29=, $pop123, $pop122 - i32.wrap/i64 $push17=, $pop29 - i32.const $push121=, 2 - i32.shl $3=, $pop17, $pop121 - i32.wrap/i64 $push16=, $61 - i32.const $push120=, 2 - i32.shl $4=, $pop16, $pop120 - i32.const $push119=, 0 - i64.load $push118=, incs+56($pop119) - tee_local $push117=, $61=, $pop118 - i64.const $push116=, 32 - i64.shr_u $push28=, $pop117, $pop116 - i32.wrap/i64 $push15=, $pop28 - i32.const $push115=, 2 - i32.shl $5=, $pop15, $pop115 - i32.wrap/i64 $push14=, $61 - i32.const $push114=, 2 - i32.shl $6=, $pop14, $pop114 - i32.const $push113=, 0 - i64.load $push112=, incs+48($pop113) - tee_local $push111=, $61=, $pop112 - i64.const $push110=, 32 - i64.shr_u $push27=, $pop111, $pop110 - i32.wrap/i64 $push13=, $pop27 - i32.const $push109=, 2 - i32.shl $7=, $pop13, $pop109 - i32.wrap/i64 $push12=, $61 - i32.const $push108=, 2 - i32.shl $8=, $pop12, $pop108 - i32.const $push107=, 0 - i64.load $push106=, incs+40($pop107) - tee_local $push105=, $61=, $pop106 - i64.const $push104=, 32 - i64.shr_u $push26=, $pop105, $pop104 - i32.wrap/i64 $push11=, $pop26 - i32.const $push103=, 2 - i32.shl $9=, $pop11, $pop103 - i32.wrap/i64 $push10=, $61 - i32.const $push102=, 2 - i32.shl $10=, $pop10, $pop102 - i32.const $push101=, 0 - i64.load $push100=, incs+32($pop101) - tee_local $push99=, $61=, $pop100 - i64.const $push98=, 32 - i64.shr_u $push25=, $pop99, $pop98 - i32.wrap/i64 $push9=, $pop25 - i32.const $push97=, 2 - i32.shl $11=, $pop9, $pop97 - i32.wrap/i64 $push8=, $61 - i32.const $push96=, 2 - i32.shl $12=, $pop8, $pop96 - i32.const $push95=, 0 - i64.load $push94=, incs+24($pop95) - tee_local $push93=, $61=, $pop94 - i64.const $push92=, 32 - i64.shr_u $push24=, $pop93, $pop92 - i32.wrap/i64 $push7=, $pop24 - i32.const $push91=, 2 - i32.shl $13=, $pop7, $pop91 - i32.wrap/i64 $push6=, $61 - i32.const $push90=, 2 - i32.shl $14=, $pop6, $pop90 + i32.const $push149=, 0 + i64.load $push148=, incs($pop149) + tee_local $push147=, $21=, $pop148 + i32.wrap/i64 $push0=, $pop147 + i32.const $push51=, 2 + i32.shl $20=, $pop0, $pop51 + i64.const $push40=, 32 + i64.shr_u $push50=, $21, $pop40 + i32.wrap/i64 $push1=, $pop50 + i32.const $push146=, 2 + i32.shl $19=, $pop1, $pop146 + i32.const $push145=, 0 + i64.load $push144=, incs+8($pop145) + tee_local $push143=, $21=, $pop144 + i32.wrap/i64 $push2=, $pop143 + i32.const $push142=, 2 + i32.shl $18=, $pop2, $pop142 + i64.const $push141=, 32 + i64.shr_u $push49=, $21, $pop141 + i32.wrap/i64 $push3=, $pop49 + i32.const $push140=, 2 + i32.shl $17=, $pop3, $pop140 + i32.const $push139=, 0 + i64.load $push138=, incs+16($pop139) + tee_local $push137=, $21=, $pop138 + i32.wrap/i64 $push4=, $pop137 + i32.const $push136=, 2 + i32.shl $16=, $pop4, $pop136 + i64.const $push135=, 32 + i64.shr_u $push48=, $21, $pop135 + i32.wrap/i64 $push5=, $pop48 + i32.const $push134=, 2 + i32.shl $15=, $pop5, $pop134 + i32.const $push133=, 0 + i64.load $push132=, incs+24($pop133) + tee_local $push131=, $21=, $pop132 + i32.wrap/i64 $push6=, $pop131 + i32.const $push130=, 2 + i32.shl $14=, $pop6, $pop130 + i64.const $push129=, 32 + i64.shr_u $push47=, $21, $pop129 + i32.wrap/i64 $push7=, $pop47 + i32.const $push128=, 2 + i32.shl $13=, $pop7, $pop128 + i32.const $push127=, 0 + i64.load $push126=, incs+32($pop127) + tee_local $push125=, $21=, $pop126 + i32.wrap/i64 $push8=, $pop125 + i32.const $push124=, 2 + i32.shl $12=, $pop8, $pop124 + i64.const $push123=, 32 + i64.shr_u $push46=, $21, $pop123 + i32.wrap/i64 $push9=, $pop46 + i32.const $push122=, 2 + i32.shl $11=, $pop9, $pop122 + i32.const $push121=, 0 + i64.load $push120=, incs+40($pop121) + tee_local $push119=, $21=, $pop120 + i32.wrap/i64 $push10=, $pop119 + i32.const $push118=, 2 + i32.shl $10=, $pop10, $pop118 + i64.const $push117=, 32 + i64.shr_u $push45=, $21, $pop117 + i32.wrap/i64 $push11=, $pop45 + i32.const $push116=, 2 + i32.shl $9=, $pop11, $pop116 + i32.const $push115=, 0 + i64.load $push114=, incs+48($pop115) + tee_local $push113=, $21=, $pop114 + i32.wrap/i64 $push12=, $pop113 + i32.const $push112=, 2 + i32.shl $8=, $pop12, $pop112 + i64.const $push111=, 32 + i64.shr_u $push44=, $21, $pop111 + i32.wrap/i64 $push13=, $pop44 + i32.const $push110=, 2 + i32.shl $7=, $pop13, $pop110 + i32.const $push109=, 0 + i64.load $push108=, incs+56($pop109) + tee_local $push107=, $21=, $pop108 + i32.wrap/i64 $push14=, $pop107 + i32.const $push106=, 2 + i32.shl $6=, $pop14, $pop106 + i64.const $push105=, 32 + i64.shr_u $push43=, $21, $pop105 + i32.wrap/i64 $push15=, $pop43 + i32.const $push104=, 2 + i32.shl $5=, $pop15, $pop104 + i32.const $push103=, 0 + i64.load $push102=, incs+64($pop103) + tee_local $push101=, $21=, $pop102 + i32.wrap/i64 $push16=, $pop101 + i32.const $push100=, 2 + i32.shl $4=, $pop16, $pop100 + i64.const $push99=, 32 + i64.shr_u $push42=, $21, $pop99 + i32.wrap/i64 $push17=, $pop42 + i32.const $push98=, 2 + i32.shl $3=, $pop17, $pop98 + i32.const $push97=, 0 + i64.load $push96=, incs+72($pop97) + tee_local $push95=, $21=, $pop96 + i32.wrap/i64 $push18=, $pop95 + i32.const $push94=, 2 + i32.shl $2=, $pop18, $pop94 + i64.const $push93=, 32 + i64.shr_u $push41=, $21, $pop93 + i32.wrap/i64 $push19=, $pop41 + i32.const $push92=, 2 + i32.shl $1=, $pop19, $pop92 + i32.const $push91=, 0 + i32.load $22=, ptrs($pop91) + i32.const $push90=, 0 + i32.load $23=, ptrs+4($pop90) i32.const $push89=, 0 - i64.load $push88=, incs+16($pop89) - tee_local $push87=, $61=, $pop88 - i64.const $push86=, 32 - i64.shr_u $push23=, $pop87, $pop86 - i32.wrap/i64 $push5=, $pop23 - i32.const $push85=, 2 - i32.shl $15=, $pop5, $pop85 - i32.wrap/i64 $push4=, $61 - i32.const $push84=, 2 - i32.shl $16=, $pop4, $pop84 + i32.load $24=, ptrs+8($pop89) + i32.const $push88=, 0 + i32.load $25=, ptrs+12($pop88) + i32.const $push87=, 0 + i32.load $26=, ptrs+16($pop87) + i32.const $push86=, 0 + i32.load $27=, ptrs+20($pop86) + i32.const $push85=, 0 + i32.load $28=, ptrs+24($pop85) + i32.const $push84=, 0 + i32.load $29=, ptrs+28($pop84) i32.const $push83=, 0 - i64.load $push82=, incs+8($pop83) - tee_local $push81=, $61=, $pop82 - i64.const $push80=, 32 - i64.shr_u $push22=, $pop81, $pop80 - i32.wrap/i64 $push3=, $pop22 - i32.const $push79=, 2 - i32.shl $17=, $pop3, $pop79 - i32.wrap/i64 $push2=, $61 - i32.const $push78=, 2 - i32.shl $18=, $pop2, $pop78 + i32.load $30=, ptrs+32($pop83) + i32.const $push82=, 0 + i32.load $31=, ptrs+36($pop82) + i32.const $push81=, 0 + i32.load $32=, ptrs+40($pop81) + i32.const $push80=, 0 + i32.load $33=, ptrs+44($pop80) + i32.const $push79=, 0 + i32.load $34=, ptrs+48($pop79) + i32.const $push78=, 0 + i32.load $35=, ptrs+52($pop78) i32.const $push77=, 0 - i64.load $push76=, incs($pop77) - tee_local $push75=, $61=, $pop76 - i64.const $push74=, 32 - i64.shr_u $push21=, $pop75, $pop74 - i32.wrap/i64 $push1=, $pop21 - i32.const $push73=, 2 - i32.shl $19=, $pop1, $pop73 - i32.wrap/i64 $push0=, $61 - i32.const $push72=, 2 - i32.shl $20=, $pop0, $pop72 - f32.const $41=, 0x0p0 - i32.const $push71=, 0 - i32.load $40=, ptrs+76($pop71) - i32.const $push70=, 0 - i32.load $39=, ptrs+72($pop70) - i32.const $push69=, 0 - i32.load $38=, ptrs+68($pop69) - i32.const $push68=, 0 - i32.load $37=, ptrs+64($pop68) - i32.const $push67=, 0 - i32.load $36=, ptrs+60($pop67) - i32.const $push66=, 0 - i32.load $35=, ptrs+56($pop66) - i32.const $push65=, 0 - i32.load $34=, ptrs+52($pop65) - i32.const $push64=, 0 - i32.load $33=, ptrs+48($pop64) - i32.const $push63=, 0 - i32.load $32=, ptrs+44($pop63) - i32.const $push62=, 0 - i32.load $31=, ptrs+40($pop62) - i32.const $push61=, 0 - i32.load $30=, ptrs+36($pop61) - i32.const $push60=, 0 - i32.load $29=, ptrs+32($pop60) - i32.const $push59=, 0 - i32.load $28=, ptrs+28($pop59) - i32.const $push58=, 0 - i32.load $27=, ptrs+24($pop58) - i32.const $push57=, 0 - i32.load $26=, ptrs+20($pop57) - i32.const $push56=, 0 - i32.load $25=, ptrs+16($pop56) - i32.const $push55=, 0 - i32.load $24=, ptrs+12($pop55) - i32.const $push54=, 0 - i32.load $23=, ptrs+8($pop54) - i32.const $push53=, 0 - i32.load $22=, ptrs+4($pop53) - i32.const $push52=, 0 - i32.load $21=, ptrs($pop52) + i32.load $36=, ptrs+56($pop77) + i32.const $push76=, 0 + i32.load $37=, ptrs+60($pop76) + i32.const $push75=, 0 + i32.load $38=, ptrs+64($pop75) + i32.const $push74=, 0 + i32.load $39=, ptrs+68($pop74) + i32.const $push73=, 0 + i32.load $40=, ptrs+72($pop73) + i32.const $push72=, 0 + i32.load $41=, ptrs+76($pop72) f32.const $42=, 0x0p0 f32.const $43=, 0x0p0 f32.const $44=, 0x0p0 @@ -202,116 +201,138 @@ foo: # @foo f32.const $58=, 0x0p0 f32.const $59=, 0x0p0 f32.const $60=, 0x0p0 + f32.const $61=, 0x0p0 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - f32.load $push32=, 0($21) - f32.add $60=, $60, $pop32 - f32.load $push33=, 0($22) - f32.add $59=, $59, $pop33 - f32.load $push34=, 0($23) - f32.add $58=, $58, $pop34 - f32.load $push35=, 0($24) - f32.add $57=, $57, $pop35 - f32.load $push36=, 0($25) - f32.add $56=, $56, $pop36 - f32.load $push37=, 0($26) - f32.add $55=, $55, $pop37 - f32.load $push38=, 0($27) - f32.add $54=, $54, $pop38 - f32.load $push39=, 0($28) - f32.add $53=, $53, $pop39 - f32.load $push40=, 0($29) - f32.add $52=, $52, $pop40 - f32.load $push41=, 0($30) - f32.add $51=, $51, $pop41 - f32.load $push42=, 0($31) - f32.add $50=, $50, $pop42 - f32.load $push43=, 0($32) - f32.add $49=, $49, $pop43 - f32.load $push44=, 0($33) - f32.add $48=, $48, $pop44 - f32.load $push45=, 0($34) - f32.add $47=, $47, $pop45 - f32.load $push46=, 0($35) - f32.add $46=, $46, $pop46 - f32.load $push47=, 0($36) - f32.add $45=, $45, $pop47 - f32.load $push48=, 0($37) - f32.add $44=, $44, $pop48 - f32.load $push49=, 0($38) - f32.add $43=, $43, $pop49 - f32.load $push50=, 0($39) - f32.add $42=, $42, $pop50 - f32.load $push51=, 0($40) - f32.add $41=, $41, $pop51 - i32.const $push130=, -1 - i32.add $0=, $0, $pop130 - i32.add $40=, $40, $1 - i32.add $39=, $39, $2 - i32.add $38=, $38, $3 - i32.add $37=, $37, $4 - i32.add $36=, $36, $5 - i32.add $35=, $35, $6 - i32.add $34=, $34, $7 - i32.add $33=, $33, $8 - i32.add $32=, $32, $9 - i32.add $31=, $31, $10 - i32.add $30=, $30, $11 - i32.add $29=, $29, $12 - i32.add $28=, $28, $13 - i32.add $27=, $27, $14 - i32.add $26=, $26, $15 - i32.add $25=, $25, $16 - i32.add $24=, $24, $17 - i32.add $23=, $23, $18 - i32.add $22=, $22, $19 - i32.add $21=, $21, $20 - br_if 0, $0 # 0: up to label1 + f32.load $push52=, 0($41) + f32.add $42=, $42, $pop52 + f32.load $push53=, 0($40) + f32.add $43=, $43, $pop53 + f32.load $push54=, 0($39) + f32.add $44=, $44, $pop54 + f32.load $push55=, 0($38) + f32.add $45=, $45, $pop55 + f32.load $push56=, 0($37) + f32.add $46=, $46, $pop56 + f32.load $push57=, 0($36) + f32.add $47=, $47, $pop57 + f32.load $push58=, 0($35) + f32.add $48=, $48, $pop58 + f32.load $push59=, 0($34) + f32.add $49=, $49, $pop59 + f32.load $push60=, 0($33) + f32.add $50=, $50, $pop60 + f32.load $push61=, 0($32) + f32.add $51=, $51, $pop61 + f32.load $push62=, 0($31) + f32.add $52=, $52, $pop62 + f32.load $push63=, 0($30) + f32.add $53=, $53, $pop63 + f32.load $push64=, 0($29) + f32.add $54=, $54, $pop64 + f32.load $push65=, 0($28) + f32.add $55=, $55, $pop65 + f32.load $push66=, 0($27) + f32.add $56=, $56, $pop66 + f32.load $push67=, 0($26) + f32.add $57=, $57, $pop67 + f32.load $push68=, 0($25) + f32.add $58=, $58, $pop68 + f32.load $push69=, 0($24) + f32.add $59=, $59, $pop69 + f32.load $push70=, 0($23) + f32.add $60=, $60, $pop70 + f32.load $push71=, 0($22) + f32.add $61=, $61, $pop71 + i32.add $push39=, $22, $20 + copy_local $22=, $pop39 + i32.add $push38=, $23, $19 + copy_local $23=, $pop38 + i32.add $push37=, $24, $18 + copy_local $24=, $pop37 + i32.add $push36=, $25, $17 + copy_local $25=, $pop36 + i32.add $push35=, $26, $16 + copy_local $26=, $pop35 + i32.add $push34=, $27, $15 + copy_local $27=, $pop34 + i32.add $push33=, $28, $14 + copy_local $28=, $pop33 + i32.add $push32=, $29, $13 + copy_local $29=, $pop32 + i32.add $push31=, $30, $12 + copy_local $30=, $pop31 + i32.add $push30=, $31, $11 + copy_local $31=, $pop30 + i32.add $push29=, $32, $10 + copy_local $32=, $pop29 + i32.add $push28=, $33, $9 + copy_local $33=, $pop28 + i32.add $push27=, $34, $8 + copy_local $34=, $pop27 + i32.add $push26=, $35, $7 + copy_local $35=, $pop26 + i32.add $push25=, $36, $6 + copy_local $36=, $pop25 + i32.add $push24=, $37, $5 + copy_local $37=, $pop24 + i32.add $push23=, $38, $4 + copy_local $38=, $pop23 + i32.add $push22=, $39, $3 + copy_local $39=, $pop22 + i32.add $push21=, $40, $2 + copy_local $40=, $pop21 + i32.add $push20=, $41, $1 + copy_local $41=, $pop20 + i32.const $push152=, -1 + i32.add $push151=, $0, $pop152 + tee_local $push150=, $0=, $pop151 + br_if 0, $pop150 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: - i32.const $push150=, 0 - f32.store $drop=, results($pop150), $60 - i32.const $push149=, 0 - f32.store $drop=, results+4($pop149), $59 - i32.const $push148=, 0 - f32.store $drop=, results+8($pop148), $58 - i32.const $push147=, 0 - f32.store $drop=, results+12($pop147), $57 - i32.const $push146=, 0 - f32.store $drop=, results+16($pop146), $56 - i32.const $push145=, 0 - f32.store $drop=, results+20($pop145), $55 - i32.const $push144=, 0 - f32.store $drop=, results+24($pop144), $54 - i32.const $push143=, 0 - f32.store $drop=, results+28($pop143), $53 - i32.const $push142=, 0 - f32.store $drop=, results+32($pop142), $52 - i32.const $push141=, 0 - f32.store $drop=, results+36($pop141), $51 - i32.const $push140=, 0 - f32.store $drop=, results+40($pop140), $50 - i32.const $push139=, 0 - f32.store $drop=, results+44($pop139), $49 - i32.const $push138=, 0 - f32.store $drop=, results+48($pop138), $48 - i32.const $push137=, 0 - f32.store $drop=, results+52($pop137), $47 - i32.const $push136=, 0 - f32.store $drop=, results+56($pop136), $46 - i32.const $push135=, 0 - f32.store $drop=, results+60($pop135), $45 - i32.const $push134=, 0 - f32.store $drop=, results+64($pop134), $44 - i32.const $push133=, 0 - f32.store $drop=, results+68($pop133), $43 - i32.const $push132=, 0 - f32.store $drop=, results+72($pop132), $42 - i32.const $push131=, 0 - f32.store $drop=, results+76($pop131), $41 - return + i32.const $push172=, 0 + f32.store $drop=, results+4($pop172), $60 + i32.const $push171=, 0 + f32.store $drop=, results($pop171), $61 + i32.const $push170=, 0 + f32.store $drop=, results+8($pop170), $59 + i32.const $push169=, 0 + f32.store $drop=, results+12($pop169), $58 + i32.const $push168=, 0 + f32.store $drop=, results+16($pop168), $57 + i32.const $push167=, 0 + f32.store $drop=, results+20($pop167), $56 + i32.const $push166=, 0 + f32.store $drop=, results+24($pop166), $55 + i32.const $push165=, 0 + f32.store $drop=, results+28($pop165), $54 + i32.const $push164=, 0 + f32.store $drop=, results+32($pop164), $53 + i32.const $push163=, 0 + f32.store $drop=, results+36($pop163), $52 + i32.const $push162=, 0 + f32.store $drop=, results+40($pop162), $51 + i32.const $push161=, 0 + f32.store $drop=, results+44($pop161), $50 + i32.const $push160=, 0 + f32.store $drop=, results+48($pop160), $49 + i32.const $push159=, 0 + f32.store $drop=, results+52($pop159), $48 + i32.const $push158=, 0 + f32.store $drop=, results+56($pop158), $47 + i32.const $push157=, 0 + f32.store $drop=, results+60($pop157), $46 + i32.const $push156=, 0 + f32.store $drop=, results+64($pop156), $45 + i32.const $push155=, 0 + f32.store $drop=, results+68($pop155), $44 + i32.const $push154=, 0 + f32.store $drop=, results+72($pop154), $43 + i32.const $push153=, 0 + f32.store $drop=, results+76($pop153), $42 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -322,243 +343,213 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $2=, 0 - i32.const $push162=, 0 - i32.const $push1=, input+4 - i32.store $drop=, ptrs+4($pop162), $pop1 - i32.const $push161=, 0 - i32.const $push3=, input+8 - i32.store $drop=, ptrs+8($pop161), $pop3 - i32.const $push160=, 0 - i32.const $push4=, input+12 - i32.store $drop=, ptrs+12($pop160), $pop4 - i32.const $push159=, 0 - i32.const $push5=, 3 - i32.store $drop=, incs+12($pop159), $pop5 - i32.const $push158=, 0 - i32.const $push6=, input+16 - i32.store $drop=, ptrs+16($pop158), $pop6 - i32.const $push157=, 0 - i32.const $push8=, input+20 - i32.store $drop=, ptrs+20($pop157), $pop8 - i32.const $push156=, 0 - i32.const $push9=, 5 - i32.store $drop=, incs+20($pop156), $pop9 - i32.const $push155=, 0 - i32.const $push10=, input+24 - i32.store $drop=, ptrs+24($pop155), $pop10 + i32.const $2=, input + i32.const $3=, 0 + i32.const $push131=, 0 + i32.const $push130=, input + i32.store $drop=, ptrs($pop131), $pop130 + i32.const $push129=, 0 + i32.const $push0=, input+4 + i32.store $drop=, ptrs+4($pop129), $pop0 + i32.const $push128=, 0 + i32.const $push1=, input+8 + i32.store $drop=, ptrs+8($pop128), $pop1 + i32.const $push127=, 0 + i64.const $push2=, 8589934593 + i64.store $drop=, incs+4($pop127):p2align=2, $pop2 + i32.const $push126=, 0 + i32.const $push3=, input+12 + i32.store $drop=, ptrs+12($pop126), $pop3 + i32.const $push125=, 0 + i32.const $push124=, 0 + i32.store $push123=, incs($pop125), $pop124 + tee_local $push122=, $0=, $pop123 + i32.const $push4=, 3 + i32.store $drop=, incs+12($pop122), $pop4 + i32.const $push5=, input+16 + i32.store $drop=, ptrs+16($0), $pop5 + i32.const $push6=, 4 + i32.store $1=, incs+16($0), $pop6 + i32.const $push7=, input+20 + i32.store $drop=, ptrs+20($0), $pop7 + i32.const $push8=, 5 + i32.store $drop=, incs+20($0), $pop8 + i32.const $push9=, input+24 + i32.store $drop=, ptrs+24($0), $pop9 + i32.const $push10=, 6 + i32.store $drop=, incs+24($0), $pop10 + i32.const $push11=, input+28 + i32.store $drop=, ptrs+28($0), $pop11 + i32.const $push12=, 7 + i32.store $drop=, incs+28($0), $pop12 + i32.const $push13=, input+32 + i32.store $drop=, ptrs+32($0), $pop13 + i32.const $push14=, 8 + i32.store $drop=, incs+32($0), $pop14 + i32.const $push15=, input+36 + i32.store $drop=, ptrs+36($0), $pop15 + i32.const $push16=, 9 + i32.store $drop=, incs+36($0), $pop16 + i32.const $push17=, input+40 + i32.store $drop=, ptrs+40($0), $pop17 + i32.const $push18=, 10 + i32.store $drop=, incs+40($0), $pop18 + i32.const $push19=, input+44 + i32.store $drop=, ptrs+44($0), $pop19 + i32.const $push20=, 11 + i32.store $drop=, incs+44($0), $pop20 + i32.const $push21=, input+48 + i32.store $drop=, ptrs+48($0), $pop21 + i32.const $push22=, 12 + i32.store $drop=, incs+48($0), $pop22 + i32.const $push23=, input+52 + i32.store $drop=, ptrs+52($0), $pop23 + i32.const $push24=, 13 + i32.store $drop=, incs+52($0), $pop24 + i32.const $push25=, input+56 + i32.store $drop=, ptrs+56($0), $pop25 + i32.const $push26=, 14 + i32.store $drop=, incs+56($0), $pop26 + i32.const $push27=, input+60 + i32.store $drop=, ptrs+60($0), $pop27 + i32.const $push28=, 15 + i32.store $drop=, incs+60($0), $pop28 + i32.const $push29=, input+64 + i32.store $drop=, ptrs+64($0), $pop29 + i32.const $push30=, 16 + i32.store $drop=, incs+64($0), $pop30 + i32.const $push31=, input+68 + i32.store $drop=, ptrs+68($0), $pop31 + i32.const $push32=, 17 + i32.store $drop=, incs+68($0), $pop32 + i32.const $push33=, input+72 + i32.store $drop=, ptrs+72($0), $pop33 + i32.const $push34=, 18 + i32.store $drop=, incs+72($0), $pop34 + i32.const $push35=, input+76 + i32.store $drop=, ptrs+76($0), $pop35 + i32.const $push36=, 19 + i32.store $drop=, incs+76($0), $pop36 +.LBB1_1: # %for.body4 + # =>This Inner Loop Header: Depth=1 + loop # label3: + f32.convert_s/i32 $push37=, $3 + f32.store $drop=, 0($2), $pop37 + i32.add $2=, $2, $1 + i32.const $push135=, 1 + i32.add $push134=, $3, $pop135 + tee_local $push133=, $3=, $pop134 + i32.const $push132=, 80 + i32.ne $push38=, $pop133, $pop132 + br_if 0, $pop38 # 0: up to label3 +# BB#2: # %for.end8 + end_loop # label4: + i32.const $push39=, 4 + call foo@FUNCTION, $pop39 + i32.const $push40=, 0 + f32.load $push44=, results($pop40) + f32.const $push45=, 0x0p0 + f32.ne $push46=, $pop44, $pop45 i32.const $push154=, 0 - i32.const $push11=, 6 - i32.store $drop=, incs+24($pop154), $pop11 + f32.load $push41=, results+4($pop154) + f32.const $push42=, 0x1.4p3 + f32.ne $push43=, $pop41, $pop42 + i32.or $push47=, $pop46, $pop43 i32.const $push153=, 0 - i32.const $push12=, input+28 - i32.store $drop=, ptrs+28($pop153), $pop12 + f32.load $push48=, results+8($pop153) + f32.const $push49=, 0x1.4p4 + f32.ne $push50=, $pop48, $pop49 + i32.or $push51=, $pop47, $pop50 i32.const $push152=, 0 - i32.const $push13=, 7 - i32.store $drop=, incs+28($pop152), $pop13 + f32.load $push52=, results+12($pop152) + f32.const $push53=, 0x1.ep4 + f32.ne $push54=, $pop52, $pop53 + i32.or $push55=, $pop51, $pop54 i32.const $push151=, 0 - i32.const $push14=, input+32 - i32.store $drop=, ptrs+32($pop151), $pop14 + f32.load $push56=, results+16($pop151) + f32.const $push57=, 0x1.4p5 + f32.ne $push58=, $pop56, $pop57 + i32.or $push59=, $pop55, $pop58 i32.const $push150=, 0 - i32.const $push15=, 8 - i32.store $drop=, incs+32($pop150), $pop15 + f32.load $push60=, results+20($pop150) + f32.const $push61=, 0x1.9p5 + f32.ne $push62=, $pop60, $pop61 + i32.or $push63=, $pop59, $pop62 i32.const $push149=, 0 - i32.const $push16=, input+36 - i32.store $drop=, ptrs+36($pop149), $pop16 + f32.load $push64=, results+24($pop149) + f32.const $push65=, 0x1.ep5 + f32.ne $push66=, $pop64, $pop65 + i32.or $push67=, $pop63, $pop66 i32.const $push148=, 0 - i32.const $push17=, 9 - i32.store $drop=, incs+36($pop148), $pop17 + f32.load $push68=, results+28($pop148) + f32.const $push69=, 0x1.18p6 + f32.ne $push70=, $pop68, $pop69 + i32.or $push71=, $pop67, $pop70 i32.const $push147=, 0 - i32.const $push18=, input+40 - i32.store $drop=, ptrs+40($pop147), $pop18 + f32.load $push72=, results+32($pop147) + f32.const $push73=, 0x1.4p6 + f32.ne $push74=, $pop72, $pop73 + i32.or $push75=, $pop71, $pop74 i32.const $push146=, 0 - i32.const $push19=, 10 - i32.store $drop=, incs+40($pop146), $pop19 + f32.load $push76=, results+36($pop146) + f32.const $push77=, 0x1.68p6 + f32.ne $push78=, $pop76, $pop77 + i32.or $push79=, $pop75, $pop78 i32.const $push145=, 0 - i32.const $push20=, input+44 - i32.store $drop=, ptrs+44($pop145), $pop20 + f32.load $push80=, results+40($pop145) + f32.const $push81=, 0x1.9p6 + f32.ne $push82=, $pop80, $pop81 + i32.or $push83=, $pop79, $pop82 i32.const $push144=, 0 - i32.const $push21=, 11 - i32.store $drop=, incs+44($pop144), $pop21 + f32.load $push84=, results+44($pop144) + f32.const $push85=, 0x1.b8p6 + f32.ne $push86=, $pop84, $pop85 + i32.or $push87=, $pop83, $pop86 i32.const $push143=, 0 - i32.const $push22=, input+48 - i32.store $drop=, ptrs+48($pop143), $pop22 + f32.load $push88=, results+48($pop143) + f32.const $push89=, 0x1.ep6 + f32.ne $push90=, $pop88, $pop89 + i32.or $push91=, $pop87, $pop90 i32.const $push142=, 0 - i32.const $push23=, 12 - i32.store $drop=, incs+48($pop142), $pop23 + f32.load $push92=, results+52($pop142) + f32.const $push93=, 0x1.04p7 + f32.ne $push94=, $pop92, $pop93 + i32.or $push95=, $pop91, $pop94 i32.const $push141=, 0 - i32.const $push24=, input+52 - i32.store $drop=, ptrs+52($pop141), $pop24 + f32.load $push96=, results+56($pop141) + f32.const $push97=, 0x1.18p7 + f32.ne $push98=, $pop96, $pop97 + i32.or $push99=, $pop95, $pop98 i32.const $push140=, 0 - i32.const $push25=, 13 - i32.store $drop=, incs+52($pop140), $pop25 + f32.load $push100=, results+60($pop140) + f32.const $push101=, 0x1.2cp7 + f32.ne $push102=, $pop100, $pop101 + i32.or $push103=, $pop99, $pop102 i32.const $push139=, 0 - i32.const $push26=, input+56 - i32.store $drop=, ptrs+56($pop139), $pop26 + f32.load $push104=, results+64($pop139) + f32.const $push105=, 0x1.4p7 + f32.ne $push106=, $pop104, $pop105 + i32.or $push107=, $pop103, $pop106 i32.const $push138=, 0 - i32.const $push27=, 14 - i32.store $drop=, incs+56($pop138), $pop27 + f32.load $push108=, results+68($pop138) + f32.const $push109=, 0x1.54p7 + f32.ne $push110=, $pop108, $pop109 + i32.or $push111=, $pop107, $pop110 i32.const $push137=, 0 - i32.const $push28=, input+60 - i32.store $drop=, ptrs+60($pop137), $pop28 + f32.load $push112=, results+72($pop137) + f32.const $push113=, 0x1.68p7 + f32.ne $push114=, $pop112, $pop113 + i32.or $push115=, $pop111, $pop114 i32.const $push136=, 0 - i32.const $push29=, 15 - i32.store $drop=, incs+60($pop136), $pop29 - i32.const $push135=, 0 - i32.const $push30=, input+64 - i32.store $drop=, ptrs+64($pop135), $pop30 - i32.const $push134=, 0 - i32.const $push31=, 16 - i32.store $drop=, incs+64($pop134), $pop31 - i32.const $push133=, 0 - i32.const $push32=, input+68 - i32.store $drop=, ptrs+68($pop133), $pop32 - i32.const $push132=, 0 - i32.const $push33=, 17 - i32.store $drop=, incs+68($pop132), $pop33 - i32.const $push131=, 0 - i32.const $push34=, input+72 - i32.store $drop=, ptrs+72($pop131), $pop34 - i32.const $push130=, 0 - i32.const $push35=, 18 - i32.store $drop=, incs+72($pop130), $pop35 - i32.const $push129=, 0 - i32.const $push36=, input+76 - i32.store $drop=, ptrs+76($pop129), $pop36 - i32.const $push128=, 0 - i32.const $push37=, 19 - i32.store $drop=, incs+76($pop128), $pop37 - i32.const $push127=, 0 - i64.const $push2=, 8589934593 - i64.store $drop=, incs+4($pop127):p2align=2, $pop2 - i32.const $1=, input - i32.const $push126=, 0 - i32.const $push125=, input - i32.store $drop=, ptrs($pop126), $pop125 - i32.const $push124=, 0 - i32.const $push123=, 0 - i32.store $push0=, incs($pop124), $pop123 - i32.const $push7=, 4 - i32.store $0=, incs+16($pop0), $pop7 -.LBB1_1: # %for.body4 - # =>This Inner Loop Header: Depth=1 - loop # label3: - f32.convert_s/i32 $push38=, $2 - f32.store $drop=, 0($1), $pop38 - i32.const $push164=, 1 - i32.add $2=, $2, $pop164 - i32.add $1=, $1, $0 - i32.const $push163=, 80 - i32.ne $push39=, $2, $pop163 - br_if 0, $pop39 # 0: up to label3 -# BB#2: # %for.end8 - end_loop # label4: - i32.const $push40=, 4 - call foo@FUNCTION, $pop40 - i32.const $push41=, 0 - f32.load $push42=, results($pop41) - f32.const $push43=, 0x0p0 - f32.ne $push44=, $pop42, $pop43 - i32.const $push183=, 0 - f32.load $push45=, results+4($pop183) - f32.const $push46=, 0x1.4p3 - f32.ne $push47=, $pop45, $pop46 - i32.or $push48=, $pop44, $pop47 - i32.const $push182=, 0 - f32.load $push49=, results+8($pop182) - f32.const $push50=, 0x1.4p4 - f32.ne $push51=, $pop49, $pop50 - i32.or $push52=, $pop48, $pop51 - i32.const $push181=, 0 - f32.load $push53=, results+12($pop181) - f32.const $push54=, 0x1.ep4 - f32.ne $push55=, $pop53, $pop54 - i32.or $push56=, $pop52, $pop55 - i32.const $push180=, 0 - f32.load $push57=, results+16($pop180) - f32.const $push58=, 0x1.4p5 - f32.ne $push59=, $pop57, $pop58 - i32.or $push60=, $pop56, $pop59 - i32.const $push179=, 0 - f32.load $push61=, results+20($pop179) - f32.const $push62=, 0x1.9p5 - f32.ne $push63=, $pop61, $pop62 - i32.or $push64=, $pop60, $pop63 - i32.const $push178=, 0 - f32.load $push65=, results+24($pop178) - f32.const $push66=, 0x1.ep5 - f32.ne $push67=, $pop65, $pop66 - i32.or $push68=, $pop64, $pop67 - i32.const $push177=, 0 - f32.load $push69=, results+28($pop177) - f32.const $push70=, 0x1.18p6 - f32.ne $push71=, $pop69, $pop70 - i32.or $push72=, $pop68, $pop71 - i32.const $push176=, 0 - f32.load $push73=, results+32($pop176) - f32.const $push74=, 0x1.4p6 - f32.ne $push75=, $pop73, $pop74 - i32.or $push76=, $pop72, $pop75 - i32.const $push175=, 0 - f32.load $push77=, results+36($pop175) - f32.const $push78=, 0x1.68p6 - f32.ne $push79=, $pop77, $pop78 - i32.or $push80=, $pop76, $pop79 - i32.const $push174=, 0 - f32.load $push81=, results+40($pop174) - f32.const $push82=, 0x1.9p6 - f32.ne $push83=, $pop81, $pop82 - i32.or $push84=, $pop80, $pop83 - i32.const $push173=, 0 - f32.load $push85=, results+44($pop173) - f32.const $push86=, 0x1.b8p6 - f32.ne $push87=, $pop85, $pop86 - i32.or $push88=, $pop84, $pop87 - i32.const $push172=, 0 - f32.load $push89=, results+48($pop172) - f32.const $push90=, 0x1.ep6 - f32.ne $push91=, $pop89, $pop90 - i32.or $push92=, $pop88, $pop91 - i32.const $push171=, 0 - f32.load $push93=, results+52($pop171) - f32.const $push94=, 0x1.04p7 - f32.ne $push95=, $pop93, $pop94 - i32.or $push96=, $pop92, $pop95 - i32.const $push170=, 0 - f32.load $push97=, results+56($pop170) - f32.const $push98=, 0x1.18p7 - f32.ne $push99=, $pop97, $pop98 - i32.or $push100=, $pop96, $pop99 - i32.const $push169=, 0 - f32.load $push101=, results+60($pop169) - f32.const $push102=, 0x1.2cp7 - f32.ne $push103=, $pop101, $pop102 - i32.or $push104=, $pop100, $pop103 - i32.const $push168=, 0 - f32.load $push105=, results+64($pop168) - f32.const $push106=, 0x1.4p7 - f32.ne $push107=, $pop105, $pop106 - i32.or $push108=, $pop104, $pop107 - i32.const $push167=, 0 - f32.load $push109=, results+68($pop167) - f32.const $push110=, 0x1.54p7 - f32.ne $push111=, $pop109, $pop110 - i32.or $push112=, $pop108, $pop111 - i32.const $push166=, 0 - f32.load $push113=, results+72($pop166) - f32.const $push114=, 0x1.68p7 - f32.ne $push115=, $pop113, $pop114 - i32.or $push116=, $pop112, $pop115 - i32.const $push165=, 0 - f32.load $push117=, results+76($pop165) - f32.const $push118=, 0x1.7cp7 - f32.ne $push119=, $pop117, $pop118 - i32.or $push120=, $pop116, $pop119 - i32.const $push121=, 1 - i32.and $push122=, $pop120, $pop121 - return $pop122 + f32.load $push116=, results+76($pop136) + f32.const $push117=, 0x1.7cp7 + f32.ne $push118=, $pop116, $pop117 + i32.or $push119=, $pop115, $pop118 + i32.const $push120=, 1 + i32.and $push121=, $pop119, $pop120 + # fallthrough-return: $pop121 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr28982b.c.s b/test/torture-s/pr28982b.c.s index 20c4d4162..ed66971f5 100644 --- a/test/torture-s/pr28982b.c.s +++ b/test/torture-s/pr28982b.c.s @@ -13,7 +13,7 @@ bar: # @bar i32.load $push0=, 0($0) i32.add $push3=, $pop2, $pop0 i32.store $drop=, incs($pop1), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -24,22 +24,20 @@ bar: # @bar .type foo,@function foo: # @foo .param i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, i32, i64 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32, f32 # BB#0: # %entry - i32.const $push55=, __stack_pointer - i32.const $push52=, __stack_pointer - i32.load $push53=, 0($pop52) - i32.const $push54=, 524288 - i32.sub $push63=, $pop53, $pop54 - i32.store $push67=, 0($pop55), $pop63 - tee_local $push66=, $61=, $pop67 - i32.const $push59=, 262144 - i32.add $push60=, $pop66, $pop59 - i32.const $push65=, 0 - i32.const $push64=, 262144 - i32.call $drop=, memset@FUNCTION, $pop60, $pop65, $pop64 - f32.const $41=, 0x0p0 - f32.const $42=, 0x0p0 + i32.const $push75=, 0 + i32.const $push72=, 0 + i32.load $push73=, __stack_pointer($pop72) + i32.const $push74=, 524288 + i32.sub $push83=, $pop73, $pop74 + i32.store $push87=, __stack_pointer($pop75), $pop83 + tee_local $push86=, $1=, $pop87 + i32.const $push79=, 262144 + i32.add $push80=, $pop86, $pop79 + i32.const $push85=, 0 + i32.const $push84=, 262144 + i32.call $drop=, memset@FUNCTION, $pop80, $pop85, $pop84 f32.const $43=, 0x0p0 f32.const $44=, 0x0p0 f32.const $45=, 0x0p0 @@ -58,162 +56,162 @@ foo: # @foo f32.const $58=, 0x0p0 f32.const $59=, 0x0p0 f32.const $60=, 0x0p0 + f32.const $61=, 0x0p0 + f32.const $62=, 0x0p0 block - i32.eqz $push170=, $0 - br_if 0, $pop170 # 0: down to label0 + i32.eqz $push192=, $0 + br_if 0, $pop192 # 0: down to label0 # BB#1: # %while.body.preheader - i32.const $push145=, 0 - i64.load $push144=, incs+72($pop145) - tee_local $push143=, $62=, $pop144 - i64.const $push20=, 32 - i64.shr_u $push30=, $pop143, $pop20 - i32.wrap/i64 $push19=, $pop30 - i32.const $push31=, 2 - i32.shl $1=, $pop19, $pop31 - i32.wrap/i64 $push18=, $62 - i32.const $push142=, 2 - i32.shl $2=, $pop18, $pop142 - i32.const $push141=, 0 - i64.load $push140=, incs+64($pop141) - tee_local $push139=, $62=, $pop140 - i64.const $push138=, 32 - i64.shr_u $push29=, $pop139, $pop138 - i32.wrap/i64 $push17=, $pop29 - i32.const $push137=, 2 - i32.shl $3=, $pop17, $pop137 - i32.wrap/i64 $push16=, $62 - i32.const $push136=, 2 - i32.shl $4=, $pop16, $pop136 - i32.const $push135=, 0 - i64.load $push134=, incs+56($pop135) - tee_local $push133=, $62=, $pop134 - i64.const $push132=, 32 - i64.shr_u $push28=, $pop133, $pop132 - i32.wrap/i64 $push15=, $pop28 - i32.const $push131=, 2 - i32.shl $5=, $pop15, $pop131 - i32.wrap/i64 $push14=, $62 - i32.const $push130=, 2 - i32.shl $6=, $pop14, $pop130 - i32.const $push129=, 0 - i64.load $push128=, incs+48($pop129) - tee_local $push127=, $62=, $pop128 - i64.const $push126=, 32 - i64.shr_u $push27=, $pop127, $pop126 - i32.wrap/i64 $push13=, $pop27 - i32.const $push125=, 2 - i32.shl $7=, $pop13, $pop125 - i32.wrap/i64 $push12=, $62 - i32.const $push124=, 2 - i32.shl $8=, $pop12, $pop124 - i32.const $push123=, 0 - i64.load $push122=, incs+40($pop123) - tee_local $push121=, $62=, $pop122 - i64.const $push120=, 32 - i64.shr_u $push26=, $pop121, $pop120 - i32.wrap/i64 $push11=, $pop26 - i32.const $push119=, 2 - i32.shl $9=, $pop11, $pop119 - i32.wrap/i64 $push10=, $62 - i32.const $push118=, 2 - i32.shl $10=, $pop10, $pop118 - i32.const $push117=, 0 - i64.load $push116=, incs+32($pop117) - tee_local $push115=, $62=, $pop116 - i64.const $push114=, 32 - i64.shr_u $push25=, $pop115, $pop114 - i32.wrap/i64 $push9=, $pop25 - i32.const $push113=, 2 - i32.shl $11=, $pop9, $pop113 - i32.wrap/i64 $push8=, $62 - i32.const $push112=, 2 - i32.shl $12=, $pop8, $pop112 - i32.const $push111=, 0 - i64.load $push110=, incs+24($pop111) - tee_local $push109=, $62=, $pop110 - i64.const $push108=, 32 - i64.shr_u $push24=, $pop109, $pop108 - i32.wrap/i64 $push7=, $pop24 - i32.const $push107=, 2 - i32.shl $13=, $pop7, $pop107 - i32.wrap/i64 $push6=, $62 - i32.const $push106=, 2 - i32.shl $14=, $pop6, $pop106 + i32.const $push165=, 0 + i64.load $push164=, incs($pop165) + tee_local $push163=, $22=, $pop164 + i32.wrap/i64 $push0=, $pop163 + i32.const $push51=, 2 + i32.shl $21=, $pop0, $pop51 + i64.const $push40=, 32 + i64.shr_u $push50=, $22, $pop40 + i32.wrap/i64 $push1=, $pop50 + i32.const $push162=, 2 + i32.shl $20=, $pop1, $pop162 + i32.const $push161=, 0 + i64.load $push160=, incs+8($pop161) + tee_local $push159=, $22=, $pop160 + i32.wrap/i64 $push2=, $pop159 + i32.const $push158=, 2 + i32.shl $19=, $pop2, $pop158 + i64.const $push157=, 32 + i64.shr_u $push49=, $22, $pop157 + i32.wrap/i64 $push3=, $pop49 + i32.const $push156=, 2 + i32.shl $18=, $pop3, $pop156 + i32.const $push155=, 0 + i64.load $push154=, incs+16($pop155) + tee_local $push153=, $22=, $pop154 + i32.wrap/i64 $push4=, $pop153 + i32.const $push152=, 2 + i32.shl $17=, $pop4, $pop152 + i64.const $push151=, 32 + i64.shr_u $push48=, $22, $pop151 + i32.wrap/i64 $push5=, $pop48 + i32.const $push150=, 2 + i32.shl $16=, $pop5, $pop150 + i32.const $push149=, 0 + i64.load $push148=, incs+24($pop149) + tee_local $push147=, $22=, $pop148 + i32.wrap/i64 $push6=, $pop147 + i32.const $push146=, 2 + i32.shl $15=, $pop6, $pop146 + i64.const $push145=, 32 + i64.shr_u $push47=, $22, $pop145 + i32.wrap/i64 $push7=, $pop47 + i32.const $push144=, 2 + i32.shl $14=, $pop7, $pop144 + i32.const $push143=, 0 + i64.load $push142=, incs+32($pop143) + tee_local $push141=, $22=, $pop142 + i32.wrap/i64 $push8=, $pop141 + i32.const $push140=, 2 + i32.shl $13=, $pop8, $pop140 + i64.const $push139=, 32 + i64.shr_u $push46=, $22, $pop139 + i32.wrap/i64 $push9=, $pop46 + i32.const $push138=, 2 + i32.shl $12=, $pop9, $pop138 + i32.const $push137=, 0 + i64.load $push136=, incs+40($pop137) + tee_local $push135=, $22=, $pop136 + i32.wrap/i64 $push10=, $pop135 + i32.const $push134=, 2 + i32.shl $11=, $pop10, $pop134 + i64.const $push133=, 32 + i64.shr_u $push45=, $22, $pop133 + i32.wrap/i64 $push11=, $pop45 + i32.const $push132=, 2 + i32.shl $10=, $pop11, $pop132 + i32.const $push131=, 0 + i64.load $push130=, incs+48($pop131) + tee_local $push129=, $22=, $pop130 + i32.wrap/i64 $push12=, $pop129 + i32.const $push128=, 2 + i32.shl $9=, $pop12, $pop128 + i64.const $push127=, 32 + i64.shr_u $push44=, $22, $pop127 + i32.wrap/i64 $push13=, $pop44 + i32.const $push126=, 2 + i32.shl $8=, $pop13, $pop126 + i32.const $push125=, 0 + i64.load $push124=, incs+56($pop125) + tee_local $push123=, $22=, $pop124 + i32.wrap/i64 $push14=, $pop123 + i32.const $push122=, 2 + i32.shl $7=, $pop14, $pop122 + i64.const $push121=, 32 + i64.shr_u $push43=, $22, $pop121 + i32.wrap/i64 $push15=, $pop43 + i32.const $push120=, 2 + i32.shl $6=, $pop15, $pop120 + i32.const $push119=, 0 + i64.load $push118=, incs+64($pop119) + tee_local $push117=, $22=, $pop118 + i32.wrap/i64 $push16=, $pop117 + i32.const $push116=, 2 + i32.shl $5=, $pop16, $pop116 + i64.const $push115=, 32 + i64.shr_u $push42=, $22, $pop115 + i32.wrap/i64 $push17=, $pop42 + i32.const $push114=, 2 + i32.shl $4=, $pop17, $pop114 + i32.const $push113=, 0 + i64.load $push112=, incs+72($pop113) + tee_local $push111=, $22=, $pop112 + i32.wrap/i64 $push18=, $pop111 + i32.const $push110=, 2 + i32.shl $3=, $pop18, $pop110 + i64.const $push109=, 32 + i64.shr_u $push41=, $22, $pop109 + i32.wrap/i64 $push19=, $pop41 + i32.const $push108=, 2 + i32.shl $2=, $pop19, $pop108 + i32.const $push107=, 0 + i32.load $23=, ptrs($pop107) + i32.const $push106=, 0 + i32.load $24=, ptrs+4($pop106) i32.const $push105=, 0 - i64.load $push104=, incs+16($pop105) - tee_local $push103=, $62=, $pop104 - i64.const $push102=, 32 - i64.shr_u $push23=, $pop103, $pop102 - i32.wrap/i64 $push5=, $pop23 - i32.const $push101=, 2 - i32.shl $15=, $pop5, $pop101 - i32.wrap/i64 $push4=, $62 - i32.const $push100=, 2 - i32.shl $16=, $pop4, $pop100 + i32.load $25=, ptrs+8($pop105) + i32.const $push104=, 0 + i32.load $26=, ptrs+12($pop104) + i32.const $push103=, 0 + i32.load $27=, ptrs+16($pop103) + i32.const $push102=, 0 + i32.load $28=, ptrs+20($pop102) + i32.const $push101=, 0 + i32.load $29=, ptrs+24($pop101) + i32.const $push100=, 0 + i32.load $30=, ptrs+28($pop100) i32.const $push99=, 0 - i64.load $push98=, incs+8($pop99) - tee_local $push97=, $62=, $pop98 - i64.const $push96=, 32 - i64.shr_u $push22=, $pop97, $pop96 - i32.wrap/i64 $push3=, $pop22 - i32.const $push95=, 2 - i32.shl $17=, $pop3, $pop95 - i32.wrap/i64 $push2=, $62 - i32.const $push94=, 2 - i32.shl $18=, $pop2, $pop94 + i32.load $31=, ptrs+32($pop99) + i32.const $push98=, 0 + i32.load $32=, ptrs+36($pop98) + i32.const $push97=, 0 + i32.load $33=, ptrs+40($pop97) + i32.const $push96=, 0 + i32.load $34=, ptrs+44($pop96) + i32.const $push95=, 0 + i32.load $35=, ptrs+48($pop95) + i32.const $push94=, 0 + i32.load $36=, ptrs+52($pop94) i32.const $push93=, 0 - i64.load $push92=, incs($pop93) - tee_local $push91=, $62=, $pop92 - i64.const $push90=, 32 - i64.shr_u $push21=, $pop91, $pop90 - i32.wrap/i64 $push1=, $pop21 - i32.const $push89=, 2 - i32.shl $19=, $pop1, $pop89 - i32.wrap/i64 $push0=, $62 - i32.const $push88=, 2 - i32.shl $20=, $pop0, $pop88 - f32.const $41=, 0x0p0 - i32.const $push87=, 0 - i32.load $40=, ptrs+76($pop87) - i32.const $push86=, 0 - i32.load $39=, ptrs+72($pop86) - i32.const $push85=, 0 - i32.load $38=, ptrs+68($pop85) - i32.const $push84=, 0 - i32.load $37=, ptrs+64($pop84) - i32.const $push83=, 0 - i32.load $36=, ptrs+60($pop83) - i32.const $push82=, 0 - i32.load $35=, ptrs+56($pop82) - i32.const $push81=, 0 - i32.load $34=, ptrs+52($pop81) - i32.const $push80=, 0 - i32.load $33=, ptrs+48($pop80) - i32.const $push79=, 0 - i32.load $32=, ptrs+44($pop79) - i32.const $push78=, 0 - i32.load $31=, ptrs+40($pop78) - i32.const $push77=, 0 - i32.load $30=, ptrs+36($pop77) - i32.const $push76=, 0 - i32.load $29=, ptrs+32($pop76) - i32.const $push75=, 0 - i32.load $28=, ptrs+28($pop75) - i32.const $push74=, 0 - i32.load $27=, ptrs+24($pop74) - i32.const $push73=, 0 - i32.load $26=, ptrs+20($pop73) - i32.const $push72=, 0 - i32.load $25=, ptrs+16($pop72) - i32.const $push71=, 0 - i32.load $24=, ptrs+12($pop71) - i32.const $push70=, 0 - i32.load $23=, ptrs+8($pop70) - i32.const $push69=, 0 - i32.load $22=, ptrs+4($pop69) - i32.const $push68=, 0 - i32.load $21=, ptrs($pop68) - f32.const $42=, 0x0p0 + i32.load $37=, ptrs+56($pop93) + i32.const $push92=, 0 + i32.load $38=, ptrs+60($pop92) + i32.const $push91=, 0 + i32.load $39=, ptrs+64($pop91) + i32.const $push90=, 0 + i32.load $40=, ptrs+68($pop90) + i32.const $push89=, 0 + i32.load $41=, ptrs+72($pop89) + i32.const $push88=, 0 + i32.load $42=, ptrs+76($pop88) f32.const $43=, 0x0p0 f32.const $44=, 0x0p0 f32.const $45=, 0x0p0 @@ -232,126 +230,149 @@ foo: # @foo f32.const $58=, 0x0p0 f32.const $59=, 0x0p0 f32.const $60=, 0x0p0 + f32.const $61=, 0x0p0 + f32.const $62=, 0x0p0 .LBB1_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - f32.load $push32=, 0($21) - f32.add $60=, $60, $pop32 - f32.load $push33=, 0($22) - f32.add $59=, $59, $pop33 - f32.load $push34=, 0($23) - f32.add $58=, $58, $pop34 - f32.load $push35=, 0($24) - f32.add $57=, $57, $pop35 - f32.load $push36=, 0($25) - f32.add $56=, $56, $pop36 - f32.load $push37=, 0($26) - f32.add $55=, $55, $pop37 - f32.load $push38=, 0($27) - f32.add $54=, $54, $pop38 - f32.load $push39=, 0($28) - f32.add $53=, $53, $pop39 - f32.load $push40=, 0($29) - f32.add $52=, $52, $pop40 - f32.load $push41=, 0($30) - f32.add $51=, $51, $pop41 - f32.load $push42=, 0($31) - f32.add $50=, $50, $pop42 - f32.load $push43=, 0($32) - f32.add $49=, $49, $pop43 - f32.load $push44=, 0($33) - f32.add $48=, $48, $pop44 - f32.load $push45=, 0($34) - f32.add $47=, $47, $pop45 - f32.load $push46=, 0($35) - f32.add $46=, $46, $pop46 - f32.load $push47=, 0($36) - f32.add $45=, $45, $pop47 - f32.load $push48=, 0($37) - f32.add $44=, $44, $pop48 - f32.load $push49=, 0($38) - f32.add $43=, $43, $pop49 - f32.load $push50=, 0($39) - f32.add $42=, $42, $pop50 - f32.load $push51=, 0($40) - f32.add $41=, $41, $pop51 - i32.const $push146=, -1 - i32.add $0=, $0, $pop146 - i32.add $40=, $40, $1 - i32.add $39=, $39, $2 - i32.add $38=, $38, $3 - i32.add $37=, $37, $4 - i32.add $36=, $36, $5 - i32.add $35=, $35, $6 - i32.add $34=, $34, $7 - i32.add $33=, $33, $8 - i32.add $32=, $32, $9 - i32.add $31=, $31, $10 - i32.add $30=, $30, $11 - i32.add $29=, $29, $12 - i32.add $28=, $28, $13 - i32.add $27=, $27, $14 - i32.add $26=, $26, $15 - i32.add $25=, $25, $16 - i32.add $24=, $24, $17 - i32.add $23=, $23, $18 - i32.add $22=, $22, $19 - i32.add $21=, $21, $20 - br_if 0, $0 # 0: up to label1 + f32.load $push52=, 0($42) + f32.add $43=, $43, $pop52 + f32.load $push53=, 0($41) + f32.add $44=, $44, $pop53 + f32.load $push54=, 0($40) + f32.add $45=, $45, $pop54 + f32.load $push55=, 0($39) + f32.add $46=, $46, $pop55 + f32.load $push56=, 0($38) + f32.add $47=, $47, $pop56 + f32.load $push57=, 0($37) + f32.add $48=, $48, $pop57 + f32.load $push58=, 0($36) + f32.add $49=, $49, $pop58 + f32.load $push59=, 0($35) + f32.add $50=, $50, $pop59 + f32.load $push60=, 0($34) + f32.add $51=, $51, $pop60 + f32.load $push61=, 0($33) + f32.add $52=, $52, $pop61 + f32.load $push62=, 0($32) + f32.add $53=, $53, $pop62 + f32.load $push63=, 0($31) + f32.add $54=, $54, $pop63 + f32.load $push64=, 0($30) + f32.add $55=, $55, $pop64 + f32.load $push65=, 0($29) + f32.add $56=, $56, $pop65 + f32.load $push66=, 0($28) + f32.add $57=, $57, $pop66 + f32.load $push67=, 0($27) + f32.add $58=, $58, $pop67 + f32.load $push68=, 0($26) + f32.add $59=, $59, $pop68 + f32.load $push69=, 0($25) + f32.add $60=, $60, $pop69 + f32.load $push70=, 0($24) + f32.add $61=, $61, $pop70 + f32.load $push71=, 0($23) + f32.add $62=, $62, $pop71 + i32.add $push39=, $23, $21 + copy_local $23=, $pop39 + i32.add $push38=, $24, $20 + copy_local $24=, $pop38 + i32.add $push37=, $25, $19 + copy_local $25=, $pop37 + i32.add $push36=, $26, $18 + copy_local $26=, $pop36 + i32.add $push35=, $27, $17 + copy_local $27=, $pop35 + i32.add $push34=, $28, $16 + copy_local $28=, $pop34 + i32.add $push33=, $29, $15 + copy_local $29=, $pop33 + i32.add $push32=, $30, $14 + copy_local $30=, $pop32 + i32.add $push31=, $31, $13 + copy_local $31=, $pop31 + i32.add $push30=, $32, $12 + copy_local $32=, $pop30 + i32.add $push29=, $33, $11 + copy_local $33=, $pop29 + i32.add $push28=, $34, $10 + copy_local $34=, $pop28 + i32.add $push27=, $35, $9 + copy_local $35=, $pop27 + i32.add $push26=, $36, $8 + copy_local $36=, $pop26 + i32.add $push25=, $37, $7 + copy_local $37=, $pop25 + i32.add $push24=, $38, $6 + copy_local $38=, $pop24 + i32.add $push23=, $39, $5 + copy_local $39=, $pop23 + i32.add $push22=, $40, $4 + copy_local $40=, $pop22 + i32.add $push21=, $41, $3 + copy_local $41=, $pop21 + i32.add $push20=, $42, $2 + copy_local $42=, $pop20 + i32.const $push168=, -1 + i32.add $push167=, $0, $pop168 + tee_local $push166=, $0=, $pop167 + br_if 0, $pop166 # 0: up to label1 .LBB1_3: # %while.end end_loop # label2: end_block # label0: - i32.const $push169=, 0 - f32.store $drop=, results($pop169), $60 - i32.const $push168=, 0 - f32.store $drop=, results+4($pop168), $59 - i32.const $push167=, 0 - f32.store $drop=, results+8($pop167), $58 - i32.const $push166=, 0 - f32.store $drop=, results+12($pop166), $57 - i32.const $push165=, 0 - f32.store $drop=, results+16($pop165), $56 - i32.const $push164=, 0 - f32.store $drop=, results+20($pop164), $55 - i32.const $push163=, 0 - f32.store $drop=, results+24($pop163), $54 - i32.const $push162=, 0 - f32.store $drop=, results+28($pop162), $53 - i32.const $push161=, 0 - f32.store $drop=, results+32($pop161), $52 - i32.const $push160=, 0 - f32.store $drop=, results+36($pop160), $51 - i32.const $push159=, 0 - f32.store $drop=, results+40($pop159), $50 - i32.const $push158=, 0 - f32.store $drop=, results+44($pop158), $49 - i32.const $push157=, 0 - f32.store $drop=, results+48($pop157), $48 - i32.const $push156=, 0 - f32.store $drop=, results+52($pop156), $47 - i32.const $push155=, 0 - f32.store $drop=, results+56($pop155), $46 - i32.const $push154=, 0 - f32.store $drop=, results+60($pop154), $45 - i32.const $push153=, 0 - f32.store $drop=, results+64($pop153), $44 - i32.const $push152=, 0 - f32.store $drop=, results+68($pop152), $43 - i32.const $push151=, 0 - f32.store $drop=, results+72($pop151), $42 - i32.const $push150=, 0 - f32.store $drop=, results+76($pop150), $41 - i32.const $push61=, 262144 - i32.add $push62=, $61, $pop61 - i32.const $push149=, 262144 - i32.call $push148=, memcpy@FUNCTION, $61, $pop62, $pop149 - tee_local $push147=, $0=, $pop148 - call bar@FUNCTION, $pop147 - i32.const $push58=, __stack_pointer - i32.const $push56=, 524288 - i32.add $push57=, $0, $pop56 - i32.store $drop=, 0($pop58), $pop57 - return + i32.const $push191=, 0 + f32.store $drop=, results+4($pop191), $61 + i32.const $push190=, 0 + f32.store $drop=, results($pop190), $62 + i32.const $push189=, 0 + f32.store $drop=, results+8($pop189), $60 + i32.const $push188=, 0 + f32.store $drop=, results+12($pop188), $59 + i32.const $push187=, 0 + f32.store $drop=, results+16($pop187), $58 + i32.const $push186=, 0 + f32.store $drop=, results+20($pop186), $57 + i32.const $push185=, 0 + f32.store $drop=, results+24($pop185), $56 + i32.const $push184=, 0 + f32.store $drop=, results+28($pop184), $55 + i32.const $push183=, 0 + f32.store $drop=, results+32($pop183), $54 + i32.const $push182=, 0 + f32.store $drop=, results+36($pop182), $53 + i32.const $push181=, 0 + f32.store $drop=, results+40($pop181), $52 + i32.const $push180=, 0 + f32.store $drop=, results+44($pop180), $51 + i32.const $push179=, 0 + f32.store $drop=, results+48($pop179), $50 + i32.const $push178=, 0 + f32.store $drop=, results+52($pop178), $49 + i32.const $push177=, 0 + f32.store $drop=, results+56($pop177), $48 + i32.const $push176=, 0 + f32.store $drop=, results+60($pop176), $47 + i32.const $push175=, 0 + f32.store $drop=, results+64($pop175), $46 + i32.const $push174=, 0 + f32.store $drop=, results+68($pop174), $45 + i32.const $push173=, 0 + f32.store $drop=, results+72($pop173), $44 + i32.const $push172=, 0 + f32.store $drop=, results+76($pop172), $43 + i32.const $push81=, 262144 + i32.add $push82=, $1, $pop81 + i32.const $push171=, 262144 + i32.call $push170=, memcpy@FUNCTION, $1, $pop82, $pop171 + tee_local $push169=, $23=, $pop170 + call bar@FUNCTION, $pop169 + i32.const $push78=, 0 + i32.const $push76=, 524288 + i32.add $push77=, $23, $pop76 + i32.store $drop=, __stack_pointer($pop78), $pop77 + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -362,243 +383,213 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $2=, 0 - i32.const $push162=, 0 - i32.const $push1=, input+4 - i32.store $drop=, ptrs+4($pop162), $pop1 - i32.const $push161=, 0 - i32.const $push3=, input+8 - i32.store $drop=, ptrs+8($pop161), $pop3 - i32.const $push160=, 0 - i32.const $push4=, input+12 - i32.store $drop=, ptrs+12($pop160), $pop4 - i32.const $push159=, 0 - i32.const $push5=, 3 - i32.store $drop=, incs+12($pop159), $pop5 - i32.const $push158=, 0 - i32.const $push6=, input+16 - i32.store $drop=, ptrs+16($pop158), $pop6 - i32.const $push157=, 0 - i32.const $push8=, input+20 - i32.store $drop=, ptrs+20($pop157), $pop8 - i32.const $push156=, 0 - i32.const $push9=, 5 - i32.store $drop=, incs+20($pop156), $pop9 - i32.const $push155=, 0 - i32.const $push10=, input+24 - i32.store $drop=, ptrs+24($pop155), $pop10 + i32.const $2=, input + i32.const $3=, 0 + i32.const $push131=, 0 + i32.const $push130=, input + i32.store $drop=, ptrs($pop131), $pop130 + i32.const $push129=, 0 + i32.const $push0=, input+4 + i32.store $drop=, ptrs+4($pop129), $pop0 + i32.const $push128=, 0 + i32.const $push1=, input+8 + i32.store $drop=, ptrs+8($pop128), $pop1 + i32.const $push127=, 0 + i64.const $push2=, 8589934593 + i64.store $drop=, incs+4($pop127):p2align=2, $pop2 + i32.const $push126=, 0 + i32.const $push3=, input+12 + i32.store $drop=, ptrs+12($pop126), $pop3 + i32.const $push125=, 0 + i32.const $push124=, 0 + i32.store $push123=, incs($pop125), $pop124 + tee_local $push122=, $0=, $pop123 + i32.const $push4=, 3 + i32.store $drop=, incs+12($pop122), $pop4 + i32.const $push5=, input+16 + i32.store $drop=, ptrs+16($0), $pop5 + i32.const $push6=, 4 + i32.store $1=, incs+16($0), $pop6 + i32.const $push7=, input+20 + i32.store $drop=, ptrs+20($0), $pop7 + i32.const $push8=, 5 + i32.store $drop=, incs+20($0), $pop8 + i32.const $push9=, input+24 + i32.store $drop=, ptrs+24($0), $pop9 + i32.const $push10=, 6 + i32.store $drop=, incs+24($0), $pop10 + i32.const $push11=, input+28 + i32.store $drop=, ptrs+28($0), $pop11 + i32.const $push12=, 7 + i32.store $drop=, incs+28($0), $pop12 + i32.const $push13=, input+32 + i32.store $drop=, ptrs+32($0), $pop13 + i32.const $push14=, 8 + i32.store $drop=, incs+32($0), $pop14 + i32.const $push15=, input+36 + i32.store $drop=, ptrs+36($0), $pop15 + i32.const $push16=, 9 + i32.store $drop=, incs+36($0), $pop16 + i32.const $push17=, input+40 + i32.store $drop=, ptrs+40($0), $pop17 + i32.const $push18=, 10 + i32.store $drop=, incs+40($0), $pop18 + i32.const $push19=, input+44 + i32.store $drop=, ptrs+44($0), $pop19 + i32.const $push20=, 11 + i32.store $drop=, incs+44($0), $pop20 + i32.const $push21=, input+48 + i32.store $drop=, ptrs+48($0), $pop21 + i32.const $push22=, 12 + i32.store $drop=, incs+48($0), $pop22 + i32.const $push23=, input+52 + i32.store $drop=, ptrs+52($0), $pop23 + i32.const $push24=, 13 + i32.store $drop=, incs+52($0), $pop24 + i32.const $push25=, input+56 + i32.store $drop=, ptrs+56($0), $pop25 + i32.const $push26=, 14 + i32.store $drop=, incs+56($0), $pop26 + i32.const $push27=, input+60 + i32.store $drop=, ptrs+60($0), $pop27 + i32.const $push28=, 15 + i32.store $drop=, incs+60($0), $pop28 + i32.const $push29=, input+64 + i32.store $drop=, ptrs+64($0), $pop29 + i32.const $push30=, 16 + i32.store $drop=, incs+64($0), $pop30 + i32.const $push31=, input+68 + i32.store $drop=, ptrs+68($0), $pop31 + i32.const $push32=, 17 + i32.store $drop=, incs+68($0), $pop32 + i32.const $push33=, input+72 + i32.store $drop=, ptrs+72($0), $pop33 + i32.const $push34=, 18 + i32.store $drop=, incs+72($0), $pop34 + i32.const $push35=, input+76 + i32.store $drop=, ptrs+76($0), $pop35 + i32.const $push36=, 19 + i32.store $drop=, incs+76($0), $pop36 +.LBB2_1: # %for.body4 + # =>This Inner Loop Header: Depth=1 + loop # label3: + f32.convert_s/i32 $push37=, $3 + f32.store $drop=, 0($2), $pop37 + i32.add $2=, $2, $1 + i32.const $push135=, 1 + i32.add $push134=, $3, $pop135 + tee_local $push133=, $3=, $pop134 + i32.const $push132=, 80 + i32.ne $push38=, $pop133, $pop132 + br_if 0, $pop38 # 0: up to label3 +# BB#2: # %for.end8 + end_loop # label4: + i32.const $push39=, 4 + call foo@FUNCTION, $pop39 + i32.const $push40=, 0 + f32.load $push44=, results($pop40) + f32.const $push45=, 0x0p0 + f32.ne $push46=, $pop44, $pop45 i32.const $push154=, 0 - i32.const $push11=, 6 - i32.store $drop=, incs+24($pop154), $pop11 + f32.load $push41=, results+4($pop154) + f32.const $push42=, 0x1.4p3 + f32.ne $push43=, $pop41, $pop42 + i32.or $push47=, $pop46, $pop43 i32.const $push153=, 0 - i32.const $push12=, input+28 - i32.store $drop=, ptrs+28($pop153), $pop12 + f32.load $push48=, results+8($pop153) + f32.const $push49=, 0x1.4p4 + f32.ne $push50=, $pop48, $pop49 + i32.or $push51=, $pop47, $pop50 i32.const $push152=, 0 - i32.const $push13=, 7 - i32.store $drop=, incs+28($pop152), $pop13 + f32.load $push52=, results+12($pop152) + f32.const $push53=, 0x1.ep4 + f32.ne $push54=, $pop52, $pop53 + i32.or $push55=, $pop51, $pop54 i32.const $push151=, 0 - i32.const $push14=, input+32 - i32.store $drop=, ptrs+32($pop151), $pop14 + f32.load $push56=, results+16($pop151) + f32.const $push57=, 0x1.4p5 + f32.ne $push58=, $pop56, $pop57 + i32.or $push59=, $pop55, $pop58 i32.const $push150=, 0 - i32.const $push15=, 8 - i32.store $drop=, incs+32($pop150), $pop15 + f32.load $push60=, results+20($pop150) + f32.const $push61=, 0x1.9p5 + f32.ne $push62=, $pop60, $pop61 + i32.or $push63=, $pop59, $pop62 i32.const $push149=, 0 - i32.const $push16=, input+36 - i32.store $drop=, ptrs+36($pop149), $pop16 + f32.load $push64=, results+24($pop149) + f32.const $push65=, 0x1.ep5 + f32.ne $push66=, $pop64, $pop65 + i32.or $push67=, $pop63, $pop66 i32.const $push148=, 0 - i32.const $push17=, 9 - i32.store $drop=, incs+36($pop148), $pop17 + f32.load $push68=, results+28($pop148) + f32.const $push69=, 0x1.18p6 + f32.ne $push70=, $pop68, $pop69 + i32.or $push71=, $pop67, $pop70 i32.const $push147=, 0 - i32.const $push18=, input+40 - i32.store $drop=, ptrs+40($pop147), $pop18 + f32.load $push72=, results+32($pop147) + f32.const $push73=, 0x1.4p6 + f32.ne $push74=, $pop72, $pop73 + i32.or $push75=, $pop71, $pop74 i32.const $push146=, 0 - i32.const $push19=, 10 - i32.store $drop=, incs+40($pop146), $pop19 + f32.load $push76=, results+36($pop146) + f32.const $push77=, 0x1.68p6 + f32.ne $push78=, $pop76, $pop77 + i32.or $push79=, $pop75, $pop78 i32.const $push145=, 0 - i32.const $push20=, input+44 - i32.store $drop=, ptrs+44($pop145), $pop20 + f32.load $push80=, results+40($pop145) + f32.const $push81=, 0x1.9p6 + f32.ne $push82=, $pop80, $pop81 + i32.or $push83=, $pop79, $pop82 i32.const $push144=, 0 - i32.const $push21=, 11 - i32.store $drop=, incs+44($pop144), $pop21 + f32.load $push84=, results+44($pop144) + f32.const $push85=, 0x1.b8p6 + f32.ne $push86=, $pop84, $pop85 + i32.or $push87=, $pop83, $pop86 i32.const $push143=, 0 - i32.const $push22=, input+48 - i32.store $drop=, ptrs+48($pop143), $pop22 + f32.load $push88=, results+48($pop143) + f32.const $push89=, 0x1.ep6 + f32.ne $push90=, $pop88, $pop89 + i32.or $push91=, $pop87, $pop90 i32.const $push142=, 0 - i32.const $push23=, 12 - i32.store $drop=, incs+48($pop142), $pop23 + f32.load $push92=, results+52($pop142) + f32.const $push93=, 0x1.04p7 + f32.ne $push94=, $pop92, $pop93 + i32.or $push95=, $pop91, $pop94 i32.const $push141=, 0 - i32.const $push24=, input+52 - i32.store $drop=, ptrs+52($pop141), $pop24 + f32.load $push96=, results+56($pop141) + f32.const $push97=, 0x1.18p7 + f32.ne $push98=, $pop96, $pop97 + i32.or $push99=, $pop95, $pop98 i32.const $push140=, 0 - i32.const $push25=, 13 - i32.store $drop=, incs+52($pop140), $pop25 + f32.load $push100=, results+60($pop140) + f32.const $push101=, 0x1.2cp7 + f32.ne $push102=, $pop100, $pop101 + i32.or $push103=, $pop99, $pop102 i32.const $push139=, 0 - i32.const $push26=, input+56 - i32.store $drop=, ptrs+56($pop139), $pop26 + f32.load $push104=, results+64($pop139) + f32.const $push105=, 0x1.4p7 + f32.ne $push106=, $pop104, $pop105 + i32.or $push107=, $pop103, $pop106 i32.const $push138=, 0 - i32.const $push27=, 14 - i32.store $drop=, incs+56($pop138), $pop27 + f32.load $push108=, results+68($pop138) + f32.const $push109=, 0x1.54p7 + f32.ne $push110=, $pop108, $pop109 + i32.or $push111=, $pop107, $pop110 i32.const $push137=, 0 - i32.const $push28=, input+60 - i32.store $drop=, ptrs+60($pop137), $pop28 + f32.load $push112=, results+72($pop137) + f32.const $push113=, 0x1.68p7 + f32.ne $push114=, $pop112, $pop113 + i32.or $push115=, $pop111, $pop114 i32.const $push136=, 0 - i32.const $push29=, 15 - i32.store $drop=, incs+60($pop136), $pop29 - i32.const $push135=, 0 - i32.const $push30=, input+64 - i32.store $drop=, ptrs+64($pop135), $pop30 - i32.const $push134=, 0 - i32.const $push31=, 16 - i32.store $drop=, incs+64($pop134), $pop31 - i32.const $push133=, 0 - i32.const $push32=, input+68 - i32.store $drop=, ptrs+68($pop133), $pop32 - i32.const $push132=, 0 - i32.const $push33=, 17 - i32.store $drop=, incs+68($pop132), $pop33 - i32.const $push131=, 0 - i32.const $push34=, input+72 - i32.store $drop=, ptrs+72($pop131), $pop34 - i32.const $push130=, 0 - i32.const $push35=, 18 - i32.store $drop=, incs+72($pop130), $pop35 - i32.const $push129=, 0 - i32.const $push36=, input+76 - i32.store $drop=, ptrs+76($pop129), $pop36 - i32.const $push128=, 0 - i32.const $push37=, 19 - i32.store $drop=, incs+76($pop128), $pop37 - i32.const $push127=, 0 - i64.const $push2=, 8589934593 - i64.store $drop=, incs+4($pop127):p2align=2, $pop2 - i32.const $1=, input - i32.const $push126=, 0 - i32.const $push125=, input - i32.store $drop=, ptrs($pop126), $pop125 - i32.const $push124=, 0 - i32.const $push123=, 0 - i32.store $push0=, incs($pop124), $pop123 - i32.const $push7=, 4 - i32.store $0=, incs+16($pop0), $pop7 -.LBB2_1: # %for.body4 - # =>This Inner Loop Header: Depth=1 - loop # label3: - f32.convert_s/i32 $push38=, $2 - f32.store $drop=, 0($1), $pop38 - i32.const $push164=, 1 - i32.add $2=, $2, $pop164 - i32.add $1=, $1, $0 - i32.const $push163=, 80 - i32.ne $push39=, $2, $pop163 - br_if 0, $pop39 # 0: up to label3 -# BB#2: # %for.end8 - end_loop # label4: - i32.const $push40=, 4 - call foo@FUNCTION, $pop40 - i32.const $push41=, 0 - f32.load $push42=, results($pop41) - f32.const $push43=, 0x0p0 - f32.ne $push44=, $pop42, $pop43 - i32.const $push183=, 0 - f32.load $push45=, results+4($pop183) - f32.const $push46=, 0x1.4p3 - f32.ne $push47=, $pop45, $pop46 - i32.or $push48=, $pop44, $pop47 - i32.const $push182=, 0 - f32.load $push49=, results+8($pop182) - f32.const $push50=, 0x1.4p4 - f32.ne $push51=, $pop49, $pop50 - i32.or $push52=, $pop48, $pop51 - i32.const $push181=, 0 - f32.load $push53=, results+12($pop181) - f32.const $push54=, 0x1.ep4 - f32.ne $push55=, $pop53, $pop54 - i32.or $push56=, $pop52, $pop55 - i32.const $push180=, 0 - f32.load $push57=, results+16($pop180) - f32.const $push58=, 0x1.4p5 - f32.ne $push59=, $pop57, $pop58 - i32.or $push60=, $pop56, $pop59 - i32.const $push179=, 0 - f32.load $push61=, results+20($pop179) - f32.const $push62=, 0x1.9p5 - f32.ne $push63=, $pop61, $pop62 - i32.or $push64=, $pop60, $pop63 - i32.const $push178=, 0 - f32.load $push65=, results+24($pop178) - f32.const $push66=, 0x1.ep5 - f32.ne $push67=, $pop65, $pop66 - i32.or $push68=, $pop64, $pop67 - i32.const $push177=, 0 - f32.load $push69=, results+28($pop177) - f32.const $push70=, 0x1.18p6 - f32.ne $push71=, $pop69, $pop70 - i32.or $push72=, $pop68, $pop71 - i32.const $push176=, 0 - f32.load $push73=, results+32($pop176) - f32.const $push74=, 0x1.4p6 - f32.ne $push75=, $pop73, $pop74 - i32.or $push76=, $pop72, $pop75 - i32.const $push175=, 0 - f32.load $push77=, results+36($pop175) - f32.const $push78=, 0x1.68p6 - f32.ne $push79=, $pop77, $pop78 - i32.or $push80=, $pop76, $pop79 - i32.const $push174=, 0 - f32.load $push81=, results+40($pop174) - f32.const $push82=, 0x1.9p6 - f32.ne $push83=, $pop81, $pop82 - i32.or $push84=, $pop80, $pop83 - i32.const $push173=, 0 - f32.load $push85=, results+44($pop173) - f32.const $push86=, 0x1.b8p6 - f32.ne $push87=, $pop85, $pop86 - i32.or $push88=, $pop84, $pop87 - i32.const $push172=, 0 - f32.load $push89=, results+48($pop172) - f32.const $push90=, 0x1.ep6 - f32.ne $push91=, $pop89, $pop90 - i32.or $push92=, $pop88, $pop91 - i32.const $push171=, 0 - f32.load $push93=, results+52($pop171) - f32.const $push94=, 0x1.04p7 - f32.ne $push95=, $pop93, $pop94 - i32.or $push96=, $pop92, $pop95 - i32.const $push170=, 0 - f32.load $push97=, results+56($pop170) - f32.const $push98=, 0x1.18p7 - f32.ne $push99=, $pop97, $pop98 - i32.or $push100=, $pop96, $pop99 - i32.const $push169=, 0 - f32.load $push101=, results+60($pop169) - f32.const $push102=, 0x1.2cp7 - f32.ne $push103=, $pop101, $pop102 - i32.or $push104=, $pop100, $pop103 - i32.const $push168=, 0 - f32.load $push105=, results+64($pop168) - f32.const $push106=, 0x1.4p7 - f32.ne $push107=, $pop105, $pop106 - i32.or $push108=, $pop104, $pop107 - i32.const $push167=, 0 - f32.load $push109=, results+68($pop167) - f32.const $push110=, 0x1.54p7 - f32.ne $push111=, $pop109, $pop110 - i32.or $push112=, $pop108, $pop111 - i32.const $push166=, 0 - f32.load $push113=, results+72($pop166) - f32.const $push114=, 0x1.68p7 - f32.ne $push115=, $pop113, $pop114 - i32.or $push116=, $pop112, $pop115 - i32.const $push165=, 0 - f32.load $push117=, results+76($pop165) - f32.const $push118=, 0x1.7cp7 - f32.ne $push119=, $pop117, $pop118 - i32.or $push120=, $pop116, $pop119 - i32.const $push121=, 1 - i32.and $push122=, $pop120, $pop121 - return $pop122 + f32.load $push116=, results+76($pop136) + f32.const $push117=, 0x1.7cp7 + f32.ne $push118=, $pop116, $pop117 + i32.or $push119=, $pop115, $pop118 + i32.const $push120=, 1 + i32.and $push121=, $pop119, $pop120 + # fallthrough-return: $pop121 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr29006.c.s b/test/torture-s/pr29006.c.s index 6c5058b50..f35dc2e40 100644 --- a/test/torture-s/pr29006.c.s +++ b/test/torture-s/pr29006.c.s @@ -9,7 +9,7 @@ foo: # @foo # BB#0: # %entry i64.const $push0=, 0 i64.store $drop=, 1($0):p2align=0, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -20,15 +20,15 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i64, i32 + .local i32, i64 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push17=, 0($pop10), $pop14 - tee_local $push16=, $1=, $pop17 + i32.store $push17=, __stack_pointer($pop10), $pop14 + tee_local $push16=, $0=, $pop17 i32.const $push2=, 8 i32.add $push3=, $pop16, $pop2 i32.const $push0=, 0 @@ -36,16 +36,16 @@ main: # @main i32.store8 $drop=, 0($pop3), $pop1 i32.const $push15=, 0 i64.load $push4=, .Lmain.s($pop15):p2align=0 - i64.store $drop=, 0($1), $pop4 - call foo@FUNCTION, $1 - i64.load $0=, 1($1):p2align=0 - i32.const $push13=, __stack_pointer + i64.store $drop=, 0($0), $pop4 + call foo@FUNCTION, $0 + i64.load $1=, 1($0):p2align=0 + i32.const $push13=, 0 i32.const $push11=, 16 - i32.add $push12=, $1, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.add $push12=, $0, $pop11 + i32.store $drop=, __stack_pointer($pop13), $pop12 i64.const $push5=, 0 - i64.ne $push6=, $0, $pop5 - return $pop6 + i64.ne $push6=, $1, $pop5 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr29156.c.s b/test/torture-s/pr29156.c.s index a28214a37..569609344 100644 --- a/test/torture-s/pr29156.c.s +++ b/test/torture-s/pr29156.c.s @@ -8,14 +8,14 @@ bla: # @bla .param i32, i32 .result i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.const $push2=, 1 - i32.store $push0=, global($pop1), $pop2 - i32.store $drop=, 4($1), $pop0 + i32.const $push2=, 0 + i32.const $push1=, 1 + i32.store $push0=, 4($1), $pop1 + i32.store $drop=, global($pop2), $pop0 i32.const $push3=, 8 i32.store $drop=, 0($0), $pop3 i32.load $push4=, 4($1) - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size bla, .Lfunc_end0-bla @@ -31,7 +31,7 @@ main: # @main i32.const $push0=, 1 i32.store $drop=, global($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr29695-1.c.s b/test/torture-s/pr29695-1.c.s index 518e20f03..b3ef3ed6d 100644 --- a/test/torture-s/pr29695-1.c.s +++ b/test/torture-s/pr29695-1.c.s @@ -8,7 +8,7 @@ f1: # @f1 .result i32 # BB#0: # %entry i32.const $push0=, 128 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -21,7 +21,7 @@ f2: # @f2 .result i32 # BB#0: # %entry i32.const $push0=, 128 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -34,7 +34,7 @@ f3: # @f3 .result i32 # BB#0: # %entry i32.const $push0=, 896 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -47,7 +47,7 @@ f4: # @f4 .result i32 # BB#0: # %entry i32.const $push0=, -128 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 @@ -60,7 +60,7 @@ f5: # @f5 .result i64 # BB#0: # %entry i64.const $push0=, 2147483648 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size f5, .Lfunc_end4-f5 @@ -73,7 +73,7 @@ f6: # @f6 .result i64 # BB#0: # %entry i64.const $push0=, 2147483648 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end5: .size f6, .Lfunc_end5-f6 @@ -86,7 +86,7 @@ f7: # @f7 .result i64 # BB#0: # %entry i64.const $push0=, 15032385536 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end6: .size f7, .Lfunc_end6-f7 @@ -99,7 +99,7 @@ f8: # @f8 .result i64 # BB#0: # %entry i64.const $push0=, -2147483648 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end7: .size f8, .Lfunc_end7-f8 @@ -112,7 +112,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end8: .size main, .Lfunc_end8-main diff --git a/test/torture-s/pr29695-2.c.s b/test/torture-s/pr29695-2.c.s index 8eee3aee1..78476fba2 100644 --- a/test/torture-s/pr29695-2.c.s +++ b/test/torture-s/pr29695-2.c.s @@ -11,7 +11,7 @@ f1: # @f1 i32.load $push1=, a($pop0) i32.const $push2=, 128 i32.and $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -29,7 +29,7 @@ f2: # @f2 i32.lt_s $push2=, $pop1, $pop5 i32.const $push3=, 7 i32.shl $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -47,7 +47,7 @@ f3: # @f3 i32.shr_s $push3=, $pop1, $pop2 i32.const $push4=, 896 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -65,7 +65,7 @@ f4: # @f4 i32.shr_s $push3=, $pop1, $pop2 i32.const $push4=, -128 i32.and $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 @@ -84,7 +84,7 @@ f5: # @f5 i64.extend_u/i32 $push3=, $pop2 i64.const $push4=, 31 i64.shl $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end4: .size f5, .Lfunc_end4-f5 @@ -103,7 +103,7 @@ f6: # @f6 i64.extend_u/i32 $push3=, $pop2 i64.const $push4=, 31 i64.shl $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end5: .size f6, .Lfunc_end5-f6 @@ -122,7 +122,7 @@ f7: # @f7 i32.const $push6=, 0 i32.lt_s $push2=, $pop1, $pop6 i64.select $push5=, $pop4, $pop3, $pop2 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end6: .size f7, .Lfunc_end6-f7 @@ -141,7 +141,7 @@ f8: # @f8 i32.const $push6=, 0 i32.lt_s $push2=, $pop1, $pop6 i64.select $push5=, $pop4, $pop3, $pop2 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end7: .size f8, .Lfunc_end7-f8 diff --git a/test/torture-s/pr29797-1.c.s b/test/torture-s/pr29797-1.c.s index 883ba05fe..6486f4016 100644 --- a/test/torture-s/pr29797-1.c.s +++ b/test/torture-s/pr29797-1.c.s @@ -8,7 +8,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 32768 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -21,7 +21,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr29797-2.c.s b/test/torture-s/pr29797-2.c.s index ef10930d0..81e066d32 100644 --- a/test/torture-s/pr29797-2.c.s +++ b/test/torture-s/pr29797-2.c.s @@ -8,7 +8,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 32768 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -21,7 +21,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr29798.c.s b/test/torture-s/pr29798.c.s index 01686bec1..4db497de3 100644 --- a/test/torture-s/pr29798.c.s +++ b/test/torture-s/pr29798.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end4.1 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr30185.c.s b/test/torture-s/pr30185.c.s index e497f2267..d7341be59 100644 --- a/test/torture-s/pr30185.c.s +++ b/test/torture-s/pr30185.c.s @@ -7,11 +7,11 @@ foo: # @foo .param i32, i32, i32 # BB#0: # %entry - i64.load $push0=, 8($1) - i64.load $push1=, 8($2) - i64.div_s $push2=, $pop0, $pop1 + i64.load $push1=, 8($1) + i64.load $push0=, 8($2) + i64.div_s $push2=, $pop1, $pop0 i64.store $drop=, 8($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -24,7 +24,7 @@ main: # @main .result i32 # BB#0: # %if.end10 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr30778.c.s b/test/torture-s/pr30778.c.s index e9019fcf8..742f5c0b1 100644 --- a/test/torture-s/pr30778.c.s +++ b/test/torture-s/pr30778.c.s @@ -25,7 +25,7 @@ init_reg_last: # @init_reg_last i32.store8 $push0=, 0($pop7), $0 i32.store16 $push1=, 0($pop9), $pop0 i32.store $drop=, 0($pop11), $pop1 - return + # fallthrough-return .endfunc .Lfunc_end0: .size init_reg_last, .Lfunc_end0-init_reg_last @@ -39,12 +39,12 @@ main: # @main .local i32, i32 # BB#0: # %entry i32.const $push15=, 0 - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 32 i32.sub $push12=, $pop4, $pop5 - i32.store $push14=, 0($pop6), $pop12 + i32.store $push14=, __stack_pointer($pop6), $pop12 tee_local $push13=, $1=, $pop14 i32.const $push10=, 8 i32.add $push11=, $pop13, $pop10 @@ -57,10 +57,10 @@ main: # @main i32.ne $push2=, $0, $pop1 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 32 i32.add $push8=, $1, $pop7 - i32.store $drop=, 0($pop9), $pop8 + i32.store $drop=, __stack_pointer($pop9), $pop8 i32.const $push16=, 0 return $pop16 .LBB1_2: # %if.then diff --git a/test/torture-s/pr31136.c.s b/test/torture-s/pr31136.c.s index 8ff410e22..fbe050e80 100644 --- a/test/torture-s/pr31136.c.s +++ b/test/torture-s/pr31136.c.s @@ -16,7 +16,7 @@ main: # @main i32.or $push5=, $pop3, $pop4 i32.store16 $drop=, s($pop0), $pop5 i32.const $push6=, 0 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr31169.c.s b/test/torture-s/pr31169.c.s index 002c4749d..72b04a95f 100644 --- a/test/torture-s/pr31169.c.s +++ b/test/torture-s/pr31169.c.s @@ -19,37 +19,37 @@ sign_bit_p: # @sign_bit_p i32.lt_u $push3=, $pop19, $pop2 br_if 0, $pop3 # 0: down to label1 # BB#1: # %if.then - i32.const $push11=, 1 - i32.const $push9=, -33 - i32.add $push10=, $0, $pop9 - i32.shl $5=, $pop11, $pop10 i32.const $3=, -1 i32.const $push21=, -1 - i32.const $push12=, 64 - i32.sub $push13=, $pop12, $0 - i32.shr_u $0=, $pop21, $pop13 + i32.const $push9=, 64 + i32.sub $push10=, $pop9, $0 + i32.shr_u $5=, $pop21, $pop10 + i32.const $push13=, 1 + i32.const $push11=, -33 + i32.add $push12=, $0, $pop11 + i32.shl $0=, $pop13, $pop12 i32.const $4=, 0 br 1 # 1: down to label0 .LBB0_2: # %if.else end_block # label1: - i32.const $push6=, 1 - i32.const $push4=, -1 - i32.add $push5=, $0, $pop4 - i32.shl $4=, $pop6, $pop5 + i32.const $push6=, -1 + i32.const $push4=, 32 + i32.sub $push5=, $pop4, $0 + i32.shr_u $3=, $pop6, $pop5 + i32.const $push8=, 1 i32.const $push22=, -1 - i32.const $push7=, 32 - i32.sub $push8=, $pop7, $0 - i32.shr_u $3=, $pop22, $pop8 - i32.const $0=, 0 + i32.add $push7=, $0, $pop22 + i32.shl $4=, $pop8, $pop7 i32.const $5=, 0 + i32.const $0=, 0 .LBB0_3: # %if.end end_block # label0: i32.and $push16=, $3, $2 i32.eq $push17=, $pop16, $4 - i32.and $push14=, $0, $1 - i32.eq $push15=, $pop14, $5 + i32.and $push14=, $5, $1 + i32.eq $push15=, $pop14, $0 i32.and $push18=, $pop17, $pop15 - return $pop18 + # fallthrough-return: $pop18 .endfunc .Lfunc_end0: .size sign_bit_p, .Lfunc_end0-sign_bit_p @@ -62,7 +62,7 @@ main: # @main .result i32 # BB#0: # %sign_bit_p.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr31448-2.c.s b/test/torture-s/pr31448-2.c.s index dd8a11aeb..c023de1a8 100644 --- a/test/torture-s/pr31448-2.c.s +++ b/test/torture-s/pr31448-2.c.s @@ -20,22 +20,24 @@ f: # @f .local i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load $0=, next($pop0) + i32.load $push15=, next($pop0) + tee_local $push14=, $0=, $pop15 i32.load $push1=, 0($0) i32.const $push2=, -16777216 i32.and $push3=, $pop1, $pop2 i32.const $push4=, 16711422 i32.or $push5=, $pop3, $pop4 - i32.store $drop=, 0($0), $pop5 - i32.const $push11=, 0 - i32.load $0=, next($pop11) + i32.store $drop=, 0($pop14), $pop5 + i32.const $push13=, 0 + i32.load $push12=, next($pop13) + tee_local $push11=, $0=, $pop12 i32.load $push6=, 4($0) i32.const $push10=, -16777216 i32.and $push7=, $pop6, $pop10 i32.const $push9=, 16711422 i32.or $push8=, $pop7, $pop9 - i32.store $drop=, 4($0), $pop8 - return + i32.store $drop=, 4($pop11), $pop8 + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -48,15 +50,15 @@ main: # @main .result i32 # BB#0: # %if.end6 i32.const $push0=, 0 - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push6=, $pop2, $pop3 i32.const $push4=, 8 i32.add $push5=, $pop6, $pop4 i32.store $drop=, next($pop0), $pop5 i32.const $push7=, 0 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr31448.c.s b/test/torture-s/pr31448.c.s index 53c0f9784..c43ea3d8c 100644 --- a/test/torture-s/pr31448.c.s +++ b/test/torture-s/pr31448.c.s @@ -20,22 +20,24 @@ f: # @f .local i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load $0=, next($pop0) + i32.load $push15=, next($pop0) + tee_local $push14=, $0=, $pop15 i32.load $push1=, 0($0) i32.const $push2=, -16777216 i32.and $push3=, $pop1, $pop2 i32.const $push4=, 16711422 i32.or $push5=, $pop3, $pop4 - i32.store $drop=, 0($0), $pop5 - i32.const $push11=, 0 - i32.load $0=, next($pop11) + i32.store $drop=, 0($pop14), $pop5 + i32.const $push13=, 0 + i32.load $push12=, next($pop13) + tee_local $push11=, $0=, $pop12 i32.load $push6=, 4($0) i32.const $push10=, -16777216 i32.and $push7=, $pop6, $pop10 i32.const $push9=, 16711422 i32.or $push8=, $pop7, $pop9 - i32.store $drop=, 4($0), $pop8 - return + i32.store $drop=, 4($pop11), $pop8 + # fallthrough-return .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -48,15 +50,15 @@ main: # @main .result i32 # BB#0: # %if.end6 i32.const $push0=, 0 - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push6=, $pop2, $pop3 i32.const $push4=, 8 i32.add $push5=, $pop6, $pop4 i32.store $drop=, next($pop0), $pop5 i32.const $push7=, 0 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr32500.c.s b/test/torture-s/pr32500.c.s index c9649eea6..b1024bec9 100644 --- a/test/torture-s/pr32500.c.s +++ b/test/torture-s/pr32500.c.s @@ -9,7 +9,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, x($pop0), $0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr33142.c.s b/test/torture-s/pr33142.c.s index 610b548d7..3eb176414 100644 --- a/test/torture-s/pr33142.c.s +++ b/test/torture-s/pr33142.c.s @@ -22,17 +22,18 @@ lisp_atan2: # @lisp_atan2 i32.const $push4=, 31 i32.shr_s $push13=, $1, $pop4 tee_local $push12=, $2=, $pop13 - i32.add $push5=, $1, $pop12 - i32.xor $push6=, $pop5, $2 + i32.add $push7=, $1, $pop12 + i32.xor $push8=, $pop7, $2 i32.const $push11=, 31 i32.shr_s $push10=, $0, $pop11 tee_local $push9=, $1=, $pop10 - i32.add $push7=, $0, $pop9 - i32.xor $push8=, $pop7, $1 - i32.le_s $2=, $pop6, $pop8 + i32.add $push5=, $0, $pop9 + i32.xor $push6=, $pop5, $1 + i32.le_s $2=, $pop8, $pop6 .LBB0_3: # %return end_block # label0: - return $2 + copy_local $push14=, $2 + # fallthrough-return: $pop14 .endfunc .Lfunc_end0: .size lisp_atan2, .Lfunc_end0-lisp_atan2 @@ -45,12 +46,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $0=, $pop15 i32.const $push0=, 63 i32.store $drop=, 12($pop14), $pop0 @@ -62,10 +63,10 @@ main: # @main i32.call $push4=, lisp_atan2@FUNCTION, $pop2, $pop3 br_if 0, $pop4 # 0: down to label1 # BB#1: # %if.end - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $0, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 i32.const $push5=, 0 return $pop5 .LBB1_2: # %if.then diff --git a/test/torture-s/pr33382.c.s b/test/torture-s/pr33382.c.s index 7814bd229..094d0e662 100644 --- a/test/torture-s/pr33382.c.s +++ b/test/torture-s/pr33382.c.s @@ -6,14 +6,13 @@ .type foo,@function foo: # @foo .result i32 - .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $0=, x+8($pop0) - i32.const $push2=, 0 - i32.const $push1=, 1 - i32.store $drop=, x+4($pop2), $pop1 - return $0 + i32.const $push1=, 0 + i32.const $push0=, 1 + i32.store $drop=, x+4($pop1), $pop0 + i32.const $push3=, 0 + i32.load $push2=, x+8($pop3) + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -24,18 +23,17 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32 # BB#0: # %entry - i32.const $push2=, 0 - i32.load $0=, x+8($pop2) - i32.const $push1=, 0 + i32.const $push3=, 0 i32.const $push0=, 1 - i32.store $drop=, x+4($pop1), $pop0 + i32.store $drop=, x+4($pop3), $pop0 block - br_if 0, $0 # 0: down to label0 + i32.const $push2=, 0 + i32.load $push1=, x+8($pop2) + br_if 0, $pop1 # 0: down to label0 # BB#1: # %if.end - i32.const $push3=, 0 - return $pop3 + i32.const $push4=, 0 + return $pop4 .LBB1_2: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr33631.c.s b/test/torture-s/pr33631.c.s index ffe5d27e9..e293e2d31 100644 --- a/test/torture-s/pr33631.c.s +++ b/test/torture-s/pr33631.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr33669.c.s b/test/torture-s/pr33669.c.s index 0a5d330cb..133cca69f 100644 --- a/test/torture-s/pr33669.c.s +++ b/test/torture-s/pr33669.c.s @@ -7,36 +7,38 @@ foo: # @foo .param i32, i64, i32 .result i64 - .local i64, i64, i32 + .local i32, i64, i64 # BB#0: # %entry - i32.load $push15=, 0($0) - tee_local $push14=, $5=, $pop15 - i32.add $push2=, $2, $pop14 - i64.extend_u/i32 $push0=, $5 - i64.rem_s $push13=, $1, $pop0 - tee_local $push12=, $4=, $pop13 - i32.wrap/i64 $push1=, $pop12 - i32.add $push3=, $pop2, $pop1 - i32.const $push4=, -1 - i32.add $2=, $pop3, $pop4 - i64.const $3=, -1 + i64.const $5=, -1 block - i32.rem_u $push5=, $2, $5 - i32.sub $push6=, $2, $pop5 - i32.lt_u $push7=, $5, $pop6 + i32.load $push17=, 0($0) + tee_local $push16=, $3=, $pop17 + i32.add $push0=, $2, $3 + i64.extend_u/i32 $push1=, $3 + i64.rem_s $push15=, $1, $pop1 + tee_local $push14=, $4=, $pop15 + i32.wrap/i64 $push2=, $pop14 + i32.add $push3=, $pop0, $pop2 + i32.const $push4=, -1 + i32.add $push13=, $pop3, $pop4 + tee_local $push12=, $2=, $pop13 + i32.rem_u $push5=, $2, $3 + i32.sub $push6=, $pop12, $pop5 + i32.lt_u $push7=, $pop16, $pop6 br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end - i64.sub $3=, $1, $4 + i64.sub $5=, $1, $4 i32.load $push8=, 4($0) - i32.le_u $push9=, $pop8, $5 + i32.le_u $push9=, $pop8, $3 br_if 0, $pop9 # 0: down to label0 # BB#2: # %if.then13 i32.const $push10=, 4 i32.add $push11=, $0, $pop10 - i32.store $drop=, 0($pop11), $5 + i32.store $drop=, 0($pop11), $3 .LBB0_3: # %cleanup end_block # label0: - return $3 + copy_local $push18=, $5 + # fallthrough-return: $pop18 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -49,7 +51,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr33779-1.c.s b/test/torture-s/pr33779-1.c.s index 64e20eafd..ae0a665e3 100644 --- a/test/torture-s/pr33779-1.c.s +++ b/test/torture-s/pr33779-1.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.and $push1=, $0, $pop0 i32.const $push3=, 1073741823 i32.eq $push2=, $pop1, $pop3 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -25,7 +25,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr33779-2.c.s b/test/torture-s/pr33779-2.c.s index 47da8f8f8..11177f7bd 100644 --- a/test/torture-s/pr33779-2.c.s +++ b/test/torture-s/pr33779-2.c.s @@ -12,9 +12,9 @@ foo: # @foo i32.shl $push1=, $0, $pop0 i32.const $push2=, 4 i32.add $push3=, $pop1, $pop2 - i32.const $push5=, 2 - i32.shr_s $push4=, $pop3, $pop5 - return $pop4 + i32.const $push5=, 4 + i32.div_s $push4=, $pop3, $pop5 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -27,7 +27,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr33870-1.c.s b/test/torture-s/pr33870-1.c.s index 2e1be5dd0..85e5c776a 100644 --- a/test/torture-s/pr33870-1.c.s +++ b/test/torture-s/pr33870-1.c.s @@ -9,41 +9,41 @@ sort_pagelist: # @sort_pagelist .result i32 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push51=, __stack_pointer - i32.const $push48=, __stack_pointer - i32.load $push49=, 0($pop48) - i32.const $push50=, 160 - i32.sub $push69=, $pop49, $pop50 - i32.store $push0=, 0($pop51), $pop69 - i32.const $push70=, 0 + i32.const $push49=, 0 + i32.const $push46=, 0 + i32.load $push47=, __stack_pointer($pop46) + i32.const $push48=, 160 + i32.sub $push67=, $pop47, $pop48 + i32.store $push0=, __stack_pointer($pop49), $pop67 + i32.const $push68=, 0 i32.const $push1=, 100 - i32.call $1=, memset@FUNCTION, $pop0, $pop70, $pop1 - i32.const $9=, 0 + i32.call $1=, memset@FUNCTION, $pop0, $pop68, $pop1 + i32.const $12=, 0 block - i32.eqz $push129=, $0 - br_if 0, $pop129 # 0: down to label0 + i32.eqz $push131=, $0 + br_if 0, $pop131 # 0: down to label0 # BB#1: # %while.body.lr.ph - i32.const $push15=, 96 - i32.add $5=, $1, $pop15 - i32.const $push61=, 112 - i32.add $push62=, $1, $pop61 - i32.const $push71=, 32 - i32.add $4=, $pop62, $pop71 + i32.const $push59=, 112 + i32.add $push60=, $1, $pop59 + i32.const $push69=, 32 + i32.add $4=, $pop60, $pop69 + i32.const $push14=, 96 + i32.add $6=, $1, $pop14 .LBB0_2: # %while.body # =>This Loop Header: Depth=1 # Child Loop BB0_3 Depth 2 # Child Loop BB0_6 Depth 3 # Child Loop BB0_22 Depth 2 loop # label1: - copy_local $push77=, $0 - tee_local $push76=, $10=, $pop77 - i32.const $push75=, 32 - i32.add $push74=, $pop76, $pop75 - tee_local $push73=, $11=, $pop74 - i32.load $0=, 0($pop73) - i32.const $push72=, 0 - i32.store $2=, 0($11), $pop72 - i32.const $6=, 0 + copy_local $push75=, $0 + tee_local $push74=, $8=, $pop75 + i32.const $push73=, 32 + i32.add $push72=, $pop74, $pop73 + tee_local $push71=, $10=, $pop72 + i32.load $0=, 0($pop71) + i32.const $push70=, 0 + i32.store $2=, 0($10), $pop70 + i32.const $7=, 0 .LBB0_3: # %for.body # Parent Loop BB0_2 Depth=1 # => This Loop Header: Depth=2 @@ -53,27 +53,27 @@ sort_pagelist: # @sort_pagelist block block loop # label7: - i32.const $push82=, 2 - i32.shl $push2=, $6, $pop82 - i32.add $push81=, $1, $pop2 - tee_local $push80=, $12=, $pop81 - i32.load $push79=, 0($pop80) - tee_local $push78=, $11=, $pop79 - i32.eqz $push130=, $pop78 - br_if 2, $pop130 # 2: down to label6 + i32.const $push80=, 2 + i32.shl $push2=, $7, $pop80 + i32.add $push79=, $1, $pop2 + tee_local $push78=, $5=, $pop79 + i32.load $push77=, 0($pop78) + tee_local $push76=, $10=, $pop77 + i32.eqz $push132=, $pop76 + br_if 2, $pop132 # 2: down to label6 # BB#4: # %if.else # in Loop: Header=BB0_3 Depth=2 i32.store $3=, xx($2), $4 block block block - i32.eqz $push131=, $10 - br_if 0, $pop131 # 0: down to label11 + i32.eqz $push133=, $8 + br_if 0, $pop133 # 0: down to label11 # BB#5: # %while.body.i.preheader # in Loop: Header=BB0_3 Depth=2 - i32.const $push67=, 112 - i32.add $push68=, $1, $pop67 - copy_local $7=, $pop68 + i32.const $push65=, 112 + i32.add $push66=, $1, $pop65 + copy_local $9=, $pop66 .LBB0_6: # %while.body.i # Parent Loop BB0_2 Depth=1 # Parent Loop BB0_3 Depth=2 @@ -81,364 +81,364 @@ sort_pagelist: # @sort_pagelist loop # label12: block block - i32.load $push3=, 4($11) i32.load $push4=, 4($10) - i32.ge_u $push5=, $pop3, $pop4 + i32.load $push3=, 4($8) + i32.ge_u $push5=, $pop4, $pop3 br_if 0, $pop5 # 0: down to label15 # BB#7: # %if.then.i # in Loop: Header=BB0_6 Depth=3 - i32.const $push86=, 32 - i32.add $push8=, $7, $pop86 - i32.store $push85=, 0($pop8), $11 - tee_local $push84=, $11=, $pop85 - i32.const $push83=, 32 - i32.add $push9=, $pop84, $pop83 - i32.load $9=, 0($pop9) - copy_local $8=, $10 - copy_local $7=, $11 + i32.const $push84=, 32 + i32.add $push8=, $9, $pop84 + i32.store $push83=, 0($pop8), $10 + tee_local $push82=, $10=, $pop83 + i32.const $push81=, 32 + i32.add $push9=, $pop82, $pop81 + i32.load $12=, 0($pop9) + copy_local $11=, $8 + copy_local $9=, $10 br 1 # 1: down to label14 .LBB0_8: # %if.else.i # in Loop: Header=BB0_6 Depth=3 end_block # label15: - i32.const $push90=, 32 - i32.add $push6=, $7, $pop90 - i32.store $push89=, 0($pop6), $10 - tee_local $push88=, $10=, $pop89 - i32.const $push87=, 32 - i32.add $push7=, $pop88, $pop87 - i32.load $8=, 0($pop7) - copy_local $9=, $11 - copy_local $7=, $10 + i32.const $push88=, 32 + i32.add $push6=, $9, $pop88 + i32.store $push87=, 0($pop6), $8 + tee_local $push86=, $8=, $pop87 + i32.const $push85=, 32 + i32.add $push7=, $pop86, $pop85 + i32.load $11=, 0($pop7) + copy_local $12=, $10 + copy_local $9=, $8 .LBB0_9: # %if.end.i # in Loop: Header=BB0_6 Depth=3 end_block # label14: - i32.load $push10=, xx($2) + i32.load $push10=, 0($3) i32.load $push11=, 0($pop10) - i32.load $push12=, 0($pop11) - i32.store $drop=, vx($2), $pop12 - i32.eqz $push132=, $9 - br_if 1, $pop132 # 1: down to label13 + i32.store $drop=, vx($2), $pop11 + i32.eqz $push134=, $12 + br_if 1, $pop134 # 1: down to label13 # BB#10: # %if.end.i # in Loop: Header=BB0_6 Depth=3 - copy_local $10=, $8 - copy_local $11=, $9 - br_if 0, $8 # 0: up to label12 + copy_local $8=, $11 + copy_local $10=, $12 + br_if 0, $11 # 0: up to label12 .LBB0_11: # %while.end.i # in Loop: Header=BB0_3 Depth=2 end_loop # label13: - i32.const $push91=, 32 - i32.add $10=, $7, $pop91 - i32.eqz $push133=, $9 - br_if 1, $pop133 # 1: down to label10 + i32.const $push89=, 32 + i32.add $8=, $9, $pop89 + i32.eqz $push135=, $12 + br_if 1, $pop135 # 1: down to label10 # BB#12: # %if.then14.i # in Loop: Header=BB0_3 Depth=2 - i32.store $drop=, 0($10), $9 + i32.store $drop=, 0($8), $12 br 2 # 2: down to label9 .LBB0_13: # in Loop: Header=BB0_3 Depth=2 end_block # label11: - copy_local $push46=, $3 - copy_local $push47=, $11 - i32.store $drop=, 0($pop46), $pop47 + copy_local $push44=, $3 + copy_local $push45=, $10 + i32.store $drop=, 0($pop44), $pop45 br 1 # 1: down to label9 .LBB0_14: # %if.else17.i # in Loop: Header=BB0_3 Depth=2 end_block # label10: block - i32.eqz $push134=, $8 - br_if 0, $pop134 # 0: down to label16 + i32.eqz $push136=, $11 + br_if 0, $pop136 # 0: down to label16 # BB#15: # %if.then19.i # in Loop: Header=BB0_3 Depth=2 - i32.store $drop=, 0($10), $8 + i32.store $drop=, 0($8), $11 br 1 # 1: down to label9 .LBB0_16: # %if.else22.i # in Loop: Header=BB0_3 Depth=2 end_block # label16: - i32.store $drop=, 0($10), $2 + i32.store $drop=, 0($8), $2 .LBB0_17: # %merge_pagelist.exit # in Loop: Header=BB0_3 Depth=2 end_block # label9: - i32.load $10=, 0($3) - i32.store $11=, 0($12), $2 + i32.load $8=, 0($3) + i32.store $10=, 0($5), $2 i32.const $push93=, 1 - i32.add $6=, $6, $pop93 - i32.const $push92=, 24 - i32.lt_s $push13=, $6, $pop92 - br_if 0, $pop13 # 0: up to label7 + i32.add $push92=, $7, $pop93 + tee_local $push91=, $7=, $pop92 + i32.const $push90=, 24 + i32.lt_s $push12=, $pop91, $pop90 + br_if 0, $pop12 # 0: up to label7 # BB#18: # %for.end # in Loop: Header=BB0_2 Depth=1 end_loop # label8: i32.const $push94=, 24 - i32.ne $push14=, $6, $pop94 - br_if 3, $pop14 # 3: down to label3 + i32.ne $push13=, $7, $pop94 + br_if 3, $pop13 # 3: down to label3 # BB#19: # %if.then9 # in Loop: Header=BB0_2 Depth=1 - i32.load $2=, 0($5) - i32.store $12=, xx($11), $3 - i32.ne $6=, $2, $11 - i32.ne $3=, $10, $11 - i32.const $push63=, 112 - i32.add $push64=, $1, $pop63 - copy_local $7=, $pop64 - i32.eqz $push135=, $10 - br_if 1, $pop135 # 1: down to label5 + i32.load $9=, 0($6) + i32.store $2=, xx($10), $3 + i32.ne $5=, $8, $10 + i32.ne $7=, $9, $10 + i32.const $push61=, 112 + i32.add $push62=, $1, $pop61 + copy_local $3=, $pop62 + i32.eqz $push137=, $8 + br_if 1, $pop137 # 1: down to label5 # BB#20: # %if.then9 # in Loop: Header=BB0_2 Depth=1 - i32.eqz $push136=, $2 - br_if 1, $pop136 # 1: down to label5 + i32.eqz $push138=, $9 + br_if 1, $pop138 # 1: down to label5 # BB#21: # %while.body.i89.preheader # in Loop: Header=BB0_2 Depth=1 - i32.const $push65=, 112 - i32.add $push66=, $1, $pop65 - copy_local $7=, $pop66 + i32.const $push63=, 112 + i32.add $push64=, $1, $pop63 + copy_local $3=, $pop64 .LBB0_22: # %while.body.i89 # Parent Loop BB0_2 Depth=1 # => This Inner Loop Header: Depth=2 loop # label17: block block - i32.load $push16=, 4($2) - i32.load $push17=, 4($10) - i32.ge_u $push18=, $pop16, $pop17 - br_if 0, $pop18 # 0: down to label20 + i32.load $push16=, 4($9) + i32.load $push15=, 4($8) + i32.ge_u $push17=, $pop16, $pop15 + br_if 0, $pop17 # 0: down to label20 # BB#23: # %if.then.i91 # in Loop: Header=BB0_22 Depth=2 i32.const $push98=, 32 - i32.add $push21=, $7, $pop98 - i32.store $push97=, 0($pop21), $2 - tee_local $push96=, $2=, $pop97 + i32.add $push20=, $3, $pop98 + i32.store $push97=, 0($pop20), $9 + tee_local $push96=, $9=, $pop97 i32.const $push95=, 32 - i32.add $push22=, $pop96, $pop95 - i32.load $9=, 0($pop22) - copy_local $8=, $10 - copy_local $7=, $2 + i32.add $push21=, $pop96, $pop95 + i32.load $12=, 0($pop21) + copy_local $11=, $8 + copy_local $3=, $9 br 1 # 1: down to label19 .LBB0_24: # %if.else.i93 # in Loop: Header=BB0_22 Depth=2 end_block # label20: i32.const $push102=, 32 - i32.add $push19=, $7, $pop102 - i32.store $push101=, 0($pop19), $10 - tee_local $push100=, $10=, $pop101 + i32.add $push18=, $3, $pop102 + i32.store $push101=, 0($pop18), $8 + tee_local $push100=, $8=, $pop101 i32.const $push99=, 32 - i32.add $push20=, $pop100, $pop99 - i32.load $8=, 0($pop20) - copy_local $9=, $2 - copy_local $7=, $10 + i32.add $push19=, $pop100, $pop99 + i32.load $11=, 0($pop19) + copy_local $12=, $9 + copy_local $3=, $8 .LBB0_25: # %if.end.i100 # in Loop: Header=BB0_22 Depth=2 end_block # label19: - i32.load $push23=, xx($11) - i32.load $push24=, 0($pop23) - i32.load $push25=, 0($pop24) - i32.store $drop=, vx($11), $pop25 - i32.ne $6=, $9, $11 - i32.ne $3=, $8, $11 - i32.eqz $push137=, $9 - br_if 4, $pop137 # 4: down to label4 + i32.load $push22=, 0($2) + i32.load $push23=, 0($pop22) + i32.store $drop=, vx($10), $pop23 + i32.ne $5=, $11, $10 + i32.ne $7=, $12, $10 + i32.eqz $push139=, $12 + br_if 4, $pop139 # 4: down to label4 # BB#26: # %if.end.i100 # in Loop: Header=BB0_22 Depth=2 - copy_local $10=, $8 - copy_local $2=, $9 - br_if 0, $8 # 0: up to label17 + copy_local $8=, $11 + copy_local $9=, $12 + br_if 0, $11 # 0: up to label17 br 4 # 4: down to label4 .LBB0_27: # %for.end.thread # in Loop: Header=BB0_2 Depth=1 end_loop # label18: end_block # label6: - i32.store $drop=, 0($12), $10 + i32.store $drop=, 0($5), $8 br 2 # 2: down to label3 .LBB0_28: # in Loop: Header=BB0_2 Depth=1 end_block # label5: - copy_local $8=, $10 - copy_local $9=, $2 + copy_local $11=, $8 + copy_local $12=, $9 .LBB0_29: # %while.end.i107 # in Loop: Header=BB0_2 Depth=1 end_block # label4: block block - i32.eqz $push138=, $6 - br_if 0, $pop138 # 0: down to label22 + i32.eqz $push140=, $7 + br_if 0, $pop140 # 0: down to label22 # BB#30: # %if.then14.i108 # in Loop: Header=BB0_2 Depth=1 i32.const $push103=, 32 - i32.add $push28=, $7, $pop103 - i32.store $drop=, 0($pop28), $9 + i32.add $push26=, $3, $pop103 + i32.store $drop=, 0($pop26), $12 br 1 # 1: down to label21 .LBB0_31: # %if.else17.i109 # in Loop: Header=BB0_2 Depth=1 end_block # label22: block - i32.eqz $push139=, $3 - br_if 0, $pop139 # 0: down to label23 + i32.eqz $push141=, $5 + br_if 0, $pop141 # 0: down to label23 # BB#32: # %if.then19.i110 # in Loop: Header=BB0_2 Depth=1 i32.const $push104=, 32 - i32.add $push27=, $7, $pop104 - i32.store $drop=, 0($pop27), $8 + i32.add $push25=, $3, $pop104 + i32.store $drop=, 0($pop25), $11 br 1 # 1: down to label21 .LBB0_33: # %if.else22.i111 # in Loop: Header=BB0_2 Depth=1 end_block # label23: i32.const $push105=, 32 - i32.add $push26=, $7, $pop105 - i32.store $drop=, 0($pop26), $11 + i32.add $push24=, $3, $pop105 + i32.store $drop=, 0($pop24), $10 .LBB0_34: # %merge_pagelist.exit112 # in Loop: Header=BB0_2 Depth=1 end_block # label21: - i32.load $push29=, 0($12) - i32.store $drop=, 0($5), $pop29 + i32.load $push27=, 0($2) + i32.store $drop=, 0($6), $pop27 .LBB0_35: # %while.cond.backedge # in Loop: Header=BB0_2 Depth=1 end_block # label3: br_if 0, $0 # 0: up to label1 # BB#36: # %while.end.loopexit end_loop # label2: - i32.load $9=, 0($1) + i32.load $12=, 0($1) .LBB0_37: # %while.end end_block # label0: - i32.const $push55=, 112 - i32.add $push56=, $1, $pop55 + i32.const $push53=, 112 + i32.add $push54=, $1, $pop53 i32.const $push106=, 32 - i32.add $4=, $pop56, $pop106 - i32.const $3=, 1 + i32.add $7=, $pop54, $pop106 + i32.const $5=, 1 .LBB0_38: # %for.body17 # =>This Loop Header: Depth=1 # Child Loop BB0_41 Depth 2 loop # label24: + i32.const $push111=, 0 + i32.ne $3=, $12, $pop111 i32.const $push110=, 2 - i32.shl $push30=, $3, $pop110 - i32.add $push31=, $1, $pop30 - i32.load $8=, 0($pop31) - i32.const $push109=, 0 - i32.store $12=, xx($pop109), $4 - i32.const $push108=, 0 - i32.ne $7=, $9, $pop108 + i32.shl $push28=, $5, $pop110 + i32.add $push29=, $1, $pop28 + i32.load $push109=, 0($pop29) + tee_local $push108=, $11=, $pop109 i32.const $push107=, 0 - i32.ne $6=, $8, $pop107 - i32.const $push57=, 112 - i32.add $push58=, $1, $pop57 - copy_local $2=, $pop58 + i32.ne $2=, $pop108, $pop107 + i32.const $push55=, 112 + i32.add $push56=, $1, $pop55 + copy_local $9=, $pop56 block block - i32.eqz $push140=, $9 - br_if 0, $pop140 # 0: down to label27 + i32.eqz $push142=, $12 + br_if 0, $pop142 # 0: down to label27 # BB#39: # %for.body17 # in Loop: Header=BB0_38 Depth=1 - i32.eqz $push141=, $8 - br_if 0, $pop141 # 0: down to label27 + i32.eqz $push143=, $11 + br_if 0, $pop143 # 0: down to label27 # BB#40: # %while.body.i54.preheader # in Loop: Header=BB0_38 Depth=1 - i32.const $push59=, 112 - i32.add $push60=, $1, $pop59 - copy_local $2=, $pop60 + i32.const $push57=, 112 + i32.add $push58=, $1, $pop57 + copy_local $9=, $pop58 .LBB0_41: # %while.body.i54 # Parent Loop BB0_38 Depth=1 # => This Inner Loop Header: Depth=2 loop # label28: block block - i32.load $push32=, 4($9) - i32.load $push33=, 4($8) - i32.ge_u $push34=, $pop32, $pop33 - br_if 0, $pop34 # 0: down to label31 + i32.load $push31=, 4($12) + i32.load $push30=, 4($11) + i32.ge_u $push32=, $pop31, $pop30 + br_if 0, $pop32 # 0: down to label31 # BB#42: # %if.then.i56 # in Loop: Header=BB0_41 Depth=2 - i32.const $push114=, 32 - i32.add $push37=, $2, $pop114 - i32.store $push113=, 0($pop37), $9 - tee_local $push112=, $9=, $pop113 - i32.const $push111=, 32 - i32.add $push38=, $pop112, $pop111 - i32.load $10=, 0($pop38) - copy_local $11=, $8 - copy_local $2=, $9 + i32.const $push115=, 32 + i32.add $push35=, $9, $pop115 + i32.store $push114=, 0($pop35), $12 + tee_local $push113=, $12=, $pop114 + i32.const $push112=, 32 + i32.add $push36=, $pop113, $pop112 + i32.load $8=, 0($pop36) + copy_local $10=, $11 + copy_local $9=, $12 br 1 # 1: down to label30 .LBB0_43: # %if.else.i58 # in Loop: Header=BB0_41 Depth=2 end_block # label31: - i32.const $push118=, 32 - i32.add $push35=, $2, $pop118 - i32.store $push117=, 0($pop35), $8 - tee_local $push116=, $8=, $pop117 - i32.const $push115=, 32 - i32.add $push36=, $pop116, $pop115 - i32.load $11=, 0($pop36) - copy_local $10=, $9 - copy_local $2=, $8 + i32.const $push119=, 32 + i32.add $push33=, $9, $pop119 + i32.store $push118=, 0($pop33), $11 + tee_local $push117=, $11=, $pop118 + i32.const $push116=, 32 + i32.add $push34=, $pop117, $pop116 + i32.load $10=, 0($pop34) + copy_local $8=, $12 + copy_local $9=, $11 .LBB0_44: # %if.end.i65 # in Loop: Header=BB0_41 Depth=2 end_block # label30: i32.const $push122=, 0 + i32.load $push37=, 0($7) + i32.load $push38=, 0($pop37) + i32.store $drop=, vx($pop122), $pop38 i32.const $push121=, 0 - i32.load $push39=, xx($pop121) - i32.load $push40=, 0($pop39) - i32.load $push41=, 0($pop40) - i32.store $drop=, vx($pop122), $pop41 + i32.ne $2=, $10, $pop121 i32.const $push120=, 0 - i32.ne $7=, $10, $pop120 - i32.const $push119=, 0 - i32.ne $6=, $11, $pop119 - i32.eqz $push142=, $10 - br_if 3, $pop142 # 3: down to label26 + i32.ne $3=, $8, $pop120 + i32.eqz $push144=, $8 + br_if 3, $pop144 # 3: down to label26 # BB#45: # %if.end.i65 # in Loop: Header=BB0_41 Depth=2 - copy_local $8=, $11 - copy_local $9=, $10 - br_if 0, $11 # 0: up to label28 + copy_local $11=, $10 + copy_local $12=, $8 + br_if 0, $10 # 0: up to label28 br 3 # 3: down to label26 .LBB0_46: # in Loop: Header=BB0_38 Depth=1 end_loop # label29: end_block # label27: - copy_local $11=, $8 - copy_local $10=, $9 + copy_local $10=, $11 + copy_local $8=, $12 .LBB0_47: # %while.end.i72 # in Loop: Header=BB0_38 Depth=1 end_block # label26: block block - i32.eqz $push143=, $7 - br_if 0, $pop143 # 0: down to label33 + i32.eqz $push145=, $3 + br_if 0, $pop145 # 0: down to label33 # BB#48: # %if.then14.i73 # in Loop: Header=BB0_38 Depth=1 i32.const $push123=, 32 - i32.add $push44=, $2, $pop123 - i32.store $drop=, 0($pop44), $10 + i32.add $push41=, $9, $pop123 + i32.store $drop=, 0($pop41), $8 br 1 # 1: down to label32 .LBB0_49: # %if.else17.i74 # in Loop: Header=BB0_38 Depth=1 end_block # label33: block - i32.eqz $push144=, $6 - br_if 0, $pop144 # 0: down to label34 + i32.eqz $push146=, $2 + br_if 0, $pop146 # 0: down to label34 # BB#50: # %if.then19.i75 # in Loop: Header=BB0_38 Depth=1 i32.const $push124=, 32 - i32.add $push43=, $2, $pop124 - i32.store $drop=, 0($pop43), $11 + i32.add $push40=, $9, $pop124 + i32.store $drop=, 0($pop40), $10 br 1 # 1: down to label32 .LBB0_51: # %if.else22.i76 # in Loop: Header=BB0_38 Depth=1 end_block # label34: i32.const $push126=, 32 - i32.add $push42=, $2, $pop126 + i32.add $push39=, $9, $pop126 i32.const $push125=, 0 - i32.store $drop=, 0($pop42), $pop125 + i32.store $drop=, 0($pop39), $pop125 .LBB0_52: # %merge_pagelist.exit77 # in Loop: Header=BB0_38 Depth=1 end_block # label32: - i32.load $9=, 0($12) - i32.const $push128=, 1 - i32.add $3=, $3, $pop128 + i32.load $12=, 0($7) + i32.const $push130=, 1 + i32.add $push129=, $5, $pop130 + tee_local $push128=, $5=, $pop129 i32.const $push127=, 25 - i32.ne $push45=, $3, $pop127 - br_if 0, $pop45 # 0: up to label24 + i32.ne $push42=, $pop128, $pop127 + br_if 0, $pop42 # 0: up to label24 # BB#53: # %for.end22 end_loop # label25: - i32.const $push54=, __stack_pointer - i32.const $push52=, 160 - i32.add $push53=, $1, $pop52 - i32.store $drop=, 0($pop54), $pop53 - return $9 + i32.const $push43=, 0 + i32.store $drop=, xx($pop43), $7 + i32.const $push52=, 0 + i32.const $push50=, 160 + i32.add $push51=, $1, $pop50 + i32.store $drop=, __stack_pointer($pop52), $pop51 + copy_local $push147=, $12 + # fallthrough-return: $pop147 .endfunc .Lfunc_end0: .size sort_pagelist, .Lfunc_end0-sort_pagelist @@ -451,58 +451,59 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push31=, __stack_pointer - i32.const $push28=, __stack_pointer - i32.load $push29=, 0($pop28) + i32.const $push31=, 0 + i32.const $push28=, 0 + i32.load $push29=, __stack_pointer($pop28) i32.const $push30=, 224 i32.sub $push35=, $pop29, $pop30 - i32.store $push38=, 0($pop31), $pop35 - tee_local $push37=, $2=, $pop38 - i32.const $push3=, 32 - i32.add $push4=, $pop37, $pop3 - i32.const $push1=, 44 - i32.add $push2=, $2, $pop1 - i32.store $drop=, 0($pop4), $pop2 - i32.const $push5=, 48 - i32.add $push6=, $2, $pop5 - i32.const $push7=, 4 - i32.store $drop=, 0($pop6), $pop7 - i32.const $push10=, 76 - i32.add $push11=, $2, $pop10 - i32.const $push8=, 88 - i32.add $push9=, $2, $pop8 - i32.store $drop=, 0($pop11), $pop9 - i32.const $push12=, 92 - i32.add $push13=, $2, $pop12 - i32.const $push14=, 1 - i32.store $drop=, 0($pop13), $pop14 - i32.const $push17=, 120 - i32.add $push18=, $2, $pop17 - i32.const $push15=, 132 - i32.add $push16=, $2, $pop15 - i32.store $drop=, 0($pop18), $pop16 - i32.const $push19=, 136 - i32.add $push20=, $2, $pop19 - i32.const $push21=, 3 - i32.store $drop=, 0($pop20), $pop21 - i32.const $push0=, 5 - i32.store $drop=, 4($2), $pop0 + i32.store $push40=, __stack_pointer($pop31), $pop35 + tee_local $push39=, $1=, $pop40 + i32.const $push2=, 32 + i32.add $push3=, $pop39, $pop2 + i32.const $push0=, 44 + i32.add $push1=, $1, $pop0 + i32.store $drop=, 0($pop3), $pop1 + i32.const $push4=, 48 + i32.add $push5=, $1, $pop4 + i32.const $push6=, 4 + i32.store $drop=, 0($pop5), $pop6 + i32.const $push9=, 76 + i32.add $push10=, $1, $pop9 + i32.const $push7=, 88 + i32.add $push8=, $1, $pop7 + i32.store $drop=, 0($pop10), $pop8 + i32.const $push11=, 92 + i32.add $push12=, $1, $pop11 + i32.const $push13=, 1 + i32.store $drop=, 0($pop12), $pop13 + i32.const $push16=, 120 + i32.add $push17=, $1, $pop16 + i32.const $push14=, 132 + i32.add $push15=, $1, $pop14 + i32.store $drop=, 0($pop17), $pop15 + i32.const $push18=, 136 + i32.add $push19=, $1, $pop18 + i32.const $push20=, 3 + i32.store $drop=, 0($pop19), $pop20 + i32.const $push21=, 5 + i32.store $drop=, 4($1), $pop21 i32.const $push22=, 164 - i32.add $push23=, $2, $pop22 + i32.add $push23=, $1, $pop22 i32.const $push24=, 0 i32.store $0=, 0($pop23), $pop24 - i32.call $1=, sort_pagelist@FUNCTION, $2 block + i32.call $push38=, sort_pagelist@FUNCTION, $1 + tee_local $push37=, $2=, $pop38 i32.const $push36=, 32 - i32.add $push25=, $1, $pop36 + i32.add $push25=, $2, $pop36 i32.load $push26=, 0($pop25) - i32.eq $push27=, $1, $pop26 + i32.eq $push27=, $pop37, $pop26 br_if 0, $pop27 # 0: down to label35 # BB#1: # %if.end - i32.const $push34=, __stack_pointer + i32.const $push34=, 0 i32.const $push32=, 224 - i32.add $push33=, $2, $pop32 - i32.store $drop=, 0($pop34), $pop33 + i32.add $push33=, $1, $pop32 + i32.store $drop=, __stack_pointer($pop34), $pop33 return $0 .LBB1_2: # %if.then end_block # label35: diff --git a/test/torture-s/pr33870.c.s b/test/torture-s/pr33870.c.s index a7aaa73df..af022fc4b 100644 --- a/test/torture-s/pr33870.c.s +++ b/test/torture-s/pr33870.c.s @@ -7,28 +7,28 @@ sort_pagelist: # @sort_pagelist .param i32 .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push34=, __stack_pointer - i32.const $push31=, __stack_pointer - i32.load $push32=, 0($pop31) + i32.const $push34=, 0 + i32.const $push31=, 0 + i32.load $push32=, __stack_pointer($pop31) i32.const $push33=, 144 i32.sub $push54=, $pop32, $pop33 - i32.store $push0=, 0($pop34), $pop54 + i32.store $push0=, __stack_pointer($pop34), $pop54 i32.const $push55=, 0 i32.const $push1=, 100 i32.call $1=, memset@FUNCTION, $pop0, $pop55, $pop1 - i32.const $10=, 0 + i32.const $5=, 0 block - i32.eqz $push130=, $0 - br_if 0, $pop130 # 0: down to label0 + i32.eqz $push134=, $0 + br_if 0, $pop134 # 0: down to label0 # BB#1: # %while.body.lr.ph - i32.const $push9=, 96 - i32.add $5=, $1, $pop9 i32.const $push44=, 104 i32.add $push45=, $1, $pop44 i32.const $push56=, 28 i32.add $3=, $pop45, $pop56 + i32.const $push9=, 96 + i32.add $7=, $1, $pop9 .LBB0_2: # %while.body # =>This Loop Header: Depth=1 # Child Loop BB0_3 Depth 2 @@ -38,11 +38,11 @@ sort_pagelist: # @sort_pagelist # Child Loop BB0_24 Depth 3 loop # label1: copy_local $push59=, $0 - tee_local $push58=, $11=, $pop59 + tee_local $push58=, $9=, $pop59 i32.load $0=, 28($pop58) i32.const $push57=, 0 - i32.store $2=, 28($11), $pop57 - i32.const $6=, 0 + i32.store $2=, 28($9), $pop57 + i32.const $8=, 0 .LBB0_3: # %for.body # Parent Loop BB0_2 Depth=1 # => This Loop Header: Depth=2 @@ -53,385 +53,406 @@ sort_pagelist: # @sort_pagelist block block block - loop # label8: + block + block + loop # label10: i32.const $push64=, 2 - i32.shl $push2=, $6, $pop64 + i32.shl $push2=, $8, $pop64 i32.add $push63=, $1, $pop2 - tee_local $push62=, $8=, $pop63 + tee_local $push62=, $4=, $pop63 i32.load $push61=, 0($pop62) - tee_local $push60=, $10=, $pop61 - i32.eqz $push131=, $pop60 - br_if 2, $pop131 # 2: down to label7 + tee_local $push60=, $5=, $pop61 + i32.eqz $push135=, $pop60 + br_if 2, $pop135 # 2: down to label9 # BB#4: # %if.else # in Loop: Header=BB0_3 Depth=2 block block - i32.eqz $push132=, $11 - br_if 0, $pop132 # 0: down to label11 + i32.eqz $push136=, $9 + br_if 0, $pop136 # 0: down to label13 # BB#5: # %while.body.lr.ph.i.preheader # in Loop: Header=BB0_3 Depth=2 i32.const $push52=, 104 i32.add $push53=, $1, $pop52 - copy_local $7=, $pop53 + copy_local $10=, $pop53 .LBB0_6: # %while.body.lr.ph.i # Parent Loop BB0_2 Depth=1 # Parent Loop BB0_3 Depth=2 # => This Loop Header: Depth=3 # Child Loop BB0_7 Depth 4 block - loop # label13: - copy_local $push66=, $10 - tee_local $push65=, $9=, $pop66 - i32.load $4=, 0($pop65) - copy_local $11=, $11 + loop # label15: + copy_local $push66=, $5 + tee_local $push65=, $11=, $pop66 + i32.load $5=, 0($pop65) .LBB0_7: # %while.body.i # Parent Loop BB0_2 Depth=1 # Parent Loop BB0_3 Depth=2 # Parent Loop BB0_6 Depth=3 # => This Inner Loop Header: Depth=4 - loop # label15: - copy_local $push68=, $11 - tee_local $push67=, $11=, $pop68 + loop # label17: + copy_local $push68=, $9 + tee_local $push67=, $6=, $pop68 i32.load $push3=, 0($pop67) - i32.lt_u $push4=, $4, $pop3 - br_if 1, $pop4 # 1: down to label16 + i32.lt_u $push4=, $5, $pop3 + br_if 1, $pop4 # 1: down to label18 # BB#8: # %if.else.i # in Loop: Header=BB0_7 Depth=4 i32.const $push73=, 28 - i32.add $push5=, $7, $pop73 - i32.store $push72=, 0($pop5), $11 - tee_local $push71=, $10=, $pop72 - copy_local $7=, $pop71 - i32.load $push70=, 28($10) - tee_local $push69=, $11=, $pop70 - br_if 0, $pop69 # 0: up to label15 - br 4 # 4: down to label12 + i32.add $push5=, $10, $pop73 + i32.store $push72=, 0($pop5), $6 + tee_local $push71=, $6=, $pop72 + copy_local $10=, $pop71 + i32.load $push70=, 28($6) + tee_local $push69=, $9=, $pop70 + br_if 0, $pop69 # 0: up to label17 + br 4 # 4: down to label14 .LBB0_9: # %if.then.i # in Loop: Header=BB0_6 Depth=3 - end_loop # label16: + end_loop # label18: i32.const $push76=, 28 - i32.add $push6=, $7, $pop76 - i32.store $push75=, 0($pop6), $9 - tee_local $push74=, $4=, $pop75 - i32.load $10=, 28($pop74) - i32.eqz $push133=, $11 - br_if 1, $pop133 # 1: down to label14 + i32.add $push6=, $10, $pop76 + i32.store $push75=, 0($pop6), $11 + tee_local $push74=, $11=, $pop75 + i32.load $5=, 28($pop74) + i32.eqz $push137=, $6 + br_if 1, $pop137 # 1: down to label16 # BB#10: # %if.then.i # in Loop: Header=BB0_6 Depth=3 - copy_local $7=, $4 - br_if 0, $10 # 0: up to label13 + copy_local $10=, $11 + copy_local $9=, $6 + br_if 0, $5 # 0: up to label15 .LBB0_11: # %while.end.i # in Loop: Header=BB0_3 Depth=2 - end_loop # label14: + end_loop # label16: i32.const $push77=, 28 - i32.add $7=, $4, $pop77 + i32.add $9=, $11, $pop77 block - br_if 0, $10 # 0: down to label17 + br_if 0, $5 # 0: down to label19 # BB#12: # %if.else9.i # in Loop: Header=BB0_3 Depth=2 block - i32.eqz $push134=, $11 - br_if 0, $pop134 # 0: down to label18 + i32.eqz $push138=, $6 + br_if 0, $pop138 # 0: down to label20 # BB#13: # %if.then11.i # in Loop: Header=BB0_3 Depth=2 - i32.store $drop=, 0($7), $11 - br 4 # 4: down to label10 + i32.store $drop=, 0($9), $6 + br 4 # 4: down to label12 .LBB0_14: # %if.else13.i # in Loop: Header=BB0_3 Depth=2 - end_block # label18: - i32.store $drop=, 0($7), $2 - br 3 # 3: down to label10 + end_block # label20: + i32.store $drop=, 0($9), $2 + br 3 # 3: down to label12 .LBB0_15: # in Loop: Header=BB0_3 Depth=2 - end_block # label17: - copy_local $push25=, $10 - i32.store $drop=, 0($7), $pop25 - br 2 # 2: down to label10 + end_block # label19: + copy_local $push25=, $5 + i32.store $drop=, 0($9), $pop25 + br 2 # 2: down to label12 .LBB0_16: # in Loop: Header=BB0_3 Depth=2 - end_block # label12: + end_block # label14: i32.const $push78=, 28 - i32.add $push24=, $10, $pop78 - i32.store $drop=, 0($pop24), $9 - br 1 # 1: down to label10 + i32.add $push24=, $6, $pop78 + i32.store $drop=, 0($pop24), $11 + br 1 # 1: down to label12 .LBB0_17: # in Loop: Header=BB0_3 Depth=2 - end_block # label11: + end_block # label13: copy_local $push23=, $3 - copy_local $push26=, $10 + copy_local $push26=, $5 i32.store $drop=, 0($pop23), $pop26 .LBB0_18: # %merge_pagelist.exit # in Loop: Header=BB0_3 Depth=2 - end_block # label10: + end_block # label12: i32.const $push46=, 104 i32.add $push47=, $1, $pop46 - i32.const $push83=, 28 - i32.add $push82=, $pop47, $pop83 - tee_local $push81=, $10=, $pop82 - i32.load $11=, 0($pop81) - i32.store $7=, 0($8), $2 - i32.const $push80=, 1 - i32.add $6=, $6, $pop80 + i32.const $push85=, 28 + i32.add $push84=, $pop47, $pop85 + tee_local $push83=, $10=, $pop84 + i32.load $9=, 0($pop83) + i32.store $6=, 0($4), $2 + i32.const $push82=, 1 + i32.add $push81=, $8, $pop82 + tee_local $push80=, $8=, $pop81 i32.const $push79=, 24 - i32.lt_s $push7=, $6, $pop79 - br_if 0, $pop7 # 0: up to label8 + i32.lt_s $push7=, $pop80, $pop79 + br_if 0, $pop7 # 0: up to label10 # BB#19: # %for.end # in Loop: Header=BB0_2 Depth=1 - end_loop # label9: - i32.const $push84=, 24 - i32.ne $push8=, $6, $pop84 - br_if 4, $pop8 # 4: down to label3 + end_loop # label11: + i32.const $push86=, 24 + i32.ne $push8=, $8, $pop86 + br_if 6, $pop8 # 6: down to label3 # BB#20: # %if.then7 # in Loop: Header=BB0_2 Depth=1 - i32.load $push86=, 0($5) - tee_local $push85=, $6=, $pop86 - i32.ne $9=, $pop85, $7 - i32.ne $2=, $11, $7 + i32.ne $12=, $9, $6 + i32.load $push88=, 0($7) + tee_local $push87=, $11=, $pop88 + i32.ne $2=, $pop87, $6 i32.const $push48=, 104 i32.add $push49=, $1, $pop48 - copy_local $8=, $pop49 - block - i32.eqz $push135=, $11 - br_if 0, $pop135 # 0: down to label19 + copy_local $4=, $pop49 + i32.eqz $push139=, $9 + br_if 2, $pop139 # 2: down to label7 # BB#21: # %if.then7 # in Loop: Header=BB0_2 Depth=1 - i32.eqz $push136=, $6 - br_if 0, $pop136 # 0: down to label19 + i32.eqz $push140=, $11 + br_if 3, $pop140 # 3: down to label6 # BB#22: # %while.body.lr.ph.i85.preheader # in Loop: Header=BB0_2 Depth=1 i32.const $push50=, 104 i32.add $push51=, $1, $pop50 - copy_local $4=, $pop51 + copy_local $8=, $pop51 .LBB0_23: # %while.body.lr.ph.i85 # Parent Loop BB0_2 Depth=1 # => This Loop Header: Depth=2 # Child Loop BB0_24 Depth 3 - loop # label20: - copy_local $push88=, $6 - tee_local $push87=, $8=, $pop88 - i32.load $9=, 0($pop87) - copy_local $11=, $11 + loop # label21: + copy_local $push90=, $11 + tee_local $push89=, $4=, $pop90 + i32.load $11=, 0($pop89) .LBB0_24: # %while.body.i91 # Parent Loop BB0_2 Depth=1 # Parent Loop BB0_23 Depth=2 # => This Inner Loop Header: Depth=3 - loop # label22: - copy_local $push90=, $11 - tee_local $push89=, $11=, $pop90 - i32.load $push10=, 0($pop89) - i32.lt_u $push11=, $9, $pop10 - br_if 1, $pop11 # 1: down to label23 + loop # label23: + copy_local $push92=, $9 + tee_local $push91=, $5=, $pop92 + i32.load $push10=, 0($pop91) + i32.lt_u $push11=, $11, $pop10 + br_if 1, $pop11 # 1: down to label24 # BB#25: # %if.else.i98 # in Loop: Header=BB0_24 Depth=3 - i32.const $push95=, 28 - i32.add $push12=, $4, $pop95 - i32.store $push94=, 0($pop12), $11 - tee_local $push93=, $6=, $pop94 - copy_local $4=, $pop93 - i32.load $push92=, 28($6) - tee_local $push91=, $11=, $pop92 - br_if 0, $pop91 # 0: up to label22 - br 6 # 6: down to label6 + i32.const $push97=, 28 + i32.add $push12=, $8, $pop97 + i32.store $push96=, 0($pop12), $5 + tee_local $push95=, $5=, $pop96 + copy_local $8=, $pop95 + i32.load $push94=, 28($5) + tee_local $push93=, $9=, $pop94 + br_if 0, $pop93 # 0: up to label23 + br 5 # 5: down to label8 .LBB0_26: # %if.then.i95 # in Loop: Header=BB0_23 Depth=2 - end_loop # label23: - i32.const $push100=, 28 - i32.add $push13=, $4, $pop100 - i32.store $push99=, 0($pop13), $8 - tee_local $push98=, $4=, $pop99 - i32.load $push97=, 28($pop98) - tee_local $push96=, $6=, $pop97 - i32.ne $9=, $pop96, $7 - i32.ne $2=, $11, $7 - i32.eqz $push137=, $11 - br_if 1, $pop137 # 1: down to label21 + end_loop # label24: + i32.ne $12=, $5, $6 + i32.const $push102=, 28 + i32.add $push13=, $8, $pop102 + i32.store $push101=, 0($pop13), $4 + tee_local $push100=, $9=, $pop101 + i32.load $push99=, 28($pop100) + tee_local $push98=, $11=, $pop99 + i32.ne $2=, $pop98, $6 + i32.eqz $push141=, $5 + br_if 6, $pop141 # 6: down to label5 # BB#27: # %if.then.i95 # in Loop: Header=BB0_23 Depth=2 - copy_local $4=, $4 - br_if 0, $6 # 0: up to label20 -.LBB0_28: # %while.end.i107 + copy_local $8=, $9 + copy_local $9=, $5 + br_if 0, $11 # 0: up to label21 + br 6 # 6: down to label5 +.LBB0_28: # %for.end.thread # in Loop: Header=BB0_2 Depth=1 - end_loop # label21: - end_block # label19: - i32.const $push101=, 28 - i32.add $4=, $8, $pop101 - i32.eqz $push138=, $9 - br_if 2, $pop138 # 2: down to label5 -# BB#29: # in Loop: Header=BB0_2 Depth=1 - copy_local $push27=, $6 - i32.store $drop=, 0($4), $pop27 + end_loop # label22: + end_block # label9: + i32.store $drop=, 0($4), $9 + br 5 # 5: down to label3 +.LBB0_29: # in Loop: Header=BB0_2 Depth=1 + end_block # label8: + i32.const $push103=, 28 + i32.add $push28=, $5, $pop103 + i32.store $drop=, 0($pop28), $4 br 3 # 3: down to label4 -.LBB0_30: # %for.end.thread - # in Loop: Header=BB0_2 Depth=1 +.LBB0_30: # in Loop: Header=BB0_2 Depth=1 end_block # label7: - i32.store $drop=, 0($8), $11 - br 3 # 3: down to label3 + copy_local $5=, $9 + br 1 # 1: down to label5 .LBB0_31: # in Loop: Header=BB0_2 Depth=1 end_block # label6: - i32.const $push102=, 28 - i32.add $push28=, $6, $pop102 - i32.store $drop=, 0($pop28), $8 - br 1 # 1: down to label4 -.LBB0_32: # %if.else9.i111 + copy_local $5=, $9 +.LBB0_32: # %while.end.i107 # in Loop: Header=BB0_2 Depth=1 end_block # label5: + i32.const $push104=, 28 + i32.add $9=, $4, $pop104 block - i32.eqz $push139=, $2 - br_if 0, $pop139 # 0: down to label24 -# BB#33: # %if.then11.i112 + i32.eqz $push142=, $2 + br_if 0, $pop142 # 0: down to label25 +# BB#33: # in Loop: Header=BB0_2 Depth=1 + copy_local $push27=, $11 + i32.store $drop=, 0($9), $pop27 + br 1 # 1: down to label4 +.LBB0_34: # %if.else9.i111 + # in Loop: Header=BB0_2 Depth=1 + end_block # label25: + block + i32.eqz $push143=, $12 + br_if 0, $pop143 # 0: down to label26 +# BB#35: # %if.then11.i112 # in Loop: Header=BB0_2 Depth=1 - i32.store $drop=, 0($4), $11 + i32.store $drop=, 0($9), $5 br 1 # 1: down to label4 -.LBB0_34: # %if.else13.i113 +.LBB0_36: # %if.else13.i113 # in Loop: Header=BB0_2 Depth=1 - end_block # label24: - i32.store $drop=, 0($4), $7 -.LBB0_35: # %merge_pagelist.exit115 + end_block # label26: + i32.store $drop=, 0($9), $6 +.LBB0_37: # %merge_pagelist.exit115 # in Loop: Header=BB0_2 Depth=1 end_block # label4: i32.load $push14=, 0($10) - i32.store $drop=, 0($5), $pop14 -.LBB0_36: # %while.cond.backedge + i32.store $drop=, 0($7), $pop14 +.LBB0_38: # %while.cond.backedge # in Loop: Header=BB0_2 Depth=1 end_block # label3: br_if 0, $0 # 0: up to label1 -# BB#37: # %while.end.loopexit +# BB#39: # %while.end.loopexit end_loop # label2: - i32.load $10=, 0($1) -.LBB0_38: # %while.end + i32.load $5=, 0($1) +.LBB0_40: # %while.end end_block # label0: - i32.const $6=, 1 -.LBB0_39: # %for.body15 + i32.const $11=, 1 +.LBB0_41: # %for.body15 # =>This Loop Header: Depth=1 - # Child Loop BB0_42 Depth 2 - # Child Loop BB0_43 Depth 3 - loop # label25: - i32.const $push107=, 0 - i32.ne $4=, $10, $pop107 - i32.const $push106=, 2 - i32.shl $push15=, $6, $pop106 + # Child Loop BB0_44 Depth 2 + # Child Loop BB0_45 Depth 3 + loop # label27: + i32.const $push109=, 0 + i32.ne $4=, $5, $pop109 + i32.const $push108=, 2 + i32.shl $push15=, $11, $pop108 i32.add $push16=, $1, $pop15 - i32.load $push105=, 0($pop16) - tee_local $push104=, $11=, $pop105 - i32.const $push103=, 0 - i32.ne $8=, $pop104, $pop103 + i32.load $push107=, 0($pop16) + tee_local $push106=, $9=, $pop107 + i32.const $push105=, 0 + i32.ne $2=, $pop106, $pop105 i32.const $push38=, 104 i32.add $push39=, $1, $pop38 - copy_local $9=, $pop39 + copy_local $8=, $pop39 block block block block - i32.eqz $push140=, $10 - br_if 0, $pop140 # 0: down to label30 -# BB#40: # %for.body15 - # in Loop: Header=BB0_39 Depth=1 - i32.eqz $push141=, $11 - br_if 0, $pop141 # 0: down to label30 -# BB#41: # %while.body.lr.ph.i47.preheader - # in Loop: Header=BB0_39 Depth=1 + i32.eqz $push144=, $5 + br_if 0, $pop144 # 0: down to label32 +# BB#42: # %for.body15 + # in Loop: Header=BB0_41 Depth=1 + i32.eqz $push145=, $9 + br_if 1, $pop145 # 1: down to label31 +# BB#43: # %while.body.lr.ph.i47.preheader + # in Loop: Header=BB0_41 Depth=1 i32.const $push40=, 104 i32.add $push41=, $1, $pop40 - copy_local $7=, $pop41 -.LBB0_42: # %while.body.lr.ph.i47 - # Parent Loop BB0_39 Depth=1 + copy_local $10=, $pop41 +.LBB0_44: # %while.body.lr.ph.i47 + # Parent Loop BB0_41 Depth=1 # => This Loop Header: Depth=2 - # Child Loop BB0_43 Depth 3 - loop # label31: - copy_local $push109=, $10 - tee_local $push108=, $9=, $pop109 - i32.load $4=, 0($pop108) - copy_local $11=, $11 -.LBB0_43: # %while.body.i53 - # Parent Loop BB0_39 Depth=1 - # Parent Loop BB0_42 Depth=2 - # => This Inner Loop Header: Depth=3 + # Child Loop BB0_45 Depth 3 loop # label33: - copy_local $push111=, $11 - tee_local $push110=, $11=, $pop111 - i32.load $push17=, 0($pop110) - i32.lt_u $push18=, $4, $pop17 - br_if 1, $pop18 # 1: down to label34 -# BB#44: # %if.else.i60 - # in Loop: Header=BB0_43 Depth=3 - i32.const $push116=, 28 - i32.add $push19=, $7, $pop116 - i32.store $push115=, 0($pop19), $11 - tee_local $push114=, $10=, $pop115 - copy_local $7=, $pop114 - i32.load $push113=, 28($10) - tee_local $push112=, $11=, $pop113 - br_if 0, $pop112 # 0: up to label33 - br 5 # 5: down to label29 -.LBB0_45: # %if.then.i57 - # in Loop: Header=BB0_42 Depth=2 + copy_local $push111=, $5 + tee_local $push110=, $8=, $pop111 + i32.load $5=, 0($pop110) +.LBB0_45: # %while.body.i53 + # Parent Loop BB0_41 Depth=1 + # Parent Loop BB0_44 Depth=2 + # => This Inner Loop Header: Depth=3 + loop # label35: + copy_local $push113=, $9 + tee_local $push112=, $6=, $pop113 + i32.load $push17=, 0($pop112) + i32.lt_u $push18=, $5, $pop17 + br_if 1, $pop18 # 1: down to label36 +# BB#46: # %if.else.i60 + # in Loop: Header=BB0_45 Depth=3 + i32.const $push118=, 28 + i32.add $push19=, $10, $pop118 + i32.store $push117=, 0($pop19), $6 + tee_local $push116=, $6=, $pop117 + copy_local $10=, $pop116 + i32.load $push115=, 28($6) + tee_local $push114=, $9=, $pop115 + br_if 0, $pop114 # 0: up to label35 + br 3 # 3: down to label34 +.LBB0_47: # %if.then.i57 + # in Loop: Header=BB0_44 Depth=2 + end_loop # label36: + i32.const $push125=, 0 + i32.ne $2=, $6, $pop125 + i32.const $push124=, 28 + i32.add $push20=, $10, $pop124 + i32.store $push123=, 0($pop20), $8 + tee_local $push122=, $9=, $pop123 + i32.load $push121=, 28($pop122) + tee_local $push120=, $5=, $pop121 + i32.const $push119=, 0 + i32.ne $4=, $pop120, $pop119 + i32.eqz $push146=, $6 + br_if 4, $pop146 # 4: down to label30 +# BB#48: # %if.then.i57 + # in Loop: Header=BB0_44 Depth=2 + copy_local $10=, $9 + copy_local $9=, $6 + br_if 0, $5 # 0: up to label33 + br 4 # 4: down to label30 +.LBB0_49: # in Loop: Header=BB0_41 Depth=1 end_loop # label34: - i32.const $push123=, 28 - i32.add $push20=, $7, $pop123 - i32.store $push122=, 0($pop20), $9 - tee_local $push121=, $7=, $pop122 - i32.load $push120=, 28($pop121) - tee_local $push119=, $10=, $pop120 - i32.const $push118=, 0 - i32.ne $4=, $pop119, $pop118 - i32.const $push117=, 0 - i32.ne $8=, $11, $pop117 - i32.eqz $push142=, $11 - br_if 1, $pop142 # 1: down to label32 -# BB#46: # %if.then.i57 - # in Loop: Header=BB0_42 Depth=2 - copy_local $7=, $7 - br_if 0, $10 # 0: up to label31 -.LBB0_47: # %while.end.i69 - # in Loop: Header=BB0_39 Depth=1 - end_loop # label32: + i32.const $push126=, 28 + i32.add $push30=, $6, $pop126 + i32.store $drop=, 0($pop30), $8 + br 3 # 3: down to label29 +.LBB0_50: # in Loop: Header=BB0_41 Depth=1 + end_block # label32: + copy_local $6=, $9 + br 1 # 1: down to label30 +.LBB0_51: # in Loop: Header=BB0_41 Depth=1 + end_block # label31: + copy_local $6=, $9 +.LBB0_52: # %while.end.i69 + # in Loop: Header=BB0_41 Depth=1 end_block # label30: - i32.const $push124=, 28 - i32.add $7=, $9, $pop124 - i32.eqz $push143=, $4 - br_if 1, $pop143 # 1: down to label28 -# BB#48: # in Loop: Header=BB0_39 Depth=1 - copy_local $push29=, $10 - i32.store $drop=, 0($7), $pop29 - br 2 # 2: down to label27 -.LBB0_49: # in Loop: Header=BB0_39 Depth=1 - end_block # label29: - i32.const $push125=, 28 - i32.add $push30=, $10, $pop125 - i32.store $drop=, 0($pop30), $9 - br 1 # 1: down to label27 -.LBB0_50: # %if.else9.i73 - # in Loop: Header=BB0_39 Depth=1 - end_block # label28: + i32.const $push127=, 28 + i32.add $9=, $8, $pop127 block - i32.eqz $push144=, $8 - br_if 0, $pop144 # 0: down to label35 -# BB#51: # %if.then11.i74 - # in Loop: Header=BB0_39 Depth=1 - i32.store $drop=, 0($7), $11 - br 1 # 1: down to label27 -.LBB0_52: # %if.else13.i75 - # in Loop: Header=BB0_39 Depth=1 - end_block # label35: - i32.const $push126=, 0 - i32.store $drop=, 0($7), $pop126 -.LBB0_53: # %merge_pagelist.exit77 - # in Loop: Header=BB0_39 Depth=1 - end_block # label27: + i32.eqz $push147=, $4 + br_if 0, $pop147 # 0: down to label37 +# BB#53: # in Loop: Header=BB0_41 Depth=1 + copy_local $push29=, $5 + i32.store $drop=, 0($9), $pop29 + br 1 # 1: down to label29 +.LBB0_54: # %if.else9.i73 + # in Loop: Header=BB0_41 Depth=1 + end_block # label37: + block + i32.eqz $push148=, $2 + br_if 0, $pop148 # 0: down to label38 +# BB#55: # %if.then11.i74 + # in Loop: Header=BB0_41 Depth=1 + i32.store $drop=, 0($9), $6 + br 1 # 1: down to label29 +.LBB0_56: # %if.else13.i75 + # in Loop: Header=BB0_41 Depth=1 + end_block # label38: + i32.const $push128=, 0 + i32.store $drop=, 0($9), $pop128 +.LBB0_57: # %merge_pagelist.exit77 + # in Loop: Header=BB0_41 Depth=1 + end_block # label29: i32.const $push42=, 104 i32.add $push43=, $1, $pop42 - i32.const $push129=, 28 - i32.add $push21=, $pop43, $pop129 - i32.load $10=, 0($pop21) - i32.const $push128=, 1 - i32.add $6=, $6, $pop128 - i32.const $push127=, 25 - i32.ne $push22=, $6, $pop127 - br_if 0, $pop22 # 0: up to label25 -# BB#54: # %for.end20 - end_loop # label26: - i32.const $push37=, __stack_pointer + i32.const $push133=, 28 + i32.add $push22=, $pop43, $pop133 + i32.load $5=, 0($pop22) + i32.const $push132=, 1 + i32.add $push131=, $11, $pop132 + tee_local $push130=, $11=, $pop131 + i32.const $push129=, 25 + i32.ne $push21=, $pop130, $pop129 + br_if 0, $pop21 # 0: up to label27 +# BB#58: # %for.end20 + end_loop # label28: + i32.const $push37=, 0 i32.const $push35=, 144 i32.add $push36=, $1, $pop35 - i32.store $drop=, 0($pop37), $pop36 - return $10 + i32.store $drop=, __stack_pointer($pop37), $pop36 + copy_local $push149=, $5 + # fallthrough-return: $pop149 .endfunc .Lfunc_end0: .size sort_pagelist, .Lfunc_end0-sort_pagelist @@ -444,51 +465,52 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push22=, __stack_pointer - i32.const $push19=, __stack_pointer - i32.load $push20=, 0($pop19) + i32.const $push22=, 0 + i32.const $push19=, 0 + i32.load $push20=, __stack_pointer($pop19) i32.const $push21=, 208 i32.sub $push26=, $pop20, $pop21 - i32.store $push28=, 0($pop22), $pop26 - tee_local $push27=, $2=, $pop28 - i32.const $push6=, 68 - i32.add $push7=, $pop27, $pop6 - i32.const $push4=, 80 - i32.add $push5=, $2, $pop4 + i32.store $push30=, __stack_pointer($pop22), $pop26 + tee_local $push29=, $1=, $pop30 + i32.const $push2=, 68 + i32.add $push3=, $pop29, $pop2 + i32.const $push0=, 80 + i32.add $push1=, $1, $pop0 + i32.store $drop=, 0($pop3), $pop1 + i32.const $push6=, 108 + i32.add $push7=, $1, $pop6 + i32.const $push4=, 120 + i32.add $push5=, $1, $pop4 i32.store $drop=, 0($pop7), $pop5 - i32.const $push11=, 108 - i32.add $push12=, $2, $pop11 - i32.const $push9=, 120 - i32.add $push10=, $2, $pop9 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push0=, 5 - i32.store $drop=, 0($2), $pop0 - i32.const $push1=, 40 - i32.add $push2=, $2, $pop1 - i32.store $drop=, 28($2), $pop2 - i32.const $push3=, 4 - i32.store $drop=, 40($2), $pop3 - i32.const $push8=, 1 - i32.store $drop=, 80($2), $pop8 - i32.const $push13=, 3 - i32.store $drop=, 120($2), $pop13 + i32.const $push8=, 5 + i32.store $drop=, 0($1), $pop8 + i32.const $push9=, 4 + i32.store $drop=, 40($1), $pop9 + i32.const $push10=, 1 + i32.store $drop=, 80($1), $pop10 + i32.const $push11=, 3 + i32.store $drop=, 120($1), $pop11 + i32.const $push12=, 40 + i32.add $push13=, $1, $pop12 + i32.store $drop=, 28($1), $pop13 i32.const $push14=, 148 - i32.add $push15=, $2, $pop14 + i32.add $push15=, $1, $pop14 i32.const $push16=, 0 i32.store $0=, 0($pop15), $pop16 - i32.call $1=, sort_pagelist@FUNCTION, $2 block - i32.load $push17=, 28($1) - i32.eq $push18=, $1, $pop17 - br_if 0, $pop18 # 0: down to label36 + i32.call $push28=, sort_pagelist@FUNCTION, $1 + tee_local $push27=, $2=, $pop28 + i32.load $push17=, 28($2) + i32.eq $push18=, $pop27, $pop17 + br_if 0, $pop18 # 0: down to label39 # BB#1: # %if.end - i32.const $push25=, __stack_pointer + i32.const $push25=, 0 i32.const $push23=, 208 - i32.add $push24=, $2, $pop23 - i32.store $drop=, 0($pop25), $pop24 + i32.add $push24=, $1, $pop23 + i32.store $drop=, __stack_pointer($pop25), $pop24 return $0 .LBB1_2: # %if.then - end_block # label36: + end_block # label39: call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/pr33992.c.s b/test/torture-s/pr33992.c.s index 52c31f7fd..68470dcb2 100644 --- a/test/torture-s/pr33992.c.s +++ b/test/torture-s/pr33992.c.s @@ -35,49 +35,51 @@ do_test: # @do_test .LBB1_1: # %for.cond.i # =>This Inner Loop Header: Depth=1 loop # label1: - i64.const $push15=, 4294967295 - i64.and $2=, $3, $pop15 + i64.const $push17=, 1 + i64.add $4=, $4, $pop17 + i64.const $push16=, 4294967295 + i64.and $2=, $3, $pop16 + i64.const $push15=, -1 + i64.add $push0=, $3, $pop15 + copy_local $3=, $pop0 i64.const $push14=, 1 - i64.add $4=, $4, $pop14 - i64.const $push13=, -1 - i64.add $3=, $3, $pop13 - i64.const $push12=, 1 - i64.shl $push0=, $pop12, $2 - i64.and $push1=, $pop0, $1 - i64.eqz $push2=, $pop1 - br_if 0, $pop2 # 0: up to label1 + i64.shl $push2=, $pop14, $2 + i64.and $push3=, $pop2, $1 + i64.eqz $push4=, $pop3 + br_if 0, $pop4 # 0: up to label1 # BB#2: # %foo.exit end_loop # label2: - i64.const $push3=, 32 - i64.shl $push4=, $4, $pop3 - i64.const $push16=, 32 - i64.shr_s $push5=, $pop4, $pop16 - call bar@FUNCTION, $pop5 + i64.const $push5=, 32 + i64.shl $push6=, $4, $pop5 + i64.const $push18=, 32 + i64.shr_s $push7=, $pop6, $pop18 + call bar@FUNCTION, $pop7 i64.load $1=, 0($0) i64.const $3=, 63 i64.const $4=, -1 .LBB1_3: # %for.cond.i.1 # =>This Inner Loop Header: Depth=1 loop # label3: - i64.const $push20=, 4294967295 - i64.and $2=, $3, $pop20 + i64.const $push22=, 1 + i64.add $4=, $4, $pop22 + i64.const $push21=, 4294967295 + i64.and $2=, $3, $pop21 + i64.const $push20=, -1 + i64.add $push1=, $3, $pop20 + copy_local $3=, $pop1 i64.const $push19=, 1 - i64.add $4=, $4, $pop19 - i64.const $push18=, -1 - i64.add $3=, $3, $pop18 - i64.const $push17=, 1 - i64.shl $push6=, $pop17, $2 - i64.and $push7=, $pop6, $1 - i64.eqz $push8=, $pop7 - br_if 0, $pop8 # 0: up to label3 + i64.shl $push8=, $pop19, $2 + i64.and $push9=, $pop8, $1 + i64.eqz $push10=, $pop9 + br_if 0, $pop10 # 0: up to label3 # BB#4: # %foo.exit.1 end_loop # label4: - i64.const $push9=, 32 - i64.shl $push10=, $4, $pop9 - i64.const $push21=, 32 - i64.shr_s $push11=, $pop10, $pop21 - call bar@FUNCTION, $pop11 - return + i64.const $push11=, 32 + i64.shl $push12=, $4, $pop11 + i64.const $push23=, 32 + i64.shr_s $push13=, $pop12, $pop23 + call bar@FUNCTION, $pop13 + # fallthrough-return .endfunc .Lfunc_end1: .size do_test, .Lfunc_end1-do_test @@ -90,24 +92,24 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push11=, $pop3, $pop4 - i32.store $push13=, 0($pop5), $pop11 + i32.store $push13=, __stack_pointer($pop5), $pop11 tee_local $push12=, $0=, $pop13 i64.const $push0=, -9223372036854775807 i64.store $drop=, 8($pop12), $pop0 i32.const $push9=, 8 i32.add $push10=, $0, $pop9 call do_test@FUNCTION, $pop10 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $0, $pop6 - i32.store $drop=, 0($pop8), $pop7 + i32.store $drop=, __stack_pointer($pop8), $pop7 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr34070-1.c.s b/test/torture-s/pr34070-1.c.s index 0b483d978..00558d7cd 100644 --- a/test/torture-s/pr34070-1.c.s +++ b/test/torture-s/pr34070-1.c.s @@ -8,15 +8,9 @@ f: # @f .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 31 - i32.shr_s $push1=, $0, $pop0 - i32.const $push2=, 30 - i32.shr_u $push3=, $pop1, $pop2 - i32.add $push4=, $0, $pop3 - i32.const $push5=, -4 - i32.and $push6=, $pop4, $pop5 - i32.sub $push7=, $0, $pop6 - return $pop7 + i32.const $push0=, 4 + i32.rem_s $push1=, $0, $pop0 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -29,7 +23,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr34070-2.c.s b/test/torture-s/pr34070-2.c.s index 9e128cb34..044474256 100644 --- a/test/torture-s/pr34070-2.c.s +++ b/test/torture-s/pr34070-2.c.s @@ -11,7 +11,7 @@ f: # @f i32.const $push0=, 1 i32.shl $push1=, $pop0, $1 i32.div_s $push2=, $0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -24,7 +24,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr34099-2.c.s b/test/torture-s/pr34099-2.c.s index 6c5797486..3c6332765 100644 --- a/test/torture-s/pr34099-2.c.s +++ b/test/torture-s/pr34099-2.c.s @@ -9,7 +9,7 @@ test1: # @test1 .result i32 # BB#0: # %entry i32.eqz $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -23,7 +23,7 @@ test2: # @test2 .result i32 # BB#0: # %entry i32.eqz $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -37,7 +37,7 @@ test3: # @test3 .result i32 # BB#0: # %entry i32.eqz $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -53,7 +53,7 @@ test4: # @test4 i32.eqz $push0=, $1 i32.const $push1=, 1 i32.select $push2=, $pop0, $pop1, $0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -66,7 +66,7 @@ main: # @main .result i32 # BB#0: # %if.end12 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/pr34099.c.s b/test/torture-s/pr34099.c.s index b70326110..bd5d6710f 100644 --- a/test/torture-s/pr34099.c.s +++ b/test/torture-s/pr34099.c.s @@ -9,7 +9,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.eqz $push0=, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -22,7 +22,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr34130.c.s b/test/torture-s/pr34130.c.s index fee1d97ee..d96e33f35 100644 --- a/test/torture-s/pr34130.c.s +++ b/test/torture-s/pr34130.c.s @@ -9,18 +9,19 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, -2 - i32.add $1=, $0, $pop0 i32.const $push8=, 0 - i32.const $push1=, 2 - i32.sub $push2=, $pop1, $0 + i32.const $push2=, -2 + i32.add $push11=, $0, $pop2 + tee_local $push10=, $1=, $pop11 + i32.const $push0=, 2 + i32.sub $push1=, $pop0, $0 i32.const $push3=, -1 i32.gt_s $push4=, $1, $pop3 - i32.select $push5=, $1, $pop2, $pop4 + i32.select $push5=, $pop10, $pop1, $pop4 i32.const $push6=, 1 i32.shl $push7=, $pop5, $pop6 i32.sub $push9=, $pop8, $pop7 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -33,7 +34,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr34154.c.s b/test/torture-s/pr34154.c.s index 62d27003d..7f5b3efac 100644 --- a/test/torture-s/pr34154.c.s +++ b/test/torture-s/pr34154.c.s @@ -15,7 +15,7 @@ foo: # @foo i64.const $push2=, 9000000000000000000 i64.lt_u $push3=, $pop1, $pop2 i32.select $push6=, $pop5, $pop4, $pop3 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -28,7 +28,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr34176.c.s b/test/torture-s/pr34176.c.s index de0c29d29..e37f3fb96 100644 --- a/test/torture-s/pr34176.c.s +++ b/test/torture-s/pr34176.c.s @@ -11,7 +11,7 @@ hash_find_entry: # @hash_find_entry i32.const $push0=, 2 i32.store $drop=, 0($0), $pop0 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size hash_find_entry, .Lfunc_end0-hash_find_entry @@ -55,13 +55,13 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push12=, $pop2, $pop3 - i32.store $push14=, 0($pop4), $pop12 - tee_local $push13=, $2=, $pop14 + i32.store $push14=, __stack_pointer($pop4), $pop12 + tee_local $push13=, $0=, $pop14 i32.const $push8=, 12 i32.add $push9=, $pop13, $pop8 i32.call $drop=, hash_find_entry@FUNCTION, $pop9 @@ -69,41 +69,42 @@ main: # @main # =>This Loop Header: Depth=1 # Child Loop BB2_3 Depth 2 loop # label1: - i32.load $0=, 12($2) - i32.call $drop=, foo@FUNCTION, $0 - i32.const $1=, 0 + i32.load $1=, 12($0) + i32.call $drop=, foo@FUNCTION, $2 + i32.const $2=, 0 block - i32.eqz $push17=, $0 - br_if 0, $pop17 # 0: down to label3 + i32.eqz $push19=, $1 + br_if 0, $pop19 # 0: down to label3 # BB#2: # %while.body.preheader # in Loop: Header=BB2_1 Depth=1 - i32.const $1=, 0 + i32.const $2=, 0 .LBB2_3: # %while.body # Parent Loop BB2_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label4: - i32.const $push16=, -1 - i32.add $0=, $0, $pop16 - i32.const $push15=, 8 - i32.add $1=, $1, $pop15 - br_if 0, $0 # 0: up to label4 + i32.const $push18=, 8 + i32.add $2=, $2, $pop18 + i32.const $push17=, -1 + i32.add $push16=, $1, $pop17 + tee_local $push15=, $1=, $pop16 + br_if 0, $pop15 # 0: up to label4 .LBB2_4: # %cleanup.thread # in Loop: Header=BB2_1 Depth=1 end_loop # label5: end_block # label3: i32.const $push10=, 12 - i32.add $push11=, $2, $pop10 + i32.add $push11=, $0, $pop10 i32.call $drop=, hash_find_entry@FUNCTION, $pop11 - i32.eqz $push18=, $1 - br_if 0, $pop18 # 0: up to label1 + i32.eqz $push20=, $2 + br_if 0, $pop20 # 0: up to label1 # BB#5: # %for.end end_loop # label2: - i32.const $push7=, __stack_pointer + i32.const $push7=, 0 i32.const $push5=, 16 - i32.add $push6=, $2, $pop5 - i32.store $drop=, 0($pop7), $pop6 + i32.add $push6=, $0, $pop5 + i32.store $drop=, __stack_pointer($pop7), $pop6 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr34415.c.s b/test/torture-s/pr34415.c.s index 0db520164..785be160b 100644 --- a/test/torture-s/pr34415.c.s +++ b/test/torture-s/pr34415.c.s @@ -10,26 +10,26 @@ foo: # @foo .local i32, i32, i32, i32, i32 # BB#0: # %entry # implicit-def: %vreg68 - i32.const $2=, 1 + i32.const $5=, 1 .LBB0_1: # %for.cond # =>This Loop Header: Depth=1 # Child Loop BB0_4 Depth 2 loop # label0: copy_local $push27=, $0 - tee_local $push26=, $5=, $pop27 + tee_local $push26=, $1=, $pop27 copy_local $0=, $pop26 block - i32.load8_s $push25=, 0($5) - tee_local $push24=, $4=, $pop25 + i32.load8_s $push25=, 0($1) + tee_local $push24=, $2=, $pop25 i32.const $push23=, -32 - i32.add $push3=, $pop24, $pop23 + i32.add $push0=, $pop24, $pop23 i32.const $push22=, -97 - i32.add $push0=, $4, $pop22 + i32.add $push1=, $2, $pop22 i32.const $push21=, 255 - i32.and $push1=, $pop0, $pop21 + i32.and $push2=, $pop1, $pop21 i32.const $push20=, 26 - i32.lt_u $push2=, $pop1, $pop20 - i32.select $push19=, $pop3, $4, $pop2 + i32.lt_u $push3=, $pop2, $pop20 + i32.select $push19=, $pop0, $2, $pop3 tee_local $push18=, $3=, $pop19 i32.const $push17=, 66 i32.eq $push4=, $pop18, $pop17 @@ -42,14 +42,15 @@ foo: # @foo br_if 0, $pop5 # 0: down to label3 # BB#3: # %do.body.preheader # in Loop: Header=BB0_1 Depth=1 - copy_local $0=, $5 + copy_local $0=, $1 .LBB0_4: # %do.body # Parent Loop BB0_1 Depth=1 # => This Inner Loop Header: Depth=2 loop # label4: - i32.const $push30=, 1 - i32.add $0=, $0, $pop30 - i32.load8_u $push6=, 0($0) + i32.const $push32=, 1 + i32.add $push31=, $0, $pop32 + tee_local $push30=, $0=, $pop31 + i32.load8_u $push6=, 0($pop30) i32.const $push29=, 43 i32.eq $push7=, $pop6, $pop29 br_if 0, $pop7 # 0: up to label4 @@ -59,26 +60,26 @@ foo: # @foo end_block # label3: block i32.const $push8=, 3 - i32.lt_s $push9=, $2, $pop8 + i32.lt_s $push9=, $5, $pop8 br_if 0, $pop9 # 0: down to label6 # BB#6: # %land.lhs.true17 i32.const $push10=, 255 - i32.and $push11=, $4, $pop10 + i32.and $push11=, $2, $pop10 i32.const $push12=, 58 i32.eq $push13=, $pop11, $pop12 - i32.select $push14=, $1, $5, $pop13 + i32.select $push14=, $4, $1, $pop13 return $pop14 .LBB0_7: # %if.end22 end_block # label6: - return $5 + return $1 .LBB0_8: # %cleanup.thread # in Loop: Header=BB0_1 Depth=1 end_block # label2: i32.const $push16=, 1 - i32.add $0=, $0, $pop16 + i32.add $5=, $5, $pop16 i32.const $push15=, 1 - i32.add $2=, $2, $pop15 - copy_local $1=, $5 + i32.add $0=, $0, $pop15 + copy_local $4=, $1 br 0 # 0: up to label0 .LBB0_9: end_loop # label1: @@ -97,7 +98,7 @@ main: # @main i32.call $push1=, foo@FUNCTION, $pop0 i32.const $push2=, .L.str+2 i32.ne $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr34456.c.s b/test/torture-s/pr34456.c.s index 107ebb704..769449918 100644 --- a/test/torture-s/pr34456.c.s +++ b/test/torture-s/pr34456.c.s @@ -8,7 +8,7 @@ debug: # @debug .result i32 # BB#0: # %entry i32.const $push0=, 1 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size debug, .Lfunc_end0-debug @@ -23,7 +23,7 @@ bad_compare: # @bad_compare # BB#0: # %entry i32.const $push0=, 0 i32.sub $push1=, $pop0, $0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size bad_compare, .Lfunc_end1-bad_compare @@ -35,15 +35,15 @@ bad_compare: # @bad_compare main: # @main .result i32 # BB#0: # %entry - i32.const $push1=, array - i32.const $push3=, 2 - i32.const $push2=, 8 + i32.const $push3=, array + i32.const $push2=, 2 + i32.const $push1=, 8 i32.const $push0=, compare@FUNCTION - call qsort@FUNCTION, $pop1, $pop3, $pop2, $pop0 + call qsort@FUNCTION, $pop3, $pop2, $pop1, $pop0 i32.const $push4=, 0 i32.load $push5=, errors($pop4) i32.eqz $push6=, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main @@ -76,7 +76,7 @@ compare: # @compare .LBB3_3: # %if.end end_block # label0: i32.call_indirect $push6=, $2, $1 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end3: .size compare, .Lfunc_end3-compare diff --git a/test/torture-s/pr34768-1.c.s b/test/torture-s/pr34768-1.c.s index 130046031..ed68aa1a8 100644 --- a/test/torture-s/pr34768-1.c.s +++ b/test/torture-s/pr34768-1.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.load $push1=, x($pop3) i32.sub $push2=, $pop4, $pop1 i32.store $drop=, x($pop0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +23,7 @@ foo: # @foo .type bar,@function bar: # @bar # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -37,16 +37,16 @@ test: # @test .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $1=, x($pop0) - i32.const $push2=, foo@FUNCTION - i32.const $push1=, bar@FUNCTION - i32.select $push3=, $pop2, $pop1, $0 - call_indirect $pop3 + i32.const $push3=, 0 + i32.load $1=, x($pop3) + i32.const $push1=, foo@FUNCTION + i32.const $push0=, bar@FUNCTION + i32.select $push2=, $pop1, $pop0, $0 + call_indirect $pop2 i32.const $push6=, 0 i32.load $push4=, x($pop6) i32.add $push5=, $1, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end2: .size test, .Lfunc_end2-test diff --git a/test/torture-s/pr34768-2.c.s b/test/torture-s/pr34768-2.c.s index a148b8582..634fd8de6 100644 --- a/test/torture-s/pr34768-2.c.s +++ b/test/torture-s/pr34768-2.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.sub $push2=, $pop5, $pop1 i32.store $drop=, x($pop0), $pop2 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -27,7 +27,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -40,17 +40,17 @@ test: # @test .param i32 .result i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $push1=, x($pop0) - i32.const $push3=, foo@FUNCTION - i32.const $push2=, bar@FUNCTION - i32.select $push4=, $pop3, $pop2, $0 - i32.call_indirect $push5=, $pop4 - i32.add $push7=, $pop1, $pop5 + i32.const $push3=, 0 + i32.load $push4=, x($pop3) + i32.const $push1=, foo@FUNCTION + i32.const $push0=, bar@FUNCTION + i32.select $push2=, $pop1, $pop0, $0 + i32.call_indirect $push5=, $pop2 + i32.add $push6=, $pop4, $pop5 i32.const $push9=, 0 - i32.load $push6=, x($pop9) - i32.add $push8=, $pop7, $pop6 - return $pop8 + i32.load $push7=, x($pop9) + i32.add $push8=, $pop6, $pop7 + # fallthrough-return: $pop8 .endfunc .Lfunc_end2: .size test, .Lfunc_end2-test diff --git a/test/torture-s/pr34971.c.s b/test/torture-s/pr34971.c.s index ca9e5a0c6..858449491 100644 --- a/test/torture-s/pr34971.c.s +++ b/test/torture-s/pr34971.c.s @@ -14,11 +14,11 @@ test1: # @test1 i64.const $push2=, 1099511627775 i64.and $push10=, $pop1, $pop2 tee_local $push9=, $1=, $pop10 - i64.const $push3=, 8 - i64.shl $push4=, $pop9, $pop3 - i64.const $push5=, 32 - i64.shr_u $push6=, $1, $pop5 - i64.or $push7=, $pop4, $pop6 + i64.const $push5=, 8 + i64.shl $push6=, $pop9, $pop5 + i64.const $push3=, 32 + i64.shr_u $push4=, $1, $pop3 + i64.or $push7=, $pop6, $pop4 i64.ne $push8=, $pop7, $0 br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.end diff --git a/test/torture-s/pr34982.c.s b/test/torture-s/pr34982.c.s index 2687a12e4..e1893bd72 100644 --- a/test/torture-s/pr34982.c.s +++ b/test/torture-s/pr34982.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr35163.c.s b/test/torture-s/pr35163.c.s index 662f01380..90bf59fac 100644 --- a/test/torture-s/pr35163.c.s +++ b/test/torture-s/pr35163.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr35390.c.s b/test/torture-s/pr35390.c.s index 1f856043c..85517b240 100644 --- a/test/torture-s/pr35390.c.s +++ b/test/torture-s/pr35390.c.s @@ -8,7 +8,8 @@ foo: # @foo .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -21,7 +22,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr35456.c.s b/test/torture-s/pr35456.c.s index dd41d5178..357c01daf 100644 --- a/test/torture-s/pr35456.c.s +++ b/test/torture-s/pr35456.c.s @@ -12,7 +12,7 @@ not_fabs: # @not_fabs f64.const $push0=, 0x0p0 f64.ge $push1=, $0, $pop0 f64.select $push3=, $0, $pop2, $pop1 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size not_fabs, .Lfunc_end0-not_fabs diff --git a/test/torture-s/pr35472.c.s b/test/torture-s/pr35472.c.s index 0486aa3dc..bdd0ff1eb 100644 --- a/test/torture-s/pr35472.c.s +++ b/test/torture-s/pr35472.c.s @@ -7,11 +7,11 @@ foo: # @foo .param i32, i32 # BB#0: # %entry - i32.const $push0=, -1 - i32.store $drop=, 0($0), $pop0 - i32.const $push1=, 0 - i32.store $drop=, p($pop1), $1 - return + i32.const $push0=, 0 + i32.store $drop=, p($pop0), $1 + i32.const $push1=, -1 + i32.store $drop=, 0($0), $pop1 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,12 +23,12 @@ foo: # @foo test: # @test .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 128 i32.sub $push20=, $pop8, $pop9 - i32.store $push29=, 0($pop10), $pop20 + i32.store $push29=, __stack_pointer($pop10), $pop20 tee_local $push28=, $0=, $pop29 i32.const $push14=, 64 i32.add $push15=, $pop28, $pop14 @@ -51,15 +51,15 @@ test: # @test i32.const $push21=, 64 i32.call $drop=, memcpy@FUNCTION, $pop0, $0, $pop21 block - i32.load $push4=, 0($0) - i32.const $push5=, -1 - i32.ne $push6=, $pop4, $pop5 + i32.load $push5=, 0($0) + i32.const $push4=, -1 + i32.ne $push6=, $pop5, $pop4 br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 128 i32.add $push12=, $0, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB1_2: # %if.then end_block # label0: @@ -77,12 +77,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 128 i32.sub $push19=, $pop7, $pop8 - i32.store $push29=, 0($pop9), $pop19 + i32.store $push29=, __stack_pointer($pop9), $pop19 tee_local $push28=, $0=, $pop29 i32.const $push13=, 64 i32.add $push14=, $pop28, $pop13 @@ -105,15 +105,15 @@ main: # @main i32.const $push20=, 64 i32.call $drop=, memcpy@FUNCTION, $pop0, $0, $pop20 block - i32.load $push3=, 0($0) - i32.const $push4=, -1 - i32.ne $push5=, $pop3, $pop4 + i32.load $push4=, 0($0) + i32.const $push3=, -1 + i32.ne $push5=, $pop4, $pop3 br_if 0, $pop5 # 0: down to label1 # BB#1: # %test.exit - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 128 i32.add $push11=, $0, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 i32.const $push30=, 0 return $pop30 .LBB2_2: # %if.then.i diff --git a/test/torture-s/pr35800.c.s b/test/torture-s/pr35800.c.s index 6efc413da..8695a5900 100644 --- a/test/torture-s/pr35800.c.s +++ b/test/torture-s/pr35800.c.s @@ -32,7 +32,8 @@ stab_xcoff_builtin_type: # @stab_xcoff_builtin_type i32.load8_s $1=, 0($1) .LBB0_4: # %cleanup end_block # label0: - return $1 + copy_local $push9=, $1 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size stab_xcoff_builtin_type, .Lfunc_end0-stab_xcoff_builtin_type @@ -58,12 +59,13 @@ main: # @main br_if 2, $pop2 # 2: down to label2 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 - i32.const $push8=, -1 - i32.add $1=, $1, $pop8 - i32.const $push7=, 4 - i32.add $0=, $0, $pop7 + i32.const $push10=, 4 + i32.add $0=, $0, $pop10 + i32.const $push9=, -1 + i32.add $push8=, $1, $pop9 + tee_local $push7=, $1=, $pop8 i32.const $push6=, -34 - i32.ge_s $push3=, $1, $pop6 + i32.ge_s $push3=, $pop7, $pop6 br_if 0, $pop3 # 0: up to label3 # BB#3: # %if.end21 end_loop # label4: diff --git a/test/torture-s/pr36034-1.c.s b/test/torture-s/pr36034-1.c.s index 6893e1686..b1fef2236 100644 --- a/test/torture-s/pr36034-1.c.s +++ b/test/torture-s/pr36034-1.c.s @@ -5,129 +5,128 @@ .globl test .type test,@function test: # @test - .local i64, i64, i64 # BB#0: # %entry i32.const $push0=, 0 - i64.load $0=, x+8($pop0) + i32.const $push89=, 0 + i64.load $push1=, x($pop89) + i64.store $drop=, tmp($pop0), $pop1 + i32.const $push88=, 0 + i32.const $push87=, 0 + i64.load $push2=, x+8($pop87) + i64.store $drop=, tmp+8($pop88), $pop2 + i32.const $push86=, 0 + i32.const $push85=, 0 + i64.load $push3=, x+16($pop85) + i64.store $drop=, tmp+16($pop86), $pop3 + i32.const $push84=, 0 + i32.const $push83=, 0 + i64.load $push4=, x+24($pop83) + i64.store $drop=, tmp+24($pop84), $pop4 + i32.const $push82=, 0 + i32.const $push81=, 0 + i64.load $push5=, x+32($pop81) + i64.store $drop=, tmp+32($pop82), $pop5 + i32.const $push80=, 0 + i32.const $push79=, 0 + i64.load $push6=, x+40($pop79) + i64.store $drop=, tmp+40($pop80), $pop6 + i32.const $push78=, 0 + i32.const $push77=, 0 + i64.load $push7=, x+80($pop77) + i64.store $drop=, tmp+48($pop78), $pop7 + i32.const $push76=, 0 + i32.const $push75=, 0 + i64.load $push8=, x+88($pop75) + i64.store $drop=, tmp+56($pop76), $pop8 + i32.const $push74=, 0 + i32.const $push73=, 0 + i64.load $push9=, x+96($pop73) + i64.store $drop=, tmp+64($pop74), $pop9 + i32.const $push72=, 0 + i32.const $push71=, 0 + i64.load $push10=, x+104($pop71) + i64.store $drop=, tmp+72($pop72), $pop10 + i32.const $push70=, 0 + i32.const $push69=, 0 + i64.load $push11=, x+112($pop69) + i64.store $drop=, tmp+80($pop70), $pop11 + i32.const $push68=, 0 i32.const $push67=, 0 + i64.load $push12=, x+120($pop67) + i64.store $drop=, tmp+88($pop68), $pop12 i32.const $push66=, 0 - i64.load $push1=, x($pop66) - i64.store $drop=, tmp($pop67), $pop1 i32.const $push65=, 0 - i64.store $drop=, tmp+8($pop65), $0 + i64.load $push13=, x+160($pop65) + i64.store $drop=, tmp+96($pop66), $pop13 i32.const $push64=, 0 - i64.load $0=, x+24($pop64) i32.const $push63=, 0 - i64.load $1=, x+32($pop63) + i64.load $push14=, x+168($pop63) + i64.store $drop=, tmp+104($pop64), $pop14 i32.const $push62=, 0 - i64.load $2=, x+40($pop62) i32.const $push61=, 0 + i64.load $push15=, x+176($pop61) + i64.store $drop=, tmp+112($pop62), $pop15 i32.const $push60=, 0 - i64.load $push2=, x+16($pop60) - i64.store $drop=, tmp+16($pop61), $pop2 i32.const $push59=, 0 - i64.store $drop=, tmp+24($pop59), $0 + i64.load $push16=, x+184($pop59) + i64.store $drop=, tmp+120($pop60), $pop16 i32.const $push58=, 0 - i64.store $drop=, tmp+32($pop58), $1 i32.const $push57=, 0 - i64.store $drop=, tmp+40($pop57), $2 + i64.load $push17=, x+192($pop57) + i64.store $drop=, tmp+128($pop58), $pop17 i32.const $push56=, 0 - i64.load $0=, x+88($pop56) i32.const $push55=, 0 - i64.load $1=, x+96($pop55) + i64.load $push18=, x+200($pop55) + i64.store $drop=, tmp+136($pop56), $pop18 i32.const $push54=, 0 - i64.load $2=, x+104($pop54) i32.const $push53=, 0 + i64.load $push19=, x+240($pop53) + i64.store $drop=, tmp+144($pop54), $pop19 i32.const $push52=, 0 - i64.load $push3=, x+80($pop52) - i64.store $drop=, tmp+48($pop53), $pop3 i32.const $push51=, 0 - i64.store $drop=, tmp+56($pop51), $0 + i64.load $push20=, x+248($pop51) + i64.store $drop=, tmp+152($pop52), $pop20 i32.const $push50=, 0 - i64.store $drop=, tmp+64($pop50), $1 i32.const $push49=, 0 - i64.store $drop=, tmp+72($pop49), $2 + i64.load $push21=, x+256($pop49) + i64.store $drop=, tmp+160($pop50), $pop21 i32.const $push48=, 0 - i64.load $0=, x+120($pop48) i32.const $push47=, 0 - i64.load $1=, x+160($pop47) + i64.load $push22=, x+264($pop47) + i64.store $drop=, tmp+168($pop48), $pop22 i32.const $push46=, 0 - i64.load $2=, x+168($pop46) i32.const $push45=, 0 + i64.load $push23=, x+272($pop45) + i64.store $drop=, tmp+176($pop46), $pop23 i32.const $push44=, 0 - i64.load $push4=, x+112($pop44) - i64.store $drop=, tmp+80($pop45), $pop4 i32.const $push43=, 0 - i64.store $drop=, tmp+88($pop43), $0 + i64.load $push24=, x+280($pop43) + i64.store $drop=, tmp+184($pop44), $pop24 i32.const $push42=, 0 - i64.store $drop=, tmp+96($pop42), $1 i32.const $push41=, 0 - i64.store $drop=, tmp+104($pop41), $2 + i64.load $push25=, x+320($pop41) + i64.store $drop=, tmp+192($pop42), $pop25 i32.const $push40=, 0 - i64.load $0=, x+184($pop40) i32.const $push39=, 0 - i64.load $1=, x+192($pop39) + i64.load $push26=, x+328($pop39) + i64.store $drop=, tmp+200($pop40), $pop26 i32.const $push38=, 0 - i64.load $2=, x+200($pop38) i32.const $push37=, 0 + i64.load $push27=, x+336($pop37) + i64.store $drop=, tmp+208($pop38), $pop27 i32.const $push36=, 0 - i64.load $push5=, x+176($pop36) - i64.store $drop=, tmp+112($pop37), $pop5 i32.const $push35=, 0 - i64.store $drop=, tmp+120($pop35), $0 + i64.load $push28=, x+344($pop35) + i64.store $drop=, tmp+216($pop36), $pop28 i32.const $push34=, 0 - i64.store $drop=, tmp+128($pop34), $1 i32.const $push33=, 0 - i64.store $drop=, tmp+136($pop33), $2 + i64.load $push29=, x+352($pop33) + i64.store $drop=, tmp+224($pop34), $pop29 i32.const $push32=, 0 - i64.load $0=, x+248($pop32) i32.const $push31=, 0 - i64.load $1=, x+256($pop31) - i32.const $push30=, 0 - i64.load $2=, x+264($pop30) - i32.const $push29=, 0 - i32.const $push28=, 0 - i64.load $push6=, x+240($pop28) - i64.store $drop=, tmp+144($pop29), $pop6 - i32.const $push27=, 0 - i64.store $drop=, tmp+152($pop27), $0 - i32.const $push26=, 0 - i64.store $drop=, tmp+160($pop26), $1 - i32.const $push25=, 0 - i64.store $drop=, tmp+168($pop25), $2 - i32.const $push24=, 0 - i64.load $0=, x+280($pop24) - i32.const $push23=, 0 - i64.load $1=, x+320($pop23) - i32.const $push22=, 0 - i64.load $2=, x+328($pop22) - i32.const $push21=, 0 - i32.const $push20=, 0 - i64.load $push7=, x+272($pop20) - i64.store $drop=, tmp+176($pop21), $pop7 - i32.const $push19=, 0 - i64.store $drop=, tmp+184($pop19), $0 - i32.const $push18=, 0 - i64.store $drop=, tmp+192($pop18), $1 - i32.const $push17=, 0 - i64.store $drop=, tmp+200($pop17), $2 - i32.const $push16=, 0 - i64.load $0=, x+344($pop16) - i32.const $push15=, 0 - i64.load $1=, x+352($pop15) - i32.const $push14=, 0 - i64.load $2=, x+360($pop14) - i32.const $push13=, 0 - i32.const $push12=, 0 - i64.load $push8=, x+336($pop12) - i64.store $drop=, tmp+208($pop13), $pop8 - i32.const $push11=, 0 - i64.store $drop=, tmp+216($pop11), $0 - i32.const $push10=, 0 - i64.store $drop=, tmp+224($pop10), $1 - i32.const $push9=, 0 - i64.store $drop=, tmp+232($pop9), $2 - return + i64.load $push30=, x+360($pop31) + i64.store $drop=, tmp+232($pop32), $pop30 + # fallthrough-return .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test diff --git a/test/torture-s/pr36034-2.c.s b/test/torture-s/pr36034-2.c.s index e933c3d7a..7219ff8bf 100644 --- a/test/torture-s/pr36034-2.c.s +++ b/test/torture-s/pr36034-2.c.s @@ -5,45 +5,128 @@ .globl test .type test,@function test: # @test - .local i64, i64, i32, i32 # BB#0: # %entry - i32.const $3=, 0 - i32.const $2=, tmp -.LBB0_1: # %for.body - # =>This Inner Loop Header: Depth=1 - loop # label0: - i64.load $0=, x+16($3) - i32.const $push15=, 8 - i32.add $push1=, $2, $pop15 - i64.load $push0=, x+8($3) - i64.store $drop=, 0($pop1), $pop0 - i64.load $1=, x+24($3) - i32.const $push14=, 16 - i32.add $push2=, $2, $pop14 - i64.store $drop=, 0($pop2), $0 - i32.const $push13=, 24 - i32.add $push3=, $2, $pop13 - i64.store $drop=, 0($pop3), $1 - i64.load $0=, x($3) - i64.load $1=, x+40($3) - i32.const $push12=, 32 - i32.add $push5=, $2, $pop12 - i64.load $push4=, x+32($3) - i64.store $drop=, 0($pop5), $pop4 - i32.const $push11=, 40 - i32.add $push6=, $2, $pop11 - i64.store $drop=, 0($pop6), $1 - i64.store $drop=, 0($2), $0 - i32.const $push10=, 80 - i32.add $3=, $3, $pop10 - i32.const $push9=, 48 - i32.add $2=, $2, $pop9 - i32.const $push8=, 400 - i32.ne $push7=, $3, $pop8 - br_if 0, $pop7 # 0: up to label0 -# BB#2: # %for.end - end_loop # label1: - return + i32.const $push0=, 0 + i32.const $push89=, 0 + i64.load $push1=, x($pop89) + i64.store $drop=, tmp($pop0), $pop1 + i32.const $push88=, 0 + i32.const $push87=, 0 + i64.load $push2=, x+8($pop87) + i64.store $drop=, tmp+8($pop88), $pop2 + i32.const $push86=, 0 + i32.const $push85=, 0 + i64.load $push3=, x+16($pop85) + i64.store $drop=, tmp+16($pop86), $pop3 + i32.const $push84=, 0 + i32.const $push83=, 0 + i64.load $push4=, x+24($pop83) + i64.store $drop=, tmp+24($pop84), $pop4 + i32.const $push82=, 0 + i32.const $push81=, 0 + i64.load $push5=, x+32($pop81) + i64.store $drop=, tmp+32($pop82), $pop5 + i32.const $push80=, 0 + i32.const $push79=, 0 + i64.load $push6=, x+40($pop79) + i64.store $drop=, tmp+40($pop80), $pop6 + i32.const $push78=, 0 + i32.const $push77=, 0 + i64.load $push7=, x+80($pop77) + i64.store $drop=, tmp+48($pop78), $pop7 + i32.const $push76=, 0 + i32.const $push75=, 0 + i64.load $push8=, x+88($pop75) + i64.store $drop=, tmp+56($pop76), $pop8 + i32.const $push74=, 0 + i32.const $push73=, 0 + i64.load $push9=, x+96($pop73) + i64.store $drop=, tmp+64($pop74), $pop9 + i32.const $push72=, 0 + i32.const $push71=, 0 + i64.load $push10=, x+104($pop71) + i64.store $drop=, tmp+72($pop72), $pop10 + i32.const $push70=, 0 + i32.const $push69=, 0 + i64.load $push11=, x+112($pop69) + i64.store $drop=, tmp+80($pop70), $pop11 + i32.const $push68=, 0 + i32.const $push67=, 0 + i64.load $push12=, x+120($pop67) + i64.store $drop=, tmp+88($pop68), $pop12 + i32.const $push66=, 0 + i32.const $push65=, 0 + i64.load $push13=, x+160($pop65) + i64.store $drop=, tmp+96($pop66), $pop13 + i32.const $push64=, 0 + i32.const $push63=, 0 + i64.load $push14=, x+168($pop63) + i64.store $drop=, tmp+104($pop64), $pop14 + i32.const $push62=, 0 + i32.const $push61=, 0 + i64.load $push15=, x+176($pop61) + i64.store $drop=, tmp+112($pop62), $pop15 + i32.const $push60=, 0 + i32.const $push59=, 0 + i64.load $push16=, x+184($pop59) + i64.store $drop=, tmp+120($pop60), $pop16 + i32.const $push58=, 0 + i32.const $push57=, 0 + i64.load $push17=, x+192($pop57) + i64.store $drop=, tmp+128($pop58), $pop17 + i32.const $push56=, 0 + i32.const $push55=, 0 + i64.load $push18=, x+200($pop55) + i64.store $drop=, tmp+136($pop56), $pop18 + i32.const $push54=, 0 + i32.const $push53=, 0 + i64.load $push19=, x+240($pop53) + i64.store $drop=, tmp+144($pop54), $pop19 + i32.const $push52=, 0 + i32.const $push51=, 0 + i64.load $push20=, x+248($pop51) + i64.store $drop=, tmp+152($pop52), $pop20 + i32.const $push50=, 0 + i32.const $push49=, 0 + i64.load $push21=, x+256($pop49) + i64.store $drop=, tmp+160($pop50), $pop21 + i32.const $push48=, 0 + i32.const $push47=, 0 + i64.load $push22=, x+264($pop47) + i64.store $drop=, tmp+168($pop48), $pop22 + i32.const $push46=, 0 + i32.const $push45=, 0 + i64.load $push23=, x+272($pop45) + i64.store $drop=, tmp+176($pop46), $pop23 + i32.const $push44=, 0 + i32.const $push43=, 0 + i64.load $push24=, x+280($pop43) + i64.store $drop=, tmp+184($pop44), $pop24 + i32.const $push42=, 0 + i32.const $push41=, 0 + i64.load $push25=, x+320($pop41) + i64.store $drop=, tmp+192($pop42), $pop25 + i32.const $push40=, 0 + i32.const $push39=, 0 + i64.load $push26=, x+328($pop39) + i64.store $drop=, tmp+200($pop40), $pop26 + i32.const $push38=, 0 + i32.const $push37=, 0 + i64.load $push27=, x+336($pop37) + i64.store $drop=, tmp+208($pop38), $pop27 + i32.const $push36=, 0 + i32.const $push35=, 0 + i64.load $push28=, x+344($pop35) + i64.store $drop=, tmp+216($pop36), $pop28 + i32.const $push34=, 0 + i32.const $push33=, 0 + i64.load $push29=, x+352($pop33) + i64.store $drop=, tmp+224($pop34), $pop29 + i32.const $push32=, 0 + i32.const $push31=, 0 + i64.load $push30=, x+360($pop31) + i64.store $drop=, tmp+232($pop32), $pop30 + # fallthrough-return .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -54,74 +137,193 @@ test: # @test .type main,@function main: # @main .result i32 - .local i32, i32 # BB#0: # %entry call test@FUNCTION - i32.const $1=, 0 - i32.const $0=, tmp -.LBB1_1: # %for.cond1.preheader - # =>This Inner Loop Header: Depth=1 block - loop # label3: - f64.load $push0=, 0($0) - f64.const $push19=, -0x1p0 - f64.eq $push1=, $pop0, $pop19 - br_if 2, $pop1 # 2: down to label2 -# BB#2: # %for.cond1 - # in Loop: Header=BB1_1 Depth=1 - i32.const $push21=, 8 - i32.add $push2=, $0, $pop21 - f64.load $push3=, 0($pop2) - f64.const $push20=, -0x1p0 - f64.eq $push4=, $pop3, $pop20 - br_if 2, $pop4 # 2: down to label2 -# BB#3: # %for.cond1.1 - # in Loop: Header=BB1_1 Depth=1 - i32.const $push23=, 16 - i32.add $push5=, $0, $pop23 - f64.load $push6=, 0($pop5) - f64.const $push22=, -0x1p0 - f64.eq $push7=, $pop6, $pop22 - br_if 2, $pop7 # 2: down to label2 -# BB#4: # %for.cond1.2 - # in Loop: Header=BB1_1 Depth=1 - i32.const $push25=, 24 - i32.add $push8=, $0, $pop25 - f64.load $push9=, 0($pop8) - f64.const $push24=, -0x1p0 - f64.eq $push10=, $pop9, $pop24 - br_if 2, $pop10 # 2: down to label2 -# BB#5: # %for.cond1.3 - # in Loop: Header=BB1_1 Depth=1 - i32.const $push27=, 32 - i32.add $push11=, $0, $pop27 - f64.load $push12=, 0($pop11) - f64.const $push26=, -0x1p0 - f64.eq $push13=, $pop12, $pop26 - br_if 2, $pop13 # 2: down to label2 -# BB#6: # %for.cond1.4 - # in Loop: Header=BB1_1 Depth=1 - i32.const $push29=, 40 - i32.add $push14=, $0, $pop29 - f64.load $push15=, 0($pop14) - f64.const $push28=, -0x1p0 - f64.eq $push16=, $pop15, $pop28 - br_if 2, $pop16 # 2: down to label2 -# BB#7: # %for.cond1.5 - # in Loop: Header=BB1_1 Depth=1 - i32.const $push32=, 1 - i32.add $1=, $1, $pop32 - i32.const $push31=, 48 - i32.add $0=, $0, $pop31 - i32.const $push30=, 5 - i32.lt_s $push17=, $1, $pop30 - br_if 0, $pop17 # 0: up to label3 -# BB#8: # %for.end7 - end_loop # label4: - i32.const $push18=, 0 - return $pop18 -.LBB1_9: # %if.then - end_block # label2: + i32.const $push62=, 0 + f64.load $push29=, tmp($pop62) + f64.const $push61=, -0x1p0 + f64.eq $push30=, $pop29, $pop61 + br_if 0, $pop30 # 0: down to label0 +# BB#1: # %entry + i32.const $push64=, 0 + f64.load $push0=, tmp+8($pop64) + f64.const $push63=, -0x1p0 + f64.eq $push31=, $pop0, $pop63 + br_if 0, $pop31 # 0: down to label0 +# BB#2: # %entry + i32.const $push66=, 0 + f64.load $push1=, tmp+16($pop66) + f64.const $push65=, -0x1p0 + f64.eq $push32=, $pop1, $pop65 + br_if 0, $pop32 # 0: down to label0 +# BB#3: # %entry + i32.const $push68=, 0 + f64.load $push2=, tmp+24($pop68) + f64.const $push67=, -0x1p0 + f64.eq $push33=, $pop2, $pop67 + br_if 0, $pop33 # 0: down to label0 +# BB#4: # %entry + i32.const $push70=, 0 + f64.load $push3=, tmp+32($pop70) + f64.const $push69=, -0x1p0 + f64.eq $push34=, $pop3, $pop69 + br_if 0, $pop34 # 0: down to label0 +# BB#5: # %entry + i32.const $push72=, 0 + f64.load $push4=, tmp+40($pop72) + f64.const $push71=, -0x1p0 + f64.eq $push35=, $pop4, $pop71 + br_if 0, $pop35 # 0: down to label0 +# BB#6: # %entry + i32.const $push74=, 0 + f64.load $push5=, tmp+48($pop74) + f64.const $push73=, -0x1p0 + f64.eq $push36=, $pop5, $pop73 + br_if 0, $pop36 # 0: down to label0 +# BB#7: # %entry + i32.const $push76=, 0 + f64.load $push6=, tmp+56($pop76) + f64.const $push75=, -0x1p0 + f64.eq $push37=, $pop6, $pop75 + br_if 0, $pop37 # 0: down to label0 +# BB#8: # %entry + i32.const $push78=, 0 + f64.load $push7=, tmp+64($pop78) + f64.const $push77=, -0x1p0 + f64.eq $push38=, $pop7, $pop77 + br_if 0, $pop38 # 0: down to label0 +# BB#9: # %entry + i32.const $push80=, 0 + f64.load $push8=, tmp+72($pop80) + f64.const $push79=, -0x1p0 + f64.eq $push39=, $pop8, $pop79 + br_if 0, $pop39 # 0: down to label0 +# BB#10: # %entry + i32.const $push82=, 0 + f64.load $push9=, tmp+80($pop82) + f64.const $push81=, -0x1p0 + f64.eq $push40=, $pop9, $pop81 + br_if 0, $pop40 # 0: down to label0 +# BB#11: # %entry + i32.const $push84=, 0 + f64.load $push10=, tmp+88($pop84) + f64.const $push83=, -0x1p0 + f64.eq $push41=, $pop10, $pop83 + br_if 0, $pop41 # 0: down to label0 +# BB#12: # %entry + i32.const $push86=, 0 + f64.load $push11=, tmp+96($pop86) + f64.const $push85=, -0x1p0 + f64.eq $push42=, $pop11, $pop85 + br_if 0, $pop42 # 0: down to label0 +# BB#13: # %entry + i32.const $push88=, 0 + f64.load $push12=, tmp+104($pop88) + f64.const $push87=, -0x1p0 + f64.eq $push43=, $pop12, $pop87 + br_if 0, $pop43 # 0: down to label0 +# BB#14: # %entry + i32.const $push90=, 0 + f64.load $push13=, tmp+112($pop90) + f64.const $push89=, -0x1p0 + f64.eq $push44=, $pop13, $pop89 + br_if 0, $pop44 # 0: down to label0 +# BB#15: # %entry + i32.const $push92=, 0 + f64.load $push14=, tmp+120($pop92) + f64.const $push91=, -0x1p0 + f64.eq $push45=, $pop14, $pop91 + br_if 0, $pop45 # 0: down to label0 +# BB#16: # %entry + i32.const $push94=, 0 + f64.load $push15=, tmp+128($pop94) + f64.const $push93=, -0x1p0 + f64.eq $push46=, $pop15, $pop93 + br_if 0, $pop46 # 0: down to label0 +# BB#17: # %entry + i32.const $push96=, 0 + f64.load $push16=, tmp+136($pop96) + f64.const $push95=, -0x1p0 + f64.eq $push47=, $pop16, $pop95 + br_if 0, $pop47 # 0: down to label0 +# BB#18: # %entry + i32.const $push98=, 0 + f64.load $push17=, tmp+144($pop98) + f64.const $push97=, -0x1p0 + f64.eq $push48=, $pop17, $pop97 + br_if 0, $pop48 # 0: down to label0 +# BB#19: # %entry + i32.const $push100=, 0 + f64.load $push18=, tmp+152($pop100) + f64.const $push99=, -0x1p0 + f64.eq $push49=, $pop18, $pop99 + br_if 0, $pop49 # 0: down to label0 +# BB#20: # %entry + i32.const $push102=, 0 + f64.load $push19=, tmp+160($pop102) + f64.const $push101=, -0x1p0 + f64.eq $push50=, $pop19, $pop101 + br_if 0, $pop50 # 0: down to label0 +# BB#21: # %entry + i32.const $push104=, 0 + f64.load $push20=, tmp+168($pop104) + f64.const $push103=, -0x1p0 + f64.eq $push51=, $pop20, $pop103 + br_if 0, $pop51 # 0: down to label0 +# BB#22: # %entry + i32.const $push106=, 0 + f64.load $push21=, tmp+176($pop106) + f64.const $push105=, -0x1p0 + f64.eq $push52=, $pop21, $pop105 + br_if 0, $pop52 # 0: down to label0 +# BB#23: # %entry + i32.const $push108=, 0 + f64.load $push22=, tmp+184($pop108) + f64.const $push107=, -0x1p0 + f64.eq $push53=, $pop22, $pop107 + br_if 0, $pop53 # 0: down to label0 +# BB#24: # %entry + i32.const $push110=, 0 + f64.load $push23=, tmp+192($pop110) + f64.const $push109=, -0x1p0 + f64.eq $push54=, $pop23, $pop109 + br_if 0, $pop54 # 0: down to label0 +# BB#25: # %entry + i32.const $push112=, 0 + f64.load $push24=, tmp+200($pop112) + f64.const $push111=, -0x1p0 + f64.eq $push55=, $pop24, $pop111 + br_if 0, $pop55 # 0: down to label0 +# BB#26: # %entry + i32.const $push114=, 0 + f64.load $push25=, tmp+208($pop114) + f64.const $push113=, -0x1p0 + f64.eq $push56=, $pop25, $pop113 + br_if 0, $pop56 # 0: down to label0 +# BB#27: # %entry + i32.const $push116=, 0 + f64.load $push26=, tmp+216($pop116) + f64.const $push115=, -0x1p0 + f64.eq $push57=, $pop26, $pop115 + br_if 0, $pop57 # 0: down to label0 +# BB#28: # %entry + i32.const $push118=, 0 + f64.load $push27=, tmp+224($pop118) + f64.const $push117=, -0x1p0 + f64.eq $push58=, $pop27, $pop117 + br_if 0, $pop58 # 0: down to label0 +# BB#29: # %entry + i32.const $push120=, 0 + f64.load $push28=, tmp+232($pop120) + f64.const $push119=, -0x1p0 + f64.eq $push59=, $pop28, $pop119 + br_if 0, $pop59 # 0: down to label0 +# BB#30: # %for.cond1.5.4 + i32.const $push60=, 0 + return $pop60 +.LBB1_31: # %if.then + end_block # label0: call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/pr36038.c.s b/test/torture-s/pr36038.c.s index b6495578d..c01ad82ab 100644 --- a/test/torture-s/pr36038.c.s +++ b/test/torture-s/pr36038.c.s @@ -5,52 +5,52 @@ .globl doit .type doit,@function doit: # @doit - .local i32, i32, i32, i32 + .local i32, i32, i32 # BB#0: # %entry block - i32.const $push20=, 0 - i32.load $push19=, markstack_ptr($pop20) - tee_local $push18=, $3=, $pop19 - i32.const $push3=, -4 - i32.add $push4=, $pop18, $pop3 - i32.load $push17=, 0($pop4) - tee_local $push16=, $0=, $pop17 - i32.const $push5=, 6 - i32.eq $push6=, $pop16, $pop5 - br_if 0, $pop6 # 0: down to label0 + i32.const $push19=, 0 + i32.load $push18=, markstack_ptr($pop19) + tee_local $push17=, $0=, $pop18 + i32.const $push2=, -4 + i32.add $push3=, $pop17, $pop2 + i32.load $push16=, 0($pop3) + tee_local $push15=, $1=, $pop16 + i32.const $push4=, 6 + i32.eq $push5=, $pop15, $pop4 + br_if 0, $pop5 # 0: down to label0 # BB#1: # %while.body.preheader - i32.const $push23=, 0 - i32.load $push1=, stack_base($pop23) - i32.const $push2=, 40 - i32.add $2=, $pop1, $pop2 - i32.const $push9=, -6 - i32.add $1=, $0, $pop9 - i32.const $push22=, -8 - i32.add $push7=, $3, $pop22 - i32.load $push8=, 0($pop7) - i32.const $push10=, 3 - i32.shl $push11=, $pop8, $pop10 - i32.const $push21=, 3 - i32.shl $push12=, $0, $pop21 - i32.sub $0=, $pop11, $pop12 + i32.const $push22=, 0 + i32.load $push0=, stack_base($pop22) + i32.const $push1=, 40 + i32.add $2=, $pop0, $pop1 + i32.const $push21=, -8 + i32.add $push8=, $0, $pop21 + i32.load $push9=, 0($pop8) + i32.const $push6=, 3 + i32.shl $push10=, $pop9, $pop6 + i32.const $push20=, 3 + i32.shl $push7=, $1, $pop20 + i32.sub $0=, $pop10, $pop7 + i32.const $push11=, -6 + i32.add $1=, $1, $pop11 .LBB0_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.add $push14=, $2, $0 - i32.const $push26=, 16 - i32.add $push15=, $pop14, $pop26 - i64.load $push13=, 0($2) - i64.store $drop=, 0($pop15), $pop13 + i32.add $push12=, $2, $0 + i32.const $push27=, 16 + i32.add $push13=, $pop12, $pop27 + i64.load $push14=, 0($2) + i64.store $drop=, 0($pop13), $pop14 + i32.const $push26=, -8 + i32.add $2=, $2, $pop26 i32.const $push25=, 1 - i32.add $1=, $1, $pop25 - i32.const $push24=, -8 - i32.add $push0=, $2, $pop24 - copy_local $2=, $pop0 - br_if 0, $1 # 0: up to label1 + i32.add $push24=, $1, $pop25 + tee_local $push23=, $1=, $pop24 + br_if 0, $pop23 # 0: up to label1 .LBB0_3: # %while.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size doit, .Lfunc_end0-doit @@ -61,57 +61,58 @@ doit: # @doit .type main,@function main: # @main .result i32 + .local i64 # BB#0: # %entry - i32.const $push31=, 0 - i32.const $push8=, indices+36 - i32.store $drop=, markstack_ptr($pop31), $pop8 i32.const $push30=, 0 - i32.const $push9=, 2 - i32.store $drop=, indices+32($pop30), $pop9 + i64.const $push0=, 1 + i64.store $drop=, list+8($pop30), $pop0 i32.const $push29=, 0 - i32.const $push10=, 1 - i32.store $drop=, indices+28($pop29), $pop10 + i64.const $push1=, 0 + i64.store $drop=, list($pop29), $pop1 i32.const $push28=, 0 - i32.const $push11=, list+16 - i32.store $drop=, stack_base($pop28), $pop11 + i64.const $push2=, 2 + i64.store $drop=, list+16($pop28), $pop2 i32.const $push27=, 0 - i64.const $push1=, 0 - i64.store $drop=, list($pop27), $pop1 + i64.const $push3=, 3 + i64.store $drop=, list+24($pop27), $pop3 i32.const $push26=, 0 - i64.const $push3=, 1 - i64.store $drop=, list+8($pop26), $pop3 + i64.const $push4=, 4 + i64.store $0=, list+32($pop26), $pop4 i32.const $push25=, 0 - i64.const $push4=, 2 - i64.store $drop=, list+16($pop25), $pop4 + i64.const $push5=, 9 + i64.store $drop=, list+72($pop25), $pop5 i32.const $push24=, 0 - i64.const $push5=, 3 - i64.store $drop=, list+24($pop24), $pop5 + i32.const $push6=, indices+36 + i32.store $drop=, markstack_ptr($pop24), $pop6 i32.const $push23=, 0 - i64.const $push7=, 9 - i64.store $drop=, list+72($pop23), $pop7 + i32.const $push7=, 2 + i32.store $drop=, indices+32($pop23), $pop7 i32.const $push22=, 0 - i64.const $push12=, 7 - i64.store $drop=, list+64($pop22), $pop12 + i32.const $push8=, 1 + i32.store $drop=, indices+28($pop22), $pop8 i32.const $push21=, 0 - i64.const $push13=, 6 - i64.store $drop=, list+56($pop21), $pop13 + i32.const $push9=, list+16 + i32.store $drop=, stack_base($pop21), $pop9 i32.const $push20=, 0 - i64.const $push14=, 5 - i64.store $drop=, list+48($pop20), $pop14 + i64.const $push10=, 7 + i64.store $drop=, list+64($pop20), $pop10 i32.const $push19=, 0 + i64.const $push11=, 6 + i64.store $drop=, list+56($pop19), $pop11 i32.const $push18=, 0 - i64.const $push6=, 4 - i64.store $push0=, list+32($pop18), $pop6 - i64.store $drop=, list+40($pop19), $pop0 + i64.const $push12=, 5 + i64.store $drop=, list+48($pop18), $pop12 + i32.const $push17=, 0 + i64.store $drop=, list+40($pop17), $0 block i32.const $push15=, expect - i32.const $push2=, list - i32.const $push16=, 80 - i32.call $push17=, memcmp@FUNCTION, $pop15, $pop2, $pop16 - br_if 0, $pop17 # 0: down to label3 + i32.const $push14=, list + i32.const $push13=, 80 + i32.call $push16=, memcmp@FUNCTION, $pop15, $pop14, $pop13 + br_if 0, $pop16 # 0: down to label3 # BB#1: # %if.end - i32.const $push32=, 0 - return $pop32 + i32.const $push31=, 0 + return $pop31 .LBB1_2: # %if.then end_block # label3: call abort@FUNCTION diff --git a/test/torture-s/pr36077.c.s b/test/torture-s/pr36077.c.s index bb65681ce..99f564f54 100644 --- a/test/torture-s/pr36077.c.s +++ b/test/torture-s/pr36077.c.s @@ -9,7 +9,7 @@ test: # @test .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -22,7 +22,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr36093.c.s b/test/torture-s/pr36093.c.s index 2a766e58c..b1b1daf03 100644 --- a/test/torture-s/pr36093.c.s +++ b/test/torture-s/pr36093.c.s @@ -7,10 +7,10 @@ main: # @main .result i32 # BB#0: # %if.end - i32.const $push0=, foo - i32.const $push2=, 97 - i32.const $push1=, 129 - i32.call $drop=, memset@FUNCTION, $pop0, $pop2, $pop1 + i32.const $push2=, foo + i32.const $push1=, 97 + i32.const $push0=, 129 + i32.call $drop=, memset@FUNCTION, $pop2, $pop1, $pop0 i32.const $push4=, foo+129 i32.const $push3=, 98 i32.const $push12=, 129 @@ -24,7 +24,7 @@ main: # @main i32.const $push10=, 129 i32.call $drop=, memset@FUNCTION, $pop8, $pop7, $pop10 i32.const $push9=, 0 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr36321.c.s b/test/torture-s/pr36321.c.s index 3edda7fff..70f58fbf3 100644 --- a/test/torture-s/pr36321.c.s +++ b/test/torture-s/pr36321.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +23,7 @@ main: # @main i32.const $push0=, 0 i32.load $drop=, argp($pop0) i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr36339.c.s b/test/torture-s/pr36339.c.s index 2cdead0aa..7bba09f69 100644 --- a/test/torture-s/pr36339.c.s +++ b/test/torture-s/pr36339.c.s @@ -9,26 +9,27 @@ try_a: # @try_a .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push12=, $pop4, $pop5 - i32.store $push14=, 0($pop6), $pop12 + i32.store $push14=, __stack_pointer($pop6), $pop12 tee_local $push13=, $1=, $pop14 - i32.store $drop=, 8($pop13), $0 i32.const $push0=, 0 - i32.store $drop=, 12($1), $pop0 + i32.store $drop=, 12($pop13), $pop0 + i32.store $drop=, 8($1), $0 i32.const $push10=, 8 i32.add $push11=, $1, $pop10 i32.const $push1=, 1 i32.or $push2=, $pop11, $pop1 i32.call $0=, check_a@FUNCTION, $pop2 - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 16 i32.add $push8=, $1, $pop7 - i32.store $drop=, 0($pop9), $pop8 - return $0 + i32.store $drop=, __stack_pointer($pop9), $pop8 + copy_local $push15=, $0 + # fallthrough-return: $pop15 .endfunc .Lfunc_end0: .size try_a, .Lfunc_end0-try_a @@ -60,7 +61,8 @@ check_a: # @check_a i32.const $1=, -1 .LBB1_3: # %cleanup end_block # label0: - return $1 + copy_local $push7=, $1 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size check_a, .Lfunc_end1-check_a diff --git a/test/torture-s/pr36343.c.s b/test/torture-s/pr36343.c.s index 24067d63b..cf3965f88 100644 --- a/test/torture-s/pr36343.c.s +++ b/test/torture-s/pr36343.c.s @@ -9,7 +9,7 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, 0($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -21,23 +21,23 @@ bar: # @bar foo: # @foo .param i32 .result f32 - .local f32, i32, i32 + .local i32, i32, f32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push15=, $pop5, $pop6 - i32.store $push19=, 0($pop7), $pop15 - tee_local $push18=, $3=, $pop19 + i32.store $push19=, __stack_pointer($pop7), $pop15 + tee_local $push18=, $1=, $pop19 i32.const $push0=, 0 i32.store $drop=, 12($pop18), $pop0 i32.const $push1=, 1065353216 - i32.store $drop=, 8($3), $pop1 + i32.store $drop=, 8($1), $pop1 i32.const $push11=, 12 - i32.add $push12=, $3, $pop11 + i32.add $push12=, $1, $pop11 i32.const $push13=, 8 - i32.add $push14=, $3, $pop13 + i32.add $push14=, $1, $pop13 i32.select $push17=, $pop12, $pop14, $0 tee_local $push16=, $2=, $pop17 call bar@FUNCTION, $pop16 @@ -48,18 +48,19 @@ foo: # @foo # BB#1: # %if.then2 i32.load $push2=, 0($2) i32.load $push3=, 0($pop2) - f32.convert_s/i32 $1=, $pop3 + f32.convert_s/i32 $3=, $pop3 br 1 # 1: down to label0 .LBB1_2: # %if.end3 end_block # label1: - f32.load $1=, 8($3) + f32.load $3=, 8($1) .LBB1_3: # %cleanup end_block # label0: - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 - i32.add $push9=, $3, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return $1 + i32.add $push9=, $1, $pop8 + i32.store $drop=, __stack_pointer($pop10), $pop9 + copy_local $push21=, $3 + # fallthrough-return: $pop21 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/pr36691.c.s b/test/torture-s/pr36691.c.s index 6be61d731..e7aaac5ff 100644 --- a/test/torture-s/pr36691.c.s +++ b/test/torture-s/pr36691.c.s @@ -9,7 +9,7 @@ func_1: # @func_1 i32.const $push0=, 0 i32.const $push1=, 0 i32.store8 $drop=, g_5($pop0), $pop1 - return + # fallthrough-return .endfunc .Lfunc_end0: .size func_1, .Lfunc_end0-func_1 @@ -24,7 +24,7 @@ main: # @main i32.const $push1=, 0 i32.const $push2=, 0 i32.store8 $push0=, g_5($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr36765.c.s b/test/torture-s/pr36765.c.s index 2e8ba18bf..e980d177f 100644 --- a/test/torture-s/pr36765.c.s +++ b/test/torture-s/pr36765.c.s @@ -20,7 +20,7 @@ foo: # @foo i32.const $push5=, 1 i32.store $drop=, 0($pop4), $pop5 i32.load $push6=, 0($1) - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr37102.c.s b/test/torture-s/pr37102.c.s index 4401b0483..7918ca3d9 100644 --- a/test/torture-s/pr37102.c.s +++ b/test/torture-s/pr37102.c.s @@ -34,17 +34,18 @@ main: # @main block i32.const $push8=, 0 i32.load $push0=, c($pop8) - i32.eqz $push14=, $pop0 - br_if 0, $pop14 # 0: down to label1 + i32.eqz $push16=, $pop0 + br_if 0, $pop16 # 0: down to label1 # BB#1: # %if.then.3 i32.const $push10=, 0 i32.store $drop=, a($pop10), $0 .LBB1_2: # %for.inc.3 end_block # label1: - i32.const $push13=, 0 - i32.store $drop=, a($pop13), $0 + i32.const $push15=, 0 + i32.store $push14=, a($pop15), $0 + tee_local $push13=, $0=, $pop14 i32.const $push3=, 2 - i32.shl $push4=, $0, $pop3 + i32.shl $push4=, $pop13, $pop3 i32.const $push5=, 1 i32.or $push6=, $pop4, $pop5 i32.const $push12=, 0 @@ -53,7 +54,7 @@ main: # @main i32.select $push7=, $pop6, $pop12, $pop2 call foo@FUNCTION, $pop7 i32.const $push11=, 0 - return $pop11 + # fallthrough-return: $pop11 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr37125.c.s b/test/torture-s/pr37125.c.s index 03510090b..9666e8e77 100644 --- a/test/torture-s/pr37125.c.s +++ b/test/torture-s/pr37125.c.s @@ -32,7 +32,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr37573.c.s b/test/torture-s/pr37573.c.s index 608008079..4e91b130d 100644 --- a/test/torture-s/pr37573.c.s +++ b/test/torture-s/pr37573.c.s @@ -9,10 +9,10 @@ main: # @main # BB#0: # %entry call bar@FUNCTION block - i32.const $push1=, p - i32.const $push0=, q - i32.const $push2=, 23 - i32.call $push3=, memcmp@FUNCTION, $pop1, $pop0, $pop2 + i32.const $push2=, p + i32.const $push1=, q + i32.const $push0=, 23 + i32.call $push3=, memcmp@FUNCTION, $pop2, $pop1, $pop0 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end i32.const $push4=, 0 @@ -30,232 +30,233 @@ main: # @main bar: # @bar .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $3=, 41589 - i32.const $push81=, __stack_pointer - i32.const $push78=, __stack_pointer - i32.load $push79=, 0($pop78) + i32.const $2=, 41589 + i32.const $push81=, 0 + i32.const $push78=, 0 + i32.load $push79=, __stack_pointer($pop78) i32.const $push80=, 2512 i32.sub $push131=, $pop79, $pop80 - i32.store $push134=, 0($pop81), $pop131 - tee_local $push133=, $2=, $pop134 + i32.store $push134=, __stack_pointer($pop81), $pop131 + tee_local $push133=, $0=, $pop134 i32.const $push0=, 16 i32.add $push1=, $pop133, $pop0 i32.const $push132=, 41589 i32.store $drop=, 0($pop1), $pop132 i32.const $push2=, 20 - i32.add $0=, $2, $pop2 - i32.const $1=, 1 + i32.add $1=, $0, $pop2 + i32.const $3=, 1 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push141=, 30 - i32.shr_u $push3=, $3, $pop141 - i32.xor $push4=, $pop3, $3 - i32.const $push140=, 1812433253 - i32.mul $push5=, $pop4, $pop140 - i32.add $push139=, $pop5, $1 - tee_local $push138=, $3=, $pop139 - i32.store $drop=, 0($0), $pop138 - i32.const $push137=, 1 - i32.add $1=, $1, $pop137 - i32.const $push136=, 4 - i32.add $0=, $0, $pop136 + i32.const $push143=, 30 + i32.shr_u $push3=, $2, $pop143 + i32.xor $push4=, $pop3, $2 + i32.const $push142=, 1812433253 + i32.mul $push5=, $pop4, $pop142 + i32.add $push141=, $pop5, $3 + tee_local $push140=, $2=, $pop141 + i32.store $drop=, 0($1), $pop140 + i32.const $push139=, 4 + i32.add $1=, $1, $pop139 + i32.const $push138=, 1 + i32.add $push137=, $3, $pop138 + tee_local $push136=, $3=, $pop137 i32.const $push135=, 624 - i32.ne $push6=, $1, $pop135 + i32.ne $push6=, $pop136, $pop135 br_if 0, $pop6 # 0: up to label1 # BB#2: # %for.end end_loop # label2: i32.const $push7=, 1 - i32.store $drop=, 12($2), $pop7 + i32.store $drop=, 12($0), $pop7 i32.const $push9=, 0 i32.const $push85=, 8 - i32.add $push86=, $2, $pop85 + i32.add $push86=, $0, $pop85 i32.call $push8=, foo@FUNCTION, $pop86 - i32.const $push186=, 0 - i32.load8_u $push10=, p($pop186) + i32.const $push188=, 0 + i32.load8_u $push10=, p($pop188) i32.xor $push11=, $pop8, $pop10 i32.store8 $drop=, p($pop9), $pop11 - i32.const $push185=, 0 + i32.const $push187=, 0 i32.const $push87=, 8 - i32.add $push88=, $2, $pop87 + i32.add $push88=, $0, $pop87 i32.call $push12=, foo@FUNCTION, $pop88 - i32.const $push184=, 0 - i32.load8_u $push13=, p+1($pop184) + i32.const $push186=, 0 + i32.load8_u $push13=, p+1($pop186) i32.xor $push14=, $pop12, $pop13 - i32.store8 $drop=, p+1($pop185), $pop14 - i32.const $push183=, 0 + i32.store8 $drop=, p+1($pop187), $pop14 + i32.const $push185=, 0 i32.const $push89=, 8 - i32.add $push90=, $2, $pop89 + i32.add $push90=, $0, $pop89 i32.call $push15=, foo@FUNCTION, $pop90 - i32.const $push182=, 0 - i32.load8_u $push16=, p+2($pop182) + i32.const $push184=, 0 + i32.load8_u $push16=, p+2($pop184) i32.xor $push17=, $pop15, $pop16 - i32.store8 $drop=, p+2($pop183), $pop17 - i32.const $push181=, 0 + i32.store8 $drop=, p+2($pop185), $pop17 + i32.const $push183=, 0 i32.const $push91=, 8 - i32.add $push92=, $2, $pop91 + i32.add $push92=, $0, $pop91 i32.call $push18=, foo@FUNCTION, $pop92 - i32.const $push180=, 0 - i32.load8_u $push19=, p+3($pop180) + i32.const $push182=, 0 + i32.load8_u $push19=, p+3($pop182) i32.xor $push20=, $pop18, $pop19 - i32.store8 $drop=, p+3($pop181), $pop20 - i32.const $push179=, 0 + i32.store8 $drop=, p+3($pop183), $pop20 + i32.const $push181=, 0 i32.const $push93=, 8 - i32.add $push94=, $2, $pop93 + i32.add $push94=, $0, $pop93 i32.call $push21=, foo@FUNCTION, $pop94 - i32.const $push178=, 0 - i32.load8_u $push22=, p+4($pop178) + i32.const $push180=, 0 + i32.load8_u $push22=, p+4($pop180) i32.xor $push23=, $pop21, $pop22 - i32.store8 $drop=, p+4($pop179), $pop23 - i32.const $push177=, 0 + i32.store8 $drop=, p+4($pop181), $pop23 + i32.const $push179=, 0 i32.const $push95=, 8 - i32.add $push96=, $2, $pop95 + i32.add $push96=, $0, $pop95 i32.call $push24=, foo@FUNCTION, $pop96 - i32.const $push176=, 0 - i32.load8_u $push25=, p+5($pop176) + i32.const $push178=, 0 + i32.load8_u $push25=, p+5($pop178) i32.xor $push26=, $pop24, $pop25 - i32.store8 $drop=, p+5($pop177), $pop26 - i32.const $push175=, 0 + i32.store8 $drop=, p+5($pop179), $pop26 + i32.const $push177=, 0 i32.const $push97=, 8 - i32.add $push98=, $2, $pop97 + i32.add $push98=, $0, $pop97 i32.call $push27=, foo@FUNCTION, $pop98 - i32.const $push174=, 0 - i32.load8_u $push28=, p+6($pop174) + i32.const $push176=, 0 + i32.load8_u $push28=, p+6($pop176) i32.xor $push29=, $pop27, $pop28 - i32.store8 $drop=, p+6($pop175), $pop29 - i32.const $push173=, 0 + i32.store8 $drop=, p+6($pop177), $pop29 + i32.const $push175=, 0 i32.const $push99=, 8 - i32.add $push100=, $2, $pop99 + i32.add $push100=, $0, $pop99 i32.call $push30=, foo@FUNCTION, $pop100 - i32.const $push172=, 0 - i32.load8_u $push31=, p+7($pop172) + i32.const $push174=, 0 + i32.load8_u $push31=, p+7($pop174) i32.xor $push32=, $pop30, $pop31 - i32.store8 $drop=, p+7($pop173), $pop32 - i32.const $push171=, 0 + i32.store8 $drop=, p+7($pop175), $pop32 + i32.const $push173=, 0 i32.const $push101=, 8 - i32.add $push102=, $2, $pop101 + i32.add $push102=, $0, $pop101 i32.call $push33=, foo@FUNCTION, $pop102 - i32.const $push170=, 0 - i32.load8_u $push34=, p+8($pop170) + i32.const $push172=, 0 + i32.load8_u $push34=, p+8($pop172) i32.xor $push35=, $pop33, $pop34 - i32.store8 $drop=, p+8($pop171), $pop35 - i32.const $push169=, 0 + i32.store8 $drop=, p+8($pop173), $pop35 + i32.const $push171=, 0 i32.const $push103=, 8 - i32.add $push104=, $2, $pop103 + i32.add $push104=, $0, $pop103 i32.call $push36=, foo@FUNCTION, $pop104 - i32.const $push168=, 0 - i32.load8_u $push37=, p+9($pop168) + i32.const $push170=, 0 + i32.load8_u $push37=, p+9($pop170) i32.xor $push38=, $pop36, $pop37 - i32.store8 $drop=, p+9($pop169), $pop38 - i32.const $push167=, 0 + i32.store8 $drop=, p+9($pop171), $pop38 + i32.const $push169=, 0 i32.const $push105=, 8 - i32.add $push106=, $2, $pop105 + i32.add $push106=, $0, $pop105 i32.call $push39=, foo@FUNCTION, $pop106 - i32.const $push166=, 0 - i32.load8_u $push40=, p+10($pop166) + i32.const $push168=, 0 + i32.load8_u $push40=, p+10($pop168) i32.xor $push41=, $pop39, $pop40 - i32.store8 $drop=, p+10($pop167), $pop41 - i32.const $push165=, 0 + i32.store8 $drop=, p+10($pop169), $pop41 + i32.const $push167=, 0 i32.const $push107=, 8 - i32.add $push108=, $2, $pop107 + i32.add $push108=, $0, $pop107 i32.call $push42=, foo@FUNCTION, $pop108 - i32.const $push164=, 0 - i32.load8_u $push43=, p+11($pop164) + i32.const $push166=, 0 + i32.load8_u $push43=, p+11($pop166) i32.xor $push44=, $pop42, $pop43 - i32.store8 $drop=, p+11($pop165), $pop44 - i32.const $push163=, 0 + i32.store8 $drop=, p+11($pop167), $pop44 + i32.const $push165=, 0 i32.const $push109=, 8 - i32.add $push110=, $2, $pop109 + i32.add $push110=, $0, $pop109 i32.call $push45=, foo@FUNCTION, $pop110 - i32.const $push162=, 0 - i32.load8_u $push46=, p+12($pop162) + i32.const $push164=, 0 + i32.load8_u $push46=, p+12($pop164) i32.xor $push47=, $pop45, $pop46 - i32.store8 $drop=, p+12($pop163), $pop47 - i32.const $push161=, 0 + i32.store8 $drop=, p+12($pop165), $pop47 + i32.const $push163=, 0 i32.const $push111=, 8 - i32.add $push112=, $2, $pop111 + i32.add $push112=, $0, $pop111 i32.call $push48=, foo@FUNCTION, $pop112 - i32.const $push160=, 0 - i32.load8_u $push49=, p+13($pop160) + i32.const $push162=, 0 + i32.load8_u $push49=, p+13($pop162) i32.xor $push50=, $pop48, $pop49 - i32.store8 $drop=, p+13($pop161), $pop50 - i32.const $push159=, 0 + i32.store8 $drop=, p+13($pop163), $pop50 + i32.const $push161=, 0 i32.const $push113=, 8 - i32.add $push114=, $2, $pop113 + i32.add $push114=, $0, $pop113 i32.call $push51=, foo@FUNCTION, $pop114 - i32.const $push158=, 0 - i32.load8_u $push52=, p+14($pop158) + i32.const $push160=, 0 + i32.load8_u $push52=, p+14($pop160) i32.xor $push53=, $pop51, $pop52 - i32.store8 $drop=, p+14($pop159), $pop53 - i32.const $push157=, 0 + i32.store8 $drop=, p+14($pop161), $pop53 + i32.const $push159=, 0 i32.const $push115=, 8 - i32.add $push116=, $2, $pop115 + i32.add $push116=, $0, $pop115 i32.call $push54=, foo@FUNCTION, $pop116 - i32.const $push156=, 0 - i32.load8_u $push55=, p+15($pop156) + i32.const $push158=, 0 + i32.load8_u $push55=, p+15($pop158) i32.xor $push56=, $pop54, $pop55 - i32.store8 $drop=, p+15($pop157), $pop56 - i32.const $push155=, 0 + i32.store8 $drop=, p+15($pop159), $pop56 + i32.const $push157=, 0 i32.const $push117=, 8 - i32.add $push118=, $2, $pop117 + i32.add $push118=, $0, $pop117 i32.call $push57=, foo@FUNCTION, $pop118 - i32.const $push154=, 0 - i32.load8_u $push58=, p+16($pop154) + i32.const $push156=, 0 + i32.load8_u $push58=, p+16($pop156) i32.xor $push59=, $pop57, $pop58 - i32.store8 $drop=, p+16($pop155), $pop59 - i32.const $push153=, 0 + i32.store8 $drop=, p+16($pop157), $pop59 + i32.const $push155=, 0 i32.const $push119=, 8 - i32.add $push120=, $2, $pop119 + i32.add $push120=, $0, $pop119 i32.call $push60=, foo@FUNCTION, $pop120 - i32.const $push152=, 0 - i32.load8_u $push61=, p+17($pop152) + i32.const $push154=, 0 + i32.load8_u $push61=, p+17($pop154) i32.xor $push62=, $pop60, $pop61 - i32.store8 $drop=, p+17($pop153), $pop62 - i32.const $push151=, 0 + i32.store8 $drop=, p+17($pop155), $pop62 + i32.const $push153=, 0 i32.const $push121=, 8 - i32.add $push122=, $2, $pop121 + i32.add $push122=, $0, $pop121 i32.call $push63=, foo@FUNCTION, $pop122 - i32.const $push150=, 0 - i32.load8_u $push64=, p+18($pop150) + i32.const $push152=, 0 + i32.load8_u $push64=, p+18($pop152) i32.xor $push65=, $pop63, $pop64 - i32.store8 $drop=, p+18($pop151), $pop65 - i32.const $push149=, 0 + i32.store8 $drop=, p+18($pop153), $pop65 + i32.const $push151=, 0 i32.const $push123=, 8 - i32.add $push124=, $2, $pop123 + i32.add $push124=, $0, $pop123 i32.call $push66=, foo@FUNCTION, $pop124 - i32.const $push148=, 0 - i32.load8_u $push67=, p+19($pop148) + i32.const $push150=, 0 + i32.load8_u $push67=, p+19($pop150) i32.xor $push68=, $pop66, $pop67 - i32.store8 $drop=, p+19($pop149), $pop68 - i32.const $push147=, 0 + i32.store8 $drop=, p+19($pop151), $pop68 + i32.const $push149=, 0 i32.const $push125=, 8 - i32.add $push126=, $2, $pop125 + i32.add $push126=, $0, $pop125 i32.call $push69=, foo@FUNCTION, $pop126 - i32.const $push146=, 0 - i32.load8_u $push70=, p+20($pop146) + i32.const $push148=, 0 + i32.load8_u $push70=, p+20($pop148) i32.xor $push71=, $pop69, $pop70 - i32.store8 $drop=, p+20($pop147), $pop71 - i32.const $push145=, 0 + i32.store8 $drop=, p+20($pop149), $pop71 + i32.const $push147=, 0 i32.const $push127=, 8 - i32.add $push128=, $2, $pop127 + i32.add $push128=, $0, $pop127 i32.call $push72=, foo@FUNCTION, $pop128 - i32.const $push144=, 0 - i32.load8_u $push73=, p+21($pop144) + i32.const $push146=, 0 + i32.load8_u $push73=, p+21($pop146) i32.xor $push74=, $pop72, $pop73 - i32.store8 $drop=, p+21($pop145), $pop74 - i32.const $push143=, 0 + i32.store8 $drop=, p+21($pop147), $pop74 + i32.const $push145=, 0 i32.const $push129=, 8 - i32.add $push130=, $2, $pop129 + i32.add $push130=, $0, $pop129 i32.call $push75=, foo@FUNCTION, $pop130 - i32.const $push142=, 0 - i32.load8_u $push76=, p+22($pop142) + i32.const $push144=, 0 + i32.load8_u $push76=, p+22($pop144) i32.xor $push77=, $pop75, $pop76 - i32.store8 $drop=, p+22($pop143), $pop77 - i32.const $push84=, __stack_pointer + i32.store8 $drop=, p+22($pop145), $pop77 + i32.const $push84=, 0 i32.const $push82=, 2512 - i32.add $push83=, $2, $pop82 - i32.store $drop=, 0($pop84), $pop83 - return + i32.add $push83=, $0, $pop82 + i32.store $drop=, __stack_pointer($pop84), $pop83 + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -277,75 +278,77 @@ foo: # @foo i32.const $push39=, 8 i32.add $push4=, $0, $pop39 i32.store $drop=, 0($0), $pop4 - i32.load $2=, 8($0) - i32.const $1=, 0 + i32.load $4=, 8($0) + i32.const $3=, 0 .LBB2_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label4: - i32.add $push53=, $0, $1 - tee_local $push52=, $4=, $pop53 - i32.const $push51=, 8 - i32.add $push17=, $pop52, $pop51 - i32.const $push50=, 0 - i32.const $push49=, 12 - i32.add $push5=, $4, $pop49 - i32.load $push48=, 0($pop5) - tee_local $push47=, $3=, $pop48 - i32.const $push46=, 1 - i32.and $push10=, $pop47, $pop46 - i32.sub $push11=, $pop50, $pop10 - i32.const $push45=, -1727483681 - i32.and $push12=, $pop11, $pop45 - i32.const $push44=, 1596 - i32.add $push13=, $4, $pop44 - i32.load $push14=, 0($pop13) - i32.xor $push15=, $pop12, $pop14 - i32.xor $push6=, $3, $2 - i32.const $push43=, 2147483646 - i32.and $push7=, $pop6, $pop43 - i32.xor $push8=, $pop7, $2 - i32.const $push42=, 1 - i32.shr_u $push9=, $pop8, $pop42 - i32.xor $push16=, $pop15, $pop9 + i32.add $push55=, $0, $3 + tee_local $push54=, $2=, $pop55 + i32.const $push53=, 8 + i32.add $push17=, $pop54, $pop53 + i32.const $push52=, 0 + i32.const $push51=, 12 + i32.add $push5=, $2, $pop51 + i32.load $push50=, 0($pop5) + tee_local $push49=, $1=, $pop50 + i32.const $push48=, 1 + i32.and $push6=, $pop49, $pop48 + i32.sub $push7=, $pop52, $pop6 + i32.const $push47=, -1727483681 + i32.and $push8=, $pop7, $pop47 + i32.const $push46=, 1596 + i32.add $push9=, $2, $pop46 + i32.load $push10=, 0($pop9) + i32.xor $push11=, $pop8, $pop10 + i32.xor $push12=, $1, $4 + i32.const $push45=, 2147483646 + i32.and $push13=, $pop12, $pop45 + i32.xor $push14=, $pop13, $4 + i32.const $push44=, 1 + i32.shr_u $push15=, $pop14, $pop44 + i32.xor $push16=, $pop11, $pop15 i32.store $drop=, 0($pop17), $pop16 - i32.const $push41=, 4 - i32.add $1=, $1, $pop41 - copy_local $2=, $3 + copy_local $4=, $1 + i32.const $push43=, 4 + i32.add $push42=, $3, $pop43 + tee_local $push41=, $3=, $pop42 i32.const $push40=, 908 - i32.ne $push18=, $1, $pop40 + i32.ne $push18=, $pop41, $pop40 br_if 0, $pop18 # 0: up to label4 .LBB2_3: # %if.end end_loop # label5: end_block # label3: - i32.load $push59=, 0($0) - tee_local $push58=, $2=, $pop59 - i32.load $1=, 0($pop58) + i32.load $push63=, 0($0) + tee_local $push62=, $4=, $pop63 i32.const $push19=, 4 - i32.add $push20=, $2, $pop19 + i32.add $push20=, $pop62, $pop19 i32.store $drop=, 0($0), $pop20 + i32.load $push61=, 0($4) + tee_local $push60=, $4=, $pop61 i32.const $push21=, 11 - i32.shr_u $push22=, $1, $pop21 - i32.xor $push57=, $1, $pop22 - tee_local $push56=, $1=, $pop57 + i32.shr_u $push22=, $pop60, $pop21 + i32.xor $push59=, $pop22, $4 + tee_local $push58=, $4=, $pop59 i32.const $push23=, 7 - i32.shl $push24=, $pop56, $pop23 + i32.shl $push24=, $pop58, $pop23 i32.const $push25=, -1658038656 i32.and $push26=, $pop24, $pop25 - i32.xor $push55=, $pop26, $1 - tee_local $push54=, $1=, $pop55 + i32.xor $push57=, $pop26, $4 + tee_local $push56=, $4=, $pop57 i32.const $push27=, 15 - i32.shl $push28=, $pop54, $pop27 + i32.shl $push28=, $pop56, $pop27 i32.const $push29=, 130023424 i32.and $push30=, $pop28, $pop29 - i32.xor $push31=, $pop30, $1 + i32.xor $push31=, $pop30, $4 i32.const $push32=, 18 i32.shr_u $push33=, $pop31, $pop32 - i32.xor $push34=, $pop33, $1 + i32.xor $push34=, $pop33, $4 i32.const $push35=, 1 i32.shr_u $push36=, $pop34, $pop35 i32.const $push37=, 255 i32.and $push38=, $pop36, $pop37 - return $pop38 + # fallthrough-return: $pop38 .endfunc .Lfunc_end2: .size foo, .Lfunc_end2-foo diff --git a/test/torture-s/pr37882.c.s b/test/torture-s/pr37882.c.s index e8110d701..dc9601736 100644 --- a/test/torture-s/pr37882.c.s +++ b/test/torture-s/pr37882.c.s @@ -16,7 +16,7 @@ main: # @main i32.or $push5=, $pop3, $pop4 i32.store8 $drop=, s($pop0), $pop5 i32.const $push6=, 0 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr37924.c.s b/test/torture-s/pr37924.c.s index d565de177..1464cb55d 100644 --- a/test/torture-s/pr37924.c.s +++ b/test/torture-s/pr37924.c.s @@ -13,7 +13,7 @@ test1: # @test1 i32.shr_u $push3=, $pop1, $pop2 i32.const $push4=, 8388607 i32.xor $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -26,7 +26,7 @@ test2: # @test2 .result i32 # BB#0: # %entry i32.const $push0=, 8388607 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -41,10 +41,10 @@ main: # @main i32.const $push2=, 0 i32.const $push4=, 0 i32.const $push1=, 255 - i32.store8 $push0=, a($pop4), $pop1 - i32.store8 $drop=, b($pop2), $pop0 + i32.store8 $push0=, b($pop4), $pop1 + i32.store8 $drop=, a($pop2), $pop0 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr37931.c.s b/test/torture-s/pr37931.c.s index a42127e55..4bef77c8b 100644 --- a/test/torture-s/pr37931.c.s +++ b/test/torture-s/pr37931.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.and $push0=, $1, $0 i32.const $push1=, 1 i32.or $push2=, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -24,7 +24,7 @@ main: # @main .result i32 # BB#0: # %if.end12 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr38048-1.c.s b/test/torture-s/pr38048-1.c.s index 311350786..063fbd7b1 100644 --- a/test/torture-s/pr38048-1.c.s +++ b/test/torture-s/pr38048-1.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 3 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -21,7 +21,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr38048-2.c.s b/test/torture-s/pr38048-2.c.s index 66d07187c..e0d72ec6d 100644 --- a/test/torture-s/pr38048-2.c.s +++ b/test/torture-s/pr38048-2.c.s @@ -8,7 +8,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.const $push0=, 15 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -21,7 +21,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr38051.c.s b/test/torture-s/pr38051.c.s index d00553614..aa18a9b1f 100644 --- a/test/torture-s/pr38051.c.s +++ b/test/torture-s/pr38051.c.s @@ -7,14 +7,14 @@ mymemcmp: # @mymemcmp .param i32, i32, i32 .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push77=, __stack_pointer - i32.load $push78=, 0($pop77) - i32.const $push79=, 16 - i32.sub $8=, $pop78, $pop79 - i32.const $push1=, 2 - i32.shr_u $2=, $2, $pop1 + i32.const $push103=, 0 + i32.load $push104=, __stack_pointer($pop103) + i32.const $push105=, 16 + i32.sub $10=, $pop104, $pop105 + i32.const $push26=, 2 + i32.shr_u $2=, $2, $pop26 block block block @@ -29,147 +29,145 @@ mymemcmp: # @mymemcmp block block block - i32.const $push120=, 3 - i32.and $push0=, $0, $pop120 - i32.eqz $push192=, $pop0 - br_if 0, $pop192 # 0: down to label13 + i32.const $push146=, 3 + i32.and $push27=, $0, $pop146 + i32.eqz $push222=, $pop27 + br_if 0, $pop222 # 0: down to label13 # BB#1: # %if.else - i32.const $push5=, -4 - i32.and $4=, $0, $pop5 - i32.const $push4=, 32 - i32.const $push126=, 3 - i32.shl $push2=, $0, $pop126 - i32.const $push3=, 24 - i32.and $push125=, $pop2, $pop3 - tee_local $push124=, $0=, $pop125 - i32.sub $3=, $pop4, $pop124 - i32.const $push123=, 3 - i32.and $push122=, $2, $pop123 - tee_local $push121=, $7=, $pop122 - i32.eqz $push193=, $pop121 - br_if 1, $pop193 # 1: down to label12 + i32.const $push28=, -4 + i32.and $4=, $0, $pop28 + i32.const $push31=, 32 + i32.const $push152=, 3 + i32.shl $push29=, $0, $pop152 + i32.const $push30=, 24 + i32.and $push151=, $pop29, $pop30 + tee_local $push150=, $0=, $pop151 + i32.sub $3=, $pop31, $pop150 + i32.const $push149=, 3 + i32.and $push148=, $2, $pop149 + tee_local $push147=, $5=, $pop148 + i32.eqz $push223=, $pop147 + br_if 1, $pop223 # 1: down to label12 # BB#2: # %if.else - i32.const $push6=, 1 - i32.eq $push7=, $7, $pop6 - br_if 2, $pop7 # 2: down to label11 + i32.const $push32=, 1 + i32.eq $push33=, $5, $pop32 + br_if 2, $pop33 # 2: down to label11 # BB#3: # %if.else - i32.const $push8=, 3 - i32.ne $push9=, $7, $pop8 - br_if 3, $pop9 # 3: down to label10 + i32.const $push34=, 3 + i32.ne $push35=, $5, $pop34 + br_if 3, $pop35 # 3: down to label10 # BB#4: # %sw.bb6.i - i32.load $9=, 0($4) - i32.const $push15=, 1 - i32.add $2=, $2, $pop15 - i32.const $push14=, -4 - i32.add $7=, $1, $pop14 + i32.const $push40=, 1 + i32.add $2=, $2, $pop40 + i32.const $push41=, -4 + i32.add $8=, $1, $pop41 + i32.load $7=, 0($4) br 8 # 8: down to label5 .LBB0_5: # %if.then end_block # label13: - i32.const $push129=, 3 - i32.and $push128=, $2, $pop129 - tee_local $push127=, $4=, $pop128 - i32.eqz $push194=, $pop127 - br_if 10, $pop194 # 10: down to label2 + i32.const $push155=, 3 + i32.and $push154=, $2, $pop155 + tee_local $push153=, $4=, $pop154 + i32.eqz $push224=, $pop153 + br_if 10, $pop224 # 10: down to label2 # BB#6: # %if.then - i32.const $push44=, 1 - i32.eq $push45=, $4, $pop44 - br_if 3, $pop45 # 3: down to label9 + i32.const $push70=, 1 + i32.eq $push71=, $4, $pop70 + br_if 3, $pop71 # 3: down to label9 # BB#7: # %if.then - i32.const $push46=, 3 - i32.ne $push47=, $4, $pop46 - br_if 4, $pop47 # 4: down to label8 + i32.const $push72=, 3 + i32.ne $push73=, $4, $pop72 + br_if 4, $pop73 # 4: down to label8 # BB#8: # %sw.bb3.i - copy_local $4=, $0 - i32.const $push50=, -4 - i32.add $0=, $0, $pop50 - copy_local $3=, $1 - i32.const $push130=, -4 - i32.add $1=, $1, $pop130 - i32.const $push51=, 1 - i32.add $2=, $2, $pop51 + i32.const $push76=, 1 + i32.add $2=, $2, $pop76 + i32.const $push77=, -4 + i32.add $4=, $1, $pop77 + i32.const $push156=, -4 + i32.add $3=, $0, $pop156 br 11 # 11: down to label1 .LBB0_9: # %sw.bb12.i18 end_block # label12: - i32.load $6=, 0($4) - i32.const $push13=, 4 - i32.add $4=, $4, $pop13 - copy_local $7=, $1 + i32.const $push39=, 4 + i32.add $6=, $4, $pop39 + i32.load $5=, 0($4) br 5 # 5: down to label6 .LBB0_10: # %sw.bb17.i end_block # label11: - i32.load $9=, 0($4) - i32.load $6=, 4($4) - i32.const $push10=, 8 - i32.add $4=, $4, $pop10 - i32.load $5=, 0($1) - i32.const $push11=, 4 - i32.add $7=, $1, $pop11 - i32.const $push12=, -1 - i32.add $2=, $2, $pop12 + i32.const $push36=, -1 + i32.add $2=, $2, $pop36 + i32.const $push38=, 8 + i32.add $6=, $4, $pop38 + i32.load $7=, 0($1) + i32.load $5=, 4($4) + i32.load $4=, 0($4) + i32.const $push37=, 4 + i32.add $push14=, $1, $pop37 + copy_local $1=, $pop14 br 3 # 3: down to label7 .LBB0_11: # %sw.bb.i16 end_block # label10: - i32.const $push16=, 4 - i32.add $9=, $4, $pop16 - i32.load $6=, 0($4) - i32.const $push17=, -4 - i32.add $4=, $4, $pop17 - i32.const $push19=, 2 - i32.add $2=, $2, $pop19 - i32.const $push18=, -8 - i32.add $7=, $1, $pop18 + i32.const $push42=, 2 + i32.add $2=, $2, $pop42 + i32.const $push43=, -8 + i32.add $8=, $1, $pop43 + i32.const $push44=, -4 + i32.add $9=, $4, $pop44 + i32.const $push45=, 4 + i32.add $6=, $4, $pop45 + i32.load $5=, 0($4) br 5 # 5: down to label4 .LBB0_12: # %sw.bb12.i end_block # label9: - i32.load $4=, 0($0) - i32.const $push48=, 4 - i32.add $0=, $0, $pop48 - i32.load $3=, 0($1) - i32.const $push131=, 4 - i32.add $1=, $1, $pop131 - i32.const $push49=, -1 - i32.add $2=, $2, $pop49 + i32.const $push74=, -1 + i32.add $2=, $2, $pop74 + i32.load $5=, 0($1) + i32.load $6=, 0($0) + i32.const $push75=, 4 + i32.add $push0=, $0, $pop75 + copy_local $0=, $pop0 + i32.const $push157=, 4 + i32.add $push1=, $1, $pop157 + copy_local $1=, $pop1 br 5 # 5: down to label3 .LBB0_13: # %sw.bb.i end_block # label8: - copy_local $4=, $0 - i32.const $push52=, -8 - i32.add $0=, $0, $pop52 - copy_local $3=, $1 - i32.const $push132=, -8 - i32.add $1=, $1, $pop132 - i32.const $push53=, 2 - i32.add $2=, $2, $pop53 + i32.const $push78=, 2 + i32.add $2=, $2, $pop78 + i32.const $push79=, -8 + i32.add $4=, $1, $pop79 + i32.const $push158=, -8 + i32.add $3=, $0, $pop158 # BB#14: - i32.const $10=, 39 + i32.const $11=, 39 br 7 # 7: down to label0 .LBB0_15: end_block # label7: - i32.const $10=, 0 + i32.const $11=, 0 br 6 # 6: down to label0 .LBB0_16: end_block # label6: - i32.const $10=, 4 + i32.const $11=, 4 br 5 # 5: down to label0 .LBB0_17: end_block # label5: - i32.const $10=, 9 + i32.const $11=, 9 br 4 # 4: down to label0 .LBB0_18: end_block # label4: - i32.const $10=, 14 + i32.const $11=, 14 br 3 # 3: down to label0 .LBB0_19: end_block # label3: - i32.const $10=, 25 + i32.const $11=, 25 br 2 # 2: down to label0 .LBB0_20: end_block # label2: - i32.const $10=, 29 + i32.const $11=, 29 br 1 # 1: down to label0 .LBB0_21: end_block # label1: - i32.const $10=, 34 + i32.const $11=, 34 .LBB0_22: # =>This Inner Loop Header: Depth=1 end_block # label0: loop # label14: @@ -246,7 +244,7 @@ mymemcmp: # @mymemcmp block block block - br_table $10, 27, 35, 36, 37, 28, 38, 39, 40, 29, 30, 41, 42, 43, 31, 24, 32, 33, 34, 25, 26, 44, 45, 46, 47, 48, 3, 11, 12, 13, 4, 14, 15, 16, 5, 6, 17, 18, 19, 7, 0, 8, 9, 10, 1, 2, 20, 21, 22, 23, 23 # 27: down to label61 + br_table $11, 27, 35, 36, 37, 28, 38, 39, 40, 29, 30, 41, 42, 43, 31, 24, 32, 33, 34, 25, 26, 44, 45, 46, 47, 48, 3, 11, 12, 13, 4, 14, 15, 16, 5, 6, 17, 18, 19, 7, 0, 8, 9, 10, 1, 2, 20, 21, 22, 23, 23 # 27: down to label61 # 35: down to label53 # 36: down to label52 # 37: down to label51 @@ -298,622 +296,652 @@ mymemcmp: # @mymemcmp .LBB0_23: # %do1.i # in Loop: Header=BB0_22 Depth=1 end_block # label88: - i32.load $push136=, 0($4) - tee_local $push135=, $4=, $pop136 - i32.load $push134=, 0($3) - tee_local $push133=, $3=, $pop134 - i32.ne $push54=, $pop135, $pop133 - br_if 68, $pop54 # 68: down to label19 + i32.load $push162=, 0($0) + tee_local $push161=, $0=, $pop162 + i32.load $push160=, 0($1) + tee_local $push159=, $1=, $pop160 + i32.ne $push80=, $pop161, $pop159 + br_if 68, $pop80 # 68: down to label19 # BB#24: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 43 + i32.const $11=, 43 br 72 # 72: up to label14 .LBB0_25: # %if.end37.i # in Loop: Header=BB0_22 Depth=1 end_block # label87: - i32.load $4=, 12($0) - i32.load $3=, 12($1) - i32.const $push57=, -4 - i32.add $2=, $2, $pop57 - i32.eqz $push195=, $2 - br_if 69, $pop195 # 69: down to label17 + i32.load $5=, 12($4) + i32.load $6=, 12($3) + i32.const $push82=, -4 + i32.add $push164=, $2, $pop82 + tee_local $push163=, $2=, $pop164 + i32.eqz $push225=, $pop163 + br_if 69, $pop225 # 69: down to label17 # BB#26: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 44 + i32.const $11=, 44 br 71 # 71: up to label14 .LBB0_27: # in Loop: Header=BB0_22 Depth=1 end_block # label86: - i32.const $push56=, 16 - i32.add $0=, $0, $pop56 - i32.const $push137=, 16 - i32.add $1=, $1, $pop137 + i32.const $push83=, 16 + i32.add $1=, $4, $pop83 + i32.const $push165=, 16 + i32.add $0=, $3, $pop165 # BB#28: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 25 + i32.const $11=, 25 br 70 # 70: up to label14 .LBB0_29: # %do.body.i # in Loop: Header=BB0_22 Depth=1 end_block # label85: - i32.ne $push58=, $4, $3 - br_if 45, $pop58 # 45: down to label39 + i32.ne $push84=, $6, $5 + br_if 45, $pop84 # 45: down to label39 # BB#30: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 29 + i32.const $11=, 29 br 69 # 69: up to label14 .LBB0_31: # %do3.i # in Loop: Header=BB0_22 Depth=1 end_block # label84: - i32.load $push141=, 0($0) - tee_local $push140=, $4=, $pop141 - i32.load $push139=, 0($1) - tee_local $push138=, $3=, $pop139 - i32.ne $push61=, $pop140, $pop138 - br_if 59, $pop61 # 59: down to label24 + i32.load $push169=, 0($0) + tee_local $push168=, $4=, $pop169 + i32.load $push167=, 0($1) + tee_local $push166=, $3=, $pop167 + i32.ne $push87=, $pop168, $pop166 + br_if 59, $pop87 # 59: down to label24 # BB#32: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 33 + i32.const $11=, 33 br 68 # 68: up to label14 .LBB0_33: # in Loop: Header=BB0_22 Depth=1 end_block # label83: - i32.const $push60=, 4 - i32.add $4=, $0, $pop60 - i32.const $push142=, 4 - i32.add $3=, $1, $pop142 + copy_local $3=, $0 + copy_local $4=, $1 + i32.const $push86=, 4 + i32.add $push4=, $0, $pop86 + copy_local $0=, $pop4 + i32.const $push170=, 4 + i32.add $push5=, $1, $pop170 + copy_local $1=, $pop5 # BB#34: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 34 + i32.const $11=, 34 br 67 # 67: up to label14 .LBB0_35: # %do2.i # in Loop: Header=BB0_22 Depth=1 end_block # label82: - i32.load $push146=, 0($4) - tee_local $push145=, $4=, $pop146 - i32.load $push144=, 0($3) - tee_local $push143=, $3=, $pop144 - i32.ne $push64=, $pop145, $pop143 - br_if 59, $pop64 # 59: down to label22 + i32.load $push174=, 0($0) + tee_local $push173=, $0=, $pop174 + i32.load $push172=, 0($1) + tee_local $push171=, $1=, $pop172 + i32.ne $push90=, $pop173, $pop171 + br_if 59, $pop90 # 59: down to label22 # BB#36: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 38 + i32.const $11=, 38 br 66 # 66: up to label14 .LBB0_37: # in Loop: Header=BB0_22 Depth=1 end_block # label81: - i32.const $push63=, 8 - i32.add $4=, $0, $pop63 - i32.const $push147=, 8 - i32.add $3=, $1, $pop147 + i32.const $push89=, 8 + i32.add $1=, $4, $pop89 + i32.const $push175=, 8 + i32.add $0=, $3, $pop175 br 60 # 60: down to label20 .LBB0_38: # %if.then35.i # in Loop: Header=BB0_22 Depth=1 end_block # label80: - i32.store $drop=, 12($8), $4 - i32.store $drop=, 8($8), $3 - i32.const $push88=, 12 - i32.add $push89=, $8, $pop88 - copy_local $0=, $pop89 - i32.const $push90=, 8 - i32.add $push91=, $8, $pop90 - copy_local $8=, $pop91 + i32.store $drop=, 12($10), $0 + i32.store $drop=, 8($10), $1 + i32.const $push114=, 8 + i32.add $push115=, $10, $pop114 + copy_local $1=, $pop115 + i32.const $push116=, 12 + i32.add $push117=, $10, $pop116 + copy_local $10=, $pop117 # BB#39: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 41 + i32.const $11=, 41 br 64 # 64: up to label14 .LBB0_40: # %do.body.i116.i # in Loop: Header=BB0_22 Depth=1 end_block # label79: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push149=, 1 - i32.add $0=, $0, $pop149 - i32.const $push148=, 1 - i32.add $8=, $8, $pop148 - i32.eq $push55=, $2, $1 - br_if 60, $pop55 # 60: down to label18 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push177=, 1 + i32.add $push11=, $1, $pop177 + copy_local $1=, $pop11 + i32.const $push176=, 1 + i32.add $push10=, $10, $pop176 + copy_local $10=, $pop10 + i32.eq $push81=, $2, $0 + br_if 60, $pop81 # 60: down to label18 # BB#41: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 42 + i32.const $11=, 42 br 63 # 63: up to label14 .LBB0_42: # %mymemcmp1.exit120.i end_block # label78: - i32.sub $push73=, $2, $1 - return $pop73 + i32.sub $push99=, $2, $0 + return $pop99 .LBB0_43: # %if.then.i # in Loop: Header=BB0_22 Depth=1 end_block # label77: - i32.store $drop=, 12($8), $4 - i32.store $drop=, 8($8), $3 - i32.const $push84=, 12 - i32.add $push85=, $8, $pop84 - copy_local $0=, $pop85 - i32.const $push86=, 8 - i32.add $push87=, $8, $pop86 - copy_local $8=, $pop87 + i32.store $drop=, 12($10), $6 + i32.store $drop=, 8($10), $5 + i32.const $push110=, 8 + i32.add $push111=, $10, $pop110 + copy_local $1=, $pop111 + i32.const $push112=, 12 + i32.add $push113=, $10, $pop112 + copy_local $10=, $pop113 # BB#44: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 27 + i32.const $11=, 27 br 61 # 61: up to label14 .LBB0_45: # %do.body.i.i # in Loop: Header=BB0_22 Depth=1 end_block # label76: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push151=, 1 - i32.add $0=, $0, $pop151 - i32.const $push150=, 1 - i32.add $8=, $8, $pop150 - i32.eq $push59=, $2, $1 - br_if 50, $pop59 # 50: down to label25 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push179=, 1 + i32.add $push3=, $1, $pop179 + copy_local $1=, $pop3 + i32.const $push178=, 1 + i32.add $push2=, $10, $pop178 + copy_local $10=, $pop2 + i32.eq $push85=, $2, $0 + br_if 50, $pop85 # 50: down to label25 # BB#46: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 28 + i32.const $11=, 28 br 60 # 60: up to label14 .LBB0_47: # %mymemcmp1.exit.i end_block # label75: - i32.sub $push76=, $2, $1 - return $pop76 + i32.sub $push102=, $2, $0 + return $pop102 .LBB0_48: # %if.then23.i # in Loop: Header=BB0_22 Depth=1 end_block # label74: - i32.store $drop=, 12($8), $4 - i32.store $drop=, 8($8), $3 - i32.const $push96=, 12 - i32.add $push97=, $8, $pop96 - copy_local $0=, $pop97 - i32.const $push98=, 8 - i32.add $push99=, $8, $pop98 - copy_local $8=, $pop99 + i32.store $drop=, 12($10), $4 + i32.store $drop=, 8($10), $3 + i32.const $push122=, 8 + i32.add $push123=, $10, $pop122 + copy_local $1=, $pop123 + i32.const $push124=, 12 + i32.add $push125=, $10, $pop124 + copy_local $10=, $pop125 # BB#49: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 31 + i32.const $11=, 31 br 58 # 58: up to label14 .LBB0_50: # %do.body.i140.i # in Loop: Header=BB0_22 Depth=1 end_block # label73: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push153=, 1 - i32.add $0=, $0, $pop153 - i32.const $push152=, 1 - i32.add $8=, $8, $pop152 - i32.eq $push62=, $2, $1 - br_if 49, $pop62 # 49: down to label23 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push181=, 1 + i32.add $push7=, $1, $pop181 + copy_local $1=, $pop7 + i32.const $push180=, 1 + i32.add $push6=, $10, $pop180 + copy_local $10=, $pop6 + i32.eq $push88=, $2, $0 + br_if 49, $pop88 # 49: down to label23 # BB#51: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 32 + i32.const $11=, 32 br 57 # 57: up to label14 .LBB0_52: # %mymemcmp1.exit144.i end_block # label72: - i32.sub $push75=, $2, $1 - return $pop75 + i32.sub $push101=, $2, $0 + return $pop101 .LBB0_53: # %if.then29.i # in Loop: Header=BB0_22 Depth=1 end_block # label71: - i32.store $drop=, 12($8), $4 - i32.store $drop=, 8($8), $3 - i32.const $push92=, 12 - i32.add $push93=, $8, $pop92 - copy_local $0=, $pop93 - i32.const $push94=, 8 - i32.add $push95=, $8, $pop94 - copy_local $8=, $pop95 + i32.store $drop=, 12($10), $0 + i32.store $drop=, 8($10), $1 + i32.const $push118=, 8 + i32.add $push119=, $10, $pop118 + copy_local $1=, $pop119 + i32.const $push120=, 12 + i32.add $push121=, $10, $pop120 + copy_local $10=, $pop121 # BB#54: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 36 + i32.const $11=, 36 br 55 # 55: up to label14 .LBB0_55: # %do.body.i128.i # in Loop: Header=BB0_22 Depth=1 end_block # label70: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push155=, 1 - i32.add $0=, $0, $pop155 - i32.const $push154=, 1 - i32.add $8=, $8, $pop154 - i32.eq $push65=, $2, $1 - br_if 48, $pop65 # 48: down to label21 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push183=, 1 + i32.add $push9=, $1, $pop183 + copy_local $1=, $pop9 + i32.const $push182=, 1 + i32.add $push8=, $10, $pop182 + copy_local $10=, $pop8 + i32.eq $push91=, $2, $0 + br_if 48, $pop91 # 48: down to label21 # BB#56: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 37 + i32.const $11=, 37 br 54 # 54: up to label14 .LBB0_57: # %mymemcmp1.exit132.i end_block # label69: - i32.sub $push74=, $2, $1 - return $pop74 + i32.sub $push100=, $2, $0 + return $pop100 .LBB0_58: # %do0.i # in Loop: Header=BB0_22 Depth=1 end_block # label68: - i32.const $2=, 0 - i32.eq $push66=, $4, $3 - br_if 41, $pop66 # 41: down to label26 + i32.const $1=, 0 + i32.eq $push92=, $6, $5 + br_if 41, $pop92 # 41: down to label26 # BB#59: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 46 + i32.const $11=, 46 br 52 # 52: up to label14 .LBB0_60: # %if.then43.i # in Loop: Header=BB0_22 Depth=1 end_block # label67: - i32.store $drop=, 12($8), $4 - i32.store $drop=, 8($8), $3 - i32.const $push80=, 12 - i32.add $push81=, $8, $pop80 - copy_local $0=, $pop81 - i32.const $push82=, 8 - i32.add $push83=, $8, $pop82 - copy_local $8=, $pop83 + i32.store $drop=, 12($10), $6 + i32.store $drop=, 8($10), $5 + i32.const $push106=, 8 + i32.add $push107=, $10, $pop106 + copy_local $1=, $pop107 + i32.const $push108=, 12 + i32.add $push109=, $10, $pop108 + copy_local $10=, $pop109 # BB#61: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 47 + i32.const $11=, 47 br 51 # 51: up to label14 .LBB0_62: # %do.body.i104.i # in Loop: Header=BB0_22 Depth=1 end_block # label66: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push157=, 1 - i32.add $0=, $0, $pop157 - i32.const $push156=, 1 - i32.add $8=, $8, $pop156 - i32.eq $push67=, $2, $1 - br_if 49, $pop67 # 49: down to label16 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push185=, 1 + i32.add $push13=, $1, $pop185 + copy_local $1=, $pop13 + i32.const $push184=, 1 + i32.add $push12=, $10, $pop184 + copy_local $10=, $pop12 + i32.eq $push93=, $2, $0 + br_if 49, $pop93 # 49: down to label16 # BB#63: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 48 + i32.const $11=, 48 br 50 # 50: up to label14 .LBB0_64: # %mymemcmp1.exit108.i end_block # label65: - i32.sub $push72=, $2, $1 - return $pop72 + i32.sub $push98=, $2, $0 + return $pop98 .LBB0_65: # %do1.i56 # in Loop: Header=BB0_22 Depth=1 end_block # label64: - i32.load $push163=, 0($9) - tee_local $push162=, $9=, $pop163 - i32.shl $push21=, $pop162, $3 - i32.shr_u $push20=, $6, $0 - i32.or $push161=, $pop21, $pop20 - tee_local $push160=, $6=, $pop161 - i32.load $push159=, 0($1) - tee_local $push158=, $1=, $pop159 - i32.ne $push22=, $pop160, $pop158 - br_if 32, $pop22 # 32: down to label31 + i32.load $push191=, 0($6) + tee_local $push190=, $4=, $pop191 + i32.shl $push47=, $pop190, $3 + i32.shr_u $push46=, $5, $0 + i32.or $push189=, $pop47, $pop46 + tee_local $push188=, $5=, $pop189 + i32.load $push187=, 0($1) + tee_local $push186=, $1=, $pop187 + i32.ne $push48=, $pop188, $pop186 + br_if 32, $pop48 # 32: down to label31 # BB#66: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 18 + i32.const $11=, 18 br 48 # 48: up to label14 .LBB0_67: # %if.end54.i # in Loop: Header=BB0_22 Depth=1 end_block # label63: - i32.load $6=, 12($4) - i32.load $5=, 12($7) - i32.const $push25=, -4 - i32.add $2=, $2, $pop25 - i32.eqz $push196=, $2 - br_if 33, $pop196 # 33: down to label29 + i32.load $7=, 12($8) + i32.load $5=, 12($9) + i32.const $push50=, -4 + i32.add $push193=, $2, $pop50 + tee_local $push192=, $2=, $pop193 + i32.eqz $push226=, $pop192 + br_if 33, $pop226 # 33: down to label29 # BB#68: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 19 + i32.const $11=, 19 br 47 # 47: up to label14 .LBB0_69: # in Loop: Header=BB0_22 Depth=1 end_block # label62: - i32.const $push24=, 16 - i32.add $4=, $4, $pop24 - i32.const $push164=, 16 - i32.add $7=, $7, $pop164 + i32.const $push51=, 16 + i32.add $1=, $8, $pop51 + i32.const $push194=, 16 + i32.add $6=, $9, $pop194 # BB#70: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 0 + i32.const $11=, 0 br 46 # 46: up to label14 .LBB0_71: # %do.body.i23 # in Loop: Header=BB0_22 Depth=1 end_block # label61: - i32.shl $push27=, $6, $3 - i32.shr_u $push26=, $9, $0 - i32.or $push166=, $pop27, $pop26 - tee_local $push165=, $1=, $pop166 - i32.ne $push28=, $pop165, $5 - br_if 22, $pop28 # 22: down to label38 + i32.shl $push53=, $5, $3 + i32.shr_u $push52=, $4, $0 + i32.or $push196=, $pop53, $pop52 + tee_local $push195=, $4=, $pop196 + i32.ne $push54=, $pop195, $7 + br_if 22, $pop54 # 22: down to label38 # BB#72: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 4 + i32.const $11=, 4 br 45 # 45: up to label14 .LBB0_73: # %do3.i42 # in Loop: Header=BB0_22 Depth=1 end_block # label60: - i32.load $push172=, 0($4) - tee_local $push171=, $9=, $pop172 - i32.shl $push32=, $pop171, $3 - i32.shr_u $push31=, $6, $0 - i32.or $push170=, $pop32, $pop31 - tee_local $push169=, $1=, $pop170 - i32.load $push168=, 0($7) - tee_local $push167=, $6=, $pop168 - i32.ne $push33=, $pop169, $pop167 - br_if 23, $pop33 # 23: down to label36 + i32.load $push202=, 0($6) + tee_local $push201=, $7=, $pop202 + i32.shl $push57=, $pop201, $3 + i32.shr_u $push56=, $5, $0 + i32.or $push200=, $pop57, $pop56 + tee_local $push199=, $4=, $pop200 + i32.load $push198=, 0($1) + tee_local $push197=, $5=, $pop198 + i32.ne $push58=, $pop199, $pop197 + br_if 23, $pop58 # 23: down to label36 # BB#74: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 8 + i32.const $11=, 8 br 44 # 44: up to label14 .LBB0_75: # in Loop: Header=BB0_22 Depth=1 end_block # label59: - i32.const $push30=, 4 - i32.add $1=, $7, $pop30 + copy_local $8=, $1 + copy_local $4=, $6 + i32.const $push59=, 4 + i32.add $push17=, $1, $pop59 + copy_local $1=, $pop17 # BB#76: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 9 + i32.const $11=, 9 br 43 # 43: up to label14 .LBB0_77: # %do2.i50 # in Loop: Header=BB0_22 Depth=1 end_block # label58: - i32.load $push178=, 4($4) - tee_local $push177=, $6=, $pop178 - i32.shl $push37=, $pop177, $3 - i32.shr_u $push36=, $9, $0 - i32.or $push176=, $pop37, $pop36 - tee_local $push175=, $9=, $pop176 - i32.load $push174=, 0($1) - tee_local $push173=, $1=, $pop174 - i32.ne $push38=, $pop175, $pop173 - br_if 23, $pop38 # 23: down to label34 + i32.load $push208=, 4($4) + tee_local $push207=, $5=, $pop208 + i32.shl $push62=, $pop207, $3 + i32.shr_u $push61=, $7, $0 + i32.or $push206=, $pop62, $pop61 + tee_local $push205=, $6=, $pop206 + i32.load $push204=, 0($1) + tee_local $push203=, $1=, $pop204 + i32.ne $push63=, $pop205, $pop203 + br_if 23, $pop63 # 23: down to label34 # BB#78: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 13 + i32.const $11=, 13 br 42 # 42: up to label14 .LBB0_79: # in Loop: Header=BB0_22 Depth=1 end_block # label57: - i32.const $push35=, 8 - i32.add $9=, $4, $pop35 - i32.const $push179=, 8 - i32.add $1=, $7, $pop179 + i32.const $push64=, 8 + i32.add $1=, $8, $pop64 + i32.const $push209=, 8 + i32.add $6=, $4, $pop209 + copy_local $9=, $4 br 24 # 24: down to label32 .LBB0_80: # %if.then52.i # in Loop: Header=BB0_22 Depth=1 end_block # label56: - i32.store $drop=, 12($8), $6 - i32.store $drop=, 8($8), $1 - i32.const $push108=, 12 - i32.add $push109=, $8, $pop108 - copy_local $0=, $pop109 - i32.const $push110=, 8 - i32.add $push111=, $8, $pop110 - copy_local $8=, $pop111 + i32.store $drop=, 12($10), $5 + i32.store $drop=, 8($10), $1 + i32.const $push134=, 8 + i32.add $push135=, $10, $pop134 + copy_local $1=, $pop135 + i32.const $push136=, 12 + i32.add $push137=, $10, $pop136 + copy_local $10=, $pop137 # BB#81: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 16 + i32.const $11=, 16 br 40 # 40: up to label14 .LBB0_82: # %do.body.i170.i # in Loop: Header=BB0_22 Depth=1 end_block # label55: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push181=, 1 - i32.add $0=, $0, $pop181 - i32.const $push180=, 1 - i32.add $8=, $8, $pop180 - i32.eq $push23=, $2, $1 - br_if 24, $pop23 # 24: down to label30 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push211=, 1 + i32.add $push23=, $1, $pop211 + copy_local $1=, $pop23 + i32.const $push210=, 1 + i32.add $push22=, $10, $pop210 + copy_local $10=, $pop22 + i32.eq $push49=, $2, $0 + br_if 24, $pop49 # 24: down to label30 # BB#83: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 17 + i32.const $11=, 17 br 39 # 39: up to label14 .LBB0_84: # %mymemcmp1.exit174.i end_block # label54: - i32.sub $push68=, $2, $1 - return $pop68 + i32.sub $push94=, $2, $0 + return $pop94 .LBB0_85: # %if.then.i24 # in Loop: Header=BB0_22 Depth=1 end_block # label53: - i32.store $drop=, 12($8), $1 - i32.store $drop=, 8($8), $5 - i32.const $push104=, 12 - i32.add $push105=, $8, $pop104 - copy_local $0=, $pop105 - i32.const $push106=, 8 - i32.add $push107=, $8, $pop106 - copy_local $8=, $pop107 + i32.store $drop=, 12($10), $4 + i32.store $drop=, 8($10), $7 + i32.const $push130=, 8 + i32.add $push131=, $10, $pop130 + copy_local $1=, $pop131 + i32.const $push132=, 12 + i32.add $push133=, $10, $pop132 + copy_local $10=, $pop133 # BB#86: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 2 + i32.const $11=, 2 br 37 # 37: up to label14 .LBB0_87: # %do.body.i.i30 # in Loop: Header=BB0_22 Depth=1 end_block # label52: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push183=, 1 - i32.add $0=, $0, $pop183 - i32.const $push182=, 1 - i32.add $8=, $8, $pop182 - i32.eq $push29=, $2, $1 - br_if 14, $pop29 # 14: down to label37 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push213=, 1 + i32.add $push16=, $1, $pop213 + copy_local $1=, $pop16 + i32.const $push212=, 1 + i32.add $push15=, $10, $pop212 + copy_local $10=, $pop15 + i32.eq $push55=, $2, $0 + br_if 14, $pop55 # 14: down to label37 # BB#88: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 3 + i32.const $11=, 3 br 36 # 36: up to label14 .LBB0_89: # %mymemcmp1.exit.i34 end_block # label51: - i32.sub $push71=, $2, $1 - return $pop71 + i32.sub $push97=, $2, $0 + return $pop97 .LBB0_90: # %if.then34.i # in Loop: Header=BB0_22 Depth=1 end_block # label50: - i32.store $drop=, 12($8), $1 - i32.store $drop=, 8($8), $6 - i32.const $push116=, 12 - i32.add $push117=, $8, $pop116 - copy_local $0=, $pop117 - i32.const $push118=, 8 - i32.add $push119=, $8, $pop118 - copy_local $8=, $pop119 + i32.store $drop=, 12($10), $4 + i32.store $drop=, 8($10), $5 + i32.const $push142=, 8 + i32.add $push143=, $10, $pop142 + copy_local $1=, $pop143 + i32.const $push144=, 12 + i32.add $push145=, $10, $pop144 + copy_local $10=, $pop145 # BB#91: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 6 + i32.const $11=, 6 br 34 # 34: up to label14 .LBB0_92: # %do.body.i194.i # in Loop: Header=BB0_22 Depth=1 end_block # label49: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push185=, 1 - i32.add $0=, $0, $pop185 - i32.const $push184=, 1 - i32.add $8=, $8, $pop184 - i32.eq $push34=, $2, $1 - br_if 13, $pop34 # 13: down to label35 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push215=, 1 + i32.add $push19=, $1, $pop215 + copy_local $1=, $pop19 + i32.const $push214=, 1 + i32.add $push18=, $10, $pop214 + copy_local $10=, $pop18 + i32.eq $push60=, $2, $0 + br_if 13, $pop60 # 13: down to label35 # BB#93: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 7 + i32.const $11=, 7 br 33 # 33: up to label14 .LBB0_94: # %mymemcmp1.exit198.i end_block # label48: - i32.sub $push70=, $2, $1 - return $pop70 + i32.sub $push96=, $2, $0 + return $pop96 .LBB0_95: # %if.then43.i51 # in Loop: Header=BB0_22 Depth=1 end_block # label47: - i32.store $drop=, 12($8), $9 - i32.store $drop=, 8($8), $1 - i32.const $push112=, 12 - i32.add $push113=, $8, $pop112 - copy_local $0=, $pop113 - i32.const $push114=, 8 - i32.add $push115=, $8, $pop114 - copy_local $8=, $pop115 + i32.store $drop=, 12($10), $6 + i32.store $drop=, 8($10), $1 + i32.const $push138=, 8 + i32.add $push139=, $10, $pop138 + copy_local $1=, $pop139 + i32.const $push140=, 12 + i32.add $push141=, $10, $pop140 + copy_local $10=, $pop141 # BB#96: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 11 + i32.const $11=, 11 br 31 # 31: up to label14 .LBB0_97: # %do.body.i182.i # in Loop: Header=BB0_22 Depth=1 end_block # label46: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push187=, 1 - i32.add $0=, $0, $pop187 - i32.const $push186=, 1 - i32.add $8=, $8, $pop186 - i32.eq $push39=, $2, $1 - br_if 12, $pop39 # 12: down to label33 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push217=, 1 + i32.add $push21=, $1, $pop217 + copy_local $1=, $pop21 + i32.const $push216=, 1 + i32.add $push20=, $10, $pop216 + copy_local $10=, $pop20 + i32.eq $push65=, $2, $0 + br_if 12, $pop65 # 12: down to label33 # BB#98: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 12 + i32.const $11=, 12 br 30 # 30: up to label14 .LBB0_99: # %mymemcmp1.exit186.i end_block # label45: - i32.sub $push69=, $2, $1 - return $pop69 + i32.sub $push95=, $2, $0 + return $pop95 .LBB0_100: # %do0.i57 # in Loop: Header=BB0_22 Depth=1 end_block # label44: - i32.const $2=, 0 - i32.shl $push41=, $6, $3 - i32.shr_u $push40=, $9, $0 - i32.or $push189=, $pop41, $pop40 - tee_local $push188=, $0=, $pop189 - i32.eq $push42=, $pop188, $5 - br_if 15, $pop42 # 15: down to label28 + i32.const $1=, 0 + i32.shl $push67=, $5, $3 + i32.shr_u $push66=, $4, $0 + i32.or $push219=, $pop67, $pop66 + tee_local $push218=, $0=, $pop219 + i32.eq $push68=, $pop218, $7 + br_if 15, $pop68 # 15: down to label28 # BB#101: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 21 + i32.const $11=, 21 br 28 # 28: up to label14 .LBB0_102: # %if.then63.i # in Loop: Header=BB0_22 Depth=1 end_block # label43: - i32.store $drop=, 12($8), $0 - i32.store $drop=, 8($8), $5 - i32.const $push100=, 12 - i32.add $push101=, $8, $pop100 - copy_local $0=, $pop101 - i32.const $push102=, 8 - i32.add $push103=, $8, $pop102 - copy_local $8=, $pop103 + i32.store $drop=, 12($10), $0 + i32.store $drop=, 8($10), $7 + i32.const $push126=, 8 + i32.add $push127=, $10, $pop126 + copy_local $1=, $pop127 + i32.const $push128=, 12 + i32.add $push129=, $10, $pop128 + copy_local $10=, $pop129 # BB#103: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 22 + i32.const $11=, 22 br 27 # 27: up to label14 .LBB0_104: # %do.body.i158.i # in Loop: Header=BB0_22 Depth=1 end_block # label42: - i32.load8_u $2=, 0($0) - i32.load8_u $1=, 0($8) - i32.const $push191=, 1 - i32.add $0=, $0, $pop191 - i32.const $push190=, 1 - i32.add $8=, $8, $pop190 - i32.eq $push43=, $2, $1 - br_if 14, $pop43 # 14: down to label27 + i32.load8_u $0=, 0($1) + i32.load8_u $2=, 0($10) + i32.const $push221=, 1 + i32.add $push25=, $1, $pop221 + copy_local $1=, $pop25 + i32.const $push220=, 1 + i32.add $push24=, $10, $pop220 + copy_local $10=, $pop24 + i32.eq $push69=, $2, $0 + br_if 14, $pop69 # 14: down to label27 # BB#105: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 23 + i32.const $11=, 23 br 26 # 26: up to label14 .LBB0_106: # %mymemcmp1.exit162.i # in Loop: Header=BB0_22 Depth=1 end_block # label41: - i32.sub $2=, $2, $1 + i32.sub $1=, $2, $0 # BB#107: # in Loop: Header=BB0_22 Depth=1 - i32.const $10=, 24 + i32.const $11=, 24 br 25 # 25: up to label14 .LBB0_108: # %cleanup end_block # label40: - return $2 + return $1 .LBB0_109: # in Loop: Header=BB0_22 Depth=1 end_block # label39: - i32.const $10=, 26 + i32.const $11=, 26 br 23 # 23: up to label14 .LBB0_110: # in Loop: Header=BB0_22 Depth=1 end_block # label38: - i32.const $10=, 1 + i32.const $11=, 1 br 22 # 22: up to label14 .LBB0_111: # in Loop: Header=BB0_22 Depth=1 end_block # label37: - i32.const $10=, 2 + i32.const $11=, 2 br 21 # 21: up to label14 .LBB0_112: # in Loop: Header=BB0_22 Depth=1 end_block # label36: - i32.const $10=, 5 + i32.const $11=, 5 br 20 # 20: up to label14 .LBB0_113: # in Loop: Header=BB0_22 Depth=1 end_block # label35: - i32.const $10=, 6 + i32.const $11=, 6 br 19 # 19: up to label14 .LBB0_114: # in Loop: Header=BB0_22 Depth=1 end_block # label34: - i32.const $10=, 10 + i32.const $11=, 10 br 18 # 18: up to label14 .LBB0_115: # in Loop: Header=BB0_22 Depth=1 end_block # label33: - i32.const $10=, 11 + i32.const $11=, 11 br 17 # 17: up to label14 .LBB0_116: # in Loop: Header=BB0_22 Depth=1 end_block # label32: - i32.const $10=, 14 + i32.const $11=, 14 br 16 # 16: up to label14 .LBB0_117: # in Loop: Header=BB0_22 Depth=1 end_block # label31: - i32.const $10=, 15 + i32.const $11=, 15 br 15 # 15: up to label14 .LBB0_118: # in Loop: Header=BB0_22 Depth=1 end_block # label30: - i32.const $10=, 16 + i32.const $11=, 16 br 14 # 14: up to label14 .LBB0_119: # in Loop: Header=BB0_22 Depth=1 end_block # label29: - i32.const $10=, 20 + i32.const $11=, 20 br 13 # 13: up to label14 .LBB0_120: # in Loop: Header=BB0_22 Depth=1 end_block # label28: - i32.const $10=, 24 + i32.const $11=, 24 br 12 # 12: up to label14 .LBB0_121: # in Loop: Header=BB0_22 Depth=1 end_block # label27: - i32.const $10=, 22 + i32.const $11=, 22 br 11 # 11: up to label14 .LBB0_122: # in Loop: Header=BB0_22 Depth=1 end_block # label26: - i32.const $10=, 24 + i32.const $11=, 24 br 10 # 10: up to label14 .LBB0_123: # in Loop: Header=BB0_22 Depth=1 end_block # label25: - i32.const $10=, 27 + i32.const $11=, 27 br 9 # 9: up to label14 .LBB0_124: # in Loop: Header=BB0_22 Depth=1 end_block # label24: - i32.const $10=, 30 + i32.const $11=, 30 br 8 # 8: up to label14 .LBB0_125: # in Loop: Header=BB0_22 Depth=1 end_block # label23: - i32.const $10=, 31 + i32.const $11=, 31 br 7 # 7: up to label14 .LBB0_126: # in Loop: Header=BB0_22 Depth=1 end_block # label22: - i32.const $10=, 35 + i32.const $11=, 35 br 6 # 6: up to label14 .LBB0_127: # in Loop: Header=BB0_22 Depth=1 end_block # label21: - i32.const $10=, 36 + i32.const $11=, 36 br 5 # 5: up to label14 .LBB0_128: # in Loop: Header=BB0_22 Depth=1 end_block # label20: - i32.const $10=, 39 + i32.const $11=, 39 br 4 # 4: up to label14 .LBB0_129: # in Loop: Header=BB0_22 Depth=1 end_block # label19: - i32.const $10=, 40 + i32.const $11=, 40 br 3 # 3: up to label14 .LBB0_130: # in Loop: Header=BB0_22 Depth=1 end_block # label18: - i32.const $10=, 41 + i32.const $11=, 41 br 2 # 2: up to label14 .LBB0_131: # in Loop: Header=BB0_22 Depth=1 end_block # label17: - i32.const $10=, 45 + i32.const $11=, 45 br 1 # 1: up to label14 .LBB0_132: # in Loop: Header=BB0_22 Depth=1 end_block # label16: - i32.const $10=, 47 + i32.const $11=, 47 br 0 # 0: up to label14 .LBB0_133: end_loop # label15: @@ -942,20 +970,20 @@ main: # @main i32.store $drop=, buf+33($pop25):p2align=0, $pop2 i32.const $push23=, 0 i32.const $push22=, 0 - i32.load8_u $push4=, .L.str.1+14($pop22) - i32.store8 $drop=, buf+182($pop23), $pop4 + i64.load $push3=, .L.str($pop22):p2align=0 + i64.store $drop=, buf+25($pop23):p2align=0, $pop3 i32.const $push21=, 0 i32.const $push20=, 0 - i32.load16_u $push5=, .L.str.1+12($pop20):p2align=0 - i32.store16 $drop=, buf+180($pop21), $pop5 + i32.load8_u $push4=, .L.str.1+14($pop20) + i32.store8 $drop=, buf+182($pop21), $pop4 i32.const $push19=, 0 i32.const $push18=, 0 - i32.load $push6=, .L.str.1+8($pop18):p2align=0 - i32.store $drop=, buf+176($pop19), $pop6 + i32.load16_u $push5=, .L.str.1+12($pop18):p2align=0 + i32.store16 $drop=, buf+180($pop19), $pop5 i32.const $push17=, 0 i32.const $push16=, 0 - i64.load $push3=, .L.str($pop16):p2align=0 - i64.store $drop=, buf+25($pop17):p2align=0, $pop3 + i32.load $push6=, .L.str.1+8($pop16):p2align=0 + i32.store $drop=, buf+176($pop17), $pop6 i32.const $push15=, 0 i32.const $push14=, 0 i64.load $push7=, .L.str.1($pop14):p2align=0 diff --git a/test/torture-s/pr38151.c.s b/test/torture-s/pr38151.c.s index 05b20fe78..80dee40a8 100644 --- a/test/torture-s/pr38151.c.s +++ b/test/torture-s/pr38151.c.s @@ -8,42 +8,44 @@ check2848va: # @check2848va .param i32, i32 .local i32, i64, i64, i32 # BB#0: # %entry - i32.const $push22=, __stack_pointer - i32.load $push23=, 0($pop22) + i32.const $push22=, 0 + i32.load $push23=, __stack_pointer($pop22) i32.const $push24=, 16 - i32.sub $push30=, $pop23, $pop24 - tee_local $push29=, $5=, $pop30 - i32.store $push0=, 12($pop29), $1 + i32.sub $push34=, $pop23, $pop24 + tee_local $push33=, $5=, $pop34 + i32.store $push0=, 12($5), $1 i32.const $push1=, 15 i32.add $push2=, $pop0, $pop1 i32.const $push3=, -16 - i32.and $push28=, $pop2, $pop3 - tee_local $push27=, $1=, $pop28 - i64.load $3=, 0($pop27) - i32.const $push26=, 0 - i64.load $4=, s2848($pop26) + i32.and $push32=, $pop2, $pop3 + tee_local $push31=, $1=, $pop32 i32.const $push4=, 16 - i32.add $push5=, $1, $pop4 - i32.store $drop=, 12($5), $pop5 + i32.add $push5=, $pop31, $pop4 + i32.store $drop=, 12($pop33), $pop5 + i32.const $push30=, 0 + i64.load $push29=, s2848($pop30) + tee_local $push28=, $4=, $pop29 + i64.const $push9=, 32 + i64.shr_u $push10=, $pop28, $pop9 + i32.wrap/i64 $5=, $pop10 i32.load $2=, 8($1) - i64.const $push7=, 32 - i64.shr_u $push8=, $3, $pop7 - i32.wrap/i64 $1=, $pop8 + i64.load $push27=, 0($1) + tee_local $push26=, $3=, $pop27 i64.const $push25=, 32 - i64.shr_u $push11=, $4, $pop25 - i32.wrap/i64 $5=, $pop11 + i64.shr_u $push11=, $pop26, $pop25 + i32.wrap/i64 $1=, $pop11 block - i32.wrap/i64 $push9=, $4 + i32.wrap/i64 $push7=, $4 i32.wrap/i64 $push6=, $3 - i32.eq $push10=, $pop9, $pop6 - br_if 0, $pop10 # 0: down to label0 + i32.eq $push8=, $pop7, $pop6 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.then - i32.const $push32=, 0 - i32.const $push31=, 0 - i32.load $push12=, fails($pop31) + i32.const $push36=, 0 + i32.const $push35=, 0 + i32.load $push12=, fails($pop35) i32.const $push13=, 1 i32.add $push14=, $pop12, $pop13 - i32.store $drop=, fails($pop32), $pop14 + i32.store $drop=, fails($pop36), $pop14 .LBB0_2: # %if.end end_block # label0: block @@ -51,21 +53,21 @@ check2848va: # @check2848va i32.ne $push16=, $5, $1 br_if 0, $pop16 # 0: down to label2 # BB#3: # %if.end - i32.const $push33=, 0 - i32.load $push15=, s2848+8($pop33) + i32.const $push37=, 0 + i32.load $push15=, s2848+8($pop37) i32.eq $push17=, $pop15, $2 br_if 1, $pop17 # 1: down to label1 .LBB0_4: # %if.then2 end_block # label2: i32.const $push18=, 0 - i32.const $push34=, 0 - i32.load $push19=, fails($pop34) + i32.const $push38=, 0 + i32.load $push19=, fails($pop38) i32.const $push20=, 1 i32.add $push21=, $pop19, $pop20 i32.store $drop=, fails($pop18), $pop21 .LBB0_5: # %if.end4 end_block # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size check2848va, .Lfunc_end0-check2848va @@ -78,12 +80,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 32 i32.sub $push15=, $pop7, $pop8 - i32.store $1=, 0($pop9), $pop15 + i32.store $1=, __stack_pointer($pop9), $pop15 i32.const $push19=, 0 i64.const $push0=, 3107062874477850347 i64.store $drop=, s2848($pop19), $pop0 @@ -107,10 +109,10 @@ main: # @main i32.load $push5=, fails($pop16) br_if 0, $pop5 # 0: down to label3 # BB#1: # %if.end - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 32 i32.add $push11=, $1, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 i32.const $push20=, 0 return $pop20 .LBB1_2: # %if.then diff --git a/test/torture-s/pr38212.c.s b/test/torture-s/pr38212.c.s index 7a45cae6c..eee258829 100644 --- a/test/torture-s/pr38212.c.s +++ b/test/torture-s/pr38212.c.s @@ -20,7 +20,7 @@ foo: # @foo i32.store $drop=, 0($0), $pop4 i32.load $push5=, 0($1) i32.add $push6=, $2, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -33,12 +33,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push13=, $pop5, $pop6 - i32.store $push16=, 0($pop7), $pop13 + i32.store $push16=, __stack_pointer($pop7), $pop13 tee_local $push15=, $1=, $pop16 i32.const $push0=, 0 i32.store $0=, 12($pop15), $pop0 @@ -51,10 +51,10 @@ main: # @main i32.ne $push3=, $pop2, $pop14 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $1, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 return $0 .LBB1_2: # %if.then end_block # label0: diff --git a/test/torture-s/pr38236.c.s b/test/torture-s/pr38236.c.s index 358ed08b3..1a9a8812f 100644 --- a/test/torture-s/pr38236.c.s +++ b/test/torture-s/pr38236.c.s @@ -9,8 +9,8 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push14=, $pop5, $pop6 tee_local $push13=, $4=, $pop14 @@ -18,14 +18,14 @@ foo: # @foo i32.add $push8=, $pop13, $pop7 i32.const $push9=, 8 i32.add $push10=, $4, $pop9 - i32.select $push1=, $pop8, $pop10, $3 - i32.const $push2=, 1 - i32.store $drop=, 0($pop1), $pop2 + i32.select $push0=, $pop8, $pop10, $3 + i32.const $push1=, 1 + i32.store $drop=, 0($pop0), $pop1 i32.const $push11=, 12 i32.add $push12=, $4, $pop11 - i32.select $push0=, $pop12, $0, $2 - i32.load $push3=, 0($pop0) - return $pop3 + i32.select $push2=, $pop12, $0, $2 + i32.load $push3=, 0($pop2) + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr38422.c.s b/test/torture-s/pr38422.c.s index 3be410146..b033b7656 100644 --- a/test/torture-s/pr38422.c.s +++ b/test/torture-s/pr38422.c.s @@ -11,15 +11,15 @@ foo: # @foo i32.const $push10=, 0 i32.load $push9=, s($pop10) tee_local $push8=, $0=, $pop9 - i32.const $push1=, 1 - i32.shl $push2=, $pop8, $pop1 - i32.const $push3=, 1073741822 - i32.and $push4=, $pop2, $pop3 - i32.const $push5=, -1073741824 - i32.and $push6=, $0, $pop5 - i32.or $push7=, $pop4, $pop6 + i32.const $push3=, 1 + i32.shl $push4=, $pop8, $pop3 + i32.const $push5=, 1073741822 + i32.and $push6=, $pop4, $pop5 + i32.const $push1=, -1073741824 + i32.and $push2=, $0, $pop1 + i32.or $push7=, $pop6, $pop2 i32.store $drop=, s($pop0), $pop7 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -40,7 +40,7 @@ main: # @main i32.or $push5=, $pop3, $pop4 i32.store $drop=, s($pop0), $pop5 i32.const $push6=, 0 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr38533.c.s b/test/torture-s/pr38533.c.s index 761255296..5739dd2e6 100644 --- a/test/torture-s/pr38533.c.s +++ b/test/torture-s/pr38533.c.s @@ -8,6 +8,7 @@ foo: # @foo .result i32 .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry + i32.const $302=, 0 i32.const $0=, 0 #APP #NO_APP @@ -914,7 +915,6 @@ foo: # @foo i32.const $301=, 0 #APP #NO_APP - i32.const $302=, 0 #APP #NO_APP i32.or $push0=, $1, $0 @@ -1219,7 +1219,7 @@ foo: # @foo i32.or $push299=, $pop298, $300 i32.or $push300=, $pop299, $301 i32.or $push301=, $pop300, $302 - return $pop301 + # fallthrough-return: $pop301 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr38969.c.s b/test/torture-s/pr38969.c.s index db8dbc104..6626d7342 100644 --- a/test/torture-s/pr38969.c.s +++ b/test/torture-s/pr38969.c.s @@ -9,7 +9,7 @@ foo: # @foo # BB#0: # %entry i64.load $push0=, 0($1):p2align=2 i64.store $drop=, 0($0):p2align=2, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -22,32 +22,33 @@ bar: # @bar .param i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 32 i32.sub $push16=, $pop6, $pop7 - i32.store $2=, 0($pop8), $pop16 - i32.load $3=, 4($1) - i32.load $push1=, 0($1) - i32.store $1=, 16($2), $pop1 + i32.store $push18=, __stack_pointer($pop8), $pop16 + tee_local $push17=, $3=, $pop18 + i32.load $push1=, 4($1) + i32.store $2=, 20($pop17), $pop1 + i32.load $1=, 0($1) i32.const $push2=, 12 - i32.add $push3=, $2, $pop2 - i32.store $push0=, 20($2), $3 - i32.store $drop=, 0($pop3), $pop0 - i32.store $drop=, 8($2), $1 + i32.add $push3=, $3, $pop2 + i32.store $drop=, 0($pop3), $2 + i32.store $push0=, 16($3), $1 + i32.store $drop=, 8($3), $pop0 i32.const $push12=, 24 - i32.add $push13=, $2, $pop12 + i32.add $push13=, $3, $pop12 i32.const $push14=, 8 - i32.add $push15=, $2, $pop14 + i32.add $push15=, $3, $pop14 call foo@FUNCTION, $pop13, $pop15 - i64.load $push4=, 24($2) + i64.load $push4=, 24($3) i64.store $drop=, 0($0):p2align=2, $pop4 - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 32 - i32.add $push10=, $2, $pop9 - i32.store $drop=, 0($pop11), $pop10 - return + i32.add $push10=, $3, $pop9 + i32.store $drop=, __stack_pointer($pop11), $pop10 + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -60,24 +61,25 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 32 i32.sub $push20=, $pop10, $pop11 - i32.store $0=, 0($pop12), $pop20 + i32.store $push22=, __stack_pointer($pop12), $pop20 + tee_local $push21=, $0=, $pop22 i64.const $push2=, 4767060206663237632 i64.store $push0=, 16($0), $pop2 - i64.store $drop=, 8($0):p2align=2, $pop0 + i64.store $drop=, 8($pop21):p2align=2, $pop0 i32.const $push16=, 24 i32.add $push17=, $0, $pop16 i32.const $push18=, 8 i32.add $push19=, $0, $pop18 call bar@FUNCTION, $pop17, $pop19 block - f32.load $push3=, 24($0) - f32.const $push4=, 0x1.2p3 - f32.ne $push5=, $pop3, $pop4 + f32.load $push4=, 24($0) + f32.const $push3=, 0x1.2p3 + f32.ne $push5=, $pop4, $pop3 br_if 0, $pop5 # 0: down to label0 # BB#1: # %entry f32.load $push1=, 28($0) @@ -85,10 +87,10 @@ main: # @main f32.ne $push7=, $pop1, $pop6 br_if 0, $pop7 # 0: down to label0 # BB#2: # %if.end - i32.const $push15=, __stack_pointer + i32.const $push15=, 0 i32.const $push13=, 32 i32.add $push14=, $0, $pop13 - i32.store $drop=, 0($pop15), $pop14 + i32.store $drop=, __stack_pointer($pop15), $pop14 i32.const $push8=, 0 return $pop8 .LBB2_3: # %if.then diff --git a/test/torture-s/pr39100.c.s b/test/torture-s/pr39100.c.s index 1c6c536ac..f3b0b57ff 100644 --- a/test/torture-s/pr39100.c.s +++ b/test/torture-s/pr39100.c.s @@ -7,88 +7,87 @@ foo: # @foo .param i32, i32 .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) - i32.const $push12=, 16 - i32.sub $9=, $pop11, $pop12 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) + i32.const $push13=, 16 + i32.sub $push23=, $pop12, $pop13 + tee_local $push22=, $8=, $pop23 i32.const $push1=, 0 - i32.store $push0=, 12($9), $pop1 - i32.store $2=, 8($9), $pop0 + i32.store $push0=, 12($8), $pop1 + i32.store $2=, 8($pop22), $pop0 block block - i32.eqz $push26=, $1 - br_if 0, $pop26 # 0: down to label1 + i32.eqz $push31=, $1 + br_if 0, $pop31 # 0: down to label1 # BB#1: # %while.body.lr.ph.lr.ph + i32.const $push18=, 12 + i32.add $push19=, $8, $pop18 + copy_local $6=, $pop19 + i32.const $push20=, 8 + i32.add $push21=, $8, $pop20 + copy_local $7=, $pop21 i32.const $push4=, 6 - i32.add $4=, $0, $pop4 - i32.const $push17=, 8 - i32.add $push18=, $9, $pop17 - copy_local $7=, $pop18 - i32.const $push19=, 12 - i32.add $push20=, $9, $pop19 - copy_local $8=, $pop20 -.LBB0_2: # %while.body.lr.ph - # =>This Loop Header: Depth=1 - # Child Loop BB0_3 Depth 2 + i32.add $5=, $0, $pop4 +.LBB0_2: # %while.body + # =>This Inner Loop Header: Depth=1 loop # label2: - copy_local $6=, $1 -.LBB0_3: # %while.body - # Parent Loop BB0_2 Depth=1 - # => This Inner Loop Header: Depth=2 - loop # label4: - i32.load $1=, 4($6) - i32.const $push22=, 4 - i32.add $3=, $6, $pop22 - i32.load8_u $push2=, 0($6) - i32.const $push21=, 1 - i32.and $push3=, $pop2, $pop21 - br_if 1, $pop3 # 1: down to label5 -# BB#4: # %if.else - # in Loop: Header=BB0_3 Depth=2 - i32.const $push24=, 4 - i32.add $5=, $0, $pop24 - i32.load16_u $push6=, 0($5) - i32.const $push23=, 1 - i32.add $push7=, $pop6, $pop23 - i32.store16 $drop=, 0($5), $pop7 - i32.store $drop=, 0($7), $6 - copy_local $6=, $1 + i32.const $push25=, 4 + i32.add $3=, $1, $pop25 + i32.load $4=, 4($1) + block + i32.load8_u $push2=, 0($1) + i32.const $push24=, 1 + i32.and $push3=, $pop2, $pop24 + br_if 0, $pop3 # 0: down to label4 +# BB#3: # %if.else + # in Loop: Header=BB0_2 Depth=1 + i32.store $drop=, 0($7), $1 + i32.const $push29=, 4 + i32.add $push28=, $0, $pop29 + tee_local $push27=, $1=, $pop28 + i32.load16_u $push7=, 0($1) + i32.const $push26=, 1 + i32.add $push8=, $pop7, $pop26 + i32.store16 $drop=, 0($pop27), $pop8 + copy_local $1=, $4 copy_local $7=, $3 - br_if 0, $1 # 0: up to label4 - br 3 # 3: down to label3 -.LBB0_5: # %if.then + br_if 1, $4 # 1: up to label2 + br 2 # 2: down to label3 +.LBB0_4: # %if.then # in Loop: Header=BB0_2 Depth=1 - end_loop # label5: - i32.load16_u $5=, 0($4) - i32.store $drop=, 0($8), $6 - i32.const $push25=, 1 - i32.add $push5=, $5, $pop25 - i32.store16 $drop=, 0($4), $pop5 - copy_local $8=, $3 - br_if 0, $1 # 0: up to label2 + end_block # label4: + i32.store $drop=, 0($6), $1 + i32.load16_u $push5=, 0($5) + i32.const $push30=, 1 + i32.add $push6=, $pop5, $pop30 + i32.store16 $drop=, 0($5), $pop6 + copy_local $1=, $4 + copy_local $6=, $3 + br_if 0, $4 # 0: up to label2 br 3 # 3: down to label0 -.LBB0_6: +.LBB0_5: end_loop # label3: copy_local $7=, $3 br 1 # 1: down to label0 -.LBB0_7: +.LBB0_6: end_block # label1: - i32.const $push13=, 12 - i32.add $push14=, $9, $pop13 - copy_local $8=, $pop14 - i32.const $push15=, 8 - i32.add $push16=, $9, $pop15 - copy_local $7=, $pop16 -.LBB0_8: # %while.end + i32.const $push14=, 8 + i32.add $push15=, $8, $pop14 + copy_local $7=, $pop15 + i32.const $push16=, 12 + i32.add $push17=, $8, $pop16 + copy_local $6=, $pop17 +.LBB0_7: # %while.end end_block # label0: - i32.load $push8=, 8($9) - i32.store $drop=, 0($8), $pop8 + i32.load $push9=, 8($8) + i32.store $drop=, 0($6), $pop9 i32.store $drop=, 0($7), $2 - i32.load $push9=, 12($9) - i32.store $drop=, 0($0), $pop9 - return $0 + i32.load $push10=, 12($8) + i32.store $drop=, 0($0), $pop10 + copy_local $push32=, $0 + # fallthrough-return: $pop32 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -99,53 +98,53 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) - i32.const $push17=, 32 - i32.sub $push24=, $pop16, $pop17 - i32.store $push26=, 0($pop18), $pop24 - tee_local $push25=, $1=, $pop26 - i32.const $push5=, 1 - i32.store $drop=, 8($pop25), $pop5 + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) + i32.const $push16=, 32 + i32.sub $push23=, $pop15, $pop16 + i32.store $push25=, __stack_pointer($pop17), $pop23 + tee_local $push24=, $2=, $pop25 + i64.const $push1=, 0 + i64.store $drop=, 24($pop24), $pop1 + i32.const $push2=, 8 + i32.or $push0=, $2, $pop2 + i32.store $0=, 4($2), $pop0 i32.const $push3=, 0 - i32.store $push0=, 0($1), $pop3 - i32.store $drop=, 12($1), $pop0 - i64.const $push2=, 0 - i64.store $drop=, 24($1), $pop2 - i32.const $push4=, 8 - i32.or $push1=, $1, $pop4 - i32.store $0=, 4($1), $pop1 - i32.const $push22=, 24 - i32.add $push23=, $1, $pop22 - i32.call $drop=, foo@FUNCTION, $pop23, $1 + i32.store $1=, 0($2), $pop3 + i32.const $push4=, 1 + i32.store $drop=, 8($2), $pop4 + i32.store $drop=, 12($2), $1 + i32.const $push21=, 24 + i32.add $push22=, $2, $pop21 + i32.call $drop=, foo@FUNCTION, $pop22, $2 block - i32.load $push6=, 28($1) - i32.const $push7=, 65537 - i32.ne $push8=, $pop6, $pop7 - br_if 0, $pop8 # 0: down to label6 + i32.load $push6=, 28($2) + i32.const $push5=, 65537 + i32.ne $push7=, $pop6, $pop5 + br_if 0, $pop7 # 0: down to label5 # BB#1: # %if.end - i32.load $push9=, 24($1) - i32.ne $push10=, $pop9, $0 - br_if 0, $pop10 # 0: down to label6 + i32.load $push8=, 24($2) + i32.ne $push9=, $pop8, $0 + br_if 0, $pop9 # 0: down to label5 # BB#2: # %if.end13 - i32.load $push11=, 12($1) - i32.ne $push12=, $pop11, $1 - br_if 0, $pop12 # 0: down to label6 + i32.load $push10=, 12($2) + i32.ne $push11=, $pop10, $2 + br_if 0, $pop11 # 0: down to label5 # BB#3: # %if.end20 - i32.load $push13=, 4($1) - br_if 0, $pop13 # 0: down to label6 + i32.load $push12=, 4($2) + br_if 0, $pop12 # 0: down to label5 # BB#4: # %if.end24 - i32.const $push21=, __stack_pointer - i32.const $push19=, 32 - i32.add $push20=, $1, $pop19 - i32.store $drop=, 0($pop21), $pop20 - i32.const $push14=, 0 - return $pop14 + i32.const $push20=, 0 + i32.const $push18=, 32 + i32.add $push19=, $2, $pop18 + i32.store $drop=, __stack_pointer($pop20), $pop19 + i32.const $push13=, 0 + return $pop13 .LBB1_5: # %if.then23 - end_block # label6: + end_block # label5: call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/pr39120.c.s b/test/torture-s/pr39120.c.s index 5732b2ca6..a1c344245 100644 --- a/test/torture-s/pr39120.c.s +++ b/test/torture-s/pr39120.c.s @@ -8,7 +8,8 @@ foo: # @foo .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +24,7 @@ bar: # @bar i32.load $push1=, x($pop0) i32.const $push2=, 1 i32.store $drop=, 0($pop1), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -36,12 +37,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push14=, $pop6, $pop7 - i32.store $push18=, 0($pop8), $pop14 + i32.store $push18=, __stack_pointer($pop8), $pop14 tee_local $push17=, $1=, $pop18 i32.const $push0=, 0 i32.store $push16=, 12($pop17), $pop0 @@ -52,15 +53,15 @@ main: # @main i32.store $drop=, x($pop15), $pop1 call bar@FUNCTION block - i32.load $push2=, 12($1) - i32.const $push3=, 1 - i32.ne $push4=, $pop2, $pop3 + i32.load $push3=, 12($1) + i32.const $push2=, 1 + i32.ne $push4=, $pop3, $pop2 br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $1, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 return $0 .LBB2_2: # %if.then end_block # label0: diff --git a/test/torture-s/pr39233.c.s b/test/torture-s/pr39233.c.s index d77f8c441..b18157ce6 100644 --- a/test/torture-s/pr39233.c.s +++ b/test/torture-s/pr39233.c.s @@ -47,7 +47,7 @@ main: # @main i32.const $push6=, 0 call foo@FUNCTION, $pop6 i32.const $push7=, 0 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr39240.c.s b/test/torture-s/pr39240.c.s index 280a0f123..370492195 100644 --- a/test/torture-s/pr39240.c.s +++ b/test/torture-s/pr39240.c.s @@ -11,7 +11,7 @@ bar1: # @bar1 i32.const $push0=, 6 i32.add $push1=, $0, $pop0 i32.call $push2=, foo1@FUNCTION, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size bar1, .Lfunc_end0-bar1 @@ -22,7 +22,8 @@ foo1: # @foo1 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size foo1, .Lfunc_end1-foo1 @@ -40,7 +41,7 @@ bar2: # @bar2 i32.call $push2=, foo2@FUNCTION, $pop1 i32.const $push3=, 65535 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end2: .size bar2, .Lfunc_end2-bar2 @@ -55,7 +56,7 @@ foo2: # @foo2 i32.shl $push1=, $0, $pop0 i32.const $push3=, 16 i32.shr_s $push2=, $pop1, $pop3 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end3: .size foo2, .Lfunc_end3-foo2 @@ -73,7 +74,7 @@ bar3: # @bar3 i32.call $push2=, foo3@FUNCTION, $pop1 i32.const $push3=, 255 i32.and $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end4: .size bar3, .Lfunc_end4-bar3 @@ -88,7 +89,7 @@ foo3: # @foo3 i32.shl $push1=, $0, $pop0 i32.const $push3=, 24 i32.shr_s $push2=, $pop1, $pop3 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end5: .size foo3, .Lfunc_end5-foo3 @@ -104,7 +105,7 @@ bar4: # @bar4 i32.const $push0=, 6 i32.add $push1=, $0, $pop0 i32.call $push2=, foo4@FUNCTION, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end6: .size bar4, .Lfunc_end6-bar4 @@ -115,7 +116,8 @@ foo4: # @foo4 .param i32 .result i32 # BB#0: # %entry - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end7: .size foo4, .Lfunc_end7-foo4 @@ -135,7 +137,7 @@ bar5: # @bar5 i32.shl $push4=, $pop2, $pop3 i32.const $push6=, 16 i32.shr_s $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end8: .size bar5, .Lfunc_end8-bar5 @@ -148,7 +150,7 @@ foo5: # @foo5 # BB#0: # %entry i32.const $push0=, 65535 i32.and $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end9: .size foo5, .Lfunc_end9-foo5 @@ -168,7 +170,7 @@ bar6: # @bar6 i32.shl $push4=, $pop2, $pop3 i32.const $push6=, 24 i32.shr_s $push5=, $pop4, $pop6 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end10: .size bar6, .Lfunc_end10-bar6 @@ -181,7 +183,7 @@ foo6: # @foo6 # BB#0: # %entry i32.const $push0=, 255 i32.and $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end11: .size foo6, .Lfunc_end11-foo6 diff --git a/test/torture-s/pr39339.c.s b/test/torture-s/pr39339.c.s index f9d53de90..2e59c33fc 100644 --- a/test/torture-s/pr39339.c.s +++ b/test/torture-s/pr39339.c.s @@ -11,21 +11,21 @@ foo: # @foo i32.const $push20=, 12 i32.add $push1=, $0, $pop20 i32.load $5=, 0($pop1) - i32.load $push7=, 0($3) - i32.load $push8=, 0($pop7) + i32.load $push3=, 0($3) + i32.load $push4=, 0($pop3) i32.load $push0=, 4($0) - i32.const $push9=, 3 - i32.shl $push19=, $pop0, $pop9 + i32.const $push2=, 3 + i32.shl $push19=, $pop0, $pop2 tee_local $push18=, $6=, $pop19 - i32.add $push17=, $pop8, $pop18 + i32.add $push17=, $pop4, $pop18 tee_local $push16=, $0=, $pop17 i32.store $4=, 0($pop16), $1 - i32.const $push4=, -16 - i32.and $push5=, $5, $pop4 - i32.const $push2=, 15 - i32.and $push3=, $2, $pop2 - i32.or $push6=, $pop5, $pop3 - i32.store $0=, 4($0), $pop6 + i32.const $push7=, -16 + i32.and $push8=, $5, $pop7 + i32.const $push5=, 15 + i32.and $push6=, $2, $pop5 + i32.or $push9=, $pop8, $pop6 + i32.store $0=, 4($0), $pop9 block i32.const $push11=, 2 i32.lt_s $push12=, $2, $pop11 @@ -33,30 +33,31 @@ foo: # @foo # BB#1: # %for.body.preheader i32.const $push10=, 4194304 i32.or $5=, $0, $pop10 - i32.const $push22=, 12 - i32.add $0=, $6, $pop22 - i32.const $push21=, -1 - i32.add $2=, $2, $pop21 + i32.const $push22=, -1 + i32.add $0=, $2, $pop22 + i32.const $push21=, 12 + i32.add $2=, $6, $pop21 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: i32.load $push13=, 0($3) i32.load $push14=, 0($pop13) - i32.add $push27=, $pop14, $0 - tee_local $push26=, $1=, $pop27 - i32.const $push25=, -4 - i32.add $push15=, $pop26, $pop25 + i32.add $push29=, $pop14, $2 + tee_local $push28=, $1=, $pop29 + i32.store $drop=, 0($pop28), $5 + i32.const $push27=, -4 + i32.add $push15=, $1, $pop27 i32.store $drop=, 0($pop15), $4 - i32.store $drop=, 0($1), $5 - i32.const $push24=, 8 - i32.add $0=, $0, $pop24 - i32.const $push23=, -1 - i32.add $2=, $2, $pop23 - br_if 0, $2 # 0: up to label1 + i32.const $push26=, 8 + i32.add $2=, $2, $pop26 + i32.const $push25=, -1 + i32.add $push24=, $0, $pop25 + tee_local $push23=, $0=, $pop24 + br_if 0, $pop23 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -69,43 +70,43 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push25=, __stack_pointer - i32.const $push22=, __stack_pointer - i32.load $push23=, 0($pop22) + i32.const $push25=, 0 + i32.const $push22=, 0 + i32.load $push23=, __stack_pointer($pop22) i32.const $push24=, 64 i32.sub $push35=, $pop23, $pop24 - i32.store $push41=, 0($pop25), $pop35 - tee_local $push40=, $1=, $pop41 + i32.store $push40=, __stack_pointer($pop25), $pop35 + tee_local $push39=, $1=, $pop40 i32.const $push5=, 56 - i32.add $push6=, $pop40, $pop5 + i32.add $push6=, $pop39, $pop5 i32.const $push3=, 0 i64.load $push4=, .Lmain.e+8($pop3):p2align=2 i64.store $drop=, 0($pop6), $pop4 + i32.const $push38=, 0 + i64.load $push7=, .Lmain.e($pop38):p2align=2 + i64.store $drop=, 48($1), $pop7 i32.const $push8=, 4 i32.store $drop=, 12($1), $pop8 - i32.const $push9=, 255 - i32.store8 $drop=, 4($1), $pop9 - i32.const $push13=, 32 - i32.add $push14=, $1, $pop13 - i32.const $push10=, 40 - i32.add $push11=, $1, $pop10 - i64.const $push12=, 0 - i64.store $push0=, 0($pop11), $pop12 - i64.store $drop=, 0($pop14), $pop0 - i32.const $push39=, 0 - i32.store $push38=, 28($1), $pop39 - tee_local $push37=, $0=, $pop38 - i32.store $push1=, 24($1), $pop37 - i32.store $push2=, 20($1), $pop1 - i32.store $drop=, 16($1), $pop2 - i64.load $push7=, .Lmain.e($0):p2align=2 - i64.store $drop=, 48($1), $pop7 i32.const $push29=, 16 i32.add $push30=, $1, $pop29 i32.store $drop=, 8($1), $pop30 + i32.const $push12=, 32 + i32.add $push13=, $1, $pop12 + i32.const $push9=, 40 + i32.add $push10=, $1, $pop9 + i64.const $push11=, 0 + i64.store $push0=, 0($pop10), $pop11 + i64.store $drop=, 0($pop13), $pop0 + i32.const $push37=, 0 + i32.store $push1=, 28($1), $pop37 + i32.store $push2=, 24($1), $pop1 + i32.store $0=, 20($1), $pop2 + i32.const $push14=, 255 + i32.store8 $drop=, 4($1), $pop14 i32.const $push31=, 8 i32.add $push32=, $1, $pop31 i32.store $drop=, 0($1), $pop32 + i32.store $drop=, 16($1), $0 i32.const $push33=, 48 i32.add $push34=, $1, $pop33 i32.const $push16=, 65 @@ -118,14 +119,14 @@ main: # @main br_if 0, $pop18 # 0: down to label3 # BB#1: # %if.end i32.load $push19=, 28($1) - i32.const $push42=, 1434451954 - i32.ne $push20=, $pop19, $pop42 + i32.const $push41=, 1434451954 + i32.ne $push20=, $pop19, $pop41 br_if 0, $pop20 # 0: down to label3 # BB#2: # %if.end13 - i32.const $push28=, __stack_pointer + i32.const $push28=, 0 i32.const $push26=, 64 i32.add $push27=, $1, $pop26 - i32.store $drop=, 0($pop28), $pop27 + i32.store $drop=, __stack_pointer($pop28), $pop27 i32.const $push21=, 0 return $pop21 .LBB1_3: # %if.then12 diff --git a/test/torture-s/pr39501.c.s b/test/torture-s/pr39501.c.s index bd7d4a875..90c1b2a0c 100644 --- a/test/torture-s/pr39501.c.s +++ b/test/torture-s/pr39501.c.s @@ -10,7 +10,7 @@ float_min1: # @float_min1 # BB#0: # %entry f32.lt $push0=, $0, $1 f32.select $push1=, $0, $1, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size float_min1, .Lfunc_end0-float_min1 @@ -25,7 +25,7 @@ float_min2: # @float_min2 # BB#0: # %entry f32.le $push0=, $0, $1 f32.select $push1=, $0, $1, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size float_min2, .Lfunc_end1-float_min2 @@ -40,7 +40,7 @@ float_max1: # @float_max1 # BB#0: # %entry f32.gt $push0=, $0, $1 f32.select $push1=, $0, $1, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size float_max1, .Lfunc_end2-float_max1 @@ -55,7 +55,7 @@ float_max2: # @float_max2 # BB#0: # %entry f32.ge $push0=, $0, $1 f32.select $push1=, $0, $1, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end3: .size float_max2, .Lfunc_end3-float_max2 @@ -70,7 +70,7 @@ double_min1: # @double_min1 # BB#0: # %entry f64.lt $push0=, $0, $1 f64.select $push1=, $0, $1, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end4: .size double_min1, .Lfunc_end4-double_min1 @@ -85,7 +85,7 @@ double_min2: # @double_min2 # BB#0: # %entry f64.le $push0=, $0, $1 f64.select $push1=, $0, $1, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end5: .size double_min2, .Lfunc_end5-double_min2 @@ -100,7 +100,7 @@ double_max1: # @double_max1 # BB#0: # %entry f64.gt $push0=, $0, $1 f64.select $push1=, $0, $1, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end6: .size double_max1, .Lfunc_end6-double_max1 @@ -115,7 +115,7 @@ double_max2: # @double_max2 # BB#0: # %entry f64.ge $push0=, $0, $1 f64.select $push1=, $0, $1, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end7: .size double_max2, .Lfunc_end7-double_max2 diff --git a/test/torture-s/pr40022.c.s b/test/torture-s/pr40022.c.s index 671d79731..c1b8beb72 100644 --- a/test/torture-s/pr40022.c.s +++ b/test/torture-s/pr40022.c.s @@ -9,8 +9,8 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, __stack_pointer - i32.load $push1=, 0($pop0) + i32.const $push0=, 0 + i32.load $push1=, __stack_pointer($pop0) i32.const $push2=, 16 i32.sub $push5=, $pop1, $pop2 tee_local $push4=, $1=, $pop5 @@ -19,7 +19,8 @@ foo: # @foo i32.add $1=, $1, $pop3 #APP #NO_APP - return $0 + copy_local $push6=, $0 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -30,40 +31,45 @@ foo: # @foo .type bar,@function bar: # @bar .param i32, i32, i32, i32 + .local i32 # BB#0: # %entry block i32.call $push4=, foo@FUNCTION, $1 tee_local $push3=, $1=, $pop4 i32.store $push0=, 0($0), $pop3 - i32.eqz $push7=, $pop0 - br_if 0, $pop7 # 0: down to label0 + i32.eqz $push11=, $pop0 + br_if 0, $pop11 # 0: down to label0 .LBB1_1: # %while.cond.while.cond_crit_edge # =>This Inner Loop Header: Depth=1 loop # label1: copy_local $0=, $1 - i32.load $1=, 0($1) - br_if 0, $1 # 0: up to label1 + i32.load $push6=, 0($1) + tee_local $push5=, $4=, $pop6 + copy_local $1=, $pop5 + br_if 0, $4 # 0: up to label1 .LBB1_2: # %while.end end_loop # label2: end_block # label0: block - i32.call $push6=, foo@FUNCTION, $2 - tee_local $push5=, $1=, $pop6 - i32.store $push1=, 0($0), $pop5 - i32.eqz $push8=, $pop1 - br_if 0, $pop8 # 0: down to label3 + i32.call $push8=, foo@FUNCTION, $2 + tee_local $push7=, $1=, $pop8 + i32.store $push1=, 0($0), $pop7 + i32.eqz $push12=, $pop1 + br_if 0, $pop12 # 0: down to label3 .LBB1_3: # %while.cond2.while.cond2_crit_edge # =>This Inner Loop Header: Depth=1 loop # label4: copy_local $0=, $1 - i32.load $1=, 0($1) - br_if 0, $1 # 0: up to label4 + i32.load $push10=, 0($1) + tee_local $push9=, $4=, $pop10 + copy_local $1=, $pop9 + br_if 0, $4 # 0: up to label4 .LBB1_4: # %while.end6 end_loop # label5: end_block # label3: i32.call $push2=, foo@FUNCTION, $3 i32.store $drop=, 0($0), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr40057.c.s b/test/torture-s/pr40057.c.s index 145d6a4de..6d35efcaa 100644 --- a/test/torture-s/pr40057.c.s +++ b/test/torture-s/pr40057.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.wrap/i64 $push0=, $0 i32.const $push1=, 31 i32.shr_s $push2=, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -27,7 +27,7 @@ bar: # @bar i32.wrap/i64 $push0=, $0 i32.const $push1=, 31 i32.shr_s $push2=, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr40386.c.s b/test/torture-s/pr40386.c.s index 0b9cbc909..3fafc0f21 100644 --- a/test/torture-s/pr40386.c.s +++ b/test/torture-s/pr40386.c.s @@ -11,69 +11,69 @@ main: # @main block i32.const $push0=, 0 i32.load8_s $push125=, c($pop0) - tee_local $push124=, $2=, $pop125 + tee_local $push124=, $0=, $pop125 i32.const $push2=, 8 i32.const $push123=, 0 i32.load $push122=, shift1($pop123) tee_local $push121=, $1=, $pop122 i32.sub $push120=, $pop2, $pop121 - tee_local $push119=, $0=, $pop120 + tee_local $push119=, $2=, $pop120 i32.shl $push3=, $pop124, $pop119 - i32.shr_s $push1=, $2, $1 + i32.shr_s $push1=, $0, $1 i32.or $push4=, $pop3, $pop1 i32.const $push118=, 835 i32.ne $push5=, $pop4, $pop118 br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.end i32.const $push6=, 4 - i32.shr_s $push7=, $2, $pop6 + i32.shr_s $push8=, $0, $pop6 i32.const $push127=, 4 - i32.shl $push8=, $2, $pop127 - i32.or $push9=, $pop7, $pop8 + i32.shl $push7=, $0, $pop127 + i32.or $push9=, $pop8, $pop7 i32.const $push126=, 835 i32.ne $push10=, $pop9, $pop126 br_if 0, $pop10 # 0: down to label0 # BB#2: # %if.end11 - i32.const $push11=, 0 - i32.load16_s $push132=, s($pop11) - tee_local $push131=, $4=, $pop132 - i32.shr_s $push12=, $pop131, $1 - i32.const $push13=, 16 - i32.sub $push130=, $pop13, $1 - tee_local $push129=, $3=, $pop130 - i32.shl $push14=, $4, $pop129 - i32.or $push15=, $pop12, $pop14 + i32.const $push12=, 0 + i32.load16_s $push132=, s($pop12) + tee_local $push131=, $3=, $pop132 + i32.shr_s $push14=, $pop131, $1 + i32.const $push11=, 16 + i32.sub $push130=, $pop11, $1 + tee_local $push129=, $4=, $pop130 + i32.shl $push13=, $3, $pop129 + i32.or $push15=, $pop14, $pop13 i32.const $push128=, -221 i32.ne $push16=, $pop15, $pop128 br_if 0, $pop16 # 0: down to label0 # BB#3: # %if.end21 - i32.const $push17=, 4 - i32.shr_s $push18=, $4, $pop17 - i32.const $push19=, 12 - i32.shl $push20=, $4, $pop19 - i32.or $push21=, $pop18, $pop20 + i32.const $push19=, 4 + i32.shr_s $push20=, $3, $pop19 + i32.const $push17=, 12 + i32.shl $push18=, $3, $pop17 + i32.or $push21=, $pop20, $pop18 i32.const $push133=, -221 i32.ne $push22=, $pop21, $pop133 br_if 0, $pop22 # 0: down to label0 # BB#4: # %if.end30 - i32.const $push23=, 0 - i32.load $push138=, i($pop23) - tee_local $push137=, $6=, $pop138 - i32.shr_s $push24=, $pop137, $1 - i32.const $push25=, 32 - i32.sub $push136=, $pop25, $1 - tee_local $push135=, $5=, $pop136 - i32.shl $push26=, $6, $pop135 - i32.or $push27=, $pop24, $pop26 + i32.const $push24=, 0 + i32.load $push138=, i($pop24) + tee_local $push137=, $5=, $pop138 + i32.shr_s $push26=, $pop137, $1 + i32.const $push23=, 32 + i32.sub $push136=, $pop23, $1 + tee_local $push135=, $6=, $pop136 + i32.shl $push25=, $5, $pop135 + i32.or $push27=, $pop26, $pop25 i32.const $push134=, 1073745699 i32.ne $push28=, $pop27, $pop134 br_if 0, $pop28 # 0: down to label0 # BB#5: # %if.end38 - i32.const $push29=, 4 - i32.shr_s $push30=, $6, $pop29 - i32.const $push31=, 28 - i32.shl $push32=, $6, $pop31 - i32.or $push33=, $pop30, $pop32 + i32.const $push31=, 4 + i32.shr_s $push32=, $5, $pop31 + i32.const $push29=, 28 + i32.shl $push30=, $5, $pop29 + i32.or $push33=, $pop32, $pop30 i32.const $push139=, 1073745699 i32.ne $push34=, $pop33, $pop139 br_if 0, $pop34 # 0: down to label0 @@ -81,43 +81,43 @@ main: # @main i32.const $push35=, 0 i32.load $push142=, l($pop35) tee_local $push141=, $7=, $pop142 - i32.shr_s $push36=, $pop141, $1 - i32.shl $push37=, $7, $5 - i32.or $push38=, $pop36, $pop37 + i32.shr_s $push37=, $pop141, $1 + i32.shl $push36=, $7, $6 + i32.or $push38=, $pop37, $pop36 i32.const $push140=, -14465689 i32.ne $push39=, $pop38, $pop140 br_if 0, $pop39 # 0: down to label0 # BB#7: # %if.end53 - i32.const $push40=, 4 - i32.shr_s $push41=, $7, $pop40 - i32.const $push42=, 28 - i32.shl $push43=, $7, $pop42 - i32.or $push44=, $pop41, $pop43 + i32.const $push42=, 4 + i32.shr_s $push43=, $7, $pop42 + i32.const $push40=, 28 + i32.shl $push41=, $7, $pop40 + i32.or $push44=, $pop43, $pop41 i32.const $push143=, -14465689 i32.ne $push45=, $pop44, $pop143 br_if 0, $pop45 # 0: down to label0 # BB#8: # %if.end60 i32.const $push46=, 0 i64.load $push150=, ll($pop46) - tee_local $push149=, $10=, $pop150 + tee_local $push149=, $8=, $pop150 i64.extend_u/i32 $push148=, $1 tee_local $push147=, $9=, $pop148 i64.shr_s $push47=, $pop149, $pop147 i32.const $push48=, 64 i32.sub $push49=, $pop48, $1 i64.extend_u/i32 $push146=, $pop49 - tee_local $push145=, $8=, $pop146 - i64.shl $push50=, $10, $pop145 + tee_local $push145=, $10=, $pop146 + i64.shl $push50=, $8, $pop145 i64.or $push51=, $pop47, $pop50 i64.const $push144=, 68174490360335855 i64.ne $push52=, $pop51, $pop144 br_if 0, $pop52 # 0: down to label0 # BB#9: # %if.end69 - i64.const $push53=, 4 - i64.shr_s $push54=, $10, $pop53 - i64.const $push55=, 60 - i64.shl $push56=, $10, $pop55 - i64.or $push57=, $pop54, $pop56 + i64.const $push55=, 4 + i64.shr_s $push56=, $8, $pop55 + i64.const $push53=, 60 + i64.shl $push54=, $8, $pop53 + i64.or $push57=, $pop56, $pop54 i64.const $push151=, 68174490360335855 i64.ne $push58=, $pop57, $pop151 br_if 0, $pop58 # 0: down to label0 @@ -129,88 +129,88 @@ main: # @main i32.sub $push62=, $pop61, $pop157 i64.extend_u/i32 $push156=, $pop62 tee_local $push155=, $12=, $pop156 - i64.shl $push63=, $10, $pop155 + i64.shl $push63=, $8, $pop155 i64.extend_u/i32 $push154=, $13 tee_local $push153=, $11=, $pop154 - i64.shr_s $push60=, $10, $pop153 + i64.shr_s $push60=, $8, $pop153 i64.or $push64=, $pop63, $pop60 i64.const $push152=, -994074541463572736 i64.ne $push65=, $pop64, $pop152 br_if 0, $pop65 # 0: down to label0 # BB#11: # %if.end86 - i64.const $push66=, 60 - i64.shr_s $push67=, $10, $pop66 - i64.const $push68=, 4 - i64.shl $push69=, $10, $pop68 - i64.or $push70=, $pop67, $pop69 + i64.const $push68=, 60 + i64.shr_s $push69=, $8, $pop68 + i64.const $push66=, 4 + i64.shl $push67=, $8, $pop66 + i64.or $push70=, $pop69, $pop67 i64.const $push159=, -994074541463572736 i64.ne $push71=, $pop70, $pop159 br_if 0, $pop71 # 0: down to label0 # BB#12: # %if.end93 - i32.shr_s $push73=, $2, $0 - i32.shl $push72=, $2, $1 + i32.shr_s $push73=, $0, $2 + i32.shl $push72=, $0, $1 i32.or $push74=, $pop73, $pop72 i32.const $push75=, 835 i32.ne $push76=, $pop74, $pop75 br_if 0, $pop76 # 0: down to label0 # BB#13: # %if.end112 - i32.shl $push77=, $4, $1 - i32.shr_s $push78=, $4, $3 - i32.or $push79=, $pop77, $pop78 + i32.shl $push78=, $3, $1 + i32.shr_s $push77=, $3, $4 + i32.or $push79=, $pop78, $pop77 i32.const $push160=, -1 i32.ne $push80=, $pop79, $pop160 br_if 0, $pop80 # 0: down to label0 # BB#14: # %if.end122 - i32.const $push81=, 4 - i32.shl $push82=, $4, $pop81 - i32.const $push83=, 12 - i32.shr_s $push84=, $4, $pop83 - i32.or $push85=, $pop82, $pop84 + i32.const $push83=, 4 + i32.shl $push84=, $3, $pop83 + i32.const $push81=, 12 + i32.shr_s $push82=, $3, $pop81 + i32.or $push85=, $pop84, $pop82 i32.const $push161=, -1 i32.ne $push86=, $pop85, $pop161 br_if 0, $pop86 # 0: down to label0 # BB#15: # %if.end131 - i32.shl $push87=, $6, $1 - i32.shr_s $push88=, $6, $5 - i32.or $push89=, $pop87, $pop88 + i32.shl $push88=, $5, $1 + i32.shr_s $push87=, $5, $6 + i32.or $push89=, $pop88, $pop87 i32.const $push162=, 992064 i32.ne $push90=, $pop89, $pop162 br_if 0, $pop90 # 0: down to label0 # BB#16: # %if.end139 - i32.const $push91=, 4 - i32.shl $push92=, $6, $pop91 - i32.const $push93=, 28 - i32.shr_s $push94=, $6, $pop93 - i32.or $push95=, $pop92, $pop94 + i32.const $push93=, 4 + i32.shl $push94=, $5, $pop93 + i32.const $push91=, 28 + i32.shr_s $push92=, $5, $pop91 + i32.or $push95=, $pop94, $pop92 i32.const $push163=, 992064 i32.ne $push96=, $pop95, $pop163 br_if 0, $pop96 # 0: down to label0 # BB#17: # %if.end146 - i32.shl $push97=, $7, $1 - i32.shr_s $push98=, $7, $5 - i32.or $push99=, $pop97, $pop98 + i32.shl $push98=, $7, $1 + i32.shr_s $push97=, $7, $6 + i32.or $push99=, $pop98, $pop97 i32.const $push164=, -1 i32.ne $push100=, $pop99, $pop164 br_if 0, $pop100 # 0: down to label0 # BB#18: # %if.end154 - i32.const $push101=, 4 - i32.shl $push102=, $7, $pop101 - i32.const $push103=, 28 - i32.shr_s $push104=, $7, $pop103 - i32.or $push105=, $pop102, $pop104 + i32.const $push103=, 4 + i32.shl $push104=, $7, $pop103 + i32.const $push101=, 28 + i32.shr_s $push102=, $7, $pop101 + i32.or $push105=, $pop104, $pop102 i32.const $push165=, -1 i32.ne $push106=, $pop105, $pop165 br_if 0, $pop106 # 0: down to label0 # BB#19: # %if.end161 - i64.shl $push107=, $10, $9 - i64.shr_s $push108=, $10, $8 - i64.or $push109=, $pop107, $pop108 + i64.shl $push108=, $8, $9 + i64.shr_s $push107=, $8, $10 + i64.or $push109=, $pop108, $pop107 i64.const $push110=, -994074541463572736 i64.ne $push111=, $pop109, $pop110 br_if 0, $pop111 # 0: down to label0 # BB#20: # %if.end178 - i64.shr_s $push113=, $10, $12 - i64.shl $push112=, $10, $11 + i64.shr_s $push113=, $8, $12 + i64.shl $push112=, $8, $11 i64.or $push114=, $pop113, $pop112 i64.const $push115=, 68174490360335855 i64.ne $push116=, $pop114, $pop115 diff --git a/test/torture-s/pr40404.c.s b/test/torture-s/pr40404.c.s index d238d6f5b..e2587e706 100644 --- a/test/torture-s/pr40404.c.s +++ b/test/torture-s/pr40404.c.s @@ -14,7 +14,7 @@ main: # @main i32.or $push3=, $pop1, $pop2 i32.store $drop=, s($pop0), $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr40493.c.s b/test/torture-s/pr40493.c.s index 3e6e9bd2a..811749340 100644 --- a/test/torture-s/pr40493.c.s +++ b/test/torture-s/pr40493.c.s @@ -7,19 +7,20 @@ main: # @main .param i32, i32 .result i32 + .local i32 # BB#0: # %entry - i32.const $push3=, 0 - i32.const $push8=, 0 - i32.const $push2=, 2 - i32.store $push0=, x00($pop8), $pop2 - i32.store $drop=, y00($pop3), $pop0 + i32.const $push2=, 0 + i32.const $push1=, 22 + i32.store $2=, x01($pop2), $pop1 i32.const $push7=, 0 i32.const $push6=, 0 - i32.const $push4=, 22 - i32.store $push1=, x01($pop6), $pop4 - i32.store $drop=, y01($pop7), $pop1 + i32.const $push3=, 2 + i32.store $push0=, x00($pop6), $pop3 + i32.store $drop=, y00($pop7), $pop0 i32.const $push5=, 0 - return $pop5 + i32.store $drop=, y01($pop5), $2 + i32.const $push4=, 0 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr40579.c.s b/test/torture-s/pr40579.c.s index 904fe23c5..8bdfdbd86 100644 --- a/test/torture-s/pr40579.c.s +++ b/test/torture-s/pr40579.c.s @@ -16,7 +16,7 @@ main: # @main i32.const $push3=, 3 call foo@FUNCTION, $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr40657.c.s b/test/torture-s/pr40657.c.s index 1bbe5b298..95e5a9e1f 100644 --- a/test/torture-s/pr40657.c.s +++ b/test/torture-s/pr40657.c.s @@ -8,8 +8,8 @@ bar: # @bar .param i32 .local i32 # BB#0: # %entry - i32.const $push0=, __stack_pointer - i32.load $push1=, 0($pop0) + i32.const $push0=, 0 + i32.load $push1=, __stack_pointer($pop0) i32.const $push2=, 16 i32.sub $push5=, $pop1, $pop2 tee_local $push4=, $1=, $pop5 @@ -18,7 +18,7 @@ bar: # @bar i32.add $0=, $1, $pop3 #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -29,25 +29,26 @@ bar: # @bar .type foo,@function foo: # @foo .result i64 - .local i64, i32 + .local i32, i64 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push10=, $pop2, $pop3 - i32.store $push12=, 0($pop4), $pop10 - tee_local $push11=, $1=, $pop12 + i32.store $push12=, __stack_pointer($pop4), $pop10 + tee_local $push11=, $0=, $pop12 i32.const $push8=, 12 i32.add $push9=, $pop11, $pop8 call bar@FUNCTION, $pop9 i32.const $push0=, 0 - i64.load $0=, v($pop0) - i32.const $push7=, __stack_pointer + i64.load $1=, v($pop0) + i32.const $push7=, 0 i32.const $push5=, 16 - i32.add $push6=, $1, $pop5 - i32.store $drop=, 0($pop7), $pop6 - return $0 + i32.add $push6=, $0, $pop5 + i32.store $drop=, __stack_pointer($pop7), $pop6 + copy_local $push13=, $1 + # fallthrough-return: $pop13 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/pr40668.c.s b/test/torture-s/pr40668.c.s index 62b7bdd94..f28de56fd 100644 --- a/test/torture-s/pr40668.c.s +++ b/test/torture-s/pr40668.c.s @@ -45,7 +45,7 @@ bar: # @bar i32.store $drop=, 0($1):p2align=0, $pop3 .LBB0_6: # %sw.epilog end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -58,7 +58,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr40747.c.s b/test/torture-s/pr40747.c.s index 9ffe947f1..0c67b9731 100644 --- a/test/torture-s/pr40747.c.s +++ b/test/torture-s/pr40747.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.const $push3=, 4 i32.lt_u $push1=, $0, $pop3 i32.select $push2=, $0, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -25,7 +25,7 @@ main: # @main .result i32 # BB#0: # %if.end24 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr41239.c.s b/test/torture-s/pr41239.c.s index a23c94b84..1c4e732d3 100644 --- a/test/torture-s/pr41239.c.s +++ b/test/torture-s/pr41239.c.s @@ -9,12 +9,12 @@ test: # @test .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push16=, __stack_pointer - i32.const $push13=, __stack_pointer - i32.load $push14=, 0($pop13) + i32.const $push16=, 0 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) i32.const $push15=, 16 i32.sub $push20=, $pop14, $pop15 - i32.store $1=, 0($pop16), $pop20 + i32.store $1=, __stack_pointer($pop16), $pop20 i32.load $2=, 4($0) block i32.const $push0=, 8 @@ -24,11 +24,11 @@ test: # @test br_if 0, $pop21 # 0: down to label0 # BB#1: # %if.then i32.const $push5=, 20 - i32.const $push3=, .L.str - i32.const $push4=, 924 + i32.const $push4=, .L.str + i32.const $push3=, 924 i32.const $push2=, .L__func__.test i32.const $push23=, 0 - i32.call $push6=, fn1@FUNCTION, $pop5, $pop3, $pop4, $pop2, $pop23 + i32.call $push6=, fn1@FUNCTION, $pop5, $pop4, $pop3, $pop2, $pop23 i32.const $push7=, 255 i32.and $push8=, $pop6, $pop7 i32.eqz $push25=, $pop8 @@ -43,12 +43,12 @@ test: # @test call fn2@FUNCTION, $3, $1 .LBB0_3: # %if.end end_block # label0: - i32.const $push19=, __stack_pointer + i32.const $push19=, 0 i32.const $push17=, 16 i32.add $push18=, $1, $pop17 - i32.store $drop=, 0($pop19), $pop18 + i32.store $drop=, __stack_pointer($pop19), $pop18 i32.div_s $push12=, $2, $0 - return $pop12 + # fallthrough-return: $pop12 .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -69,7 +69,7 @@ fn1: # @fn1 i32.shl $push1=, $0, $pop0 i32.const $push3=, 24 i32.shr_s $push2=, $pop1, $pop3 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size fn1, .Lfunc_end1-fn1 @@ -106,7 +106,8 @@ fn3: # @fn3 # BB#0: # %entry #APP #NO_APP - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size fn3, .Lfunc_end3-fn3 @@ -122,7 +123,7 @@ fn4: # @fn4 #APP #NO_APP i32.load8_s $push0=, 0($0) - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end4: .size fn4, .Lfunc_end4-fn4 @@ -135,12 +136,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push9=, $pop6, $pop7 - i32.store $push12=, 0($pop8), $pop9 + i32.store $push12=, __stack_pointer($pop8), $pop9 tee_local $push11=, $0=, $pop12 i32.const $push2=, 8 i32.add $push3=, $pop11, $pop2 diff --git a/test/torture-s/pr41317.c.s b/test/torture-s/pr41317.c.s index ebfb13d7d..024ad45ca 100644 --- a/test/torture-s/pr41317.c.s +++ b/test/torture-s/pr41317.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr41395-1.c.s b/test/torture-s/pr41395-1.c.s index 107561e6b..e01d677e2 100644 --- a/test/torture-s/pr41395-1.c.s +++ b/test/torture-s/pr41395-1.c.s @@ -21,7 +21,7 @@ foo: # @foo i32.const $push8=, 1 i32.store16 $drop=, 0($pop6), $pop8 i32.load16_s $push7=, 0($1) - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr41395-2.c.s b/test/torture-s/pr41395-2.c.s index 310558ece..c721b2efb 100644 --- a/test/torture-s/pr41395-2.c.s +++ b/test/torture-s/pr41395-2.c.s @@ -21,7 +21,7 @@ foo: # @foo i32.const $push8=, 1 i32.store16 $drop=, 0($pop6), $pop8 i32.load16_s $push7=, 0($1) - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr41750.c.s b/test/torture-s/pr41750.c.s index 61c8fc816..6eea5b8a7 100644 --- a/test/torture-s/pr41750.c.s +++ b/test/torture-s/pr41750.c.s @@ -11,7 +11,7 @@ foo_create_got_section: # @foo_create_got_section i32.load $push0=, 0($1) i32.store $drop=, 8($pop0), $0 i32.const $push1=, 1 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo_create_got_section, .Lfunc_end0-foo_create_got_section @@ -27,29 +27,30 @@ elf64_ia64_check_relocs: # @elf64_ia64_check_relocs # BB#0: # %entry block i32.load $push8=, 0($1) - tee_local $push7=, $3=, $pop8 + tee_local $push7=, $2=, $pop8 i32.load $push6=, 8($pop7) - tee_local $push5=, $2=, $pop6 + tee_local $push5=, $3=, $pop6 br_if 0, $pop5 # 0: down to label0 # BB#1: # %if.then.i block - i32.load $push10=, 4($3) - tee_local $push9=, $2=, $pop10 + i32.load $push10=, 4($2) + tee_local $push9=, $3=, $pop10 br_if 0, $pop9 # 0: down to label1 # BB#2: # %if.then3.i i32.const $push1=, 4 - i32.add $push2=, $3, $pop1 + i32.add $push2=, $2, $pop1 i32.store $push0=, 0($pop2), $0 - copy_local $2=, $pop0 + copy_local $3=, $pop0 .LBB1_3: # %if.end.i end_block # label1: - i32.call $drop=, foo_create_got_section@FUNCTION, $2, $1 + i32.call $drop=, foo_create_got_section@FUNCTION, $3, $1 i32.const $push3=, 8 - i32.add $push4=, $3, $pop3 - i32.load $2=, 0($pop4) + i32.add $push4=, $2, $pop3 + i32.load $3=, 0($pop4) .LBB1_4: # %get_got.exit end_block # label0: - return $2 + copy_local $push11=, $3 + # fallthrough-return: $pop11 .endfunc .Lfunc_end1: .size elf64_ia64_check_relocs, .Lfunc_end1-elf64_ia64_check_relocs diff --git a/test/torture-s/pr41919.c.s b/test/torture-s/pr41919.c.s index 1dde487f4..470d18ac5 100644 --- a/test/torture-s/pr41919.c.s +++ b/test/torture-s/pr41919.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr42006.c.s b/test/torture-s/pr42006.c.s index bc6e74269..79aeb766d 100644 --- a/test/torture-s/pr42006.c.s +++ b/test/torture-s/pr42006.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr42142.c.s b/test/torture-s/pr42142.c.s index e96da5114..f6915bf71 100644 --- a/test/torture-s/pr42142.c.s +++ b/test/torture-s/pr42142.c.s @@ -8,16 +8,16 @@ sort: # @sort .param i32 .result i32 # BB#0: # %entry - i32.const $push4=, 2 - i32.const $push2=, 1 + i32.const $push2=, 2 + i32.const $push0=, 1 i32.const $push8=, 1 - i32.lt_s $push3=, $0, $pop8 - i32.select $push5=, $pop4, $pop2, $pop3 + i32.lt_s $push1=, $0, $pop8 + i32.select $push3=, $pop2, $pop0, $pop1 i32.const $push6=, 0 - i32.const $push0=, 10 - i32.lt_s $push1=, $0, $pop0 - i32.select $push7=, $pop5, $pop6, $pop1 - return $pop7 + i32.const $push4=, 10 + i32.lt_s $push5=, $0, $pop4 + i32.select $push7=, $pop3, $pop6, $pop5 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size sort, .Lfunc_end0-sort diff --git a/test/torture-s/pr42154.c.s b/test/torture-s/pr42154.c.s index d26d65573..1f84a6f4d 100644 --- a/test/torture-s/pr42154.c.s +++ b/test/torture-s/pr42154.c.s @@ -33,7 +33,7 @@ main: # @main i32.const $push0=, 97 call foo@FUNCTION, $pop0 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr42231.c.s b/test/torture-s/pr42231.c.s index 9ab1001cd..000ce88ad 100644 --- a/test/torture-s/pr42231.c.s +++ b/test/torture-s/pr42231.c.s @@ -59,7 +59,8 @@ CallFunctionRec: # @CallFunctionRec return $pop4 .LBB1_3: # %return end_block # label2: - return $1 + copy_local $push6=, $1 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size CallFunctionRec, .Lfunc_end1-CallFunctionRec @@ -79,7 +80,7 @@ storemax: # @storemax i32.store $drop=, max($pop3), $0 .LBB2_2: # %if.end end_block # label3: - return + # fallthrough-return .endfunc .Lfunc_end2: .size storemax, .Lfunc_end2-storemax diff --git a/test/torture-s/pr42248.c.s b/test/torture-s/pr42248.c.s index b03634fca..c429ddeb2 100644 --- a/test/torture-s/pr42248.c.s +++ b/test/torture-s/pr42248.c.s @@ -8,9 +8,9 @@ check: # @check .param i32, i32 # BB#0: # %entry block - f64.load $push2=, 0($0) - f64.load $push3=, 0($1) - f64.ne $push4=, $pop2, $pop3 + f64.load $push3=, 0($0) + f64.load $push2=, 0($1) + f64.ne $push4=, $pop3, $pop2 br_if 0, $pop4 # 0: down to label0 # BB#1: # %entry f64.load $push0=, 8($0) @@ -33,13 +33,12 @@ check: # @check .type init,@function init: # @init .param i32, i32 - .local i64 # BB#0: # %entry - i64.load $2=, 8($1) i64.load $push0=, 0($1) i64.store $drop=, 0($0), $pop0 - i64.store $drop=, 8($0), $2 - return + i64.load $push1=, 8($1) + i64.store $drop=, 8($0), $pop1 + # fallthrough-return .endfunc .Lfunc_end1: .size init, .Lfunc_end1-init @@ -52,13 +51,13 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push1=, 0 - i64.const $push0=, 4607182418800017408 - i64.store $drop=, g1s($pop1), $pop0 + i64.const $push0=, 0 + i64.store $drop=, g1s+8($pop1), $pop0 i32.const $push4=, 0 - i64.const $push2=, 0 - i64.store $drop=, g1s+8($pop4), $pop2 + i64.const $push2=, 4607182418800017408 + i64.store $drop=, g1s($pop4), $pop2 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr42269-2.c.s b/test/torture-s/pr42269-2.c.s index ccc841dc2..63cdeb0e2 100644 --- a/test/torture-s/pr42269-2.c.s +++ b/test/torture-s/pr42269-2.c.s @@ -12,7 +12,7 @@ main: # @main i64.call $push2=, foo@FUNCTION, $pop1 i64.const $push3=, -1 i64.ne $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -28,7 +28,7 @@ foo: # @foo i64.shl $push2=, $pop0, $pop1 i64.const $push4=, 48 i64.shr_s $push3=, $pop2, $pop4 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/pr42512.c.s b/test/torture-s/pr42512.c.s index 8a95bc833..aa1e971d4 100644 --- a/test/torture-s/pr42512.c.s +++ b/test/torture-s/pr42512.c.s @@ -6,28 +6,29 @@ .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry i32.const $push1=, 0 - i32.load16_u $0=, g_3($pop1) + i32.load16_u $2=, g_3($pop1) i32.const $1=, -1 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: i32.const $push11=, 65535 - i32.and $push2=, $0, $pop11 - i32.or $0=, $pop2, $1 + i32.and $push3=, $2, $pop11 + i32.or $2=, $pop3, $1 i32.const $push10=, 255 - i32.add $push3=, $1, $pop10 + i32.add $push2=, $1, $pop10 i32.const $push9=, 255 - i32.and $push8=, $pop3, $pop9 - tee_local $push7=, $1=, $pop8 - br_if 0, $pop7 # 0: up to label0 + i32.and $push8=, $pop2, $pop9 + tee_local $push7=, $0=, $pop8 + copy_local $1=, $pop7 + br_if 0, $0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: block i32.const $push13=, 0 - i32.store16 $push0=, g_3($pop13), $0 + i32.store16 $push0=, g_3($pop13), $2 i32.const $push4=, 65535 i32.and $push5=, $pop0, $pop4 i32.const $push12=, 65535 diff --git a/test/torture-s/pr42544.c.s b/test/torture-s/pr42544.c.s index c9c390d45..0c6e163af 100644 --- a/test/torture-s/pr42544.c.s +++ b/test/torture-s/pr42544.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr42570.c.s b/test/torture-s/pr42570.c.s index 1a2dc127a..64198f3ee 100644 --- a/test/torture-s/pr42570.c.s +++ b/test/torture-s/pr42570.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr42614.c.s b/test/torture-s/pr42614.c.s index 3bb901bbd..3cb069138 100644 --- a/test/torture-s/pr42614.c.s +++ b/test/torture-s/pr42614.c.s @@ -9,7 +9,7 @@ init: # @init # BB#0: # %entry i32.const $push0=, 2 i32.call $push1=, malloc@FUNCTION, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size init, .Lfunc_end0-init @@ -45,12 +45,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push11=, $pop3, $pop4 - i32.store $push13=, 0($pop5), $pop11 + i32.store $push13=, __stack_pointer($pop5), $pop11 tee_local $push12=, $1=, $pop13 i32.const $push0=, 0 i32.store8 $0=, 15($pop12), $pop0 @@ -58,11 +58,12 @@ main: # @main i32.const $push9=, 15 i32.add $push10=, $1, $pop9 call expect_func@FUNCTION, $pop1, $pop10 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $1, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return $0 + i32.store $drop=, __stack_pointer($pop8), $pop7 + copy_local $push14=, $0 + # fallthrough-return: $pop14 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr42691.c.s b/test/torture-s/pr42691.c.s index 858528a7f..d51640495 100644 --- a/test/torture-s/pr42691.c.s +++ b/test/torture-s/pr42691.c.s @@ -11,33 +11,34 @@ add: # @add # BB#0: # %entry block block - f64.load $push7=, 0($1) - tee_local $push6=, $3=, $pop7 - f64.load $push5=, 0($0) - tee_local $push4=, $2=, $pop5 - f64.eq $push0=, $pop6, $pop4 - br_if 0, $pop0 # 0: down to label1 + f64.load $push8=, 0($1) + tee_local $push7=, $3=, $pop8 + f64.load $push6=, 0($0) + tee_local $push5=, $2=, $pop6 + f64.eq $push1=, $pop7, $pop5 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %if.end.preheader - i32.const $push8=, 8 - i32.add $1=, $1, $pop8 + i32.const $push9=, 8 + i32.add $1=, $1, $pop9 .LBB0_2: # %if.end # =>This Inner Loop Header: Depth=1 loop # label2: - f64.const $push9=, infinity - f64.ne $push1=, $3, $pop9 - br_if 3, $pop1 # 3: down to label0 + f64.const $push10=, infinity + f64.ne $push2=, $3, $pop10 + br_if 3, $pop2 # 3: down to label0 # BB#3: # %while.cond # in Loop: Header=BB0_2 Depth=1 f64.load $3=, 0($1) - i32.const $push10=, 8 - i32.add $1=, $1, $pop10 - f64.ne $push2=, $3, $2 - br_if 0, $pop2 # 0: up to label2 + i32.const $push11=, 8 + i32.add $push0=, $1, $pop11 + copy_local $1=, $pop0 + f64.ne $push3=, $3, $2 + br_if 0, $pop3 # 0: up to label2 .LBB0_4: # %if.end10 end_loop # label3: end_block # label1: - i32.const $push3=, 0 - return $pop3 + i32.const $push4=, 0 + return $pop4 .LBB0_5: # %if.then3 end_block # label0: call abort@FUNCTION @@ -52,45 +53,46 @@ add: # @add .type main,@function main: # @main .result i32 - .local i32, f64, i32 + .local i32, i32, f64 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) - i32.const $push7=, 16 - i32.sub $push12=, $pop6, $pop7 - i32.store $push15=, 0($pop8), $pop12 - tee_local $push14=, $2=, $pop15 - i64.const $push0=, 9218868437227405312 - i64.store $drop=, 0($pop14), $pop0 + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) + i32.const $push8=, 16 + i32.sub $push13=, $pop7, $pop8 + i32.store $push16=, __stack_pointer($pop9), $pop13 + tee_local $push15=, $0=, $pop16 i64.const $push1=, 4627167142146473984 - i64.store $drop=, 8($2), $pop1 - i32.const $push13=, 8 - i32.or $0=, $2, $pop13 - f64.const $1=, infinity + i64.store $drop=, 8($pop15), $pop1 + i64.const $push2=, 9218868437227405312 + i64.store $drop=, 0($0), $pop2 + i32.const $push14=, 8 + i32.or $1=, $0, $pop14 + f64.const $2=, infinity .LBB1_1: # %if.end.i # =>This Inner Loop Header: Depth=1 block loop # label5: - f64.const $push16=, infinity - f64.ne $push2=, $1, $pop16 - br_if 2, $pop2 # 2: down to label4 + f64.const $push17=, infinity + f64.ne $push3=, $2, $pop17 + br_if 2, $pop3 # 2: down to label4 # BB#2: # %while.cond.i # in Loop: Header=BB1_1 Depth=1 - f64.load $1=, 0($0) - i32.const $push18=, 8 - i32.add $0=, $0, $pop18 - f64.const $push17=, 0x1.7p4 - f64.ne $push3=, $1, $pop17 - br_if 0, $pop3 # 0: up to label5 + f64.load $2=, 0($1) + i32.const $push19=, 8 + i32.add $push0=, $1, $pop19 + copy_local $1=, $pop0 + f64.const $push18=, 0x1.7p4 + f64.ne $push4=, $2, $pop18 + br_if 0, $pop4 # 0: up to label5 # BB#3: # %add.exit end_loop # label6: - i32.const $push11=, __stack_pointer - i32.const $push9=, 16 - i32.add $push10=, $2, $pop9 - i32.store $drop=, 0($pop11), $pop10 - i32.const $push4=, 0 - return $pop4 + i32.const $push12=, 0 + i32.const $push10=, 16 + i32.add $push11=, $0, $pop10 + i32.store $drop=, __stack_pointer($pop12), $pop11 + i32.const $push5=, 0 + return $pop5 .LBB1_4: # %if.then3.i end_block # label4: call abort@FUNCTION diff --git a/test/torture-s/pr42833.c.s b/test/torture-s/pr42833.c.s index d9966f52f..0636cfb39 100644 --- a/test/torture-s/pr42833.c.s +++ b/test/torture-s/pr42833.c.s @@ -9,32 +9,32 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 .result i32 .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry + i32.const $5=, 0 i32.const $4=, 0 - i32.const $3=, 0 block i32.const $push88=, 24 i32.shl $push87=, $1, $pop88 - tee_local $push86=, $5=, $pop87 + tee_local $push86=, $6=, $pop87 i32.const $push1=, 117440512 i32.gt_s $push2=, $pop86, $pop1 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.else block i32.const $push3=, -134217729 - i32.gt_s $push4=, $5, $pop3 + i32.gt_s $push4=, $6, $pop3 br_if 0, $pop4 # 0: down to label1 # BB#2: # %if.then13 i32.const $push16=, 24 i32.shl $push17=, $0, $pop16 i32.const $push18=, 31 - i32.shr_s $3=, $pop17, $pop18 + i32.shr_s $4=, $pop17, $pop18 br 1 # 1: down to label0 .LBB0_3: # %if.else18 end_block # label1: - i32.const $3=, 0 + i32.const $4=, 0 i32.const $push91=, 24 - i32.shr_s $push90=, $5, $pop91 - tee_local $push89=, $6=, $pop90 + i32.shr_s $push90=, $6, $pop91 + tee_local $push89=, $7=, $pop90 i32.const $push5=, -8 i32.eq $push6=, $pop89, $pop5 br_if 0, $pop6 # 0: down to label0 @@ -42,24 +42,24 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 i32.const $push7=, 24 i32.shl $push8=, $0, $pop7 i32.const $push93=, 24 - i32.shr_s $3=, $pop8, $pop93 + i32.shr_s $4=, $pop8, $pop93 block i32.const $push92=, -1 - i32.le_s $push9=, $5, $pop92 + i32.le_s $push9=, $6, $pop92 br_if 0, $pop9 # 0: down to label2 # BB#5: # %if.else48 - i32.shl $3=, $3, $6 + i32.shl $4=, $4, $7 br 1 # 1: down to label0 .LBB0_6: # %if.then38 end_block # label2: - i32.const $push11=, 1 + i32.const $push13=, 1 i32.const $push94=, -1 - i32.xor $push10=, $6, $pop94 - i32.shl $push12=, $pop11, $pop10 - i32.add $push13=, $pop12, $3 - i32.const $push14=, 0 - i32.sub $push15=, $pop14, $6 - i32.shr_s $3=, $pop13, $pop15 + i32.xor $push12=, $7, $pop94 + i32.shl $push14=, $pop13, $pop12 + i32.add $push15=, $pop14, $4 + i32.const $push10=, 0 + i32.sub $push11=, $pop10, $7 + i32.shr_s $4=, $pop15, $pop11 .LBB0_7: # %if.end57 end_block # label0: block @@ -67,60 +67,60 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 i32.shl $push19=, $1, $pop99 i32.const $push98=, 24 i32.shr_s $push97=, $pop19, $pop98 - tee_local $push96=, $5=, $pop97 + tee_local $push96=, $6=, $pop97 i32.const $push95=, 7 i32.gt_s $push20=, $pop96, $pop95 br_if 0, $pop20 # 0: down to label3 # BB#8: # %if.else68 i32.const $push0=, 8 - i32.shr_u $6=, $0, $pop0 + i32.shr_u $7=, $0, $pop0 block i32.const $push21=, -9 - i32.gt_s $push22=, $5, $pop21 + i32.gt_s $push22=, $6, $pop21 br_if 0, $pop22 # 0: down to label4 # BB#9: # %if.then72 i32.const $push34=, 24 - i32.shl $push35=, $6, $pop34 + i32.shl $push35=, $7, $pop34 i32.const $push36=, 31 - i32.shr_s $4=, $pop35, $pop36 + i32.shr_s $5=, $pop35, $pop36 br 1 # 1: down to label3 .LBB0_10: # %if.else78 end_block # label4: i32.const $push23=, -8 - i32.eq $push24=, $5, $pop23 + i32.eq $push24=, $6, $pop23 br_if 0, $pop24 # 0: down to label3 # BB#11: # %if.else96 i32.const $push25=, 24 - i32.shl $push26=, $6, $pop25 + i32.shl $push26=, $7, $pop25 i32.const $push101=, 24 - i32.shr_s $4=, $pop26, $pop101 + i32.shr_s $5=, $pop26, $pop101 block i32.const $push100=, -1 - i32.le_s $push27=, $5, $pop100 + i32.le_s $push27=, $6, $pop100 br_if 0, $pop27 # 0: down to label5 # BB#12: # %if.else112 - i32.shl $4=, $4, $5 + i32.shl $5=, $5, $6 br 1 # 1: down to label3 .LBB0_13: # %if.then100 end_block # label5: - i32.const $push29=, 1 + i32.const $push31=, 1 i32.const $push102=, -1 - i32.xor $push28=, $5, $pop102 - i32.shl $push30=, $pop29, $pop28 - i32.add $push31=, $pop30, $4 - i32.const $push32=, 0 - i32.sub $push33=, $pop32, $5 - i32.shr_s $4=, $pop31, $pop33 + i32.xor $push30=, $6, $pop102 + i32.shl $push32=, $pop31, $pop30 + i32.add $push33=, $pop32, $5 + i32.const $push28=, 0 + i32.sub $push29=, $pop28, $6 + i32.shr_s $5=, $pop33, $pop29 .LBB0_14: # %if.end122 end_block # label3: + i32.const $7=, 0 i32.const $6=, 0 - i32.const $5=, 0 block i32.const $push37=, 8 i32.shl $push38=, $1, $pop37 i32.const $push106=, 24 i32.shr_s $push105=, $pop38, $pop106 - tee_local $push104=, $7=, $pop105 + tee_local $push104=, $3=, $pop105 i32.const $push103=, 7 i32.gt_s $push39=, $pop104, $pop103 br_if 0, $pop39 # 0: down to label6 @@ -129,42 +129,42 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 i32.shr_u $2=, $0, $pop107 block i32.const $push40=, -9 - i32.gt_s $push41=, $7, $pop40 + i32.gt_s $push41=, $3, $pop40 br_if 0, $pop41 # 0: down to label7 # BB#16: # %if.then137 i32.const $push53=, 24 i32.shl $push54=, $2, $pop53 i32.const $push55=, 31 - i32.shr_s $5=, $pop54, $pop55 + i32.shr_s $6=, $pop54, $pop55 br 1 # 1: down to label6 .LBB0_17: # %if.else143 end_block # label7: - i32.const $5=, 0 + i32.const $6=, 0 i32.const $push42=, -8 - i32.eq $push43=, $7, $pop42 + i32.eq $push43=, $3, $pop42 br_if 0, $pop43 # 0: down to label6 # BB#18: # %if.else161 i32.const $push44=, 24 i32.shl $push45=, $2, $pop44 i32.const $push109=, 24 - i32.shr_s $5=, $pop45, $pop109 + i32.shr_s $6=, $pop45, $pop109 block i32.const $push108=, -1 - i32.le_s $push46=, $7, $pop108 + i32.le_s $push46=, $3, $pop108 br_if 0, $pop46 # 0: down to label8 # BB#19: # %if.else177 - i32.shl $5=, $5, $7 + i32.shl $6=, $6, $3 br 1 # 1: down to label6 .LBB0_20: # %if.then165 end_block # label8: - i32.const $push48=, 1 + i32.const $push50=, 1 i32.const $push110=, -1 - i32.xor $push47=, $7, $pop110 - i32.shl $push49=, $pop48, $pop47 - i32.add $push50=, $pop49, $5 - i32.const $push51=, 0 - i32.sub $push52=, $pop51, $7 - i32.shr_s $5=, $pop50, $pop52 + i32.xor $push49=, $3, $pop110 + i32.shl $push51=, $pop50, $pop49 + i32.add $push52=, $pop51, $6 + i32.const $push47=, 0 + i32.sub $push48=, $pop47, $3 + i32.shr_s $6=, $pop52, $pop48 .LBB0_21: # %if.end187 end_block # label6: block @@ -181,7 +181,7 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 br_if 0, $pop59 # 0: down to label10 # BB#23: # %if.then203 i32.const $push70=, 31 - i32.shr_s $6=, $0, $pop70 + i32.shr_s $7=, $0, $pop70 br 1 # 1: down to label9 .LBB0_24: # %if.else209 end_block # label10: @@ -196,36 +196,36 @@ helper_neon_rshl_s8: # @helper_neon_rshl_s8 i32.le_s $push63=, $1, $pop114 br_if 0, $pop63 # 0: down to label11 # BB#26: # %if.else243 - i32.shl $6=, $0, $1 + i32.shl $7=, $0, $1 br 1 # 1: down to label9 .LBB0_27: # %if.then231 end_block # label11: - i32.const $push65=, 1 + i32.const $push67=, 1 i32.const $push115=, -1 - i32.xor $push64=, $1, $pop115 - i32.shl $push66=, $pop65, $pop64 - i32.add $push67=, $pop66, $0 - i32.const $push68=, 0 - i32.sub $push69=, $pop68, $1 - i32.shr_s $6=, $pop67, $pop69 + i32.xor $push66=, $1, $pop115 + i32.shl $push68=, $pop67, $pop66 + i32.add $push69=, $pop68, $0 + i32.const $push64=, 0 + i32.sub $push65=, $pop64, $1 + i32.shr_s $7=, $pop69, $pop65 .LBB0_28: # %if.end253 end_block # label9: - i32.const $push77=, 8 - i32.shl $push78=, $4, $pop77 - i32.const $push79=, 65280 - i32.and $push80=, $pop78, $pop79 - i32.const $push81=, 255 - i32.and $push82=, $3, $pop81 - i32.or $push83=, $pop80, $pop82 - i32.const $push73=, 16 + i32.const $push73=, 8 i32.shl $push74=, $5, $pop73 - i32.const $push75=, 16711680 + i32.const $push75=, 65280 i32.and $push76=, $pop74, $pop75 - i32.or $push84=, $pop83, $pop76 - i32.const $push71=, 24 - i32.shl $push72=, $6, $pop71 - i32.or $push85=, $pop84, $pop72 - return $pop85 + i32.const $push71=, 255 + i32.and $push72=, $4, $pop71 + i32.or $push77=, $pop76, $pop72 + i32.const $push78=, 16 + i32.shl $push79=, $6, $pop78 + i32.const $push80=, 16711680 + i32.and $push81=, $pop79, $pop80 + i32.or $push82=, $pop77, $pop81 + i32.const $push83=, 24 + i32.shl $push84=, $7, $pop83 + i32.or $push85=, $pop82, $pop84 + # fallthrough-return: $pop85 .endfunc .Lfunc_end0: .size helper_neon_rshl_s8, .Lfunc_end0-helper_neon_rshl_s8 @@ -238,7 +238,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr43008.c.s b/test/torture-s/pr43008.c.s index 3579a99e7..fe8147402 100644 --- a/test/torture-s/pr43008.c.s +++ b/test/torture-s/pr43008.c.s @@ -13,7 +13,8 @@ my_alloc: # @my_alloc tee_local $push2=, $0=, $pop3 i32.const $push1=, i i32.store $drop=, 0($pop2), $pop1 - return $0 + copy_local $push4=, $0 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size my_alloc, .Lfunc_end0-my_alloc diff --git a/test/torture-s/pr43220.c.s b/test/torture-s/pr43220.c.s index 627bc8ffc..9e4f71f73 100644 --- a/test/torture-s/pr43220.c.s +++ b/test/torture-s/pr43220.c.s @@ -8,63 +8,66 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.load $push15=, 0($pop13) - tee_local $push14=, $3=, $pop15 - copy_local $drop=, $pop14 - i32.const $2=, 0 + i32.const $push16=, 0 + i32.load $push18=, __stack_pointer($pop16) + tee_local $push17=, $5=, $pop18 + copy_local $drop=, $pop17 + i32.const $4=, 0 .LBB0_1: # %lab # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push37=, 1000 - i32.rem_s $push0=, $2, $pop37 - i32.const $push36=, 2 - i32.shl $push35=, $pop0, $pop36 - tee_local $push34=, $1=, $pop35 - i32.const $push33=, 19 - i32.add $push2=, $pop34, $pop33 - i32.const $push32=, -16 - i32.and $push3=, $pop2, $pop32 - i32.sub $push31=, $3, $pop3 - tee_local $push30=, $5=, $pop31 - copy_local $drop=, $pop30 - i32.const $push29=, 1 - i32.store $0=, 0($5), $pop29 - i32.add $push4=, $5, $1 - i32.const $push28=, 2 - i32.store $1=, 0($pop4), $pop28 - i32.const $push27=, 0 - i32.store $drop=, p($pop27), $5 - copy_local $push1=, $3 - copy_local $push26=, $pop1 - tee_local $push25=, $3=, $pop26 - i32.add $push5=, $2, $0 - i32.const $push24=, 1000 - i32.rem_s $push6=, $pop5, $pop24 - i32.shl $push23=, $pop6, $1 - tee_local $push22=, $4=, $pop23 - i32.const $push21=, 19 - i32.add $push8=, $pop22, $pop21 - i32.const $push20=, -16 - i32.and $push9=, $pop8, $pop20 - i32.sub $push19=, $pop25, $pop9 - tee_local $push18=, $5=, $pop19 - copy_local $drop=, $pop18 - i32.store $drop=, 0($5), $0 - i32.add $push10=, $5, $4 - i32.store $0=, 0($pop10), $1 - i32.const $push17=, 0 - i32.store $drop=, p($pop17), $5 - copy_local $push7=, $3 - copy_local $3=, $pop7 - i32.add $2=, $2, $0 - i32.const $push16=, 1000000 - i32.lt_s $push11=, $2, $pop16 - br_if 0, $pop11 # 0: up to label0 + i32.const $push46=, 1000 + i32.rem_s $push3=, $4, $pop46 + i32.const $push45=, 2 + i32.shl $push44=, $pop3, $pop45 + tee_local $push43=, $1=, $pop44 + i32.const $push42=, 19 + i32.add $push4=, $pop43, $pop42 + i32.const $push41=, -16 + i32.and $push5=, $pop4, $pop41 + i32.sub $push40=, $5, $pop5 + tee_local $push39=, $2=, $pop40 + copy_local $drop=, $pop39 + copy_local $push6=, $5 + copy_local $push38=, $pop6 + tee_local $push37=, $5=, $pop38 + i32.const $push36=, 1 + i32.store $push35=, 0($2), $pop36 + tee_local $push34=, $0=, $pop35 + i32.add $push8=, $4, $pop34 + i32.const $push33=, 1000 + i32.rem_s $push9=, $pop8, $pop33 + i32.const $push32=, 0 + i32.store $push0=, p($pop32), $2 + i32.add $push7=, $pop0, $1 + i32.const $push31=, 2 + i32.store $push30=, 0($pop7), $pop31 + tee_local $push29=, $1=, $pop30 + i32.shl $push28=, $pop9, $pop29 + tee_local $push27=, $3=, $pop28 + i32.const $push26=, 19 + i32.add $push10=, $pop27, $pop26 + i32.const $push25=, -16 + i32.and $push11=, $pop10, $pop25 + i32.sub $push24=, $pop37, $pop11 + tee_local $push23=, $2=, $pop24 + copy_local $drop=, $pop23 + i32.store $drop=, 0($2), $0 + copy_local $push12=, $5 + copy_local $5=, $pop12 + i32.const $push22=, 0 + i32.store $push1=, p($pop22), $2 + i32.add $push13=, $pop1, $3 + i32.store $push2=, 0($pop13), $1 + i32.add $push21=, $4, $pop2 + tee_local $push20=, $4=, $pop21 + i32.const $push19=, 1000000 + i32.lt_s $push14=, $pop20, $pop19 + br_if 0, $pop14 # 0: up to label0 # BB#2: # %if.end end_loop # label1: - i32.const $push12=, 0 - return $pop12 + i32.const $push15=, 0 + # fallthrough-return: $pop15 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr43236.c.s b/test/torture-s/pr43236.c.s index b4975f5a1..ccb7a89f9 100644 --- a/test/torture-s/pr43236.c.s +++ b/test/torture-s/pr43236.c.s @@ -6,100 +6,100 @@ .type main,@function main: # @main .result i32 - .local i64, i32, i32 + .local i32, i32, i64, i32, i64, i32 # BB#0: # %entry - i32.const $push40=, __stack_pointer - i32.const $push37=, __stack_pointer - i32.load $push38=, 0($pop37) - i32.const $push39=, 96 - i32.sub $push64=, $pop38, $pop39 - i32.store $push75=, 0($pop40), $pop64 - tee_local $push74=, $2=, $pop75 - i32.const $push13=, 28 - i32.add $push30=, $pop74, $pop13 - i32.const $push46=, 32 - i32.add $push47=, $2, $pop46 - i32.const $push73=, 28 - i32.add $push22=, $pop47, $pop73 - i32.const $push44=, 64 - i32.add $push45=, $2, $pop44 - i32.const $push72=, 28 - i32.add $push14=, $pop45, $pop72 - i32.const $push15=, 257 - i32.store16 $push0=, 0($pop14), $pop15 - i32.store16 $push5=, 0($pop22), $pop0 - i32.store16 $drop=, 0($pop30), $pop5 - i32.const $push16=, 24 - i32.add $push31=, $2, $pop16 - i32.const $push50=, 32 - i32.add $push51=, $2, $pop50 - i32.const $push71=, 24 - i32.add $push23=, $pop51, $pop71 - i32.const $push48=, 64 - i32.add $push49=, $2, $pop48 - i32.const $push70=, 24 - i32.add $push17=, $pop49, $pop70 - i32.const $push18=, 16843009 - i32.store $push1=, 0($pop17), $pop18 - i32.store $push6=, 0($pop23), $pop1 - i32.store $drop=, 0($pop31), $pop6 - i32.const $push54=, 32 - i32.add $push55=, $2, $pop54 - i32.const $push19=, 16 - i32.add $push24=, $pop55, $pop19 - i32.const $push52=, 64 - i32.add $push53=, $2, $pop52 - i32.const $push69=, 16 - i32.add $push20=, $pop53, $pop69 - i64.const $push21=, 72340172838076673 - i64.store $push2=, 0($pop20), $pop21 - i64.store $0=, 0($pop24), $pop2 - i32.const $push58=, 32 - i32.add $push59=, $2, $pop58 - i32.const $push25=, 18 - i32.add $push29=, $pop59, $pop25 - i32.const $push56=, 64 - i32.add $push57=, $2, $pop56 - i32.const $push68=, 18 - i32.add $push26=, $pop57, $pop68 - i32.const $push27=, 0 - i32.store16 $push9=, 0($pop26), $pop27 - i32.store16 $1=, 0($pop29), $pop9 - i32.const $push67=, 16 - i32.add $push32=, $2, $pop67 - i64.store $drop=, 0($pop32), $0 - i32.const $push66=, 18 - i32.add $push33=, $2, $pop66 - i32.store16 $drop=, 0($pop33), $1 - i64.store $push3=, 64($2), $0 - i64.store $push4=, 72($2), $pop3 - i64.store $push7=, 40($2), $pop4 - i64.store $push8=, 32($2), $pop7 - i64.store $push12=, 8($2), $pop8 - i64.store $drop=, 0($2), $pop12 - i64.const $push28=, 0 - i64.store $push10=, 74($2):p2align=1, $pop28 - i64.store $push11=, 42($2):p2align=1, $pop10 - i64.store $drop=, 10($2):p2align=1, $pop11 + i32.const $push33=, 0 + i32.const $push30=, 0 + i32.load $push31=, __stack_pointer($pop30) + i32.const $push32=, 96 + i32.sub $push57=, $pop31, $pop32 + i32.store $push68=, __stack_pointer($pop33), $pop57 + tee_local $push67=, $5=, $pop68 + i32.const $push37=, 64 + i32.add $push38=, $pop67, $pop37 + i32.const $push6=, 28 + i32.add $push7=, $pop38, $pop6 + i32.const $push8=, 257 + i32.store16 $0=, 0($pop7), $pop8 + i32.const $push39=, 64 + i32.add $push40=, $5, $pop39 + i32.const $push9=, 24 + i32.add $push10=, $pop40, $pop9 + i32.const $push11=, 16843009 + i32.store $1=, 0($pop10), $pop11 + i32.const $push41=, 64 + i32.add $push42=, $5, $pop41 + i32.const $push12=, 16 + i32.add $push13=, $pop42, $pop12 + i64.const $push14=, 72340172838076673 + i64.store $2=, 0($pop13), $pop14 + i32.const $push43=, 32 + i32.add $push44=, $5, $pop43 + i32.const $push66=, 28 + i32.add $push15=, $pop44, $pop66 + i32.store16 $drop=, 0($pop15), $0 + i32.const $push45=, 32 + i32.add $push46=, $5, $pop45 + i32.const $push65=, 24 + i32.add $push16=, $pop46, $pop65 + i32.store $drop=, 0($pop16), $1 + i32.const $push47=, 32 + i32.add $push48=, $5, $pop47 + i32.const $push64=, 16 + i32.add $push17=, $pop48, $pop64 + i64.store $push0=, 0($pop17), $2 + i64.store $push1=, 64($5), $pop0 + i64.store $push2=, 72($5), $pop1 + i64.store $push3=, 40($5), $pop2 + i64.store $2=, 32($5), $pop3 + i32.const $push49=, 64 + i32.add $push50=, $5, $pop49 + i32.const $push18=, 18 + i32.add $push19=, $pop50, $pop18 + i32.const $push20=, 0 + i32.store16 $3=, 0($pop19), $pop20 + i64.const $push21=, 0 + i64.store $4=, 74($5):p2align=1, $pop21 + i32.const $push51=, 32 + i32.add $push52=, $5, $pop51 + i32.const $push63=, 18 + i32.add $push22=, $pop52, $pop63 + i32.store16 $drop=, 0($pop22), $3 + i64.store $drop=, 42($5):p2align=1, $4 + i32.const $push62=, 28 + i32.add $push23=, $5, $pop62 + i32.store16 $drop=, 0($pop23), $0 + i32.const $push61=, 24 + i32.add $push24=, $5, $pop61 + i32.store $drop=, 0($pop24), $1 + i32.const $push60=, 16 + i32.add $push25=, $5, $pop60 + i64.store $push4=, 0($pop25), $2 + i64.store $push5=, 8($5), $pop4 + i64.store $drop=, 0($5), $pop5 + i32.const $push59=, 18 + i32.add $push26=, $5, $pop59 + i32.store16 $drop=, 0($pop26), $3 + i64.store $drop=, 10($5):p2align=1, $4 block - i32.const $push60=, 64 - i32.add $push61=, $2, $pop60 - i32.const $push65=, 30 - i32.call $push34=, memcmp@FUNCTION, $pop61, $2, $pop65 - br_if 0, $pop34 # 0: down to label0 + i32.const $push53=, 64 + i32.add $push54=, $5, $pop53 + i32.const $push58=, 30 + i32.call $push27=, memcmp@FUNCTION, $pop54, $5, $pop58 + br_if 0, $pop27 # 0: down to label0 # BB#1: # %lor.lhs.false - i32.const $push62=, 32 - i32.add $push63=, $2, $pop62 - i32.const $push76=, 30 - i32.call $push35=, memcmp@FUNCTION, $pop63, $2, $pop76 - br_if 0, $pop35 # 0: down to label0 + i32.const $push55=, 32 + i32.add $push56=, $5, $pop55 + i32.const $push69=, 30 + i32.call $push28=, memcmp@FUNCTION, $pop56, $5, $pop69 + br_if 0, $pop28 # 0: down to label0 # BB#2: # %if.end - i32.const $push43=, __stack_pointer - i32.const $push41=, 96 - i32.add $push42=, $2, $pop41 - i32.store $drop=, 0($pop43), $pop42 i32.const $push36=, 0 - return $pop36 + i32.const $push34=, 96 + i32.add $push35=, $5, $pop34 + i32.store $drop=, __stack_pointer($pop36), $pop35 + i32.const $push29=, 0 + return $pop29 .LBB0_3: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr43269.c.s b/test/torture-s/pr43269.c.s index 8a529b60d..129516a91 100644 --- a/test/torture-s/pr43269.c.s +++ b/test/torture-s/pr43269.c.s @@ -30,12 +30,12 @@ main: # @main func_32: # @func_32 # BB#0: # %entry block - i32.const $push1=, 0 - i32.load $push3=, g_211($pop1) + i32.const $push2=, 0 + i32.const $push1=, -1 + i32.store $push0=, g_261($pop2), $pop1 i32.const $push5=, 0 - i32.const $push2=, -1 - i32.store $push0=, g_261($pop5), $pop2 - i32.eq $push4=, $pop3, $pop0 + i32.load $push3=, g_211($pop5) + i32.eq $push4=, $pop0, $pop3 br_if 0, $pop4 # 0: down to label1 # BB#1: # %for.end return diff --git a/test/torture-s/pr43385.c.s b/test/torture-s/pr43385.c.s index e2ce099bf..b1bbe7a52 100644 --- a/test/torture-s/pr43385.c.s +++ b/test/torture-s/pr43385.c.s @@ -22,7 +22,7 @@ foo: # @foo i32.store $drop=, e($pop0), $pop3 .LBB0_3: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -36,11 +36,11 @@ bar: # @bar .result i32 # BB#0: # %entry i32.const $push0=, 0 - i32.ne $push1=, $0, $pop0 + i32.ne $push2=, $0, $pop0 i32.const $push4=, 0 - i32.ne $push2=, $1, $pop4 - i32.and $push3=, $pop1, $pop2 - return $pop3 + i32.ne $push1=, $1, $pop4 + i32.and $push3=, $pop2, $pop1 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -58,10 +58,10 @@ main: # @main #NO_APP i32.const $push0=, 2 i32.add $push30=, $0, $pop0 - tee_local $push29=, $2=, $pop30 + tee_local $push29=, $1=, $pop30 i32.const $push28=, 1 i32.add $push27=, $0, $pop28 - tee_local $push26=, $1=, $pop27 + tee_local $push26=, $2=, $pop27 call foo@FUNCTION, $pop29, $pop26 block i32.const $push25=, 0 @@ -70,28 +70,28 @@ main: # @main i32.ne $push2=, $pop1, $pop24 br_if 0, $pop2 # 0: down to label1 # BB#1: # %if.end - call foo@FUNCTION, $2, $0 + call foo@FUNCTION, $1, $0 i32.const $push32=, 0 i32.load $push3=, e($pop32) i32.const $push31=, 1 i32.ne $push4=, $pop3, $pop31 br_if 0, $pop4 # 0: down to label1 # BB#2: # %if.end5 - call foo@FUNCTION, $1, $1 + call foo@FUNCTION, $2, $2 i32.const $push34=, 0 i32.load $push5=, e($pop34) i32.const $push33=, 2 i32.ne $push6=, $pop5, $pop33 br_if 0, $pop6 # 0: down to label1 # BB#3: # %if.end10 - call foo@FUNCTION, $1, $0 + call foo@FUNCTION, $2, $0 i32.const $push36=, 0 i32.load $push7=, e($pop36) i32.const $push35=, 2 i32.ne $push8=, $pop7, $pop35 br_if 0, $pop8 # 0: down to label1 # BB#4: # %if.end14 - call foo@FUNCTION, $0, $1 + call foo@FUNCTION, $0, $2 i32.const $push38=, 0 i32.load $push9=, e($pop38) i32.const $push37=, 2 @@ -105,23 +105,23 @@ main: # @main i32.ne $push12=, $pop11, $pop39 br_if 0, $pop12 # 0: down to label1 # BB#6: # %if.end21 - i32.call $push13=, bar@FUNCTION, $2, $1 + i32.call $push13=, bar@FUNCTION, $1, $2 i32.const $push14=, 1 i32.ne $push15=, $pop13, $pop14 br_if 0, $pop15 # 0: down to label1 # BB#7: # %if.end26 - i32.call $push16=, bar@FUNCTION, $2, $0 + i32.call $push16=, bar@FUNCTION, $1, $0 br_if 0, $pop16 # 0: down to label1 # BB#8: # %if.end31 - i32.call $push17=, bar@FUNCTION, $1, $1 + i32.call $push17=, bar@FUNCTION, $2, $2 i32.const $push18=, 1 i32.ne $push19=, $pop17, $pop18 br_if 0, $pop19 # 0: down to label1 # BB#9: # %if.end37 - i32.call $push20=, bar@FUNCTION, $1, $0 + i32.call $push20=, bar@FUNCTION, $2, $0 br_if 0, $pop20 # 0: down to label1 # BB#10: # %if.end42 - i32.call $push21=, bar@FUNCTION, $0, $1 + i32.call $push21=, bar@FUNCTION, $0, $2 br_if 0, $pop21 # 0: down to label1 # BB#11: # %if.end47 i32.call $push22=, bar@FUNCTION, $0, $0 diff --git a/test/torture-s/pr43438.c.s b/test/torture-s/pr43438.c.s index c46895265..a36a6f3ac 100644 --- a/test/torture-s/pr43438.c.s +++ b/test/torture-s/pr43438.c.s @@ -11,7 +11,7 @@ main: # @main i32.const $push0=, 1 i32.store $drop=, g_9($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr43560.c.s b/test/torture-s/pr43560.c.s index 4ff436c1a..0171d532a 100644 --- a/test/torture-s/pr43560.c.s +++ b/test/torture-s/pr43560.c.s @@ -16,7 +16,7 @@ test: # @test br_if 0, $pop1 # 0: down to label0 # BB#1: # %land.rhs.preheader i32.const $push5=, 4 - i32.add $1=, $0, $pop5 + i32.add $2=, $0, $pop5 .LBB0_2: # %land.rhs # =>This Inner Loop Header: Depth=1 loop # label1: @@ -26,17 +26,17 @@ test: # @test i32.add $push2=, $0, $pop13 i32.const $push12=, 8 i32.add $push11=, $pop2, $pop12 - tee_local $push10=, $2=, $pop11 + tee_local $push10=, $1=, $pop11 i32.load8_u $push3=, 0($pop10) i32.const $push9=, 47 i32.ne $push4=, $pop3, $pop9 br_if 1, $pop4 # 1: down to label2 # BB#3: # %while.body # in Loop: Header=BB0_2 Depth=1 - i32.store $drop=, 0($1), $3 + i32.store $drop=, 0($2), $3 i32.const $push19=, 0 - i32.store8 $drop=, 0($2), $pop19 - i32.load $push18=, 0($1) + i32.store8 $drop=, 0($1), $pop19 + i32.load $push18=, 0($2) tee_local $push17=, $3=, $pop18 i32.const $push16=, 1 i32.gt_s $push6=, $pop17, $pop16 @@ -44,7 +44,7 @@ test: # @test .LBB0_4: # %while.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size test, .Lfunc_end0-test @@ -62,7 +62,7 @@ main: # @main #NO_APP call test@FUNCTION, $0 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr43783.c.s b/test/torture-s/pr43783.c.s index 17a706c93..28bfe1870 100644 --- a/test/torture-s/pr43783.c.s +++ b/test/torture-s/pr43783.c.s @@ -8,8 +8,8 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push31=, 0 - i64.const $push32=, 1 - i64.store $drop=, bid_Kx192+32($pop31), $pop32 + i64.const $push30=, 1 + i64.store $drop=, bid_Kx192+32($pop31), $pop30 i32.const $push64=, 0 i32.const $push63=, 0 i32.const $push62=, 0 @@ -41,8 +41,8 @@ main: # @main i32.const $push36=, 0 i32.const $push35=, 0 i32.const $push34=, 0 - i64.const $push30=, 0 - i64.store $push0=, bid_Kx192+8($pop34), $pop30 + i64.const $push32=, 0 + i64.store $push0=, bid_Kx192+8($pop34), $pop32 i64.store $push1=, bid_Kx192+56($pop35), $pop0 i64.store $push2=, bid_Kx192+80($pop36), $pop1 i64.store $push3=, bid_Kx192+104($pop37), $pop2 @@ -74,7 +74,7 @@ main: # @main i64.store $push29=, bid_Kx192+728($pop63), $pop28 i64.store $drop=, bid_Kx192+752($pop64), $pop29 i32.const $push33=, 0 - return $pop33 + # fallthrough-return: $pop33 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr43784.c.s b/test/torture-s/pr43784.c.s index 7a9523e3d..7d7f37908 100644 --- a/test/torture-s/pr43784.c.s +++ b/test/torture-s/pr43784.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 256 i32.sub $push15=, $pop9, $pop10 - i32.store $0=, 0($pop11), $pop15 + i32.store $0=, __stack_pointer($pop11), $pop15 i32.const $1=, 0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 @@ -41,17 +41,18 @@ main: # @main br_if 2, $pop5 # 2: down to label2 # BB#4: # %for.cond1 # in Loop: Header=BB0_3 Depth=1 - i32.const $push21=, 1 - i32.add $1=, $1, $pop21 + i32.const $push23=, 1 + i32.add $push22=, $1, $pop23 + tee_local $push21=, $1=, $pop22 i32.const $push20=, 255 - i32.le_s $push6=, $1, $pop20 + i32.le_s $push6=, $pop21, $pop20 br_if 0, $pop6 # 0: up to label3 # BB#5: # %for.end12 end_loop # label4: - i32.const $push14=, __stack_pointer + i32.const $push14=, 0 i32.const $push12=, 256 i32.add $push13=, $0, $pop12 - i32.store $drop=, 0($pop14), $pop13 + i32.store $drop=, __stack_pointer($pop14), $pop13 i32.const $push7=, 0 return $pop7 .LBB0_6: # %if.then @@ -67,10 +68,10 @@ main: # @main rp: # @rp .param i32 # BB#0: # %entry - i32.const $push0=, v - i32.const $push1=, 256 - i32.call $drop=, memcpy@FUNCTION, $0, $pop0, $pop1 - return + i32.const $push1=, v + i32.const $push0=, 256 + i32.call $drop=, memcpy@FUNCTION, $0, $pop1, $pop0 + # fallthrough-return .endfunc .Lfunc_end1: .size rp, .Lfunc_end1-rp diff --git a/test/torture-s/pr43835.c.s b/test/torture-s/pr43835.c.s index e3e07f0c8..ffef5093d 100644 --- a/test/torture-s/pr43835.c.s +++ b/test/torture-s/pr43835.c.s @@ -21,7 +21,7 @@ foo: # @foo .param i32, i32 # BB#0: # %entry call mark_cell@FUNCTION, $0, $1 - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -69,26 +69,26 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push12=, $pop4, $pop5 - i32.store $push14=, 0($pop6), $pop12 + i32.store $push14=, __stack_pointer($pop6), $pop12 tee_local $push13=, $0=, $pop14 - i32.const $push1=, 4 - i32.store $drop=, 8($pop13), $pop1 - i64.const $push0=, 180388626432 - i64.store $drop=, 0($0), $pop0 + i32.const $push0=, 4 + i32.store $drop=, 8($pop13), $pop0 + i64.const $push1=, 180388626432 + i64.store $drop=, 0($0), $pop1 i32.const $push10=, 12 i32.add $push11=, $0, $pop10 call mark_cell@FUNCTION, $pop11, $0 - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 16 i32.add $push8=, $0, $pop7 - i32.store $drop=, 0($pop9), $pop8 + i32.store $drop=, __stack_pointer($pop9), $pop8 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/pr43987.c.s b/test/torture-s/pr43987.c.s index 370974403..6831f7025 100644 --- a/test/torture-s/pr43987.c.s +++ b/test/torture-s/pr43987.c.s @@ -10,7 +10,7 @@ add_input_file: # @add_input_file i32.const $push0=, 0 i32.load $push1=, B+4($pop0) i32.store $drop=, 0($pop1), $0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size add_input_file, .Lfunc_end0-add_input_file @@ -23,15 +23,15 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push6=, $pop2, $pop3 i32.const $push4=, 12 i32.add $push5=, $pop6, $pop4 i32.store $drop=, B+4($pop0), $pop5 i32.const $push7=, 0 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr44164.c.s b/test/torture-s/pr44164.c.s index 48013d1eb..9e6430732 100644 --- a/test/torture-s/pr44164.c.s +++ b/test/torture-s/pr44164.c.s @@ -15,7 +15,7 @@ foo: # @foo i32.store $drop=, a($pop0), $pop3 i32.load $push1=, 0($0) i32.add $push2=, $1, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr44202-1.c.s b/test/torture-s/pr44202-1.c.s index 68b00f811..acb49ba59 100644 --- a/test/torture-s/pr44202-1.c.s +++ b/test/torture-s/pr44202-1.c.s @@ -19,7 +19,8 @@ add512: # @add512 i32.store $drop=, 0($1), $0 .LBB0_2: # %if.end end_block # label0: - return $2 + copy_local $push4=, $2 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size add512, .Lfunc_end0-add512 @@ -42,7 +43,8 @@ add513: # @add513 i32.store $drop=, 0($1), $0 .LBB1_2: # %if.end end_block # label1: - return $2 + copy_local $push3=, $2 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size add513, .Lfunc_end1-add513 @@ -55,15 +57,16 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 16 i32.sub $push18=, $pop11, $pop12 - i32.store $1=, 0($pop13), $pop18 + i32.store $push20=, __stack_pointer($pop13), $pop18 + tee_local $push19=, $1=, $pop20 i32.const $push2=, -1 i32.store $push0=, 12($1), $pop2 - i32.store $0=, 8($1), $pop0 + i32.store $0=, 8($pop19), $pop0 block i32.const $push3=, -512 i32.const $push14=, 12 @@ -75,15 +78,15 @@ main: # @main i32.ne $push5=, $pop1, $0 br_if 0, $pop5 # 0: down to label2 # BB#2: # %lor.lhs.false2 - i32.const $push19=, -513 + i32.const $push21=, -513 i32.const $push16=, 8 i32.add $push17=, $1, $pop16 - i32.call $push7=, add513@FUNCTION, $pop19, $pop17 + i32.call $push7=, add513@FUNCTION, $pop21, $pop17 br_if 0, $pop7 # 0: down to label2 # BB#3: # %lor.lhs.false2 i32.load $push6=, 8($1) - i32.const $push20=, -513 - i32.ne $push8=, $pop6, $pop20 + i32.const $push22=, -513 + i32.ne $push8=, $pop6, $pop22 br_if 0, $pop8 # 0: down to label2 # BB#4: # %if.end i32.const $push9=, 0 diff --git a/test/torture-s/pr44468.c.s b/test/torture-s/pr44468.c.s index 5a805c911..d44d7191b 100644 --- a/test/torture-s/pr44468.c.s +++ b/test/torture-s/pr44468.c.s @@ -15,7 +15,7 @@ test1: # @test1 i32.const $push1=, 3 i32.store $drop=, 4($0), $pop1 i32.load $push2=, s+4($1) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -35,7 +35,7 @@ test2: # @test2 i32.const $push1=, 3 i32.store $drop=, 4($0), $pop1 i32.load $push2=, s+4($1) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size test2, .Lfunc_end1-test2 @@ -55,7 +55,7 @@ test3: # @test3 i32.const $push1=, 3 i32.store $drop=, 4($0), $pop1 i32.load $push2=, s+4($1) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 diff --git a/test/torture-s/pr44555.c.s b/test/torture-s/pr44555.c.s index 6a31066b4..b5bb657c3 100644 --- a/test/torture-s/pr44555.c.s +++ b/test/torture-s/pr44555.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 0 i32.ne $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +23,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr44575.c.s b/test/torture-s/pr44575.c.s index 2286dbf68..f0e97999e 100644 --- a/test/torture-s/pr44575.c.s +++ b/test/torture-s/pr44575.c.s @@ -6,16 +6,18 @@ .type check,@function check: # @check .param i32, i32 - .local i32, i32, i32 + .local i32, f32, i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) - i32.const $push12=, 16 - i32.sub $push15=, $pop11, $pop12 - tee_local $push14=, $3=, $pop15 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) + i32.const $push11=, 16 + i32.sub $push15=, $pop10, $pop11 + tee_local $push14=, $5=, $pop15 i32.store $drop=, 12($pop14), $1 i32.const $push13=, 4 i32.shl $2=, $0, $pop13 + i32.const $push12=, 0 + f32.load $3=, a+32($pop12) i32.const $0=, 3 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 @@ -32,50 +34,49 @@ check: # @check br_if 0, $pop4 # 0: down to label3 # BB#2: # %land.lhs.true # in Loop: Header=BB0_1 Depth=1 - i32.load $push23=, 12($3) - tee_local $push22=, $4=, $pop23 - i32.const $push21=, 12 - i32.add $push6=, $pop22, $pop21 - i32.store $drop=, 12($3), $pop6 - i32.const $push20=, 0 - i32.load $1=, fails($pop20) + i32.load $push22=, 12($5) + tee_local $push21=, $4=, $pop22 + i32.const $push20=, 12 + i32.add $push6=, $pop21, $pop20 + i32.store $drop=, 12($5), $pop6 i32.const $push19=, 0 - f32.load $push8=, a+32($pop19) + i32.load $1=, fails($pop19) f32.load $push7=, 8($4) - f32.eq $push9=, $pop8, $pop7 - br_if 1, $pop9 # 1: down to label2 + f32.eq $push8=, $3, $pop7 + br_if 1, $pop8 # 1: down to label2 # BB#3: # %if.then # in Loop: Header=BB0_1 Depth=1 + i32.const $push26=, 0 i32.const $push25=, 1 - i32.add $1=, $1, $pop25 - i32.const $push24=, 0 - i32.store $drop=, fails($pop24), $1 + i32.add $push24=, $1, $pop25 + tee_local $push23=, $1=, $pop24 + i32.store $drop=, fails($pop26), $pop23 br 1 # 1: down to label2 .LBB0_4: # %sw.epilog.thread # in Loop: Header=BB0_1 Depth=1 end_block # label3: + i32.const $push31=, 0 i32.const $push30=, 0 - i32.const $push29=, 0 - i32.load $push5=, fails($pop29) - i32.const $push28=, 1 - i32.add $push27=, $pop5, $pop28 - tee_local $push26=, $1=, $pop27 - i32.store $drop=, fails($pop30), $pop26 + i32.load $push5=, fails($pop30) + i32.const $push29=, 1 + i32.add $push28=, $pop5, $pop29 + tee_local $push27=, $1=, $pop28 + i32.store $drop=, fails($pop31), $pop27 .LBB0_5: # %if.end # in Loop: Header=BB0_1 Depth=1 end_block # label2: br_if 1, $1 # 1: down to label1 # BB#6: # %if.end # in Loop: Header=BB0_1 Depth=1 - i32.const $push32=, 4 - i32.lt_s $1=, $0, $pop32 - i32.const $push31=, 1 - i32.add $push0=, $0, $pop31 + i32.const $push33=, 4 + i32.lt_s $1=, $0, $pop33 + i32.const $push32=, 1 + i32.add $push0=, $0, $pop32 copy_local $0=, $pop0 br_if 0, $1 # 0: up to label0 .LBB0_7: # %for.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size check, .Lfunc_end0-check @@ -88,12 +89,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 32 i32.sub $push22=, $pop12, $pop13 - i32.store $0=, 0($pop14), $pop22 + i32.store $0=, __stack_pointer($pop14), $pop22 i32.const $push28=, 0 i32.const $push0=, -952139264 i32.store $drop=, a+32($pop28), $pop0 @@ -126,10 +127,10 @@ main: # @main i32.load $push10=, fails($pop23) br_if 0, $pop10 # 0: down to label4 # BB#1: # %if.end - i32.const $push17=, __stack_pointer + i32.const $push17=, 0 i32.const $push15=, 32 i32.add $push16=, $0, $pop15 - i32.store $drop=, 0($pop17), $pop16 + i32.store $drop=, __stack_pointer($pop17), $pop16 i32.const $push29=, 0 return $pop29 .LBB1_2: # %if.then diff --git a/test/torture-s/pr44683.c.s b/test/torture-s/pr44683.c.s index 840d0ac9f..b7471d1c2 100644 --- a/test/torture-s/pr44683.c.s +++ b/test/torture-s/pr44683.c.s @@ -31,7 +31,8 @@ copysign_bug: # @copysign_bug i32.select $1=, $pop8, $pop7, $pop6 .LBB0_3: # %return end_block # label0: - return $1 + copy_local $push11=, $1 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size copysign_bug, .Lfunc_end0-copysign_bug diff --git a/test/torture-s/pr44852.c.s b/test/torture-s/pr44852.c.s index da3008a12..faccb8534 100644 --- a/test/torture-s/pr44852.c.s +++ b/test/torture-s/pr44852.c.s @@ -43,7 +43,8 @@ sf: # @sf i32.const $push1=, 1 i32.add $push5=, $2, $pop1 i32.store8 $drop=, 0($pop7), $pop5 - return $0 + copy_local $push15=, $0 + # fallthrough-return: $pop15 .endfunc .Lfunc_end0: .size sf, .Lfunc_end0-sf @@ -56,12 +57,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push20=, __stack_pointer - i32.const $push17=, __stack_pointer - i32.load $push18=, 0($pop17) + i32.const $push20=, 0 + i32.const $push17=, 0 + i32.load $push18=, __stack_pointer($pop17) i32.const $push19=, 16 i32.sub $push32=, $pop18, $pop19 - i32.store $push36=, 0($pop20), $pop32 + i32.store $push36=, __stack_pointer($pop20), $pop32 tee_local $push35=, $0=, $pop36 i32.const $push2=, 14 i32.add $push3=, $pop35, $pop2 @@ -77,18 +78,18 @@ main: # @main i32.load $push7=, .Lmain.s($pop33):p2align=0 i32.store $drop=, 8($0), $pop7 block - i32.const $push24=, 8 - i32.add $push25=, $0, $pop24 - i32.const $push8=, 2 - i32.or $push9=, $pop25, $pop8 i32.const $push26=, 8 i32.add $push27=, $0, $pop26 - i32.call $push10=, sf@FUNCTION, $pop9, $pop27 + i32.const $push10=, 2 + i32.or $push11=, $pop27, $pop10 i32.const $push28=, 8 i32.add $push29=, $0, $pop28 - i32.const $push11=, 1 - i32.or $push12=, $pop29, $pop11 - i32.ne $push13=, $pop10, $pop12 + i32.call $push12=, sf@FUNCTION, $pop11, $pop29 + i32.const $push24=, 8 + i32.add $push25=, $0, $pop24 + i32.const $push8=, 1 + i32.or $push9=, $pop25, $pop8 + i32.ne $push13=, $pop12, $pop9 br_if 0, $pop13 # 0: down to label3 # BB#1: # %lor.lhs.false i32.const $push30=, 8 @@ -97,10 +98,10 @@ main: # @main i32.call $push15=, strcmp@FUNCTION, $pop31, $pop14 br_if 0, $pop15 # 0: down to label3 # BB#2: # %if.end - i32.const $push23=, __stack_pointer + i32.const $push23=, 0 i32.const $push21=, 16 i32.add $push22=, $0, $pop21 - i32.store $drop=, 0($pop23), $pop22 + i32.store $drop=, __stack_pointer($pop23), $pop22 i32.const $push16=, 0 return $pop16 .LBB1_3: # %if.then diff --git a/test/torture-s/pr44858.c.s b/test/torture-s/pr44858.c.s index d1109c9c5..0e9ca1cfa 100644 --- a/test/torture-s/pr44858.c.s +++ b/test/torture-s/pr44858.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.div_s $push0=, $0, $1 i64.extend_s/i32 $push1=, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -29,7 +29,7 @@ bar: # @bar i32.ne $push2=, $pop1, $pop4 i32.store $drop=, b($pop0), $pop2 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr44942.c.s b/test/torture-s/pr44942.c.s index 4267c7a6f..f1239448c 100644 --- a/test/torture-s/pr44942.c.s +++ b/test/torture-s/pr44942.c.s @@ -8,27 +8,28 @@ test1: # @test1 .param i32, i32, i32, i32, i32, i32, i32, i64, i64, i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push12=, $pop6, $pop7 - i32.store $10=, 0($pop8), $pop12 + i32.store $push16=, __stack_pointer($pop8), $pop12 + tee_local $push15=, $10=, $pop16 i32.store $push14=, 12($10), $9 tee_local $push13=, $9=, $pop14 i32.const $push0=, 4 i32.add $push1=, $pop13, $pop0 - i32.store $drop=, 12($10), $pop1 + i32.store $drop=, 12($pop15), $pop1 block i32.load $push2=, 0($9) i32.const $push3=, 1234 i32.ne $push4=, $pop2, $pop3 br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $10, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 return .LBB0_2: # %if.then end_block # label0: @@ -46,27 +47,28 @@ test2: # @test2 .param i32, i32, i32, i32, i32, i32, i32, i64, i64, i32, i64, i64, i32, i64, i64, i32, i64, i64, i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push12=, $pop6, $pop7 - i32.store $19=, 0($pop8), $pop12 + i32.store $push16=, __stack_pointer($pop8), $pop12 + tee_local $push15=, $19=, $pop16 i32.store $push14=, 12($19), $18 tee_local $push13=, $18=, $pop14 i32.const $push0=, 4 i32.add $push1=, $pop13, $pop0 - i32.store $drop=, 12($19), $pop1 + i32.store $drop=, 12($pop15), $pop1 block i32.load $push2=, 0($18) i32.const $push3=, 1234 i32.ne $push4=, $pop2, $pop3 br_if 0, $pop4 # 0: down to label1 # BB#1: # %if.end - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $19, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 return .LBB1_2: # %if.then end_block # label1: @@ -82,33 +84,34 @@ test2: # @test2 .type test3,@function test3: # @test3 .param f64, f64, f64, f64, f64, f64, f64, i64, i64, i32 - .local i32, f64, i32 + .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) - i32.const $push9=, 16 - i32.sub $push14=, $pop8, $pop9 - i32.store $10=, 0($pop10), $pop14 - i32.const $push0=, 7 - i32.add $push1=, $9, $pop0 - i32.const $push2=, -8 - i32.and $push16=, $pop1, $pop2 - tee_local $push15=, $12=, $pop16 - f64.load $11=, 0($pop15) - i32.store $drop=, 12($10), $9 - i32.const $push3=, 8 - i32.add $push4=, $12, $pop3 - i32.store $drop=, 12($10), $pop4 + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) + i32.const $push11=, 16 + i32.sub $push16=, $pop10, $pop11 + i32.store $push20=, __stack_pointer($pop12), $pop16 + tee_local $push19=, $10=, $pop20 + i32.store $push0=, 12($10), $9 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push18=, $pop2, $pop3 + tee_local $push17=, $9=, $pop18 + i32.const $push4=, 8 + i32.add $push5=, $pop17, $pop4 + i32.store $drop=, 12($pop19), $pop5 block - f64.const $push5=, 0x1.348p10 - f64.ne $push6=, $11, $pop5 - br_if 0, $pop6 # 0: down to label2 + f64.load $push6=, 0($9) + f64.const $push7=, 0x1.348p10 + f64.ne $push8=, $pop6, $pop7 + br_if 0, $pop8 # 0: down to label2 # BB#1: # %if.end - i32.const $push13=, __stack_pointer - i32.const $push11=, 16 - i32.add $push12=, $10, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.const $push15=, 0 + i32.const $push13=, 16 + i32.add $push14=, $10, $pop13 + i32.store $drop=, __stack_pointer($pop15), $pop14 return .LBB2_2: # %if.then end_block # label2: @@ -124,33 +127,34 @@ test3: # @test3 .type test4,@function test4: # @test4 .param f64, f64, f64, f64, f64, f64, f64, i64, i64, f64, i64, i64, f64, i64, i64, f64, i64, i64, i32 - .local i32, f64, i32 + .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) - i32.const $push9=, 16 - i32.sub $push14=, $pop8, $pop9 - i32.store $19=, 0($pop10), $pop14 - i32.const $push0=, 7 - i32.add $push1=, $18, $pop0 - i32.const $push2=, -8 - i32.and $push16=, $pop1, $pop2 - tee_local $push15=, $21=, $pop16 - f64.load $20=, 0($pop15) - i32.store $drop=, 12($19), $18 - i32.const $push3=, 8 - i32.add $push4=, $21, $pop3 - i32.store $drop=, 12($19), $pop4 + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) + i32.const $push11=, 16 + i32.sub $push16=, $pop10, $pop11 + i32.store $push20=, __stack_pointer($pop12), $pop16 + tee_local $push19=, $19=, $pop20 + i32.store $push0=, 12($19), $18 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push18=, $pop2, $pop3 + tee_local $push17=, $18=, $pop18 + i32.const $push4=, 8 + i32.add $push5=, $pop17, $pop4 + i32.store $drop=, 12($pop19), $pop5 block - f64.const $push5=, 0x1.348p10 - f64.ne $push6=, $20, $pop5 - br_if 0, $pop6 # 0: down to label3 + f64.load $push6=, 0($18) + f64.const $push7=, 0x1.348p10 + f64.ne $push8=, $pop6, $pop7 + br_if 0, $pop8 # 0: down to label3 # BB#1: # %if.end - i32.const $push13=, __stack_pointer - i32.const $push11=, 16 - i32.add $push12=, $19, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.const $push15=, 0 + i32.const $push13=, 16 + i32.add $push14=, $19, $pop13 + i32.store $drop=, __stack_pointer($pop15), $pop14 return .LBB3_2: # %if.then end_block # label3: @@ -168,12 +172,12 @@ main: # @main .result i32 .local i32, i64, f64, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 128 i32.sub $push21=, $pop7, $pop8 - i32.store $push24=, 0($pop9), $pop21 + i32.store $push24=, __stack_pointer($pop9), $pop21 tee_local $push23=, $3=, $pop24 i32.const $push0=, 1234 i32.store $0=, 120($pop23), $pop0 @@ -197,12 +201,12 @@ main: # @main i32.add $push4=, $3, $pop22 i64.store $drop=, 0($pop4), $1 call test4@FUNCTION, $2, $2, $2, $2, $2, $2, $2, $1, $1, $2, $1, $1, $2, $1, $3 - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 128 i32.add $push11=, $3, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 i32.const $push5=, 0 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/pr45034.c.s b/test/torture-s/pr45034.c.s index a41f78c1f..079007ede 100644 --- a/test/torture-s/pr45034.c.s +++ b/test/torture-s/pr45034.c.s @@ -31,14 +31,14 @@ test_neg: # @test_neg .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $1=, 128 + i32.const $3=, 128 .LBB1_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label1: i32.const $push14=, 0 i32.const $push13=, 255 - i32.and $push12=, $1, $pop13 - tee_local $push11=, $3=, $pop12 + i32.and $push12=, $3, $pop13 + tee_local $push11=, $1=, $pop12 i32.sub $push10=, $pop14, $pop11 tee_local $push9=, $2=, $pop10 i32.const $push8=, 24 @@ -67,16 +67,16 @@ test_neg: # @test_neg .LBB1_4: # %fixnum_neg.exit # in Loop: Header=BB1_1 Depth=1 end_block # label3: - call foo@FUNCTION, $1, $2, $1 + call foo@FUNCTION, $3, $2, $3 i32.const $push20=, 1 - i32.add $1=, $1, $pop20 + i32.add $3=, $3, $pop20 i32.const $push19=, 127 - i32.ne $push4=, $3, $pop19 + i32.ne $push4=, $1, $pop19 br_if 0, $pop4 # 0: up to label1 # BB#5: # %for.end end_loop # label2: i32.const $push5=, 0 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size test_neg, .Lfunc_end1-test_neg @@ -89,14 +89,14 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $1=, 128 + i32.const $3=, 128 .LBB2_1: # %for.cond.i # =>This Inner Loop Header: Depth=1 loop # label5: i32.const $push14=, 0 i32.const $push13=, 255 - i32.and $push12=, $1, $pop13 - tee_local $push11=, $3=, $pop12 + i32.and $push12=, $3, $pop13 + tee_local $push11=, $1=, $pop12 i32.sub $push10=, $pop14, $pop11 tee_local $push9=, $2=, $pop10 i32.const $push8=, 24 @@ -125,16 +125,16 @@ main: # @main .LBB2_4: # %fixnum_neg.exit.i # in Loop: Header=BB2_1 Depth=1 end_block # label7: - call foo@FUNCTION, $1, $2, $1 + call foo@FUNCTION, $3, $2, $3 i32.const $push20=, 1 - i32.add $1=, $1, $pop20 + i32.add $3=, $3, $pop20 i32.const $push19=, 127 - i32.ne $push4=, $3, $pop19 + i32.ne $push4=, $1, $pop19 br_if 0, $pop4 # 0: up to label5 # BB#5: # %if.end end_loop # label6: i32.const $push5=, 0 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr45070.c.s b/test/torture-s/pr45070.c.s index 9b5472d86..cb77859d7 100644 --- a/test/torture-s/pr45070.c.s +++ b/test/torture-s/pr45070.c.s @@ -8,29 +8,29 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $2=, 0 + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push17=, 0($pop10), $pop14 - tee_local $push16=, $2=, $pop17 - i64.const $push0=, 0 - i64.store $drop=, 0($pop16), $pop0 - i32.const $1=, 0 + i32.store $push17=, __stack_pointer($pop10), $pop14 + tee_local $push16=, $0=, $pop17 i32.const $push15=, 0 - i32.store $drop=, 8($2), $pop15 + i32.store $drop=, 8($pop16), $pop15 + i64.const $push0=, 0 + i64.store $drop=, 0($0), $pop0 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label1: - i32.call $0=, next@FUNCTION, $2 + i32.call $1=, next@FUNCTION, $0 block - br_if 0, $1 # 0: down to label3 + br_if 0, $2 # 0: down to label3 # BB#2: # %for.body # in Loop: Header=BB0_1 Depth=1 i32.const $push19=, 65535 - i32.and $push1=, $0, $pop19 + i32.and $push1=, $1, $pop19 i32.const $push18=, 65535 i32.ne $push2=, $pop1, $pop18 br_if 3, $pop2 # 3: down to label0 @@ -39,27 +39,28 @@ main: # @main end_block # label3: block i32.const $push20=, 1 - i32.lt_s $push3=, $1, $pop20 + i32.lt_s $push3=, $2, $pop20 br_if 0, $pop3 # 0: down to label4 # BB#4: # %lor.lhs.false # in Loop: Header=BB0_1 Depth=1 i32.const $push21=, 65535 - i32.and $push4=, $0, $pop21 + i32.and $push4=, $1, $pop21 br_if 3, $pop4 # 3: down to label0 .LBB0_5: # %for.cond # in Loop: Header=BB0_1 Depth=1 end_block # label4: - i32.const $push23=, 1 - i32.add $1=, $1, $pop23 + i32.const $push25=, 1 + i32.add $push24=, $2, $pop25 + tee_local $push23=, $2=, $pop24 i32.const $push22=, 15 - i32.le_s $push5=, $1, $pop22 + i32.le_s $push5=, $pop23, $pop22 br_if 0, $pop5 # 0: up to label1 # BB#6: # %for.end end_loop # label2: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 - i32.add $push12=, $2, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.add $push12=, $0, $pop11 + i32.store $drop=, __stack_pointer($pop13), $pop12 i32.const $push6=, 0 return $pop6 .LBB0_7: # %if.then @@ -79,15 +80,15 @@ next: # @next # BB#0: # %entry i32.const $3=, 0 block - i32.load $push0=, 0($0) - i32.load $push1=, 4($0) - i32.lt_s $push2=, $pop0, $pop1 + i32.load $push1=, 0($0) + i32.load $push0=, 4($0) + i32.lt_s $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label5 # BB#1: # %if.then.lr.ph i32.const $push3=, 8 i32.add $1=, $0, $pop3 - i32.const $push6=, 4 - i32.add $2=, $0, $pop6 + i32.const $push5=, 4 + i32.add $2=, $0, $pop5 .LBB1_2: # %if.then # =>This Inner Loop Header: Depth=1 loop # label6: @@ -100,9 +101,9 @@ next: # @next i32.const $push12=, 0 i32.store $drop=, 0($1), $pop12 call fetch@FUNCTION, $0 - i32.load $push5=, 0($0) - i32.load $push7=, 0($2) - i32.ge_s $push8=, $pop5, $pop7 + i32.load $push7=, 0($0) + i32.load $push6=, 0($2) + i32.ge_s $push8=, $pop7, $pop6 br_if 0, $pop8 # 0: up to label6 br 2 # 2: down to label5 .LBB1_4: # %if.end @@ -114,7 +115,8 @@ next: # @next i32.const $3=, 65535 .LBB1_5: # %cleanup end_block # label5: - return $3 + copy_local $push14=, $3 + # fallthrough-return: $pop14 .endfunc .Lfunc_end1: .size next, .Lfunc_end1-next @@ -126,7 +128,7 @@ fetch: # @fetch # BB#0: # %entry i32.const $push0=, 128 i32.store $drop=, 4($0), $pop0 - return + # fallthrough-return .endfunc .Lfunc_end2: .size fetch, .Lfunc_end2-fetch diff --git a/test/torture-s/pr45262.c.s b/test/torture-s/pr45262.c.s index 7be9934c9..8ad2e6ef6 100644 --- a/test/torture-s/pr45262.c.s +++ b/test/torture-s/pr45262.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.or $push2=, $0, $pop1 i32.const $push3=, 31 i32.shr_u $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -31,7 +31,7 @@ bar: # @bar i32.or $push2=, $0, $pop1 i32.const $push3=, 31 i32.shr_u $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -44,7 +44,7 @@ main: # @main .result i32 # BB#0: # %if.end20 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr45695.c.s b/test/torture-s/pr45695.c.s index 6c2c1fc46..22ec1f50e 100644 --- a/test/torture-s/pr45695.c.s +++ b/test/torture-s/pr45695.c.s @@ -9,7 +9,7 @@ g: # @g # BB#0: # %entry #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -27,7 +27,7 @@ f: # @f i32.const $push2=, -1 i32.eq $push1=, $2, $0 i32.select $push3=, $1, $pop2, $pop1 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size f, .Lfunc_end1-f @@ -40,22 +40,22 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $0=, 0 + i32.const $2=, 0 #APP #NO_APP block i32.const $push11=, 1 - i32.add $push10=, $0, $pop11 - tee_local $push9=, $2=, $pop10 + i32.add $push10=, $2, $pop11 + tee_local $push9=, $0=, $pop10 i32.const $push0=, 4 - i32.add $push8=, $0, $pop0 + i32.add $push8=, $2, $pop0 tee_local $push7=, $1=, $pop8 - i32.call $push1=, f@FUNCTION, $0, $pop9, $pop7 + i32.call $push1=, f@FUNCTION, $2, $pop9, $pop7 i32.const $push2=, -1 i32.ne $push3=, $pop1, $pop2 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end - i32.call $push4=, f@FUNCTION, $1, $2, $1 + i32.call $push4=, f@FUNCTION, $1, $0, $1 i32.const $push12=, 1 i32.ne $push5=, $pop4, $pop12 br_if 0, $pop5 # 0: down to label0 diff --git a/test/torture-s/pr46019.c.s b/test/torture-s/pr46019.c.s index 9a1b983cc..57b3b9feb 100644 --- a/test/torture-s/pr46019.c.s +++ b/test/torture-s/pr46019.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %for.cond.7 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr46309.c.s b/test/torture-s/pr46309.c.s index b2acd7168..15e7dec9c 100644 --- a/test/torture-s/pr46309.c.s +++ b/test/torture-s/pr46309.c.s @@ -46,45 +46,46 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push21=, $pop5, $pop6 - i32.store $1=, 0($pop7), $pop21 + i32.store $2=, __stack_pointer($pop7), $pop21 #APP #NO_APP i32.const $push0=, 2 - i32.store $drop=, 12($1), $pop0 + i32.store $drop=, 12($2), $pop0 i32.const $push11=, 12 - i32.add $push12=, $1, $pop11 + i32.add $push12=, $2, $pop11 call bar@FUNCTION, $pop12 i32.const $push1=, 3 - i32.store $drop=, 12($1), $pop1 + i32.store $drop=, 12($2), $pop1 i32.const $push13=, 12 - i32.add $push14=, $1, $pop13 + i32.add $push14=, $2, $pop13 call bar@FUNCTION, $pop14 i32.const $push2=, 1 - i32.store $0=, 8($1), $pop2 + i32.store $0=, 8($2), $pop2 i32.const $push3=, 0 - i32.store $push23=, 12($1), $pop3 - tee_local $push22=, $2=, $pop23 i32.const $push15=, 8 - i32.add $push16=, $1, $pop15 - i32.store $drop=, q($pop22), $pop16 + i32.add $push16=, $2, $pop15 + i32.store $drop=, q($pop3), $pop16 + i32.const $push22=, 0 + i32.store $1=, 12($2), $pop22 i32.const $push17=, 12 - i32.add $push18=, $1, $pop17 + i32.add $push18=, $2, $pop17 call bar@FUNCTION, $pop18 - i32.store $drop=, 12($1), $0 - i32.store $0=, 8($1), $2 + i32.store $drop=, 8($2), $1 + i32.store $drop=, 12($2), $0 i32.const $push19=, 12 - i32.add $push20=, $1, $pop19 + i32.add $push20=, $2, $pop19 call bar@FUNCTION, $pop20 - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 - i32.add $push9=, $1, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return $0 + i32.add $push9=, $2, $pop8 + i32.store $drop=, __stack_pointer($pop10), $pop9 + copy_local $push23=, $1 + # fallthrough-return: $pop23 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr46316.c.s b/test/torture-s/pr46316.c.s index b3b37687b..1b0c17e80 100644 --- a/test/torture-s/pr46316.c.s +++ b/test/torture-s/pr46316.c.s @@ -20,7 +20,7 @@ foo: # @foo i64.const $push8=, -2 i64.and $push9=, $pop7, $pop8 i64.sub $push10=, $0, $pop9 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr46909-1.c.s b/test/torture-s/pr46909-1.c.s index c75ced800..85a274a54 100644 --- a/test/torture-s/pr46909-1.c.s +++ b/test/torture-s/pr46909-1.c.s @@ -8,20 +8,20 @@ foo: # @foo .param i32 .result i32 # BB#0: # %entry - i32.const $push8=, 1 + i32.const $push5=, 1 i32.const $push12=, 1 - i32.const $push7=, -1 + i32.const $push4=, -1 i32.const $push0=, 2 i32.or $push1=, $0, $pop0 i32.const $push2=, 6 i32.ne $push3=, $pop1, $pop2 - i32.select $push9=, $pop12, $pop7, $pop3 - i32.const $push4=, 4 - i32.or $push5=, $0, $pop4 + i32.select $push6=, $pop12, $pop4, $pop3 + i32.const $push7=, 4 + i32.or $push8=, $0, $pop7 i32.const $push11=, 6 - i32.eq $push6=, $pop5, $pop11 - i32.select $push10=, $pop8, $pop9, $pop6 - return $pop10 + i32.eq $push9=, $pop8, $pop11 + i32.select $push10=, $pop5, $pop6, $pop9 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -40,14 +40,14 @@ main: # @main block loop # label1: i32.const $push11=, 4 - i32.add $push1=, $1, $pop11 - i32.call $push2=, foo@FUNCTION, $pop1 + i32.add $push4=, $1, $pop11 + i32.call $push5=, foo@FUNCTION, $pop4 i32.const $push10=, 1 - i32.eqz $push3=, $1 + i32.eqz $push1=, $1 i32.const $push9=, 1 - i32.shl $push4=, $pop3, $pop9 - i32.sub $push5=, $pop10, $pop4 - i32.ne $push6=, $pop2, $pop5 + i32.shl $push2=, $pop1, $pop9 + i32.sub $push3=, $pop10, $pop2 + i32.ne $push6=, $pop5, $pop3 br_if 2, $pop6 # 2: down to label0 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 diff --git a/test/torture-s/pr46909-2.c.s b/test/torture-s/pr46909-2.c.s index 86016be7a..032ef44c0 100644 --- a/test/torture-s/pr46909-2.c.s +++ b/test/torture-s/pr46909-2.c.s @@ -22,7 +22,8 @@ foo: # @foo i32.const $1=, -1 .LBB0_3: # %return end_block # label0: - return $1 + copy_local $push2=, $1 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -40,25 +41,26 @@ main: # @main # =>This Inner Loop Header: Depth=1 block loop # label3: - i32.call $push0=, foo@FUNCTION, $0 + i32.call $push6=, foo@FUNCTION, $0 i32.const $push13=, 1 - i32.eqz $push1=, $0 + i32.eqz $push2=, $0 i32.const $push12=, 1 - i32.shl $push2=, $pop1, $pop12 - i32.sub $push3=, $pop13, $pop2 + i32.shl $push3=, $pop2, $pop12 + i32.sub $push4=, $pop13, $pop3 i32.const $push11=, 13 - i32.eq $push4=, $0, $pop11 + i32.eq $push0=, $0, $pop11 i32.const $push10=, 1 - i32.shl $push5=, $pop4, $pop10 - i32.sub $push6=, $pop3, $pop5 - i32.ne $push7=, $pop0, $pop6 + i32.shl $push1=, $pop0, $pop10 + i32.sub $push5=, $pop4, $pop1 + i32.ne $push7=, $pop6, $pop5 br_if 2, $pop7 # 2: down to label2 # BB#2: # %for.cond # in Loop: Header=BB1_1 Depth=1 - i32.const $push15=, 1 - i32.add $0=, $0, $pop15 + i32.const $push17=, 1 + i32.add $push16=, $0, $pop17 + tee_local $push15=, $0=, $pop16 i32.const $push14=, 29 - i32.le_s $push8=, $0, $pop14 + i32.le_s $push8=, $pop15, $pop14 br_if 0, $pop8 # 0: up to label3 # BB#3: # %for.end end_loop # label4: diff --git a/test/torture-s/pr47148.c.s b/test/torture-s/pr47148.c.s index f1ab6dac6..7713304cd 100644 --- a/test/torture-s/pr47148.c.s +++ b/test/torture-s/pr47148.c.s @@ -10,7 +10,7 @@ main: # @main i32.const $push1=, 0 i32.const $push2=, 0 i32.store $push0=, b($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr47155.c.s b/test/torture-s/pr47155.c.s index 58b65ae70..168642b82 100644 --- a/test/torture-s/pr47155.c.s +++ b/test/torture-s/pr47155.c.s @@ -11,7 +11,7 @@ main: # @main i32.const $push0=, 1 i32.store $drop=, a($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr47237.c.s b/test/torture-s/pr47237.c.s index ec66ebd38..9c1028948 100644 --- a/test/torture-s/pr47237.c.s +++ b/test/torture-s/pr47237.c.s @@ -7,12 +7,12 @@ main: # @main .result i32 # BB#0: # %entry - i32.const $push1=, foo@FUNCTION + i32.const $push2=, foo@FUNCTION i32.call $push0=, __builtin_apply_args@FUNCTION - i32.const $push2=, 16 - i32.call $drop=, __builtin_apply@FUNCTION, $pop1, $pop0, $pop2 + i32.const $push1=, 16 + i32.call $drop=, __builtin_apply@FUNCTION, $pop2, $pop0, $pop1 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr47299.c.s b/test/torture-s/pr47299.c.s index e7c842078..6441915ae 100644 --- a/test/torture-s/pr47299.c.s +++ b/test/torture-s/pr47299.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 255 i32.mul $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr47337.c.s b/test/torture-s/pr47337.c.s index 2958eb893..849e5a923 100644 --- a/test/torture-s/pr47337.c.s +++ b/test/torture-s/pr47337.c.s @@ -16,19 +16,20 @@ main: # @main .LBB0_1: # %for.cond2.preheader # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push32=, 1 - i32.store $drop=, a+1024($1), $pop32 - i32.const $push31=, 4 - i32.add $1=, $1, $pop31 - br_if 0, $1 # 0: up to label0 + i32.const $push34=, 1 + i32.store $drop=, a+1024($1), $pop34 + i32.const $push33=, 4 + i32.add $push32=, $1, $pop33 + tee_local $push31=, $1=, $pop32 + br_if 0, $pop31 # 0: up to label0 # BB#2: # %for.cond7.preheader end_loop # label1: i32.const $push3=, 0 - i32.const $push33=, 0 - i32.store $1=, d($pop3), $pop33 + i32.const $push35=, 0 + i32.store $1=, d($pop3), $pop35 block - i32.eqz $push48=, $0 - br_if 0, $pop48 # 0: down to label2 + i32.eqz $push50=, $0 + br_if 0, $pop50 # 0: down to label2 # BB#3: # %fnx.exit i32.load $push4=, b($1) i32.const $push5=, 1 @@ -36,45 +37,46 @@ main: # @main i32.const $push7=, 2 i32.shl $push8=, $pop6, $pop7 i32.load $push9=, a($pop8) + i32.const $push49=, 1 + i32.and $push10=, $pop9, $pop49 + i32.const $push48=, 2 + i32.shl $push11=, $pop10, $pop48 + i32.load $push12=, a($pop11) i32.const $push47=, 1 - i32.and $push10=, $pop9, $pop47 + i32.and $push13=, $pop12, $pop47 i32.const $push46=, 2 - i32.shl $push11=, $pop10, $pop46 - i32.load $push12=, a($pop11) + i32.shl $push14=, $pop13, $pop46 + i32.load $push15=, a($pop14) i32.const $push45=, 1 - i32.and $push13=, $pop12, $pop45 + i32.and $push16=, $pop15, $pop45 i32.const $push44=, 2 - i32.shl $push14=, $pop13, $pop44 - i32.load $push15=, a($pop14) + i32.shl $push17=, $pop16, $pop44 + i32.load $push18=, a($pop17) i32.const $push43=, 1 - i32.and $push16=, $pop15, $pop43 + i32.and $push19=, $pop18, $pop43 i32.const $push42=, 2 - i32.shl $push17=, $pop16, $pop42 - i32.load $push18=, a($pop17) + i32.shl $push20=, $pop19, $pop42 + i32.load $push21=, a($pop20) i32.const $push41=, 1 - i32.and $push19=, $pop18, $pop41 + i32.and $push22=, $pop21, $pop41 i32.const $push40=, 2 - i32.shl $push20=, $pop19, $pop40 - i32.load $push21=, a($pop20) + i32.shl $push23=, $pop22, $pop40 + i32.load $push24=, a($pop23) i32.const $push39=, 1 - i32.and $push22=, $pop21, $pop39 + i32.and $push25=, $pop24, $pop39 i32.const $push38=, 2 - i32.shl $push23=, $pop22, $pop38 - i32.load $push24=, a($pop23) + i32.shl $push26=, $pop25, $pop38 + i32.load $push27=, a($pop26) i32.const $push37=, 1 - i32.and $push25=, $pop24, $pop37 + i32.and $push28=, $pop27, $pop37 i32.const $push36=, 2 - i32.shl $push26=, $pop25, $pop36 - i32.load $push27=, a($pop26) - i32.const $push35=, 1 - i32.and $push28=, $pop27, $pop35 - i32.const $push34=, 2 - i32.shl $push29=, $pop28, $pop34 + i32.shl $push29=, $pop28, $pop36 i32.load $push30=, a($pop29) i32.store $drop=, b($1), $pop30 .LBB0_4: # %if.end25 end_block # label2: - return $1 + copy_local $push51=, $1 + # fallthrough-return: $pop51 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr47538.c.s b/test/torture-s/pr47538.c.s index 4e37beab0..a41be6e9f 100644 --- a/test/torture-s/pr47538.c.s +++ b/test/torture-s/pr47538.c.s @@ -6,36 +6,38 @@ .type foo,@function foo: # @foo .param i32, i32 - .local i32, f64, i32, i32, i32, f64, f64, i32, i32, i32 + .local f64, i32, i32, f64, i32, i32, i32, i32, f64, f64 # BB#0: # %entry - f64.load $7=, 8($1) - i32.load $2=, 20($1) - f64.load $push3=, 0($1) - f64.store $8=, 0($0), $pop3 - f64.store $drop=, 8($0), $7 + f64.load $push1=, 0($1) + f64.store $10=, 0($0), $pop1 + f64.load $push2=, 8($1) + f64.store $11=, 8($0), $pop2 block block - i32.eqz $push53=, $2 - br_if 0, $pop53 # 0: down to label1 + i32.load $push38=, 20($1) + tee_local $push37=, $3=, $pop38 + i32.eqz $push57=, $pop37 + br_if 0, $pop57 # 0: down to label1 # BB#1: # %if.else - f64.sub $push4=, $7, $8 + f64.sub $push4=, $11, $10 f64.const $push5=, 0x1p-2 - f64.mul $3=, $pop4, $pop5 - i32.const $push2=, 1 - i32.add $push38=, $2, $pop2 - tee_local $push37=, $9=, $pop38 + f64.mul $5=, $pop4, $pop5 + i32.const $push3=, 1 + i32.add $push40=, $3, $pop3 + tee_local $push39=, $4=, $pop40 i32.const $push6=, 2 - i32.ne $push7=, $pop37, $pop6 + i32.ne $push7=, $pop39, $pop6 br_if 1, $pop7 # 1: down to label0 # BB#2: # %if.then6 - i32.load $0=, 16($0) + i32.load $push44=, 16($0) + tee_local $push43=, $0=, $pop44 i32.load $push31=, 16($1) f64.load $push32=, 0($pop31) - f64.mul $push33=, $3, $pop32 - f64.store $push40=, 8($0), $pop33 - tee_local $push39=, $7=, $pop40 - f64.add $push34=, $pop39, $7 - f64.store $drop=, 0($0), $pop34 + f64.mul $push33=, $5, $pop32 + f64.store $push42=, 8($0), $pop33 + tee_local $push41=, $10=, $pop42 + f64.add $push34=, $pop41, $10 + f64.store $drop=, 0($pop43), $pop34 return .LBB0_3: # %if.then end_block # label1: @@ -45,73 +47,73 @@ foo: # @foo return .LBB0_4: # %for.cond.preheader end_block # label0: - i32.load $4=, 16($1) - i32.load $5=, 16($0) - f64.const $8=, 0x0p0 + i32.load $8=, 16($0) + i32.load $7=, 16($1) block block i32.const $push8=, -1 - i32.add $push42=, $2, $pop8 - tee_local $push41=, $10=, $pop42 - i32.eqz $push54=, $pop41 - br_if 0, $pop54 # 0: down to label3 + i32.add $push46=, $3, $pop8 + tee_local $push45=, $6=, $pop46 + i32.eqz $push58=, $pop45 + br_if 0, $pop58 # 0: down to label3 # BB#5: # %for.body.preheader - i32.const $push43=, 8 - i32.add $0=, $5, $pop43 - copy_local $1=, $4 - i32.const $6=, 1 - f64.const $7=, 0x1p0 + i32.const $push47=, 8 + i32.add $0=, $8, $pop47 + f64.const $11=, 0x0p0 + f64.const $10=, 0x1p0 + copy_local $1=, $7 + i32.const $9=, 1 .LBB0_6: # %for.body # =>This Inner Loop Header: Depth=1 loop # label4: - f64.load $push9=, 0($1) - i32.const $push49=, 16 - i32.add $push10=, $1, $pop49 - f64.load $push11=, 0($pop10) - f64.sub $push12=, $pop9, $pop11 - f64.mul $push13=, $3, $pop12 - f64.convert_u/i32 $push14=, $6 + f64.load $push11=, 0($1) + i32.const $push53=, 16 + i32.add $push9=, $1, $pop53 + f64.load $push10=, 0($pop9) + f64.sub $push12=, $pop11, $pop10 + f64.mul $push13=, $5, $pop12 + f64.convert_u/i32 $push14=, $9 f64.div $push15=, $pop13, $pop14 - f64.store $push0=, 0($0), $pop15 - f64.mul $push16=, $7, $pop0 - f64.add $8=, $8, $pop16 - f64.neg $7=, $7 - i32.const $push48=, 8 - i32.add $1=, $1, $pop48 - i32.const $push47=, 8 - i32.add $0=, $0, $pop47 - i32.const $push46=, 1 - i32.add $push45=, $6, $pop46 - tee_local $push44=, $11=, $pop45 - copy_local $6=, $pop44 - i32.le_u $push17=, $11, $10 + f64.store $2=, 0($0), $pop15 + i32.const $push52=, 8 + i32.add $0=, $0, $pop52 + i32.const $push51=, 8 + i32.add $1=, $1, $pop51 + f64.mul $push16=, $10, $2 + f64.add $11=, $11, $pop16 + f64.neg $10=, $10 + i32.const $push50=, 1 + i32.add $push49=, $9, $pop50 + tee_local $push48=, $9=, $pop49 + i32.le_u $push17=, $pop48, $6 br_if 0, $pop17 # 0: up to label4 br 3 # 3: down to label2 .LBB0_7: end_loop # label5: end_block # label3: - f64.const $7=, 0x1p0 + f64.const $11=, 0x0p0 + f64.const $10=, 0x1p0 .LBB0_8: # %for.end end_block # label2: - i32.const $push18=, 3 - i32.shl $push27=, $2, $pop18 - i32.add $push28=, $5, $pop27 - i32.const $push52=, 3 - i32.shl $push19=, $10, $pop52 - i32.add $push20=, $4, $pop19 - f64.load $push21=, 0($pop20) - f64.mul $push22=, $3, $pop21 - f64.convert_u/i32 $push23=, $9 - f64.const $push24=, -0x1p0 - f64.add $push25=, $pop23, $pop24 - f64.div $push26=, $pop22, $pop25 - f64.store $push1=, 0($pop28), $pop26 - f64.mul $push29=, $7, $pop1 - f64.add $push51=, $8, $pop29 - tee_local $push50=, $7=, $pop51 - f64.add $push30=, $pop50, $7 - f64.store $drop=, 0($5), $pop30 - return + i32.const $push21=, 3 + i32.shl $push27=, $3, $pop21 + i32.add $push28=, $8, $pop27 + i32.const $push56=, 3 + i32.shl $push22=, $6, $pop56 + i32.add $push23=, $7, $pop22 + f64.load $push24=, 0($pop23) + f64.mul $push25=, $5, $pop24 + f64.convert_u/i32 $push18=, $4 + f64.const $push19=, -0x1p0 + f64.add $push20=, $pop18, $pop19 + f64.div $push26=, $pop25, $pop20 + f64.store $push0=, 0($pop28), $pop26 + f64.mul $push29=, $10, $pop0 + f64.add $push55=, $11, $pop29 + tee_local $push54=, $10=, $pop55 + f64.add $push30=, $pop54, $10 + f64.store $drop=, 0($8), $pop30 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -124,95 +126,95 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push100=, __stack_pointer - i32.const $push97=, __stack_pointer - i32.load $push98=, 0($pop97) + i32.const $push100=, 0 + i32.const $push97=, 0 + i32.load $push98=, __stack_pointer($pop97) i32.const $push99=, 112 i32.sub $push126=, $pop98, $pop99 - i32.store $push142=, 0($pop100), $pop126 + i32.store $push142=, __stack_pointer($pop100), $pop126 tee_local $push141=, $0=, $pop142 + i32.const $push104=, 32 + i32.add $push105=, $pop141, $pop104 i32.const $push0=, 24 - i32.add $push12=, $pop141, $pop0 + i32.add $push1=, $pop105, $pop0 i32.const $push2=, 0 - i64.load $push13=, .Lmain.e+24($pop2) - i64.store $drop=, 0($pop12), $pop13 - i32.const $push14=, 20 - i32.add $push15=, $0, $pop14 - i32.const $push140=, 0 - i32.load $push16=, .Lmain.e+20($pop140) - i32.store $drop=, 0($pop15), $pop16 - i32.const $push4=, 16 - i32.add $push17=, $0, $pop4 - i32.const $push139=, 0 - i32.load $push18=, .Lmain.e+16($pop139) - i32.store $drop=, 0($pop17), $pop18 - i32.const $push104=, 32 - i32.add $push105=, $0, $pop104 - i32.const $push138=, 24 - i32.add $push1=, $pop105, $pop138 - i32.const $push137=, 0 - i64.load $push3=, .Lmain.c+24($pop137) + i64.load $push3=, .Lmain.c+24($pop2) i64.store $drop=, 0($pop1), $pop3 i32.const $push106=, 32 i32.add $push107=, $0, $pop106 - i32.const $push136=, 16 - i32.add $push5=, $pop107, $pop136 - i32.const $push135=, 0 - i64.load $push6=, .Lmain.c+16($pop135) + i32.const $push4=, 16 + i32.add $push5=, $pop107, $pop4 + i32.const $push140=, 0 + i64.load $push6=, .Lmain.c+16($pop140) i64.store $drop=, 0($pop5), $pop6 + i32.const $push139=, 0 + i64.load $push7=, .Lmain.c+8($pop139) + i64.store $drop=, 40($0), $pop7 + i32.const $push138=, 0 + i64.load $push8=, .Lmain.c($pop138) + i64.store $drop=, 32($0), $pop8 + i32.const $push137=, 24 + i32.add $push9=, $0, $pop137 + i32.const $push136=, 0 + i64.load $push10=, .Lmain.e+24($pop136) + i64.store $drop=, 0($pop9), $pop10 i32.const $push11=, 3 i32.store $drop=, 84($0), $pop11 - i32.const $push134=, 0 - i32.load $push19=, .Lmain.e+4($pop134) + i32.const $push12=, 20 + i32.add $push13=, $0, $pop12 + i32.const $push135=, 0 + i32.load $push14=, .Lmain.e+20($pop135) + i32.store $drop=, 0($pop13), $pop14 + i32.const $push108=, 32 + i32.add $push109=, $0, $pop108 + i32.store $drop=, 80($0), $pop109 + i32.store $push134=, 104($0), $0 + tee_local $push133=, $0=, $pop134 + i32.const $push132=, 16 + i32.add $push15=, $pop133, $pop132 + i32.const $push131=, 0 + i32.load $push16=, .Lmain.e+16($pop131) + i32.store $drop=, 0($pop15), $pop16 + i64.const $push17=, 4621819117588971520 + i64.store $drop=, 64($0), $pop17 + i64.const $push18=, 4618441417868443648 + i64.store $drop=, 72($0), $pop18 + i32.const $push130=, 0 + i32.load $push19=, .Lmain.e+4($pop130) i32.store $drop=, 4($0), $pop19 - i32.const $push133=, 0 - i32.load $push20=, .Lmain.e($pop133) + i32.const $push129=, 0 + i32.load $push20=, .Lmain.e($pop129) i32.store $drop=, 0($0), $pop20 - i32.const $push132=, 0 - i32.load $push21=, .Lmain.e+8($pop132) + i32.const $push128=, 0 + i32.load $push21=, .Lmain.e+8($pop128) i32.store $drop=, 8($0), $pop21 - i32.const $push131=, 0 - i32.load $push22=, .Lmain.e+12($pop131) + i32.const $push127=, 0 + i32.load $push22=, .Lmain.e+12($pop127) i32.store $drop=, 12($0), $pop22 - i32.const $push130=, 0 - i64.load $push7=, .Lmain.c+8($pop130) - i64.store $drop=, 40($0), $pop7 - i32.const $push129=, 0 - i64.load $push8=, .Lmain.c($pop129) - i64.store $drop=, 32($0), $pop8 - i64.const $push9=, 4621819117588971520 - i64.store $drop=, 64($0), $pop9 - i64.const $push10=, 4618441417868443648 - i64.store $drop=, 72($0), $pop10 - i32.const $push108=, 32 - i32.add $push109=, $0, $pop108 - i32.store $drop=, 80($0), $pop109 - i32.store $push128=, 104($0), $0 - tee_local $push127=, $0=, $pop128 i32.const $push110=, 88 - i32.add $push111=, $pop127, $pop110 + i32.add $push111=, $0, $pop110 i32.const $push112=, 64 i32.add $push113=, $0, $pop112 call foo@FUNCTION, $pop111, $pop113 block - f64.load $push23=, 0($0) - f64.const $push24=, 0x0p0 - f64.ne $push25=, $pop23, $pop24 + f64.load $push24=, 0($0) + f64.const $push23=, 0x0p0 + f64.ne $push25=, $pop24, $pop23 br_if 0, $pop25 # 0: down to label6 # BB#1: # %lor.lhs.false - f64.load $push26=, 8($0) - f64.const $push27=, 0x1.4p4 - f64.ne $push28=, $pop26, $pop27 + f64.load $push27=, 8($0) + f64.const $push26=, 0x1.4p4 + f64.ne $push28=, $pop27, $pop26 br_if 0, $pop28 # 0: down to label6 # BB#2: # %lor.lhs.false9 - f64.load $push29=, 16($0) - f64.const $push30=, 0x1.4p3 - f64.ne $push31=, $pop29, $pop30 + f64.load $push30=, 16($0) + f64.const $push29=, 0x1.4p3 + f64.ne $push31=, $pop30, $pop29 br_if 0, $pop31 # 0: down to label6 # BB#3: # %lor.lhs.false12 - f64.load $push32=, 24($0) - f64.const $push33=, -0x1.4p3 - f64.ne $push34=, $pop32, $pop33 + f64.load $push33=, 24($0) + f64.const $push32=, -0x1.4p3 + f64.ne $push34=, $pop33, $pop32 br_if 0, $pop34 # 0: down to label6 # BB#4: # %if.end i32.const $push38=, 84 @@ -221,13 +223,13 @@ main: # @main i32.store $drop=, 0($pop39), $pop40 i32.const $push43=, 24 i32.add $push149=, $0, $pop43 - tee_local $push148=, $2=, $pop149 + tee_local $push148=, $1=, $pop149 i32.const $push41=, 0 i64.load $push42=, .Lmain.e+24($pop41) i64.store $drop=, 0($pop148), $pop42 i32.const $push45=, 16 i32.add $push147=, $0, $pop45 - tee_local $push146=, $1=, $pop147 + tee_local $push146=, $2=, $pop147 i32.const $push145=, 0 i64.load $push44=, .Lmain.e+16($pop145) i64.store $drop=, 0($pop146), $pop44 @@ -242,9 +244,9 @@ main: # @main i32.const $push116=, 64 i32.add $push117=, $0, $pop116 call foo@FUNCTION, $pop115, $pop117 - f64.load $push48=, 0($0) - f64.const $push49=, 0x1.ep5 - f64.ne $push50=, $pop48, $pop49 + f64.load $push49=, 0($0) + f64.const $push48=, 0x1.ep5 + f64.ne $push50=, $pop49, $pop48 br_if 0, $pop50 # 0: down to label6 # BB#5: # %if.end f64.load $push35=, 8($0) @@ -252,12 +254,12 @@ main: # @main f64.ne $push52=, $pop35, $pop51 br_if 0, $pop52 # 0: down to label6 # BB#6: # %if.end - f64.load $push36=, 0($1) + f64.load $push36=, 0($2) f64.const $push53=, -0x1.4p3 f64.ne $push54=, $pop36, $pop53 br_if 0, $pop54 # 0: down to label6 # BB#7: # %if.end - f64.load $push37=, 0($2) + f64.load $push37=, 0($1) f64.const $push55=, 0x1.d8p6 f64.ne $push56=, $pop37, $pop55 br_if 0, $pop56 # 0: down to label6 @@ -268,13 +270,13 @@ main: # @main i32.store $drop=, 0($pop61), $pop62 i32.const $push65=, 24 i32.add $push156=, $0, $pop65 - tee_local $push155=, $1=, $pop156 + tee_local $push155=, $2=, $pop156 i32.const $push63=, 0 i64.load $push64=, .Lmain.e+24($pop63) i64.store $drop=, 0($pop155), $pop64 i32.const $push67=, 16 i32.add $push154=, $0, $pop67 - tee_local $push153=, $2=, $pop154 + tee_local $push153=, $1=, $pop154 i32.const $push152=, 0 i64.load $push66=, .Lmain.e+16($pop152) i64.store $drop=, 0($pop153), $pop66 @@ -289,9 +291,9 @@ main: # @main i32.const $push120=, 64 i32.add $push121=, $0, $pop120 call foo@FUNCTION, $pop119, $pop121 - f64.load $push70=, 0($0) - f64.const $push71=, -0x1.4p4 - f64.ne $push72=, $pop70, $pop71 + f64.load $push71=, 0($0) + f64.const $push70=, -0x1.4p4 + f64.ne $push72=, $pop71, $pop70 br_if 0, $pop72 # 0: down to label6 # BB#9: # %if.end30 f64.load $push57=, 8($0) @@ -299,12 +301,12 @@ main: # @main f64.ne $push74=, $pop57, $pop73 br_if 0, $pop74 # 0: down to label6 # BB#10: # %if.end30 - f64.load $push58=, 0($2) + f64.load $push58=, 0($1) f64.const $push157=, 0x1.d8p6 f64.ne $push75=, $pop58, $pop157 br_if 0, $pop75 # 0: down to label6 # BB#11: # %if.end30 - f64.load $push59=, 0($1) + f64.load $push59=, 0($2) f64.const $push158=, 0x1.d8p6 f64.ne $push76=, $pop59, $pop158 br_if 0, $pop76 # 0: down to label6 @@ -316,26 +318,26 @@ main: # @main i32.add $push81=, $0, $pop80 i32.const $push82=, 0 i32.store $push162=, 0($pop81), $pop82 - tee_local $push161=, $2=, $pop162 + tee_local $push161=, $1=, $pop162 i64.load $push83=, .Lmain.e+24($pop161) i64.store $drop=, 0($pop163), $pop83 i32.const $push86=, 16 i32.add $push160=, $0, $pop86 - tee_local $push159=, $1=, $pop160 - i64.load $push85=, .Lmain.e+16($2) + tee_local $push159=, $2=, $pop160 + i64.load $push85=, .Lmain.e+16($1) i64.store $drop=, 0($pop159), $pop85 - i64.load $push87=, .Lmain.e($2) + i64.load $push87=, .Lmain.e($1) i64.store $drop=, 0($0), $pop87 - i64.load $push88=, .Lmain.e+8($2) + i64.load $push88=, .Lmain.e+8($1) i64.store $drop=, 8($0), $pop88 i32.const $push122=, 88 i32.add $push123=, $0, $pop122 i32.const $push124=, 64 i32.add $push125=, $0, $pop124 call foo@FUNCTION, $pop123, $pop125 - f64.load $push89=, 0($0) - f64.const $push90=, 0x0p0 - f64.ne $push91=, $pop89, $pop90 + f64.load $push90=, 0($0) + f64.const $push89=, 0x0p0 + f64.ne $push91=, $pop90, $pop89 br_if 0, $pop91 # 0: down to label6 # BB#13: # %if.end46 f64.load $push77=, 8($0) @@ -343,7 +345,7 @@ main: # @main f64.ne $push92=, $pop77, $pop165 br_if 0, $pop92 # 0: down to label6 # BB#14: # %if.end46 - f64.load $push78=, 0($1) + f64.load $push78=, 0($2) f64.const $push166=, 0x1.d8p6 f64.ne $push93=, $pop78, $pop166 br_if 0, $pop93 # 0: down to label6 @@ -353,10 +355,10 @@ main: # @main f64.ne $push95=, $pop79, $pop94 br_if 0, $pop95 # 0: down to label6 # BB#16: # %if.end62 - i32.const $push103=, __stack_pointer + i32.const $push103=, 0 i32.const $push101=, 112 i32.add $push102=, $0, $pop101 - i32.store $drop=, 0($pop103), $pop102 + i32.store $drop=, __stack_pointer($pop103), $pop102 i32.const $push96=, 0 return $pop96 .LBB1_17: # %if.then61 diff --git a/test/torture-s/pr47925.c.s b/test/torture-s/pr47925.c.s index 23ef86813..32068ec5f 100644 --- a/test/torture-s/pr47925.c.s +++ b/test/torture-s/pr47925.c.s @@ -9,7 +9,7 @@ bar: # @bar # BB#0: # %entry #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -32,13 +32,15 @@ foo: # @foo # =>This Inner Loop Header: Depth=1 loop # label1: i32.load $0=, 0($0) - i32.const $push2=, -1 - i32.add $1=, $1, $pop2 - br_if 0, $1 # 0: up to label1 + i32.const $push4=, -1 + i32.add $push3=, $1, $pop4 + tee_local $push2=, $1=, $pop3 + br_if 0, $pop2 # 0: up to label1 .LBB1_3: # %for.end end_loop # label2: end_block # label0: - return $1 + copy_local $push5=, $1 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -51,25 +53,26 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push13=, $pop3, $pop4 - i32.store $0=, 0($pop5), $pop13 + i32.store $push15=, __stack_pointer($pop5), $pop13 + tee_local $push14=, $0=, $pop15 i32.const $push9=, 8 i32.add $push10=, $0, $pop9 - i32.store $drop=, 8($0), $pop10 + i32.store $drop=, 8($pop14), $pop10 i32.const $push11=, 8 i32.add $push12=, $0, $pop11 i32.const $push0=, 10 i32.call $drop=, foo@FUNCTION, $pop12, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $0, $pop6 - i32.store $drop=, 0($pop8), $pop7 + i32.store $drop=, __stack_pointer($pop8), $pop7 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr48197.c.s b/test/torture-s/pr48197.c.s index 664822e5c..065328e74 100644 --- a/test/torture-s/pr48197.c.s +++ b/test/torture-s/pr48197.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr48571-1.c.s b/test/torture-s/pr48571-1.c.s index 3aece0ccc..d25ac7aa1 100644 --- a/test/torture-s/pr48571-1.c.s +++ b/test/torture-s/pr48571-1.c.s @@ -13,17 +13,19 @@ bar: # @bar .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push4=, 1 - i32.shl $1=, $1, $pop4 - i32.store $drop=, c($0), $1 - i32.const $push3=, 4 - i32.add $0=, $0, $pop3 + i32.const $push8=, 1 + i32.shl $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 + i32.store $drop=, c($0), $pop6 + i32.const $push5=, 4 + i32.add $push4=, $0, $pop5 + tee_local $push3=, $0=, $pop4 i32.const $push2=, 2496 - i32.ne $push1=, $0, $pop2 + i32.ne $push1=, $pop3, $pop2 br_if 0, $pop1 # 0: up to label0 # BB#2: # %for.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -40,11 +42,12 @@ main: # @main .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push5=, 1 - i32.store $drop=, c+2496($0), $pop5 - i32.const $push4=, 4 - i32.add $0=, $0, $pop4 - br_if 0, $0 # 0: up to label2 + i32.const $push7=, 1 + i32.store $drop=, c+2496($0), $pop7 + i32.const $push6=, 4 + i32.add $push5=, $0, $pop6 + tee_local $push4=, $0=, $pop5 + br_if 0, $pop4 # 0: up to label2 # BB#2: # %for.end end_loop # label3: call bar@FUNCTION @@ -60,14 +63,15 @@ main: # @main br_if 2, $pop1 # 2: down to label4 # BB#4: # %if.end # in Loop: Header=BB1_3 Depth=1 - i32.const $push9=, 1 - i32.shl $1=, $1, $pop9 - i32.const $push8=, 1 - i32.add $2=, $2, $pop8 - i32.const $push7=, 4 - i32.add $0=, $0, $pop7 - i32.const $push6=, 624 - i32.lt_u $push2=, $2, $pop6 + i32.const $push13=, 4 + i32.add $0=, $0, $pop13 + i32.const $push12=, 1 + i32.shl $1=, $1, $pop12 + i32.const $push11=, 1 + i32.add $push10=, $2, $pop11 + tee_local $push9=, $2=, $pop10 + i32.const $push8=, 624 + i32.lt_u $push2=, $pop9, $pop8 br_if 0, $pop2 # 0: up to label5 # BB#5: # %for.end8 end_loop # label6: diff --git a/test/torture-s/pr48717.c.s b/test/torture-s/pr48717.c.s index 07d709b3b..2407b33af 100644 --- a/test/torture-s/pr48717.c.s +++ b/test/torture-s/pr48717.c.s @@ -11,7 +11,7 @@ foo: # @foo i32.add $push0=, $1, $0 i32.const $push1=, 65535 i32.and $push2=, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -33,7 +33,7 @@ bar: # @bar i32.const $push4=, 65535 i32.and $push5=, $pop3, $pop4 i32.store $drop=, v($pop0), $pop5 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr48809.c.s b/test/torture-s/pr48809.c.s index 3465ce6f2..e5d290279 100644 --- a/test/torture-s/pr48809.c.s +++ b/test/torture-s/pr48809.c.s @@ -9,7 +9,7 @@ foo: # @foo .result i32 .local i32, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $2=, 0 block block block @@ -46,13 +46,13 @@ foo: # @foo block i32.const $push0=, 62 i32.add $push37=, $0, $pop0 - tee_local $push36=, $2=, $pop37 + tee_local $push36=, $1=, $pop37 i32.const $push1=, 160 i32.gt_u $push2=, $pop36, $pop1 br_if 0, $pop2 # 0: down to label33 # BB#1: # %entry block - br_table $2, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 34, 0 # 0: down to label34 + br_table $1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 3, 4, 0, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 34, 0 # 0: down to label34 # 1: down to label33 # 2: down to label32 # 3: down to label31 @@ -89,10 +89,10 @@ foo: # @foo # 34: down to label0 .LBB0_2: # %sw.bb34 end_block # label34: - i32.const $1=, 19 + i32.const $2=, 19 .LBB0_3: # %sw.epilog end_block # label33: - return $1 + return $2 .LBB0_4: # %sw.bb end_block # label32: i32.const $push35=, 1 @@ -224,7 +224,7 @@ foo: # @foo .LBB0_36: # %sw.bb33 end_block # label0: i32.const $push5=, 18 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -237,7 +237,7 @@ main: # @main .result i32 # BB#0: # %if.end25 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr48814-1.c.s b/test/torture-s/pr48814-1.c.s index b04164cab..262239458 100644 --- a/test/torture-s/pr48814-1.c.s +++ b/test/torture-s/pr48814-1.c.s @@ -13,7 +13,7 @@ incr: # @incr i32.const $push3=, 1 i32.add $push4=, $pop2, $pop3 i32.store $push0=, count($pop1), $pop4 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size incr, .Lfunc_end0-incr @@ -30,14 +30,14 @@ main: # @main i32.const $push14=, 0 i32.load $push13=, count($pop14) tee_local $push12=, $1=, $pop13 - i32.const $push4=, 2 - i32.shl $push5=, $pop12, $pop4 - i32.store $drop=, arr($pop5), $0 + i32.const $push2=, 2 + i32.shl $push3=, $pop12, $pop2 + i32.store $drop=, arr($pop3), $0 block i32.const $push11=, 0 - i32.const $push2=, 1 - i32.add $push3=, $1, $pop2 - i32.store $push0=, count($pop11), $pop3 + i32.const $push4=, 1 + i32.add $push5=, $1, $pop4 + i32.store $push0=, count($pop11), $pop5 i32.const $push10=, 2 i32.ne $push6=, $pop0, $pop10 br_if 0, $pop6 # 0: down to label0 diff --git a/test/torture-s/pr48814-2.c.s b/test/torture-s/pr48814-2.c.s index fb0111074..75f5c0662 100644 --- a/test/torture-s/pr48814-2.c.s +++ b/test/torture-s/pr48814-2.c.s @@ -13,7 +13,7 @@ incr: # @incr i32.const $push3=, 1 i32.add $push4=, $pop2, $pop3 i32.store $push0=, count($pop1), $pop4 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size incr, .Lfunc_end0-incr @@ -24,21 +24,21 @@ incr: # @incr .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry i32.const $push1=, 0 - i32.load $push15=, count($pop1) - tee_local $push14=, $1=, $pop15 + i32.const $push15=, 0 + i32.load $push14=, count($pop15) + tee_local $push13=, $1=, $pop14 + i32.const $push12=, 2 + i32.add $push0=, $pop13, $pop12 + i32.store $0=, count($pop1), $pop0 i32.const $push2=, 1 - i32.add $push13=, $pop14, $pop2 - tee_local $push12=, $0=, $pop13 - i32.const $push11=, 2 - i32.shl $push3=, $pop12, $pop11 - i32.store $drop=, arr($pop3), $0 - i32.const $push10=, 0 + i32.add $push11=, $1, $pop2 + tee_local $push10=, $2=, $pop11 i32.const $push9=, 2 - i32.add $push0=, $1, $pop9 - i32.store $0=, count($pop10), $pop0 + i32.shl $push3=, $pop10, $pop9 + i32.store $drop=, arr($pop3), $2 block br_if 0, $1 # 0: down to label0 # BB#1: # %lor.lhs.false diff --git a/test/torture-s/pr48973-1.c.s b/test/torture-s/pr48973-1.c.s index db6d20509..95cfa4fdb 100644 --- a/test/torture-s/pr48973-1.c.s +++ b/test/torture-s/pr48973-1.c.s @@ -31,15 +31,15 @@ main: # @main # BB#0: # %entry i32.const $push10=, 0 i32.const $push9=, 0 - i32.load8_u $push1=, s($pop9) - i32.const $push2=, 254 - i32.and $push3=, $pop1, $pop2 + i32.load8_u $push2=, s($pop9) + i32.const $push3=, 254 + i32.and $push4=, $pop2, $pop3 i32.const $push8=, 0 i32.load $push0=, v($pop8) - i32.const $push4=, 1 - i32.and $push7=, $pop0, $pop4 + i32.const $push1=, 1 + i32.and $push7=, $pop0, $pop1 tee_local $push6=, $0=, $pop7 - i32.or $push5=, $pop3, $pop6 + i32.or $push5=, $pop4, $pop6 i32.store8 $drop=, s($pop10), $pop5 block i32.eqz $push12=, $0 diff --git a/test/torture-s/pr49039.c.s b/test/torture-s/pr49039.c.s index e57ead419..b58441e72 100644 --- a/test/torture-s/pr49039.c.s +++ b/test/torture-s/pr49039.c.s @@ -17,13 +17,13 @@ foo: # @foo i32.eq $push3=, $1, $pop2 br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.end - i32.gt_u $push6=, $0, $1 - i32.select $2=, $0, $1, $pop6 + i32.gt_u $push4=, $0, $1 + i32.select $2=, $0, $1, $pop4 block - i32.lt_u $push4=, $0, $1 - i32.select $push5=, $0, $1, $pop4 + i32.lt_u $push5=, $0, $1 + i32.select $push6=, $0, $1, $pop5 i32.const $push17=, 1 - i32.ne $push7=, $pop5, $pop17 + i32.ne $push7=, $pop6, $pop17 br_if 0, $pop7 # 0: down to label1 # BB#3: # %if.then9 i32.const $push8=, 0 @@ -46,7 +46,7 @@ foo: # @foo i32.store $drop=, cnt($pop13), $pop16 .LBB0_6: # %cleanup end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr49073.c.s b/test/torture-s/pr49073.c.s index 0215cf69d..36a59be4a 100644 --- a/test/torture-s/pr49073.c.s +++ b/test/torture-s/pr49073.c.s @@ -29,10 +29,10 @@ main: # @main .LBB0_3: # %if.end # in Loop: Header=BB0_1 Depth=1 end_block # label4: - i32.const $push14=, 3 - i32.eq $2=, $0, $pop14 - i32.const $push13=, 4 - i32.add $1=, $1, $pop13 + i32.const $push14=, 4 + i32.add $1=, $1, $pop14 + i32.const $push13=, 3 + i32.eq $2=, $0, $pop13 i32.const $push12=, 7 i32.lt_s $push2=, $0, $pop12 br_if 0, $pop2 # 0: up to label2 diff --git a/test/torture-s/pr49123.c.s b/test/torture-s/pr49123.c.s index c48a11049..86c48e2bf 100644 --- a/test/torture-s/pr49123.c.s +++ b/test/torture-s/pr49123.c.s @@ -14,7 +14,7 @@ main: # @main i32.or $push3=, $pop1, $pop2 i32.store8 $drop=, s.0($pop0), $pop3 i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr49161.c.s b/test/torture-s/pr49161.c.s index c20fd3094..fe97e600f 100644 --- a/test/torture-s/pr49161.c.s +++ b/test/torture-s/pr49161.c.s @@ -76,7 +76,7 @@ foo: # @foo call bar@FUNCTION, $pop14 .LBB1_7: # %return end_block # label1: - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/pr49186.c.s b/test/torture-s/pr49186.c.s index 7fda9b649..957713edb 100644 --- a/test/torture-s/pr49186.c.s +++ b/test/torture-s/pr49186.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr49218.c.s b/test/torture-s/pr49218.c.s index 604c97a0e..708b6b6db 100644 --- a/test/torture-s/pr49218.c.s +++ b/test/torture-s/pr49218.c.s @@ -6,63 +6,64 @@ .type main,@function main: # @main .result i32 - .local i64, i64, i32, i64 + .local i32, i64, i32, i64, i64 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) - i32.const $push17=, 16 - i32.sub $push22=, $pop16, $pop17 - i32.store $push30=, 0($pop18), $pop22 - tee_local $push29=, $2=, $pop30 - i32.const $push28=, 0 - f32.load $push0=, f($pop28) - call __fixsfti@FUNCTION, $pop29, $pop0 + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) + i32.const $push16=, 16 + i32.sub $push21=, $pop15, $pop16 + i32.store $push29=, __stack_pointer($pop17), $pop21 + tee_local $push28=, $0=, $pop29 + i32.const $push27=, 0 + f32.load $push0=, f($pop27) + call __fixsfti@FUNCTION, $pop28, $pop0 block - i64.load $push27=, 0($2) - tee_local $push26=, $1=, $pop27 + i64.load $push26=, 0($0) + tee_local $push25=, $3=, $pop26 i64.const $push4=, 10 - i64.gt_u $push5=, $pop26, $pop4 + i64.gt_u $push5=, $pop25, $pop4 i32.const $push1=, 8 - i32.add $push2=, $2, $pop1 - i64.load $push25=, 0($pop2) - tee_local $push24=, $0=, $pop25 - i64.const $push23=, 0 - i64.gt_s $push3=, $pop24, $pop23 - i64.eqz $push6=, $0 + i32.add $push2=, $0, $pop1 + i64.load $push24=, 0($pop2) + tee_local $push23=, $4=, $pop24 + i64.const $push22=, 0 + i64.gt_s $push3=, $pop23, $pop22 + i64.eqz $push6=, $4 i32.select $push7=, $pop5, $pop3, $pop6 br_if 0, $pop7 # 0: down to label0 # BB#1: # %do.body.preheader .LBB0_2: # %do.body # =>This Inner Loop Header: Depth=1 loop # label1: - i64.const $push36=, 1 - i64.const $push35=, 1 - i64.add $push34=, $1, $pop35 - tee_local $push33=, $3=, $pop34 - i64.lt_u $push9=, $pop33, $1 - i64.extend_u/i32 $push10=, $pop9 - i64.eqz $push8=, $3 - i64.select $push11=, $pop36, $pop10, $pop8 - i64.add $0=, $0, $pop11 + i64.const $push37=, 1 + i64.add $push36=, $3, $pop37 + tee_local $push35=, $1=, $pop36 + i64.lt_u $2=, $pop35, $3 #APP #NO_APP - copy_local $1=, $3 - i64.const $push32=, 11 - i64.xor $push12=, $3, $pop32 - i64.or $push13=, $0, $pop12 - i64.const $push31=, 0 - i64.ne $push14=, $pop13, $pop31 - br_if 0, $pop14 # 0: up to label1 + copy_local $3=, $1 + i64.const $push34=, 11 + i64.xor $push11=, $1, $pop34 + i64.const $push33=, 1 + i64.extend_u/i32 $push9=, $2 + i64.eqz $push8=, $1 + i64.select $push10=, $pop33, $pop9, $pop8 + i64.add $push32=, $4, $pop10 + tee_local $push31=, $4=, $pop32 + i64.or $push12=, $pop11, $pop31 + i64.const $push30=, 0 + i64.ne $push13=, $pop12, $pop30 + br_if 0, $pop13 # 0: up to label1 .LBB0_3: # %if.end end_loop # label2: end_block # label0: - i32.const $push21=, __stack_pointer - i32.const $push19=, 16 - i32.add $push20=, $2, $pop19 - i32.store $drop=, 0($pop21), $pop20 - i32.const $push37=, 0 - return $pop37 + i32.const $push20=, 0 + i32.const $push18=, 16 + i32.add $push19=, $0, $pop18 + i32.store $drop=, __stack_pointer($pop20), $pop19 + i32.const $push38=, 0 + # fallthrough-return: $pop38 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr49279.c.s b/test/torture-s/pr49279.c.s index d406cc1d1..cbe892bab 100644 --- a/test/torture-s/pr49279.c.s +++ b/test/torture-s/pr49279.c.s @@ -10,7 +10,8 @@ bar: # @bar # BB#0: # %entry #APP #NO_APP - return $0 + copy_local $push0=, $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -24,31 +25,32 @@ foo: # @foo .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push12=, $pop4, $pop5 - i32.store $push16=, 0($pop6), $pop12 - tee_local $push15=, $3=, $pop16 + i32.store $push16=, __stack_pointer($pop6), $pop12 + tee_local $push15=, $2=, $pop16 i32.store $drop=, 12($pop15), $0 i32.const $push0=, 1 - i32.store $0=, 8($3), $pop0 + i32.store $0=, 8($2), $pop0 i32.const $push10=, 8 - i32.add $push11=, $3, $pop10 + i32.add $push11=, $2, $pop10 i32.call $push1=, bar@FUNCTION, $pop11 i32.store $drop=, 4($pop1), $1 - i32.load $push14=, 12($3) - tee_local $push13=, $2=, $pop14 + i32.load $push14=, 12($2) + tee_local $push13=, $3=, $pop14 i32.const $push2=, 0 i32.store $drop=, 0($pop13), $pop2 i32.store $drop=, 0($1), $0 - i32.load $0=, 0($2) - i32.const $push9=, __stack_pointer + i32.load $1=, 0($3) + i32.const $push9=, 0 i32.const $push7=, 16 - i32.add $push8=, $3, $pop7 - i32.store $drop=, 0($pop9), $pop8 - return $0 + i32.add $push8=, $2, $pop7 + i32.store $drop=, __stack_pointer($pop9), $pop8 + copy_local $push17=, $1 + # fallthrough-return: $pop17 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -62,26 +64,26 @@ main: # @main .local i32 # BB#0: # %entry block - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push15=, $pop5, $pop6 - i32.store $push17=, 0($pop7), $pop15 + i32.store $push17=, __stack_pointer($pop7), $pop15 tee_local $push16=, $0=, $pop17 i32.const $push11=, 12 i32.add $push12=, $pop16, $pop11 i32.const $push13=, 8 i32.add $push14=, $0, $pop13 - i32.call $push0=, foo@FUNCTION, $pop12, $pop14 - i32.const $push1=, 1 - i32.ne $push2=, $pop0, $pop1 + i32.call $push1=, foo@FUNCTION, $pop12, $pop14 + i32.const $push0=, 1 + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 i32.const $push3=, 0 return $pop3 .LBB2_2: # %if.then diff --git a/test/torture-s/pr49281.c.s b/test/torture-s/pr49281.c.s index 8a9b82b3a..419a37b23 100644 --- a/test/torture-s/pr49281.c.s +++ b/test/torture-s/pr49281.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.shl $push1=, $0, $pop0 i32.const $push2=, 4 i32.or $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -29,7 +29,7 @@ bar: # @bar i32.shl $push1=, $0, $pop0 i32.const $push2=, 3 i32.or $push3=, $pop1, $pop2 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr49390.c.s b/test/torture-s/pr49390.c.s index 8b54b5897..3e3b641dd 100644 --- a/test/torture-s/pr49390.c.s +++ b/test/torture-s/pr49390.c.s @@ -44,7 +44,7 @@ bar: # @bar i32.const $push3=, 0 i32.load $push2=, 4($0) i32.store $drop=, v($pop3), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -69,7 +69,7 @@ baz: # @baz i32.load $push4=, v($pop0) i32.const $push5=, 1 i32.add $push6=, $pop4, $pop5 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz @@ -82,19 +82,19 @@ test: # @test .param i32 .local i64, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push53=, __stack_pointer - i32.const $push50=, __stack_pointer - i32.load $push51=, 0($pop50) + i32.const $push53=, 0 + i32.const $push50=, 0 + i32.load $push51=, __stack_pointer($pop50) i32.const $push52=, 16 i32.sub $push59=, $pop51, $pop52 - i32.store $push61=, 0($pop53), $pop59 - tee_local $push60=, $3=, $pop61 + i32.store $push61=, __stack_pointer($pop53), $pop59 + tee_local $push60=, $2=, $pop61 i32.const $push1=, 0 i64.load $push2=, a($pop1) i64.store $1=, 8($pop60), $pop2 i32.const $push57=, 8 - i32.add $push58=, $3, $pop57 - copy_local $2=, $pop58 + i32.add $push58=, $2, $pop57 + copy_local $6=, $pop58 block i32.eqz $push82=, $0 br_if 0, $pop82 # 0: down to label1 @@ -102,16 +102,16 @@ test: # @test block block i32.load $push65=, 4($0) - tee_local $push64=, $4=, $pop65 + tee_local $push64=, $7=, $pop65 i32.const $push6=, 8191 i32.and $push63=, $pop64, $pop6 - tee_local $push62=, $2=, $pop63 - i32.const $push7=, 16 - i32.lt_u $push8=, $pop62, $pop7 - br_if 0, $pop8 # 0: down to label3 + tee_local $push62=, $6=, $pop63 + i32.const $push8=, 16 + i32.lt_u $push9=, $pop62, $pop8 + br_if 0, $pop9 # 0: down to label3 # BB#2: # %if.else - i32.const $push9=, 8192 - i32.sub $push5=, $pop9, $2 + i32.const $push7=, 8192 + i32.sub $push5=, $pop7, $6 i32.const $push10=, 31 i32.gt_u $push11=, $pop5, $pop10 br_if 1, $pop11 # 1: down to label2 @@ -120,14 +120,14 @@ test: # @test i32.const $push14=, 1 i32.const $push13=, 0 i32.load $push12=, 0($0) - call foo@FUNCTION, $pop14, $pop13, $pop12, $4 + call foo@FUNCTION, $pop14, $pop13, $pop12, $7 .LBB3_4: # %if.end7 end_block # label2: - copy_local $2=, $0 + copy_local $6=, $0 .LBB3_5: # %if.end7 end_block # label1: block - i32.call $push15=, baz@FUNCTION, $2 + i32.call $push15=, baz@FUNCTION, $6 i32.eqz $push83=, $pop15 br_if 0, $pop83 # 0: down to label4 # BB#6: # %if.end9 @@ -135,9 +135,9 @@ test: # @test i32.const $push21=, 4 i32.const $push16=, 0 i32.load $push73=, b($pop16) - tee_local $push72=, $7=, $pop73 + tee_local $push72=, $3=, $pop73 i32.load16_u $push71=, 2($pop72) - tee_local $push70=, $6=, $pop71 + tee_local $push70=, $4=, $pop71 i32.const $push17=, 2 i32.and $push18=, $pop70, $pop17 i32.const $push19=, 1 @@ -145,20 +145,20 @@ test: # @test i32.select $0=, $pop22, $pop21, $pop20 block block - i32.load $push69=, 4($2) + i32.load $push69=, 4($6) tee_local $push68=, $5=, $pop69 i32.const $push23=, 8191 i32.and $push67=, $pop68, $pop23 - tee_local $push66=, $4=, $pop67 + tee_local $push66=, $7=, $pop67 i32.eqz $push84=, $pop66 br_if 0, $pop84 # 0: down to label6 # BB#7: # %if.else17 - i32.ge_u $push24=, $4, $0 + i32.ge_u $push24=, $7, $0 br_if 1, $pop24 # 1: down to label5 # BB#8: # %if.then20 i32.const $push27=, 2 i32.const $push26=, 0 - i32.load $push25=, 0($2) + i32.load $push25=, 0($6) call foo@FUNCTION, $pop27, $pop26, $pop25, $5 br 2 # 2: down to label4 .LBB3_9: # %if.then15 @@ -167,67 +167,67 @@ test: # @test i64.shr_u $push4=, $1, $pop3 i32.wrap/i64 $push0=, $pop4 i32.add $push28=, $pop0, $0 - i32.store $drop=, 12($3), $pop28 - copy_local $4=, $0 + i32.store $drop=, 12($2), $pop28 + copy_local $7=, $0 .LBB3_10: # %if.end24 end_block # label5: block - i32.ne $push31=, $4, $0 + i32.ne $push31=, $7, $0 br_if 0, $pop31 # 0: down to label7 # BB#11: # %if.end24 i32.const $push30=, 1 - i32.and $push29=, $6, $pop30 + i32.and $push29=, $4, $pop30 i32.eqz $push85=, $pop29 br_if 0, $pop85 # 0: down to label7 # BB#12: # %if.then31 - i64.load $push43=, 0($2):p2align=2 - i64.store $drop=, 0($3):p2align=2, $pop43 - call bar@FUNCTION, $3 + i64.load $push43=, 0($6):p2align=2 + i64.store $drop=, 0($2):p2align=2, $pop43 + call bar@FUNCTION, $2 i32.const $push49=, 3 i32.const $push48=, 0 - i32.load $push46=, 0($2) + i32.load $push47=, 0($6) i32.const $push44=, 4 - i32.add $push45=, $2, $pop44 - i32.load $push47=, 0($pop45) - call foo@FUNCTION, $pop49, $pop48, $pop46, $pop47 + i32.add $push45=, $6, $pop44 + i32.load $push46=, 0($pop45) + call foo@FUNCTION, $pop49, $pop48, $pop47, $pop46 br 1 # 1: down to label4 .LBB3_13: # %if.end34 end_block # label7: i32.const $push32=, 4 - i32.add $push33=, $2, $pop32 + i32.add $push33=, $6, $pop32 i32.load $push81=, 0($pop33) tee_local $push80=, $0=, $pop81 i32.const $push34=, 8191 i32.and $push35=, $pop80, $pop34 - i32.add $push79=, $7, $pop35 - tee_local $push78=, $4=, $pop79 + i32.add $push79=, $3, $pop35 + tee_local $push78=, $7=, $pop79 i32.load $push77=, 4($pop78) - tee_local $push76=, $6=, $pop77 - i32.load $push75=, 0($2) - tee_local $push74=, $2=, $pop75 + tee_local $push76=, $4=, $pop77 + i32.load $push75=, 0($6) + tee_local $push74=, $6=, $pop75 i32.lt_u $push36=, $pop76, $pop74 br_if 0, $pop36 # 0: down to label4 # BB#14: # %land.lhs.true41 block - i32.ne $push37=, $6, $2 + i32.ne $push37=, $4, $6 br_if 0, $pop37 # 0: down to label8 # BB#15: # %lor.lhs.false47 i32.const $push38=, 8 - i32.add $push39=, $4, $pop38 + i32.add $push39=, $7, $pop38 i32.load $push40=, 0($pop39) i32.lt_u $push41=, $pop40, $0 br_if 1, $pop41 # 1: down to label4 .LBB3_16: # %if.then53 end_block # label8: i32.const $push42=, 4 - call foo@FUNCTION, $pop42, $4, $2, $0 + call foo@FUNCTION, $pop42, $7, $6, $0 .LBB3_17: # %cleanup end_block # label4: - i32.const $push56=, __stack_pointer + i32.const $push56=, 0 i32.const $push54=, 16 - i32.add $push55=, $3, $pop54 - i32.store $drop=, 0($pop56), $pop55 - return + i32.add $push55=, $2, $pop54 + i32.store $drop=, __stack_pointer($pop56), $pop55 + # fallthrough-return .endfunc .Lfunc_end3: .size test, .Lfunc_end3-test @@ -240,16 +240,16 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry + i32.const $push7=, 0 + i32.const $push0=, u + i32.store $drop=, b($pop7), $pop0 + i32.const $push6=, 0 + i32.const $push1=, 8192 + i32.store $drop=, u+8($pop6), $pop1 i32.const $1=, a i32.const $0=, 0 #APP #NO_APP - i32.const $push7=, 0 - i32.const $push0=, 8192 - i32.store $drop=, u+8($pop7), $pop0 - i32.const $push6=, 0 - i32.const $push1=, u - i32.store $drop=, b($pop6), $pop1 call test@FUNCTION, $0 block i32.const $push5=, 0 diff --git a/test/torture-s/pr49419.c.s b/test/torture-s/pr49419.c.s index d305160c2..046b2aace 100644 --- a/test/torture-s/pr49419.c.s +++ b/test/torture-s/pr49419.c.s @@ -20,14 +20,14 @@ foo: # @foo i32.const $push23=, 0 i32.load $4=, t($pop23) block - i32.const $push6=, 1 - i32.lt_s $push7=, $3, $pop6 - br_if 0, $pop7 # 0: down to label2 + i32.const $push3=, 1 + i32.lt_s $push4=, $3, $pop3 + br_if 0, $pop4 # 0: down to label2 # BB#2: # %for.cond.preheader - i32.const $push3=, 12 - i32.mul $push4=, $0, $pop3 - i32.add $push5=, $4, $pop4 - i32.load $push2=, 0($pop5) + i32.const $push5=, 12 + i32.mul $push6=, $0, $pop5 + i32.add $push7=, $4, $pop6 + i32.load $push2=, 0($pop7) i32.ne $push8=, $pop2, $1 br_if 0, $pop8 # 0: down to label2 # BB#3: # %for.body.preheader @@ -36,21 +36,22 @@ foo: # @foo .LBB0_4: # %for.body # =>This Inner Loop Header: Depth=1 loop # label3: - i32.const $push24=, 1 - i32.add $5=, $5, $pop24 - i32.ge_s $push14=, $5, $3 - br_if 1, $pop14 # 1: down to label4 + i32.const $push26=, 1 + i32.add $push25=, $5, $pop26 + tee_local $push24=, $5=, $pop25 + i32.ge_s $push10=, $pop24, $3 + br_if 1, $pop10 # 1: down to label4 # BB#5: # %for.body # in Loop: Header=BB0_4 Depth=1 - i32.const $push28=, 12 - i32.mul $push10=, $6, $pop28 - i32.add $push11=, $4, $pop10 - i32.load $push27=, 4($pop11) - tee_local $push26=, $6=, $pop27 - i32.const $push25=, 12 - i32.mul $push12=, $pop26, $pop25 - i32.add $push13=, $4, $pop12 - i32.load $push9=, 0($pop13) + i32.const $push30=, 12 + i32.mul $push11=, $6, $pop30 + i32.add $push12=, $4, $pop11 + i32.load $push29=, 4($pop12) + tee_local $push28=, $6=, $pop29 + i32.const $push27=, 12 + i32.mul $push13=, $pop28, $pop27 + i32.add $push14=, $4, $pop13 + i32.load $push9=, 0($pop14) i32.eq $push15=, $pop9, $1 br_if 0, $pop15 # 0: up to label3 .LBB0_6: # %for.end @@ -60,38 +61,39 @@ foo: # @foo br_if 1, $pop16 # 1: down to label0 # BB#7: # %if.end7 block - i32.const $push29=, 1 - i32.lt_s $push17=, $5, $pop29 + i32.const $push31=, 1 + i32.lt_s $push17=, $5, $pop31 br_if 0, $pop17 # 0: down to label5 # BB#8: # %for.body10.preheader + i32.const $push32=, 1 + i32.add $3=, $5, $pop32 i32.const $push18=, 2 i32.shl $push19=, $5, $pop18 i32.add $6=, $2, $pop19 - i32.const $push30=, 1 - i32.add $3=, $5, $pop30 .LBB0_9: # %for.body10 # =>This Inner Loop Header: Depth=1 loop # label6: - i32.const $push36=, 12 - i32.mul $push20=, $0, $pop36 - i32.add $push35=, $4, $pop20 - tee_local $push34=, $0=, $pop35 - i32.load $push21=, 8($pop34) + i32.const $push40=, 12 + i32.mul $push20=, $0, $pop40 + i32.add $push39=, $4, $pop20 + tee_local $push38=, $0=, $pop39 + i32.load $push21=, 8($pop38) i32.store $drop=, 0($6), $pop21 + i32.const $push37=, -4 + i32.add $6=, $6, $pop37 i32.load $0=, 4($0) - i32.const $push33=, -1 - i32.add $3=, $3, $pop33 - i32.const $push32=, -4 - i32.add $6=, $6, $pop32 - i32.const $push31=, 1 - i32.gt_s $push22=, $3, $pop31 + i32.const $push36=, -1 + i32.add $push35=, $3, $pop36 + tee_local $push34=, $3=, $pop35 + i32.const $push33=, 1 + i32.gt_s $push22=, $pop34, $pop33 br_if 0, $pop22 # 0: up to label6 .LBB0_10: # %for.end16 end_loop # label7: end_block # label5: + i32.const $push41=, 1 + i32.add $6=, $5, $pop41 i32.store $drop=, 0($2), $0 - i32.const $push37=, 1 - i32.add $6=, $5, $pop37 .LBB0_11: # %cleanup end_block # label1: return $6 @@ -109,132 +111,136 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32 # BB#0: # %for.body.i.preheader - i32.const $2=, 0 - i32.const $push31=, __stack_pointer - i32.const $push28=, __stack_pointer - i32.load $push29=, 0($pop28) - i32.const $push30=, 48 - i32.sub $push37=, $pop29, $pop30 - i32.store $push1=, 0($pop31), $pop37 - i32.const $push42=, 0 + i32.const $1=, 0 + i32.const $push32=, 0 + i32.const $push29=, 0 + i32.load $push30=, __stack_pointer($pop29) + i32.const $push31=, 48 + i32.sub $push38=, $pop30, $pop31 + i32.store $push1=, __stack_pointer($pop32), $pop38 + i32.const $push45=, 0 i32.const $push2=, 36 - i32.call $push41=, memset@FUNCTION, $pop1, $pop42, $pop2 - tee_local $push40=, $1=, $pop41 - i64.const $push3=, 4294967297 - i64.store $drop=, 0($pop40), $pop3 - i32.load $4=, 12($1) - i32.const $push4=, 2 - i32.store $3=, 8($1), $pop4 - i32.const $push39=, 0 - i32.store $0=, t($pop39), $1 - i32.const $1=, 1 + i32.call $push44=, memset@FUNCTION, $pop1, $pop45, $pop2 + tee_local $push43=, $0=, $pop44 + i32.const $push3=, 2 + i32.store $5=, 8($pop43), $pop3 + i64.const $push4=, 4294967297 + i64.store $drop=, 0($0), $pop4 + i32.const $3=, 1 block - i32.const $push38=, 1 - i32.ne $push5=, $4, $pop38 - br_if 0, $pop5 # 0: down to label8 + i32.const $push42=, 0 + i32.store $push41=, t($pop42), $0 + tee_local $push40=, $0=, $pop41 + i32.load $push5=, 12($pop40) + i32.const $push39=, 1 + i32.ne $push6=, $pop5, $pop39 + br_if 0, $pop6 # 0: down to label8 # BB#1: # %for.body.i.for.body.i_crit_edge.preheader - i32.const $2=, 0 - i32.const $4=, 1 + i32.const $4=, 0 + i32.const $2=, 1 .LBB1_2: # %for.body.i.for.body.i_crit_edge # =>This Inner Loop Header: Depth=1 loop # label9: - i32.add $1=, $2, $3 - i32.const $push43=, 1 - i32.add $2=, $2, $pop43 - i32.gt_s $push11=, $1, $3 - br_if 1, $pop11 # 1: down to label10 + i32.const $push48=, 1 + i32.add $1=, $4, $pop48 + i32.add $push47=, $4, $5 + tee_local $push46=, $3=, $pop47 + i32.gt_s $push8=, $pop46, $5 + br_if 1, $pop8 # 1: down to label10 # BB#3: # %for.body.i.for.body.i_crit_edge # in Loop: Header=BB1_2 Depth=1 - i32.const $push48=, 12 - i32.mul $push7=, $4, $pop48 - i32.add $push8=, $0, $pop7 - i32.load $push47=, 4($pop8) - tee_local $push46=, $4=, $pop47 - i32.const $push45=, 12 - i32.mul $push9=, $pop46, $pop45 + copy_local $4=, $1 + i32.const $push53=, 12 + i32.mul $push9=, $2, $pop53 i32.add $push10=, $0, $pop9 - i32.load $push6=, 0($pop10) - i32.const $push44=, 1 - i32.eq $push12=, $pop6, $pop44 - br_if 0, $pop12 # 0: up to label9 + i32.load $push52=, 4($pop10) + tee_local $push51=, $2=, $pop52 + i32.const $push50=, 12 + i32.mul $push11=, $pop51, $pop50 + i32.add $push12=, $0, $pop11 + i32.load $push7=, 0($pop12) + i32.const $push49=, 1 + i32.eq $push13=, $pop7, $pop49 + br_if 0, $pop13 # 0: up to label9 .LBB1_4: # %for.end.i end_loop # label10: end_block # label8: block block block - i32.const $push13=, 3 - i32.eq $push14=, $1, $pop13 - br_if 0, $pop14 # 0: down to label13 + i32.const $push14=, 3 + i32.eq $push15=, $3, $pop14 + br_if 0, $pop15 # 0: down to label13 # BB#5: # %if.end7.i - i32.const $push49=, 0 - i32.lt_s $push15=, $2, $pop49 - br_if 1, $pop15 # 1: down to label12 + i32.const $push54=, 0 + i32.lt_s $push16=, $1, $pop54 + br_if 1, $pop16 # 1: down to label12 # BB#6: # %for.body10.i.preheader - i32.const $4=, 1 + i32.const $5=, 1 block - i32.const $push35=, 36 - i32.add $push36=, $0, $pop35 - i32.const $push16=, 2 - i32.shl $push17=, $1, $pop16 - i32.add $push52=, $pop36, $pop17 - tee_local $push51=, $3=, $pop52 - i32.const $push50=, 2 - i32.store $push0=, 0($pop51), $pop50 - i32.lt_s $push18=, $1, $pop0 - br_if 0, $pop18 # 0: down to label14 + i32.const $push36=, 36 + i32.add $push37=, $0, $pop36 + i32.const $push17=, 2 + i32.shl $push18=, $3, $pop17 + i32.add $push57=, $pop37, $pop18 + tee_local $push56=, $4=, $pop57 + i32.const $push55=, 2 + i32.store $push0=, 0($pop56), $pop55 + i32.lt_s $push19=, $3, $pop0 + br_if 0, $pop19 # 0: down to label14 # BB#7: # %for.body10.i.for.body10.i_crit_edge.preheader - i32.const $push53=, -4 - i32.add $3=, $3, $pop53 - i32.const $4=, 1 + i32.const $push58=, -4 + i32.add $4=, $4, $pop58 + i32.const $5=, 1 .LBB1_8: # %for.body10.i.for.body10.i_crit_edge # =>This Inner Loop Header: Depth=1 loop # label15: - i32.const $push59=, 12 - i32.mul $push19=, $4, $pop59 - i32.add $push58=, $0, $pop19 - tee_local $push57=, $4=, $pop58 - i32.load $push20=, 8($pop57) - i32.store $drop=, 0($3), $pop20 - i32.load $4=, 4($4) - i32.const $push56=, -1 - i32.add $1=, $1, $pop56 - i32.const $push55=, -4 - i32.add $3=, $3, $pop55 - i32.const $push54=, 1 - i32.gt_s $push21=, $1, $pop54 - br_if 0, $pop21 # 0: up to label15 + i32.const $push66=, 12 + i32.mul $push20=, $5, $pop66 + i32.add $push65=, $0, $pop20 + tee_local $push64=, $2=, $pop65 + i32.load $5=, 4($pop64) + i32.load $push21=, 8($2) + i32.store $drop=, 0($4), $pop21 + i32.const $push63=, -4 + i32.add $4=, $4, $pop63 + i32.const $push62=, -1 + i32.add $push61=, $3, $pop62 + tee_local $push60=, $3=, $pop61 + i32.const $push59=, 1 + i32.gt_s $push22=, $pop60, $pop59 + br_if 0, $pop22 # 0: up to label15 .LBB1_9: # %foo.exit end_loop # label16: end_block # label14: - i32.store $1=, 36($0), $4 - br_if 2, $2 # 2: down to label11 + i32.store $3=, 36($0), $5 + br_if 2, $1 # 2: down to label11 # BB#10: # %if.end - i32.const $push22=, 1 - i32.ne $push23=, $1, $pop22 - br_if 2, $pop23 # 2: down to label11 + i32.const $push23=, 1 + i32.ne $push24=, $3, $pop23 + br_if 2, $pop24 # 2: down to label11 # BB#11: # %lor.lhs.false - i32.load $push24=, 40($0) + i32.load $push26=, 40($0) i32.const $push25=, 2 - i32.ne $push26=, $pop24, $pop25 - br_if 2, $pop26 # 2: down to label11 + i32.ne $push27=, $pop26, $pop25 + br_if 2, $pop27 # 2: down to label11 # BB#12: # %if.end6 - i32.const $push34=, __stack_pointer - i32.const $push32=, 48 - i32.add $push33=, $0, $pop32 - i32.store $drop=, 0($pop34), $pop33 - i32.const $push27=, 0 - return $pop27 + i32.const $push35=, 0 + i32.const $push33=, 48 + i32.add $push34=, $0, $pop33 + i32.store $drop=, __stack_pointer($pop35), $pop34 + i32.const $push28=, 0 + return $pop28 .LBB1_13: # %if.then6.i end_block # label13: call abort@FUNCTION unreachable .LBB1_14: # %foo.exit.thread end_block # label12: - i32.const $push60=, 0 - i32.store $drop=, 36($0), $pop60 + i32.const $push67=, 0 + i32.store $drop=, 36($0), $pop67 .LBB1_15: # %if.then5 end_block # label11: call abort@FUNCTION diff --git a/test/torture-s/pr49644.c.s b/test/torture-s/pr49644.c.s index 71756b491..4c65e6c31 100644 --- a/test/torture-s/pr49644.c.s +++ b/test/torture-s/pr49644.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr49712.c.s b/test/torture-s/pr49712.c.s index 859febac1..3bf7adeed 100644 --- a/test/torture-s/pr49712.c.s +++ b/test/torture-s/pr49712.c.s @@ -7,7 +7,7 @@ foo: # @foo .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -35,7 +35,7 @@ bar: # @bar .LBB1_2: # %for.end9 end_block # label0: i32.const $push8=, 0 - return $pop8 + # fallthrough-return: $pop8 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -48,42 +48,44 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $1=, c($pop1) - i32.const $push6=, 0 - i32.const $push5=, 0 - i32.store $0=, b($pop6), $pop5 block - i32.eqz $push14=, $1 - br_if 0, $pop14 # 0: down to label1 + i32.const $push0=, 0 + i32.const $push7=, 0 + i32.store $push6=, b($pop0), $pop7 + tee_local $push5=, $1=, $pop6 + i32.load $push1=, c($pop5) + i32.eqz $push16=, $pop1 + br_if 0, $pop16 # 0: down to label1 # BB#1: # %while.body.preheader - i32.load $push2=, d($0) - i32.const $push7=, 1 - i32.lt_s $0=, $pop2, $pop7 + i32.load $push2=, d($1) + i32.const $push8=, 1 + i32.lt_s $1=, $pop2, $pop8 .LBB2_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push13=, 1 - i32.and $push3=, $0, $pop13 - i32.eqz $push15=, $pop3 - br_if 0, $pop15 # 0: up to label2 + i32.const $push15=, 1 + i32.and $push3=, $1, $pop15 + i32.eqz $push17=, $pop3 + br_if 0, $pop17 # 0: up to label2 # BB#3: # %for.cond4.preheader.preheader.i # in Loop: Header=BB2_2 Depth=1 - i32.const $0=, 0 + i32.const $1=, 0 + i32.const $push14=, 0 + i32.const $push13=, 1 + i32.store $drop=, d($pop14), $pop13 i32.const $push12=, 0 i32.const $push11=, 0 - i32.store $push10=, a($pop12), $pop11 - tee_local $push9=, $1=, $pop10 - i32.store $push0=, e($pop9), $1 - i32.const $push8=, 1 - i32.store $drop=, d($pop0), $pop8 + i32.store $push10=, e($pop12), $pop11 + tee_local $push9=, $0=, $pop10 + i32.store $drop=, a($pop9), $0 br 0 # 0: up to label2 .LBB2_4: # %for.inc.1 end_loop # label3: end_block # label1: i32.const $push4=, 2 - i32.store $drop=, b($0), $pop4 - return $0 + i32.store $drop=, b($1), $pop4 + copy_local $push18=, $1 + # fallthrough-return: $pop18 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr49768.c.s b/test/torture-s/pr49768.c.s index 8232539d5..20eb80bb4 100644 --- a/test/torture-s/pr49768.c.s +++ b/test/torture-s/pr49768.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr49886.c.s b/test/torture-s/pr49886.c.s index 6b2843eb9..8fc99c734 100644 --- a/test/torture-s/pr49886.c.s +++ b/test/torture-s/pr49886.c.s @@ -24,7 +24,7 @@ main: # @main i32.const $push0=, 1 i32.store $drop=, cond($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main @@ -41,7 +41,7 @@ bar_1: # @bar_1 i32.add $push2=, $pop0, $pop1 i32.store $drop=, 4($1), $pop2 call mark_cell@FUNCTION, $1 - return + # fallthrough-return .endfunc .Lfunc_end2: .size bar_1, .Lfunc_end2-bar_1 @@ -203,7 +203,7 @@ bar_2: # @bar_2 i32.add $push2=, $pop0, $pop1 i32.store $drop=, 4($1), $pop2 call mark_cell@FUNCTION, $1 - return + # fallthrough-return .endfunc .Lfunc_end4: .size bar_2, .Lfunc_end4-bar_2 diff --git a/test/torture-s/pr51023.c.s b/test/torture-s/pr51023.c.s index 4f01c1d1d..7041ca033 100644 --- a/test/torture-s/pr51023.c.s +++ b/test/torture-s/pr51023.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.shl $push1=, $0, $pop0 i32.const $push3=, 16 i32.shr_s $push2=, $pop1, $pop3 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -25,7 +25,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr51323.c.s b/test/torture-s/pr51323.c.s index 297e55249..b100bd11c 100644 --- a/test/torture-s/pr51323.c.s +++ b/test/torture-s/pr51323.c.s @@ -8,14 +8,14 @@ foo: # @foo .param i32, i32, i32 # BB#0: # %entry block - i32.const $push2=, 9 - i32.ne $push3=, $2, $pop2 - br_if 0, $pop3 # 0: down to label0 + i32.const $push1=, 9 + i32.ne $push2=, $2, $pop1 + br_if 0, $pop2 # 0: down to label0 # BB#1: # %entry br_if 0, $1 # 0: down to label0 # BB#2: # %entry - i32.const $push1=, 0 - i32.load $push0=, v($pop1) + i32.const $push3=, 0 + i32.load $push0=, v($pop3) i32.ne $push4=, $pop0, $0 br_if 0, $pop4 # 0: down to label0 # BB#3: # %if.end @@ -38,7 +38,7 @@ bar: # @bar i32.load $push0=, 4($1) i32.const $push1=, 0 call foo@FUNCTION, $pop0, $pop1, $0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -49,67 +49,67 @@ bar: # @bar .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push20=, __stack_pointer - i32.const $push17=, __stack_pointer - i32.load $push18=, 0($pop17) - i32.const $push19=, 48 - i32.sub $push36=, $pop18, $pop19 - i32.store $1=, 0($pop20), $pop36 - i32.const $push1=, 0 - i32.const $push0=, 3 - i32.store $drop=, v($pop1), $pop0 - i64.const $push2=, 12884901890 - i64.store $drop=, 32($1), $pop2 - i32.const $push24=, 20 - i32.add $push25=, $1, $pop24 - i32.const $push3=, 4 - i32.store $push42=, 40($1), $pop3 - tee_local $push41=, $2=, $pop42 - i32.add $push4=, $pop25, $pop41 - i32.load $push5=, 36($1) - i32.store $drop=, 0($pop4), $pop5 + i32.const $push22=, 0 + i32.const $push19=, 0 + i32.load $push20=, __stack_pointer($pop19) + i32.const $push21=, 48 + i32.sub $push38=, $pop20, $pop21 + i32.store $1=, __stack_pointer($pop22), $pop38 + i32.const $push3=, 0 + i32.const $push2=, 3 + i32.store $drop=, v($pop3), $pop2 + i64.const $push4=, 12884901890 + i64.store $drop=, 32($1), $pop4 i32.const $push26=, 20 i32.add $push27=, $1, $pop26 - i32.const $push6=, 8 - i32.add $push7=, $pop27, $pop6 - i32.store $drop=, 0($pop7), $2 - i32.load $push8=, 32($1) - i32.store $drop=, 20($1), $pop8 - i32.const $push9=, 9 + i32.const $push5=, 4 + i32.add $push6=, $pop27, $pop5 + i32.load $push7=, 36($1) + i32.store $drop=, 0($pop6), $pop7 i32.const $push28=, 20 i32.add $push29=, $1, $pop28 - call bar@FUNCTION, $pop9, $pop29 - i32.const $push40=, 0 - i32.const $push10=, 17 - i32.store $drop=, v($pop40), $pop10 - i64.const $push11=, 73014444048 - i64.store $drop=, 32($1), $pop11 - i32.const $push12=, 18 - i32.store $0=, 40($1), $pop12 - i32.const $push30=, 8 + i32.const $push8=, 8 + i32.add $push9=, $pop29, $pop8 + i32.const $push43=, 4 + i32.store $push0=, 40($1), $pop43 + i32.store $0=, 0($pop9), $pop0 + i32.load $push10=, 32($1) + i32.store $drop=, 20($1), $pop10 + i32.const $push11=, 9 + i32.const $push30=, 20 i32.add $push31=, $1, $pop30 - i32.add $push13=, $2, $pop31 - i32.load $push14=, 36($1) - i32.store $drop=, 0($pop13), $pop14 + call bar@FUNCTION, $pop11, $pop31 + i32.const $push42=, 0 + i32.const $push12=, 17 + i32.store $drop=, v($pop42), $pop12 + i64.const $push13=, 73014444048 + i64.store $drop=, 32($1), $pop13 i32.const $push32=, 8 i32.add $push33=, $1, $pop32 - i32.const $push39=, 8 - i32.add $push15=, $pop33, $pop39 - i32.store $drop=, 0($pop15), $0 - i32.load $push16=, 32($1) - i32.store $drop=, 8($1), $pop16 - i32.const $push38=, 9 + i32.add $push14=, $0, $pop33 + i32.load $push15=, 36($1) + i32.store $drop=, 0($pop14), $pop15 i32.const $push34=, 8 i32.add $push35=, $1, $pop34 - call bar@FUNCTION, $pop38, $pop35 - i32.const $push23=, __stack_pointer - i32.const $push21=, 48 - i32.add $push22=, $1, $pop21 - i32.store $drop=, 0($pop23), $pop22 - i32.const $push37=, 0 - return $pop37 + i32.const $push41=, 8 + i32.add $push17=, $pop35, $pop41 + i32.const $push16=, 18 + i32.store $push1=, 40($1), $pop16 + i32.store $drop=, 0($pop17), $pop1 + i32.load $push18=, 32($1) + i32.store $drop=, 8($1), $pop18 + i32.const $push40=, 9 + i32.const $push36=, 8 + i32.add $push37=, $1, $pop36 + call bar@FUNCTION, $pop40, $pop37 + i32.const $push25=, 0 + i32.const $push23=, 48 + i32.add $push24=, $1, $pop23 + i32.store $drop=, __stack_pointer($pop25), $pop24 + i32.const $push39=, 0 + # fallthrough-return: $pop39 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr51466.c.s b/test/torture-s/pr51466.c.s index 4fff51ae9..01c5ed1d6 100644 --- a/test/torture-s/pr51466.c.s +++ b/test/torture-s/pr51466.c.s @@ -8,8 +8,8 @@ foo: # @foo .param i32 .result i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push8=, $pop6, $pop7 i32.const $push1=, 2 @@ -17,7 +17,7 @@ foo: # @foo i32.add $push3=, $pop8, $pop2 i32.const $push4=, 6 i32.store $push0=, 0($pop3), $pop4 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -30,8 +30,8 @@ bar: # @bar .param i32 .result i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push8=, $pop6, $pop7 i32.const $push0=, 2 @@ -43,7 +43,7 @@ bar: # @bar i32.const $push3=, 8 i32.store $drop=, 0($0), $pop3 i32.load $push4=, 0($0) - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -57,8 +57,8 @@ baz: # @baz .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push11=, $pop6, $pop7 tee_local $push10=, $1=, $pop11 @@ -71,7 +71,7 @@ baz: # @baz i32.const $push3=, 8 i32.store $drop=, 0($1), $pop3 i32.load $push4=, 0($0) - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz diff --git a/test/torture-s/pr51581-1.c.s b/test/torture-s/pr51581-1.c.s index 774a0d075..791419c3e 100644 --- a/test/torture-s/pr51581-1.c.s +++ b/test/torture-s/pr51581-1.c.s @@ -12,15 +12,16 @@ f1: # @f1 # =>This Inner Loop Header: Depth=1 loop # label0: i32.load $push0=, a+16384($0) - i32.const $push3=, 3 - i32.div_s $push1=, $pop0, $pop3 + i32.const $push5=, 3 + i32.div_s $push1=, $pop0, $pop5 i32.store $drop=, c+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label0 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label0 # BB#2: # %for.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -37,15 +38,16 @@ f2: # @f2 # =>This Inner Loop Header: Depth=1 loop # label2: i32.load $push0=, b+16384($0) - i32.const $push3=, 3 - i32.div_u $push1=, $pop0, $pop3 + i32.const $push5=, 3 + i32.div_u $push1=, $pop0, $pop5 i32.store $drop=, d+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label2 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label2 # BB#2: # %for.end end_loop # label3: - return + # fallthrough-return .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -62,15 +64,16 @@ f3: # @f3 # =>This Inner Loop Header: Depth=1 loop # label4: i32.load $push0=, a+16384($0) - i32.const $push3=, 18 - i32.div_s $push1=, $pop0, $pop3 + i32.const $push5=, 18 + i32.div_s $push1=, $pop0, $pop5 i32.store $drop=, c+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label4 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label4 # BB#2: # %for.end end_loop # label5: - return + # fallthrough-return .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -87,15 +90,16 @@ f4: # @f4 # =>This Inner Loop Header: Depth=1 loop # label6: i32.load $push0=, b+16384($0) - i32.const $push3=, 18 - i32.div_u $push1=, $pop0, $pop3 + i32.const $push5=, 18 + i32.div_u $push1=, $pop0, $pop5 i32.store $drop=, d+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label6 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label6 # BB#2: # %for.end end_loop # label7: - return + # fallthrough-return .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 @@ -112,15 +116,16 @@ f5: # @f5 # =>This Inner Loop Header: Depth=1 loop # label8: i32.load $push0=, a+16384($0) - i32.const $push3=, 19 - i32.div_s $push1=, $pop0, $pop3 + i32.const $push5=, 19 + i32.div_s $push1=, $pop0, $pop5 i32.store $drop=, c+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label8 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label8 # BB#2: # %for.end end_loop # label9: - return + # fallthrough-return .endfunc .Lfunc_end4: .size f5, .Lfunc_end4-f5 @@ -137,15 +142,16 @@ f6: # @f6 # =>This Inner Loop Header: Depth=1 loop # label10: i32.load $push0=, b+16384($0) - i32.const $push3=, 19 - i32.div_u $push1=, $pop0, $pop3 + i32.const $push5=, 19 + i32.div_u $push1=, $pop0, $pop5 i32.store $drop=, d+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label10 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label10 # BB#2: # %for.end end_loop # label11: - return + # fallthrough-return .endfunc .Lfunc_end5: .size f6, .Lfunc_end5-f6 @@ -157,28 +163,29 @@ f6: # @f6 f7: # @f7 .local i32, i32 # BB#0: # %entry - i32.const $0=, -16384 + i32.const $1=, -16384 .LBB6_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label12: - i32.load $push11=, a+16384($0) - tee_local $push10=, $1=, $pop11 - i64.extend_s/i32 $push0=, $pop10 - i64.const $push9=, 1431655766 - i64.mul $push1=, $pop0, $pop9 - i64.const $push8=, 32 - i64.shr_u $push2=, $pop1, $pop8 - i32.wrap/i64 $push3=, $pop2 - i32.const $push7=, 31 - i32.shr_s $push4=, $1, $pop7 - i32.sub $push5=, $pop3, $pop4 - i32.store $drop=, c+16384($0), $pop5 - i32.const $push6=, 4 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label12 + i32.load $push13=, a+16384($1) + tee_local $push12=, $0=, $pop13 + i64.extend_s/i32 $push1=, $pop12 + i64.const $push11=, 1431655766 + i64.mul $push2=, $pop1, $pop11 + i64.const $push10=, 32 + i64.shr_u $push3=, $pop2, $pop10 + i32.wrap/i64 $push4=, $pop3 + i32.const $push9=, 31 + i32.shr_s $push0=, $0, $pop9 + i32.sub $push5=, $pop4, $pop0 + i32.store $drop=, c+16384($1), $pop5 + i32.const $push8=, 4 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 + br_if 0, $pop6 # 0: up to label12 # BB#2: # %for.end end_loop # label13: - return + # fallthrough-return .endfunc .Lfunc_end6: .size f7, .Lfunc_end6-f7 @@ -195,17 +202,18 @@ f8: # @f8 # =>This Inner Loop Header: Depth=1 loop # label14: i64.load32_u $push0=, b+16384($0) - i64.const $push5=, 2863311531 - i64.mul $push1=, $pop0, $pop5 - i64.const $push4=, 33 - i64.shr_u $push2=, $pop1, $pop4 + i64.const $push7=, 2863311531 + i64.mul $push1=, $pop0, $pop7 + i64.const $push6=, 33 + i64.shr_u $push2=, $pop1, $pop6 i64.store32 $drop=, d+16384($0), $pop2 - i32.const $push3=, 4 - i32.add $0=, $0, $pop3 - br_if 0, $0 # 0: up to label14 + i32.const $push5=, 4 + i32.add $push4=, $0, $pop5 + tee_local $push3=, $0=, $pop4 + br_if 0, $pop3 # 0: up to label14 # BB#2: # %for.end end_loop # label15: - return + # fallthrough-return .endfunc .Lfunc_end7: .size f8, .Lfunc_end7-f8 @@ -217,28 +225,29 @@ f8: # @f8 f9: # @f9 .local i32, i32 # BB#0: # %entry - i32.const $0=, -16384 + i32.const $1=, -16384 .LBB8_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label16: - i32.load $push11=, a+16384($0) - tee_local $push10=, $1=, $pop11 - i64.extend_s/i32 $push0=, $pop10 - i64.const $push9=, 954437177 - i64.mul $push1=, $pop0, $pop9 - i64.const $push8=, 34 - i64.shr_s $push2=, $pop1, $pop8 - i32.wrap/i64 $push3=, $pop2 - i32.const $push7=, 31 - i32.shr_s $push4=, $1, $pop7 - i32.sub $push5=, $pop3, $pop4 - i32.store $drop=, c+16384($0), $pop5 - i32.const $push6=, 4 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label16 + i32.load $push13=, a+16384($1) + tee_local $push12=, $0=, $pop13 + i64.extend_s/i32 $push1=, $pop12 + i64.const $push11=, 954437177 + i64.mul $push2=, $pop1, $pop11 + i64.const $push10=, 34 + i64.shr_s $push3=, $pop2, $pop10 + i32.wrap/i64 $push4=, $pop3 + i32.const $push9=, 31 + i32.shr_s $push0=, $0, $pop9 + i32.sub $push5=, $pop4, $pop0 + i32.store $drop=, c+16384($1), $pop5 + i32.const $push8=, 4 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 + br_if 0, $pop6 # 0: up to label16 # BB#2: # %for.end end_loop # label17: - return + # fallthrough-return .endfunc .Lfunc_end8: .size f9, .Lfunc_end8-f9 @@ -255,17 +264,18 @@ f10: # @f10 # =>This Inner Loop Header: Depth=1 loop # label18: i64.load32_u $push0=, b+16384($0) - i64.const $push5=, 954437177 - i64.mul $push1=, $pop0, $pop5 - i64.const $push4=, 34 - i64.shr_u $push2=, $pop1, $pop4 + i64.const $push7=, 954437177 + i64.mul $push1=, $pop0, $pop7 + i64.const $push6=, 34 + i64.shr_u $push2=, $pop1, $pop6 i64.store32 $drop=, d+16384($0), $pop2 - i32.const $push3=, 4 - i32.add $0=, $0, $pop3 - br_if 0, $0 # 0: up to label18 + i32.const $push5=, 4 + i32.add $push4=, $0, $pop5 + tee_local $push3=, $0=, $pop4 + br_if 0, $pop3 # 0: up to label18 # BB#2: # %for.end end_loop # label19: - return + # fallthrough-return .endfunc .Lfunc_end9: .size f10, .Lfunc_end9-f10 @@ -277,28 +287,29 @@ f10: # @f10 f11: # @f11 .local i32, i32 # BB#0: # %entry - i32.const $0=, -16384 + i32.const $1=, -16384 .LBB10_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label20: - i32.load $push11=, a+16384($0) - tee_local $push10=, $1=, $pop11 - i64.extend_s/i32 $push0=, $pop10 - i64.const $push9=, 1808407283 - i64.mul $push1=, $pop0, $pop9 - i64.const $push8=, 35 - i64.shr_s $push2=, $pop1, $pop8 - i32.wrap/i64 $push3=, $pop2 - i32.const $push7=, 31 - i32.shr_s $push4=, $1, $pop7 - i32.sub $push5=, $pop3, $pop4 - i32.store $drop=, c+16384($0), $pop5 - i32.const $push6=, 4 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label20 + i32.load $push13=, a+16384($1) + tee_local $push12=, $0=, $pop13 + i64.extend_s/i32 $push1=, $pop12 + i64.const $push11=, 1808407283 + i64.mul $push2=, $pop1, $pop11 + i64.const $push10=, 35 + i64.shr_s $push3=, $pop2, $pop10 + i32.wrap/i64 $push4=, $pop3 + i32.const $push9=, 31 + i32.shr_s $push0=, $0, $pop9 + i32.sub $push5=, $pop4, $pop0 + i32.store $drop=, c+16384($1), $pop5 + i32.const $push8=, 4 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 + br_if 0, $pop6 # 0: up to label20 # BB#2: # %for.end end_loop # label21: - return + # fallthrough-return .endfunc .Lfunc_end10: .size f11, .Lfunc_end10-f11 @@ -308,33 +319,35 @@ f11: # @f11 .globl f12 .type f12,@function f12: # @f12 - .local i32, i32, i32 + .local i32, i32 # BB#0: # %entry i32.const $1=, -16384 .LBB11_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label22: - i32.load $0=, b+16384($1) + i32.load $push17=, b+16384($1) + tee_local $push16=, $0=, $pop17 i64.extend_u/i32 $push0=, $0 - i64.const $push13=, 2938661835 - i64.mul $push1=, $pop0, $pop13 - i64.const $push12=, 32 - i64.shr_u $push2=, $pop1, $pop12 - i32.wrap/i64 $push11=, $pop2 - tee_local $push10=, $2=, $pop11 - i32.sub $push3=, $0, $pop10 - i32.const $push9=, 1 - i32.shr_u $push4=, $pop3, $pop9 - i32.add $push5=, $pop4, $2 - i32.const $push8=, 4 - i32.shr_u $push6=, $pop5, $pop8 + i64.const $push15=, 2938661835 + i64.mul $push1=, $pop0, $pop15 + i64.const $push14=, 32 + i64.shr_u $push2=, $pop1, $pop14 + i32.wrap/i64 $push13=, $pop2 + tee_local $push12=, $0=, $pop13 + i32.sub $push3=, $pop16, $pop12 + i32.const $push11=, 1 + i32.shr_u $push4=, $pop3, $pop11 + i32.add $push5=, $pop4, $0 + i32.const $push10=, 4 + i32.shr_u $push6=, $pop5, $pop10 i32.store $drop=, d+16384($1), $pop6 - i32.const $push7=, 4 - i32.add $1=, $1, $pop7 - br_if 0, $1 # 0: up to label22 + i32.const $push9=, 4 + i32.add $push8=, $1, $pop9 + tee_local $push7=, $1=, $pop8 + br_if 0, $pop7 # 0: up to label22 # BB#2: # %for.end end_loop # label23: - return + # fallthrough-return .endfunc .Lfunc_end11: .size f12, .Lfunc_end11-f12 @@ -354,27 +367,29 @@ main: # @main loop # label24: #APP #NO_APP - i32.const $push62=, -2048 - i32.add $push1=, $0, $pop62 - i32.store $drop=, a+16384($1), $pop1 - i32.store $push0=, b+16384($1), $0 - i32.const $push61=, 1 - i32.add $0=, $pop0, $pop61 - i32.const $push60=, 4 - i32.add $1=, $1, $pop60 - br_if 0, $1 # 0: up to label24 + i32.store $push65=, b+16384($1), $0 + tee_local $push64=, $0=, $pop65 + i32.const $push63=, -2048 + i32.add $push0=, $pop64, $pop63 + i32.store $drop=, a+16384($1), $pop0 + i32.const $push62=, 1 + i32.add $0=, $0, $pop62 + i32.const $push61=, 4 + i32.add $push60=, $1, $pop61 + tee_local $push59=, $1=, $pop60 + br_if 0, $pop59 # 0: up to label24 # BB#2: # %for.end end_loop # label25: i32.const $1=, 0 - i32.const $push65=, 0 - i32.const $push3=, 2147483647 - i32.store $drop=, a+16380($pop65), $pop3 - i32.const $push64=, 0 - i32.const $push4=, -1 - i32.store $drop=, b+16380($pop64), $pop4 - i32.const $push63=, 0 + i32.const $push68=, 0 + i32.const $push1=, 2147483647 + i32.store $drop=, a+16380($pop68), $pop1 + i32.const $push67=, 0 i64.const $push2=, -9223372030412324864 - i64.store $drop=, a($pop63), $pop2 + i64.store $drop=, a($pop67), $pop2 + i32.const $push66=, 0 + i32.const $push3=, -1 + i32.store $drop=, b+16380($pop66), $pop3 call f1@FUNCTION call f2@FUNCTION i32.const $0=, 0 @@ -387,29 +402,30 @@ main: # @main block block loop # label32: - i32.load $push5=, c($1) - i32.load $push6=, a($1) - i32.const $push66=, 3 - i32.div_s $push7=, $pop6, $pop66 - i32.ne $push8=, $pop5, $pop7 - br_if 2, $pop8 # 2: down to label31 + i32.load $push6=, c($1) + i32.load $push4=, a($1) + i32.const $push69=, 3 + i32.div_s $push5=, $pop4, $pop69 + i32.ne $push7=, $pop6, $pop5 + br_if 2, $pop7 # 2: down to label31 # BB#4: # %lor.lhs.false # in Loop: Header=BB12_3 Depth=1 - i32.load $push9=, d($1) - i32.load $push10=, b($1) - i32.const $push67=, 3 - i32.div_u $push11=, $pop10, $pop67 - i32.ne $push12=, $pop9, $pop11 - br_if 2, $pop12 # 2: down to label31 + i32.load $push10=, d($1) + i32.load $push8=, b($1) + i32.const $push70=, 3 + i32.div_u $push9=, $pop8, $pop70 + i32.ne $push11=, $pop10, $pop9 + br_if 2, $pop11 # 2: down to label31 # BB#5: # %for.cond2 # in Loop: Header=BB12_3 Depth=1 - i32.const $push70=, 1 - i32.add $0=, $0, $pop70 - i32.const $push69=, 4 - i32.add $1=, $1, $pop69 - i32.const $push68=, 4095 - i32.le_s $push13=, $0, $pop68 - br_if 0, $pop13 # 0: up to label32 + i32.const $push75=, 4 + i32.add $1=, $1, $pop75 + i32.const $push74=, 1 + i32.add $push73=, $0, $pop74 + tee_local $push72=, $0=, $pop73 + i32.const $push71=, 4095 + i32.le_s $push12=, $pop72, $pop71 + br_if 0, $pop12 # 0: up to label32 # BB#6: # %for.end14 end_loop # label33: call f3@FUNCTION @@ -419,29 +435,30 @@ main: # @main .LBB12_7: # %for.body17 # =>This Inner Loop Header: Depth=1 loop # label34: - i32.load $push14=, c($1) - i32.load $push15=, a($1) - i32.const $push71=, 18 - i32.div_s $push16=, $pop15, $pop71 - i32.ne $push17=, $pop14, $pop16 - br_if 3, $pop17 # 3: down to label30 + i32.load $push15=, c($1) + i32.load $push13=, a($1) + i32.const $push76=, 18 + i32.div_s $push14=, $pop13, $pop76 + i32.ne $push16=, $pop15, $pop14 + br_if 3, $pop16 # 3: down to label30 # BB#8: # %lor.lhs.false22 # in Loop: Header=BB12_7 Depth=1 - i32.load $push18=, d($1) - i32.load $push19=, b($1) - i32.const $push72=, 18 - i32.div_u $push20=, $pop19, $pop72 - i32.ne $push21=, $pop18, $pop20 - br_if 3, $pop21 # 3: down to label30 + i32.load $push19=, d($1) + i32.load $push17=, b($1) + i32.const $push77=, 18 + i32.div_u $push18=, $pop17, $pop77 + i32.ne $push20=, $pop19, $pop18 + br_if 3, $pop20 # 3: down to label30 # BB#9: # %for.cond15 # in Loop: Header=BB12_7 Depth=1 - i32.const $push75=, 1 - i32.add $0=, $0, $pop75 - i32.const $push74=, 4 - i32.add $1=, $1, $pop74 - i32.const $push73=, 4095 - i32.le_s $push22=, $0, $pop73 - br_if 0, $pop22 # 0: up to label34 + i32.const $push82=, 4 + i32.add $1=, $1, $pop82 + i32.const $push81=, 1 + i32.add $push80=, $0, $pop81 + tee_local $push79=, $0=, $pop80 + i32.const $push78=, 4095 + i32.le_s $push21=, $pop79, $pop78 + br_if 0, $pop21 # 0: up to label34 # BB#10: # %for.end31 end_loop # label35: call f5@FUNCTION @@ -451,29 +468,30 @@ main: # @main .LBB12_11: # %for.body34 # =>This Inner Loop Header: Depth=1 loop # label36: - i32.load $push23=, c($1) - i32.load $push24=, a($1) - i32.const $push76=, 19 - i32.div_s $push25=, $pop24, $pop76 - i32.ne $push26=, $pop23, $pop25 - br_if 4, $pop26 # 4: down to label29 + i32.load $push24=, c($1) + i32.load $push22=, a($1) + i32.const $push83=, 19 + i32.div_s $push23=, $pop22, $pop83 + i32.ne $push25=, $pop24, $pop23 + br_if 4, $pop25 # 4: down to label29 # BB#12: # %lor.lhs.false39 # in Loop: Header=BB12_11 Depth=1 - i32.load $push27=, d($1) - i32.load $push28=, b($1) - i32.const $push77=, 19 - i32.div_u $push29=, $pop28, $pop77 - i32.ne $push30=, $pop27, $pop29 - br_if 4, $pop30 # 4: down to label29 + i32.load $push28=, d($1) + i32.load $push26=, b($1) + i32.const $push84=, 19 + i32.div_u $push27=, $pop26, $pop84 + i32.ne $push29=, $pop28, $pop27 + br_if 4, $pop29 # 4: down to label29 # BB#13: # %for.cond32 # in Loop: Header=BB12_11 Depth=1 - i32.const $push80=, 1 - i32.add $0=, $0, $pop80 - i32.const $push79=, 4 - i32.add $1=, $1, $pop79 - i32.const $push78=, 4095 - i32.le_s $push31=, $0, $pop78 - br_if 0, $pop31 # 0: up to label36 + i32.const $push89=, 4 + i32.add $1=, $1, $pop89 + i32.const $push88=, 1 + i32.add $push87=, $0, $pop88 + tee_local $push86=, $0=, $pop87 + i32.const $push85=, 4095 + i32.le_s $push30=, $pop86, $pop85 + br_if 0, $pop30 # 0: up to label36 # BB#14: # %for.end48 end_loop # label37: call f7@FUNCTION @@ -483,29 +501,30 @@ main: # @main .LBB12_15: # %for.body51 # =>This Inner Loop Header: Depth=1 loop # label38: - i32.load $push32=, c($1) - i32.load $push33=, a($1) - i32.const $push81=, 3 - i32.div_s $push34=, $pop33, $pop81 - i32.ne $push35=, $pop32, $pop34 - br_if 5, $pop35 # 5: down to label28 + i32.load $push33=, c($1) + i32.load $push31=, a($1) + i32.const $push90=, 3 + i32.div_s $push32=, $pop31, $pop90 + i32.ne $push34=, $pop33, $pop32 + br_if 5, $pop34 # 5: down to label28 # BB#16: # %lor.lhs.false56 # in Loop: Header=BB12_15 Depth=1 - i32.load $push36=, d($1) - i32.load $push37=, b($1) - i32.const $push82=, 3 - i32.div_u $push38=, $pop37, $pop82 - i32.ne $push39=, $pop36, $pop38 - br_if 5, $pop39 # 5: down to label28 + i32.load $push37=, d($1) + i32.load $push35=, b($1) + i32.const $push91=, 3 + i32.div_u $push36=, $pop35, $pop91 + i32.ne $push38=, $pop37, $pop36 + br_if 5, $pop38 # 5: down to label28 # BB#17: # %for.cond49 # in Loop: Header=BB12_15 Depth=1 - i32.const $push85=, 1 - i32.add $0=, $0, $pop85 - i32.const $push84=, 4 - i32.add $1=, $1, $pop84 - i32.const $push83=, 4095 - i32.le_s $push40=, $0, $pop83 - br_if 0, $pop40 # 0: up to label38 + i32.const $push96=, 4 + i32.add $1=, $1, $pop96 + i32.const $push95=, 1 + i32.add $push94=, $0, $pop95 + tee_local $push93=, $0=, $pop94 + i32.const $push92=, 4095 + i32.le_s $push39=, $pop93, $pop92 + br_if 0, $pop39 # 0: up to label38 # BB#18: # %for.end65 end_loop # label39: call f9@FUNCTION @@ -515,29 +534,30 @@ main: # @main .LBB12_19: # %for.body68 # =>This Inner Loop Header: Depth=1 loop # label40: - i32.load $push41=, c($1) - i32.load $push42=, a($1) - i32.const $push86=, 18 - i32.div_s $push43=, $pop42, $pop86 - i32.ne $push44=, $pop41, $pop43 - br_if 6, $pop44 # 6: down to label27 + i32.load $push42=, c($1) + i32.load $push40=, a($1) + i32.const $push97=, 18 + i32.div_s $push41=, $pop40, $pop97 + i32.ne $push43=, $pop42, $pop41 + br_if 6, $pop43 # 6: down to label27 # BB#20: # %lor.lhs.false73 # in Loop: Header=BB12_19 Depth=1 - i32.load $push45=, d($1) - i32.load $push46=, b($1) - i32.const $push87=, 18 - i32.div_u $push47=, $pop46, $pop87 - i32.ne $push48=, $pop45, $pop47 - br_if 6, $pop48 # 6: down to label27 + i32.load $push46=, d($1) + i32.load $push44=, b($1) + i32.const $push98=, 18 + i32.div_u $push45=, $pop44, $pop98 + i32.ne $push47=, $pop46, $pop45 + br_if 6, $pop47 # 6: down to label27 # BB#21: # %for.cond66 # in Loop: Header=BB12_19 Depth=1 - i32.const $push90=, 1 - i32.add $0=, $0, $pop90 - i32.const $push89=, 4 - i32.add $1=, $1, $pop89 - i32.const $push88=, 4095 - i32.le_s $push49=, $0, $pop88 - br_if 0, $pop49 # 0: up to label40 + i32.const $push103=, 4 + i32.add $1=, $1, $pop103 + i32.const $push102=, 1 + i32.add $push101=, $0, $pop102 + tee_local $push100=, $0=, $pop101 + i32.const $push99=, 4095 + i32.le_s $push48=, $pop100, $pop99 + br_if 0, $pop48 # 0: up to label40 # BB#22: # %for.end82 end_loop # label41: call f11@FUNCTION @@ -547,33 +567,34 @@ main: # @main .LBB12_23: # %for.body85 # =>This Inner Loop Header: Depth=1 loop # label42: - i32.load $push50=, c($1) - i32.load $push51=, a($1) - i32.const $push91=, 19 - i32.div_s $push52=, $pop51, $pop91 - i32.ne $push53=, $pop50, $pop52 - br_if 7, $pop53 # 7: down to label26 + i32.load $push51=, c($1) + i32.load $push49=, a($1) + i32.const $push104=, 19 + i32.div_s $push50=, $pop49, $pop104 + i32.ne $push52=, $pop51, $pop50 + br_if 7, $pop52 # 7: down to label26 # BB#24: # %lor.lhs.false90 # in Loop: Header=BB12_23 Depth=1 - i32.load $push54=, d($1) - i32.load $push55=, b($1) - i32.const $push92=, 19 - i32.div_u $push56=, $pop55, $pop92 - i32.ne $push57=, $pop54, $pop56 - br_if 7, $pop57 # 7: down to label26 + i32.load $push55=, d($1) + i32.load $push53=, b($1) + i32.const $push105=, 19 + i32.div_u $push54=, $pop53, $pop105 + i32.ne $push56=, $pop55, $pop54 + br_if 7, $pop56 # 7: down to label26 # BB#25: # %for.cond83 # in Loop: Header=BB12_23 Depth=1 - i32.const $push95=, 1 - i32.add $0=, $0, $pop95 - i32.const $push94=, 4 - i32.add $1=, $1, $pop94 - i32.const $push93=, 4095 - i32.le_s $push58=, $0, $pop93 - br_if 0, $pop58 # 0: up to label42 + i32.const $push110=, 4 + i32.add $1=, $1, $pop110 + i32.const $push109=, 1 + i32.add $push108=, $0, $pop109 + tee_local $push107=, $0=, $pop108 + i32.const $push106=, 4095 + i32.le_s $push57=, $pop107, $pop106 + br_if 0, $pop57 # 0: up to label42 # BB#26: # %for.end99 end_loop # label43: - i32.const $push59=, 0 - return $pop59 + i32.const $push58=, 0 + return $pop58 .LBB12_27: # %if.then end_block # label31: call abort@FUNCTION diff --git a/test/torture-s/pr51581-2.c.s b/test/torture-s/pr51581-2.c.s index 326dd9b7c..595bcf810 100644 --- a/test/torture-s/pr51581-2.c.s +++ b/test/torture-s/pr51581-2.c.s @@ -12,15 +12,16 @@ f1: # @f1 # =>This Inner Loop Header: Depth=1 loop # label0: i32.load $push0=, a+16384($0) - i32.const $push3=, 3 - i32.rem_s $push1=, $pop0, $pop3 + i32.const $push5=, 3 + i32.rem_s $push1=, $pop0, $pop5 i32.store $drop=, c+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label0 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label0 # BB#2: # %for.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -37,15 +38,16 @@ f2: # @f2 # =>This Inner Loop Header: Depth=1 loop # label2: i32.load $push0=, b+16384($0) - i32.const $push3=, 3 - i32.rem_u $push1=, $pop0, $pop3 + i32.const $push5=, 3 + i32.rem_u $push1=, $pop0, $pop5 i32.store $drop=, d+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label2 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label2 # BB#2: # %for.end end_loop # label3: - return + # fallthrough-return .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -62,15 +64,16 @@ f3: # @f3 # =>This Inner Loop Header: Depth=1 loop # label4: i32.load $push0=, a+16384($0) - i32.const $push3=, 18 - i32.rem_s $push1=, $pop0, $pop3 + i32.const $push5=, 18 + i32.rem_s $push1=, $pop0, $pop5 i32.store $drop=, c+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label4 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label4 # BB#2: # %for.end end_loop # label5: - return + # fallthrough-return .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -87,15 +90,16 @@ f4: # @f4 # =>This Inner Loop Header: Depth=1 loop # label6: i32.load $push0=, b+16384($0) - i32.const $push3=, 18 - i32.rem_u $push1=, $pop0, $pop3 + i32.const $push5=, 18 + i32.rem_u $push1=, $pop0, $pop5 i32.store $drop=, d+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label6 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label6 # BB#2: # %for.end end_loop # label7: - return + # fallthrough-return .endfunc .Lfunc_end3: .size f4, .Lfunc_end3-f4 @@ -112,15 +116,16 @@ f5: # @f5 # =>This Inner Loop Header: Depth=1 loop # label8: i32.load $push0=, a+16384($0) - i32.const $push3=, 19 - i32.rem_s $push1=, $pop0, $pop3 + i32.const $push5=, 19 + i32.rem_s $push1=, $pop0, $pop5 i32.store $drop=, c+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label8 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label8 # BB#2: # %for.end end_loop # label9: - return + # fallthrough-return .endfunc .Lfunc_end4: .size f5, .Lfunc_end4-f5 @@ -137,15 +142,16 @@ f6: # @f6 # =>This Inner Loop Header: Depth=1 loop # label10: i32.load $push0=, b+16384($0) - i32.const $push3=, 19 - i32.rem_u $push1=, $pop0, $pop3 + i32.const $push5=, 19 + i32.rem_u $push1=, $pop0, $pop5 i32.store $drop=, d+16384($0), $pop1 - i32.const $push2=, 4 - i32.add $0=, $0, $pop2 - br_if 0, $0 # 0: up to label10 + i32.const $push4=, 4 + i32.add $push3=, $0, $pop4 + tee_local $push2=, $0=, $pop3 + br_if 0, $pop2 # 0: up to label10 # BB#2: # %for.end end_loop # label11: - return + # fallthrough-return .endfunc .Lfunc_end5: .size f6, .Lfunc_end5-f6 @@ -157,31 +163,32 @@ f6: # @f6 f7: # @f7 .local i32, i32 # BB#0: # %entry - i32.const $0=, -16384 + i32.const $1=, -16384 .LBB6_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label12: - i32.load $push14=, a+16384($0) - tee_local $push13=, $1=, $pop14 - i64.extend_s/i32 $push0=, $pop13 - i64.const $push12=, 1431655766 - i64.mul $push1=, $pop0, $pop12 - i64.const $push11=, 32 - i64.shr_u $push2=, $pop1, $pop11 - i32.wrap/i64 $push3=, $pop2 - i32.const $push10=, 31 - i32.shr_s $push4=, $1, $pop10 - i32.sub $push5=, $pop3, $pop4 - i32.const $push9=, -3 - i32.mul $push6=, $pop5, $pop9 - i32.add $push7=, $pop6, $1 - i32.store $drop=, c+16384($0), $pop7 - i32.const $push8=, 4 - i32.add $0=, $0, $pop8 - br_if 0, $0 # 0: up to label12 + i32.load $push16=, a+16384($1) + tee_local $push15=, $0=, $pop16 + i64.extend_s/i32 $push1=, $pop15 + i64.const $push14=, 1431655766 + i64.mul $push2=, $pop1, $pop14 + i64.const $push13=, 32 + i64.shr_u $push3=, $pop2, $pop13 + i32.wrap/i64 $push4=, $pop3 + i32.const $push12=, 31 + i32.shr_s $push0=, $0, $pop12 + i32.sub $push5=, $pop4, $pop0 + i32.const $push11=, -3 + i32.mul $push6=, $pop5, $pop11 + i32.add $push7=, $pop6, $0 + i32.store $drop=, c+16384($1), $pop7 + i32.const $push10=, 4 + i32.add $push9=, $1, $pop10 + tee_local $push8=, $1=, $pop9 + br_if 0, $pop8 # 0: up to label12 # BB#2: # %for.end end_loop # label13: - return + # fallthrough-return .endfunc .Lfunc_end6: .size f7, .Lfunc_end6-f7 @@ -193,28 +200,29 @@ f7: # @f7 f8: # @f8 .local i32, i32 # BB#0: # %entry - i32.const $0=, -16384 + i32.const $1=, -16384 .LBB7_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label14: - i32.load $push11=, b+16384($0) - tee_local $push10=, $1=, $pop11 - i64.extend_u/i32 $push0=, $pop10 - i64.const $push9=, 2863311531 - i64.mul $push1=, $pop0, $pop9 - i64.const $push8=, 33 - i64.shr_u $push2=, $pop1, $pop8 + i32.load $push13=, b+16384($1) + tee_local $push12=, $0=, $pop13 + i64.extend_u/i32 $push0=, $pop12 + i64.const $push11=, 2863311531 + i64.mul $push1=, $pop0, $pop11 + i64.const $push10=, 33 + i64.shr_u $push2=, $pop1, $pop10 i32.wrap/i64 $push3=, $pop2 - i32.const $push7=, -3 - i32.mul $push4=, $pop3, $pop7 - i32.add $push5=, $pop4, $1 - i32.store $drop=, d+16384($0), $pop5 - i32.const $push6=, 4 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label14 + i32.const $push9=, -3 + i32.mul $push4=, $pop3, $pop9 + i32.add $push5=, $pop4, $0 + i32.store $drop=, d+16384($1), $pop5 + i32.const $push8=, 4 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 + br_if 0, $pop6 # 0: up to label14 # BB#2: # %for.end end_loop # label15: - return + # fallthrough-return .endfunc .Lfunc_end7: .size f8, .Lfunc_end7-f8 @@ -226,31 +234,32 @@ f8: # @f8 f9: # @f9 .local i32, i32 # BB#0: # %entry - i32.const $0=, -16384 + i32.const $1=, -16384 .LBB8_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label16: - i32.load $push14=, a+16384($0) - tee_local $push13=, $1=, $pop14 - i64.extend_s/i32 $push0=, $pop13 - i64.const $push12=, 954437177 - i64.mul $push1=, $pop0, $pop12 - i64.const $push11=, 34 - i64.shr_s $push2=, $pop1, $pop11 - i32.wrap/i64 $push3=, $pop2 - i32.const $push10=, 31 - i32.shr_s $push4=, $1, $pop10 - i32.sub $push5=, $pop3, $pop4 - i32.const $push9=, -18 - i32.mul $push6=, $pop5, $pop9 - i32.add $push7=, $pop6, $1 - i32.store $drop=, c+16384($0), $pop7 - i32.const $push8=, 4 - i32.add $0=, $0, $pop8 - br_if 0, $0 # 0: up to label16 + i32.load $push16=, a+16384($1) + tee_local $push15=, $0=, $pop16 + i64.extend_s/i32 $push1=, $pop15 + i64.const $push14=, 954437177 + i64.mul $push2=, $pop1, $pop14 + i64.const $push13=, 34 + i64.shr_s $push3=, $pop2, $pop13 + i32.wrap/i64 $push4=, $pop3 + i32.const $push12=, 31 + i32.shr_s $push0=, $0, $pop12 + i32.sub $push5=, $pop4, $pop0 + i32.const $push11=, -18 + i32.mul $push6=, $pop5, $pop11 + i32.add $push7=, $pop6, $0 + i32.store $drop=, c+16384($1), $pop7 + i32.const $push10=, 4 + i32.add $push9=, $1, $pop10 + tee_local $push8=, $1=, $pop9 + br_if 0, $pop8 # 0: up to label16 # BB#2: # %for.end end_loop # label17: - return + # fallthrough-return .endfunc .Lfunc_end8: .size f9, .Lfunc_end8-f9 @@ -262,28 +271,29 @@ f9: # @f9 f10: # @f10 .local i32, i32 # BB#0: # %entry - i32.const $0=, -16384 + i32.const $1=, -16384 .LBB9_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label18: - i32.load $push11=, b+16384($0) - tee_local $push10=, $1=, $pop11 - i64.extend_u/i32 $push0=, $pop10 - i64.const $push9=, 954437177 - i64.mul $push1=, $pop0, $pop9 - i64.const $push8=, 34 - i64.shr_u $push2=, $pop1, $pop8 + i32.load $push13=, b+16384($1) + tee_local $push12=, $0=, $pop13 + i64.extend_u/i32 $push0=, $pop12 + i64.const $push11=, 954437177 + i64.mul $push1=, $pop0, $pop11 + i64.const $push10=, 34 + i64.shr_u $push2=, $pop1, $pop10 i32.wrap/i64 $push3=, $pop2 - i32.const $push7=, -18 - i32.mul $push4=, $pop3, $pop7 - i32.add $push5=, $pop4, $1 - i32.store $drop=, d+16384($0), $pop5 - i32.const $push6=, 4 - i32.add $0=, $0, $pop6 - br_if 0, $0 # 0: up to label18 + i32.const $push9=, -18 + i32.mul $push4=, $pop3, $pop9 + i32.add $push5=, $pop4, $0 + i32.store $drop=, d+16384($1), $pop5 + i32.const $push8=, 4 + i32.add $push7=, $1, $pop8 + tee_local $push6=, $1=, $pop7 + br_if 0, $pop6 # 0: up to label18 # BB#2: # %for.end end_loop # label19: - return + # fallthrough-return .endfunc .Lfunc_end9: .size f10, .Lfunc_end9-f10 @@ -295,31 +305,32 @@ f10: # @f10 f11: # @f11 .local i32, i32 # BB#0: # %entry - i32.const $0=, -16384 + i32.const $1=, -16384 .LBB10_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label20: - i32.load $push14=, a+16384($0) - tee_local $push13=, $1=, $pop14 - i64.extend_s/i32 $push0=, $pop13 - i64.const $push12=, 1808407283 - i64.mul $push1=, $pop0, $pop12 - i64.const $push11=, 35 - i64.shr_s $push2=, $pop1, $pop11 - i32.wrap/i64 $push3=, $pop2 - i32.const $push10=, 31 - i32.shr_s $push4=, $1, $pop10 - i32.sub $push5=, $pop3, $pop4 - i32.const $push9=, -19 - i32.mul $push6=, $pop5, $pop9 - i32.add $push7=, $pop6, $1 - i32.store $drop=, c+16384($0), $pop7 - i32.const $push8=, 4 - i32.add $0=, $0, $pop8 - br_if 0, $0 # 0: up to label20 + i32.load $push16=, a+16384($1) + tee_local $push15=, $0=, $pop16 + i64.extend_s/i32 $push1=, $pop15 + i64.const $push14=, 1808407283 + i64.mul $push2=, $pop1, $pop14 + i64.const $push13=, 35 + i64.shr_s $push3=, $pop2, $pop13 + i32.wrap/i64 $push4=, $pop3 + i32.const $push12=, 31 + i32.shr_s $push0=, $0, $pop12 + i32.sub $push5=, $pop4, $pop0 + i32.const $push11=, -19 + i32.mul $push6=, $pop5, $pop11 + i32.add $push7=, $pop6, $0 + i32.store $drop=, c+16384($1), $pop7 + i32.const $push10=, 4 + i32.add $push9=, $1, $pop10 + tee_local $push8=, $1=, $pop9 + br_if 0, $pop8 # 0: up to label20 # BB#2: # %for.end end_loop # label21: - return + # fallthrough-return .endfunc .Lfunc_end10: .size f11, .Lfunc_end10-f11 @@ -331,34 +342,36 @@ f11: # @f11 f12: # @f12 .local i32, i32, i32 # BB#0: # %entry - i32.const $1=, -16384 + i32.const $2=, -16384 .LBB11_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label22: - i32.load $0=, b+16384($1) + i32.load $push20=, b+16384($2) + tee_local $push19=, $0=, $pop20 i64.extend_u/i32 $push0=, $0 - i64.const $push16=, 2938661835 - i64.mul $push1=, $pop0, $pop16 - i64.const $push15=, 32 - i64.shr_u $push2=, $pop1, $pop15 - i32.wrap/i64 $push14=, $pop2 - tee_local $push13=, $2=, $pop14 - i32.sub $push3=, $0, $pop13 - i32.const $push12=, 1 - i32.shr_u $push4=, $pop3, $pop12 - i32.add $push5=, $pop4, $2 - i32.const $push11=, 4 - i32.shr_u $push6=, $pop5, $pop11 - i32.const $push10=, -19 - i32.mul $push7=, $pop6, $pop10 + i64.const $push18=, 2938661835 + i64.mul $push1=, $pop0, $pop18 + i64.const $push17=, 32 + i64.shr_u $push2=, $pop1, $pop17 + i32.wrap/i64 $push16=, $pop2 + tee_local $push15=, $1=, $pop16 + i32.sub $push3=, $pop19, $pop15 + i32.const $push14=, 1 + i32.shr_u $push4=, $pop3, $pop14 + i32.add $push5=, $pop4, $1 + i32.const $push13=, 4 + i32.shr_u $push6=, $pop5, $pop13 + i32.const $push12=, -19 + i32.mul $push7=, $pop6, $pop12 i32.add $push8=, $pop7, $0 - i32.store $drop=, d+16384($1), $pop8 - i32.const $push9=, 4 - i32.add $1=, $1, $pop9 - br_if 0, $1 # 0: up to label22 + i32.store $drop=, d+16384($2), $pop8 + i32.const $push11=, 4 + i32.add $push10=, $2, $pop11 + tee_local $push9=, $2=, $pop10 + br_if 0, $pop9 # 0: up to label22 # BB#2: # %for.end end_loop # label23: - return + # fallthrough-return .endfunc .Lfunc_end11: .size f12, .Lfunc_end11-f12 @@ -378,27 +391,29 @@ main: # @main loop # label24: #APP #NO_APP - i32.const $push62=, -2048 - i32.add $push1=, $0, $pop62 - i32.store $drop=, a+16384($1), $pop1 - i32.store $push0=, b+16384($1), $0 - i32.const $push61=, 1 - i32.add $0=, $pop0, $pop61 - i32.const $push60=, 4 - i32.add $1=, $1, $pop60 - br_if 0, $1 # 0: up to label24 + i32.store $push65=, b+16384($1), $0 + tee_local $push64=, $0=, $pop65 + i32.const $push63=, -2048 + i32.add $push0=, $pop64, $pop63 + i32.store $drop=, a+16384($1), $pop0 + i32.const $push62=, 1 + i32.add $0=, $0, $pop62 + i32.const $push61=, 4 + i32.add $push60=, $1, $pop61 + tee_local $push59=, $1=, $pop60 + br_if 0, $pop59 # 0: up to label24 # BB#2: # %for.end end_loop # label25: i32.const $1=, 0 - i32.const $push65=, 0 - i32.const $push3=, 2147483647 - i32.store $drop=, a+16380($pop65), $pop3 - i32.const $push64=, 0 - i32.const $push4=, -1 - i32.store $drop=, b+16380($pop64), $pop4 - i32.const $push63=, 0 + i32.const $push68=, 0 + i32.const $push1=, 2147483647 + i32.store $drop=, a+16380($pop68), $pop1 + i32.const $push67=, 0 i64.const $push2=, -9223372030412324864 - i64.store $drop=, a($pop63), $pop2 + i64.store $drop=, a($pop67), $pop2 + i32.const $push66=, 0 + i32.const $push3=, -1 + i32.store $drop=, b+16380($pop66), $pop3 call f1@FUNCTION call f2@FUNCTION i32.const $0=, 0 @@ -411,29 +426,30 @@ main: # @main block block loop # label32: - i32.load $push5=, c($1) - i32.load $push6=, a($1) - i32.const $push66=, 3 - i32.rem_s $push7=, $pop6, $pop66 - i32.ne $push8=, $pop5, $pop7 - br_if 2, $pop8 # 2: down to label31 + i32.load $push6=, c($1) + i32.load $push4=, a($1) + i32.const $push69=, 3 + i32.rem_s $push5=, $pop4, $pop69 + i32.ne $push7=, $pop6, $pop5 + br_if 2, $pop7 # 2: down to label31 # BB#4: # %lor.lhs.false # in Loop: Header=BB12_3 Depth=1 - i32.load $push9=, d($1) - i32.load $push10=, b($1) - i32.const $push67=, 3 - i32.rem_u $push11=, $pop10, $pop67 - i32.ne $push12=, $pop9, $pop11 - br_if 2, $pop12 # 2: down to label31 + i32.load $push10=, d($1) + i32.load $push8=, b($1) + i32.const $push70=, 3 + i32.rem_u $push9=, $pop8, $pop70 + i32.ne $push11=, $pop10, $pop9 + br_if 2, $pop11 # 2: down to label31 # BB#5: # %for.cond2 # in Loop: Header=BB12_3 Depth=1 - i32.const $push70=, 1 - i32.add $0=, $0, $pop70 - i32.const $push69=, 4 - i32.add $1=, $1, $pop69 - i32.const $push68=, 4095 - i32.le_s $push13=, $0, $pop68 - br_if 0, $pop13 # 0: up to label32 + i32.const $push75=, 4 + i32.add $1=, $1, $pop75 + i32.const $push74=, 1 + i32.add $push73=, $0, $pop74 + tee_local $push72=, $0=, $pop73 + i32.const $push71=, 4095 + i32.le_s $push12=, $pop72, $pop71 + br_if 0, $pop12 # 0: up to label32 # BB#6: # %for.end14 end_loop # label33: call f3@FUNCTION @@ -443,29 +459,30 @@ main: # @main .LBB12_7: # %for.body17 # =>This Inner Loop Header: Depth=1 loop # label34: - i32.load $push14=, c($1) - i32.load $push15=, a($1) - i32.const $push71=, 18 - i32.rem_s $push16=, $pop15, $pop71 - i32.ne $push17=, $pop14, $pop16 - br_if 3, $pop17 # 3: down to label30 + i32.load $push15=, c($1) + i32.load $push13=, a($1) + i32.const $push76=, 18 + i32.rem_s $push14=, $pop13, $pop76 + i32.ne $push16=, $pop15, $pop14 + br_if 3, $pop16 # 3: down to label30 # BB#8: # %lor.lhs.false22 # in Loop: Header=BB12_7 Depth=1 - i32.load $push18=, d($1) - i32.load $push19=, b($1) - i32.const $push72=, 18 - i32.rem_u $push20=, $pop19, $pop72 - i32.ne $push21=, $pop18, $pop20 - br_if 3, $pop21 # 3: down to label30 + i32.load $push19=, d($1) + i32.load $push17=, b($1) + i32.const $push77=, 18 + i32.rem_u $push18=, $pop17, $pop77 + i32.ne $push20=, $pop19, $pop18 + br_if 3, $pop20 # 3: down to label30 # BB#9: # %for.cond15 # in Loop: Header=BB12_7 Depth=1 - i32.const $push75=, 1 - i32.add $0=, $0, $pop75 - i32.const $push74=, 4 - i32.add $1=, $1, $pop74 - i32.const $push73=, 4095 - i32.le_s $push22=, $0, $pop73 - br_if 0, $pop22 # 0: up to label34 + i32.const $push82=, 4 + i32.add $1=, $1, $pop82 + i32.const $push81=, 1 + i32.add $push80=, $0, $pop81 + tee_local $push79=, $0=, $pop80 + i32.const $push78=, 4095 + i32.le_s $push21=, $pop79, $pop78 + br_if 0, $pop21 # 0: up to label34 # BB#10: # %for.end31 end_loop # label35: call f5@FUNCTION @@ -475,29 +492,30 @@ main: # @main .LBB12_11: # %for.body34 # =>This Inner Loop Header: Depth=1 loop # label36: - i32.load $push23=, c($1) - i32.load $push24=, a($1) - i32.const $push76=, 19 - i32.rem_s $push25=, $pop24, $pop76 - i32.ne $push26=, $pop23, $pop25 - br_if 4, $pop26 # 4: down to label29 + i32.load $push24=, c($1) + i32.load $push22=, a($1) + i32.const $push83=, 19 + i32.rem_s $push23=, $pop22, $pop83 + i32.ne $push25=, $pop24, $pop23 + br_if 4, $pop25 # 4: down to label29 # BB#12: # %lor.lhs.false39 # in Loop: Header=BB12_11 Depth=1 - i32.load $push27=, d($1) - i32.load $push28=, b($1) - i32.const $push77=, 19 - i32.rem_u $push29=, $pop28, $pop77 - i32.ne $push30=, $pop27, $pop29 - br_if 4, $pop30 # 4: down to label29 + i32.load $push28=, d($1) + i32.load $push26=, b($1) + i32.const $push84=, 19 + i32.rem_u $push27=, $pop26, $pop84 + i32.ne $push29=, $pop28, $pop27 + br_if 4, $pop29 # 4: down to label29 # BB#13: # %for.cond32 # in Loop: Header=BB12_11 Depth=1 - i32.const $push80=, 1 - i32.add $0=, $0, $pop80 - i32.const $push79=, 4 - i32.add $1=, $1, $pop79 - i32.const $push78=, 4095 - i32.le_s $push31=, $0, $pop78 - br_if 0, $pop31 # 0: up to label36 + i32.const $push89=, 4 + i32.add $1=, $1, $pop89 + i32.const $push88=, 1 + i32.add $push87=, $0, $pop88 + tee_local $push86=, $0=, $pop87 + i32.const $push85=, 4095 + i32.le_s $push30=, $pop86, $pop85 + br_if 0, $pop30 # 0: up to label36 # BB#14: # %for.end48 end_loop # label37: call f7@FUNCTION @@ -507,29 +525,30 @@ main: # @main .LBB12_15: # %for.body51 # =>This Inner Loop Header: Depth=1 loop # label38: - i32.load $push32=, c($1) - i32.load $push33=, a($1) - i32.const $push81=, 3 - i32.rem_s $push34=, $pop33, $pop81 - i32.ne $push35=, $pop32, $pop34 - br_if 5, $pop35 # 5: down to label28 + i32.load $push33=, c($1) + i32.load $push31=, a($1) + i32.const $push90=, 3 + i32.rem_s $push32=, $pop31, $pop90 + i32.ne $push34=, $pop33, $pop32 + br_if 5, $pop34 # 5: down to label28 # BB#16: # %lor.lhs.false56 # in Loop: Header=BB12_15 Depth=1 - i32.load $push36=, d($1) - i32.load $push37=, b($1) - i32.const $push82=, 3 - i32.rem_u $push38=, $pop37, $pop82 - i32.ne $push39=, $pop36, $pop38 - br_if 5, $pop39 # 5: down to label28 + i32.load $push37=, d($1) + i32.load $push35=, b($1) + i32.const $push91=, 3 + i32.rem_u $push36=, $pop35, $pop91 + i32.ne $push38=, $pop37, $pop36 + br_if 5, $pop38 # 5: down to label28 # BB#17: # %for.cond49 # in Loop: Header=BB12_15 Depth=1 - i32.const $push85=, 1 - i32.add $0=, $0, $pop85 - i32.const $push84=, 4 - i32.add $1=, $1, $pop84 - i32.const $push83=, 4095 - i32.le_s $push40=, $0, $pop83 - br_if 0, $pop40 # 0: up to label38 + i32.const $push96=, 4 + i32.add $1=, $1, $pop96 + i32.const $push95=, 1 + i32.add $push94=, $0, $pop95 + tee_local $push93=, $0=, $pop94 + i32.const $push92=, 4095 + i32.le_s $push39=, $pop93, $pop92 + br_if 0, $pop39 # 0: up to label38 # BB#18: # %for.end65 end_loop # label39: call f9@FUNCTION @@ -539,29 +558,30 @@ main: # @main .LBB12_19: # %for.body68 # =>This Inner Loop Header: Depth=1 loop # label40: - i32.load $push41=, c($1) - i32.load $push42=, a($1) - i32.const $push86=, 18 - i32.rem_s $push43=, $pop42, $pop86 - i32.ne $push44=, $pop41, $pop43 - br_if 6, $pop44 # 6: down to label27 + i32.load $push42=, c($1) + i32.load $push40=, a($1) + i32.const $push97=, 18 + i32.rem_s $push41=, $pop40, $pop97 + i32.ne $push43=, $pop42, $pop41 + br_if 6, $pop43 # 6: down to label27 # BB#20: # %lor.lhs.false73 # in Loop: Header=BB12_19 Depth=1 - i32.load $push45=, d($1) - i32.load $push46=, b($1) - i32.const $push87=, 18 - i32.rem_u $push47=, $pop46, $pop87 - i32.ne $push48=, $pop45, $pop47 - br_if 6, $pop48 # 6: down to label27 + i32.load $push46=, d($1) + i32.load $push44=, b($1) + i32.const $push98=, 18 + i32.rem_u $push45=, $pop44, $pop98 + i32.ne $push47=, $pop46, $pop45 + br_if 6, $pop47 # 6: down to label27 # BB#21: # %for.cond66 # in Loop: Header=BB12_19 Depth=1 - i32.const $push90=, 1 - i32.add $0=, $0, $pop90 - i32.const $push89=, 4 - i32.add $1=, $1, $pop89 - i32.const $push88=, 4095 - i32.le_s $push49=, $0, $pop88 - br_if 0, $pop49 # 0: up to label40 + i32.const $push103=, 4 + i32.add $1=, $1, $pop103 + i32.const $push102=, 1 + i32.add $push101=, $0, $pop102 + tee_local $push100=, $0=, $pop101 + i32.const $push99=, 4095 + i32.le_s $push48=, $pop100, $pop99 + br_if 0, $pop48 # 0: up to label40 # BB#22: # %for.end82 end_loop # label41: call f11@FUNCTION @@ -571,33 +591,34 @@ main: # @main .LBB12_23: # %for.body85 # =>This Inner Loop Header: Depth=1 loop # label42: - i32.load $push50=, c($1) - i32.load $push51=, a($1) - i32.const $push91=, 19 - i32.rem_s $push52=, $pop51, $pop91 - i32.ne $push53=, $pop50, $pop52 - br_if 7, $pop53 # 7: down to label26 + i32.load $push51=, c($1) + i32.load $push49=, a($1) + i32.const $push104=, 19 + i32.rem_s $push50=, $pop49, $pop104 + i32.ne $push52=, $pop51, $pop50 + br_if 7, $pop52 # 7: down to label26 # BB#24: # %lor.lhs.false90 # in Loop: Header=BB12_23 Depth=1 - i32.load $push54=, d($1) - i32.load $push55=, b($1) - i32.const $push92=, 19 - i32.rem_u $push56=, $pop55, $pop92 - i32.ne $push57=, $pop54, $pop56 - br_if 7, $pop57 # 7: down to label26 + i32.load $push55=, d($1) + i32.load $push53=, b($1) + i32.const $push105=, 19 + i32.rem_u $push54=, $pop53, $pop105 + i32.ne $push56=, $pop55, $pop54 + br_if 7, $pop56 # 7: down to label26 # BB#25: # %for.cond83 # in Loop: Header=BB12_23 Depth=1 - i32.const $push95=, 1 - i32.add $0=, $0, $pop95 - i32.const $push94=, 4 - i32.add $1=, $1, $pop94 - i32.const $push93=, 4095 - i32.le_s $push58=, $0, $pop93 - br_if 0, $pop58 # 0: up to label42 + i32.const $push110=, 4 + i32.add $1=, $1, $pop110 + i32.const $push109=, 1 + i32.add $push108=, $0, $pop109 + tee_local $push107=, $0=, $pop108 + i32.const $push106=, 4095 + i32.le_s $push57=, $pop107, $pop106 + br_if 0, $pop57 # 0: up to label42 # BB#26: # %for.end99 end_loop # label43: - i32.const $push59=, 0 - return $pop59 + i32.const $push58=, 0 + return $pop58 .LBB12_27: # %if.then end_block # label31: call abort@FUNCTION diff --git a/test/torture-s/pr51877.c.s b/test/torture-s/pr51877.c.s index 87d27efbb..84d29fc73 100644 --- a/test/torture-s/pr51877.c.s +++ b/test/torture-s/pr51877.c.s @@ -6,22 +6,21 @@ .type bar,@function bar: # @bar .param i32, i32 - .local i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $2=, bar.n($pop1) i32.store8 $drop=, 4($0), $1 + i32.const $push1=, 0 + i32.const $push9=, 0 + i32.load $push2=, bar.n($pop9) + i32.const $push3=, 1 + i32.add $push4=, $pop2, $pop3 + i32.store $push0=, 0($0), $pop4 + i32.store $drop=, bar.n($pop1), $pop0 + i32.const $push5=, 5 + i32.add $push6=, $0, $pop5 i32.const $push8=, 0 - i32.const $push2=, 1 - i32.add $push3=, $2, $pop2 - i32.store $push0=, 0($0), $pop3 - i32.store $drop=, bar.n($pop8), $pop0 - i32.const $push4=, 5 - i32.add $push5=, $0, $pop4 - i32.const $push7=, 0 - i32.const $push6=, 31 - i32.call $drop=, memset@FUNCTION, $pop5, $pop7, $pop6 - return + i32.const $push7=, 31 + i32.call $drop=, memset@FUNCTION, $pop6, $pop8, $pop7 + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -34,7 +33,7 @@ baz: # @baz # BB#0: # %entry #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end1: .size baz, .Lfunc_end1-baz @@ -47,12 +46,12 @@ foo: # @foo .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 80 i32.sub $push18=, $pop8, $pop9 - i32.store $2=, 0($pop10), $pop18 + i32.store $2=, __stack_pointer($pop10), $pop18 block block i32.const $push0=, 6 @@ -63,11 +62,11 @@ foo: # @foo i32.add $push15=, $2, $pop14 i32.const $push4=, 7 call bar@FUNCTION, $pop15, $pop4 - i32.const $push5=, a + i32.const $push6=, a i32.const $push16=, 40 i32.add $push17=, $2, $pop16 - i32.const $push6=, 36 - i32.call $drop=, memcpy@FUNCTION, $pop5, $pop17, $pop6 + i32.const $push5=, 36 + i32.call $drop=, memcpy@FUNCTION, $pop6, $pop17, $pop5 br 1 # 1: down to label0 .LBB2_2: # %if.else end_block # label1: @@ -78,11 +77,11 @@ foo: # @foo .LBB2_3: # %if.end end_block # label0: call baz@FUNCTION - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 80 i32.add $push12=, $2, $pop11 - i32.store $drop=, 0($pop13), $pop12 - return + i32.store $drop=, __stack_pointer($pop13), $pop12 + # fallthrough-return .endfunc .Lfunc_end2: .size foo, .Lfunc_end2-foo @@ -95,22 +94,22 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push50=, __stack_pointer - i32.const $push47=, __stack_pointer - i32.load $push48=, 0($pop47) + i32.const $push50=, 0 + i32.const $push47=, 0 + i32.load $push48=, __stack_pointer($pop47) i32.const $push49=, 80 i32.sub $push58=, $pop48, $pop49 - i32.store $push63=, 0($pop50), $pop58 + i32.store $push63=, __stack_pointer($pop50), $pop58 tee_local $push62=, $0=, $pop63 i32.const $push54=, 40 i32.add $push55=, $pop62, $pop54 i32.const $push61=, 3 call bar@FUNCTION, $pop55, $pop61 - i32.const $push0=, a + i32.const $push1=, a i32.const $push56=, 40 i32.add $push57=, $0, $pop56 - i32.const $push1=, 36 - i32.call $drop=, memcpy@FUNCTION, $pop0, $pop57, $pop1 + i32.const $push0=, 36 + i32.call $drop=, memcpy@FUNCTION, $pop1, $pop57, $pop0 i32.const $push2=, 4 call bar@FUNCTION, $0, $pop2 i32.const $push3=, b @@ -172,9 +171,9 @@ main: # @main i32.ne $push29=, $pop27, $pop28 br_if 0, $pop29 # 0: down to label2 # BB#8: # %if.end25 - i32.const $push30=, b - i32.const $push31=, 6 - call foo@FUNCTION, $pop30, $pop31 + i32.const $push31=, b + i32.const $push30=, 6 + call foo@FUNCTION, $pop31, $pop30 i32.const $push75=, 0 i32.load $push32=, a($pop75) i32.const $push33=, 4 @@ -201,10 +200,10 @@ main: # @main i32.ne $push45=, $pop43, $pop44 br_if 0, $pop45 # 0: down to label2 # BB#12: # %if.end40 - i32.const $push53=, __stack_pointer + i32.const $push53=, 0 i32.const $push51=, 80 i32.add $push52=, $0, $pop51 - i32.store $drop=, 0($pop53), $pop52 + i32.store $drop=, __stack_pointer($pop53), $pop52 i32.const $push46=, 0 return $pop46 .LBB3_13: # %if.then39 diff --git a/test/torture-s/pr51933.c.s b/test/torture-s/pr51933.c.s index a0600e6a3..6d04c9794 100644 --- a/test/torture-s/pr51933.c.s +++ b/test/torture-s/pr51933.c.s @@ -8,7 +8,7 @@ foo: # @foo # BB#0: # %entry #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -35,38 +35,40 @@ bar: # @bar i32.lt_s $push2=, $0, $pop11 br_if 0, $pop2 # 0: down to label1 # BB#3: # %for.body.preheader - copy_local $3=, $0 - copy_local $4=, $2 + copy_local $4=, $0 + copy_local $5=, $2 .LBB1_4: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - i32.load16_u $push20=, 0($1) - tee_local $push19=, $5=, $pop20 - i32.const $push18=, v2 - i32.add $push4=, $pop19, $pop18 - i32.const $push17=, 255 - i32.and $push5=, $5, $pop17 - i32.const $push16=, v3 - i32.add $push6=, $pop5, $pop16 - i32.const $push15=, 256 - i32.lt_u $push3=, $5, $pop15 + i32.load16_u $push22=, 0($1) + tee_local $push21=, $3=, $pop22 + i32.const $push20=, v2 + i32.add $push4=, $pop21, $pop20 + i32.const $push19=, 255 + i32.and $push5=, $3, $pop19 + i32.const $push18=, v3 + i32.add $push6=, $pop5, $pop18 + i32.const $push17=, 256 + i32.lt_u $push3=, $3, $pop17 i32.select $push7=, $pop4, $pop6, $pop3 i32.load8_u $push8=, 0($pop7) - i32.store8 $drop=, 0($4), $pop8 - i32.const $push14=, 2 - i32.add $1=, $1, $pop14 - i32.const $push13=, 1 - i32.add $4=, $4, $pop13 - i32.const $push12=, -1 - i32.add $3=, $3, $pop12 - br_if 0, $3 # 0: up to label2 + i32.store8 $drop=, 0($5), $pop8 + i32.const $push16=, 1 + i32.add $5=, $5, $pop16 + i32.const $push15=, 2 + i32.add $1=, $1, $pop15 + i32.const $push14=, -1 + i32.add $push13=, $4, $pop14 + tee_local $push12=, $4=, $pop13 + br_if 0, $pop12 # 0: up to label2 .LBB1_5: # %for.end end_loop # label3: end_block # label1: i32.add $push9=, $2, $0 i32.const $push10=, 0 i32.store8 $drop=, 0($pop9), $pop10 - return $0 + copy_local $push23=, $0 + # fallthrough-return: $pop23 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -79,78 +81,77 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push27=, __stack_pointer - i32.const $push24=, __stack_pointer - i32.load $push25=, 0($pop24) + i32.const $push27=, 0 + i32.const $push24=, 0 + i32.load $push25=, __stack_pointer($pop24) i32.const $push26=, 80 i32.sub $push35=, $pop25, $pop26 - i32.store $0=, 0($pop27), $pop35 - i32.const $1=, 0 + i32.store $1=, __stack_pointer($pop27), $pop35 + i32.const $2=, 0 .LBB2_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label4: - i32.store8 $drop=, v2($1), $1 - i32.const $push39=, 1 - i32.add $push0=, $1, $pop39 - i32.store8 $push38=, v3($1), $pop0 - tee_local $push37=, $2=, $pop38 - copy_local $1=, $pop37 + i32.const $push37=, 1 + i32.add $push0=, $2, $pop37 + i32.store8 $0=, v3($2), $pop0 + i32.store8 $drop=, v2($2), $2 + copy_local $2=, $0 i32.const $push36=, 256 - i32.ne $push1=, $2, $pop36 + i32.ne $push1=, $0, $pop36 br_if 0, $pop1 # 0: up to label4 # BB#2: # %for.body6.preheader end_loop # label5: - i32.const $push3=, 101 - i32.store16 $drop=, 8($0), $pop3 + i32.const $push2=, 101 + i32.store16 $drop=, 8($1), $pop2 + i64.const $push3=, 28147922879250529 + i64.store $drop=, 0($1), $pop3 i32.const $push4=, 104 - i32.store16 $drop=, 14($0), $pop4 + i32.store16 $drop=, 14($1), $pop4 i32.const $push5=, 105 - i32.store16 $drop=, 16($0), $pop5 + i32.store16 $drop=, 16($1), $pop5 i32.const $push6=, 106 - i32.store16 $drop=, 18($0), $pop6 + i32.store16 $drop=, 18($1), $pop6 i32.const $push7=, 107 - i32.store16 $drop=, 20($0), $pop7 + i32.store16 $drop=, 20($1), $pop7 i32.const $push8=, 109 - i32.store16 $drop=, 24($0), $pop8 + i32.store16 $drop=, 24($1), $pop8 i32.const $push9=, 110 - i32.store16 $drop=, 26($0), $pop9 + i32.store16 $drop=, 26($1), $pop9 i32.const $push10=, 111 - i32.store16 $drop=, 28($0), $pop10 + i32.store16 $drop=, 28($1), $pop10 i32.const $push11=, 113 - i32.store16 $drop=, 32($0), $pop11 + i32.store16 $drop=, 32($1), $pop11 i32.const $push12=, 0 - i32.store16 $drop=, 34($0), $pop12 + i32.store16 $drop=, 34($1), $pop12 i32.const $push13=, 1638 - i32.store16 $drop=, 10($0), $pop13 + i32.store16 $drop=, 10($1), $pop13 i32.const $push14=, 1383 - i32.store16 $drop=, 12($0), $pop14 + i32.store16 $drop=, 12($1), $pop14 i32.const $push15=, 8300 - i32.store16 $drop=, 22($0), $pop15 + i32.store16 $drop=, 22($1), $pop15 i32.const $push16=, 1392 - i32.store16 $drop=, 30($0), $pop16 - i64.const $push2=, 28147922879250529 - i64.store $drop=, 0($0), $pop2 + i32.store16 $drop=, 30($1), $pop16 call foo@FUNCTION block i32.const $push17=, 17 i32.const $push31=, 48 - i32.add $push32=, $0, $pop31 - i32.call $push18=, bar@FUNCTION, $pop17, $0, $pop32 - i32.const $push40=, 17 - i32.ne $push19=, $pop18, $pop40 + i32.add $push32=, $1, $pop31 + i32.call $push18=, bar@FUNCTION, $pop17, $1, $pop32 + i32.const $push38=, 17 + i32.ne $push19=, $pop18, $pop38 br_if 0, $pop19 # 0: down to label6 # BB#3: # %lor.lhs.false i32.const $push33=, 48 - i32.add $push34=, $0, $pop33 - i32.const $push20=, .L.str - i32.const $push21=, 18 - i32.call $push22=, memcmp@FUNCTION, $pop34, $pop20, $pop21 + i32.add $push34=, $1, $pop33 + i32.const $push21=, .L.str + i32.const $push20=, 18 + i32.call $push22=, memcmp@FUNCTION, $pop34, $pop21, $pop20 br_if 0, $pop22 # 0: down to label6 # BB#4: # %if.end - i32.const $push30=, __stack_pointer + i32.const $push30=, 0 i32.const $push28=, 80 - i32.add $push29=, $0, $pop28 - i32.store $drop=, 0($pop30), $pop29 + i32.add $push29=, $1, $pop28 + i32.store $drop=, __stack_pointer($pop30), $pop29 i32.const $push23=, 0 return $pop23 .LBB2_5: # %if.then diff --git a/test/torture-s/pr52129.c.s b/test/torture-s/pr52129.c.s index 5a23c8ab9..3a1f94549 100644 --- a/test/torture-s/pr52129.c.s +++ b/test/torture-s/pr52129.c.s @@ -48,28 +48,30 @@ foo: # @foo bar: # @bar .param i32, i32, i32, i32, i32, i32 .result i32 + .local i32 # BB#0: # %entry - i32.add $5=, $5, $4 - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push13=, $pop5, $pop6 - i32.store $push15=, 0($pop7), $pop13 - tee_local $push14=, $4=, $pop15 - i64.load $push2=, 0($3):p2align=2 - i64.store $drop=, 8($pop14):p2align=2, $pop2 + i32.store $push17=, __stack_pointer($pop7), $pop13 + tee_local $push16=, $6=, $pop17 + i64.load $push0=, 0($3):p2align=2 + i64.store $drop=, 8($pop16):p2align=2, $pop0 i32.const $push11=, 8 - i32.add $push12=, $4, $pop11 - i32.const $push0=, 64 - i32.add $push1=, $5, $pop0 - i32.call $drop=, foo@FUNCTION, $0, $pop12, $5, $pop1 - i32.const $push10=, __stack_pointer + i32.add $push12=, $6, $pop11 + i32.add $push15=, $5, $4 + tee_local $push14=, $5=, $pop15 + i32.const $push1=, 64 + i32.add $push2=, $5, $pop1 + i32.call $drop=, foo@FUNCTION, $0, $pop12, $pop14, $pop2 + i32.const $push10=, 0 i32.const $push8=, 16 - i32.add $push9=, $4, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.add $push9=, $6, $pop8 + i32.store $drop=, __stack_pointer($pop10), $pop9 i32.const $push3=, 29 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -82,12 +84,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push14=, $pop6, $pop7 - i32.store $push17=, 0($pop8), $pop14 + i32.store $push17=, __stack_pointer($pop8), $pop14 tee_local $push16=, $0=, $pop17 i32.const $push0=, 0 i64.load $push1=, .Lmain.s($pop0):p2align=2 @@ -98,12 +100,12 @@ main: # @main i32.const $push3=, 17 i32.const $push2=, t i32.call $drop=, bar@FUNCTION, $pop4, $0, $0, $pop13, $pop3, $pop2 - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $0, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 i32.const $push15=, 0 - return $pop15 + # fallthrough-return: $pop15 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr52760.c.s b/test/torture-s/pr52760.c.s index cce554632..057ae9418 100644 --- a/test/torture-s/pr52760.c.s +++ b/test/torture-s/pr52760.c.s @@ -6,7 +6,7 @@ .type foo,@function foo: # @foo .param i32, i32 - .local i32, i32, i32, i32 + .local i32 # BB#0: # %entry block i32.const $push0=, 1 @@ -16,52 +16,73 @@ foo: # @foo .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push32=, 2 - i32.add $2=, $1, $pop32 - i32.const $push31=, 4 - i32.add $push30=, $1, $pop31 - tee_local $push29=, $5=, $pop30 - i32.load16_u $3=, 0($pop29) - i32.load16_u $push28=, 0($2) - tee_local $push27=, $4=, $pop28 - i32.const $push26=, 8 - i32.shr_u $push5=, $pop27, $pop26 + i32.load16_u $push58=, 0($1) + tee_local $push57=, $2=, $pop58 + i32.const $push56=, 24 + i32.shl $push2=, $pop57, $pop56 + i32.const $push55=, 8 + i32.shl $push3=, $2, $pop55 + i32.const $push54=, 16711680 + i32.and $push4=, $pop3, $pop54 + i32.or $push5=, $pop2, $pop4 + i32.const $push53=, 16 + i32.shr_u $push6=, $pop5, $pop53 + i32.store16 $drop=, 0($1), $pop6 + i32.const $push52=, 2 + i32.add $push51=, $1, $pop52 + tee_local $push50=, $2=, $pop51 + i32.load16_u $push49=, 0($2) + tee_local $push48=, $2=, $pop49 + i32.const $push47=, 24 + i32.shl $push7=, $pop48, $pop47 + i32.const $push46=, 8 + i32.shl $push8=, $2, $pop46 + i32.const $push45=, 16711680 + i32.and $push9=, $pop8, $pop45 + i32.or $push10=, $pop7, $pop9 + i32.const $push44=, 16 + i32.shr_u $push11=, $pop10, $pop44 + i32.store16 $drop=, 0($pop50), $pop11 + i32.const $push43=, 4 + i32.add $push42=, $1, $pop43 + tee_local $push41=, $2=, $pop42 + i32.load16_u $push40=, 0($2) + tee_local $push39=, $2=, $pop40 + i32.const $push38=, 24 + i32.shl $push12=, $pop39, $pop38 + i32.const $push37=, 8 + i32.shl $push13=, $2, $pop37 + i32.const $push36=, 16711680 + i32.and $push14=, $pop13, $pop36 + i32.or $push15=, $pop12, $pop14 + i32.const $push35=, 16 + i32.shr_u $push16=, $pop15, $pop35 + i32.store16 $drop=, 0($pop41), $pop16 + i32.const $push34=, 6 + i32.add $push33=, $1, $pop34 + tee_local $push32=, $2=, $pop33 + i32.load16_u $push31=, 0($2) + tee_local $push30=, $2=, $pop31 + i32.const $push29=, 24 + i32.shl $push17=, $pop30, $pop29 + i32.const $push28=, 8 + i32.shl $push18=, $2, $pop28 + i32.const $push27=, 16711680 + i32.and $push19=, $pop18, $pop27 + i32.or $push20=, $pop17, $pop19 + i32.const $push26=, 16 + i32.shr_u $push21=, $pop20, $pop26 + i32.store16 $drop=, 0($pop32), $pop21 i32.const $push25=, 8 - i32.shl $push6=, $4, $pop25 - i32.or $push7=, $pop5, $pop6 - i32.store16 $drop=, 0($2), $pop7 - i32.const $push24=, 6 - i32.add $push23=, $1, $pop24 - tee_local $push22=, $4=, $pop23 - i32.load16_u $2=, 0($pop22) - i32.const $push21=, 8 - i32.shr_u $push8=, $3, $pop21 - i32.const $push20=, 8 - i32.shl $push9=, $3, $pop20 - i32.or $push10=, $pop8, $pop9 - i32.store16 $drop=, 0($5), $pop10 - i32.load16_u $3=, 0($1) - i32.const $push19=, 8 - i32.shr_u $push11=, $2, $pop19 - i32.const $push18=, 8 - i32.shl $push12=, $2, $pop18 - i32.or $push13=, $pop11, $pop12 - i32.store16 $drop=, 0($4), $pop13 - i32.const $push17=, 8 - i32.shr_u $push2=, $3, $pop17 - i32.const $push16=, 8 - i32.shl $push3=, $3, $pop16 - i32.or $push4=, $pop2, $pop3 - i32.store16 $drop=, 0($1), $pop4 - i32.const $push15=, -1 - i32.add $0=, $0, $pop15 - i32.const $push14=, 8 - i32.add $1=, $1, $pop14 - br_if 0, $0 # 0: up to label1 + i32.add $1=, $1, $pop25 + i32.const $push24=, -1 + i32.add $push23=, $0, $pop24 + tee_local $push22=, $0=, $pop23 + br_if 0, $pop22 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -74,12 +95,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push15=, $pop7, $pop8 - i32.store $push17=, 0($pop9), $pop15 + i32.store $push17=, __stack_pointer($pop9), $pop15 tee_local $push16=, $0=, $pop17 i64.const $push0=, 434320308619640833 i64.store $drop=, 8($pop16), $pop0 @@ -88,15 +109,15 @@ main: # @main i32.add $push14=, $0, $pop13 call foo@FUNCTION, $pop1, $pop14 block - i64.load $push2=, 8($0) - i64.const $push3=, 506097522914230528 - i64.ne $push4=, $pop2, $pop3 + i64.load $push3=, 8($0) + i64.const $push2=, 506097522914230528 + i64.ne $push4=, $pop3, $pop2 br_if 0, $pop4 # 0: down to label3 # BB#1: # %if.end - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $0, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 i32.const $push5=, 0 return $pop5 .LBB1_2: # %if.then diff --git a/test/torture-s/pr52979-1.c.s b/test/torture-s/pr52979-1.c.s index b53705a6c..0166d7a24 100644 --- a/test/torture-s/pr52979-1.c.s +++ b/test/torture-s/pr52979-1.c.s @@ -6,7 +6,7 @@ .type foo,@function foo: # @foo # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -16,48 +16,48 @@ foo: # @foo .globl bar .type bar,@function bar: # @bar - .local i32, i32, i64, i64 + .local i32, i64, i64 # BB#0: # %entry i32.const $push0=, 0 - i32.const $push26=, 0 - i64.load32_u $push4=, a($pop26) - i32.const $push25=, 0 - i64.load8_u $push1=, a+4($pop25) + i32.const $push28=, 0 + i64.load32_u $push4=, a($pop28) + i32.const $push27=, 0 + i64.load8_u $push1=, a+4($pop27) i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 - i64.or $push24=, $pop4, $pop3 - tee_local $push23=, $3=, $pop24 + i64.or $push26=, $pop4, $pop3 + tee_local $push25=, $1=, $pop26 i64.const $push5=, 964220157951 - i64.and $push22=, $pop23, $pop5 - tee_local $push21=, $2=, $pop22 - i64.const $push20=, 32 - i64.shr_u $push8=, $pop21, $pop20 - i64.store8 $drop=, a+4($pop0), $pop8 - i32.const $push19=, 0 - i64.const $push6=, 2147483648 - i64.or $push7=, $2, $pop6 - i64.store32 $drop=, a($pop19), $pop7 - i32.const $push18=, 0 - i32.load $0=, d($pop18) - i32.const $push17=, 0 - i32.const $push16=, 0 - i32.store8 $push15=, b+4($pop17), $pop16 - tee_local $push14=, $1=, $pop15 - i32.store $push13=, b($pop14):p2align=0, $1 - tee_local $push12=, $1=, $pop13 - i32.store $drop=, e($pop12), $1 + i64.and $push24=, $pop25, $pop5 + tee_local $push23=, $2=, $pop24 + i64.const $push22=, 32 + i64.shr_u $push6=, $pop23, $pop22 + i64.store8 $drop=, a+4($pop0), $pop6 + i32.const $push21=, 0 + i64.const $push7=, 2147483648 + i64.or $push8=, $2, $pop7 + i64.store32 $drop=, a($pop21), $pop8 block - i32.eqz $push28=, $0 - br_if 0, $pop28 # 0: down to label0 + i32.const $push20=, 0 + i32.const $push19=, 0 + i32.store8 $push18=, b+4($pop20), $pop19 + tee_local $push17=, $0=, $pop18 + i32.store $push16=, b($pop17):p2align=0, $0 + tee_local $push15=, $0=, $pop16 + i32.store $push14=, e($pop15), $0 + tee_local $push13=, $0=, $pop14 + i32.load $push9=, d($pop13) + i32.eqz $push30=, $pop9 + br_if 0, $pop30 # 0: down to label0 # BB#1: # %if.then - i64.const $push9=, 33 - i64.shl $push10=, $3, $pop9 - i64.const $push27=, 33 - i64.shr_s $push11=, $pop10, $pop27 - i64.store32 $drop=, c($1), $pop11 + i64.const $push10=, 33 + i64.shl $push11=, $1, $pop10 + i64.const $push29=, 33 + i64.shr_s $push12=, $pop11, $pop29 + i64.store32 $drop=, c($0), $pop12 .LBB1_2: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -67,52 +67,52 @@ bar: # @bar .globl baz .type baz,@function baz: # @baz - .local i32, i32, i64, i64 + .local i32, i64, i64 # BB#0: # %entry i32.const $push0=, 0 - i32.const $push27=, 0 - i64.load32_u $push4=, a($pop27) - i32.const $push26=, 0 - i64.load8_u $push1=, a+4($pop26) + i32.const $push30=, 0 + i64.load32_u $push4=, a($pop30) + i32.const $push29=, 0 + i64.load8_u $push1=, a+4($pop29) i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 - i64.or $push25=, $pop4, $pop3 - tee_local $push24=, $3=, $pop25 + i64.or $push28=, $pop4, $pop3 + tee_local $push27=, $1=, $pop28 i64.const $push5=, 964220157951 - i64.and $push23=, $pop24, $pop5 - tee_local $push22=, $2=, $pop23 - i64.const $push21=, 32 - i64.shr_u $push8=, $pop22, $pop21 - i64.store8 $drop=, a+4($pop0), $pop8 - i32.const $push20=, 0 - i64.const $push6=, 2147483648 - i64.or $push7=, $2, $pop6 - i64.store32 $drop=, a($pop20), $pop7 - i32.const $push19=, 0 - i32.load $1=, d($pop19) - i32.const $push18=, 0 - i32.const $push17=, 0 - i32.store8 $push16=, b+4($pop18), $pop17 - tee_local $push15=, $0=, $pop16 - i32.store $push14=, b($pop15):p2align=0, $0 - tee_local $push13=, $0=, $pop14 - i32.store $drop=, e($pop13), $0 + i64.and $push26=, $pop27, $pop5 + tee_local $push25=, $2=, $pop26 + i64.const $push24=, 32 + i64.shr_u $push6=, $pop25, $pop24 + i64.store8 $drop=, a+4($pop0), $pop6 + i32.const $push23=, 0 + i64.const $push7=, 2147483648 + i64.or $push8=, $2, $pop7 + i64.store32 $drop=, a($pop23), $pop8 block - i32.eqz $push29=, $1 - br_if 0, $pop29 # 0: down to label1 + i32.const $push22=, 0 + i32.const $push21=, 0 + i32.store8 $push20=, b+4($pop22), $pop21 + tee_local $push19=, $0=, $pop20 + i32.store $push18=, b($pop19):p2align=0, $0 + tee_local $push17=, $0=, $pop18 + i32.store $push16=, e($pop17), $0 + tee_local $push15=, $0=, $pop16 + i32.load $push9=, d($pop15) + i32.eqz $push32=, $pop9 + br_if 0, $pop32 # 0: down to label1 # BB#1: # %if.then.i - i64.const $push9=, 33 - i64.shl $push10=, $3, $pop9 - i64.const $push28=, 33 - i64.shr_s $push11=, $pop10, $pop28 - i64.store32 $drop=, c($0), $pop11 + i64.const $push10=, 33 + i64.shl $push11=, $1, $pop10 + i64.const $push31=, 33 + i64.shr_s $push12=, $pop11, $pop31 + i64.store32 $drop=, c($0), $pop12 .LBB2_2: # %bar.exit end_block # label1: - i32.load $1=, b($0):p2align=0 - i32.load8_u $push12=, b+4($0) - i32.store8 $drop=, a+4($0), $pop12 - i32.store $drop=, a($0), $1 - return + i32.load8_u $push13=, b+4($0) + i32.store8 $drop=, a+4($0), $pop13 + i32.load $push14=, b($0):p2align=0 + i32.store $drop=, a($0), $pop14 + # fallthrough-return .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz @@ -123,62 +123,62 @@ baz: # @baz .type main,@function main: # @main .result i32 - .local i32, i32, i64, i64 + .local i32, i64, i64 # BB#0: # %entry i32.const $push0=, 0 - i32.const $push33=, 0 - i64.load32_u $push4=, a($pop33) - i32.const $push32=, 0 - i64.load8_u $push1=, a+4($pop32) + i32.const $push36=, 0 + i64.load32_u $push4=, a($pop36) + i32.const $push35=, 0 + i64.load8_u $push1=, a+4($pop35) i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 - i64.or $push31=, $pop4, $pop3 - tee_local $push30=, $3=, $pop31 + i64.or $push34=, $pop4, $pop3 + tee_local $push33=, $1=, $pop34 i64.const $push5=, 964220157951 - i64.and $push29=, $pop30, $pop5 - tee_local $push28=, $2=, $pop29 - i64.const $push27=, 32 - i64.shr_u $push8=, $pop28, $pop27 - i64.store8 $drop=, a+4($pop0), $pop8 - i32.const $push26=, 0 - i64.const $push6=, 2147483648 - i64.or $push7=, $2, $pop6 - i64.store32 $drop=, a($pop26), $pop7 - i32.const $push25=, 0 - i32.load $1=, d($pop25) - i32.const $push24=, 0 - i32.const $push23=, 0 - i32.store8 $push22=, b+4($pop24), $pop23 - tee_local $push21=, $0=, $pop22 - i32.store $push20=, b($pop21):p2align=0, $0 - tee_local $push19=, $0=, $pop20 - i32.store $drop=, e($pop19), $0 + i64.and $push32=, $pop33, $pop5 + tee_local $push31=, $2=, $pop32 + i64.const $push30=, 32 + i64.shr_u $push6=, $pop31, $pop30 + i64.store8 $drop=, a+4($pop0), $pop6 + i32.const $push29=, 0 + i64.const $push7=, 2147483648 + i64.or $push8=, $2, $pop7 + i64.store32 $drop=, a($pop29), $pop8 block - i32.eqz $push36=, $1 - br_if 0, $pop36 # 0: down to label2 + i32.const $push28=, 0 + i32.const $push27=, 0 + i32.store8 $push26=, b+4($pop28), $pop27 + tee_local $push25=, $0=, $pop26 + i32.store $push24=, b($pop25):p2align=0, $0 + tee_local $push23=, $0=, $pop24 + i32.store $push22=, e($pop23), $0 + tee_local $push21=, $0=, $pop22 + i32.load $push9=, d($pop21) + i32.eqz $push39=, $pop9 + br_if 0, $pop39 # 0: down to label2 # BB#1: # %if.then.i.i - i64.const $push9=, 33 - i64.shl $push10=, $3, $pop9 - i64.const $push34=, 33 - i64.shr_s $push11=, $pop10, $pop34 - i64.store32 $drop=, c($0), $pop11 + i64.const $push10=, 33 + i64.shl $push11=, $1, $pop10 + i64.const $push37=, 33 + i64.shr_s $push12=, $pop11, $pop37 + i64.store32 $drop=, c($0), $pop12 .LBB3_2: # %baz.exit end_block # label2: - i32.load $1=, b($0):p2align=0 - i32.load8_u $push12=, b+4($0) - i32.store8 $drop=, a+4($0), $pop12 - i32.store $drop=, a($0), $1 + i32.load8_u $push13=, b+4($0) + i32.store8 $drop=, a+4($0), $pop13 + i32.load $push14=, b($0):p2align=0 + i32.store $drop=, a($0), $pop14 block - i64.load32_u $push13=, a($0) - i64.const $push14=, 33 - i64.shl $push15=, $pop13, $pop14 - i64.const $push35=, 33 - i64.shr_s $push16=, $pop15, $pop35 - i32.wrap/i64 $push17=, $pop16 - br_if 0, $pop17 # 0: down to label3 + i64.load32_u $push15=, a($0) + i64.const $push16=, 33 + i64.shl $push17=, $pop15, $pop16 + i64.const $push38=, 33 + i64.shr_s $push18=, $pop17, $pop38 + i32.wrap/i64 $push19=, $pop18 + br_if 0, $pop19 # 0: down to label3 # BB#3: # %if.end - i32.const $push18=, 0 - return $pop18 + i32.const $push20=, 0 + return $pop20 .LBB3_4: # %if.then end_block # label3: call abort@FUNCTION diff --git a/test/torture-s/pr52979-2.c.s b/test/torture-s/pr52979-2.c.s index 89a1ba039..224ce1303 100644 --- a/test/torture-s/pr52979-2.c.s +++ b/test/torture-s/pr52979-2.c.s @@ -6,7 +6,7 @@ .type foo,@function foo: # @foo # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -16,48 +16,48 @@ foo: # @foo .globl bar .type bar,@function bar: # @bar - .local i32, i32, i64, i64 + .local i32, i64, i64 # BB#0: # %entry i32.const $push0=, 0 - i32.const $push26=, 0 - i64.load32_u $push4=, a($pop26) - i32.const $push25=, 0 - i64.load8_u $push1=, a+4($pop25) + i32.const $push28=, 0 + i64.load32_u $push4=, a($pop28) + i32.const $push27=, 0 + i64.load8_u $push1=, a+4($pop27) i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 - i64.or $push24=, $pop4, $pop3 - tee_local $push23=, $3=, $pop24 + i64.or $push26=, $pop4, $pop3 + tee_local $push25=, $1=, $pop26 i64.const $push5=, 964220157951 - i64.and $push22=, $pop23, $pop5 - tee_local $push21=, $2=, $pop22 - i64.const $push20=, 32 - i64.shr_u $push8=, $pop21, $pop20 - i64.store8 $drop=, a+4($pop0), $pop8 - i32.const $push19=, 0 - i64.const $push6=, 2147483648 - i64.or $push7=, $2, $pop6 - i64.store32 $drop=, a($pop19), $pop7 - i32.const $push18=, 0 - i32.load $0=, d($pop18) - i32.const $push17=, 0 - i32.const $push16=, 0 - i32.store8 $push15=, b+4($pop17), $pop16 - tee_local $push14=, $1=, $pop15 - i32.store $push13=, b($pop14):p2align=0, $1 - tee_local $push12=, $1=, $pop13 - i32.store $drop=, e($pop12), $1 + i64.and $push24=, $pop25, $pop5 + tee_local $push23=, $2=, $pop24 + i64.const $push22=, 32 + i64.shr_u $push6=, $pop23, $pop22 + i64.store8 $drop=, a+4($pop0), $pop6 + i32.const $push21=, 0 + i64.const $push7=, 2147483648 + i64.or $push8=, $2, $pop7 + i64.store32 $drop=, a($pop21), $pop8 block - i32.eqz $push28=, $0 - br_if 0, $pop28 # 0: down to label0 + i32.const $push20=, 0 + i32.const $push19=, 0 + i32.store8 $push18=, b+4($pop20), $pop19 + tee_local $push17=, $0=, $pop18 + i32.store $push16=, b($pop17):p2align=0, $0 + tee_local $push15=, $0=, $pop16 + i32.store $push14=, e($pop15), $0 + tee_local $push13=, $0=, $pop14 + i32.load $push9=, d($pop13) + i32.eqz $push30=, $pop9 + br_if 0, $pop30 # 0: down to label0 # BB#1: # %if.then - i64.const $push9=, 33 - i64.shl $push10=, $3, $pop9 - i64.const $push27=, 33 - i64.shr_s $push11=, $pop10, $pop27 - i64.store32 $drop=, c($1), $pop11 + i64.const $push10=, 33 + i64.shl $push11=, $1, $pop10 + i64.const $push29=, 33 + i64.shr_s $push12=, $pop11, $pop29 + i64.store32 $drop=, c($0), $pop12 .LBB1_2: # %if.end end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -67,52 +67,52 @@ bar: # @bar .globl baz .type baz,@function baz: # @baz - .local i32, i32, i64, i64 + .local i32, i64, i64 # BB#0: # %entry i32.const $push0=, 0 - i32.const $push27=, 0 - i64.load32_u $push4=, a($pop27) - i32.const $push26=, 0 - i64.load8_u $push1=, a+4($pop26) + i32.const $push30=, 0 + i64.load32_u $push4=, a($pop30) + i32.const $push29=, 0 + i64.load8_u $push1=, a+4($pop29) i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 - i64.or $push25=, $pop4, $pop3 - tee_local $push24=, $3=, $pop25 + i64.or $push28=, $pop4, $pop3 + tee_local $push27=, $1=, $pop28 i64.const $push5=, 964220157951 - i64.and $push23=, $pop24, $pop5 - tee_local $push22=, $2=, $pop23 - i64.const $push21=, 32 - i64.shr_u $push8=, $pop22, $pop21 - i64.store8 $drop=, a+4($pop0), $pop8 - i32.const $push20=, 0 - i64.const $push6=, 2147483648 - i64.or $push7=, $2, $pop6 - i64.store32 $drop=, a($pop20), $pop7 - i32.const $push19=, 0 - i32.load $1=, d($pop19) - i32.const $push18=, 0 - i32.const $push17=, 0 - i32.store8 $push16=, b+4($pop18), $pop17 - tee_local $push15=, $0=, $pop16 - i32.store $push14=, b($pop15):p2align=0, $0 - tee_local $push13=, $0=, $pop14 - i32.store $drop=, e($pop13), $0 + i64.and $push26=, $pop27, $pop5 + tee_local $push25=, $2=, $pop26 + i64.const $push24=, 32 + i64.shr_u $push6=, $pop25, $pop24 + i64.store8 $drop=, a+4($pop0), $pop6 + i32.const $push23=, 0 + i64.const $push7=, 2147483648 + i64.or $push8=, $2, $pop7 + i64.store32 $drop=, a($pop23), $pop8 block - i32.eqz $push29=, $1 - br_if 0, $pop29 # 0: down to label1 + i32.const $push22=, 0 + i32.const $push21=, 0 + i32.store8 $push20=, b+4($pop22), $pop21 + tee_local $push19=, $0=, $pop20 + i32.store $push18=, b($pop19):p2align=0, $0 + tee_local $push17=, $0=, $pop18 + i32.store $push16=, e($pop17), $0 + tee_local $push15=, $0=, $pop16 + i32.load $push9=, d($pop15) + i32.eqz $push32=, $pop9 + br_if 0, $pop32 # 0: down to label1 # BB#1: # %if.then.i - i64.const $push9=, 33 - i64.shl $push10=, $3, $pop9 - i64.const $push28=, 33 - i64.shr_s $push11=, $pop10, $pop28 - i64.store32 $drop=, c($0), $pop11 + i64.const $push10=, 33 + i64.shl $push11=, $1, $pop10 + i64.const $push31=, 33 + i64.shr_s $push12=, $pop11, $pop31 + i64.store32 $drop=, c($0), $pop12 .LBB2_2: # %bar.exit end_block # label1: - i32.load $1=, b($0):p2align=0 - i32.load8_u $push12=, b+4($0) - i32.store8 $drop=, a+4($0), $pop12 - i32.store $drop=, a($0), $1 - return + i32.load8_u $push13=, b+4($0) + i32.store8 $drop=, a+4($0), $pop13 + i32.load $push14=, b($0):p2align=0 + i32.store $drop=, a($0), $pop14 + # fallthrough-return .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz @@ -123,62 +123,62 @@ baz: # @baz .type main,@function main: # @main .result i32 - .local i32, i32, i64, i64 + .local i32, i64, i64 # BB#0: # %entry i32.const $push0=, 0 - i32.const $push33=, 0 - i64.load32_u $push4=, a($pop33) - i32.const $push32=, 0 - i64.load8_u $push1=, a+4($pop32) + i32.const $push36=, 0 + i64.load32_u $push4=, a($pop36) + i32.const $push35=, 0 + i64.load8_u $push1=, a+4($pop35) i64.const $push2=, 32 i64.shl $push3=, $pop1, $pop2 - i64.or $push31=, $pop4, $pop3 - tee_local $push30=, $3=, $pop31 + i64.or $push34=, $pop4, $pop3 + tee_local $push33=, $1=, $pop34 i64.const $push5=, 964220157951 - i64.and $push29=, $pop30, $pop5 - tee_local $push28=, $2=, $pop29 - i64.const $push27=, 32 - i64.shr_u $push8=, $pop28, $pop27 - i64.store8 $drop=, a+4($pop0), $pop8 - i32.const $push26=, 0 - i64.const $push6=, 2147483648 - i64.or $push7=, $2, $pop6 - i64.store32 $drop=, a($pop26), $pop7 - i32.const $push25=, 0 - i32.load $1=, d($pop25) - i32.const $push24=, 0 - i32.const $push23=, 0 - i32.store8 $push22=, b+4($pop24), $pop23 - tee_local $push21=, $0=, $pop22 - i32.store $push20=, b($pop21):p2align=0, $0 - tee_local $push19=, $0=, $pop20 - i32.store $drop=, e($pop19), $0 + i64.and $push32=, $pop33, $pop5 + tee_local $push31=, $2=, $pop32 + i64.const $push30=, 32 + i64.shr_u $push6=, $pop31, $pop30 + i64.store8 $drop=, a+4($pop0), $pop6 + i32.const $push29=, 0 + i64.const $push7=, 2147483648 + i64.or $push8=, $2, $pop7 + i64.store32 $drop=, a($pop29), $pop8 block - i32.eqz $push36=, $1 - br_if 0, $pop36 # 0: down to label2 + i32.const $push28=, 0 + i32.const $push27=, 0 + i32.store8 $push26=, b+4($pop28), $pop27 + tee_local $push25=, $0=, $pop26 + i32.store $push24=, b($pop25):p2align=0, $0 + tee_local $push23=, $0=, $pop24 + i32.store $push22=, e($pop23), $0 + tee_local $push21=, $0=, $pop22 + i32.load $push9=, d($pop21) + i32.eqz $push39=, $pop9 + br_if 0, $pop39 # 0: down to label2 # BB#1: # %if.then.i.i - i64.const $push9=, 33 - i64.shl $push10=, $3, $pop9 - i64.const $push34=, 33 - i64.shr_s $push11=, $pop10, $pop34 - i64.store32 $drop=, c($0), $pop11 + i64.const $push10=, 33 + i64.shl $push11=, $1, $pop10 + i64.const $push37=, 33 + i64.shr_s $push12=, $pop11, $pop37 + i64.store32 $drop=, c($0), $pop12 .LBB3_2: # %baz.exit end_block # label2: - i32.load $1=, b($0):p2align=0 - i32.load8_u $push12=, b+4($0) - i32.store8 $drop=, a+4($0), $pop12 - i32.store $drop=, a($0), $1 + i32.load8_u $push13=, b+4($0) + i32.store8 $drop=, a+4($0), $pop13 + i32.load $push14=, b($0):p2align=0 + i32.store $drop=, a($0), $pop14 block - i64.load32_u $push13=, a($0) - i64.const $push14=, 33 - i64.shl $push15=, $pop13, $pop14 - i64.const $push35=, 33 - i64.shr_s $push16=, $pop15, $pop35 - i32.wrap/i64 $push17=, $pop16 - br_if 0, $pop17 # 0: down to label3 + i64.load32_u $push15=, a($0) + i64.const $push16=, 33 + i64.shl $push17=, $pop15, $pop16 + i64.const $push38=, 33 + i64.shr_s $push18=, $pop17, $pop38 + i32.wrap/i64 $push19=, $pop18 + br_if 0, $pop19 # 0: down to label3 # BB#3: # %if.end - i32.const $push18=, 0 - return $pop18 + i32.const $push20=, 0 + return $pop20 .LBB3_4: # %if.then end_block # label3: call abort@FUNCTION diff --git a/test/torture-s/pr53084.c.s b/test/torture-s/pr53084.c.s index 6029735be..88c0aed02 100644 --- a/test/torture-s/pr53084.c.s +++ b/test/torture-s/pr53084.c.s @@ -40,7 +40,7 @@ main: # @main i32.const $push0=, .L.str+1 call bar@FUNCTION, $pop0 i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr53160.c.s b/test/torture-s/pr53160.c.s index 3579b53c1..34c6cdced 100644 --- a/test/torture-s/pr53160.c.s +++ b/test/torture-s/pr53160.c.s @@ -9,7 +9,7 @@ foo: # @foo i32.const $push0=, 0 i32.const $push1=, 0 i32.store $drop=, e($pop0), $pop1 - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -20,35 +20,41 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32 # BB#0: # %entry block - i32.const $push7=, 0 - i32.load $push3=, g($pop7) - i32.eqz $push13=, $pop3 - br_if 0, $pop13 # 0: down to label0 -# BB#1: # %if.then i32.const $push8=, 0 - i32.load $drop=, b($pop8) + i32.load $push2=, g($pop8) + i32.eqz $push19=, $pop2 + br_if 0, $pop19 # 0: down to label0 +# BB#1: # %if.then + i32.const $push9=, 0 + i32.load $drop=, b($pop9) .LBB1_2: # %if.end end_block # label0: + i32.const $push18=, 0 + i32.const $push3=, -1 + i32.store $drop=, d($pop18), $pop3 + i32.const $push17=, 0 + i32.const $push16=, 0 + i32.const $push15=, 0 + i32.const $push14=, 0 + i32.load8_s $push4=, f($pop14) + i32.store16 $push0=, i($pop15), $pop4 + i32.const $push13=, 0 i32.const $push12=, 0 + i32.load $push5=, c($pop12) + i32.select $push6=, $pop0, $pop13, $pop5 + i32.store $push1=, h($pop16), $pop6 + i32.store $0=, a($pop17), $pop1 i32.const $push11=, 0 - i32.store $push10=, e($pop12), $pop11 - tee_local $push9=, $2=, $pop10 - i32.load8_s $0=, f($pop9) - i32.load $1=, c($2) - i32.const $push4=, -1 - i32.store $drop=, d($2), $pop4 + i32.const $push10=, 0 + i32.store $drop=, e($pop11), $pop10 block - i32.store16 $push0=, i($2), $0 - i32.select $push5=, $pop0, $2, $1 - i32.store $push1=, h($2), $pop5 - i32.store $push2=, a($2), $pop1 - br_if 0, $pop2 # 0: down to label1 + br_if 0, $0 # 0: down to label1 # BB#3: # %if.end16 - i32.const $push6=, 0 - return $pop6 + i32.const $push7=, 0 + return $pop7 .LBB1_4: # %if.then15 end_block # label1: call abort@FUNCTION diff --git a/test/torture-s/pr53465.c.s b/test/torture-s/pr53465.c.s index fd3bf7575..6e08779cb 100644 --- a/test/torture-s/pr53465.c.s +++ b/test/torture-s/pr53465.c.s @@ -15,34 +15,35 @@ foo: # @foo br_if 0, $pop0 # 0: down to label1 # BB#1: # %for.body.preheader i32.const $3=, 0 - # implicit-def: %vreg32 - i32.const $4=, 0 + # implicit-def: %vreg29 + i32.const $5=, 0 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label2: - copy_local $2=, $5 + copy_local $2=, $4 i32.load $push5=, 0($0) - tee_local $push4=, $5=, $pop5 - i32.eqz $push8=, $pop4 - br_if 1, $pop8 # 1: down to label3 + tee_local $push4=, $4=, $pop5 + i32.eqz $push10=, $pop4 + br_if 1, $pop10 # 1: down to label3 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 block - i32.eqz $push9=, $4 - br_if 0, $pop9 # 0: down to label4 + i32.eqz $push11=, $5 + br_if 0, $pop11 # 0: down to label4 # BB#4: # %if.end # in Loop: Header=BB0_2 Depth=1 - i32.le_s $push1=, $5, $2 + i32.le_s $push1=, $4, $2 br_if 4, $pop1 # 4: down to label0 .LBB0_5: # %for.cond # in Loop: Header=BB0_2 Depth=1 end_block # label4: - i32.const $push7=, 1 - i32.add $3=, $3, $pop7 - i32.const $push6=, 4 - i32.add $0=, $0, $pop6 - i32.const $4=, 1 - i32.lt_s $push2=, $3, $1 + i32.const $push9=, 4 + i32.add $0=, $0, $pop9 + i32.const $5=, 1 + i32.const $push8=, 1 + i32.add $push7=, $3, $pop8 + tee_local $push6=, $3=, $pop7 + i32.lt_s $push2=, $pop6, $1 br_if 0, $pop2 # 0: up to label2 .LBB0_6: # %for.end end_loop # label3: @@ -64,7 +65,7 @@ main: # @main .result i32 # BB#0: # %for.cond.i.1 i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr53645-2.c.s b/test/torture-s/pr53645-2.c.s index 242dedb9b..a1ac8150a 100644 --- a/test/torture-s/pr53645-2.c.s +++ b/test/torture-s/pr53645-2.c.s @@ -8,67 +8,67 @@ uq44444444: # @uq44444444 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.const $push44=, 2 - i32.shr_u $push22=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop22 + i32.shr_u $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push23=, $0, $pop43 + i32.add $push16=, $0, $pop43 i32.const $push42=, 2 - i32.shr_u $push21=, $2, $pop42 - i32.store16 $drop=, 0($pop23), $pop21 + i32.shr_u $push17=, $8, $pop42 + i32.store16 $drop=, 0($pop16), $pop17 i32.const $push41=, 12 - i32.add $push24=, $0, $pop41 + i32.add $push18=, $0, $pop41 i32.const $push40=, 2 - i32.shr_u $push20=, $3, $pop40 - i32.store16 $drop=, 0($pop24), $pop20 + i32.shr_u $push19=, $7, $pop40 + i32.store16 $drop=, 0($pop18), $pop19 i32.const $push39=, 10 - i32.add $push25=, $0, $pop39 + i32.add $push20=, $0, $pop39 i32.const $push38=, 2 - i32.shr_u $push19=, $4, $pop38 - i32.store16 $drop=, 0($pop25), $pop19 + i32.shr_u $push21=, $6, $pop38 + i32.store16 $drop=, 0($pop20), $pop21 i32.const $push37=, 8 - i32.add $push26=, $0, $pop37 + i32.add $push22=, $0, $pop37 i32.const $push36=, 2 - i32.shr_u $push18=, $5, $pop36 - i32.store16 $drop=, 0($pop26), $pop18 + i32.shr_u $push23=, $5, $pop36 + i32.store16 $drop=, 0($pop22), $pop23 i32.const $push35=, 6 - i32.add $push27=, $0, $pop35 + i32.add $push24=, $0, $pop35 i32.const $push34=, 2 - i32.shr_u $push17=, $6, $pop34 - i32.store16 $drop=, 0($pop27), $pop17 + i32.shr_u $push25=, $4, $pop34 + i32.store16 $drop=, 0($pop24), $pop25 i32.const $push33=, 4 - i32.add $push28=, $0, $pop33 + i32.add $push26=, $0, $pop33 i32.const $push32=, 2 - i32.shr_u $push16=, $7, $pop32 - i32.store16 $drop=, 0($pop28), $pop16 + i32.shr_u $push27=, $3, $pop32 + i32.store16 $drop=, 0($pop26), $pop27 i32.const $push31=, 2 - i32.add $push29=, $0, $pop31 + i32.add $push28=, $0, $pop31 i32.const $push30=, 2 - i32.shr_u $push15=, $8, $pop30 - i32.store16 $drop=, 0($pop29), $pop15 - return + i32.shr_u $push29=, $2, $pop30 + i32.store16 $drop=, 0($pop28), $pop29 + # fallthrough-return .endfunc .Lfunc_end0: .size uq44444444, .Lfunc_end0-uq44444444 @@ -81,67 +81,67 @@ ur44444444: # @ur44444444 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.const $push15=, 3 - i32.and $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.and $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 3 - i32.and $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.and $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 3 - i32.and $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.and $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 3 - i32.and $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.and $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 3 - i32.and $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.and $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 3 - i32.and $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.and $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 3 - i32.and $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.and $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 3 - i32.and $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.and $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end1: .size ur44444444, .Lfunc_end1-ur44444444 @@ -154,139 +154,67 @@ sq44444444: # @sq44444444 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.load16_s $8=, 0($1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 - i32.load16_s $1=, 0($pop13) - i32.const $push14=, 29 - i32.shr_u $push59=, $8, $pop14 - i32.const $push16=, 3 - i32.and $push60=, $pop59, $pop16 - i32.add $push61=, $8, $pop60 - i32.const $push19=, 16 - i32.shl $push62=, $pop61, $pop19 - i32.const $push115=, 16 - i32.shr_s $push63=, $pop62, $pop115 - i32.const $push114=, 2 - i32.shr_u $push64=, $pop63, $pop114 - i32.store16 $drop=, 0($0), $pop64 - i32.const $push113=, 14 - i32.add $push65=, $0, $pop113 - i32.const $push112=, 29 - i32.shr_u $push53=, $2, $pop112 - i32.const $push111=, 3 - i32.and $push54=, $pop53, $pop111 - i32.add $push55=, $2, $pop54 - i32.const $push110=, 16 - i32.shl $push56=, $pop55, $pop110 - i32.const $push109=, 16 - i32.shr_s $push57=, $pop56, $pop109 - i32.const $push108=, 2 - i32.shr_u $push58=, $pop57, $pop108 - i32.store16 $drop=, 0($pop65), $pop58 - i32.const $push107=, 12 - i32.add $push66=, $0, $pop107 - i32.const $push106=, 29 - i32.shr_u $push47=, $3, $pop106 - i32.const $push105=, 3 - i32.and $push48=, $pop47, $pop105 - i32.add $push49=, $3, $pop48 - i32.const $push104=, 16 - i32.shl $push50=, $pop49, $pop104 - i32.const $push103=, 16 - i32.shr_s $push51=, $pop50, $pop103 - i32.const $push102=, 2 - i32.shr_u $push52=, $pop51, $pop102 - i32.store16 $drop=, 0($pop66), $pop52 - i32.const $push101=, 10 - i32.add $push67=, $0, $pop101 - i32.const $push100=, 29 - i32.shr_u $push41=, $4, $pop100 - i32.const $push99=, 3 - i32.and $push42=, $pop41, $pop99 - i32.add $push43=, $4, $pop42 - i32.const $push98=, 16 - i32.shl $push44=, $pop43, $pop98 - i32.const $push97=, 16 - i32.shr_s $push45=, $pop44, $pop97 - i32.const $push96=, 2 - i32.shr_u $push46=, $pop45, $pop96 - i32.store16 $drop=, 0($pop67), $pop46 - i32.const $push95=, 8 - i32.add $push68=, $0, $pop95 - i32.const $push94=, 29 - i32.shr_u $push35=, $5, $pop94 - i32.const $push93=, 3 - i32.and $push36=, $pop35, $pop93 - i32.add $push37=, $5, $pop36 - i32.const $push92=, 16 - i32.shl $push38=, $pop37, $pop92 - i32.const $push91=, 16 - i32.shr_s $push39=, $pop38, $pop91 - i32.const $push90=, 2 - i32.shr_u $push40=, $pop39, $pop90 - i32.store16 $drop=, 0($pop68), $pop40 - i32.const $push89=, 6 - i32.add $push69=, $0, $pop89 - i32.const $push88=, 29 - i32.shr_u $push29=, $6, $pop88 - i32.const $push87=, 3 - i32.and $push30=, $pop29, $pop87 - i32.add $push31=, $6, $pop30 - i32.const $push86=, 16 - i32.shl $push32=, $pop31, $pop86 - i32.const $push85=, 16 - i32.shr_s $push33=, $pop32, $pop85 - i32.const $push84=, 2 - i32.shr_u $push34=, $pop33, $pop84 - i32.store16 $drop=, 0($pop69), $pop34 - i32.const $push83=, 4 - i32.add $push70=, $0, $pop83 - i32.const $push82=, 29 - i32.shr_u $push23=, $7, $pop82 - i32.const $push81=, 3 - i32.and $push24=, $pop23, $pop81 - i32.add $push25=, $7, $pop24 - i32.const $push80=, 16 - i32.shl $push26=, $pop25, $pop80 - i32.const $push79=, 16 - i32.shr_s $push27=, $pop26, $pop79 - i32.const $push78=, 2 - i32.shr_u $push28=, $pop27, $pop78 - i32.store16 $drop=, 0($pop70), $pop28 - i32.const $push77=, 2 - i32.add $push71=, $0, $pop77 - i32.const $push76=, 29 - i32.shr_u $push15=, $1, $pop76 - i32.const $push75=, 3 - i32.and $push17=, $pop15, $pop75 - i32.add $push18=, $1, $pop17 - i32.const $push74=, 16 - i32.shl $push20=, $pop18, $pop74 - i32.const $push73=, 16 - i32.shr_s $push21=, $pop20, $pop73 - i32.const $push72=, 2 - i32.shr_u $push22=, $pop21, $pop72 - i32.store16 $drop=, 0($pop71), $pop22 - return + i32.load16_s $8=, 0($pop13) + i32.load16_s $push14=, 0($1) + i32.const $push44=, 4 + i32.div_s $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 + i32.const $push43=, 14 + i32.add $push16=, $0, $pop43 + i32.const $push42=, 4 + i32.div_s $push17=, $8, $pop42 + i32.store16 $drop=, 0($pop16), $pop17 + i32.const $push41=, 12 + i32.add $push18=, $0, $pop41 + i32.const $push40=, 4 + i32.div_s $push19=, $7, $pop40 + i32.store16 $drop=, 0($pop18), $pop19 + i32.const $push39=, 10 + i32.add $push20=, $0, $pop39 + i32.const $push38=, 4 + i32.div_s $push21=, $6, $pop38 + i32.store16 $drop=, 0($pop20), $pop21 + i32.const $push37=, 8 + i32.add $push22=, $0, $pop37 + i32.const $push36=, 4 + i32.div_s $push23=, $5, $pop36 + i32.store16 $drop=, 0($pop22), $pop23 + i32.const $push35=, 6 + i32.add $push24=, $0, $pop35 + i32.const $push34=, 4 + i32.div_s $push25=, $4, $pop34 + i32.store16 $drop=, 0($pop24), $pop25 + i32.const $push33=, 4 + i32.add $push26=, $0, $pop33 + i32.const $push32=, 4 + i32.div_s $push27=, $3, $pop32 + i32.store16 $drop=, 0($pop26), $pop27 + i32.const $push31=, 2 + i32.add $push28=, $0, $pop31 + i32.const $push30=, 4 + i32.div_s $push29=, $2, $pop30 + i32.store16 $drop=, 0($pop28), $pop29 + # fallthrough-return .endfunc .Lfunc_end2: .size sq44444444, .Lfunc_end2-sq44444444 @@ -299,115 +227,67 @@ sr44444444: # @sr44444444 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.load16_s $8=, 0($1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 - i32.load16_s $1=, 0($pop13) - i32.const $push14=, 29 - i32.shr_u $push52=, $8, $pop14 - i32.const $push16=, 3 - i32.and $push53=, $pop52, $pop16 - i32.add $push54=, $8, $pop53 - i32.const $push19=, 65532 - i32.and $push55=, $pop54, $pop19 - i32.sub $push56=, $8, $pop55 - i32.store16 $drop=, 0($0), $pop56 - i32.const $push91=, 14 - i32.add $push57=, $0, $pop91 - i32.const $push90=, 29 - i32.shr_u $push47=, $2, $pop90 - i32.const $push89=, 3 - i32.and $push48=, $pop47, $pop89 - i32.add $push49=, $2, $pop48 - i32.const $push88=, 65532 - i32.and $push50=, $pop49, $pop88 - i32.sub $push51=, $2, $pop50 - i32.store16 $drop=, 0($pop57), $pop51 - i32.const $push87=, 12 - i32.add $push58=, $0, $pop87 - i32.const $push86=, 29 - i32.shr_u $push42=, $3, $pop86 - i32.const $push85=, 3 - i32.and $push43=, $pop42, $pop85 - i32.add $push44=, $3, $pop43 - i32.const $push84=, 65532 - i32.and $push45=, $pop44, $pop84 - i32.sub $push46=, $3, $pop45 - i32.store16 $drop=, 0($pop58), $pop46 - i32.const $push83=, 10 - i32.add $push59=, $0, $pop83 - i32.const $push82=, 29 - i32.shr_u $push37=, $4, $pop82 - i32.const $push81=, 3 - i32.and $push38=, $pop37, $pop81 - i32.add $push39=, $4, $pop38 - i32.const $push80=, 65532 - i32.and $push40=, $pop39, $pop80 - i32.sub $push41=, $4, $pop40 - i32.store16 $drop=, 0($pop59), $pop41 - i32.const $push79=, 8 - i32.add $push60=, $0, $pop79 - i32.const $push78=, 29 - i32.shr_u $push32=, $5, $pop78 - i32.const $push77=, 3 - i32.and $push33=, $pop32, $pop77 - i32.add $push34=, $5, $pop33 - i32.const $push76=, 65532 - i32.and $push35=, $pop34, $pop76 - i32.sub $push36=, $5, $pop35 - i32.store16 $drop=, 0($pop60), $pop36 - i32.const $push75=, 6 - i32.add $push61=, $0, $pop75 - i32.const $push74=, 29 - i32.shr_u $push27=, $6, $pop74 - i32.const $push73=, 3 - i32.and $push28=, $pop27, $pop73 - i32.add $push29=, $6, $pop28 - i32.const $push72=, 65532 - i32.and $push30=, $pop29, $pop72 - i32.sub $push31=, $6, $pop30 - i32.store16 $drop=, 0($pop61), $pop31 - i32.const $push71=, 4 - i32.add $push62=, $0, $pop71 - i32.const $push70=, 29 - i32.shr_u $push22=, $7, $pop70 - i32.const $push69=, 3 - i32.and $push23=, $pop22, $pop69 - i32.add $push24=, $7, $pop23 - i32.const $push68=, 65532 - i32.and $push25=, $pop24, $pop68 - i32.sub $push26=, $7, $pop25 - i32.store16 $drop=, 0($pop62), $pop26 - i32.const $push67=, 2 - i32.add $push63=, $0, $pop67 - i32.const $push66=, 29 - i32.shr_u $push15=, $1, $pop66 - i32.const $push65=, 3 - i32.and $push17=, $pop15, $pop65 - i32.add $push18=, $1, $pop17 - i32.const $push64=, 65532 - i32.and $push20=, $pop18, $pop64 - i32.sub $push21=, $1, $pop20 - i32.store16 $drop=, 0($pop63), $pop21 - return + i32.load16_s $8=, 0($pop13) + i32.load16_s $push14=, 0($1) + i32.const $push44=, 4 + i32.rem_s $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 + i32.const $push43=, 14 + i32.add $push16=, $0, $pop43 + i32.const $push42=, 4 + i32.rem_s $push17=, $8, $pop42 + i32.store16 $drop=, 0($pop16), $pop17 + i32.const $push41=, 12 + i32.add $push18=, $0, $pop41 + i32.const $push40=, 4 + i32.rem_s $push19=, $7, $pop40 + i32.store16 $drop=, 0($pop18), $pop19 + i32.const $push39=, 10 + i32.add $push20=, $0, $pop39 + i32.const $push38=, 4 + i32.rem_s $push21=, $6, $pop38 + i32.store16 $drop=, 0($pop20), $pop21 + i32.const $push37=, 8 + i32.add $push22=, $0, $pop37 + i32.const $push36=, 4 + i32.rem_s $push23=, $5, $pop36 + i32.store16 $drop=, 0($pop22), $pop23 + i32.const $push35=, 6 + i32.add $push24=, $0, $pop35 + i32.const $push34=, 4 + i32.rem_s $push25=, $4, $pop34 + i32.store16 $drop=, 0($pop24), $pop25 + i32.const $push33=, 4 + i32.add $push26=, $0, $pop33 + i32.const $push32=, 4 + i32.rem_s $push27=, $3, $pop32 + i32.store16 $drop=, 0($pop26), $pop27 + i32.const $push31=, 2 + i32.add $push28=, $0, $pop31 + i32.const $push30=, 4 + i32.rem_s $push29=, $2, $pop30 + i32.store16 $drop=, 0($pop28), $pop29 + # fallthrough-return .endfunc .Lfunc_end3: .size sr44444444, .Lfunc_end3-sr44444444 @@ -420,65 +300,65 @@ uq1428166432128: # @uq1428166432128 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 10 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 8 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) - i32.const $push6=, 14 + i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.store16 $drop=, 0($0), $pop14 - i32.const $push42=, 12 - i32.add $push26=, $0, $pop42 - i32.const $push24=, 5 - i32.shr_u $push25=, $2, $pop24 - i32.store16 $drop=, 0($pop26), $pop25 - i32.const $push41=, 10 - i32.add $push27=, $0, $pop41 - i32.const $push40=, 6 - i32.shr_u $push23=, $3, $pop40 - i32.store16 $drop=, 0($pop27), $pop23 - i32.const $push39=, 8 - i32.add $push28=, $0, $pop39 - i32.const $push38=, 4 - i32.shr_u $push22=, $4, $pop38 - i32.store16 $drop=, 0($pop28), $pop22 - i32.const $push37=, 14 - i32.add $push29=, $0, $pop37 - i32.const $push20=, 7 - i32.shr_u $push21=, $5, $pop20 - i32.store16 $drop=, 0($pop29), $pop21 + i32.const $push42=, 14 + i32.add $push15=, $0, $pop42 + i32.const $push16=, 7 + i32.shr_u $push17=, $8, $pop16 + i32.store16 $drop=, 0($pop15), $pop17 + i32.const $push41=, 12 + i32.add $push18=, $0, $pop41 + i32.const $push19=, 5 + i32.shr_u $push20=, $7, $pop19 + i32.store16 $drop=, 0($pop18), $pop20 + i32.const $push40=, 10 + i32.add $push21=, $0, $pop40 + i32.const $push39=, 6 + i32.shr_u $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 + i32.const $push38=, 8 + i32.add $push23=, $0, $pop38 + i32.const $push37=, 4 + i32.shr_u $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push30=, $0, $pop36 - i32.const $push18=, 3 - i32.shr_u $push19=, $6, $pop18 - i32.store16 $drop=, 0($pop30), $pop19 + i32.add $push25=, $0, $pop36 + i32.const $push26=, 3 + i32.shr_u $push27=, $4, $pop26 + i32.store16 $drop=, 0($pop25), $pop27 i32.const $push35=, 4 - i32.add $push31=, $0, $pop35 - i32.const $push16=, 1 - i32.shr_u $push17=, $7, $pop16 - i32.store16 $drop=, 0($pop31), $pop17 + i32.add $push28=, $0, $pop35 + i32.const $push29=, 1 + i32.shr_u $push30=, $3, $pop29 + i32.store16 $drop=, 0($pop28), $pop30 i32.const $push34=, 2 - i32.add $push32=, $0, $pop34 + i32.add $push31=, $0, $pop34 i32.const $push33=, 2 - i32.shr_u $push15=, $8, $pop33 - i32.store16 $drop=, 0($pop32), $pop15 - return + i32.shr_u $push32=, $2, $pop33 + i32.store16 $drop=, 0($pop31), $pop32 + # fallthrough-return .endfunc .Lfunc_end4: .size uq1428166432128, .Lfunc_end4-uq1428166432128 @@ -491,65 +371,65 @@ ur1428166432128: # @ur1428166432128 .param i32, i32 .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 10 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 8 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) - i32.const $push6=, 6 + i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 4 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push10=, 14 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_u $1=, 0($pop13) - i32.const $push28=, 0 - i32.store16 $drop=, 0($0), $pop28 - i32.const $push42=, 12 - i32.add $push29=, $0, $pop42 - i32.const $push26=, 31 - i32.and $push27=, $2, $pop26 - i32.store16 $drop=, 0($pop29), $pop27 - i32.const $push41=, 10 - i32.add $push30=, $0, $pop41 - i32.const $push24=, 63 - i32.and $push25=, $3, $pop24 - i32.store16 $drop=, 0($pop30), $pop25 - i32.const $push40=, 8 - i32.add $push31=, $0, $pop40 - i32.const $push22=, 15 - i32.and $push23=, $4, $pop22 - i32.store16 $drop=, 0($pop31), $pop23 - i32.const $push39=, 6 - i32.add $push32=, $0, $pop39 - i32.const $push20=, 7 - i32.and $push21=, $5, $pop20 - i32.store16 $drop=, 0($pop32), $pop21 - i32.const $push38=, 4 - i32.add $push33=, $0, $pop38 - i32.const $push18=, 1 - i32.and $push19=, $6, $pop18 - i32.store16 $drop=, 0($pop33), $pop19 - i32.const $push37=, 14 - i32.add $push34=, $0, $pop37 + i32.const $push14=, 0 + i32.store16 $drop=, 0($0), $pop14 + i32.const $push42=, 14 + i32.add $push15=, $0, $pop42 i32.const $push16=, 127 - i32.and $push17=, $7, $pop16 - i32.store16 $drop=, 0($pop34), $pop17 + i32.and $push17=, $1, $pop16 + i32.store16 $drop=, 0($pop15), $pop17 + i32.const $push41=, 12 + i32.add $push18=, $0, $pop41 + i32.const $push19=, 31 + i32.and $push20=, $7, $pop19 + i32.store16 $drop=, 0($pop18), $pop20 + i32.const $push40=, 10 + i32.add $push21=, $0, $pop40 + i32.const $push22=, 63 + i32.and $push23=, $6, $pop22 + i32.store16 $drop=, 0($pop21), $pop23 + i32.const $push39=, 8 + i32.add $push24=, $0, $pop39 + i32.const $push25=, 15 + i32.and $push26=, $5, $pop25 + i32.store16 $drop=, 0($pop24), $pop26 + i32.const $push38=, 6 + i32.add $push27=, $0, $pop38 + i32.const $push28=, 7 + i32.and $push29=, $4, $pop28 + i32.store16 $drop=, 0($pop27), $pop29 + i32.const $push37=, 4 + i32.add $push30=, $0, $pop37 + i32.const $push31=, 1 + i32.and $push32=, $3, $pop31 + i32.store16 $drop=, 0($pop30), $pop32 i32.const $push36=, 2 - i32.add $push35=, $0, $pop36 - i32.const $push14=, 3 - i32.and $push15=, $1, $pop14 - i32.store16 $drop=, 0($pop35), $pop15 - return + i32.add $push33=, $0, $pop36 + i32.const $push34=, 3 + i32.and $push35=, $2, $pop34 + i32.store16 $drop=, 0($pop33), $pop35 + # fallthrough-return .endfunc .Lfunc_end5: .size ur1428166432128, .Lfunc_end5-ur1428166432128 @@ -562,98 +442,65 @@ sq1428166432128: # @sq1428166432128 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 4 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 14 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push10=, 6 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_s $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.store16 $drop=, 0($0), $pop14 - i32.const $push75=, 4 - i32.add $push53=, $0, $pop75 - i32.const $push15=, 31 - i32.shr_u $push49=, $2, $pop15 - i32.add $push50=, $2, $pop49 - i32.const $push51=, 1 - i32.shr_u $push52=, $pop50, $pop51 - i32.store16 $drop=, 0($pop53), $pop52 - i32.const $push74=, 12 - i32.add $push54=, $0, $pop74 - i32.const $push73=, 31 - i32.shr_s $push43=, $3, $pop73 - i32.const $push44=, 27 - i32.shr_u $push45=, $pop43, $pop44 - i32.add $push46=, $3, $pop45 - i32.const $push47=, 5 - i32.shr_u $push48=, $pop46, $pop47 - i32.store16 $drop=, 0($pop54), $pop48 - i32.const $push72=, 10 - i32.add $push55=, $0, $pop72 - i32.const $push71=, 31 - i32.shr_s $push38=, $4, $pop71 - i32.const $push39=, 26 - i32.shr_u $push40=, $pop38, $pop39 - i32.add $push41=, $4, $pop40 - i32.const $push70=, 6 - i32.shr_u $push42=, $pop41, $pop70 - i32.store16 $drop=, 0($pop55), $pop42 - i32.const $push69=, 8 - i32.add $push56=, $0, $pop69 - i32.const $push68=, 31 - i32.shr_s $push33=, $5, $pop68 - i32.const $push34=, 28 - i32.shr_u $push35=, $pop33, $pop34 - i32.add $push36=, $5, $pop35 - i32.const $push67=, 4 - i32.shr_u $push37=, $pop36, $pop67 - i32.store16 $drop=, 0($pop56), $pop37 - i32.const $push66=, 14 - i32.add $push57=, $0, $pop66 - i32.const $push65=, 31 - i32.shr_s $push27=, $6, $pop65 - i32.const $push28=, 25 - i32.shr_u $push29=, $pop27, $pop28 - i32.add $push30=, $6, $pop29 - i32.const $push31=, 7 - i32.shr_u $push32=, $pop30, $pop31 - i32.store16 $drop=, 0($pop57), $pop32 - i32.const $push64=, 6 - i32.add $push58=, $0, $pop64 - i32.const $push63=, 31 - i32.shr_s $push21=, $7, $pop63 - i32.const $push22=, 29 - i32.shr_u $push23=, $pop21, $pop22 - i32.add $push24=, $7, $pop23 - i32.const $push25=, 3 - i32.shr_u $push26=, $pop24, $pop25 - i32.store16 $drop=, 0($pop58), $pop26 - i32.const $push62=, 2 - i32.add $push59=, $0, $pop62 - i32.const $push61=, 31 - i32.shr_s $push16=, $8, $pop61 - i32.const $push17=, 30 - i32.shr_u $push18=, $pop16, $pop17 - i32.add $push19=, $8, $pop18 - i32.const $push60=, 2 - i32.shr_u $push20=, $pop19, $pop60 - i32.store16 $drop=, 0($pop59), $pop20 - return + i32.const $push42=, 14 + i32.add $push15=, $0, $pop42 + i32.const $push16=, 128 + i32.div_s $push17=, $8, $pop16 + i32.store16 $drop=, 0($pop15), $pop17 + i32.const $push41=, 12 + i32.add $push18=, $0, $pop41 + i32.const $push19=, 32 + i32.div_s $push20=, $7, $pop19 + i32.store16 $drop=, 0($pop18), $pop20 + i32.const $push40=, 10 + i32.add $push21=, $0, $pop40 + i32.const $push22=, 64 + i32.div_s $push23=, $6, $pop22 + i32.store16 $drop=, 0($pop21), $pop23 + i32.const $push39=, 8 + i32.add $push24=, $0, $pop39 + i32.const $push25=, 16 + i32.div_s $push26=, $5, $pop25 + i32.store16 $drop=, 0($pop24), $pop26 + i32.const $push38=, 6 + i32.add $push27=, $0, $pop38 + i32.const $push37=, 8 + i32.div_s $push28=, $4, $pop37 + i32.store16 $drop=, 0($pop27), $pop28 + i32.const $push36=, 4 + i32.add $push29=, $0, $pop36 + i32.const $push35=, 2 + i32.div_s $push30=, $3, $pop35 + i32.store16 $drop=, 0($pop29), $pop30 + i32.const $push34=, 2 + i32.add $push31=, $0, $pop34 + i32.const $push33=, 4 + i32.div_s $push32=, $2, $pop33 + i32.store16 $drop=, 0($pop31), $pop32 + # fallthrough-return .endfunc .Lfunc_end6: .size sq1428166432128, .Lfunc_end6-sq1428166432128 @@ -666,105 +513,65 @@ sr1428166432128: # @sr1428166432128 .param i32, i32 .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 4 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push10=, 14 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_s $1=, 0($pop13) - i32.const $push62=, 0 - i32.store16 $drop=, 0($0), $pop62 - i32.const $push82=, 4 - i32.add $push63=, $0, $pop82 - i32.const $push14=, 31 - i32.shr_u $push57=, $2, $pop14 - i32.add $push58=, $2, $pop57 - i32.const $push59=, 65534 - i32.and $push60=, $pop58, $pop59 - i32.sub $push61=, $2, $pop60 - i32.store16 $drop=, 0($pop63), $pop61 - i32.const $push81=, 12 - i32.add $push64=, $0, $pop81 - i32.const $push80=, 31 - i32.shr_s $push50=, $3, $pop80 - i32.const $push51=, 27 - i32.shr_u $push52=, $pop50, $pop51 - i32.add $push53=, $3, $pop52 - i32.const $push54=, 65504 - i32.and $push55=, $pop53, $pop54 - i32.sub $push56=, $3, $pop55 - i32.store16 $drop=, 0($pop64), $pop56 - i32.const $push79=, 10 - i32.add $push65=, $0, $pop79 - i32.const $push78=, 31 - i32.shr_s $push43=, $4, $pop78 - i32.const $push44=, 26 - i32.shr_u $push45=, $pop43, $pop44 - i32.add $push46=, $4, $pop45 - i32.const $push47=, 65472 - i32.and $push48=, $pop46, $pop47 - i32.sub $push49=, $4, $pop48 - i32.store16 $drop=, 0($pop65), $pop49 - i32.const $push77=, 8 - i32.add $push66=, $0, $pop77 - i32.const $push76=, 31 - i32.shr_s $push36=, $5, $pop76 - i32.const $push37=, 28 - i32.shr_u $push38=, $pop36, $pop37 - i32.add $push39=, $5, $pop38 - i32.const $push40=, 65520 - i32.and $push41=, $pop39, $pop40 - i32.sub $push42=, $5, $pop41 - i32.store16 $drop=, 0($pop66), $pop42 - i32.const $push75=, 6 - i32.add $push67=, $0, $pop75 - i32.const $push74=, 31 - i32.shr_s $push29=, $6, $pop74 - i32.const $push30=, 29 - i32.shr_u $push31=, $pop29, $pop30 - i32.add $push32=, $6, $pop31 - i32.const $push33=, 65528 - i32.and $push34=, $pop32, $pop33 - i32.sub $push35=, $6, $pop34 - i32.store16 $drop=, 0($pop67), $pop35 - i32.const $push73=, 14 - i32.add $push68=, $0, $pop73 - i32.const $push72=, 31 - i32.shr_s $push22=, $7, $pop72 - i32.const $push23=, 25 - i32.shr_u $push24=, $pop22, $pop23 - i32.add $push25=, $7, $pop24 - i32.const $push26=, 65408 - i32.and $push27=, $pop25, $pop26 - i32.sub $push28=, $7, $pop27 - i32.store16 $drop=, 0($pop68), $pop28 - i32.const $push71=, 2 - i32.add $push69=, $0, $pop71 - i32.const $push70=, 31 - i32.shr_s $push15=, $1, $pop70 - i32.const $push16=, 30 - i32.shr_u $push17=, $pop15, $pop16 - i32.add $push18=, $1, $pop17 - i32.const $push19=, 65532 - i32.and $push20=, $pop18, $pop19 - i32.sub $push21=, $1, $pop20 - i32.store16 $drop=, 0($pop69), $pop21 - return + i32.const $push14=, 0 + i32.store16 $drop=, 0($0), $pop14 + i32.const $push42=, 14 + i32.add $push15=, $0, $pop42 + i32.const $push16=, 128 + i32.rem_s $push17=, $1, $pop16 + i32.store16 $drop=, 0($pop15), $pop17 + i32.const $push41=, 12 + i32.add $push18=, $0, $pop41 + i32.const $push19=, 32 + i32.rem_s $push20=, $7, $pop19 + i32.store16 $drop=, 0($pop18), $pop20 + i32.const $push40=, 10 + i32.add $push21=, $0, $pop40 + i32.const $push22=, 64 + i32.rem_s $push23=, $6, $pop22 + i32.store16 $drop=, 0($pop21), $pop23 + i32.const $push39=, 8 + i32.add $push24=, $0, $pop39 + i32.const $push25=, 16 + i32.rem_s $push26=, $5, $pop25 + i32.store16 $drop=, 0($pop24), $pop26 + i32.const $push38=, 6 + i32.add $push27=, $0, $pop38 + i32.const $push37=, 8 + i32.rem_s $push28=, $4, $pop37 + i32.store16 $drop=, 0($pop27), $pop28 + i32.const $push36=, 4 + i32.add $push29=, $0, $pop36 + i32.const $push35=, 2 + i32.rem_s $push30=, $3, $pop35 + i32.store16 $drop=, 0($pop29), $pop30 + i32.const $push34=, 2 + i32.add $push31=, $0, $pop34 + i32.const $push33=, 4 + i32.rem_s $push32=, $2, $pop33 + i32.store16 $drop=, 0($pop31), $pop32 + # fallthrough-return .endfunc .Lfunc_end7: .size sr1428166432128, .Lfunc_end7-sr1428166432128 @@ -777,67 +584,67 @@ uq33333333: # @uq33333333 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_u $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.const $push15=, 3 - i32.div_u $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.div_u $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 3 - i32.div_u $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.div_u $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 3 - i32.div_u $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.div_u $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 3 - i32.div_u $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.div_u $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 3 - i32.div_u $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.div_u $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 3 - i32.div_u $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.div_u $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 3 - i32.div_u $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.div_u $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 3 - i32.div_u $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.div_u $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end8: .size uq33333333, .Lfunc_end8-uq33333333 @@ -850,67 +657,67 @@ ur33333333: # @ur33333333 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_u $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.const $push15=, 3 - i32.rem_u $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.rem_u $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 3 - i32.rem_u $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.rem_u $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 3 - i32.rem_u $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.rem_u $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 3 - i32.rem_u $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.rem_u $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 3 - i32.rem_u $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.rem_u $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 3 - i32.rem_u $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.rem_u $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 3 - i32.rem_u $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.rem_u $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 3 - i32.rem_u $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.rem_u $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end9: .size ur33333333, .Lfunc_end9-ur33333333 @@ -923,67 +730,67 @@ sq33333333: # @sq33333333 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_s $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_s $8=, 0($pop13) i32.load16_s $push14=, 0($1) i32.const $push15=, 3 - i32.div_s $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.div_s $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 3 - i32.div_s $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.div_s $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 3 - i32.div_s $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.div_s $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 3 - i32.div_s $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.div_s $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 3 - i32.div_s $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.div_s $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 3 - i32.div_s $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.div_s $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 3 - i32.div_s $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.div_s $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 3 - i32.div_s $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.div_s $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end10: .size sq33333333, .Lfunc_end10-sq33333333 @@ -996,67 +803,67 @@ sr33333333: # @sr33333333 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_s $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_s $8=, 0($pop13) i32.load16_s $push14=, 0($1) i32.const $push15=, 3 - i32.rem_s $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.rem_s $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 3 - i32.rem_s $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.rem_s $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 3 - i32.rem_s $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.rem_s $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 3 - i32.rem_s $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.rem_s $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 3 - i32.rem_s $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.rem_s $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 3 - i32.rem_s $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.rem_s $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 3 - i32.rem_s $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.rem_s $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 3 - i32.rem_s $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.rem_s $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end11: .size sr33333333, .Lfunc_end11-sr33333333 @@ -1069,67 +876,67 @@ uq65656565: # @uq65656565 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_u $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.const $push44=, 6 - i32.div_u $push23=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop23 + i32.div_u $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push24=, $0, $pop43 - i32.const $push15=, 5 - i32.div_u $push22=, $2, $pop15 - i32.store16 $drop=, 0($pop24), $pop22 + i32.add $push16=, $0, $pop43 + i32.const $push17=, 5 + i32.div_u $push18=, $8, $pop17 + i32.store16 $drop=, 0($pop16), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 6 - i32.div_u $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.div_u $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 5 - i32.div_u $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.div_u $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 6 - i32.div_u $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.div_u $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 5 - i32.div_u $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.div_u $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 6 - i32.div_u $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.div_u $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 5 - i32.div_u $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.div_u $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end12: .size uq65656565, .Lfunc_end12-uq65656565 @@ -1142,67 +949,67 @@ ur65656565: # @ur65656565 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_u $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.const $push44=, 6 - i32.rem_u $push23=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop23 + i32.rem_u $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push24=, $0, $pop43 - i32.const $push15=, 5 - i32.rem_u $push22=, $2, $pop15 - i32.store16 $drop=, 0($pop24), $pop22 + i32.add $push16=, $0, $pop43 + i32.const $push17=, 5 + i32.rem_u $push18=, $8, $pop17 + i32.store16 $drop=, 0($pop16), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 6 - i32.rem_u $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.rem_u $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 5 - i32.rem_u $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.rem_u $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 6 - i32.rem_u $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.rem_u $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 5 - i32.rem_u $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.rem_u $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 6 - i32.rem_u $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.rem_u $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 5 - i32.rem_u $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.rem_u $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end13: .size ur65656565, .Lfunc_end13-ur65656565 @@ -1215,67 +1022,67 @@ sq65656565: # @sq65656565 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_s $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_s $8=, 0($pop13) i32.load16_s $push14=, 0($1) i32.const $push44=, 6 - i32.div_s $push23=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop23 + i32.div_s $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push24=, $0, $pop43 - i32.const $push15=, 5 - i32.div_s $push22=, $2, $pop15 - i32.store16 $drop=, 0($pop24), $pop22 + i32.add $push16=, $0, $pop43 + i32.const $push17=, 5 + i32.div_s $push18=, $8, $pop17 + i32.store16 $drop=, 0($pop16), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 6 - i32.div_s $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.div_s $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 5 - i32.div_s $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.div_s $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 6 - i32.div_s $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.div_s $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 5 - i32.div_s $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.div_s $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 6 - i32.div_s $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.div_s $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 5 - i32.div_s $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.div_s $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end14: .size sq65656565, .Lfunc_end14-sq65656565 @@ -1288,67 +1095,67 @@ sr65656565: # @sr65656565 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_s $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_s $8=, 0($pop13) i32.load16_s $push14=, 0($1) i32.const $push44=, 6 - i32.rem_s $push23=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop23 + i32.rem_s $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push24=, $0, $pop43 - i32.const $push15=, 5 - i32.rem_s $push22=, $2, $pop15 - i32.store16 $drop=, 0($pop24), $pop22 + i32.add $push16=, $0, $pop43 + i32.const $push17=, 5 + i32.rem_s $push18=, $8, $pop17 + i32.store16 $drop=, 0($pop16), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 6 - i32.rem_s $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.rem_s $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 5 - i32.rem_s $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.rem_s $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 6 - i32.rem_s $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.rem_s $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 5 - i32.rem_s $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.rem_s $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 6 - i32.rem_s $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.rem_s $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 5 - i32.rem_s $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.rem_s $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end15: .size sr65656565, .Lfunc_end15-sr65656565 @@ -1361,67 +1168,67 @@ uq14141461461414: # @uq14141461461414 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push10=, 4 + i32.const $push8=, 10 + i32.add $push9=, $1, $pop8 + i32.load16_u $6=, 0($pop9) + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_u $8=, 0($pop13) - i32.const $push8=, 6 - i32.add $push9=, $1, $pop8 - i32.load16_u $6=, 0($pop9) i32.load16_u $push14=, 0($1) i32.const $push44=, 14 - i32.div_u $push22=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop22 + i32.div_u $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push23=, $0, $pop43 + i32.add $push16=, $0, $pop43 i32.const $push42=, 14 - i32.div_u $push21=, $2, $pop42 - i32.store16 $drop=, 0($pop23), $pop21 + i32.div_u $push17=, $8, $pop42 + i32.store16 $drop=, 0($pop16), $pop17 i32.const $push41=, 12 - i32.add $push24=, $0, $pop41 + i32.add $push18=, $0, $pop41 i32.const $push40=, 14 - i32.div_u $push20=, $3, $pop40 - i32.store16 $drop=, 0($pop24), $pop20 + i32.div_u $push19=, $7, $pop40 + i32.store16 $drop=, 0($pop18), $pop19 i32.const $push39=, 10 - i32.add $push25=, $0, $pop39 + i32.add $push20=, $0, $pop39 i32.const $push38=, 6 - i32.div_u $push19=, $4, $pop38 - i32.store16 $drop=, 0($pop25), $pop19 + i32.div_u $push21=, $6, $pop38 + i32.store16 $drop=, 0($pop20), $pop21 i32.const $push37=, 8 - i32.add $push26=, $0, $pop37 + i32.add $push22=, $0, $pop37 i32.const $push36=, 14 - i32.div_u $push18=, $5, $pop36 - i32.store16 $drop=, 0($pop26), $pop18 + i32.div_u $push23=, $5, $pop36 + i32.store16 $drop=, 0($pop22), $pop23 i32.const $push35=, 6 - i32.add $push27=, $0, $pop35 + i32.add $push24=, $0, $pop35 i32.const $push34=, 6 - i32.div_u $push17=, $6, $pop34 - i32.store16 $drop=, 0($pop27), $pop17 + i32.div_u $push25=, $4, $pop34 + i32.store16 $drop=, 0($pop24), $pop25 i32.const $push33=, 4 - i32.add $push28=, $0, $pop33 + i32.add $push26=, $0, $pop33 i32.const $push32=, 14 - i32.div_u $push16=, $7, $pop32 - i32.store16 $drop=, 0($pop28), $pop16 + i32.div_u $push27=, $3, $pop32 + i32.store16 $drop=, 0($pop26), $pop27 i32.const $push31=, 2 - i32.add $push29=, $0, $pop31 + i32.add $push28=, $0, $pop31 i32.const $push30=, 14 - i32.div_u $push15=, $8, $pop30 - i32.store16 $drop=, 0($pop29), $pop15 - return + i32.div_u $push29=, $2, $pop30 + i32.store16 $drop=, 0($pop28), $pop29 + # fallthrough-return .endfunc .Lfunc_end16: .size uq14141461461414, .Lfunc_end16-uq14141461461414 @@ -1434,67 +1241,67 @@ ur14141461461414: # @ur14141461461414 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push10=, 4 + i32.const $push8=, 10 + i32.add $push9=, $1, $pop8 + i32.load16_u $6=, 0($pop9) + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_u $8=, 0($pop13) - i32.const $push8=, 6 - i32.add $push9=, $1, $pop8 - i32.load16_u $6=, 0($pop9) i32.load16_u $push14=, 0($1) i32.const $push44=, 14 - i32.rem_u $push22=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop22 + i32.rem_u $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push23=, $0, $pop43 + i32.add $push16=, $0, $pop43 i32.const $push42=, 14 - i32.rem_u $push21=, $2, $pop42 - i32.store16 $drop=, 0($pop23), $pop21 + i32.rem_u $push17=, $8, $pop42 + i32.store16 $drop=, 0($pop16), $pop17 i32.const $push41=, 12 - i32.add $push24=, $0, $pop41 + i32.add $push18=, $0, $pop41 i32.const $push40=, 14 - i32.rem_u $push20=, $3, $pop40 - i32.store16 $drop=, 0($pop24), $pop20 + i32.rem_u $push19=, $7, $pop40 + i32.store16 $drop=, 0($pop18), $pop19 i32.const $push39=, 10 - i32.add $push25=, $0, $pop39 + i32.add $push20=, $0, $pop39 i32.const $push38=, 6 - i32.rem_u $push19=, $4, $pop38 - i32.store16 $drop=, 0($pop25), $pop19 + i32.rem_u $push21=, $6, $pop38 + i32.store16 $drop=, 0($pop20), $pop21 i32.const $push37=, 8 - i32.add $push26=, $0, $pop37 + i32.add $push22=, $0, $pop37 i32.const $push36=, 14 - i32.rem_u $push18=, $5, $pop36 - i32.store16 $drop=, 0($pop26), $pop18 + i32.rem_u $push23=, $5, $pop36 + i32.store16 $drop=, 0($pop22), $pop23 i32.const $push35=, 6 - i32.add $push27=, $0, $pop35 + i32.add $push24=, $0, $pop35 i32.const $push34=, 6 - i32.rem_u $push17=, $6, $pop34 - i32.store16 $drop=, 0($pop27), $pop17 + i32.rem_u $push25=, $4, $pop34 + i32.store16 $drop=, 0($pop24), $pop25 i32.const $push33=, 4 - i32.add $push28=, $0, $pop33 + i32.add $push26=, $0, $pop33 i32.const $push32=, 14 - i32.rem_u $push16=, $7, $pop32 - i32.store16 $drop=, 0($pop28), $pop16 + i32.rem_u $push27=, $3, $pop32 + i32.store16 $drop=, 0($pop26), $pop27 i32.const $push31=, 2 - i32.add $push29=, $0, $pop31 + i32.add $push28=, $0, $pop31 i32.const $push30=, 14 - i32.rem_u $push15=, $8, $pop30 - i32.store16 $drop=, 0($pop29), $pop15 - return + i32.rem_u $push29=, $2, $pop30 + i32.store16 $drop=, 0($pop28), $pop29 + # fallthrough-return .endfunc .Lfunc_end17: .size ur14141461461414, .Lfunc_end17-ur14141461461414 @@ -1507,67 +1314,67 @@ sq14141461461414: # @sq14141461461414 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push10=, 4 + i32.const $push8=, 10 + i32.add $push9=, $1, $pop8 + i32.load16_s $6=, 0($pop9) + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_s $8=, 0($pop13) - i32.const $push8=, 6 - i32.add $push9=, $1, $pop8 - i32.load16_s $6=, 0($pop9) i32.load16_s $push14=, 0($1) i32.const $push44=, 14 - i32.div_s $push22=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop22 + i32.div_s $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push23=, $0, $pop43 + i32.add $push16=, $0, $pop43 i32.const $push42=, 14 - i32.div_s $push21=, $2, $pop42 - i32.store16 $drop=, 0($pop23), $pop21 + i32.div_s $push17=, $8, $pop42 + i32.store16 $drop=, 0($pop16), $pop17 i32.const $push41=, 12 - i32.add $push24=, $0, $pop41 + i32.add $push18=, $0, $pop41 i32.const $push40=, 14 - i32.div_s $push20=, $3, $pop40 - i32.store16 $drop=, 0($pop24), $pop20 + i32.div_s $push19=, $7, $pop40 + i32.store16 $drop=, 0($pop18), $pop19 i32.const $push39=, 10 - i32.add $push25=, $0, $pop39 + i32.add $push20=, $0, $pop39 i32.const $push38=, 6 - i32.div_s $push19=, $4, $pop38 - i32.store16 $drop=, 0($pop25), $pop19 + i32.div_s $push21=, $6, $pop38 + i32.store16 $drop=, 0($pop20), $pop21 i32.const $push37=, 8 - i32.add $push26=, $0, $pop37 + i32.add $push22=, $0, $pop37 i32.const $push36=, 14 - i32.div_s $push18=, $5, $pop36 - i32.store16 $drop=, 0($pop26), $pop18 + i32.div_s $push23=, $5, $pop36 + i32.store16 $drop=, 0($pop22), $pop23 i32.const $push35=, 6 - i32.add $push27=, $0, $pop35 + i32.add $push24=, $0, $pop35 i32.const $push34=, 6 - i32.div_s $push17=, $6, $pop34 - i32.store16 $drop=, 0($pop27), $pop17 + i32.div_s $push25=, $4, $pop34 + i32.store16 $drop=, 0($pop24), $pop25 i32.const $push33=, 4 - i32.add $push28=, $0, $pop33 + i32.add $push26=, $0, $pop33 i32.const $push32=, 14 - i32.div_s $push16=, $7, $pop32 - i32.store16 $drop=, 0($pop28), $pop16 + i32.div_s $push27=, $3, $pop32 + i32.store16 $drop=, 0($pop26), $pop27 i32.const $push31=, 2 - i32.add $push29=, $0, $pop31 + i32.add $push28=, $0, $pop31 i32.const $push30=, 14 - i32.div_s $push15=, $8, $pop30 - i32.store16 $drop=, 0($pop29), $pop15 - return + i32.div_s $push29=, $2, $pop30 + i32.store16 $drop=, 0($pop28), $pop29 + # fallthrough-return .endfunc .Lfunc_end18: .size sq14141461461414, .Lfunc_end18-sq14141461461414 @@ -1580,67 +1387,67 @@ sr14141461461414: # @sr14141461461414 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push10=, 4 + i32.const $push8=, 10 + i32.add $push9=, $1, $pop8 + i32.load16_s $6=, 0($pop9) + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) - i32.const $push12=, 2 + i32.const $push12=, 14 i32.add $push13=, $1, $pop12 i32.load16_s $8=, 0($pop13) - i32.const $push8=, 6 - i32.add $push9=, $1, $pop8 - i32.load16_s $6=, 0($pop9) i32.load16_s $push14=, 0($1) i32.const $push44=, 14 - i32.rem_s $push22=, $pop14, $pop44 - i32.store16 $drop=, 0($0), $pop22 + i32.rem_s $push15=, $pop14, $pop44 + i32.store16 $drop=, 0($0), $pop15 i32.const $push43=, 14 - i32.add $push23=, $0, $pop43 + i32.add $push16=, $0, $pop43 i32.const $push42=, 14 - i32.rem_s $push21=, $2, $pop42 - i32.store16 $drop=, 0($pop23), $pop21 + i32.rem_s $push17=, $8, $pop42 + i32.store16 $drop=, 0($pop16), $pop17 i32.const $push41=, 12 - i32.add $push24=, $0, $pop41 + i32.add $push18=, $0, $pop41 i32.const $push40=, 14 - i32.rem_s $push20=, $3, $pop40 - i32.store16 $drop=, 0($pop24), $pop20 + i32.rem_s $push19=, $7, $pop40 + i32.store16 $drop=, 0($pop18), $pop19 i32.const $push39=, 10 - i32.add $push25=, $0, $pop39 + i32.add $push20=, $0, $pop39 i32.const $push38=, 6 - i32.rem_s $push19=, $4, $pop38 - i32.store16 $drop=, 0($pop25), $pop19 + i32.rem_s $push21=, $6, $pop38 + i32.store16 $drop=, 0($pop20), $pop21 i32.const $push37=, 8 - i32.add $push26=, $0, $pop37 + i32.add $push22=, $0, $pop37 i32.const $push36=, 14 - i32.rem_s $push18=, $5, $pop36 - i32.store16 $drop=, 0($pop26), $pop18 + i32.rem_s $push23=, $5, $pop36 + i32.store16 $drop=, 0($pop22), $pop23 i32.const $push35=, 6 - i32.add $push27=, $0, $pop35 + i32.add $push24=, $0, $pop35 i32.const $push34=, 6 - i32.rem_s $push17=, $6, $pop34 - i32.store16 $drop=, 0($pop27), $pop17 + i32.rem_s $push25=, $4, $pop34 + i32.store16 $drop=, 0($pop24), $pop25 i32.const $push33=, 4 - i32.add $push28=, $0, $pop33 + i32.add $push26=, $0, $pop33 i32.const $push32=, 14 - i32.rem_s $push16=, $7, $pop32 - i32.store16 $drop=, 0($pop28), $pop16 + i32.rem_s $push27=, $3, $pop32 + i32.store16 $drop=, 0($pop26), $pop27 i32.const $push31=, 2 - i32.add $push29=, $0, $pop31 + i32.add $push28=, $0, $pop31 i32.const $push30=, 14 - i32.rem_s $push15=, $8, $pop30 - i32.store16 $drop=, 0($pop29), $pop15 - return + i32.rem_s $push29=, $2, $pop30 + i32.store16 $drop=, 0($pop28), $pop29 + # fallthrough-return .endfunc .Lfunc_end19: .size sr14141461461414, .Lfunc_end19-sr14141461461414 @@ -1653,67 +1460,67 @@ uq77777777: # @uq77777777 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_u $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.const $push15=, 7 - i32.div_u $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.div_u $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 7 - i32.div_u $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.div_u $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 7 - i32.div_u $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.div_u $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 7 - i32.div_u $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.div_u $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 7 - i32.div_u $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.div_u $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 7 - i32.div_u $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.div_u $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 7 - i32.div_u $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.div_u $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 7 - i32.div_u $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.div_u $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end20: .size uq77777777, .Lfunc_end20-uq77777777 @@ -1726,67 +1533,67 @@ ur77777777: # @ur77777777 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_u $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_u $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_u $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_u $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_u $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_u $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_u $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_u $8=, 0($pop13) i32.load16_u $push14=, 0($1) i32.const $push15=, 7 - i32.rem_u $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.rem_u $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 7 - i32.rem_u $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.rem_u $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 7 - i32.rem_u $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.rem_u $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 7 - i32.rem_u $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.rem_u $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 7 - i32.rem_u $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.rem_u $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 7 - i32.rem_u $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.rem_u $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 7 - i32.rem_u $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.rem_u $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 7 - i32.rem_u $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.rem_u $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end21: .size ur77777777, .Lfunc_end21-ur77777777 @@ -1799,67 +1606,67 @@ sq77777777: # @sq77777777 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_s $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_s $8=, 0($pop13) i32.load16_s $push14=, 0($1) i32.const $push15=, 7 - i32.div_s $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.div_s $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 7 - i32.div_s $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.div_s $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 7 - i32.div_s $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.div_s $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 7 - i32.div_s $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.div_s $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 7 - i32.div_s $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.div_s $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 7 - i32.div_s $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.div_s $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 7 - i32.div_s $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.div_s $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 7 - i32.div_s $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.div_s $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end22: .size sq77777777, .Lfunc_end22-sq77777777 @@ -1872,67 +1679,67 @@ sr77777777: # @sr77777777 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 14 + i32.const $push0=, 2 i32.add $push1=, $1, $pop0 i32.load16_s $2=, 0($pop1) - i32.const $push2=, 12 + i32.const $push2=, 4 i32.add $push3=, $1, $pop2 i32.load16_s $3=, 0($pop3) - i32.const $push4=, 10 + i32.const $push4=, 6 i32.add $push5=, $1, $pop4 i32.load16_s $4=, 0($pop5) i32.const $push6=, 8 i32.add $push7=, $1, $pop6 i32.load16_s $5=, 0($pop7) - i32.const $push8=, 6 + i32.const $push8=, 10 i32.add $push9=, $1, $pop8 i32.load16_s $6=, 0($pop9) - i32.const $push12=, 2 - i32.add $push13=, $1, $pop12 - i32.load16_s $8=, 0($pop13) - i32.const $push10=, 4 + i32.const $push10=, 12 i32.add $push11=, $1, $pop10 i32.load16_s $7=, 0($pop11) + i32.const $push12=, 14 + i32.add $push13=, $1, $pop12 + i32.load16_s $8=, 0($pop13) i32.load16_s $push14=, 0($1) i32.const $push15=, 7 - i32.rem_s $push23=, $pop14, $pop15 - i32.store16 $drop=, 0($0), $pop23 + i32.rem_s $push16=, $pop14, $pop15 + i32.store16 $drop=, 0($0), $pop16 i32.const $push44=, 14 - i32.add $push24=, $0, $pop44 + i32.add $push17=, $0, $pop44 i32.const $push43=, 7 - i32.rem_s $push22=, $2, $pop43 - i32.store16 $drop=, 0($pop24), $pop22 + i32.rem_s $push18=, $8, $pop43 + i32.store16 $drop=, 0($pop17), $pop18 i32.const $push42=, 12 - i32.add $push25=, $0, $pop42 + i32.add $push19=, $0, $pop42 i32.const $push41=, 7 - i32.rem_s $push21=, $3, $pop41 - i32.store16 $drop=, 0($pop25), $pop21 + i32.rem_s $push20=, $7, $pop41 + i32.store16 $drop=, 0($pop19), $pop20 i32.const $push40=, 10 - i32.add $push26=, $0, $pop40 + i32.add $push21=, $0, $pop40 i32.const $push39=, 7 - i32.rem_s $push20=, $4, $pop39 - i32.store16 $drop=, 0($pop26), $pop20 + i32.rem_s $push22=, $6, $pop39 + i32.store16 $drop=, 0($pop21), $pop22 i32.const $push38=, 8 - i32.add $push27=, $0, $pop38 + i32.add $push23=, $0, $pop38 i32.const $push37=, 7 - i32.rem_s $push19=, $5, $pop37 - i32.store16 $drop=, 0($pop27), $pop19 + i32.rem_s $push24=, $5, $pop37 + i32.store16 $drop=, 0($pop23), $pop24 i32.const $push36=, 6 - i32.add $push28=, $0, $pop36 + i32.add $push25=, $0, $pop36 i32.const $push35=, 7 - i32.rem_s $push18=, $6, $pop35 - i32.store16 $drop=, 0($pop28), $pop18 + i32.rem_s $push26=, $4, $pop35 + i32.store16 $drop=, 0($pop25), $pop26 i32.const $push34=, 4 - i32.add $push29=, $0, $pop34 + i32.add $push27=, $0, $pop34 i32.const $push33=, 7 - i32.rem_s $push17=, $7, $pop33 - i32.store16 $drop=, 0($pop29), $pop17 + i32.rem_s $push28=, $3, $pop33 + i32.store16 $drop=, 0($pop27), $pop28 i32.const $push32=, 2 - i32.add $push30=, $0, $pop32 + i32.add $push29=, $0, $pop32 i32.const $push31=, 7 - i32.rem_s $push16=, $8, $pop31 - i32.store16 $drop=, 0($pop30), $pop16 - return + i32.rem_s $push30=, $2, $pop31 + i32.store16 $drop=, 0($pop29), $pop30 + # fallthrough-return .endfunc .Lfunc_end23: .size sr77777777, .Lfunc_end23-sr77777777 @@ -1943,1262 +1750,1263 @@ sr77777777: # @sr77777777 .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push1110=, __stack_pointer - i32.const $push1107=, __stack_pointer - i32.load $push1108=, 0($pop1107) - i32.const $push1109=, 32 - i32.sub $push1234=, $pop1108, $pop1109 - i32.store $0=, 0($pop1110), $pop1234 - i32.const $3=, 0 + i32.const $push1044=, 0 + i32.const $push1041=, 0 + i32.load $push1042=, __stack_pointer($pop1041) + i32.const $push1043=, 32 + i32.sub $push1168=, $pop1042, $pop1043 + i32.store $0=, __stack_pointer($pop1044), $pop1168 + i32.const $2=, 0 i32.const $1=, u .LBB24_1: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label1: - i32.const $push1114=, 16 - i32.add $push1115=, $0, $pop1114 - call uq44444444@FUNCTION, $pop1115, $1 + i32.const $push1048=, 16 + i32.add $push1049=, $0, $pop1048 + call uq44444444@FUNCTION, $pop1049, $1 i32.load16_u $push0=, 16($0) i32.load16_u $push2=, 0($1) - i32.const $push1235=, 2 - i32.shr_u $push366=, $pop2, $pop1235 - i32.ne $push367=, $pop0, $pop366 - br_if 2, $pop367 # 2: down to label0 + i32.const $push1169=, 2 + i32.shr_u $push380=, $pop2, $pop1169 + i32.ne $push381=, $pop0, $pop380 + br_if 2, $pop381 # 2: down to label0 # BB#2: # %lor.lhs.false # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push1=, 22($0) - i32.const $push1241=, 65535 - i32.and $push368=, $pop1, $pop1241 - i32.const $push1240=, 6 - i32.add $push1239=, $1, $pop1240 - tee_local $push1238=, $4=, $pop1239 - i32.load16_u $push3=, 0($pop1238) - i32.const $push1237=, 65532 - i32.and $push369=, $pop3, $pop1237 - i32.const $push1236=, 2 - i32.shr_u $push370=, $pop369, $pop1236 - i32.ne $push371=, $pop368, $pop370 - br_if 2, $pop371 # 2: down to label0 + i32.const $push1175=, 65535 + i32.and $push382=, $pop1, $pop1175 + i32.const $push1174=, 6 + i32.add $push1173=, $1, $pop1174 + tee_local $push1172=, $3=, $pop1173 + i32.load16_u $push3=, 0($pop1172) + i32.const $push1171=, 65532 + i32.and $push383=, $pop3, $pop1171 + i32.const $push1170=, 2 + i32.shr_u $push384=, $pop383, $pop1170 + i32.ne $push385=, $pop382, $pop384 + br_if 2, $pop385 # 2: down to label0 # BB#3: # %if.end # in Loop: Header=BB24_1 Depth=1 - i32.const $push1116=, 16 - i32.add $push1117=, $0, $pop1116 - copy_local $5=, $pop1117 + i32.const $push1050=, 16 + i32.add $push1051=, $0, $pop1050 + copy_local $4=, $pop1051 #APP #NO_APP i32.load16_u $push5=, 20($0) - i32.const $push1245=, 4 - i32.add $push1244=, $1, $pop1245 - tee_local $push1243=, $5=, $pop1244 - i32.load16_u $push7=, 0($pop1243) - i32.const $push1242=, 2 - i32.shr_u $push372=, $pop7, $pop1242 - i32.ne $push373=, $pop5, $pop372 - br_if 2, $pop373 # 2: down to label0 + i32.const $push1179=, 4 + i32.add $push1178=, $1, $pop1179 + tee_local $push1177=, $4=, $pop1178 + i32.load16_u $push7=, 0($pop1177) + i32.const $push1176=, 2 + i32.shr_u $push386=, $pop7, $pop1176 + i32.ne $push387=, $pop5, $pop386 + br_if 2, $pop387 # 2: down to label0 # BB#4: # %lor.lhs.false21 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push4=, 18($0) - i32.const $push1251=, 65535 - i32.and $push374=, $pop4, $pop1251 - i32.const $push1250=, 2 - i32.add $push1249=, $1, $pop1250 - tee_local $push1248=, $6=, $pop1249 - i32.load16_u $push6=, 0($pop1248) - i32.const $push1247=, 65532 - i32.and $push375=, $pop6, $pop1247 - i32.const $push1246=, 2 - i32.shr_u $push376=, $pop375, $pop1246 - i32.ne $push377=, $pop374, $pop376 - br_if 2, $pop377 # 2: down to label0 + i32.const $push1185=, 65535 + i32.and $push388=, $pop4, $pop1185 + i32.const $push1184=, 2 + i32.add $push1183=, $1, $pop1184 + tee_local $push1182=, $5=, $pop1183 + i32.load16_u $push6=, 0($pop1182) + i32.const $push1181=, 65532 + i32.and $push389=, $pop6, $pop1181 + i32.const $push1180=, 2 + i32.shr_u $push390=, $pop389, $pop1180 + i32.ne $push391=, $pop388, $pop390 + br_if 2, $pop391 # 2: down to label0 # BB#5: # %if.end31 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1118=, 16 - i32.add $push1119=, $0, $pop1118 - copy_local $7=, $pop1119 + i32.const $push1052=, 16 + i32.add $push1053=, $0, $pop1052 + copy_local $6=, $pop1053 #APP #NO_APP i32.load16_u $push8=, 24($0) - i32.const $push1255=, 8 - i32.add $push1254=, $1, $pop1255 - tee_local $push1253=, $7=, $pop1254 - i32.load16_u $push10=, 0($pop1253) - i32.const $push1252=, 2 - i32.shr_u $push378=, $pop10, $pop1252 - i32.ne $push379=, $pop8, $pop378 - br_if 2, $pop379 # 2: down to label0 + i32.const $push1189=, 8 + i32.add $push1188=, $1, $pop1189 + tee_local $push1187=, $6=, $pop1188 + i32.load16_u $push10=, 0($pop1187) + i32.const $push1186=, 2 + i32.shr_u $push392=, $pop10, $pop1186 + i32.ne $push393=, $pop8, $pop392 + br_if 2, $pop393 # 2: down to label0 # BB#6: # %lor.lhs.false40 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push9=, 30($0) - i32.const $push1261=, 65535 - i32.and $push380=, $pop9, $pop1261 - i32.const $push1260=, 14 - i32.add $push1259=, $1, $pop1260 - tee_local $push1258=, $8=, $pop1259 - i32.load16_u $push11=, 0($pop1258) - i32.const $push1257=, 65532 - i32.and $push381=, $pop11, $pop1257 - i32.const $push1256=, 2 - i32.shr_u $push382=, $pop381, $pop1256 - i32.ne $push383=, $pop380, $pop382 - br_if 2, $pop383 # 2: down to label0 + i32.const $push1195=, 65535 + i32.and $push394=, $pop9, $pop1195 + i32.const $push1194=, 14 + i32.add $push1193=, $1, $pop1194 + tee_local $push1192=, $7=, $pop1193 + i32.load16_u $push11=, 0($pop1192) + i32.const $push1191=, 65532 + i32.and $push395=, $pop11, $pop1191 + i32.const $push1190=, 2 + i32.shr_u $push396=, $pop395, $pop1190 + i32.ne $push397=, $pop394, $pop396 + br_if 2, $pop397 # 2: down to label0 # BB#7: # %if.end50 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1120=, 16 - i32.add $push1121=, $0, $pop1120 - copy_local $9=, $pop1121 + i32.const $push1054=, 16 + i32.add $push1055=, $0, $pop1054 + copy_local $8=, $pop1055 #APP #NO_APP i32.load16_u $push13=, 28($0) - i32.const $push1265=, 12 - i32.add $push1264=, $1, $pop1265 - tee_local $push1263=, $9=, $pop1264 - i32.load16_u $push15=, 0($pop1263) - i32.const $push1262=, 2 - i32.shr_u $push384=, $pop15, $pop1262 - i32.ne $push385=, $pop13, $pop384 - br_if 2, $pop385 # 2: down to label0 + i32.const $push1199=, 12 + i32.add $push1198=, $1, $pop1199 + tee_local $push1197=, $8=, $pop1198 + i32.load16_u $push15=, 0($pop1197) + i32.const $push1196=, 2 + i32.shr_u $push398=, $pop15, $pop1196 + i32.ne $push399=, $pop13, $pop398 + br_if 2, $pop399 # 2: down to label0 # BB#8: # %lor.lhs.false59 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push12=, 26($0) - i32.const $push1271=, 65535 - i32.and $push386=, $pop12, $pop1271 - i32.const $push1270=, 10 - i32.add $push1269=, $1, $pop1270 - tee_local $push1268=, $10=, $pop1269 - i32.load16_u $push14=, 0($pop1268) - i32.const $push1267=, 65532 - i32.and $push387=, $pop14, $pop1267 - i32.const $push1266=, 2 - i32.shr_u $push388=, $pop387, $pop1266 - i32.ne $push389=, $pop386, $pop388 - br_if 2, $pop389 # 2: down to label0 + i32.const $push1205=, 65535 + i32.and $push400=, $pop12, $pop1205 + i32.const $push1204=, 10 + i32.add $push1203=, $1, $pop1204 + tee_local $push1202=, $9=, $pop1203 + i32.load16_u $push14=, 0($pop1202) + i32.const $push1201=, 65532 + i32.and $push401=, $pop14, $pop1201 + i32.const $push1200=, 2 + i32.shr_u $push402=, $pop401, $pop1200 + i32.ne $push403=, $pop400, $pop402 + br_if 2, $pop403 # 2: down to label0 # BB#9: # %if.end69 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1122=, 16 - i32.add $push1123=, $0, $pop1122 - copy_local $2=, $pop1123 + i32.const $push1056=, 16 + i32.add $push1057=, $0, $pop1056 + copy_local $10=, $pop1057 #APP #NO_APP - i32.const $push1124=, 16 - i32.add $push1125=, $0, $pop1124 - call ur44444444@FUNCTION, $pop1125, $1 + i32.const $push1058=, 16 + i32.add $push1059=, $0, $pop1058 + call ur44444444@FUNCTION, $pop1059, $1 i32.load16_u $push16=, 16($0) i32.load16_u $push18=, 0($1) - i32.const $push1272=, 3 - i32.and $push390=, $pop18, $pop1272 - i32.ne $push391=, $pop16, $pop390 - br_if 2, $pop391 # 2: down to label0 + i32.const $push1206=, 3 + i32.and $push404=, $pop18, $pop1206 + i32.ne $push405=, $pop16, $pop404 + br_if 2, $pop405 # 2: down to label0 # BB#10: # %lor.lhs.false78 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push17=, 22($0) - i32.const $push1274=, 65535 - i32.and $push392=, $pop17, $pop1274 - i32.load16_u $push19=, 0($4) - i32.const $push1273=, 3 - i32.and $push393=, $pop19, $pop1273 - i32.ne $push394=, $pop392, $pop393 - br_if 2, $pop394 # 2: down to label0 + i32.const $push1208=, 65535 + i32.and $push407=, $pop17, $pop1208 + i32.load16_u $push19=, 0($3) + i32.const $push1207=, 3 + i32.and $push406=, $pop19, $pop1207 + i32.ne $push408=, $pop407, $pop406 + br_if 2, $pop408 # 2: down to label0 # BB#11: # %if.end88 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1126=, 16 - i32.add $push1127=, $0, $pop1126 - copy_local $2=, $pop1127 + i32.const $push1060=, 16 + i32.add $push1061=, $0, $pop1060 + copy_local $10=, $pop1061 #APP #NO_APP i32.load16_u $push21=, 20($0) - i32.load16_u $push23=, 0($5) - i32.const $push1275=, 3 - i32.and $push395=, $pop23, $pop1275 - i32.ne $push396=, $pop21, $pop395 - br_if 2, $pop396 # 2: down to label0 + i32.load16_u $push23=, 0($4) + i32.const $push1209=, 3 + i32.and $push409=, $pop23, $pop1209 + i32.ne $push410=, $pop21, $pop409 + br_if 2, $pop410 # 2: down to label0 # BB#12: # %lor.lhs.false97 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push20=, 18($0) - i32.const $push1277=, 65535 - i32.and $push397=, $pop20, $pop1277 - i32.load16_u $push22=, 0($6) - i32.const $push1276=, 3 - i32.and $push398=, $pop22, $pop1276 - i32.ne $push399=, $pop397, $pop398 - br_if 2, $pop399 # 2: down to label0 + i32.const $push1211=, 65535 + i32.and $push412=, $pop20, $pop1211 + i32.load16_u $push22=, 0($5) + i32.const $push1210=, 3 + i32.and $push411=, $pop22, $pop1210 + i32.ne $push413=, $pop412, $pop411 + br_if 2, $pop413 # 2: down to label0 # BB#13: # %if.end107 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1128=, 16 - i32.add $push1129=, $0, $pop1128 - copy_local $2=, $pop1129 + i32.const $push1062=, 16 + i32.add $push1063=, $0, $pop1062 + copy_local $10=, $pop1063 #APP #NO_APP i32.load16_u $push24=, 24($0) - i32.load16_u $push26=, 0($7) - i32.const $push1278=, 3 - i32.and $push400=, $pop26, $pop1278 - i32.ne $push401=, $pop24, $pop400 - br_if 2, $pop401 # 2: down to label0 + i32.load16_u $push26=, 0($6) + i32.const $push1212=, 3 + i32.and $push414=, $pop26, $pop1212 + i32.ne $push415=, $pop24, $pop414 + br_if 2, $pop415 # 2: down to label0 # BB#14: # %lor.lhs.false116 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push25=, 30($0) - i32.const $push1280=, 65535 - i32.and $push402=, $pop25, $pop1280 - i32.load16_u $push27=, 0($8) - i32.const $push1279=, 3 - i32.and $push403=, $pop27, $pop1279 - i32.ne $push404=, $pop402, $pop403 - br_if 2, $pop404 # 2: down to label0 + i32.const $push1214=, 65535 + i32.and $push417=, $pop25, $pop1214 + i32.load16_u $push27=, 0($7) + i32.const $push1213=, 3 + i32.and $push416=, $pop27, $pop1213 + i32.ne $push418=, $pop417, $pop416 + br_if 2, $pop418 # 2: down to label0 # BB#15: # %if.end126 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1130=, 16 - i32.add $push1131=, $0, $pop1130 - copy_local $2=, $pop1131 + i32.const $push1064=, 16 + i32.add $push1065=, $0, $pop1064 + copy_local $10=, $pop1065 #APP #NO_APP i32.load16_u $push29=, 28($0) - i32.load16_u $push31=, 0($9) - i32.const $push1281=, 3 - i32.and $push405=, $pop31, $pop1281 - i32.ne $push406=, $pop29, $pop405 - br_if 2, $pop406 # 2: down to label0 + i32.load16_u $push31=, 0($8) + i32.const $push1215=, 3 + i32.and $push419=, $pop31, $pop1215 + i32.ne $push420=, $pop29, $pop419 + br_if 2, $pop420 # 2: down to label0 # BB#16: # %lor.lhs.false135 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push28=, 26($0) - i32.const $push1283=, 65535 - i32.and $push407=, $pop28, $pop1283 - i32.load16_u $push30=, 0($10) - i32.const $push1282=, 3 - i32.and $push408=, $pop30, $pop1282 - i32.ne $push409=, $pop407, $pop408 - br_if 2, $pop409 # 2: down to label0 + i32.const $push1217=, 65535 + i32.and $push422=, $pop28, $pop1217 + i32.load16_u $push30=, 0($9) + i32.const $push1216=, 3 + i32.and $push421=, $pop30, $pop1216 + i32.ne $push423=, $pop422, $pop421 + br_if 2, $pop423 # 2: down to label0 # BB#17: # %if.end145 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1132=, 16 - i32.add $push1133=, $0, $pop1132 - copy_local $2=, $pop1133 + i32.const $push1066=, 16 + i32.add $push1067=, $0, $pop1066 + copy_local $10=, $pop1067 #APP #NO_APP - i32.const $push1134=, 16 - i32.add $push1135=, $0, $pop1134 - call uq1428166432128@FUNCTION, $pop1135, $1 + i32.const $push1068=, 16 + i32.add $push1069=, $0, $pop1068 + call uq1428166432128@FUNCTION, $pop1069, $1 i32.load16_u $push32=, 16($0) i32.load16_u $push34=, 0($1) - i32.ne $push410=, $pop32, $pop34 - br_if 2, $pop410 # 2: down to label0 + i32.ne $push424=, $pop32, $pop34 + br_if 2, $pop424 # 2: down to label0 # BB#18: # %lor.lhs.false155 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push33=, 22($0) - i32.const $push1286=, 65535 - i32.and $push411=, $pop33, $pop1286 - i32.load16_u $push35=, 0($4) - i32.const $push1285=, 65528 - i32.and $push412=, $pop35, $pop1285 - i32.const $push1284=, 3 - i32.shr_u $push413=, $pop412, $pop1284 - i32.ne $push414=, $pop411, $pop413 - br_if 2, $pop414 # 2: down to label0 + i32.const $push1220=, 65535 + i32.and $push425=, $pop33, $pop1220 + i32.load16_u $push35=, 0($3) + i32.const $push1219=, 65528 + i32.and $push426=, $pop35, $pop1219 + i32.const $push1218=, 3 + i32.shr_u $push427=, $pop426, $pop1218 + i32.ne $push428=, $pop425, $pop427 + br_if 2, $pop428 # 2: down to label0 # BB#19: # %if.end165 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1136=, 16 - i32.add $push1137=, $0, $pop1136 - copy_local $2=, $pop1137 + i32.const $push1070=, 16 + i32.add $push1071=, $0, $pop1070 + copy_local $10=, $pop1071 #APP #NO_APP i32.load16_u $push37=, 20($0) - i32.load16_u $push39=, 0($5) - i32.const $push1287=, 1 - i32.shr_u $push415=, $pop39, $pop1287 - i32.ne $push416=, $pop37, $pop415 - br_if 2, $pop416 # 2: down to label0 + i32.load16_u $push39=, 0($4) + i32.const $push1221=, 1 + i32.shr_u $push429=, $pop39, $pop1221 + i32.ne $push430=, $pop37, $pop429 + br_if 2, $pop430 # 2: down to label0 # BB#20: # %lor.lhs.false174 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push36=, 18($0) - i32.const $push1290=, 65535 - i32.and $push417=, $pop36, $pop1290 - i32.load16_u $push38=, 0($6) - i32.const $push1289=, 65532 - i32.and $push418=, $pop38, $pop1289 - i32.const $push1288=, 2 - i32.shr_u $push419=, $pop418, $pop1288 - i32.ne $push420=, $pop417, $pop419 - br_if 2, $pop420 # 2: down to label0 + i32.const $push1224=, 65535 + i32.and $push431=, $pop36, $pop1224 + i32.load16_u $push38=, 0($5) + i32.const $push1223=, 65532 + i32.and $push432=, $pop38, $pop1223 + i32.const $push1222=, 2 + i32.shr_u $push433=, $pop432, $pop1222 + i32.ne $push434=, $pop431, $pop433 + br_if 2, $pop434 # 2: down to label0 # BB#21: # %if.end184 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1138=, 16 - i32.add $push1139=, $0, $pop1138 - copy_local $2=, $pop1139 + i32.const $push1072=, 16 + i32.add $push1073=, $0, $pop1072 + copy_local $10=, $pop1073 #APP #NO_APP i32.load16_u $push40=, 24($0) - i32.load16_u $push42=, 0($7) - i32.const $push1291=, 4 - i32.shr_u $push421=, $pop42, $pop1291 - i32.ne $push422=, $pop40, $pop421 - br_if 2, $pop422 # 2: down to label0 + i32.load16_u $push42=, 0($6) + i32.const $push1225=, 4 + i32.shr_u $push435=, $pop42, $pop1225 + i32.ne $push436=, $pop40, $pop435 + br_if 2, $pop436 # 2: down to label0 # BB#22: # %lor.lhs.false193 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push41=, 30($0) - i32.const $push1294=, 65535 - i32.and $push423=, $pop41, $pop1294 - i32.load16_u $push43=, 0($8) - i32.const $push1293=, 65408 - i32.and $push424=, $pop43, $pop1293 - i32.const $push1292=, 7 - i32.shr_u $push425=, $pop424, $pop1292 - i32.ne $push426=, $pop423, $pop425 - br_if 2, $pop426 # 2: down to label0 + i32.const $push1228=, 65535 + i32.and $push437=, $pop41, $pop1228 + i32.load16_u $push43=, 0($7) + i32.const $push1227=, 65408 + i32.and $push438=, $pop43, $pop1227 + i32.const $push1226=, 7 + i32.shr_u $push439=, $pop438, $pop1226 + i32.ne $push440=, $pop437, $pop439 + br_if 2, $pop440 # 2: down to label0 # BB#23: # %if.end203 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1140=, 16 - i32.add $push1141=, $0, $pop1140 - copy_local $2=, $pop1141 + i32.const $push1074=, 16 + i32.add $push1075=, $0, $pop1074 + copy_local $10=, $pop1075 #APP #NO_APP i32.load16_u $push45=, 28($0) - i32.load16_u $push47=, 0($9) - i32.const $push1295=, 5 - i32.shr_u $push427=, $pop47, $pop1295 - i32.ne $push428=, $pop45, $pop427 - br_if 2, $pop428 # 2: down to label0 + i32.load16_u $push47=, 0($8) + i32.const $push1229=, 5 + i32.shr_u $push441=, $pop47, $pop1229 + i32.ne $push442=, $pop45, $pop441 + br_if 2, $pop442 # 2: down to label0 # BB#24: # %lor.lhs.false212 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push44=, 26($0) - i32.const $push1298=, 65535 - i32.and $push429=, $pop44, $pop1298 - i32.load16_u $push46=, 0($10) - i32.const $push1297=, 65472 - i32.and $push430=, $pop46, $pop1297 - i32.const $push1296=, 6 - i32.shr_u $push431=, $pop430, $pop1296 - i32.ne $push432=, $pop429, $pop431 - br_if 2, $pop432 # 2: down to label0 + i32.const $push1232=, 65535 + i32.and $push443=, $pop44, $pop1232 + i32.load16_u $push46=, 0($9) + i32.const $push1231=, 65472 + i32.and $push444=, $pop46, $pop1231 + i32.const $push1230=, 6 + i32.shr_u $push445=, $pop444, $pop1230 + i32.ne $push446=, $pop443, $pop445 + br_if 2, $pop446 # 2: down to label0 # BB#25: # %if.end222 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1142=, 16 - i32.add $push1143=, $0, $pop1142 - copy_local $2=, $pop1143 + i32.const $push1076=, 16 + i32.add $push1077=, $0, $pop1076 + copy_local $10=, $pop1077 #APP #NO_APP - i32.const $push1144=, 16 - i32.add $push1145=, $0, $pop1144 - call ur1428166432128@FUNCTION, $pop1145, $1 + i32.const $push1078=, 16 + i32.add $push1079=, $0, $pop1078 + call ur1428166432128@FUNCTION, $pop1079, $1 i32.load16_u $push48=, 16($0) br_if 2, $pop48 # 2: down to label0 # BB#26: # %lor.lhs.false232 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push49=, 22($0) - i32.const $push1300=, 65535 - i32.and $push434=, $pop49, $pop1300 - i32.load16_u $push433=, 0($4) - i32.const $push1299=, 7 - i32.and $push435=, $pop433, $pop1299 - i32.ne $push436=, $pop434, $pop435 - br_if 2, $pop436 # 2: down to label0 + i32.const $push1234=, 65535 + i32.and $push449=, $pop49, $pop1234 + i32.load16_u $push447=, 0($3) + i32.const $push1233=, 7 + i32.and $push448=, $pop447, $pop1233 + i32.ne $push450=, $pop449, $pop448 + br_if 2, $pop450 # 2: down to label0 # BB#27: # %if.end242 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1146=, 16 - i32.add $push1147=, $0, $pop1146 - copy_local $2=, $pop1147 + i32.const $push1080=, 16 + i32.add $push1081=, $0, $pop1080 + copy_local $10=, $pop1081 #APP #NO_APP i32.load16_u $push51=, 20($0) - i32.load16_u $push53=, 0($5) - i32.const $push1301=, 1 - i32.and $push437=, $pop53, $pop1301 - i32.ne $push438=, $pop51, $pop437 - br_if 2, $pop438 # 2: down to label0 + i32.load16_u $push53=, 0($4) + i32.const $push1235=, 1 + i32.and $push451=, $pop53, $pop1235 + i32.ne $push452=, $pop51, $pop451 + br_if 2, $pop452 # 2: down to label0 # BB#28: # %lor.lhs.false251 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push50=, 18($0) - i32.const $push1303=, 65535 - i32.and $push439=, $pop50, $pop1303 - i32.load16_u $push52=, 0($6) - i32.const $push1302=, 3 - i32.and $push440=, $pop52, $pop1302 - i32.ne $push441=, $pop439, $pop440 - br_if 2, $pop441 # 2: down to label0 + i32.const $push1237=, 65535 + i32.and $push454=, $pop50, $pop1237 + i32.load16_u $push52=, 0($5) + i32.const $push1236=, 3 + i32.and $push453=, $pop52, $pop1236 + i32.ne $push455=, $pop454, $pop453 + br_if 2, $pop455 # 2: down to label0 # BB#29: # %if.end261 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1148=, 16 - i32.add $push1149=, $0, $pop1148 - copy_local $2=, $pop1149 + i32.const $push1082=, 16 + i32.add $push1083=, $0, $pop1082 + copy_local $10=, $pop1083 #APP #NO_APP i32.load16_u $push54=, 24($0) - i32.load16_u $push56=, 0($7) - i32.const $push1304=, 15 - i32.and $push442=, $pop56, $pop1304 - i32.ne $push443=, $pop54, $pop442 - br_if 2, $pop443 # 2: down to label0 + i32.load16_u $push56=, 0($6) + i32.const $push1238=, 15 + i32.and $push456=, $pop56, $pop1238 + i32.ne $push457=, $pop54, $pop456 + br_if 2, $pop457 # 2: down to label0 # BB#30: # %lor.lhs.false270 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push55=, 30($0) - i32.const $push1306=, 65535 - i32.and $push444=, $pop55, $pop1306 - i32.load16_u $push57=, 0($8) - i32.const $push1305=, 127 - i32.and $push445=, $pop57, $pop1305 - i32.ne $push446=, $pop444, $pop445 - br_if 2, $pop446 # 2: down to label0 + i32.const $push1240=, 65535 + i32.and $push459=, $pop55, $pop1240 + i32.load16_u $push57=, 0($7) + i32.const $push1239=, 127 + i32.and $push458=, $pop57, $pop1239 + i32.ne $push460=, $pop459, $pop458 + br_if 2, $pop460 # 2: down to label0 # BB#31: # %if.end280 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1150=, 16 - i32.add $push1151=, $0, $pop1150 - copy_local $2=, $pop1151 + i32.const $push1084=, 16 + i32.add $push1085=, $0, $pop1084 + copy_local $10=, $pop1085 #APP #NO_APP i32.load16_u $push59=, 28($0) - i32.load16_u $push61=, 0($9) - i32.const $push1307=, 31 - i32.and $push447=, $pop61, $pop1307 - i32.ne $push448=, $pop59, $pop447 - br_if 2, $pop448 # 2: down to label0 + i32.load16_u $push61=, 0($8) + i32.const $push1241=, 31 + i32.and $push461=, $pop61, $pop1241 + i32.ne $push462=, $pop59, $pop461 + br_if 2, $pop462 # 2: down to label0 # BB#32: # %lor.lhs.false289 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push58=, 26($0) - i32.const $push1309=, 65535 - i32.and $push449=, $pop58, $pop1309 - i32.load16_u $push60=, 0($10) - i32.const $push1308=, 63 - i32.and $push450=, $pop60, $pop1308 - i32.ne $push451=, $pop449, $pop450 - br_if 2, $pop451 # 2: down to label0 + i32.const $push1243=, 65535 + i32.and $push464=, $pop58, $pop1243 + i32.load16_u $push60=, 0($9) + i32.const $push1242=, 63 + i32.and $push463=, $pop60, $pop1242 + i32.ne $push465=, $pop464, $pop463 + br_if 2, $pop465 # 2: down to label0 # BB#33: # %if.end299 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1152=, 16 - i32.add $push1153=, $0, $pop1152 - copy_local $2=, $pop1153 + i32.const $push1086=, 16 + i32.add $push1087=, $0, $pop1086 + copy_local $10=, $pop1087 #APP #NO_APP - i32.const $push1154=, 16 - i32.add $push1155=, $0, $pop1154 - call uq33333333@FUNCTION, $pop1155, $1 + i32.const $push1088=, 16 + i32.add $push1089=, $0, $pop1088 + call uq33333333@FUNCTION, $pop1089, $1 i32.load16_u $push62=, 16($0) i32.load16_u $push64=, 0($1) - i32.const $push1310=, 3 - i32.div_u $push452=, $pop64, $pop1310 - i32.ne $push453=, $pop62, $pop452 - br_if 2, $pop453 # 2: down to label0 + i32.const $push1244=, 3 + i32.div_u $push466=, $pop64, $pop1244 + i32.ne $push467=, $pop62, $pop466 + br_if 2, $pop467 # 2: down to label0 # BB#34: # %lor.lhs.false309 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push63=, 22($0) - i32.const $push1313=, 65535 - i32.and $push454=, $pop63, $pop1313 - i32.load16_u $push65=, 0($4) - i32.const $push1312=, 65535 - i32.and $push455=, $pop65, $pop1312 - i32.const $push1311=, 3 - i32.div_u $push456=, $pop455, $pop1311 - i32.ne $push457=, $pop454, $pop456 - br_if 2, $pop457 # 2: down to label0 + i32.const $push1247=, 65535 + i32.and $push468=, $pop63, $pop1247 + i32.load16_u $push65=, 0($3) + i32.const $push1246=, 65535 + i32.and $push469=, $pop65, $pop1246 + i32.const $push1245=, 3 + i32.div_u $push470=, $pop469, $pop1245 + i32.ne $push471=, $pop468, $pop470 + br_if 2, $pop471 # 2: down to label0 # BB#35: # %if.end319 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1156=, 16 - i32.add $push1157=, $0, $pop1156 - copy_local $2=, $pop1157 + i32.const $push1090=, 16 + i32.add $push1091=, $0, $pop1090 + copy_local $10=, $pop1091 #APP #NO_APP i32.load16_u $push67=, 20($0) - i32.load16_u $push69=, 0($5) - i32.const $push1314=, 3 - i32.div_u $push458=, $pop69, $pop1314 - i32.ne $push459=, $pop67, $pop458 - br_if 2, $pop459 # 2: down to label0 + i32.load16_u $push69=, 0($4) + i32.const $push1248=, 3 + i32.div_u $push472=, $pop69, $pop1248 + i32.ne $push473=, $pop67, $pop472 + br_if 2, $pop473 # 2: down to label0 # BB#36: # %lor.lhs.false328 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push66=, 18($0) - i32.const $push1317=, 65535 - i32.and $push460=, $pop66, $pop1317 - i32.load16_u $push68=, 0($6) - i32.const $push1316=, 65535 - i32.and $push461=, $pop68, $pop1316 - i32.const $push1315=, 3 - i32.div_u $push462=, $pop461, $pop1315 - i32.ne $push463=, $pop460, $pop462 - br_if 2, $pop463 # 2: down to label0 + i32.const $push1251=, 65535 + i32.and $push474=, $pop66, $pop1251 + i32.load16_u $push68=, 0($5) + i32.const $push1250=, 65535 + i32.and $push475=, $pop68, $pop1250 + i32.const $push1249=, 3 + i32.div_u $push476=, $pop475, $pop1249 + i32.ne $push477=, $pop474, $pop476 + br_if 2, $pop477 # 2: down to label0 # BB#37: # %if.end338 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1158=, 16 - i32.add $push1159=, $0, $pop1158 - copy_local $2=, $pop1159 + i32.const $push1092=, 16 + i32.add $push1093=, $0, $pop1092 + copy_local $10=, $pop1093 #APP #NO_APP i32.load16_u $push70=, 24($0) - i32.load16_u $push72=, 0($7) - i32.const $push1318=, 3 - i32.div_u $push464=, $pop72, $pop1318 - i32.ne $push465=, $pop70, $pop464 - br_if 2, $pop465 # 2: down to label0 + i32.load16_u $push72=, 0($6) + i32.const $push1252=, 3 + i32.div_u $push478=, $pop72, $pop1252 + i32.ne $push479=, $pop70, $pop478 + br_if 2, $pop479 # 2: down to label0 # BB#38: # %lor.lhs.false347 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push71=, 30($0) - i32.const $push1321=, 65535 - i32.and $push466=, $pop71, $pop1321 - i32.load16_u $push73=, 0($8) - i32.const $push1320=, 65535 - i32.and $push467=, $pop73, $pop1320 - i32.const $push1319=, 3 - i32.div_u $push468=, $pop467, $pop1319 - i32.ne $push469=, $pop466, $pop468 - br_if 2, $pop469 # 2: down to label0 + i32.const $push1255=, 65535 + i32.and $push480=, $pop71, $pop1255 + i32.load16_u $push73=, 0($7) + i32.const $push1254=, 65535 + i32.and $push481=, $pop73, $pop1254 + i32.const $push1253=, 3 + i32.div_u $push482=, $pop481, $pop1253 + i32.ne $push483=, $pop480, $pop482 + br_if 2, $pop483 # 2: down to label0 # BB#39: # %if.end357 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1160=, 16 - i32.add $push1161=, $0, $pop1160 - copy_local $2=, $pop1161 + i32.const $push1094=, 16 + i32.add $push1095=, $0, $pop1094 + copy_local $10=, $pop1095 #APP #NO_APP i32.load16_u $push75=, 28($0) - i32.load16_u $push77=, 0($9) - i32.const $push1322=, 3 - i32.div_u $push470=, $pop77, $pop1322 - i32.ne $push471=, $pop75, $pop470 - br_if 2, $pop471 # 2: down to label0 + i32.load16_u $push77=, 0($8) + i32.const $push1256=, 3 + i32.div_u $push484=, $pop77, $pop1256 + i32.ne $push485=, $pop75, $pop484 + br_if 2, $pop485 # 2: down to label0 # BB#40: # %lor.lhs.false366 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push74=, 26($0) - i32.const $push1325=, 65535 - i32.and $push472=, $pop74, $pop1325 - i32.load16_u $push76=, 0($10) - i32.const $push1324=, 65535 - i32.and $push473=, $pop76, $pop1324 - i32.const $push1323=, 3 - i32.div_u $push474=, $pop473, $pop1323 - i32.ne $push475=, $pop472, $pop474 - br_if 2, $pop475 # 2: down to label0 + i32.const $push1259=, 65535 + i32.and $push486=, $pop74, $pop1259 + i32.load16_u $push76=, 0($9) + i32.const $push1258=, 65535 + i32.and $push487=, $pop76, $pop1258 + i32.const $push1257=, 3 + i32.div_u $push488=, $pop487, $pop1257 + i32.ne $push489=, $pop486, $pop488 + br_if 2, $pop489 # 2: down to label0 # BB#41: # %if.end376 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1162=, 16 - i32.add $push1163=, $0, $pop1162 - copy_local $2=, $pop1163 + i32.const $push1096=, 16 + i32.add $push1097=, $0, $pop1096 + copy_local $10=, $pop1097 #APP #NO_APP - i32.const $push1164=, 16 - i32.add $push1165=, $0, $pop1164 - call ur33333333@FUNCTION, $pop1165, $1 + i32.const $push1098=, 16 + i32.add $push1099=, $0, $pop1098 + call ur33333333@FUNCTION, $pop1099, $1 i32.load16_u $push78=, 16($0) i32.load16_u $push80=, 0($1) - i32.const $push1326=, 3 - i32.rem_u $push476=, $pop80, $pop1326 - i32.ne $push477=, $pop78, $pop476 - br_if 2, $pop477 # 2: down to label0 + i32.const $push1260=, 3 + i32.rem_u $push490=, $pop80, $pop1260 + i32.ne $push491=, $pop78, $pop490 + br_if 2, $pop491 # 2: down to label0 # BB#42: # %lor.lhs.false386 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push79=, 22($0) - i32.const $push1329=, 65535 - i32.and $push478=, $pop79, $pop1329 - i32.load16_u $push81=, 0($4) - i32.const $push1328=, 65535 - i32.and $push479=, $pop81, $pop1328 - i32.const $push1327=, 3 - i32.rem_u $push480=, $pop479, $pop1327 - i32.ne $push481=, $pop478, $pop480 - br_if 2, $pop481 # 2: down to label0 + i32.const $push1263=, 65535 + i32.and $push492=, $pop79, $pop1263 + i32.load16_u $push81=, 0($3) + i32.const $push1262=, 65535 + i32.and $push493=, $pop81, $pop1262 + i32.const $push1261=, 3 + i32.rem_u $push494=, $pop493, $pop1261 + i32.ne $push495=, $pop492, $pop494 + br_if 2, $pop495 # 2: down to label0 # BB#43: # %if.end396 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1166=, 16 - i32.add $push1167=, $0, $pop1166 - copy_local $2=, $pop1167 + i32.const $push1100=, 16 + i32.add $push1101=, $0, $pop1100 + copy_local $10=, $pop1101 #APP #NO_APP i32.load16_u $push83=, 20($0) - i32.load16_u $push85=, 0($5) - i32.const $push1330=, 3 - i32.rem_u $push482=, $pop85, $pop1330 - i32.ne $push483=, $pop83, $pop482 - br_if 2, $pop483 # 2: down to label0 + i32.load16_u $push85=, 0($4) + i32.const $push1264=, 3 + i32.rem_u $push496=, $pop85, $pop1264 + i32.ne $push497=, $pop83, $pop496 + br_if 2, $pop497 # 2: down to label0 # BB#44: # %lor.lhs.false405 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push82=, 18($0) - i32.const $push1333=, 65535 - i32.and $push484=, $pop82, $pop1333 - i32.load16_u $push84=, 0($6) - i32.const $push1332=, 65535 - i32.and $push485=, $pop84, $pop1332 - i32.const $push1331=, 3 - i32.rem_u $push486=, $pop485, $pop1331 - i32.ne $push487=, $pop484, $pop486 - br_if 2, $pop487 # 2: down to label0 + i32.const $push1267=, 65535 + i32.and $push498=, $pop82, $pop1267 + i32.load16_u $push84=, 0($5) + i32.const $push1266=, 65535 + i32.and $push499=, $pop84, $pop1266 + i32.const $push1265=, 3 + i32.rem_u $push500=, $pop499, $pop1265 + i32.ne $push501=, $pop498, $pop500 + br_if 2, $pop501 # 2: down to label0 # BB#45: # %if.end415 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1168=, 16 - i32.add $push1169=, $0, $pop1168 - copy_local $2=, $pop1169 + i32.const $push1102=, 16 + i32.add $push1103=, $0, $pop1102 + copy_local $10=, $pop1103 #APP #NO_APP i32.load16_u $push86=, 24($0) - i32.load16_u $push88=, 0($7) - i32.const $push1334=, 3 - i32.rem_u $push488=, $pop88, $pop1334 - i32.ne $push489=, $pop86, $pop488 - br_if 2, $pop489 # 2: down to label0 + i32.load16_u $push88=, 0($6) + i32.const $push1268=, 3 + i32.rem_u $push502=, $pop88, $pop1268 + i32.ne $push503=, $pop86, $pop502 + br_if 2, $pop503 # 2: down to label0 # BB#46: # %lor.lhs.false424 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push87=, 30($0) - i32.const $push1337=, 65535 - i32.and $push490=, $pop87, $pop1337 - i32.load16_u $push89=, 0($8) - i32.const $push1336=, 65535 - i32.and $push491=, $pop89, $pop1336 - i32.const $push1335=, 3 - i32.rem_u $push492=, $pop491, $pop1335 - i32.ne $push493=, $pop490, $pop492 - br_if 2, $pop493 # 2: down to label0 + i32.const $push1271=, 65535 + i32.and $push504=, $pop87, $pop1271 + i32.load16_u $push89=, 0($7) + i32.const $push1270=, 65535 + i32.and $push505=, $pop89, $pop1270 + i32.const $push1269=, 3 + i32.rem_u $push506=, $pop505, $pop1269 + i32.ne $push507=, $pop504, $pop506 + br_if 2, $pop507 # 2: down to label0 # BB#47: # %if.end434 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1170=, 16 - i32.add $push1171=, $0, $pop1170 - copy_local $2=, $pop1171 + i32.const $push1104=, 16 + i32.add $push1105=, $0, $pop1104 + copy_local $10=, $pop1105 #APP #NO_APP i32.load16_u $push91=, 28($0) - i32.load16_u $push93=, 0($9) - i32.const $push1338=, 3 - i32.rem_u $push494=, $pop93, $pop1338 - i32.ne $push495=, $pop91, $pop494 - br_if 2, $pop495 # 2: down to label0 + i32.load16_u $push93=, 0($8) + i32.const $push1272=, 3 + i32.rem_u $push508=, $pop93, $pop1272 + i32.ne $push509=, $pop91, $pop508 + br_if 2, $pop509 # 2: down to label0 # BB#48: # %lor.lhs.false443 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push90=, 26($0) - i32.const $push1341=, 65535 - i32.and $push496=, $pop90, $pop1341 - i32.load16_u $push92=, 0($10) - i32.const $push1340=, 65535 - i32.and $push497=, $pop92, $pop1340 - i32.const $push1339=, 3 - i32.rem_u $push498=, $pop497, $pop1339 - i32.ne $push499=, $pop496, $pop498 - br_if 2, $pop499 # 2: down to label0 + i32.const $push1275=, 65535 + i32.and $push510=, $pop90, $pop1275 + i32.load16_u $push92=, 0($9) + i32.const $push1274=, 65535 + i32.and $push511=, $pop92, $pop1274 + i32.const $push1273=, 3 + i32.rem_u $push512=, $pop511, $pop1273 + i32.ne $push513=, $pop510, $pop512 + br_if 2, $pop513 # 2: down to label0 # BB#49: # %if.end453 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1172=, 16 - i32.add $push1173=, $0, $pop1172 - copy_local $2=, $pop1173 + i32.const $push1106=, 16 + i32.add $push1107=, $0, $pop1106 + copy_local $10=, $pop1107 #APP #NO_APP - i32.const $push1174=, 16 - i32.add $push1175=, $0, $pop1174 - call uq65656565@FUNCTION, $pop1175, $1 + i32.const $push1108=, 16 + i32.add $push1109=, $0, $pop1108 + call uq65656565@FUNCTION, $pop1109, $1 i32.load16_u $push94=, 16($0) i32.load16_u $push96=, 0($1) - i32.const $push1342=, 6 - i32.div_u $push500=, $pop96, $pop1342 - i32.ne $push501=, $pop94, $pop500 - br_if 2, $pop501 # 2: down to label0 + i32.const $push1276=, 6 + i32.div_u $push514=, $pop96, $pop1276 + i32.ne $push515=, $pop94, $pop514 + br_if 2, $pop515 # 2: down to label0 # BB#50: # %lor.lhs.false463 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push95=, 22($0) - i32.const $push1345=, 65535 - i32.and $push502=, $pop95, $pop1345 - i32.load16_u $push97=, 0($4) - i32.const $push1344=, 65535 - i32.and $push503=, $pop97, $pop1344 - i32.const $push1343=, 5 - i32.div_u $push504=, $pop503, $pop1343 - i32.ne $push505=, $pop502, $pop504 - br_if 2, $pop505 # 2: down to label0 + i32.const $push1279=, 65535 + i32.and $push516=, $pop95, $pop1279 + i32.load16_u $push97=, 0($3) + i32.const $push1278=, 65535 + i32.and $push517=, $pop97, $pop1278 + i32.const $push1277=, 5 + i32.div_u $push518=, $pop517, $pop1277 + i32.ne $push519=, $pop516, $pop518 + br_if 2, $pop519 # 2: down to label0 # BB#51: # %if.end473 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1176=, 16 - i32.add $push1177=, $0, $pop1176 - copy_local $2=, $pop1177 + i32.const $push1110=, 16 + i32.add $push1111=, $0, $pop1110 + copy_local $10=, $pop1111 #APP #NO_APP i32.load16_u $push99=, 20($0) - i32.load16_u $push101=, 0($5) - i32.const $push1346=, 6 - i32.div_u $push506=, $pop101, $pop1346 - i32.ne $push507=, $pop99, $pop506 - br_if 2, $pop507 # 2: down to label0 + i32.load16_u $push101=, 0($4) + i32.const $push1280=, 6 + i32.div_u $push520=, $pop101, $pop1280 + i32.ne $push521=, $pop99, $pop520 + br_if 2, $pop521 # 2: down to label0 # BB#52: # %lor.lhs.false482 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push98=, 18($0) - i32.const $push1349=, 65535 - i32.and $push508=, $pop98, $pop1349 - i32.load16_u $push100=, 0($6) - i32.const $push1348=, 65535 - i32.and $push509=, $pop100, $pop1348 - i32.const $push1347=, 5 - i32.div_u $push510=, $pop509, $pop1347 - i32.ne $push511=, $pop508, $pop510 - br_if 2, $pop511 # 2: down to label0 + i32.const $push1283=, 65535 + i32.and $push522=, $pop98, $pop1283 + i32.load16_u $push100=, 0($5) + i32.const $push1282=, 65535 + i32.and $push523=, $pop100, $pop1282 + i32.const $push1281=, 5 + i32.div_u $push524=, $pop523, $pop1281 + i32.ne $push525=, $pop522, $pop524 + br_if 2, $pop525 # 2: down to label0 # BB#53: # %if.end492 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1178=, 16 - i32.add $push1179=, $0, $pop1178 - copy_local $2=, $pop1179 + i32.const $push1112=, 16 + i32.add $push1113=, $0, $pop1112 + copy_local $10=, $pop1113 #APP #NO_APP i32.load16_u $push102=, 24($0) - i32.load16_u $push104=, 0($7) - i32.const $push1350=, 6 - i32.div_u $push512=, $pop104, $pop1350 - i32.ne $push513=, $pop102, $pop512 - br_if 2, $pop513 # 2: down to label0 + i32.load16_u $push104=, 0($6) + i32.const $push1284=, 6 + i32.div_u $push526=, $pop104, $pop1284 + i32.ne $push527=, $pop102, $pop526 + br_if 2, $pop527 # 2: down to label0 # BB#54: # %lor.lhs.false501 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push103=, 30($0) - i32.const $push1353=, 65535 - i32.and $push514=, $pop103, $pop1353 - i32.load16_u $push105=, 0($8) - i32.const $push1352=, 65535 - i32.and $push515=, $pop105, $pop1352 - i32.const $push1351=, 5 - i32.div_u $push516=, $pop515, $pop1351 - i32.ne $push517=, $pop514, $pop516 - br_if 2, $pop517 # 2: down to label0 + i32.const $push1287=, 65535 + i32.and $push528=, $pop103, $pop1287 + i32.load16_u $push105=, 0($7) + i32.const $push1286=, 65535 + i32.and $push529=, $pop105, $pop1286 + i32.const $push1285=, 5 + i32.div_u $push530=, $pop529, $pop1285 + i32.ne $push531=, $pop528, $pop530 + br_if 2, $pop531 # 2: down to label0 # BB#55: # %if.end511 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1180=, 16 - i32.add $push1181=, $0, $pop1180 - copy_local $2=, $pop1181 + i32.const $push1114=, 16 + i32.add $push1115=, $0, $pop1114 + copy_local $10=, $pop1115 #APP #NO_APP i32.load16_u $push107=, 28($0) - i32.load16_u $push109=, 0($9) - i32.const $push1354=, 6 - i32.div_u $push518=, $pop109, $pop1354 - i32.ne $push519=, $pop107, $pop518 - br_if 2, $pop519 # 2: down to label0 + i32.load16_u $push109=, 0($8) + i32.const $push1288=, 6 + i32.div_u $push532=, $pop109, $pop1288 + i32.ne $push533=, $pop107, $pop532 + br_if 2, $pop533 # 2: down to label0 # BB#56: # %lor.lhs.false520 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push106=, 26($0) - i32.const $push1357=, 65535 - i32.and $push520=, $pop106, $pop1357 - i32.load16_u $push108=, 0($10) - i32.const $push1356=, 65535 - i32.and $push521=, $pop108, $pop1356 - i32.const $push1355=, 5 - i32.div_u $push522=, $pop521, $pop1355 - i32.ne $push523=, $pop520, $pop522 - br_if 2, $pop523 # 2: down to label0 + i32.const $push1291=, 65535 + i32.and $push534=, $pop106, $pop1291 + i32.load16_u $push108=, 0($9) + i32.const $push1290=, 65535 + i32.and $push535=, $pop108, $pop1290 + i32.const $push1289=, 5 + i32.div_u $push536=, $pop535, $pop1289 + i32.ne $push537=, $pop534, $pop536 + br_if 2, $pop537 # 2: down to label0 # BB#57: # %if.end530 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1182=, 16 - i32.add $push1183=, $0, $pop1182 - copy_local $2=, $pop1183 + i32.const $push1116=, 16 + i32.add $push1117=, $0, $pop1116 + copy_local $10=, $pop1117 #APP #NO_APP - i32.const $push1184=, 16 - i32.add $push1185=, $0, $pop1184 - call ur65656565@FUNCTION, $pop1185, $1 + i32.const $push1118=, 16 + i32.add $push1119=, $0, $pop1118 + call ur65656565@FUNCTION, $pop1119, $1 i32.load16_u $push110=, 16($0) i32.load16_u $push112=, 0($1) - i32.const $push1358=, 6 - i32.rem_u $push524=, $pop112, $pop1358 - i32.ne $push525=, $pop110, $pop524 - br_if 2, $pop525 # 2: down to label0 + i32.const $push1292=, 6 + i32.rem_u $push538=, $pop112, $pop1292 + i32.ne $push539=, $pop110, $pop538 + br_if 2, $pop539 # 2: down to label0 # BB#58: # %lor.lhs.false540 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push111=, 22($0) - i32.const $push1361=, 65535 - i32.and $push526=, $pop111, $pop1361 - i32.load16_u $push113=, 0($4) - i32.const $push1360=, 65535 - i32.and $push527=, $pop113, $pop1360 - i32.const $push1359=, 5 - i32.rem_u $push528=, $pop527, $pop1359 - i32.ne $push529=, $pop526, $pop528 - br_if 2, $pop529 # 2: down to label0 + i32.const $push1295=, 65535 + i32.and $push540=, $pop111, $pop1295 + i32.load16_u $push113=, 0($3) + i32.const $push1294=, 65535 + i32.and $push541=, $pop113, $pop1294 + i32.const $push1293=, 5 + i32.rem_u $push542=, $pop541, $pop1293 + i32.ne $push543=, $pop540, $pop542 + br_if 2, $pop543 # 2: down to label0 # BB#59: # %if.end550 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1186=, 16 - i32.add $push1187=, $0, $pop1186 - copy_local $2=, $pop1187 + i32.const $push1120=, 16 + i32.add $push1121=, $0, $pop1120 + copy_local $10=, $pop1121 #APP #NO_APP i32.load16_u $push115=, 20($0) - i32.load16_u $push117=, 0($5) - i32.const $push1362=, 6 - i32.rem_u $push530=, $pop117, $pop1362 - i32.ne $push531=, $pop115, $pop530 - br_if 2, $pop531 # 2: down to label0 + i32.load16_u $push117=, 0($4) + i32.const $push1296=, 6 + i32.rem_u $push544=, $pop117, $pop1296 + i32.ne $push545=, $pop115, $pop544 + br_if 2, $pop545 # 2: down to label0 # BB#60: # %lor.lhs.false559 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push114=, 18($0) - i32.const $push1365=, 65535 - i32.and $push532=, $pop114, $pop1365 - i32.load16_u $push116=, 0($6) - i32.const $push1364=, 65535 - i32.and $push533=, $pop116, $pop1364 - i32.const $push1363=, 5 - i32.rem_u $push534=, $pop533, $pop1363 - i32.ne $push535=, $pop532, $pop534 - br_if 2, $pop535 # 2: down to label0 + i32.const $push1299=, 65535 + i32.and $push546=, $pop114, $pop1299 + i32.load16_u $push116=, 0($5) + i32.const $push1298=, 65535 + i32.and $push547=, $pop116, $pop1298 + i32.const $push1297=, 5 + i32.rem_u $push548=, $pop547, $pop1297 + i32.ne $push549=, $pop546, $pop548 + br_if 2, $pop549 # 2: down to label0 # BB#61: # %if.end569 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1188=, 16 - i32.add $push1189=, $0, $pop1188 - copy_local $2=, $pop1189 + i32.const $push1122=, 16 + i32.add $push1123=, $0, $pop1122 + copy_local $10=, $pop1123 #APP #NO_APP i32.load16_u $push118=, 24($0) - i32.load16_u $push120=, 0($7) - i32.const $push1366=, 6 - i32.rem_u $push536=, $pop120, $pop1366 - i32.ne $push537=, $pop118, $pop536 - br_if 2, $pop537 # 2: down to label0 + i32.load16_u $push120=, 0($6) + i32.const $push1300=, 6 + i32.rem_u $push550=, $pop120, $pop1300 + i32.ne $push551=, $pop118, $pop550 + br_if 2, $pop551 # 2: down to label0 # BB#62: # %lor.lhs.false578 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push119=, 30($0) - i32.const $push1369=, 65535 - i32.and $push538=, $pop119, $pop1369 - i32.load16_u $push121=, 0($8) - i32.const $push1368=, 65535 - i32.and $push539=, $pop121, $pop1368 - i32.const $push1367=, 5 - i32.rem_u $push540=, $pop539, $pop1367 - i32.ne $push541=, $pop538, $pop540 - br_if 2, $pop541 # 2: down to label0 + i32.const $push1303=, 65535 + i32.and $push552=, $pop119, $pop1303 + i32.load16_u $push121=, 0($7) + i32.const $push1302=, 65535 + i32.and $push553=, $pop121, $pop1302 + i32.const $push1301=, 5 + i32.rem_u $push554=, $pop553, $pop1301 + i32.ne $push555=, $pop552, $pop554 + br_if 2, $pop555 # 2: down to label0 # BB#63: # %if.end588 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1190=, 16 - i32.add $push1191=, $0, $pop1190 - copy_local $2=, $pop1191 + i32.const $push1124=, 16 + i32.add $push1125=, $0, $pop1124 + copy_local $10=, $pop1125 #APP #NO_APP i32.load16_u $push123=, 28($0) - i32.load16_u $push125=, 0($9) - i32.const $push1370=, 6 - i32.rem_u $push542=, $pop125, $pop1370 - i32.ne $push543=, $pop123, $pop542 - br_if 2, $pop543 # 2: down to label0 + i32.load16_u $push125=, 0($8) + i32.const $push1304=, 6 + i32.rem_u $push556=, $pop125, $pop1304 + i32.ne $push557=, $pop123, $pop556 + br_if 2, $pop557 # 2: down to label0 # BB#64: # %lor.lhs.false597 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push122=, 26($0) - i32.const $push1373=, 65535 - i32.and $push544=, $pop122, $pop1373 - i32.load16_u $push124=, 0($10) - i32.const $push1372=, 65535 - i32.and $push545=, $pop124, $pop1372 - i32.const $push1371=, 5 - i32.rem_u $push546=, $pop545, $pop1371 - i32.ne $push547=, $pop544, $pop546 - br_if 2, $pop547 # 2: down to label0 + i32.const $push1307=, 65535 + i32.and $push558=, $pop122, $pop1307 + i32.load16_u $push124=, 0($9) + i32.const $push1306=, 65535 + i32.and $push559=, $pop124, $pop1306 + i32.const $push1305=, 5 + i32.rem_u $push560=, $pop559, $pop1305 + i32.ne $push561=, $pop558, $pop560 + br_if 2, $pop561 # 2: down to label0 # BB#65: # %if.end607 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1192=, 16 - i32.add $push1193=, $0, $pop1192 - copy_local $2=, $pop1193 + i32.const $push1126=, 16 + i32.add $push1127=, $0, $pop1126 + copy_local $10=, $pop1127 #APP #NO_APP - i32.const $push1194=, 16 - i32.add $push1195=, $0, $pop1194 - call uq14141461461414@FUNCTION, $pop1195, $1 + i32.const $push1128=, 16 + i32.add $push1129=, $0, $pop1128 + call uq14141461461414@FUNCTION, $pop1129, $1 i32.load16_u $push126=, 16($0) i32.load16_u $push128=, 0($1) - i32.const $push1374=, 14 - i32.div_u $push548=, $pop128, $pop1374 - i32.ne $push549=, $pop126, $pop548 - br_if 2, $pop549 # 2: down to label0 + i32.const $push1308=, 14 + i32.div_u $push562=, $pop128, $pop1308 + i32.ne $push563=, $pop126, $pop562 + br_if 2, $pop563 # 2: down to label0 # BB#66: # %lor.lhs.false617 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push127=, 22($0) - i32.const $push1377=, 65535 - i32.and $push550=, $pop127, $pop1377 - i32.load16_u $push129=, 0($4) - i32.const $push1376=, 65535 - i32.and $push551=, $pop129, $pop1376 - i32.const $push1375=, 6 - i32.div_u $push552=, $pop551, $pop1375 - i32.ne $push553=, $pop550, $pop552 - br_if 2, $pop553 # 2: down to label0 + i32.const $push1311=, 65535 + i32.and $push564=, $pop127, $pop1311 + i32.load16_u $push129=, 0($3) + i32.const $push1310=, 65535 + i32.and $push565=, $pop129, $pop1310 + i32.const $push1309=, 6 + i32.div_u $push566=, $pop565, $pop1309 + i32.ne $push567=, $pop564, $pop566 + br_if 2, $pop567 # 2: down to label0 # BB#67: # %if.end627 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1196=, 16 - i32.add $push1197=, $0, $pop1196 - copy_local $2=, $pop1197 + i32.const $push1130=, 16 + i32.add $push1131=, $0, $pop1130 + copy_local $10=, $pop1131 #APP #NO_APP i32.load16_u $push131=, 20($0) - i32.load16_u $push133=, 0($5) - i32.const $push1378=, 14 - i32.div_u $push554=, $pop133, $pop1378 - i32.ne $push555=, $pop131, $pop554 - br_if 2, $pop555 # 2: down to label0 + i32.load16_u $push133=, 0($4) + i32.const $push1312=, 14 + i32.div_u $push568=, $pop133, $pop1312 + i32.ne $push569=, $pop131, $pop568 + br_if 2, $pop569 # 2: down to label0 # BB#68: # %lor.lhs.false636 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push130=, 18($0) - i32.const $push1381=, 65535 - i32.and $push556=, $pop130, $pop1381 - i32.load16_u $push132=, 0($6) - i32.const $push1380=, 65535 - i32.and $push557=, $pop132, $pop1380 - i32.const $push1379=, 14 - i32.div_u $push558=, $pop557, $pop1379 - i32.ne $push559=, $pop556, $pop558 - br_if 2, $pop559 # 2: down to label0 + i32.const $push1315=, 65535 + i32.and $push570=, $pop130, $pop1315 + i32.load16_u $push132=, 0($5) + i32.const $push1314=, 65535 + i32.and $push571=, $pop132, $pop1314 + i32.const $push1313=, 14 + i32.div_u $push572=, $pop571, $pop1313 + i32.ne $push573=, $pop570, $pop572 + br_if 2, $pop573 # 2: down to label0 # BB#69: # %if.end646 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1198=, 16 - i32.add $push1199=, $0, $pop1198 - copy_local $2=, $pop1199 + i32.const $push1132=, 16 + i32.add $push1133=, $0, $pop1132 + copy_local $10=, $pop1133 #APP #NO_APP i32.load16_u $push134=, 24($0) - i32.load16_u $push136=, 0($7) - i32.const $push1382=, 14 - i32.div_u $push560=, $pop136, $pop1382 - i32.ne $push561=, $pop134, $pop560 - br_if 2, $pop561 # 2: down to label0 + i32.load16_u $push136=, 0($6) + i32.const $push1316=, 14 + i32.div_u $push574=, $pop136, $pop1316 + i32.ne $push575=, $pop134, $pop574 + br_if 2, $pop575 # 2: down to label0 # BB#70: # %lor.lhs.false655 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push135=, 30($0) - i32.const $push1385=, 65535 - i32.and $push562=, $pop135, $pop1385 - i32.load16_u $push137=, 0($8) - i32.const $push1384=, 65535 - i32.and $push563=, $pop137, $pop1384 - i32.const $push1383=, 14 - i32.div_u $push564=, $pop563, $pop1383 - i32.ne $push565=, $pop562, $pop564 - br_if 2, $pop565 # 2: down to label0 + i32.const $push1319=, 65535 + i32.and $push576=, $pop135, $pop1319 + i32.load16_u $push137=, 0($7) + i32.const $push1318=, 65535 + i32.and $push577=, $pop137, $pop1318 + i32.const $push1317=, 14 + i32.div_u $push578=, $pop577, $pop1317 + i32.ne $push579=, $pop576, $pop578 + br_if 2, $pop579 # 2: down to label0 # BB#71: # %if.end665 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1200=, 16 - i32.add $push1201=, $0, $pop1200 - copy_local $2=, $pop1201 + i32.const $push1134=, 16 + i32.add $push1135=, $0, $pop1134 + copy_local $10=, $pop1135 #APP #NO_APP i32.load16_u $push139=, 28($0) - i32.load16_u $push141=, 0($9) - i32.const $push1386=, 14 - i32.div_u $push566=, $pop141, $pop1386 - i32.ne $push567=, $pop139, $pop566 - br_if 2, $pop567 # 2: down to label0 + i32.load16_u $push141=, 0($8) + i32.const $push1320=, 14 + i32.div_u $push580=, $pop141, $pop1320 + i32.ne $push581=, $pop139, $pop580 + br_if 2, $pop581 # 2: down to label0 # BB#72: # %lor.lhs.false674 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push138=, 26($0) - i32.const $push1389=, 65535 - i32.and $push568=, $pop138, $pop1389 - i32.load16_u $push140=, 0($10) - i32.const $push1388=, 65535 - i32.and $push569=, $pop140, $pop1388 - i32.const $push1387=, 6 - i32.div_u $push570=, $pop569, $pop1387 - i32.ne $push571=, $pop568, $pop570 - br_if 2, $pop571 # 2: down to label0 + i32.const $push1323=, 65535 + i32.and $push582=, $pop138, $pop1323 + i32.load16_u $push140=, 0($9) + i32.const $push1322=, 65535 + i32.and $push583=, $pop140, $pop1322 + i32.const $push1321=, 6 + i32.div_u $push584=, $pop583, $pop1321 + i32.ne $push585=, $pop582, $pop584 + br_if 2, $pop585 # 2: down to label0 # BB#73: # %if.end684 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1202=, 16 - i32.add $push1203=, $0, $pop1202 - copy_local $2=, $pop1203 + i32.const $push1136=, 16 + i32.add $push1137=, $0, $pop1136 + copy_local $10=, $pop1137 #APP #NO_APP - i32.const $push1204=, 16 - i32.add $push1205=, $0, $pop1204 - call ur14141461461414@FUNCTION, $pop1205, $1 + i32.const $push1138=, 16 + i32.add $push1139=, $0, $pop1138 + call ur14141461461414@FUNCTION, $pop1139, $1 i32.load16_u $push142=, 16($0) i32.load16_u $push144=, 0($1) - i32.const $push1390=, 14 - i32.rem_u $push572=, $pop144, $pop1390 - i32.ne $push573=, $pop142, $pop572 - br_if 2, $pop573 # 2: down to label0 + i32.const $push1324=, 14 + i32.rem_u $push586=, $pop144, $pop1324 + i32.ne $push587=, $pop142, $pop586 + br_if 2, $pop587 # 2: down to label0 # BB#74: # %lor.lhs.false694 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push143=, 22($0) - i32.const $push1393=, 65535 - i32.and $push574=, $pop143, $pop1393 - i32.load16_u $push145=, 0($4) - i32.const $push1392=, 65535 - i32.and $push575=, $pop145, $pop1392 - i32.const $push1391=, 6 - i32.rem_u $push576=, $pop575, $pop1391 - i32.ne $push577=, $pop574, $pop576 - br_if 2, $pop577 # 2: down to label0 + i32.const $push1327=, 65535 + i32.and $push588=, $pop143, $pop1327 + i32.load16_u $push145=, 0($3) + i32.const $push1326=, 65535 + i32.and $push589=, $pop145, $pop1326 + i32.const $push1325=, 6 + i32.rem_u $push590=, $pop589, $pop1325 + i32.ne $push591=, $pop588, $pop590 + br_if 2, $pop591 # 2: down to label0 # BB#75: # %if.end704 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1206=, 16 - i32.add $push1207=, $0, $pop1206 - copy_local $2=, $pop1207 + i32.const $push1140=, 16 + i32.add $push1141=, $0, $pop1140 + copy_local $10=, $pop1141 #APP #NO_APP i32.load16_u $push147=, 20($0) - i32.load16_u $push149=, 0($5) - i32.const $push1394=, 14 - i32.rem_u $push578=, $pop149, $pop1394 - i32.ne $push579=, $pop147, $pop578 - br_if 2, $pop579 # 2: down to label0 + i32.load16_u $push149=, 0($4) + i32.const $push1328=, 14 + i32.rem_u $push592=, $pop149, $pop1328 + i32.ne $push593=, $pop147, $pop592 + br_if 2, $pop593 # 2: down to label0 # BB#76: # %lor.lhs.false713 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push146=, 18($0) - i32.const $push1397=, 65535 - i32.and $push580=, $pop146, $pop1397 - i32.load16_u $push148=, 0($6) - i32.const $push1396=, 65535 - i32.and $push581=, $pop148, $pop1396 - i32.const $push1395=, 14 - i32.rem_u $push582=, $pop581, $pop1395 - i32.ne $push583=, $pop580, $pop582 - br_if 2, $pop583 # 2: down to label0 + i32.const $push1331=, 65535 + i32.and $push594=, $pop146, $pop1331 + i32.load16_u $push148=, 0($5) + i32.const $push1330=, 65535 + i32.and $push595=, $pop148, $pop1330 + i32.const $push1329=, 14 + i32.rem_u $push596=, $pop595, $pop1329 + i32.ne $push597=, $pop594, $pop596 + br_if 2, $pop597 # 2: down to label0 # BB#77: # %if.end723 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1208=, 16 - i32.add $push1209=, $0, $pop1208 - copy_local $2=, $pop1209 + i32.const $push1142=, 16 + i32.add $push1143=, $0, $pop1142 + copy_local $10=, $pop1143 #APP #NO_APP i32.load16_u $push150=, 24($0) - i32.load16_u $push152=, 0($7) - i32.const $push1398=, 14 - i32.rem_u $push584=, $pop152, $pop1398 - i32.ne $push585=, $pop150, $pop584 - br_if 2, $pop585 # 2: down to label0 + i32.load16_u $push152=, 0($6) + i32.const $push1332=, 14 + i32.rem_u $push598=, $pop152, $pop1332 + i32.ne $push599=, $pop150, $pop598 + br_if 2, $pop599 # 2: down to label0 # BB#78: # %lor.lhs.false732 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push151=, 30($0) - i32.const $push1401=, 65535 - i32.and $push586=, $pop151, $pop1401 - i32.load16_u $push153=, 0($8) - i32.const $push1400=, 65535 - i32.and $push587=, $pop153, $pop1400 - i32.const $push1399=, 14 - i32.rem_u $push588=, $pop587, $pop1399 - i32.ne $push589=, $pop586, $pop588 - br_if 2, $pop589 # 2: down to label0 + i32.const $push1335=, 65535 + i32.and $push600=, $pop151, $pop1335 + i32.load16_u $push153=, 0($7) + i32.const $push1334=, 65535 + i32.and $push601=, $pop153, $pop1334 + i32.const $push1333=, 14 + i32.rem_u $push602=, $pop601, $pop1333 + i32.ne $push603=, $pop600, $pop602 + br_if 2, $pop603 # 2: down to label0 # BB#79: # %if.end742 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1210=, 16 - i32.add $push1211=, $0, $pop1210 - copy_local $2=, $pop1211 + i32.const $push1144=, 16 + i32.add $push1145=, $0, $pop1144 + copy_local $10=, $pop1145 #APP #NO_APP i32.load16_u $push155=, 28($0) - i32.load16_u $push157=, 0($9) - i32.const $push1402=, 14 - i32.rem_u $push590=, $pop157, $pop1402 - i32.ne $push591=, $pop155, $pop590 - br_if 2, $pop591 # 2: down to label0 + i32.load16_u $push157=, 0($8) + i32.const $push1336=, 14 + i32.rem_u $push604=, $pop157, $pop1336 + i32.ne $push605=, $pop155, $pop604 + br_if 2, $pop605 # 2: down to label0 # BB#80: # %lor.lhs.false751 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push154=, 26($0) - i32.const $push1405=, 65535 - i32.and $push592=, $pop154, $pop1405 - i32.load16_u $push156=, 0($10) - i32.const $push1404=, 65535 - i32.and $push593=, $pop156, $pop1404 - i32.const $push1403=, 6 - i32.rem_u $push594=, $pop593, $pop1403 - i32.ne $push595=, $pop592, $pop594 - br_if 2, $pop595 # 2: down to label0 + i32.const $push1339=, 65535 + i32.and $push606=, $pop154, $pop1339 + i32.load16_u $push156=, 0($9) + i32.const $push1338=, 65535 + i32.and $push607=, $pop156, $pop1338 + i32.const $push1337=, 6 + i32.rem_u $push608=, $pop607, $pop1337 + i32.ne $push609=, $pop606, $pop608 + br_if 2, $pop609 # 2: down to label0 # BB#81: # %if.end761 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1212=, 16 - i32.add $push1213=, $0, $pop1212 - copy_local $2=, $pop1213 + i32.const $push1146=, 16 + i32.add $push1147=, $0, $pop1146 + copy_local $10=, $pop1147 #APP #NO_APP - i32.const $push1214=, 16 - i32.add $push1215=, $0, $pop1214 - call uq77777777@FUNCTION, $pop1215, $1 + i32.const $push1148=, 16 + i32.add $push1149=, $0, $pop1148 + call uq77777777@FUNCTION, $pop1149, $1 i32.load16_u $push158=, 16($0) i32.load16_u $push160=, 0($1) - i32.const $push1406=, 7 - i32.div_u $push596=, $pop160, $pop1406 - i32.ne $push597=, $pop158, $pop596 - br_if 2, $pop597 # 2: down to label0 + i32.const $push1340=, 7 + i32.div_u $push610=, $pop160, $pop1340 + i32.ne $push611=, $pop158, $pop610 + br_if 2, $pop611 # 2: down to label0 # BB#82: # %lor.lhs.false771 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push159=, 22($0) - i32.const $push1409=, 65535 - i32.and $push598=, $pop159, $pop1409 - i32.load16_u $push161=, 0($4) - i32.const $push1408=, 65535 - i32.and $push599=, $pop161, $pop1408 - i32.const $push1407=, 7 - i32.div_u $push600=, $pop599, $pop1407 - i32.ne $push601=, $pop598, $pop600 - br_if 2, $pop601 # 2: down to label0 + i32.const $push1343=, 65535 + i32.and $push612=, $pop159, $pop1343 + i32.load16_u $push161=, 0($3) + i32.const $push1342=, 65535 + i32.and $push613=, $pop161, $pop1342 + i32.const $push1341=, 7 + i32.div_u $push614=, $pop613, $pop1341 + i32.ne $push615=, $pop612, $pop614 + br_if 2, $pop615 # 2: down to label0 # BB#83: # %if.end781 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1216=, 16 - i32.add $push1217=, $0, $pop1216 - copy_local $2=, $pop1217 + i32.const $push1150=, 16 + i32.add $push1151=, $0, $pop1150 + copy_local $10=, $pop1151 #APP #NO_APP i32.load16_u $push163=, 20($0) - i32.load16_u $push165=, 0($5) - i32.const $push1410=, 7 - i32.div_u $push602=, $pop165, $pop1410 - i32.ne $push603=, $pop163, $pop602 - br_if 2, $pop603 # 2: down to label0 + i32.load16_u $push165=, 0($4) + i32.const $push1344=, 7 + i32.div_u $push616=, $pop165, $pop1344 + i32.ne $push617=, $pop163, $pop616 + br_if 2, $pop617 # 2: down to label0 # BB#84: # %lor.lhs.false790 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push162=, 18($0) - i32.const $push1413=, 65535 - i32.and $push604=, $pop162, $pop1413 - i32.load16_u $push164=, 0($6) - i32.const $push1412=, 65535 - i32.and $push605=, $pop164, $pop1412 - i32.const $push1411=, 7 - i32.div_u $push606=, $pop605, $pop1411 - i32.ne $push607=, $pop604, $pop606 - br_if 2, $pop607 # 2: down to label0 + i32.const $push1347=, 65535 + i32.and $push618=, $pop162, $pop1347 + i32.load16_u $push164=, 0($5) + i32.const $push1346=, 65535 + i32.and $push619=, $pop164, $pop1346 + i32.const $push1345=, 7 + i32.div_u $push620=, $pop619, $pop1345 + i32.ne $push621=, $pop618, $pop620 + br_if 2, $pop621 # 2: down to label0 # BB#85: # %if.end800 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1218=, 16 - i32.add $push1219=, $0, $pop1218 - copy_local $2=, $pop1219 + i32.const $push1152=, 16 + i32.add $push1153=, $0, $pop1152 + copy_local $10=, $pop1153 #APP #NO_APP i32.load16_u $push166=, 24($0) - i32.load16_u $push168=, 0($7) - i32.const $push1414=, 7 - i32.div_u $push608=, $pop168, $pop1414 - i32.ne $push609=, $pop166, $pop608 - br_if 2, $pop609 # 2: down to label0 + i32.load16_u $push168=, 0($6) + i32.const $push1348=, 7 + i32.div_u $push622=, $pop168, $pop1348 + i32.ne $push623=, $pop166, $pop622 + br_if 2, $pop623 # 2: down to label0 # BB#86: # %lor.lhs.false809 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push167=, 30($0) - i32.const $push1417=, 65535 - i32.and $push610=, $pop167, $pop1417 - i32.load16_u $push169=, 0($8) - i32.const $push1416=, 65535 - i32.and $push611=, $pop169, $pop1416 - i32.const $push1415=, 7 - i32.div_u $push612=, $pop611, $pop1415 - i32.ne $push613=, $pop610, $pop612 - br_if 2, $pop613 # 2: down to label0 + i32.const $push1351=, 65535 + i32.and $push624=, $pop167, $pop1351 + i32.load16_u $push169=, 0($7) + i32.const $push1350=, 65535 + i32.and $push625=, $pop169, $pop1350 + i32.const $push1349=, 7 + i32.div_u $push626=, $pop625, $pop1349 + i32.ne $push627=, $pop624, $pop626 + br_if 2, $pop627 # 2: down to label0 # BB#87: # %if.end819 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1220=, 16 - i32.add $push1221=, $0, $pop1220 - copy_local $2=, $pop1221 + i32.const $push1154=, 16 + i32.add $push1155=, $0, $pop1154 + copy_local $10=, $pop1155 #APP #NO_APP i32.load16_u $push171=, 28($0) - i32.load16_u $push173=, 0($9) - i32.const $push1418=, 7 - i32.div_u $push614=, $pop173, $pop1418 - i32.ne $push615=, $pop171, $pop614 - br_if 2, $pop615 # 2: down to label0 + i32.load16_u $push173=, 0($8) + i32.const $push1352=, 7 + i32.div_u $push628=, $pop173, $pop1352 + i32.ne $push629=, $pop171, $pop628 + br_if 2, $pop629 # 2: down to label0 # BB#88: # %lor.lhs.false828 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push170=, 26($0) - i32.const $push1421=, 65535 - i32.and $push616=, $pop170, $pop1421 - i32.load16_u $push172=, 0($10) - i32.const $push1420=, 65535 - i32.and $push617=, $pop172, $pop1420 - i32.const $push1419=, 7 - i32.div_u $push618=, $pop617, $pop1419 - i32.ne $push619=, $pop616, $pop618 - br_if 2, $pop619 # 2: down to label0 + i32.const $push1355=, 65535 + i32.and $push630=, $pop170, $pop1355 + i32.load16_u $push172=, 0($9) + i32.const $push1354=, 65535 + i32.and $push631=, $pop172, $pop1354 + i32.const $push1353=, 7 + i32.div_u $push632=, $pop631, $pop1353 + i32.ne $push633=, $pop630, $pop632 + br_if 2, $pop633 # 2: down to label0 # BB#89: # %if.end838 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1222=, 16 - i32.add $push1223=, $0, $pop1222 - copy_local $2=, $pop1223 + i32.const $push1156=, 16 + i32.add $push1157=, $0, $pop1156 + copy_local $10=, $pop1157 #APP #NO_APP - i32.const $push1224=, 16 - i32.add $push1225=, $0, $pop1224 - call ur77777777@FUNCTION, $pop1225, $1 + i32.const $push1158=, 16 + i32.add $push1159=, $0, $pop1158 + call ur77777777@FUNCTION, $pop1159, $1 i32.load16_u $push174=, 16($0) i32.load16_u $push176=, 0($1) - i32.const $push1422=, 7 - i32.rem_u $push620=, $pop176, $pop1422 - i32.ne $push621=, $pop174, $pop620 - br_if 2, $pop621 # 2: down to label0 + i32.const $push1356=, 7 + i32.rem_u $push634=, $pop176, $pop1356 + i32.ne $push635=, $pop174, $pop634 + br_if 2, $pop635 # 2: down to label0 # BB#90: # %lor.lhs.false848 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push175=, 22($0) - i32.const $push1425=, 65535 - i32.and $push622=, $pop175, $pop1425 - i32.load16_u $push177=, 0($4) - i32.const $push1424=, 65535 - i32.and $push623=, $pop177, $pop1424 - i32.const $push1423=, 7 - i32.rem_u $push624=, $pop623, $pop1423 - i32.ne $push625=, $pop622, $pop624 - br_if 2, $pop625 # 2: down to label0 + i32.const $push1359=, 65535 + i32.and $push636=, $pop175, $pop1359 + i32.load16_u $push177=, 0($3) + i32.const $push1358=, 65535 + i32.and $push637=, $pop177, $pop1358 + i32.const $push1357=, 7 + i32.rem_u $push638=, $pop637, $pop1357 + i32.ne $push639=, $pop636, $pop638 + br_if 2, $pop639 # 2: down to label0 # BB#91: # %if.end858 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1226=, 16 - i32.add $push1227=, $0, $pop1226 - copy_local $4=, $pop1227 + i32.const $push1160=, 16 + i32.add $push1161=, $0, $pop1160 + copy_local $3=, $pop1161 #APP #NO_APP i32.load16_u $push179=, 20($0) - i32.load16_u $push181=, 0($5) - i32.const $push1426=, 7 - i32.rem_u $push626=, $pop181, $pop1426 - i32.ne $push627=, $pop179, $pop626 - br_if 2, $pop627 # 2: down to label0 + i32.load16_u $push181=, 0($4) + i32.const $push1360=, 7 + i32.rem_u $push640=, $pop181, $pop1360 + i32.ne $push641=, $pop179, $pop640 + br_if 2, $pop641 # 2: down to label0 # BB#92: # %lor.lhs.false867 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push178=, 18($0) - i32.const $push1429=, 65535 - i32.and $push628=, $pop178, $pop1429 - i32.load16_u $push180=, 0($6) - i32.const $push1428=, 65535 - i32.and $push629=, $pop180, $pop1428 - i32.const $push1427=, 7 - i32.rem_u $push630=, $pop629, $pop1427 - i32.ne $push631=, $pop628, $pop630 - br_if 2, $pop631 # 2: down to label0 + i32.const $push1363=, 65535 + i32.and $push642=, $pop178, $pop1363 + i32.load16_u $push180=, 0($5) + i32.const $push1362=, 65535 + i32.and $push643=, $pop180, $pop1362 + i32.const $push1361=, 7 + i32.rem_u $push644=, $pop643, $pop1361 + i32.ne $push645=, $pop642, $pop644 + br_if 2, $pop645 # 2: down to label0 # BB#93: # %if.end877 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1228=, 16 - i32.add $push1229=, $0, $pop1228 - copy_local $4=, $pop1229 + i32.const $push1162=, 16 + i32.add $push1163=, $0, $pop1162 + copy_local $3=, $pop1163 #APP #NO_APP i32.load16_u $push182=, 24($0) - i32.load16_u $push184=, 0($7) - i32.const $push1430=, 7 - i32.rem_u $push632=, $pop184, $pop1430 - i32.ne $push633=, $pop182, $pop632 - br_if 2, $pop633 # 2: down to label0 + i32.load16_u $push184=, 0($6) + i32.const $push1364=, 7 + i32.rem_u $push646=, $pop184, $pop1364 + i32.ne $push647=, $pop182, $pop646 + br_if 2, $pop647 # 2: down to label0 # BB#94: # %lor.lhs.false886 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push183=, 30($0) - i32.const $push1433=, 65535 - i32.and $push634=, $pop183, $pop1433 - i32.load16_u $push185=, 0($8) - i32.const $push1432=, 65535 - i32.and $push635=, $pop185, $pop1432 - i32.const $push1431=, 7 - i32.rem_u $push636=, $pop635, $pop1431 - i32.ne $push637=, $pop634, $pop636 - br_if 2, $pop637 # 2: down to label0 + i32.const $push1367=, 65535 + i32.and $push648=, $pop183, $pop1367 + i32.load16_u $push185=, 0($7) + i32.const $push1366=, 65535 + i32.and $push649=, $pop185, $pop1366 + i32.const $push1365=, 7 + i32.rem_u $push650=, $pop649, $pop1365 + i32.ne $push651=, $pop648, $pop650 + br_if 2, $pop651 # 2: down to label0 # BB#95: # %if.end896 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1230=, 16 - i32.add $push1231=, $0, $pop1230 - copy_local $4=, $pop1231 + i32.const $push1164=, 16 + i32.add $push1165=, $0, $pop1164 + copy_local $3=, $pop1165 #APP #NO_APP i32.load16_u $push187=, 28($0) - i32.load16_u $push189=, 0($9) - i32.const $push1434=, 7 - i32.rem_u $push638=, $pop189, $pop1434 - i32.ne $push639=, $pop187, $pop638 - br_if 2, $pop639 # 2: down to label0 + i32.load16_u $push189=, 0($8) + i32.const $push1368=, 7 + i32.rem_u $push652=, $pop189, $pop1368 + i32.ne $push653=, $pop187, $pop652 + br_if 2, $pop653 # 2: down to label0 # BB#96: # %lor.lhs.false905 # in Loop: Header=BB24_1 Depth=1 i32.load16_u $push186=, 26($0) - i32.const $push1437=, 65535 - i32.and $push640=, $pop186, $pop1437 - i32.load16_u $push188=, 0($10) - i32.const $push1436=, 65535 - i32.and $push641=, $pop188, $pop1436 - i32.const $push1435=, 7 - i32.rem_u $push642=, $pop641, $pop1435 - i32.ne $push643=, $pop640, $pop642 - br_if 2, $pop643 # 2: down to label0 + i32.const $push1371=, 65535 + i32.and $push654=, $pop186, $pop1371 + i32.load16_u $push188=, 0($9) + i32.const $push1370=, 65535 + i32.and $push655=, $pop188, $pop1370 + i32.const $push1369=, 7 + i32.rem_u $push656=, $pop655, $pop1369 + i32.ne $push657=, $pop654, $pop656 + br_if 2, $pop657 # 2: down to label0 # BB#97: # %if.end915 # in Loop: Header=BB24_1 Depth=1 - i32.const $push1232=, 16 - i32.add $push1233=, $0, $pop1232 - copy_local $4=, $pop1233 + i32.const $push1166=, 16 + i32.add $push1167=, $0, $pop1166 + copy_local $3=, $pop1167 #APP #NO_APP - i32.const $push1440=, 1 - i32.add $3=, $3, $pop1440 - i32.const $push1439=, 16 - i32.add $1=, $1, $pop1439 - i32.const $push1438=, 2 - i32.lt_u $push644=, $3, $pop1438 - br_if 0, $pop644 # 0: up to label1 + i32.const $push1376=, 16 + i32.add $1=, $1, $pop1376 + i32.const $push1375=, 1 + i32.add $push1374=, $2, $pop1375 + tee_local $push1373=, $2=, $pop1374 + i32.const $push1372=, 2 + i32.lt_u $push658=, $pop1373, $pop1372 + br_if 0, $pop658 # 0: up to label1 # BB#98: # %for.body919.preheader end_loop # label2: i32.const $2=, 0 @@ -3207,1515 +3015,1340 @@ main: # @main # =>This Inner Loop Header: Depth=1 loop # label3: call sq44444444@FUNCTION, $0, $1 - i32.load16_s $4=, 0($1) i32.load16_s $push190=, 0($0) - i32.const $push1443=, 31 - i32.shr_s $push645=, $4, $pop1443 - i32.const $push1442=, 30 - i32.shr_u $push646=, $pop645, $pop1442 - i32.add $push647=, $4, $pop646 - i32.const $push1441=, 2 - i32.shr_s $push648=, $pop647, $pop1441 - i32.ne $push649=, $pop190, $pop648 - br_if 2, $pop649 # 2: down to label0 + i32.load16_s $push192=, 0($1) + i32.const $push1377=, 4 + i32.div_s $push659=, $pop192, $pop1377 + i32.ne $push660=, $pop190, $pop659 + br_if 2, $pop660 # 2: down to label0 # BB#100: # %lor.lhs.false929 # in Loop: Header=BB24_99 Depth=1 i32.load16_u $push191=, 6($0) - i32.const $push1455=, 16 - i32.shl $push650=, $pop191, $pop1455 - i32.const $push1454=, 16 - i32.shr_s $push651=, $pop650, $pop1454 - i32.const $push1453=, 6 - i32.add $push1452=, $1, $pop1453 - tee_local $push1451=, $4=, $pop1452 - i32.load16_u $push192=, 0($pop1451) - i32.const $push1450=, 16 - i32.shl $push1449=, $pop192, $pop1450 - tee_local $push1448=, $5=, $pop1449 - i32.const $push1447=, 16 - i32.shr_s $push652=, $pop1448, $pop1447 - i32.const $push1446=, 31 - i32.shr_s $push653=, $5, $pop1446 - i32.const $push1445=, 30 - i32.shr_u $push654=, $pop653, $pop1445 - i32.add $push655=, $pop652, $pop654 - i32.const $push1444=, 2 - i32.shr_s $push656=, $pop655, $pop1444 - i32.ne $push657=, $pop651, $pop656 - br_if 2, $pop657 # 2: down to label0 + i32.const $push1385=, 16 + i32.shl $push661=, $pop191, $pop1385 + i32.const $push1384=, 16 + i32.shr_s $push662=, $pop661, $pop1384 + i32.const $push1383=, 6 + i32.add $push1382=, $1, $pop1383 + tee_local $push1381=, $3=, $pop1382 + i32.load16_u $push193=, 0($pop1381) + i32.const $push1380=, 16 + i32.shl $push663=, $pop193, $pop1380 + i32.const $push1379=, 16 + i32.shr_s $push664=, $pop663, $pop1379 + i32.const $push1378=, 4 + i32.div_s $push665=, $pop664, $pop1378 + i32.ne $push666=, $pop662, $pop665 + br_if 2, $pop666 # 2: down to label0 # BB#101: # %if.end939 # in Loop: Header=BB24_99 Depth=1 - copy_local $5=, $0 + copy_local $4=, $0 #APP #NO_APP - i32.const $push1461=, 4 - i32.add $push1460=, $1, $pop1461 - tee_local $push1459=, $5=, $pop1460 - i32.load16_s $6=, 0($pop1459) - i32.load16_s $push194=, 4($0) - i32.const $push1458=, 31 - i32.shr_s $push658=, $6, $pop1458 - i32.const $push1457=, 30 - i32.shr_u $push659=, $pop658, $pop1457 - i32.add $push660=, $6, $pop659 - i32.const $push1456=, 2 - i32.shr_s $push661=, $pop660, $pop1456 - i32.ne $push662=, $pop194, $pop661 - br_if 2, $pop662 # 2: down to label0 + i32.load16_s $push195=, 4($0) + i32.const $push1389=, 4 + i32.add $push1388=, $1, $pop1389 + tee_local $push1387=, $4=, $pop1388 + i32.load16_s $push197=, 0($pop1387) + i32.const $push1386=, 4 + i32.div_s $push667=, $pop197, $pop1386 + i32.ne $push668=, $pop195, $pop667 + br_if 2, $pop668 # 2: down to label0 # BB#102: # %lor.lhs.false948 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push193=, 2($0) - i32.const $push1473=, 16 - i32.shl $push663=, $pop193, $pop1473 - i32.const $push1472=, 16 - i32.shr_s $push664=, $pop663, $pop1472 - i32.const $push1471=, 2 - i32.add $push1470=, $1, $pop1471 - tee_local $push1469=, $6=, $pop1470 - i32.load16_u $push195=, 0($pop1469) - i32.const $push1468=, 16 - i32.shl $push1467=, $pop195, $pop1468 - tee_local $push1466=, $7=, $pop1467 - i32.const $push1465=, 16 - i32.shr_s $push665=, $pop1466, $pop1465 - i32.const $push1464=, 31 - i32.shr_s $push666=, $7, $pop1464 - i32.const $push1463=, 30 - i32.shr_u $push667=, $pop666, $pop1463 - i32.add $push668=, $pop665, $pop667 - i32.const $push1462=, 2 - i32.shr_s $push669=, $pop668, $pop1462 - i32.ne $push670=, $pop664, $pop669 - br_if 2, $pop670 # 2: down to label0 + i32.load16_u $push194=, 2($0) + i32.const $push1397=, 16 + i32.shl $push669=, $pop194, $pop1397 + i32.const $push1396=, 16 + i32.shr_s $push670=, $pop669, $pop1396 + i32.const $push1395=, 2 + i32.add $push1394=, $1, $pop1395 + tee_local $push1393=, $5=, $pop1394 + i32.load16_u $push196=, 0($pop1393) + i32.const $push1392=, 16 + i32.shl $push671=, $pop196, $pop1392 + i32.const $push1391=, 16 + i32.shr_s $push672=, $pop671, $pop1391 + i32.const $push1390=, 4 + i32.div_s $push673=, $pop672, $pop1390 + i32.ne $push674=, $pop670, $pop673 + br_if 2, $pop674 # 2: down to label0 # BB#103: # %if.end958 # in Loop: Header=BB24_99 Depth=1 - copy_local $7=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.const $push1479=, 8 - i32.add $push1478=, $1, $pop1479 - tee_local $push1477=, $7=, $pop1478 - i32.load16_s $8=, 0($pop1477) - i32.load16_s $push196=, 8($0) - i32.const $push1476=, 31 - i32.shr_s $push671=, $8, $pop1476 - i32.const $push1475=, 30 - i32.shr_u $push672=, $pop671, $pop1475 - i32.add $push673=, $8, $pop672 - i32.const $push1474=, 2 - i32.shr_s $push674=, $pop673, $pop1474 - i32.ne $push675=, $pop196, $pop674 - br_if 2, $pop675 # 2: down to label0 + i32.load16_s $push198=, 8($0) + i32.const $push1401=, 8 + i32.add $push1400=, $1, $pop1401 + tee_local $push1399=, $6=, $pop1400 + i32.load16_s $push200=, 0($pop1399) + i32.const $push1398=, 4 + i32.div_s $push675=, $pop200, $pop1398 + i32.ne $push676=, $pop198, $pop675 + br_if 2, $pop676 # 2: down to label0 # BB#104: # %lor.lhs.false967 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push197=, 14($0) - i32.const $push1491=, 16 - i32.shl $push676=, $pop197, $pop1491 - i32.const $push1490=, 16 - i32.shr_s $push677=, $pop676, $pop1490 - i32.const $push1489=, 14 - i32.add $push1488=, $1, $pop1489 - tee_local $push1487=, $8=, $pop1488 - i32.load16_u $push198=, 0($pop1487) - i32.const $push1486=, 16 - i32.shl $push1485=, $pop198, $pop1486 - tee_local $push1484=, $9=, $pop1485 - i32.const $push1483=, 16 - i32.shr_s $push678=, $pop1484, $pop1483 - i32.const $push1482=, 31 - i32.shr_s $push679=, $9, $pop1482 - i32.const $push1481=, 30 - i32.shr_u $push680=, $pop679, $pop1481 - i32.add $push681=, $pop678, $pop680 - i32.const $push1480=, 2 - i32.shr_s $push682=, $pop681, $pop1480 - i32.ne $push683=, $pop677, $pop682 - br_if 2, $pop683 # 2: down to label0 + i32.load16_u $push199=, 14($0) + i32.const $push1409=, 16 + i32.shl $push677=, $pop199, $pop1409 + i32.const $push1408=, 16 + i32.shr_s $push678=, $pop677, $pop1408 + i32.const $push1407=, 14 + i32.add $push1406=, $1, $pop1407 + tee_local $push1405=, $7=, $pop1406 + i32.load16_u $push201=, 0($pop1405) + i32.const $push1404=, 16 + i32.shl $push679=, $pop201, $pop1404 + i32.const $push1403=, 16 + i32.shr_s $push680=, $pop679, $pop1403 + i32.const $push1402=, 4 + i32.div_s $push681=, $pop680, $pop1402 + i32.ne $push682=, $pop678, $pop681 + br_if 2, $pop682 # 2: down to label0 # BB#105: # %if.end977 # in Loop: Header=BB24_99 Depth=1 - copy_local $9=, $0 + copy_local $8=, $0 #APP #NO_APP - i32.const $push1497=, 12 - i32.add $push1496=, $1, $pop1497 - tee_local $push1495=, $9=, $pop1496 - i32.load16_s $10=, 0($pop1495) - i32.load16_s $push200=, 12($0) - i32.const $push1494=, 31 - i32.shr_s $push684=, $10, $pop1494 - i32.const $push1493=, 30 - i32.shr_u $push685=, $pop684, $pop1493 - i32.add $push686=, $10, $pop685 - i32.const $push1492=, 2 - i32.shr_s $push687=, $pop686, $pop1492 - i32.ne $push688=, $pop200, $pop687 - br_if 2, $pop688 # 2: down to label0 + i32.load16_s $push203=, 12($0) + i32.const $push1413=, 12 + i32.add $push1412=, $1, $pop1413 + tee_local $push1411=, $8=, $pop1412 + i32.load16_s $push205=, 0($pop1411) + i32.const $push1410=, 4 + i32.div_s $push683=, $pop205, $pop1410 + i32.ne $push684=, $pop203, $pop683 + br_if 2, $pop684 # 2: down to label0 # BB#106: # %lor.lhs.false986 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push199=, 10($0) - i32.const $push1509=, 16 - i32.shl $push689=, $pop199, $pop1509 - i32.const $push1508=, 16 - i32.shr_s $push690=, $pop689, $pop1508 - i32.const $push1507=, 10 - i32.add $push1506=, $1, $pop1507 - tee_local $push1505=, $10=, $pop1506 - i32.load16_u $push201=, 0($pop1505) - i32.const $push1504=, 16 - i32.shl $push1503=, $pop201, $pop1504 - tee_local $push1502=, $3=, $pop1503 - i32.const $push1501=, 16 - i32.shr_s $push691=, $pop1502, $pop1501 - i32.const $push1500=, 31 - i32.shr_s $push692=, $3, $pop1500 - i32.const $push1499=, 30 - i32.shr_u $push693=, $pop692, $pop1499 - i32.add $push694=, $pop691, $pop693 - i32.const $push1498=, 2 - i32.shr_s $push695=, $pop694, $pop1498 - i32.ne $push696=, $pop690, $pop695 - br_if 2, $pop696 # 2: down to label0 + i32.load16_u $push202=, 10($0) + i32.const $push1421=, 16 + i32.shl $push685=, $pop202, $pop1421 + i32.const $push1420=, 16 + i32.shr_s $push686=, $pop685, $pop1420 + i32.const $push1419=, 10 + i32.add $push1418=, $1, $pop1419 + tee_local $push1417=, $9=, $pop1418 + i32.load16_u $push204=, 0($pop1417) + i32.const $push1416=, 16 + i32.shl $push687=, $pop204, $pop1416 + i32.const $push1415=, 16 + i32.shr_s $push688=, $pop687, $pop1415 + i32.const $push1414=, 4 + i32.div_s $push689=, $pop688, $pop1414 + i32.ne $push690=, $pop686, $pop689 + br_if 2, $pop690 # 2: down to label0 # BB#107: # %if.end996 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sr44444444@FUNCTION, $0, $1 - i32.load16_s $3=, 0($1) - i32.load16_s $push202=, 0($0) - i32.const $push1512=, 31 - i32.shr_s $push697=, $3, $pop1512 - i32.const $push1511=, 30 - i32.shr_u $push698=, $pop697, $pop1511 - i32.add $push699=, $3, $pop698 - i32.const $push1510=, -4 - i32.and $push700=, $pop699, $pop1510 - i32.sub $push701=, $3, $pop700 - i32.ne $push702=, $pop202, $pop701 - br_if 2, $pop702 # 2: down to label0 + i32.load16_s $push206=, 0($0) + i32.load16_s $push208=, 0($1) + i32.const $push1422=, 4 + i32.rem_s $push691=, $pop208, $pop1422 + i32.ne $push692=, $pop206, $pop691 + br_if 2, $pop692 # 2: down to label0 # BB#108: # %lor.lhs.false1006 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push204=, 0($4) - i32.const $push1521=, 16 - i32.shl $push1520=, $pop204, $pop1521 - tee_local $push1519=, $11=, $pop1520 - i32.const $push1518=, 16 - i32.shr_s $3=, $pop1519, $pop1518 - i32.load16_u $push203=, 6($0) - i32.const $push1517=, 16 - i32.shl $push703=, $pop203, $pop1517 - i32.const $push1516=, 16 - i32.shr_s $push704=, $pop703, $pop1516 - i32.const $push1515=, 31 - i32.shr_s $push705=, $11, $pop1515 - i32.const $push1514=, 30 - i32.shr_u $push706=, $pop705, $pop1514 - i32.add $push707=, $3, $pop706 - i32.const $push1513=, -4 - i32.and $push708=, $pop707, $pop1513 - i32.sub $push709=, $3, $pop708 - i32.ne $push710=, $pop704, $pop709 - br_if 2, $pop710 # 2: down to label0 + i32.load16_u $push207=, 6($0) + i32.const $push1427=, 16 + i32.shl $push693=, $pop207, $pop1427 + i32.const $push1426=, 16 + i32.shr_s $push694=, $pop693, $pop1426 + i32.load16_u $push209=, 0($3) + i32.const $push1425=, 16 + i32.shl $push695=, $pop209, $pop1425 + i32.const $push1424=, 16 + i32.shr_s $push696=, $pop695, $pop1424 + i32.const $push1423=, 4 + i32.rem_s $push697=, $pop696, $pop1423 + i32.ne $push698=, $pop694, $pop697 + br_if 2, $pop698 # 2: down to label0 # BB#109: # %if.end1016 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($5) - i32.load16_s $push206=, 4($0) - i32.const $push1524=, 31 - i32.shr_s $push711=, $3, $pop1524 - i32.const $push1523=, 30 - i32.shr_u $push712=, $pop711, $pop1523 - i32.add $push713=, $3, $pop712 - i32.const $push1522=, -4 - i32.and $push714=, $pop713, $pop1522 - i32.sub $push715=, $3, $pop714 - i32.ne $push716=, $pop206, $pop715 - br_if 2, $pop716 # 2: down to label0 + i32.load16_s $push211=, 4($0) + i32.load16_s $push213=, 0($4) + i32.const $push1428=, 4 + i32.rem_s $push699=, $pop213, $pop1428 + i32.ne $push700=, $pop211, $pop699 + br_if 2, $pop700 # 2: down to label0 # BB#110: # %lor.lhs.false1025 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push207=, 0($6) - i32.const $push1533=, 16 - i32.shl $push1532=, $pop207, $pop1533 - tee_local $push1531=, $11=, $pop1532 - i32.const $push1530=, 16 - i32.shr_s $3=, $pop1531, $pop1530 - i32.load16_u $push205=, 2($0) - i32.const $push1529=, 16 - i32.shl $push717=, $pop205, $pop1529 - i32.const $push1528=, 16 - i32.shr_s $push718=, $pop717, $pop1528 - i32.const $push1527=, 31 - i32.shr_s $push719=, $11, $pop1527 - i32.const $push1526=, 30 - i32.shr_u $push720=, $pop719, $pop1526 - i32.add $push721=, $3, $pop720 - i32.const $push1525=, -4 - i32.and $push722=, $pop721, $pop1525 - i32.sub $push723=, $3, $pop722 - i32.ne $push724=, $pop718, $pop723 - br_if 2, $pop724 # 2: down to label0 + i32.load16_u $push210=, 2($0) + i32.const $push1433=, 16 + i32.shl $push701=, $pop210, $pop1433 + i32.const $push1432=, 16 + i32.shr_s $push702=, $pop701, $pop1432 + i32.load16_u $push212=, 0($5) + i32.const $push1431=, 16 + i32.shl $push703=, $pop212, $pop1431 + i32.const $push1430=, 16 + i32.shr_s $push704=, $pop703, $pop1430 + i32.const $push1429=, 4 + i32.rem_s $push705=, $pop704, $pop1429 + i32.ne $push706=, $pop702, $pop705 + br_if 2, $pop706 # 2: down to label0 # BB#111: # %if.end1035 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($7) - i32.load16_s $push208=, 8($0) - i32.const $push1536=, 31 - i32.shr_s $push725=, $3, $pop1536 - i32.const $push1535=, 30 - i32.shr_u $push726=, $pop725, $pop1535 - i32.add $push727=, $3, $pop726 - i32.const $push1534=, -4 - i32.and $push728=, $pop727, $pop1534 - i32.sub $push729=, $3, $pop728 - i32.ne $push730=, $pop208, $pop729 - br_if 2, $pop730 # 2: down to label0 + i32.load16_s $push214=, 8($0) + i32.load16_s $push216=, 0($6) + i32.const $push1434=, 4 + i32.rem_s $push707=, $pop216, $pop1434 + i32.ne $push708=, $pop214, $pop707 + br_if 2, $pop708 # 2: down to label0 # BB#112: # %lor.lhs.false1044 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push210=, 0($8) - i32.const $push1545=, 16 - i32.shl $push1544=, $pop210, $pop1545 - tee_local $push1543=, $11=, $pop1544 - i32.const $push1542=, 16 - i32.shr_s $3=, $pop1543, $pop1542 - i32.load16_u $push209=, 14($0) - i32.const $push1541=, 16 - i32.shl $push731=, $pop209, $pop1541 - i32.const $push1540=, 16 - i32.shr_s $push732=, $pop731, $pop1540 - i32.const $push1539=, 31 - i32.shr_s $push733=, $11, $pop1539 - i32.const $push1538=, 30 - i32.shr_u $push734=, $pop733, $pop1538 - i32.add $push735=, $3, $pop734 - i32.const $push1537=, -4 - i32.and $push736=, $pop735, $pop1537 - i32.sub $push737=, $3, $pop736 - i32.ne $push738=, $pop732, $pop737 - br_if 2, $pop738 # 2: down to label0 + i32.load16_u $push215=, 14($0) + i32.const $push1439=, 16 + i32.shl $push709=, $pop215, $pop1439 + i32.const $push1438=, 16 + i32.shr_s $push710=, $pop709, $pop1438 + i32.load16_u $push217=, 0($7) + i32.const $push1437=, 16 + i32.shl $push711=, $pop217, $pop1437 + i32.const $push1436=, 16 + i32.shr_s $push712=, $pop711, $pop1436 + i32.const $push1435=, 4 + i32.rem_s $push713=, $pop712, $pop1435 + i32.ne $push714=, $pop710, $pop713 + br_if 2, $pop714 # 2: down to label0 # BB#113: # %if.end1054 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($9) - i32.load16_s $push212=, 12($0) - i32.const $push1548=, 31 - i32.shr_s $push739=, $3, $pop1548 - i32.const $push1547=, 30 - i32.shr_u $push740=, $pop739, $pop1547 - i32.add $push741=, $3, $pop740 - i32.const $push1546=, -4 - i32.and $push742=, $pop741, $pop1546 - i32.sub $push743=, $3, $pop742 - i32.ne $push744=, $pop212, $pop743 - br_if 2, $pop744 # 2: down to label0 + i32.load16_s $push219=, 12($0) + i32.load16_s $push221=, 0($8) + i32.const $push1440=, 4 + i32.rem_s $push715=, $pop221, $pop1440 + i32.ne $push716=, $pop219, $pop715 + br_if 2, $pop716 # 2: down to label0 # BB#114: # %lor.lhs.false1063 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push213=, 0($10) - i32.const $push1557=, 16 - i32.shl $push1556=, $pop213, $pop1557 - tee_local $push1555=, $11=, $pop1556 - i32.const $push1554=, 16 - i32.shr_s $3=, $pop1555, $pop1554 - i32.load16_u $push211=, 10($0) - i32.const $push1553=, 16 - i32.shl $push745=, $pop211, $pop1553 - i32.const $push1552=, 16 - i32.shr_s $push746=, $pop745, $pop1552 - i32.const $push1551=, 31 - i32.shr_s $push747=, $11, $pop1551 - i32.const $push1550=, 30 - i32.shr_u $push748=, $pop747, $pop1550 - i32.add $push749=, $3, $pop748 - i32.const $push1549=, -4 - i32.and $push750=, $pop749, $pop1549 - i32.sub $push751=, $3, $pop750 - i32.ne $push752=, $pop746, $pop751 - br_if 2, $pop752 # 2: down to label0 + i32.load16_u $push218=, 10($0) + i32.const $push1445=, 16 + i32.shl $push717=, $pop218, $pop1445 + i32.const $push1444=, 16 + i32.shr_s $push718=, $pop717, $pop1444 + i32.load16_u $push220=, 0($9) + i32.const $push1443=, 16 + i32.shl $push719=, $pop220, $pop1443 + i32.const $push1442=, 16 + i32.shr_s $push720=, $pop719, $pop1442 + i32.const $push1441=, 4 + i32.rem_s $push721=, $pop720, $pop1441 + i32.ne $push722=, $pop718, $pop721 + br_if 2, $pop722 # 2: down to label0 # BB#115: # %if.end1073 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sq1428166432128@FUNCTION, $0, $1 - i32.load16_u $push214=, 0($0) - i32.load16_u $push216=, 0($1) - i32.ne $push753=, $pop214, $pop216 - br_if 2, $pop753 # 2: down to label0 + i32.load16_u $push222=, 0($0) + i32.load16_u $push224=, 0($1) + i32.ne $push723=, $pop222, $pop224 + br_if 2, $pop723 # 2: down to label0 # BB#116: # %lor.lhs.false1083 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push215=, 6($0) - i32.const $push1566=, 16 - i32.shl $push754=, $pop215, $pop1566 - i32.const $push1565=, 16 - i32.shr_s $push755=, $pop754, $pop1565 - i32.load16_u $push217=, 0($4) - i32.const $push1564=, 16 - i32.shl $push1563=, $pop217, $pop1564 - tee_local $push1562=, $3=, $pop1563 - i32.const $push1561=, 16 - i32.shr_s $push756=, $pop1562, $pop1561 - i32.const $push1560=, 31 - i32.shr_s $push757=, $3, $pop1560 - i32.const $push1559=, 29 - i32.shr_u $push758=, $pop757, $pop1559 - i32.add $push759=, $pop756, $pop758 - i32.const $push1558=, 3 - i32.shr_s $push760=, $pop759, $pop1558 - i32.ne $push761=, $pop755, $pop760 - br_if 2, $pop761 # 2: down to label0 + i32.load16_u $push223=, 6($0) + i32.const $push1450=, 16 + i32.shl $push724=, $pop223, $pop1450 + i32.const $push1449=, 16 + i32.shr_s $push725=, $pop724, $pop1449 + i32.load16_u $push225=, 0($3) + i32.const $push1448=, 16 + i32.shl $push726=, $pop225, $pop1448 + i32.const $push1447=, 16 + i32.shr_s $push727=, $pop726, $pop1447 + i32.const $push1446=, 8 + i32.div_s $push728=, $pop727, $pop1446 + i32.ne $push729=, $pop725, $pop728 + br_if 2, $pop729 # 2: down to label0 # BB#117: # %if.end1093 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($5) - i32.load16_s $push219=, 4($0) - i32.const $push1568=, 31 - i32.shr_u $push762=, $3, $pop1568 - i32.add $push763=, $3, $pop762 - i32.const $push1567=, 1 - i32.shr_s $push764=, $pop763, $pop1567 - i32.ne $push765=, $pop219, $pop764 - br_if 2, $pop765 # 2: down to label0 + i32.load16_s $push227=, 4($0) + i32.load16_s $push229=, 0($4) + i32.const $push1451=, 2 + i32.div_s $push730=, $pop229, $pop1451 + i32.ne $push731=, $pop227, $pop730 + br_if 2, $pop731 # 2: down to label0 # BB#118: # %lor.lhs.false1102 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push218=, 2($0) - i32.const $push1577=, 16 - i32.shl $push766=, $pop218, $pop1577 - i32.const $push1576=, 16 - i32.shr_s $push767=, $pop766, $pop1576 - i32.load16_u $push220=, 0($6) - i32.const $push1575=, 16 - i32.shl $push1574=, $pop220, $pop1575 - tee_local $push1573=, $3=, $pop1574 - i32.const $push1572=, 16 - i32.shr_s $push768=, $pop1573, $pop1572 - i32.const $push1571=, 31 - i32.shr_s $push769=, $3, $pop1571 - i32.const $push1570=, 30 - i32.shr_u $push770=, $pop769, $pop1570 - i32.add $push771=, $pop768, $pop770 - i32.const $push1569=, 2 - i32.shr_s $push772=, $pop771, $pop1569 - i32.ne $push773=, $pop767, $pop772 - br_if 2, $pop773 # 2: down to label0 + i32.load16_u $push226=, 2($0) + i32.const $push1456=, 16 + i32.shl $push732=, $pop226, $pop1456 + i32.const $push1455=, 16 + i32.shr_s $push733=, $pop732, $pop1455 + i32.load16_u $push228=, 0($5) + i32.const $push1454=, 16 + i32.shl $push734=, $pop228, $pop1454 + i32.const $push1453=, 16 + i32.shr_s $push735=, $pop734, $pop1453 + i32.const $push1452=, 4 + i32.div_s $push736=, $pop735, $pop1452 + i32.ne $push737=, $pop733, $pop736 + br_if 2, $pop737 # 2: down to label0 # BB#119: # %if.end1112 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($7) - i32.load16_s $push221=, 8($0) - i32.const $push1580=, 31 - i32.shr_s $push774=, $3, $pop1580 - i32.const $push1579=, 28 - i32.shr_u $push775=, $pop774, $pop1579 - i32.add $push776=, $3, $pop775 - i32.const $push1578=, 4 - i32.shr_s $push777=, $pop776, $pop1578 - i32.ne $push778=, $pop221, $pop777 - br_if 2, $pop778 # 2: down to label0 + i32.load16_s $push230=, 8($0) + i32.load16_s $push232=, 0($6) + i32.const $push1457=, 16 + i32.div_s $push738=, $pop232, $pop1457 + i32.ne $push739=, $pop230, $pop738 + br_if 2, $pop739 # 2: down to label0 # BB#120: # %lor.lhs.false1121 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push222=, 14($0) - i32.const $push1589=, 16 - i32.shl $push779=, $pop222, $pop1589 - i32.const $push1588=, 16 - i32.shr_s $push780=, $pop779, $pop1588 - i32.load16_u $push223=, 0($8) - i32.const $push1587=, 16 - i32.shl $push1586=, $pop223, $pop1587 - tee_local $push1585=, $3=, $pop1586 - i32.const $push1584=, 16 - i32.shr_s $push781=, $pop1585, $pop1584 - i32.const $push1583=, 31 - i32.shr_s $push782=, $3, $pop1583 - i32.const $push1582=, 25 - i32.shr_u $push783=, $pop782, $pop1582 - i32.add $push784=, $pop781, $pop783 - i32.const $push1581=, 7 - i32.shr_s $push785=, $pop784, $pop1581 - i32.ne $push786=, $pop780, $pop785 - br_if 2, $pop786 # 2: down to label0 + i32.load16_u $push231=, 14($0) + i32.const $push1462=, 16 + i32.shl $push740=, $pop231, $pop1462 + i32.const $push1461=, 16 + i32.shr_s $push741=, $pop740, $pop1461 + i32.load16_u $push233=, 0($7) + i32.const $push1460=, 16 + i32.shl $push742=, $pop233, $pop1460 + i32.const $push1459=, 16 + i32.shr_s $push743=, $pop742, $pop1459 + i32.const $push1458=, 128 + i32.div_s $push744=, $pop743, $pop1458 + i32.ne $push745=, $pop741, $pop744 + br_if 2, $pop745 # 2: down to label0 # BB#121: # %if.end1131 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($9) - i32.load16_s $push225=, 12($0) - i32.const $push1592=, 31 - i32.shr_s $push787=, $3, $pop1592 - i32.const $push1591=, 27 - i32.shr_u $push788=, $pop787, $pop1591 - i32.add $push789=, $3, $pop788 - i32.const $push1590=, 5 - i32.shr_s $push790=, $pop789, $pop1590 - i32.ne $push791=, $pop225, $pop790 - br_if 2, $pop791 # 2: down to label0 + i32.load16_s $push235=, 12($0) + i32.load16_s $push237=, 0($8) + i32.const $push1463=, 32 + i32.div_s $push746=, $pop237, $pop1463 + i32.ne $push747=, $pop235, $pop746 + br_if 2, $pop747 # 2: down to label0 # BB#122: # %lor.lhs.false1140 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push224=, 10($0) - i32.const $push1601=, 16 - i32.shl $push792=, $pop224, $pop1601 - i32.const $push1600=, 16 - i32.shr_s $push793=, $pop792, $pop1600 - i32.load16_u $push226=, 0($10) - i32.const $push1599=, 16 - i32.shl $push1598=, $pop226, $pop1599 - tee_local $push1597=, $3=, $pop1598 - i32.const $push1596=, 16 - i32.shr_s $push794=, $pop1597, $pop1596 - i32.const $push1595=, 31 - i32.shr_s $push795=, $3, $pop1595 - i32.const $push1594=, 26 - i32.shr_u $push796=, $pop795, $pop1594 - i32.add $push797=, $pop794, $pop796 - i32.const $push1593=, 6 - i32.shr_s $push798=, $pop797, $pop1593 - i32.ne $push799=, $pop793, $pop798 - br_if 2, $pop799 # 2: down to label0 + i32.load16_u $push234=, 10($0) + i32.const $push1468=, 16 + i32.shl $push748=, $pop234, $pop1468 + i32.const $push1467=, 16 + i32.shr_s $push749=, $pop748, $pop1467 + i32.load16_u $push236=, 0($9) + i32.const $push1466=, 16 + i32.shl $push750=, $pop236, $pop1466 + i32.const $push1465=, 16 + i32.shr_s $push751=, $pop750, $pop1465 + i32.const $push1464=, 64 + i32.div_s $push752=, $pop751, $pop1464 + i32.ne $push753=, $pop749, $pop752 + br_if 2, $pop753 # 2: down to label0 # BB#123: # %if.end1150 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sr1428166432128@FUNCTION, $0, $1 - i32.load16_u $push227=, 0($0) - br_if 2, $pop227 # 2: down to label0 + i32.load16_u $push238=, 0($0) + br_if 2, $pop238 # 2: down to label0 # BB#124: # %lor.lhs.false1160 # in Loop: Header=BB24_99 Depth=1 - i32.load16_s $3=, 0($4) - i32.load16_u $push228=, 6($0) - i32.const $push1606=, 16 - i32.shl $push800=, $pop228, $pop1606 - i32.const $push1605=, 16 - i32.shr_s $push801=, $pop800, $pop1605 - i32.const $push1604=, 31 - i32.shr_s $push802=, $3, $pop1604 - i32.const $push1603=, 29 - i32.shr_u $push803=, $pop802, $pop1603 - i32.add $push804=, $3, $pop803 - i32.const $push1602=, -8 - i32.and $push805=, $pop804, $pop1602 - i32.sub $push806=, $3, $pop805 - i32.ne $push807=, $pop801, $pop806 - br_if 2, $pop807 # 2: down to label0 + i32.load16_u $push239=, 6($0) + i32.const $push1471=, 16 + i32.shl $push756=, $pop239, $pop1471 + i32.const $push1470=, 16 + i32.shr_s $push757=, $pop756, $pop1470 + i32.load16_s $push754=, 0($3) + i32.const $push1469=, 8 + i32.rem_s $push755=, $pop754, $pop1469 + i32.ne $push758=, $pop757, $pop755 + br_if 2, $pop758 # 2: down to label0 # BB#125: # %if.end1170 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($5) - i32.load16_s $push230=, 4($0) - i32.const $push1608=, 31 - i32.shr_u $push808=, $3, $pop1608 - i32.add $push809=, $3, $pop808 - i32.const $push1607=, -2 - i32.and $push810=, $pop809, $pop1607 - i32.sub $push811=, $3, $pop810 - i32.ne $push812=, $pop230, $pop811 - br_if 2, $pop812 # 2: down to label0 + i32.load16_s $push241=, 4($0) + i32.load16_s $push243=, 0($4) + i32.const $push1472=, 2 + i32.rem_s $push759=, $pop243, $pop1472 + i32.ne $push760=, $pop241, $pop759 + br_if 2, $pop760 # 2: down to label0 # BB#126: # %lor.lhs.false1179 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push231=, 0($6) - i32.const $push1617=, 16 - i32.shl $push1616=, $pop231, $pop1617 - tee_local $push1615=, $11=, $pop1616 - i32.const $push1614=, 16 - i32.shr_s $3=, $pop1615, $pop1614 - i32.load16_u $push229=, 2($0) - i32.const $push1613=, 16 - i32.shl $push813=, $pop229, $pop1613 - i32.const $push1612=, 16 - i32.shr_s $push814=, $pop813, $pop1612 - i32.const $push1611=, 31 - i32.shr_s $push815=, $11, $pop1611 - i32.const $push1610=, 30 - i32.shr_u $push816=, $pop815, $pop1610 - i32.add $push817=, $3, $pop816 - i32.const $push1609=, -4 - i32.and $push818=, $pop817, $pop1609 - i32.sub $push819=, $3, $pop818 - i32.ne $push820=, $pop814, $pop819 - br_if 2, $pop820 # 2: down to label0 + i32.load16_u $push240=, 2($0) + i32.const $push1477=, 16 + i32.shl $push761=, $pop240, $pop1477 + i32.const $push1476=, 16 + i32.shr_s $push762=, $pop761, $pop1476 + i32.load16_u $push242=, 0($5) + i32.const $push1475=, 16 + i32.shl $push763=, $pop242, $pop1475 + i32.const $push1474=, 16 + i32.shr_s $push764=, $pop763, $pop1474 + i32.const $push1473=, 4 + i32.rem_s $push765=, $pop764, $pop1473 + i32.ne $push766=, $pop762, $pop765 + br_if 2, $pop766 # 2: down to label0 # BB#127: # %if.end1189 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($7) - i32.load16_s $push232=, 8($0) - i32.const $push1620=, 31 - i32.shr_s $push821=, $3, $pop1620 - i32.const $push1619=, 28 - i32.shr_u $push822=, $pop821, $pop1619 - i32.add $push823=, $3, $pop822 - i32.const $push1618=, -16 - i32.and $push824=, $pop823, $pop1618 - i32.sub $push825=, $3, $pop824 - i32.ne $push826=, $pop232, $pop825 - br_if 2, $pop826 # 2: down to label0 + i32.load16_s $push244=, 8($0) + i32.load16_s $push246=, 0($6) + i32.const $push1478=, 16 + i32.rem_s $push767=, $pop246, $pop1478 + i32.ne $push768=, $pop244, $pop767 + br_if 2, $pop768 # 2: down to label0 # BB#128: # %lor.lhs.false1198 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push234=, 0($8) - i32.const $push1629=, 16 - i32.shl $push1628=, $pop234, $pop1629 - tee_local $push1627=, $11=, $pop1628 - i32.const $push1626=, 16 - i32.shr_s $3=, $pop1627, $pop1626 - i32.load16_u $push233=, 14($0) - i32.const $push1625=, 16 - i32.shl $push827=, $pop233, $pop1625 - i32.const $push1624=, 16 - i32.shr_s $push828=, $pop827, $pop1624 - i32.const $push1623=, 31 - i32.shr_s $push829=, $11, $pop1623 - i32.const $push1622=, 25 - i32.shr_u $push830=, $pop829, $pop1622 - i32.add $push831=, $3, $pop830 - i32.const $push1621=, -128 - i32.and $push832=, $pop831, $pop1621 - i32.sub $push833=, $3, $pop832 - i32.ne $push834=, $pop828, $pop833 - br_if 2, $pop834 # 2: down to label0 + i32.load16_u $push245=, 14($0) + i32.const $push1483=, 16 + i32.shl $push769=, $pop245, $pop1483 + i32.const $push1482=, 16 + i32.shr_s $push770=, $pop769, $pop1482 + i32.load16_u $push247=, 0($7) + i32.const $push1481=, 16 + i32.shl $push771=, $pop247, $pop1481 + i32.const $push1480=, 16 + i32.shr_s $push772=, $pop771, $pop1480 + i32.const $push1479=, 128 + i32.rem_s $push773=, $pop772, $pop1479 + i32.ne $push774=, $pop770, $pop773 + br_if 2, $pop774 # 2: down to label0 # BB#129: # %if.end1208 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $3=, 0($9) - i32.load16_s $push236=, 12($0) - i32.const $push1632=, 31 - i32.shr_s $push835=, $3, $pop1632 - i32.const $push1631=, 27 - i32.shr_u $push836=, $pop835, $pop1631 - i32.add $push837=, $3, $pop836 - i32.const $push1630=, -32 - i32.and $push838=, $pop837, $pop1630 - i32.sub $push839=, $3, $pop838 - i32.ne $push840=, $pop236, $pop839 - br_if 2, $pop840 # 2: down to label0 + i32.load16_s $push249=, 12($0) + i32.load16_s $push251=, 0($8) + i32.const $push1484=, 32 + i32.rem_s $push775=, $pop251, $pop1484 + i32.ne $push776=, $pop249, $pop775 + br_if 2, $pop776 # 2: down to label0 # BB#130: # %lor.lhs.false1217 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push237=, 0($10) - i32.const $push1641=, 16 - i32.shl $push1640=, $pop237, $pop1641 - tee_local $push1639=, $11=, $pop1640 - i32.const $push1638=, 16 - i32.shr_s $3=, $pop1639, $pop1638 - i32.load16_u $push235=, 10($0) - i32.const $push1637=, 16 - i32.shl $push841=, $pop235, $pop1637 - i32.const $push1636=, 16 - i32.shr_s $push842=, $pop841, $pop1636 - i32.const $push1635=, 31 - i32.shr_s $push843=, $11, $pop1635 - i32.const $push1634=, 26 - i32.shr_u $push844=, $pop843, $pop1634 - i32.add $push845=, $3, $pop844 - i32.const $push1633=, -64 - i32.and $push846=, $pop845, $pop1633 - i32.sub $push847=, $3, $pop846 - i32.ne $push848=, $pop842, $pop847 - br_if 2, $pop848 # 2: down to label0 + i32.load16_u $push248=, 10($0) + i32.const $push1489=, 16 + i32.shl $push777=, $pop248, $pop1489 + i32.const $push1488=, 16 + i32.shr_s $push778=, $pop777, $pop1488 + i32.load16_u $push250=, 0($9) + i32.const $push1487=, 16 + i32.shl $push779=, $pop250, $pop1487 + i32.const $push1486=, 16 + i32.shr_s $push780=, $pop779, $pop1486 + i32.const $push1485=, 64 + i32.rem_s $push781=, $pop780, $pop1485 + i32.ne $push782=, $pop778, $pop781 + br_if 2, $pop782 # 2: down to label0 # BB#131: # %if.end1227 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sq33333333@FUNCTION, $0, $1 - i32.load16_s $push238=, 0($0) - i32.load16_s $push240=, 0($1) - i32.const $push1642=, 3 - i32.div_s $push849=, $pop240, $pop1642 - i32.ne $push850=, $pop238, $pop849 - br_if 2, $pop850 # 2: down to label0 + i32.load16_s $push252=, 0($0) + i32.load16_s $push254=, 0($1) + i32.const $push1490=, 3 + i32.div_s $push783=, $pop254, $pop1490 + i32.ne $push784=, $pop252, $pop783 + br_if 2, $pop784 # 2: down to label0 # BB#132: # %lor.lhs.false1237 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push239=, 6($0) - i32.const $push1647=, 16 - i32.shl $push851=, $pop239, $pop1647 - i32.const $push1646=, 16 - i32.shr_s $push852=, $pop851, $pop1646 - i32.load16_u $push241=, 0($4) - i32.const $push1645=, 16 - i32.shl $push853=, $pop241, $pop1645 - i32.const $push1644=, 16 - i32.shr_s $push854=, $pop853, $pop1644 - i32.const $push1643=, 3 - i32.div_s $push855=, $pop854, $pop1643 - i32.ne $push856=, $pop852, $pop855 - br_if 2, $pop856 # 2: down to label0 + i32.load16_u $push253=, 6($0) + i32.const $push1495=, 16 + i32.shl $push785=, $pop253, $pop1495 + i32.const $push1494=, 16 + i32.shr_s $push786=, $pop785, $pop1494 + i32.load16_u $push255=, 0($3) + i32.const $push1493=, 16 + i32.shl $push787=, $pop255, $pop1493 + i32.const $push1492=, 16 + i32.shr_s $push788=, $pop787, $pop1492 + i32.const $push1491=, 3 + i32.div_s $push789=, $pop788, $pop1491 + i32.ne $push790=, $pop786, $pop789 + br_if 2, $pop790 # 2: down to label0 # BB#133: # %if.end1247 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push243=, 4($0) - i32.load16_s $push245=, 0($5) - i32.const $push1648=, 3 - i32.div_s $push857=, $pop245, $pop1648 - i32.ne $push858=, $pop243, $pop857 - br_if 2, $pop858 # 2: down to label0 + i32.load16_s $push257=, 4($0) + i32.load16_s $push259=, 0($4) + i32.const $push1496=, 3 + i32.div_s $push791=, $pop259, $pop1496 + i32.ne $push792=, $pop257, $pop791 + br_if 2, $pop792 # 2: down to label0 # BB#134: # %lor.lhs.false1256 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push242=, 2($0) - i32.const $push1653=, 16 - i32.shl $push859=, $pop242, $pop1653 - i32.const $push1652=, 16 - i32.shr_s $push860=, $pop859, $pop1652 - i32.load16_u $push244=, 0($6) - i32.const $push1651=, 16 - i32.shl $push861=, $pop244, $pop1651 - i32.const $push1650=, 16 - i32.shr_s $push862=, $pop861, $pop1650 - i32.const $push1649=, 3 - i32.div_s $push863=, $pop862, $pop1649 - i32.ne $push864=, $pop860, $pop863 - br_if 2, $pop864 # 2: down to label0 + i32.load16_u $push256=, 2($0) + i32.const $push1501=, 16 + i32.shl $push793=, $pop256, $pop1501 + i32.const $push1500=, 16 + i32.shr_s $push794=, $pop793, $pop1500 + i32.load16_u $push258=, 0($5) + i32.const $push1499=, 16 + i32.shl $push795=, $pop258, $pop1499 + i32.const $push1498=, 16 + i32.shr_s $push796=, $pop795, $pop1498 + i32.const $push1497=, 3 + i32.div_s $push797=, $pop796, $pop1497 + i32.ne $push798=, $pop794, $pop797 + br_if 2, $pop798 # 2: down to label0 # BB#135: # %if.end1266 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push246=, 8($0) - i32.load16_s $push248=, 0($7) - i32.const $push1654=, 3 - i32.div_s $push865=, $pop248, $pop1654 - i32.ne $push866=, $pop246, $pop865 - br_if 2, $pop866 # 2: down to label0 + i32.load16_s $push260=, 8($0) + i32.load16_s $push262=, 0($6) + i32.const $push1502=, 3 + i32.div_s $push799=, $pop262, $pop1502 + i32.ne $push800=, $pop260, $pop799 + br_if 2, $pop800 # 2: down to label0 # BB#136: # %lor.lhs.false1275 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push247=, 14($0) - i32.const $push1659=, 16 - i32.shl $push867=, $pop247, $pop1659 - i32.const $push1658=, 16 - i32.shr_s $push868=, $pop867, $pop1658 - i32.load16_u $push249=, 0($8) - i32.const $push1657=, 16 - i32.shl $push869=, $pop249, $pop1657 - i32.const $push1656=, 16 - i32.shr_s $push870=, $pop869, $pop1656 - i32.const $push1655=, 3 - i32.div_s $push871=, $pop870, $pop1655 - i32.ne $push872=, $pop868, $pop871 - br_if 2, $pop872 # 2: down to label0 + i32.load16_u $push261=, 14($0) + i32.const $push1507=, 16 + i32.shl $push801=, $pop261, $pop1507 + i32.const $push1506=, 16 + i32.shr_s $push802=, $pop801, $pop1506 + i32.load16_u $push263=, 0($7) + i32.const $push1505=, 16 + i32.shl $push803=, $pop263, $pop1505 + i32.const $push1504=, 16 + i32.shr_s $push804=, $pop803, $pop1504 + i32.const $push1503=, 3 + i32.div_s $push805=, $pop804, $pop1503 + i32.ne $push806=, $pop802, $pop805 + br_if 2, $pop806 # 2: down to label0 # BB#137: # %if.end1285 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push251=, 12($0) - i32.load16_s $push253=, 0($9) - i32.const $push1660=, 3 - i32.div_s $push873=, $pop253, $pop1660 - i32.ne $push874=, $pop251, $pop873 - br_if 2, $pop874 # 2: down to label0 + i32.load16_s $push265=, 12($0) + i32.load16_s $push267=, 0($8) + i32.const $push1508=, 3 + i32.div_s $push807=, $pop267, $pop1508 + i32.ne $push808=, $pop265, $pop807 + br_if 2, $pop808 # 2: down to label0 # BB#138: # %lor.lhs.false1294 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push250=, 10($0) - i32.const $push1665=, 16 - i32.shl $push875=, $pop250, $pop1665 - i32.const $push1664=, 16 - i32.shr_s $push876=, $pop875, $pop1664 - i32.load16_u $push252=, 0($10) - i32.const $push1663=, 16 - i32.shl $push877=, $pop252, $pop1663 - i32.const $push1662=, 16 - i32.shr_s $push878=, $pop877, $pop1662 - i32.const $push1661=, 3 - i32.div_s $push879=, $pop878, $pop1661 - i32.ne $push880=, $pop876, $pop879 - br_if 2, $pop880 # 2: down to label0 + i32.load16_u $push264=, 10($0) + i32.const $push1513=, 16 + i32.shl $push809=, $pop264, $pop1513 + i32.const $push1512=, 16 + i32.shr_s $push810=, $pop809, $pop1512 + i32.load16_u $push266=, 0($9) + i32.const $push1511=, 16 + i32.shl $push811=, $pop266, $pop1511 + i32.const $push1510=, 16 + i32.shr_s $push812=, $pop811, $pop1510 + i32.const $push1509=, 3 + i32.div_s $push813=, $pop812, $pop1509 + i32.ne $push814=, $pop810, $pop813 + br_if 2, $pop814 # 2: down to label0 # BB#139: # %if.end1304 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sr33333333@FUNCTION, $0, $1 - i32.load16_s $push254=, 0($0) - i32.load16_s $push256=, 0($1) - i32.const $push1666=, 3 - i32.rem_s $push881=, $pop256, $pop1666 - i32.ne $push882=, $pop254, $pop881 - br_if 2, $pop882 # 2: down to label0 + i32.load16_s $push268=, 0($0) + i32.load16_s $push270=, 0($1) + i32.const $push1514=, 3 + i32.rem_s $push815=, $pop270, $pop1514 + i32.ne $push816=, $pop268, $pop815 + br_if 2, $pop816 # 2: down to label0 # BB#140: # %lor.lhs.false1314 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push255=, 6($0) - i32.const $push1671=, 16 - i32.shl $push883=, $pop255, $pop1671 - i32.const $push1670=, 16 - i32.shr_s $push884=, $pop883, $pop1670 - i32.load16_u $push257=, 0($4) - i32.const $push1669=, 16 - i32.shl $push885=, $pop257, $pop1669 - i32.const $push1668=, 16 - i32.shr_s $push886=, $pop885, $pop1668 - i32.const $push1667=, 3 - i32.rem_s $push887=, $pop886, $pop1667 - i32.ne $push888=, $pop884, $pop887 - br_if 2, $pop888 # 2: down to label0 + i32.load16_u $push269=, 6($0) + i32.const $push1519=, 16 + i32.shl $push817=, $pop269, $pop1519 + i32.const $push1518=, 16 + i32.shr_s $push818=, $pop817, $pop1518 + i32.load16_u $push271=, 0($3) + i32.const $push1517=, 16 + i32.shl $push819=, $pop271, $pop1517 + i32.const $push1516=, 16 + i32.shr_s $push820=, $pop819, $pop1516 + i32.const $push1515=, 3 + i32.rem_s $push821=, $pop820, $pop1515 + i32.ne $push822=, $pop818, $pop821 + br_if 2, $pop822 # 2: down to label0 # BB#141: # %if.end1324 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push259=, 4($0) - i32.load16_s $push261=, 0($5) - i32.const $push1672=, 3 - i32.rem_s $push889=, $pop261, $pop1672 - i32.ne $push890=, $pop259, $pop889 - br_if 2, $pop890 # 2: down to label0 + i32.load16_s $push273=, 4($0) + i32.load16_s $push275=, 0($4) + i32.const $push1520=, 3 + i32.rem_s $push823=, $pop275, $pop1520 + i32.ne $push824=, $pop273, $pop823 + br_if 2, $pop824 # 2: down to label0 # BB#142: # %lor.lhs.false1333 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push258=, 2($0) - i32.const $push1677=, 16 - i32.shl $push891=, $pop258, $pop1677 - i32.const $push1676=, 16 - i32.shr_s $push892=, $pop891, $pop1676 - i32.load16_u $push260=, 0($6) - i32.const $push1675=, 16 - i32.shl $push893=, $pop260, $pop1675 - i32.const $push1674=, 16 - i32.shr_s $push894=, $pop893, $pop1674 - i32.const $push1673=, 3 - i32.rem_s $push895=, $pop894, $pop1673 - i32.ne $push896=, $pop892, $pop895 - br_if 2, $pop896 # 2: down to label0 + i32.load16_u $push272=, 2($0) + i32.const $push1525=, 16 + i32.shl $push825=, $pop272, $pop1525 + i32.const $push1524=, 16 + i32.shr_s $push826=, $pop825, $pop1524 + i32.load16_u $push274=, 0($5) + i32.const $push1523=, 16 + i32.shl $push827=, $pop274, $pop1523 + i32.const $push1522=, 16 + i32.shr_s $push828=, $pop827, $pop1522 + i32.const $push1521=, 3 + i32.rem_s $push829=, $pop828, $pop1521 + i32.ne $push830=, $pop826, $pop829 + br_if 2, $pop830 # 2: down to label0 # BB#143: # %if.end1343 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push262=, 8($0) - i32.load16_s $push264=, 0($7) - i32.const $push1678=, 3 - i32.rem_s $push897=, $pop264, $pop1678 - i32.ne $push898=, $pop262, $pop897 - br_if 2, $pop898 # 2: down to label0 + i32.load16_s $push276=, 8($0) + i32.load16_s $push278=, 0($6) + i32.const $push1526=, 3 + i32.rem_s $push831=, $pop278, $pop1526 + i32.ne $push832=, $pop276, $pop831 + br_if 2, $pop832 # 2: down to label0 # BB#144: # %lor.lhs.false1352 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push263=, 14($0) - i32.const $push1683=, 16 - i32.shl $push899=, $pop263, $pop1683 - i32.const $push1682=, 16 - i32.shr_s $push900=, $pop899, $pop1682 - i32.load16_u $push265=, 0($8) - i32.const $push1681=, 16 - i32.shl $push901=, $pop265, $pop1681 - i32.const $push1680=, 16 - i32.shr_s $push902=, $pop901, $pop1680 - i32.const $push1679=, 3 - i32.rem_s $push903=, $pop902, $pop1679 - i32.ne $push904=, $pop900, $pop903 - br_if 2, $pop904 # 2: down to label0 + i32.load16_u $push277=, 14($0) + i32.const $push1531=, 16 + i32.shl $push833=, $pop277, $pop1531 + i32.const $push1530=, 16 + i32.shr_s $push834=, $pop833, $pop1530 + i32.load16_u $push279=, 0($7) + i32.const $push1529=, 16 + i32.shl $push835=, $pop279, $pop1529 + i32.const $push1528=, 16 + i32.shr_s $push836=, $pop835, $pop1528 + i32.const $push1527=, 3 + i32.rem_s $push837=, $pop836, $pop1527 + i32.ne $push838=, $pop834, $pop837 + br_if 2, $pop838 # 2: down to label0 # BB#145: # %if.end1362 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push267=, 12($0) - i32.load16_s $push269=, 0($9) - i32.const $push1684=, 3 - i32.rem_s $push905=, $pop269, $pop1684 - i32.ne $push906=, $pop267, $pop905 - br_if 2, $pop906 # 2: down to label0 + i32.load16_s $push281=, 12($0) + i32.load16_s $push283=, 0($8) + i32.const $push1532=, 3 + i32.rem_s $push839=, $pop283, $pop1532 + i32.ne $push840=, $pop281, $pop839 + br_if 2, $pop840 # 2: down to label0 # BB#146: # %lor.lhs.false1371 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push266=, 10($0) - i32.const $push1689=, 16 - i32.shl $push907=, $pop266, $pop1689 - i32.const $push1688=, 16 - i32.shr_s $push908=, $pop907, $pop1688 - i32.load16_u $push268=, 0($10) - i32.const $push1687=, 16 - i32.shl $push909=, $pop268, $pop1687 - i32.const $push1686=, 16 - i32.shr_s $push910=, $pop909, $pop1686 - i32.const $push1685=, 3 - i32.rem_s $push911=, $pop910, $pop1685 - i32.ne $push912=, $pop908, $pop911 - br_if 2, $pop912 # 2: down to label0 + i32.load16_u $push280=, 10($0) + i32.const $push1537=, 16 + i32.shl $push841=, $pop280, $pop1537 + i32.const $push1536=, 16 + i32.shr_s $push842=, $pop841, $pop1536 + i32.load16_u $push282=, 0($9) + i32.const $push1535=, 16 + i32.shl $push843=, $pop282, $pop1535 + i32.const $push1534=, 16 + i32.shr_s $push844=, $pop843, $pop1534 + i32.const $push1533=, 3 + i32.rem_s $push845=, $pop844, $pop1533 + i32.ne $push846=, $pop842, $pop845 + br_if 2, $pop846 # 2: down to label0 # BB#147: # %if.end1381 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sq65656565@FUNCTION, $0, $1 - i32.load16_s $push270=, 0($0) - i32.load16_s $push272=, 0($1) - i32.const $push1690=, 6 - i32.div_s $push913=, $pop272, $pop1690 - i32.ne $push914=, $pop270, $pop913 - br_if 2, $pop914 # 2: down to label0 + i32.load16_s $push284=, 0($0) + i32.load16_s $push286=, 0($1) + i32.const $push1538=, 6 + i32.div_s $push847=, $pop286, $pop1538 + i32.ne $push848=, $pop284, $pop847 + br_if 2, $pop848 # 2: down to label0 # BB#148: # %lor.lhs.false1391 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push271=, 6($0) - i32.const $push1695=, 16 - i32.shl $push915=, $pop271, $pop1695 - i32.const $push1694=, 16 - i32.shr_s $push916=, $pop915, $pop1694 - i32.load16_u $push273=, 0($4) - i32.const $push1693=, 16 - i32.shl $push917=, $pop273, $pop1693 - i32.const $push1692=, 16 - i32.shr_s $push918=, $pop917, $pop1692 - i32.const $push1691=, 5 - i32.div_s $push919=, $pop918, $pop1691 - i32.ne $push920=, $pop916, $pop919 - br_if 2, $pop920 # 2: down to label0 + i32.load16_u $push285=, 6($0) + i32.const $push1543=, 16 + i32.shl $push849=, $pop285, $pop1543 + i32.const $push1542=, 16 + i32.shr_s $push850=, $pop849, $pop1542 + i32.load16_u $push287=, 0($3) + i32.const $push1541=, 16 + i32.shl $push851=, $pop287, $pop1541 + i32.const $push1540=, 16 + i32.shr_s $push852=, $pop851, $pop1540 + i32.const $push1539=, 5 + i32.div_s $push853=, $pop852, $pop1539 + i32.ne $push854=, $pop850, $pop853 + br_if 2, $pop854 # 2: down to label0 # BB#149: # %if.end1401 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push275=, 4($0) - i32.load16_s $push277=, 0($5) - i32.const $push1696=, 6 - i32.div_s $push921=, $pop277, $pop1696 - i32.ne $push922=, $pop275, $pop921 - br_if 2, $pop922 # 2: down to label0 + i32.load16_s $push289=, 4($0) + i32.load16_s $push291=, 0($4) + i32.const $push1544=, 6 + i32.div_s $push855=, $pop291, $pop1544 + i32.ne $push856=, $pop289, $pop855 + br_if 2, $pop856 # 2: down to label0 # BB#150: # %lor.lhs.false1410 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push274=, 2($0) - i32.const $push1701=, 16 - i32.shl $push923=, $pop274, $pop1701 - i32.const $push1700=, 16 - i32.shr_s $push924=, $pop923, $pop1700 - i32.load16_u $push276=, 0($6) - i32.const $push1699=, 16 - i32.shl $push925=, $pop276, $pop1699 - i32.const $push1698=, 16 - i32.shr_s $push926=, $pop925, $pop1698 - i32.const $push1697=, 5 - i32.div_s $push927=, $pop926, $pop1697 - i32.ne $push928=, $pop924, $pop927 - br_if 2, $pop928 # 2: down to label0 + i32.load16_u $push288=, 2($0) + i32.const $push1549=, 16 + i32.shl $push857=, $pop288, $pop1549 + i32.const $push1548=, 16 + i32.shr_s $push858=, $pop857, $pop1548 + i32.load16_u $push290=, 0($5) + i32.const $push1547=, 16 + i32.shl $push859=, $pop290, $pop1547 + i32.const $push1546=, 16 + i32.shr_s $push860=, $pop859, $pop1546 + i32.const $push1545=, 5 + i32.div_s $push861=, $pop860, $pop1545 + i32.ne $push862=, $pop858, $pop861 + br_if 2, $pop862 # 2: down to label0 # BB#151: # %if.end1420 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push278=, 8($0) - i32.load16_s $push280=, 0($7) - i32.const $push1702=, 6 - i32.div_s $push929=, $pop280, $pop1702 - i32.ne $push930=, $pop278, $pop929 - br_if 2, $pop930 # 2: down to label0 + i32.load16_s $push292=, 8($0) + i32.load16_s $push294=, 0($6) + i32.const $push1550=, 6 + i32.div_s $push863=, $pop294, $pop1550 + i32.ne $push864=, $pop292, $pop863 + br_if 2, $pop864 # 2: down to label0 # BB#152: # %lor.lhs.false1429 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push279=, 14($0) - i32.const $push1707=, 16 - i32.shl $push931=, $pop279, $pop1707 - i32.const $push1706=, 16 - i32.shr_s $push932=, $pop931, $pop1706 - i32.load16_u $push281=, 0($8) - i32.const $push1705=, 16 - i32.shl $push933=, $pop281, $pop1705 - i32.const $push1704=, 16 - i32.shr_s $push934=, $pop933, $pop1704 - i32.const $push1703=, 5 - i32.div_s $push935=, $pop934, $pop1703 - i32.ne $push936=, $pop932, $pop935 - br_if 2, $pop936 # 2: down to label0 + i32.load16_u $push293=, 14($0) + i32.const $push1555=, 16 + i32.shl $push865=, $pop293, $pop1555 + i32.const $push1554=, 16 + i32.shr_s $push866=, $pop865, $pop1554 + i32.load16_u $push295=, 0($7) + i32.const $push1553=, 16 + i32.shl $push867=, $pop295, $pop1553 + i32.const $push1552=, 16 + i32.shr_s $push868=, $pop867, $pop1552 + i32.const $push1551=, 5 + i32.div_s $push869=, $pop868, $pop1551 + i32.ne $push870=, $pop866, $pop869 + br_if 2, $pop870 # 2: down to label0 # BB#153: # %if.end1439 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push283=, 12($0) - i32.load16_s $push285=, 0($9) - i32.const $push1708=, 6 - i32.div_s $push937=, $pop285, $pop1708 - i32.ne $push938=, $pop283, $pop937 - br_if 2, $pop938 # 2: down to label0 + i32.load16_s $push297=, 12($0) + i32.load16_s $push299=, 0($8) + i32.const $push1556=, 6 + i32.div_s $push871=, $pop299, $pop1556 + i32.ne $push872=, $pop297, $pop871 + br_if 2, $pop872 # 2: down to label0 # BB#154: # %lor.lhs.false1448 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push282=, 10($0) - i32.const $push1713=, 16 - i32.shl $push939=, $pop282, $pop1713 - i32.const $push1712=, 16 - i32.shr_s $push940=, $pop939, $pop1712 - i32.load16_u $push284=, 0($10) - i32.const $push1711=, 16 - i32.shl $push941=, $pop284, $pop1711 - i32.const $push1710=, 16 - i32.shr_s $push942=, $pop941, $pop1710 - i32.const $push1709=, 5 - i32.div_s $push943=, $pop942, $pop1709 - i32.ne $push944=, $pop940, $pop943 - br_if 2, $pop944 # 2: down to label0 + i32.load16_u $push296=, 10($0) + i32.const $push1561=, 16 + i32.shl $push873=, $pop296, $pop1561 + i32.const $push1560=, 16 + i32.shr_s $push874=, $pop873, $pop1560 + i32.load16_u $push298=, 0($9) + i32.const $push1559=, 16 + i32.shl $push875=, $pop298, $pop1559 + i32.const $push1558=, 16 + i32.shr_s $push876=, $pop875, $pop1558 + i32.const $push1557=, 5 + i32.div_s $push877=, $pop876, $pop1557 + i32.ne $push878=, $pop874, $pop877 + br_if 2, $pop878 # 2: down to label0 # BB#155: # %if.end1458 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sr65656565@FUNCTION, $0, $1 - i32.load16_s $push286=, 0($0) - i32.load16_s $push288=, 0($1) - i32.const $push1714=, 6 - i32.rem_s $push945=, $pop288, $pop1714 - i32.ne $push946=, $pop286, $pop945 - br_if 2, $pop946 # 2: down to label0 + i32.load16_s $push300=, 0($0) + i32.load16_s $push302=, 0($1) + i32.const $push1562=, 6 + i32.rem_s $push879=, $pop302, $pop1562 + i32.ne $push880=, $pop300, $pop879 + br_if 2, $pop880 # 2: down to label0 # BB#156: # %lor.lhs.false1468 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push287=, 6($0) - i32.const $push1719=, 16 - i32.shl $push947=, $pop287, $pop1719 - i32.const $push1718=, 16 - i32.shr_s $push948=, $pop947, $pop1718 - i32.load16_u $push289=, 0($4) - i32.const $push1717=, 16 - i32.shl $push949=, $pop289, $pop1717 - i32.const $push1716=, 16 - i32.shr_s $push950=, $pop949, $pop1716 - i32.const $push1715=, 5 - i32.rem_s $push951=, $pop950, $pop1715 - i32.ne $push952=, $pop948, $pop951 - br_if 2, $pop952 # 2: down to label0 + i32.load16_u $push301=, 6($0) + i32.const $push1567=, 16 + i32.shl $push881=, $pop301, $pop1567 + i32.const $push1566=, 16 + i32.shr_s $push882=, $pop881, $pop1566 + i32.load16_u $push303=, 0($3) + i32.const $push1565=, 16 + i32.shl $push883=, $pop303, $pop1565 + i32.const $push1564=, 16 + i32.shr_s $push884=, $pop883, $pop1564 + i32.const $push1563=, 5 + i32.rem_s $push885=, $pop884, $pop1563 + i32.ne $push886=, $pop882, $pop885 + br_if 2, $pop886 # 2: down to label0 # BB#157: # %if.end1478 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push291=, 4($0) - i32.load16_s $push293=, 0($5) - i32.const $push1720=, 6 - i32.rem_s $push953=, $pop293, $pop1720 - i32.ne $push954=, $pop291, $pop953 - br_if 2, $pop954 # 2: down to label0 + i32.load16_s $push305=, 4($0) + i32.load16_s $push307=, 0($4) + i32.const $push1568=, 6 + i32.rem_s $push887=, $pop307, $pop1568 + i32.ne $push888=, $pop305, $pop887 + br_if 2, $pop888 # 2: down to label0 # BB#158: # %lor.lhs.false1487 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push290=, 2($0) - i32.const $push1725=, 16 - i32.shl $push955=, $pop290, $pop1725 - i32.const $push1724=, 16 - i32.shr_s $push956=, $pop955, $pop1724 - i32.load16_u $push292=, 0($6) - i32.const $push1723=, 16 - i32.shl $push957=, $pop292, $pop1723 - i32.const $push1722=, 16 - i32.shr_s $push958=, $pop957, $pop1722 - i32.const $push1721=, 5 - i32.rem_s $push959=, $pop958, $pop1721 - i32.ne $push960=, $pop956, $pop959 - br_if 2, $pop960 # 2: down to label0 + i32.load16_u $push304=, 2($0) + i32.const $push1573=, 16 + i32.shl $push889=, $pop304, $pop1573 + i32.const $push1572=, 16 + i32.shr_s $push890=, $pop889, $pop1572 + i32.load16_u $push306=, 0($5) + i32.const $push1571=, 16 + i32.shl $push891=, $pop306, $pop1571 + i32.const $push1570=, 16 + i32.shr_s $push892=, $pop891, $pop1570 + i32.const $push1569=, 5 + i32.rem_s $push893=, $pop892, $pop1569 + i32.ne $push894=, $pop890, $pop893 + br_if 2, $pop894 # 2: down to label0 # BB#159: # %if.end1497 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push294=, 8($0) - i32.load16_s $push296=, 0($7) - i32.const $push1726=, 6 - i32.rem_s $push961=, $pop296, $pop1726 - i32.ne $push962=, $pop294, $pop961 - br_if 2, $pop962 # 2: down to label0 + i32.load16_s $push308=, 8($0) + i32.load16_s $push310=, 0($6) + i32.const $push1574=, 6 + i32.rem_s $push895=, $pop310, $pop1574 + i32.ne $push896=, $pop308, $pop895 + br_if 2, $pop896 # 2: down to label0 # BB#160: # %lor.lhs.false1506 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push295=, 14($0) - i32.const $push1731=, 16 - i32.shl $push963=, $pop295, $pop1731 - i32.const $push1730=, 16 - i32.shr_s $push964=, $pop963, $pop1730 - i32.load16_u $push297=, 0($8) - i32.const $push1729=, 16 - i32.shl $push965=, $pop297, $pop1729 - i32.const $push1728=, 16 - i32.shr_s $push966=, $pop965, $pop1728 - i32.const $push1727=, 5 - i32.rem_s $push967=, $pop966, $pop1727 - i32.ne $push968=, $pop964, $pop967 - br_if 2, $pop968 # 2: down to label0 + i32.load16_u $push309=, 14($0) + i32.const $push1579=, 16 + i32.shl $push897=, $pop309, $pop1579 + i32.const $push1578=, 16 + i32.shr_s $push898=, $pop897, $pop1578 + i32.load16_u $push311=, 0($7) + i32.const $push1577=, 16 + i32.shl $push899=, $pop311, $pop1577 + i32.const $push1576=, 16 + i32.shr_s $push900=, $pop899, $pop1576 + i32.const $push1575=, 5 + i32.rem_s $push901=, $pop900, $pop1575 + i32.ne $push902=, $pop898, $pop901 + br_if 2, $pop902 # 2: down to label0 # BB#161: # %if.end1516 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push299=, 12($0) - i32.load16_s $push301=, 0($9) - i32.const $push1732=, 6 - i32.rem_s $push969=, $pop301, $pop1732 - i32.ne $push970=, $pop299, $pop969 - br_if 2, $pop970 # 2: down to label0 + i32.load16_s $push313=, 12($0) + i32.load16_s $push315=, 0($8) + i32.const $push1580=, 6 + i32.rem_s $push903=, $pop315, $pop1580 + i32.ne $push904=, $pop313, $pop903 + br_if 2, $pop904 # 2: down to label0 # BB#162: # %lor.lhs.false1525 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push298=, 10($0) - i32.const $push1737=, 16 - i32.shl $push971=, $pop298, $pop1737 - i32.const $push1736=, 16 - i32.shr_s $push972=, $pop971, $pop1736 - i32.load16_u $push300=, 0($10) - i32.const $push1735=, 16 - i32.shl $push973=, $pop300, $pop1735 - i32.const $push1734=, 16 - i32.shr_s $push974=, $pop973, $pop1734 - i32.const $push1733=, 5 - i32.rem_s $push975=, $pop974, $pop1733 - i32.ne $push976=, $pop972, $pop975 - br_if 2, $pop976 # 2: down to label0 + i32.load16_u $push312=, 10($0) + i32.const $push1585=, 16 + i32.shl $push905=, $pop312, $pop1585 + i32.const $push1584=, 16 + i32.shr_s $push906=, $pop905, $pop1584 + i32.load16_u $push314=, 0($9) + i32.const $push1583=, 16 + i32.shl $push907=, $pop314, $pop1583 + i32.const $push1582=, 16 + i32.shr_s $push908=, $pop907, $pop1582 + i32.const $push1581=, 5 + i32.rem_s $push909=, $pop908, $pop1581 + i32.ne $push910=, $pop906, $pop909 + br_if 2, $pop910 # 2: down to label0 # BB#163: # %if.end1535 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sq14141461461414@FUNCTION, $0, $1 - i32.load16_s $push302=, 0($0) - i32.load16_s $push304=, 0($1) - i32.const $push1738=, 14 - i32.div_s $push977=, $pop304, $pop1738 - i32.ne $push978=, $pop302, $pop977 - br_if 2, $pop978 # 2: down to label0 + i32.load16_s $push316=, 0($0) + i32.load16_s $push318=, 0($1) + i32.const $push1586=, 14 + i32.div_s $push911=, $pop318, $pop1586 + i32.ne $push912=, $pop316, $pop911 + br_if 2, $pop912 # 2: down to label0 # BB#164: # %lor.lhs.false1545 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push303=, 6($0) - i32.const $push1743=, 16 - i32.shl $push979=, $pop303, $pop1743 - i32.const $push1742=, 16 - i32.shr_s $push980=, $pop979, $pop1742 - i32.load16_u $push305=, 0($4) - i32.const $push1741=, 16 - i32.shl $push981=, $pop305, $pop1741 - i32.const $push1740=, 16 - i32.shr_s $push982=, $pop981, $pop1740 - i32.const $push1739=, 6 - i32.div_s $push983=, $pop982, $pop1739 - i32.ne $push984=, $pop980, $pop983 - br_if 2, $pop984 # 2: down to label0 + i32.load16_u $push317=, 6($0) + i32.const $push1591=, 16 + i32.shl $push913=, $pop317, $pop1591 + i32.const $push1590=, 16 + i32.shr_s $push914=, $pop913, $pop1590 + i32.load16_u $push319=, 0($3) + i32.const $push1589=, 16 + i32.shl $push915=, $pop319, $pop1589 + i32.const $push1588=, 16 + i32.shr_s $push916=, $pop915, $pop1588 + i32.const $push1587=, 6 + i32.div_s $push917=, $pop916, $pop1587 + i32.ne $push918=, $pop914, $pop917 + br_if 2, $pop918 # 2: down to label0 # BB#165: # %if.end1555 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push307=, 4($0) - i32.load16_s $push309=, 0($5) - i32.const $push1744=, 14 - i32.div_s $push985=, $pop309, $pop1744 - i32.ne $push986=, $pop307, $pop985 - br_if 2, $pop986 # 2: down to label0 + i32.load16_s $push321=, 4($0) + i32.load16_s $push323=, 0($4) + i32.const $push1592=, 14 + i32.div_s $push919=, $pop323, $pop1592 + i32.ne $push920=, $pop321, $pop919 + br_if 2, $pop920 # 2: down to label0 # BB#166: # %lor.lhs.false1564 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push306=, 2($0) - i32.const $push1749=, 16 - i32.shl $push987=, $pop306, $pop1749 - i32.const $push1748=, 16 - i32.shr_s $push988=, $pop987, $pop1748 - i32.load16_u $push308=, 0($6) - i32.const $push1747=, 16 - i32.shl $push989=, $pop308, $pop1747 - i32.const $push1746=, 16 - i32.shr_s $push990=, $pop989, $pop1746 - i32.const $push1745=, 14 - i32.div_s $push991=, $pop990, $pop1745 - i32.ne $push992=, $pop988, $pop991 - br_if 2, $pop992 # 2: down to label0 + i32.load16_u $push320=, 2($0) + i32.const $push1597=, 16 + i32.shl $push921=, $pop320, $pop1597 + i32.const $push1596=, 16 + i32.shr_s $push922=, $pop921, $pop1596 + i32.load16_u $push322=, 0($5) + i32.const $push1595=, 16 + i32.shl $push923=, $pop322, $pop1595 + i32.const $push1594=, 16 + i32.shr_s $push924=, $pop923, $pop1594 + i32.const $push1593=, 14 + i32.div_s $push925=, $pop924, $pop1593 + i32.ne $push926=, $pop922, $pop925 + br_if 2, $pop926 # 2: down to label0 # BB#167: # %if.end1574 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push310=, 8($0) - i32.load16_s $push312=, 0($7) - i32.const $push1750=, 14 - i32.div_s $push993=, $pop312, $pop1750 - i32.ne $push994=, $pop310, $pop993 - br_if 2, $pop994 # 2: down to label0 + i32.load16_s $push324=, 8($0) + i32.load16_s $push326=, 0($6) + i32.const $push1598=, 14 + i32.div_s $push927=, $pop326, $pop1598 + i32.ne $push928=, $pop324, $pop927 + br_if 2, $pop928 # 2: down to label0 # BB#168: # %lor.lhs.false1583 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push311=, 14($0) - i32.const $push1755=, 16 - i32.shl $push995=, $pop311, $pop1755 - i32.const $push1754=, 16 - i32.shr_s $push996=, $pop995, $pop1754 - i32.load16_u $push313=, 0($8) - i32.const $push1753=, 16 - i32.shl $push997=, $pop313, $pop1753 - i32.const $push1752=, 16 - i32.shr_s $push998=, $pop997, $pop1752 - i32.const $push1751=, 14 - i32.div_s $push999=, $pop998, $pop1751 - i32.ne $push1000=, $pop996, $pop999 - br_if 2, $pop1000 # 2: down to label0 + i32.load16_u $push325=, 14($0) + i32.const $push1603=, 16 + i32.shl $push929=, $pop325, $pop1603 + i32.const $push1602=, 16 + i32.shr_s $push930=, $pop929, $pop1602 + i32.load16_u $push327=, 0($7) + i32.const $push1601=, 16 + i32.shl $push931=, $pop327, $pop1601 + i32.const $push1600=, 16 + i32.shr_s $push932=, $pop931, $pop1600 + i32.const $push1599=, 14 + i32.div_s $push933=, $pop932, $pop1599 + i32.ne $push934=, $pop930, $pop933 + br_if 2, $pop934 # 2: down to label0 # BB#169: # %if.end1593 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push315=, 12($0) - i32.load16_s $push317=, 0($9) - i32.const $push1756=, 14 - i32.div_s $push1001=, $pop317, $pop1756 - i32.ne $push1002=, $pop315, $pop1001 - br_if 2, $pop1002 # 2: down to label0 + i32.load16_s $push329=, 12($0) + i32.load16_s $push331=, 0($8) + i32.const $push1604=, 14 + i32.div_s $push935=, $pop331, $pop1604 + i32.ne $push936=, $pop329, $pop935 + br_if 2, $pop936 # 2: down to label0 # BB#170: # %lor.lhs.false1602 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push314=, 10($0) - i32.const $push1761=, 16 - i32.shl $push1003=, $pop314, $pop1761 - i32.const $push1760=, 16 - i32.shr_s $push1004=, $pop1003, $pop1760 - i32.load16_u $push316=, 0($10) - i32.const $push1759=, 16 - i32.shl $push1005=, $pop316, $pop1759 - i32.const $push1758=, 16 - i32.shr_s $push1006=, $pop1005, $pop1758 - i32.const $push1757=, 6 - i32.div_s $push1007=, $pop1006, $pop1757 - i32.ne $push1008=, $pop1004, $pop1007 - br_if 2, $pop1008 # 2: down to label0 + i32.load16_u $push328=, 10($0) + i32.const $push1609=, 16 + i32.shl $push937=, $pop328, $pop1609 + i32.const $push1608=, 16 + i32.shr_s $push938=, $pop937, $pop1608 + i32.load16_u $push330=, 0($9) + i32.const $push1607=, 16 + i32.shl $push939=, $pop330, $pop1607 + i32.const $push1606=, 16 + i32.shr_s $push940=, $pop939, $pop1606 + i32.const $push1605=, 6 + i32.div_s $push941=, $pop940, $pop1605 + i32.ne $push942=, $pop938, $pop941 + br_if 2, $pop942 # 2: down to label0 # BB#171: # %if.end1612 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sr14141461461414@FUNCTION, $0, $1 - i32.load16_s $push318=, 0($0) - i32.load16_s $push320=, 0($1) - i32.const $push1762=, 14 - i32.rem_s $push1009=, $pop320, $pop1762 - i32.ne $push1010=, $pop318, $pop1009 - br_if 2, $pop1010 # 2: down to label0 + i32.load16_s $push332=, 0($0) + i32.load16_s $push334=, 0($1) + i32.const $push1610=, 14 + i32.rem_s $push943=, $pop334, $pop1610 + i32.ne $push944=, $pop332, $pop943 + br_if 2, $pop944 # 2: down to label0 # BB#172: # %lor.lhs.false1622 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push319=, 6($0) - i32.const $push1767=, 16 - i32.shl $push1011=, $pop319, $pop1767 - i32.const $push1766=, 16 - i32.shr_s $push1012=, $pop1011, $pop1766 - i32.load16_u $push321=, 0($4) - i32.const $push1765=, 16 - i32.shl $push1013=, $pop321, $pop1765 - i32.const $push1764=, 16 - i32.shr_s $push1014=, $pop1013, $pop1764 - i32.const $push1763=, 6 - i32.rem_s $push1015=, $pop1014, $pop1763 - i32.ne $push1016=, $pop1012, $pop1015 - br_if 2, $pop1016 # 2: down to label0 + i32.load16_u $push333=, 6($0) + i32.const $push1615=, 16 + i32.shl $push945=, $pop333, $pop1615 + i32.const $push1614=, 16 + i32.shr_s $push946=, $pop945, $pop1614 + i32.load16_u $push335=, 0($3) + i32.const $push1613=, 16 + i32.shl $push947=, $pop335, $pop1613 + i32.const $push1612=, 16 + i32.shr_s $push948=, $pop947, $pop1612 + i32.const $push1611=, 6 + i32.rem_s $push949=, $pop948, $pop1611 + i32.ne $push950=, $pop946, $pop949 + br_if 2, $pop950 # 2: down to label0 # BB#173: # %if.end1632 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push323=, 4($0) - i32.load16_s $push325=, 0($5) - i32.const $push1768=, 14 - i32.rem_s $push1017=, $pop325, $pop1768 - i32.ne $push1018=, $pop323, $pop1017 - br_if 2, $pop1018 # 2: down to label0 + i32.load16_s $push337=, 4($0) + i32.load16_s $push339=, 0($4) + i32.const $push1616=, 14 + i32.rem_s $push951=, $pop339, $pop1616 + i32.ne $push952=, $pop337, $pop951 + br_if 2, $pop952 # 2: down to label0 # BB#174: # %lor.lhs.false1641 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push322=, 2($0) - i32.const $push1773=, 16 - i32.shl $push1019=, $pop322, $pop1773 - i32.const $push1772=, 16 - i32.shr_s $push1020=, $pop1019, $pop1772 - i32.load16_u $push324=, 0($6) - i32.const $push1771=, 16 - i32.shl $push1021=, $pop324, $pop1771 - i32.const $push1770=, 16 - i32.shr_s $push1022=, $pop1021, $pop1770 - i32.const $push1769=, 14 - i32.rem_s $push1023=, $pop1022, $pop1769 - i32.ne $push1024=, $pop1020, $pop1023 - br_if 2, $pop1024 # 2: down to label0 + i32.load16_u $push336=, 2($0) + i32.const $push1621=, 16 + i32.shl $push953=, $pop336, $pop1621 + i32.const $push1620=, 16 + i32.shr_s $push954=, $pop953, $pop1620 + i32.load16_u $push338=, 0($5) + i32.const $push1619=, 16 + i32.shl $push955=, $pop338, $pop1619 + i32.const $push1618=, 16 + i32.shr_s $push956=, $pop955, $pop1618 + i32.const $push1617=, 14 + i32.rem_s $push957=, $pop956, $pop1617 + i32.ne $push958=, $pop954, $pop957 + br_if 2, $pop958 # 2: down to label0 # BB#175: # %if.end1651 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push326=, 8($0) - i32.load16_s $push328=, 0($7) - i32.const $push1774=, 14 - i32.rem_s $push1025=, $pop328, $pop1774 - i32.ne $push1026=, $pop326, $pop1025 - br_if 2, $pop1026 # 2: down to label0 + i32.load16_s $push340=, 8($0) + i32.load16_s $push342=, 0($6) + i32.const $push1622=, 14 + i32.rem_s $push959=, $pop342, $pop1622 + i32.ne $push960=, $pop340, $pop959 + br_if 2, $pop960 # 2: down to label0 # BB#176: # %lor.lhs.false1660 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push327=, 14($0) - i32.const $push1779=, 16 - i32.shl $push1027=, $pop327, $pop1779 - i32.const $push1778=, 16 - i32.shr_s $push1028=, $pop1027, $pop1778 - i32.load16_u $push329=, 0($8) - i32.const $push1777=, 16 - i32.shl $push1029=, $pop329, $pop1777 - i32.const $push1776=, 16 - i32.shr_s $push1030=, $pop1029, $pop1776 - i32.const $push1775=, 14 - i32.rem_s $push1031=, $pop1030, $pop1775 - i32.ne $push1032=, $pop1028, $pop1031 - br_if 2, $pop1032 # 2: down to label0 + i32.load16_u $push341=, 14($0) + i32.const $push1627=, 16 + i32.shl $push961=, $pop341, $pop1627 + i32.const $push1626=, 16 + i32.shr_s $push962=, $pop961, $pop1626 + i32.load16_u $push343=, 0($7) + i32.const $push1625=, 16 + i32.shl $push963=, $pop343, $pop1625 + i32.const $push1624=, 16 + i32.shr_s $push964=, $pop963, $pop1624 + i32.const $push1623=, 14 + i32.rem_s $push965=, $pop964, $pop1623 + i32.ne $push966=, $pop962, $pop965 + br_if 2, $pop966 # 2: down to label0 # BB#177: # %if.end1670 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push331=, 12($0) - i32.load16_s $push333=, 0($9) - i32.const $push1780=, 14 - i32.rem_s $push1033=, $pop333, $pop1780 - i32.ne $push1034=, $pop331, $pop1033 - br_if 2, $pop1034 # 2: down to label0 + i32.load16_s $push345=, 12($0) + i32.load16_s $push347=, 0($8) + i32.const $push1628=, 14 + i32.rem_s $push967=, $pop347, $pop1628 + i32.ne $push968=, $pop345, $pop967 + br_if 2, $pop968 # 2: down to label0 # BB#178: # %lor.lhs.false1679 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push330=, 10($0) - i32.const $push1785=, 16 - i32.shl $push1035=, $pop330, $pop1785 - i32.const $push1784=, 16 - i32.shr_s $push1036=, $pop1035, $pop1784 - i32.load16_u $push332=, 0($10) - i32.const $push1783=, 16 - i32.shl $push1037=, $pop332, $pop1783 - i32.const $push1782=, 16 - i32.shr_s $push1038=, $pop1037, $pop1782 - i32.const $push1781=, 6 - i32.rem_s $push1039=, $pop1038, $pop1781 - i32.ne $push1040=, $pop1036, $pop1039 - br_if 2, $pop1040 # 2: down to label0 + i32.load16_u $push344=, 10($0) + i32.const $push1633=, 16 + i32.shl $push969=, $pop344, $pop1633 + i32.const $push1632=, 16 + i32.shr_s $push970=, $pop969, $pop1632 + i32.load16_u $push346=, 0($9) + i32.const $push1631=, 16 + i32.shl $push971=, $pop346, $pop1631 + i32.const $push1630=, 16 + i32.shr_s $push972=, $pop971, $pop1630 + i32.const $push1629=, 6 + i32.rem_s $push973=, $pop972, $pop1629 + i32.ne $push974=, $pop970, $pop973 + br_if 2, $pop974 # 2: down to label0 # BB#179: # %if.end1689 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sq77777777@FUNCTION, $0, $1 - i32.load16_s $push334=, 0($0) - i32.load16_s $push336=, 0($1) - i32.const $push1786=, 7 - i32.div_s $push1041=, $pop336, $pop1786 - i32.ne $push1042=, $pop334, $pop1041 - br_if 2, $pop1042 # 2: down to label0 + i32.load16_s $push348=, 0($0) + i32.load16_s $push350=, 0($1) + i32.const $push1634=, 7 + i32.div_s $push975=, $pop350, $pop1634 + i32.ne $push976=, $pop348, $pop975 + br_if 2, $pop976 # 2: down to label0 # BB#180: # %lor.lhs.false1699 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push335=, 6($0) - i32.const $push1791=, 16 - i32.shl $push1043=, $pop335, $pop1791 - i32.const $push1790=, 16 - i32.shr_s $push1044=, $pop1043, $pop1790 - i32.load16_u $push337=, 0($4) - i32.const $push1789=, 16 - i32.shl $push1045=, $pop337, $pop1789 - i32.const $push1788=, 16 - i32.shr_s $push1046=, $pop1045, $pop1788 - i32.const $push1787=, 7 - i32.div_s $push1047=, $pop1046, $pop1787 - i32.ne $push1048=, $pop1044, $pop1047 - br_if 2, $pop1048 # 2: down to label0 + i32.load16_u $push349=, 6($0) + i32.const $push1639=, 16 + i32.shl $push977=, $pop349, $pop1639 + i32.const $push1638=, 16 + i32.shr_s $push978=, $pop977, $pop1638 + i32.load16_u $push351=, 0($3) + i32.const $push1637=, 16 + i32.shl $push979=, $pop351, $pop1637 + i32.const $push1636=, 16 + i32.shr_s $push980=, $pop979, $pop1636 + i32.const $push1635=, 7 + i32.div_s $push981=, $pop980, $pop1635 + i32.ne $push982=, $pop978, $pop981 + br_if 2, $pop982 # 2: down to label0 # BB#181: # %if.end1709 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push339=, 4($0) - i32.load16_s $push341=, 0($5) - i32.const $push1792=, 7 - i32.div_s $push1049=, $pop341, $pop1792 - i32.ne $push1050=, $pop339, $pop1049 - br_if 2, $pop1050 # 2: down to label0 + i32.load16_s $push353=, 4($0) + i32.load16_s $push355=, 0($4) + i32.const $push1640=, 7 + i32.div_s $push983=, $pop355, $pop1640 + i32.ne $push984=, $pop353, $pop983 + br_if 2, $pop984 # 2: down to label0 # BB#182: # %lor.lhs.false1718 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push338=, 2($0) - i32.const $push1797=, 16 - i32.shl $push1051=, $pop338, $pop1797 - i32.const $push1796=, 16 - i32.shr_s $push1052=, $pop1051, $pop1796 - i32.load16_u $push340=, 0($6) - i32.const $push1795=, 16 - i32.shl $push1053=, $pop340, $pop1795 - i32.const $push1794=, 16 - i32.shr_s $push1054=, $pop1053, $pop1794 - i32.const $push1793=, 7 - i32.div_s $push1055=, $pop1054, $pop1793 - i32.ne $push1056=, $pop1052, $pop1055 - br_if 2, $pop1056 # 2: down to label0 + i32.load16_u $push352=, 2($0) + i32.const $push1645=, 16 + i32.shl $push985=, $pop352, $pop1645 + i32.const $push1644=, 16 + i32.shr_s $push986=, $pop985, $pop1644 + i32.load16_u $push354=, 0($5) + i32.const $push1643=, 16 + i32.shl $push987=, $pop354, $pop1643 + i32.const $push1642=, 16 + i32.shr_s $push988=, $pop987, $pop1642 + i32.const $push1641=, 7 + i32.div_s $push989=, $pop988, $pop1641 + i32.ne $push990=, $pop986, $pop989 + br_if 2, $pop990 # 2: down to label0 # BB#183: # %if.end1728 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push342=, 8($0) - i32.load16_s $push344=, 0($7) - i32.const $push1798=, 7 - i32.div_s $push1057=, $pop344, $pop1798 - i32.ne $push1058=, $pop342, $pop1057 - br_if 2, $pop1058 # 2: down to label0 + i32.load16_s $push356=, 8($0) + i32.load16_s $push358=, 0($6) + i32.const $push1646=, 7 + i32.div_s $push991=, $pop358, $pop1646 + i32.ne $push992=, $pop356, $pop991 + br_if 2, $pop992 # 2: down to label0 # BB#184: # %lor.lhs.false1737 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push343=, 14($0) - i32.const $push1803=, 16 - i32.shl $push1059=, $pop343, $pop1803 - i32.const $push1802=, 16 - i32.shr_s $push1060=, $pop1059, $pop1802 - i32.load16_u $push345=, 0($8) - i32.const $push1801=, 16 - i32.shl $push1061=, $pop345, $pop1801 - i32.const $push1800=, 16 - i32.shr_s $push1062=, $pop1061, $pop1800 - i32.const $push1799=, 7 - i32.div_s $push1063=, $pop1062, $pop1799 - i32.ne $push1064=, $pop1060, $pop1063 - br_if 2, $pop1064 # 2: down to label0 + i32.load16_u $push357=, 14($0) + i32.const $push1651=, 16 + i32.shl $push993=, $pop357, $pop1651 + i32.const $push1650=, 16 + i32.shr_s $push994=, $pop993, $pop1650 + i32.load16_u $push359=, 0($7) + i32.const $push1649=, 16 + i32.shl $push995=, $pop359, $pop1649 + i32.const $push1648=, 16 + i32.shr_s $push996=, $pop995, $pop1648 + i32.const $push1647=, 7 + i32.div_s $push997=, $pop996, $pop1647 + i32.ne $push998=, $pop994, $pop997 + br_if 2, $pop998 # 2: down to label0 # BB#185: # %if.end1747 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP - i32.load16_s $push347=, 12($0) - i32.load16_s $push349=, 0($9) - i32.const $push1804=, 7 - i32.div_s $push1065=, $pop349, $pop1804 - i32.ne $push1066=, $pop347, $pop1065 - br_if 2, $pop1066 # 2: down to label0 + i32.load16_s $push361=, 12($0) + i32.load16_s $push363=, 0($8) + i32.const $push1652=, 7 + i32.div_s $push999=, $pop363, $pop1652 + i32.ne $push1000=, $pop361, $pop999 + br_if 2, $pop1000 # 2: down to label0 # BB#186: # %lor.lhs.false1756 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push346=, 10($0) - i32.const $push1809=, 16 - i32.shl $push1067=, $pop346, $pop1809 - i32.const $push1808=, 16 - i32.shr_s $push1068=, $pop1067, $pop1808 - i32.load16_u $push348=, 0($10) - i32.const $push1807=, 16 - i32.shl $push1069=, $pop348, $pop1807 - i32.const $push1806=, 16 - i32.shr_s $push1070=, $pop1069, $pop1806 - i32.const $push1805=, 7 - i32.div_s $push1071=, $pop1070, $pop1805 - i32.ne $push1072=, $pop1068, $pop1071 - br_if 2, $pop1072 # 2: down to label0 + i32.load16_u $push360=, 10($0) + i32.const $push1657=, 16 + i32.shl $push1001=, $pop360, $pop1657 + i32.const $push1656=, 16 + i32.shr_s $push1002=, $pop1001, $pop1656 + i32.load16_u $push362=, 0($9) + i32.const $push1655=, 16 + i32.shl $push1003=, $pop362, $pop1655 + i32.const $push1654=, 16 + i32.shr_s $push1004=, $pop1003, $pop1654 + i32.const $push1653=, 7 + i32.div_s $push1005=, $pop1004, $pop1653 + i32.ne $push1006=, $pop1002, $pop1005 + br_if 2, $pop1006 # 2: down to label0 # BB#187: # %if.end1766 # in Loop: Header=BB24_99 Depth=1 - copy_local $3=, $0 + copy_local $10=, $0 #APP #NO_APP call sr77777777@FUNCTION, $0, $1 - i32.load16_s $push350=, 0($0) - i32.load16_s $push352=, 0($1) - i32.const $push1810=, 7 - i32.rem_s $push1073=, $pop352, $pop1810 - i32.ne $push1074=, $pop350, $pop1073 - br_if 2, $pop1074 # 2: down to label0 + i32.load16_s $push364=, 0($0) + i32.load16_s $push366=, 0($1) + i32.const $push1658=, 7 + i32.rem_s $push1007=, $pop366, $pop1658 + i32.ne $push1008=, $pop364, $pop1007 + br_if 2, $pop1008 # 2: down to label0 # BB#188: # %lor.lhs.false1776 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push351=, 6($0) - i32.const $push1815=, 16 - i32.shl $push1075=, $pop351, $pop1815 - i32.const $push1814=, 16 - i32.shr_s $push1076=, $pop1075, $pop1814 - i32.load16_u $push353=, 0($4) - i32.const $push1813=, 16 - i32.shl $push1077=, $pop353, $pop1813 - i32.const $push1812=, 16 - i32.shr_s $push1078=, $pop1077, $pop1812 - i32.const $push1811=, 7 - i32.rem_s $push1079=, $pop1078, $pop1811 - i32.ne $push1080=, $pop1076, $pop1079 - br_if 2, $pop1080 # 2: down to label0 + i32.load16_u $push365=, 6($0) + i32.const $push1663=, 16 + i32.shl $push1009=, $pop365, $pop1663 + i32.const $push1662=, 16 + i32.shr_s $push1010=, $pop1009, $pop1662 + i32.load16_u $push367=, 0($3) + i32.const $push1661=, 16 + i32.shl $push1011=, $pop367, $pop1661 + i32.const $push1660=, 16 + i32.shr_s $push1012=, $pop1011, $pop1660 + i32.const $push1659=, 7 + i32.rem_s $push1013=, $pop1012, $pop1659 + i32.ne $push1014=, $pop1010, $pop1013 + br_if 2, $pop1014 # 2: down to label0 # BB#189: # %if.end1786 # in Loop: Header=BB24_99 Depth=1 - copy_local $4=, $0 + copy_local $3=, $0 #APP #NO_APP - i32.load16_s $push355=, 4($0) - i32.load16_s $push357=, 0($5) - i32.const $push1816=, 7 - i32.rem_s $push1081=, $pop357, $pop1816 - i32.ne $push1082=, $pop355, $pop1081 - br_if 2, $pop1082 # 2: down to label0 + i32.load16_s $push369=, 4($0) + i32.load16_s $push371=, 0($4) + i32.const $push1664=, 7 + i32.rem_s $push1015=, $pop371, $pop1664 + i32.ne $push1016=, $pop369, $pop1015 + br_if 2, $pop1016 # 2: down to label0 # BB#190: # %lor.lhs.false1795 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push354=, 2($0) - i32.const $push1821=, 16 - i32.shl $push1083=, $pop354, $pop1821 - i32.const $push1820=, 16 - i32.shr_s $push1084=, $pop1083, $pop1820 - i32.load16_u $push356=, 0($6) - i32.const $push1819=, 16 - i32.shl $push1085=, $pop356, $pop1819 - i32.const $push1818=, 16 - i32.shr_s $push1086=, $pop1085, $pop1818 - i32.const $push1817=, 7 - i32.rem_s $push1087=, $pop1086, $pop1817 - i32.ne $push1088=, $pop1084, $pop1087 - br_if 2, $pop1088 # 2: down to label0 + i32.load16_u $push368=, 2($0) + i32.const $push1669=, 16 + i32.shl $push1017=, $pop368, $pop1669 + i32.const $push1668=, 16 + i32.shr_s $push1018=, $pop1017, $pop1668 + i32.load16_u $push370=, 0($5) + i32.const $push1667=, 16 + i32.shl $push1019=, $pop370, $pop1667 + i32.const $push1666=, 16 + i32.shr_s $push1020=, $pop1019, $pop1666 + i32.const $push1665=, 7 + i32.rem_s $push1021=, $pop1020, $pop1665 + i32.ne $push1022=, $pop1018, $pop1021 + br_if 2, $pop1022 # 2: down to label0 # BB#191: # %if.end1805 # in Loop: Header=BB24_99 Depth=1 - copy_local $4=, $0 + copy_local $3=, $0 #APP #NO_APP - i32.load16_s $push358=, 8($0) - i32.load16_s $push360=, 0($7) - i32.const $push1822=, 7 - i32.rem_s $push1089=, $pop360, $pop1822 - i32.ne $push1090=, $pop358, $pop1089 - br_if 2, $pop1090 # 2: down to label0 + i32.load16_s $push372=, 8($0) + i32.load16_s $push374=, 0($6) + i32.const $push1670=, 7 + i32.rem_s $push1023=, $pop374, $pop1670 + i32.ne $push1024=, $pop372, $pop1023 + br_if 2, $pop1024 # 2: down to label0 # BB#192: # %lor.lhs.false1814 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push359=, 14($0) - i32.const $push1827=, 16 - i32.shl $push1091=, $pop359, $pop1827 - i32.const $push1826=, 16 - i32.shr_s $push1092=, $pop1091, $pop1826 - i32.load16_u $push361=, 0($8) - i32.const $push1825=, 16 - i32.shl $push1093=, $pop361, $pop1825 - i32.const $push1824=, 16 - i32.shr_s $push1094=, $pop1093, $pop1824 - i32.const $push1823=, 7 - i32.rem_s $push1095=, $pop1094, $pop1823 - i32.ne $push1096=, $pop1092, $pop1095 - br_if 2, $pop1096 # 2: down to label0 + i32.load16_u $push373=, 14($0) + i32.const $push1675=, 16 + i32.shl $push1025=, $pop373, $pop1675 + i32.const $push1674=, 16 + i32.shr_s $push1026=, $pop1025, $pop1674 + i32.load16_u $push375=, 0($7) + i32.const $push1673=, 16 + i32.shl $push1027=, $pop375, $pop1673 + i32.const $push1672=, 16 + i32.shr_s $push1028=, $pop1027, $pop1672 + i32.const $push1671=, 7 + i32.rem_s $push1029=, $pop1028, $pop1671 + i32.ne $push1030=, $pop1026, $pop1029 + br_if 2, $pop1030 # 2: down to label0 # BB#193: # %if.end1824 # in Loop: Header=BB24_99 Depth=1 - copy_local $4=, $0 + copy_local $3=, $0 #APP #NO_APP - i32.load16_s $push363=, 12($0) - i32.load16_s $push365=, 0($9) - i32.const $push1828=, 7 - i32.rem_s $push1097=, $pop365, $pop1828 - i32.ne $push1098=, $pop363, $pop1097 - br_if 2, $pop1098 # 2: down to label0 + i32.load16_s $push377=, 12($0) + i32.load16_s $push379=, 0($8) + i32.const $push1676=, 7 + i32.rem_s $push1031=, $pop379, $pop1676 + i32.ne $push1032=, $pop377, $pop1031 + br_if 2, $pop1032 # 2: down to label0 # BB#194: # %lor.lhs.false1833 # in Loop: Header=BB24_99 Depth=1 - i32.load16_u $push362=, 10($0) - i32.const $push1833=, 16 - i32.shl $push1099=, $pop362, $pop1833 - i32.const $push1832=, 16 - i32.shr_s $push1100=, $pop1099, $pop1832 - i32.load16_u $push364=, 0($10) - i32.const $push1831=, 16 - i32.shl $push1101=, $pop364, $pop1831 - i32.const $push1830=, 16 - i32.shr_s $push1102=, $pop1101, $pop1830 - i32.const $push1829=, 7 - i32.rem_s $push1103=, $pop1102, $pop1829 - i32.ne $push1104=, $pop1100, $pop1103 - br_if 2, $pop1104 # 2: down to label0 + i32.load16_u $push376=, 10($0) + i32.const $push1681=, 16 + i32.shl $push1033=, $pop376, $pop1681 + i32.const $push1680=, 16 + i32.shr_s $push1034=, $pop1033, $pop1680 + i32.load16_u $push378=, 0($9) + i32.const $push1679=, 16 + i32.shl $push1035=, $pop378, $pop1679 + i32.const $push1678=, 16 + i32.shr_s $push1036=, $pop1035, $pop1678 + i32.const $push1677=, 7 + i32.rem_s $push1037=, $pop1036, $pop1677 + i32.ne $push1038=, $pop1034, $pop1037 + br_if 2, $pop1038 # 2: down to label0 # BB#195: # %if.end1843 # in Loop: Header=BB24_99 Depth=1 - copy_local $4=, $0 + copy_local $3=, $0 #APP #NO_APP - i32.const $push1836=, 1 - i32.add $2=, $2, $pop1836 - i32.const $push1835=, 16 - i32.add $1=, $1, $pop1835 - i32.const $push1834=, 2 - i32.lt_u $push1105=, $2, $pop1834 - br_if 0, $pop1105 # 0: up to label3 + i32.const $push1686=, 16 + i32.add $1=, $1, $pop1686 + i32.const $push1685=, 1 + i32.add $push1684=, $2, $pop1685 + tee_local $push1683=, $2=, $pop1684 + i32.const $push1682=, 2 + i32.lt_u $push1039=, $pop1683, $pop1682 + br_if 0, $pop1039 # 0: up to label3 # BB#196: # %for.end1846 end_loop # label4: - i32.const $push1113=, __stack_pointer - i32.const $push1111=, 32 - i32.add $push1112=, $0, $pop1111 - i32.store $drop=, 0($pop1113), $pop1112 - i32.const $push1106=, 0 - return $pop1106 + i32.const $push1047=, 0 + i32.const $push1045=, 32 + i32.add $push1046=, $0, $pop1045 + i32.store $drop=, __stack_pointer($pop1047), $pop1046 + i32.const $push1040=, 0 + return $pop1040 .LBB24_197: # %if.then1842 end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr53645.c.s b/test/torture-s/pr53645.c.s index 417649d65..ae1f4fddf 100644 --- a/test/torture-s/pr53645.c.s +++ b/test/torture-s/pr53645.c.s @@ -6,37 +6,36 @@ .type uq4444,@function uq4444: # @uq4444 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.load $push6=, 0($1) - i32.const $push7=, 2 - i32.shr_u $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 2 - i32.shr_u $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 2 - i32.shr_u $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 2 - i32.shr_u $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 2 + i32.shr_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 2 + i32.shr_u $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 2 + i32.shr_u $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 2 + i32.shr_u $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end0: .size uq4444, .Lfunc_end0-uq4444 @@ -47,37 +46,36 @@ uq4444: # @uq4444 .type ur4444,@function ur4444: # @ur4444 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.load $push6=, 0($1) - i32.const $push7=, 3 - i32.and $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 3 - i32.and $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 3 - i32.and $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 3 - i32.and $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 3 + i32.and $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 3 + i32.and $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 3 + i32.and $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 3 + i32.and $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end1: .size ur4444, .Lfunc_end1-ur4444 @@ -88,57 +86,36 @@ ur4444: # @ur4444 .type sq4444,@function sq4444: # @sq4444 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.load $4=, 0($1) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $1=, 0($pop5) - i32.const $push6=, 31 - i32.shr_s $push21=, $4, $pop6 - i32.const $push8=, 30 - i32.shr_u $push22=, $pop21, $pop8 - i32.add $push23=, $4, $pop22 - i32.const $push11=, 2 - i32.shr_s $push24=, $pop23, $pop11 - i32.store $drop=, 0($0), $pop24 - i32.const $push39=, 12 - i32.add $push25=, $0, $pop39 - i32.const $push38=, 31 - i32.shr_s $push17=, $2, $pop38 - i32.const $push37=, 30 - i32.shr_u $push18=, $pop17, $pop37 - i32.add $push19=, $2, $pop18 - i32.const $push36=, 2 - i32.shr_s $push20=, $pop19, $pop36 - i32.store $drop=, 0($pop25), $pop20 - i32.const $push35=, 8 - i32.add $push26=, $0, $pop35 - i32.const $push34=, 31 - i32.shr_s $push13=, $3, $pop34 - i32.const $push33=, 30 - i32.shr_u $push14=, $pop13, $pop33 - i32.add $push15=, $3, $pop14 - i32.const $push32=, 2 - i32.shr_s $push16=, $pop15, $pop32 - i32.store $drop=, 0($pop26), $pop16 - i32.const $push31=, 4 - i32.add $push27=, $0, $pop31 - i32.const $push30=, 31 - i32.shr_s $push7=, $1, $pop30 - i32.const $push29=, 30 - i32.shr_u $push9=, $pop7, $pop29 - i32.add $push10=, $1, $pop9 - i32.const $push28=, 2 - i32.shr_s $push12=, $pop10, $pop28 - i32.store $drop=, 0($pop27), $pop12 - return + i32.load $push0=, 0($1) + i32.const $push1=, 4 + i32.div_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 4 + i32.div_s $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 4 + i32.div_s $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push19=, 4 + i32.add $push13=, $0, $pop19 + i32.const $push18=, 4 + i32.add $push14=, $1, $pop18 + i32.load $push15=, 0($pop14) + i32.const $push17=, 4 + i32.div_s $push16=, $pop15, $pop17 + i32.store $drop=, 0($pop13), $pop16 + # fallthrough-return .endfunc .Lfunc_end2: .size sq4444, .Lfunc_end2-sq4444 @@ -149,61 +126,36 @@ sq4444: # @sq4444 .type sr4444,@function sr4444: # @sr4444 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.load $4=, 0($1) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $1=, 0($pop5) - i32.const $push6=, 31 - i32.shr_s $push24=, $4, $pop6 - i32.const $push8=, 30 - i32.shr_u $push25=, $pop24, $pop8 - i32.add $push26=, $4, $pop25 - i32.const $push11=, -4 - i32.and $push27=, $pop26, $pop11 - i32.sub $push28=, $4, $pop27 - i32.store $drop=, 0($0), $pop28 - i32.const $push43=, 12 - i32.add $push29=, $0, $pop43 - i32.const $push42=, 31 - i32.shr_s $push19=, $2, $pop42 - i32.const $push41=, 30 - i32.shr_u $push20=, $pop19, $pop41 - i32.add $push21=, $2, $pop20 - i32.const $push40=, -4 - i32.and $push22=, $pop21, $pop40 - i32.sub $push23=, $2, $pop22 - i32.store $drop=, 0($pop29), $pop23 - i32.const $push39=, 8 - i32.add $push30=, $0, $pop39 - i32.const $push38=, 31 - i32.shr_s $push14=, $3, $pop38 - i32.const $push37=, 30 - i32.shr_u $push15=, $pop14, $pop37 - i32.add $push16=, $3, $pop15 - i32.const $push36=, -4 - i32.and $push17=, $pop16, $pop36 - i32.sub $push18=, $3, $pop17 - i32.store $drop=, 0($pop30), $pop18 - i32.const $push35=, 4 - i32.add $push31=, $0, $pop35 - i32.const $push34=, 31 - i32.shr_s $push7=, $1, $pop34 - i32.const $push33=, 30 - i32.shr_u $push9=, $pop7, $pop33 - i32.add $push10=, $1, $pop9 - i32.const $push32=, -4 - i32.and $push12=, $pop10, $pop32 - i32.sub $push13=, $1, $pop12 - i32.store $drop=, 0($pop31), $pop13 - return + i32.load $push0=, 0($1) + i32.const $push1=, 4 + i32.rem_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 4 + i32.rem_s $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 4 + i32.rem_s $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push19=, 4 + i32.add $push13=, $0, $pop19 + i32.const $push18=, 4 + i32.add $push14=, $1, $pop18 + i32.load $push15=, 0($pop14) + i32.const $push17=, 4 + i32.rem_s $push16=, $pop15, $pop17 + i32.store $drop=, 0($pop13), $pop16 + # fallthrough-return .endfunc .Lfunc_end3: .size sr4444, .Lfunc_end3-sr4444 @@ -214,35 +166,34 @@ sr4444: # @sr4444 .type uq1428,@function uq1428: # @uq1428 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.load $push6=, 0($1) - i32.store $drop=, 0($0), $pop6 - i32.const $push18=, 12 - i32.add $push13=, $0, $pop18 - i32.const $push11=, 3 - i32.shr_u $push12=, $2, $pop11 - i32.store $drop=, 0($pop13), $pop12 - i32.const $push17=, 8 - i32.add $push14=, $0, $pop17 - i32.const $push9=, 1 - i32.shr_u $push10=, $3, $pop9 - i32.store $drop=, 0($pop14), $pop10 - i32.const $push16=, 4 - i32.add $push15=, $0, $pop16 - i32.const $push7=, 2 - i32.shr_u $push8=, $4, $pop7 - i32.store $drop=, 0($pop15), $pop8 - return + i32.load $push0=, 0($1) + i32.store $drop=, 0($0), $pop0 + i32.const $push1=, 12 + i32.add $push2=, $0, $pop1 + i32.const $push21=, 12 + i32.add $push3=, $1, $pop21 + i32.load $push4=, 0($pop3) + i32.const $push5=, 3 + i32.shr_u $push6=, $pop4, $pop5 + i32.store $drop=, 0($pop2), $pop6 + i32.const $push7=, 8 + i32.add $push8=, $0, $pop7 + i32.const $push20=, 8 + i32.add $push9=, $1, $pop20 + i32.load $push10=, 0($pop9) + i32.const $push11=, 1 + i32.shr_u $push12=, $pop10, $pop11 + i32.store $drop=, 0($pop8), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push17=, 2 + i32.shr_u $push18=, $pop16, $pop17 + i32.store $drop=, 0($pop14), $pop18 + # fallthrough-return .endfunc .Lfunc_end4: .size uq1428, .Lfunc_end4-uq1428 @@ -253,35 +204,34 @@ uq1428: # @uq1428 .type ur1428,@function ur1428: # @ur1428 .param i32, i32 - .local i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $1=, 0($pop5) - i32.const $push12=, 0 - i32.store $drop=, 0($0), $pop12 - i32.const $push18=, 12 - i32.add $push13=, $0, $pop18 - i32.const $push10=, 7 - i32.and $push11=, $2, $pop10 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push17=, 8 - i32.add $push14=, $0, $pop17 - i32.const $push8=, 1 - i32.and $push9=, $3, $pop8 - i32.store $drop=, 0($pop14), $pop9 - i32.const $push16=, 4 - i32.add $push15=, $0, $pop16 - i32.const $push6=, 3 - i32.and $push7=, $1, $pop6 - i32.store $drop=, 0($pop15), $pop7 - return + i32.const $push0=, 0 + i32.store $drop=, 0($0), $pop0 + i32.const $push1=, 12 + i32.add $push2=, $0, $pop1 + i32.const $push21=, 12 + i32.add $push3=, $1, $pop21 + i32.load $push4=, 0($pop3) + i32.const $push5=, 7 + i32.and $push6=, $pop4, $pop5 + i32.store $drop=, 0($pop2), $pop6 + i32.const $push7=, 8 + i32.add $push8=, $0, $pop7 + i32.const $push20=, 8 + i32.add $push9=, $1, $pop20 + i32.load $push10=, 0($pop9) + i32.const $push11=, 1 + i32.and $push12=, $pop10, $pop11 + i32.store $drop=, 0($pop8), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push17=, 3 + i32.and $push18=, $pop16, $pop17 + i32.store $drop=, 0($pop14), $pop18 + # fallthrough-return .endfunc .Lfunc_end5: .size ur1428, .Lfunc_end5-ur1428 @@ -292,48 +242,34 @@ ur1428: # @ur1428 .type sq1428,@function sq1428: # @sq1428 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 8 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push2=, 12 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.load $push6=, 0($1) - i32.store $drop=, 0($0), $pop6 - i32.const $push31=, 8 - i32.add $push24=, $0, $pop31 - i32.const $push7=, 31 - i32.shr_u $push20=, $2, $pop7 - i32.add $push21=, $2, $pop20 - i32.const $push22=, 1 - i32.shr_s $push23=, $pop21, $pop22 - i32.store $drop=, 0($pop24), $pop23 - i32.const $push30=, 12 - i32.add $push25=, $0, $pop30 - i32.const $push29=, 31 - i32.shr_s $push14=, $3, $pop29 - i32.const $push15=, 29 - i32.shr_u $push16=, $pop14, $pop15 - i32.add $push17=, $3, $pop16 - i32.const $push18=, 3 - i32.shr_s $push19=, $pop17, $pop18 - i32.store $drop=, 0($pop25), $pop19 - i32.const $push28=, 4 - i32.add $push26=, $0, $pop28 - i32.const $push27=, 31 - i32.shr_s $push8=, $4, $pop27 - i32.const $push9=, 30 - i32.shr_u $push10=, $pop8, $pop9 - i32.add $push11=, $4, $pop10 - i32.const $push12=, 2 - i32.shr_s $push13=, $pop11, $pop12 - i32.store $drop=, 0($pop26), $pop13 - return + i32.load $push0=, 0($1) + i32.store $drop=, 0($0), $pop0 + i32.const $push1=, 12 + i32.add $push2=, $0, $pop1 + i32.const $push21=, 12 + i32.add $push3=, $1, $pop21 + i32.load $push4=, 0($pop3) + i32.const $push5=, 8 + i32.div_s $push6=, $pop4, $pop5 + i32.store $drop=, 0($pop2), $pop6 + i32.const $push20=, 8 + i32.add $push7=, $0, $pop20 + i32.const $push19=, 8 + i32.add $push8=, $1, $pop19 + i32.load $push9=, 0($pop8) + i32.const $push10=, 2 + i32.div_s $push11=, $pop9, $pop10 + i32.store $drop=, 0($pop7), $pop11 + i32.const $push12=, 4 + i32.add $push13=, $0, $pop12 + i32.const $push18=, 4 + i32.add $push14=, $1, $pop18 + i32.load $push15=, 0($pop14) + i32.const $push17=, 4 + i32.div_s $push16=, $pop15, $pop17 + i32.store $drop=, 0($pop13), $pop16 + # fallthrough-return .endfunc .Lfunc_end6: .size sq1428, .Lfunc_end6-sq1428 @@ -344,51 +280,36 @@ sq1428: # @sq1428 .type sr1428,@function sr1428: # @sr1428 .param i32, i32 - .local i32, i32 # BB#0: # %entry - i32.const $push0=, 8 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push2=, 12 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $1=, 0($pop5) - i32.const $push26=, 0 - i32.store $drop=, 0($0), $pop26 - i32.const $push34=, 8 - i32.add $push27=, $0, $pop34 - i32.const $push6=, 31 - i32.shr_u $push21=, $2, $pop6 - i32.add $push22=, $2, $pop21 - i32.const $push23=, -2 - i32.and $push24=, $pop22, $pop23 - i32.sub $push25=, $2, $pop24 - i32.store $drop=, 0($pop27), $pop25 - i32.const $push33=, 12 - i32.add $push28=, $0, $pop33 - i32.const $push32=, 31 - i32.shr_s $push14=, $3, $pop32 - i32.const $push15=, 29 - i32.shr_u $push16=, $pop14, $pop15 - i32.add $push17=, $3, $pop16 - i32.const $push18=, -8 - i32.and $push19=, $pop17, $pop18 - i32.sub $push20=, $3, $pop19 - i32.store $drop=, 0($pop28), $pop20 - i32.const $push31=, 4 - i32.add $push29=, $0, $pop31 - i32.const $push30=, 31 - i32.shr_s $push7=, $1, $pop30 - i32.const $push8=, 30 - i32.shr_u $push9=, $pop7, $pop8 - i32.add $push10=, $1, $pop9 - i32.const $push11=, -4 - i32.and $push12=, $pop10, $pop11 - i32.sub $push13=, $1, $pop12 - i32.store $drop=, 0($pop29), $pop13 - return + i32.load $push0=, 0($1) + i32.const $push1=, 1 + i32.rem_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push7=, 8 + i32.rem_s $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push22=, 8 + i32.add $push9=, $0, $pop22 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push12=, 2 + i32.rem_s $push13=, $pop11, $pop12 + i32.store $drop=, 0($pop9), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 4 + i32.rem_s $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end7: .size sr1428, .Lfunc_end7-sr1428 @@ -399,37 +320,36 @@ sr1428: # @sr1428 .type uq3333,@function uq3333: # @uq3333 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 3 - i32.div_u $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 3 - i32.div_u $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 3 - i32.div_u $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 3 - i32.div_u $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 3 + i32.div_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 3 + i32.div_u $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 3 + i32.div_u $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 3 + i32.div_u $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end8: .size uq3333, .Lfunc_end8-uq3333 @@ -440,37 +360,36 @@ uq3333: # @uq3333 .type ur3333,@function ur3333: # @ur3333 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 3 - i32.rem_u $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 3 - i32.rem_u $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 3 - i32.rem_u $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 3 - i32.rem_u $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 3 + i32.rem_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 3 + i32.rem_u $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 3 + i32.rem_u $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 3 + i32.rem_u $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end9: .size ur3333, .Lfunc_end9-ur3333 @@ -481,37 +400,36 @@ ur3333: # @ur3333 .type sq3333,@function sq3333: # @sq3333 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 3 - i32.div_s $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 3 - i32.div_s $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 3 - i32.div_s $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 3 - i32.div_s $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 3 + i32.div_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 3 + i32.div_s $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 3 + i32.div_s $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 3 + i32.div_s $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end10: .size sq3333, .Lfunc_end10-sq3333 @@ -522,37 +440,36 @@ sq3333: # @sq3333 .type sr3333,@function sr3333: # @sr3333 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 3 - i32.rem_s $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 3 - i32.rem_s $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 3 - i32.rem_s $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 3 - i32.rem_s $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 3 + i32.rem_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 3 + i32.rem_s $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 3 + i32.rem_s $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 3 + i32.rem_s $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end11: .size sr3333, .Lfunc_end11-sr3333 @@ -563,37 +480,36 @@ sr3333: # @sr3333 .type uq6565,@function uq6565: # @uq6565 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push9=, 6 - i32.div_u $push12=, $pop6, $pop9 - i32.store $drop=, 0($0), $pop12 - i32.const $push20=, 12 - i32.add $push13=, $0, $pop20 + i32.load $push0=, 0($1) + i32.const $push1=, 6 + i32.div_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) i32.const $push7=, 5 - i32.div_u $push11=, $2, $pop7 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push19=, 8 - i32.add $push14=, $0, $pop19 - i32.const $push18=, 6 - i32.div_u $push10=, $3, $pop18 - i32.store $drop=, 0($pop14), $pop10 - i32.const $push17=, 4 - i32.add $push15=, $0, $pop17 - i32.const $push16=, 5 - i32.div_u $push8=, $4, $pop16 - i32.store $drop=, 0($pop15), $pop8 - return + i32.div_u $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push22=, 8 + i32.add $push11=, $1, $pop22 + i32.load $push12=, 0($pop11) + i32.const $push21=, 6 + i32.div_u $push13=, $pop12, $pop21 + i32.store $drop=, 0($pop10), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 5 + i32.div_u $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end12: .size uq6565, .Lfunc_end12-uq6565 @@ -604,37 +520,36 @@ uq6565: # @uq6565 .type ur6565,@function ur6565: # @ur6565 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push9=, 6 - i32.rem_u $push12=, $pop6, $pop9 - i32.store $drop=, 0($0), $pop12 - i32.const $push20=, 12 - i32.add $push13=, $0, $pop20 + i32.load $push0=, 0($1) + i32.const $push1=, 6 + i32.rem_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) i32.const $push7=, 5 - i32.rem_u $push11=, $2, $pop7 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push19=, 8 - i32.add $push14=, $0, $pop19 - i32.const $push18=, 6 - i32.rem_u $push10=, $3, $pop18 - i32.store $drop=, 0($pop14), $pop10 - i32.const $push17=, 4 - i32.add $push15=, $0, $pop17 - i32.const $push16=, 5 - i32.rem_u $push8=, $4, $pop16 - i32.store $drop=, 0($pop15), $pop8 - return + i32.rem_u $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push22=, 8 + i32.add $push11=, $1, $pop22 + i32.load $push12=, 0($pop11) + i32.const $push21=, 6 + i32.rem_u $push13=, $pop12, $pop21 + i32.store $drop=, 0($pop10), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 5 + i32.rem_u $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end13: .size ur6565, .Lfunc_end13-ur6565 @@ -645,37 +560,36 @@ ur6565: # @ur6565 .type sq6565,@function sq6565: # @sq6565 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push9=, 6 - i32.div_s $push12=, $pop6, $pop9 - i32.store $drop=, 0($0), $pop12 - i32.const $push20=, 12 - i32.add $push13=, $0, $pop20 + i32.load $push0=, 0($1) + i32.const $push1=, 6 + i32.div_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) i32.const $push7=, 5 - i32.div_s $push11=, $2, $pop7 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push19=, 8 - i32.add $push14=, $0, $pop19 - i32.const $push18=, 6 - i32.div_s $push10=, $3, $pop18 - i32.store $drop=, 0($pop14), $pop10 - i32.const $push17=, 4 - i32.add $push15=, $0, $pop17 - i32.const $push16=, 5 - i32.div_s $push8=, $4, $pop16 - i32.store $drop=, 0($pop15), $pop8 - return + i32.div_s $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push22=, 8 + i32.add $push11=, $1, $pop22 + i32.load $push12=, 0($pop11) + i32.const $push21=, 6 + i32.div_s $push13=, $pop12, $pop21 + i32.store $drop=, 0($pop10), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 5 + i32.div_s $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end14: .size sq6565, .Lfunc_end14-sq6565 @@ -686,37 +600,36 @@ sq6565: # @sq6565 .type sr6565,@function sr6565: # @sr6565 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push9=, 6 - i32.rem_s $push12=, $pop6, $pop9 - i32.store $drop=, 0($0), $pop12 - i32.const $push20=, 12 - i32.add $push13=, $0, $pop20 + i32.load $push0=, 0($1) + i32.const $push1=, 6 + i32.rem_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) i32.const $push7=, 5 - i32.rem_s $push11=, $2, $pop7 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push19=, 8 - i32.add $push14=, $0, $pop19 - i32.const $push18=, 6 - i32.rem_s $push10=, $3, $pop18 - i32.store $drop=, 0($pop14), $pop10 - i32.const $push17=, 4 - i32.add $push15=, $0, $pop17 - i32.const $push16=, 5 - i32.rem_s $push8=, $4, $pop16 - i32.store $drop=, 0($pop15), $pop8 - return + i32.rem_s $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push22=, 8 + i32.add $push11=, $1, $pop22 + i32.load $push12=, 0($pop11) + i32.const $push21=, 6 + i32.rem_s $push13=, $pop12, $pop21 + i32.store $drop=, 0($pop10), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 5 + i32.rem_s $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end15: .size sr6565, .Lfunc_end15-sr6565 @@ -727,37 +640,36 @@ sr6565: # @sr6565 .type uq1414146,@function uq1414146: # @uq1414146 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 14 - i32.div_u $push12=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop12 - i32.const $push20=, 12 - i32.add $push13=, $0, $pop20 - i32.const $push10=, 6 - i32.div_u $push11=, $2, $pop10 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push19=, 8 - i32.add $push14=, $0, $pop19 - i32.const $push18=, 14 - i32.div_u $push9=, $3, $pop18 - i32.store $drop=, 0($pop14), $pop9 - i32.const $push17=, 4 - i32.add $push15=, $0, $pop17 - i32.const $push16=, 14 - i32.div_u $push8=, $4, $pop16 - i32.store $drop=, 0($pop15), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 14 + i32.div_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push7=, 6 + i32.div_u $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push22=, 8 + i32.add $push11=, $1, $pop22 + i32.load $push12=, 0($pop11) + i32.const $push21=, 14 + i32.div_u $push13=, $pop12, $pop21 + i32.store $drop=, 0($pop10), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 14 + i32.div_u $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end16: .size uq1414146, .Lfunc_end16-uq1414146 @@ -768,37 +680,36 @@ uq1414146: # @uq1414146 .type ur1414146,@function ur1414146: # @ur1414146 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 14 - i32.rem_u $push12=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop12 - i32.const $push20=, 12 - i32.add $push13=, $0, $pop20 - i32.const $push10=, 6 - i32.rem_u $push11=, $2, $pop10 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push19=, 8 - i32.add $push14=, $0, $pop19 - i32.const $push18=, 14 - i32.rem_u $push9=, $3, $pop18 - i32.store $drop=, 0($pop14), $pop9 - i32.const $push17=, 4 - i32.add $push15=, $0, $pop17 - i32.const $push16=, 14 - i32.rem_u $push8=, $4, $pop16 - i32.store $drop=, 0($pop15), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 14 + i32.rem_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push7=, 6 + i32.rem_u $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push22=, 8 + i32.add $push11=, $1, $pop22 + i32.load $push12=, 0($pop11) + i32.const $push21=, 14 + i32.rem_u $push13=, $pop12, $pop21 + i32.store $drop=, 0($pop10), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 14 + i32.rem_u $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end17: .size ur1414146, .Lfunc_end17-ur1414146 @@ -809,37 +720,36 @@ ur1414146: # @ur1414146 .type sq1414146,@function sq1414146: # @sq1414146 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 14 - i32.div_s $push12=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop12 - i32.const $push20=, 12 - i32.add $push13=, $0, $pop20 - i32.const $push10=, 6 - i32.div_s $push11=, $2, $pop10 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push19=, 8 - i32.add $push14=, $0, $pop19 - i32.const $push18=, 14 - i32.div_s $push9=, $3, $pop18 - i32.store $drop=, 0($pop14), $pop9 - i32.const $push17=, 4 - i32.add $push15=, $0, $pop17 - i32.const $push16=, 14 - i32.div_s $push8=, $4, $pop16 - i32.store $drop=, 0($pop15), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 14 + i32.div_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push7=, 6 + i32.div_s $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push22=, 8 + i32.add $push11=, $1, $pop22 + i32.load $push12=, 0($pop11) + i32.const $push21=, 14 + i32.div_s $push13=, $pop12, $pop21 + i32.store $drop=, 0($pop10), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 14 + i32.div_s $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end18: .size sq1414146, .Lfunc_end18-sq1414146 @@ -850,37 +760,36 @@ sq1414146: # @sq1414146 .type sr1414146,@function sr1414146: # @sr1414146 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 14 - i32.rem_s $push12=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop12 - i32.const $push20=, 12 - i32.add $push13=, $0, $pop20 - i32.const $push10=, 6 - i32.rem_s $push11=, $2, $pop10 - i32.store $drop=, 0($pop13), $pop11 - i32.const $push19=, 8 - i32.add $push14=, $0, $pop19 - i32.const $push18=, 14 - i32.rem_s $push9=, $3, $pop18 - i32.store $drop=, 0($pop14), $pop9 - i32.const $push17=, 4 - i32.add $push15=, $0, $pop17 - i32.const $push16=, 14 - i32.rem_s $push8=, $4, $pop16 - i32.store $drop=, 0($pop15), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 14 + i32.rem_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push7=, 6 + i32.rem_s $push8=, $pop6, $pop7 + i32.store $drop=, 0($pop4), $pop8 + i32.const $push9=, 8 + i32.add $push10=, $0, $pop9 + i32.const $push22=, 8 + i32.add $push11=, $1, $pop22 + i32.load $push12=, 0($pop11) + i32.const $push21=, 14 + i32.rem_s $push13=, $pop12, $pop21 + i32.store $drop=, 0($pop10), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.const $push20=, 4 + i32.add $push16=, $1, $pop20 + i32.load $push17=, 0($pop16) + i32.const $push19=, 14 + i32.rem_s $push18=, $pop17, $pop19 + i32.store $drop=, 0($pop15), $pop18 + # fallthrough-return .endfunc .Lfunc_end19: .size sr1414146, .Lfunc_end19-sr1414146 @@ -891,37 +800,36 @@ sr1414146: # @sr1414146 .type uq7777,@function uq7777: # @uq7777 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 7 - i32.div_u $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 7 - i32.div_u $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 7 - i32.div_u $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 7 - i32.div_u $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 7 + i32.div_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 7 + i32.div_u $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 7 + i32.div_u $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 7 + i32.div_u $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end20: .size uq7777, .Lfunc_end20-uq7777 @@ -932,37 +840,36 @@ uq7777: # @uq7777 .type ur7777,@function ur7777: # @ur7777 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 7 - i32.rem_u $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 7 - i32.rem_u $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 7 - i32.rem_u $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 7 - i32.rem_u $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 7 + i32.rem_u $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 7 + i32.rem_u $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 7 + i32.rem_u $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 7 + i32.rem_u $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end21: .size ur7777, .Lfunc_end21-ur7777 @@ -973,37 +880,36 @@ ur7777: # @ur7777 .type sq7777,@function sq7777: # @sq7777 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 7 - i32.div_s $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 7 - i32.div_s $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 7 - i32.div_s $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 7 - i32.div_s $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 7 + i32.div_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 7 + i32.div_s $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 7 + i32.div_s $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 7 + i32.div_s $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end22: .size sq7777, .Lfunc_end22-sq7777 @@ -1014,37 +920,36 @@ sq7777: # @sq7777 .type sr7777,@function sr7777: # @sr7777 .param i32, i32 - .local i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 12 - i32.add $push1=, $1, $pop0 - i32.load $2=, 0($pop1) - i32.const $push4=, 4 - i32.add $push5=, $1, $pop4 - i32.load $4=, 0($pop5) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.load $3=, 0($pop3) - i32.load $push6=, 0($1) - i32.const $push7=, 7 - i32.rem_s $push11=, $pop6, $pop7 - i32.store $drop=, 0($0), $pop11 - i32.const $push20=, 12 - i32.add $push12=, $0, $pop20 - i32.const $push19=, 7 - i32.rem_s $push10=, $2, $pop19 - i32.store $drop=, 0($pop12), $pop10 - i32.const $push18=, 8 - i32.add $push13=, $0, $pop18 - i32.const $push17=, 7 - i32.rem_s $push9=, $3, $pop17 - i32.store $drop=, 0($pop13), $pop9 - i32.const $push16=, 4 - i32.add $push14=, $0, $pop16 - i32.const $push15=, 7 - i32.rem_s $push8=, $4, $pop15 - i32.store $drop=, 0($pop14), $pop8 - return + i32.load $push0=, 0($1) + i32.const $push1=, 7 + i32.rem_s $push2=, $pop0, $pop1 + i32.store $drop=, 0($0), $pop2 + i32.const $push3=, 12 + i32.add $push4=, $0, $pop3 + i32.const $push23=, 12 + i32.add $push5=, $1, $pop23 + i32.load $push6=, 0($pop5) + i32.const $push22=, 7 + i32.rem_s $push7=, $pop6, $pop22 + i32.store $drop=, 0($pop4), $pop7 + i32.const $push8=, 8 + i32.add $push9=, $0, $pop8 + i32.const $push21=, 8 + i32.add $push10=, $1, $pop21 + i32.load $push11=, 0($pop10) + i32.const $push20=, 7 + i32.rem_s $push12=, $pop11, $pop20 + i32.store $drop=, 0($pop9), $pop12 + i32.const $push13=, 4 + i32.add $push14=, $0, $pop13 + i32.const $push19=, 4 + i32.add $push15=, $1, $pop19 + i32.load $push16=, 0($pop15) + i32.const $push18=, 7 + i32.rem_s $push17=, $pop16, $pop18 + i32.store $drop=, 0($pop14), $pop17 + # fallthrough-return .endfunc .Lfunc_end23: .size sr7777, .Lfunc_end23-sr7777 @@ -1057,568 +962,569 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push415=, __stack_pointer - i32.const $push412=, __stack_pointer - i32.load $push413=, 0($pop412) - i32.const $push414=, 32 - i32.sub $push491=, $pop413, $pop414 - i32.store $0=, 0($pop415), $pop491 - i32.const $3=, 0 + i32.const $push382=, 0 + i32.const $push379=, 0 + i32.load $push380=, __stack_pointer($pop379) + i32.const $push381=, 32 + i32.sub $push458=, $pop380, $pop381 + i32.store $0=, __stack_pointer($pop382), $pop458 + i32.const $2=, 0 i32.const $1=, u .LBB24_1: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label1: - i32.const $push419=, 16 - i32.add $push420=, $0, $pop419 - call uq4444@FUNCTION, $pop420, $1 + i32.const $push386=, 16 + i32.add $push387=, $0, $pop386 + call uq4444@FUNCTION, $pop387, $1 i32.load $push0=, 16($0) i32.load $push2=, 0($1) - i32.const $push492=, 2 - i32.shr_u $push175=, $pop2, $pop492 - i32.ne $push176=, $pop0, $pop175 - br_if 2, $pop176 # 2: down to label0 + i32.const $push459=, 2 + i32.shr_u $push188=, $pop2, $pop459 + i32.ne $push189=, $pop0, $pop188 + br_if 2, $pop189 # 2: down to label0 # BB#2: # %lor.lhs.false # in Loop: Header=BB24_1 Depth=1 i32.load $push1=, 28($0) - i32.const $push496=, 12 - i32.add $push495=, $1, $pop496 - tee_local $push494=, $4=, $pop495 - i32.load $push3=, 0($pop494) - i32.const $push493=, 2 - i32.shr_u $push177=, $pop3, $pop493 - i32.ne $push178=, $pop1, $pop177 - br_if 2, $pop178 # 2: down to label0 + i32.const $push463=, 12 + i32.add $push462=, $1, $pop463 + tee_local $push461=, $3=, $pop462 + i32.load $push3=, 0($pop461) + i32.const $push460=, 2 + i32.shr_u $push190=, $pop3, $pop460 + i32.ne $push191=, $pop1, $pop190 + br_if 2, $pop191 # 2: down to label0 # BB#3: # %if.end # in Loop: Header=BB24_1 Depth=1 - i32.const $push421=, 16 - i32.add $push422=, $0, $pop421 - copy_local $5=, $pop422 + i32.const $push388=, 16 + i32.add $push389=, $0, $pop388 + copy_local $4=, $pop389 #APP #NO_APP i32.load $push5=, 24($0) - i32.const $push500=, 8 - i32.add $push499=, $1, $pop500 - tee_local $push498=, $5=, $pop499 - i32.load $push7=, 0($pop498) - i32.const $push497=, 2 - i32.shr_u $push179=, $pop7, $pop497 - i32.ne $push180=, $pop5, $pop179 - br_if 2, $pop180 # 2: down to label0 + i32.const $push467=, 8 + i32.add $push466=, $1, $pop467 + tee_local $push465=, $4=, $pop466 + i32.load $push7=, 0($pop465) + i32.const $push464=, 2 + i32.shr_u $push192=, $pop7, $pop464 + i32.ne $push193=, $pop5, $pop192 + br_if 2, $pop193 # 2: down to label0 # BB#4: # %lor.lhs.false13 # in Loop: Header=BB24_1 Depth=1 i32.load $push4=, 20($0) - i32.const $push504=, 4 - i32.add $push503=, $1, $pop504 - tee_local $push502=, $6=, $pop503 - i32.load $push6=, 0($pop502) - i32.const $push501=, 2 - i32.shr_u $push181=, $pop6, $pop501 - i32.ne $push182=, $pop4, $pop181 - br_if 2, $pop182 # 2: down to label0 + i32.const $push471=, 4 + i32.add $push470=, $1, $pop471 + tee_local $push469=, $5=, $pop470 + i32.load $push6=, 0($pop469) + i32.const $push468=, 2 + i32.shr_u $push194=, $pop6, $pop468 + i32.ne $push195=, $pop4, $pop194 + br_if 2, $pop195 # 2: down to label0 # BB#5: # %if.end20 # in Loop: Header=BB24_1 Depth=1 - i32.const $push423=, 16 - i32.add $push424=, $0, $pop423 - copy_local $2=, $pop424 + i32.const $push390=, 16 + i32.add $push391=, $0, $pop390 + copy_local $6=, $pop391 #APP #NO_APP - i32.const $push425=, 16 - i32.add $push426=, $0, $pop425 - call ur4444@FUNCTION, $pop426, $1 + i32.const $push392=, 16 + i32.add $push393=, $0, $pop392 + call ur4444@FUNCTION, $pop393, $1 i32.load $push8=, 16($0) i32.load $push10=, 0($1) - i32.const $push505=, 3 - i32.and $push183=, $pop10, $pop505 - i32.ne $push184=, $pop8, $pop183 - br_if 2, $pop184 # 2: down to label0 + i32.const $push472=, 3 + i32.and $push196=, $pop10, $pop472 + i32.ne $push197=, $pop8, $pop196 + br_if 2, $pop197 # 2: down to label0 # BB#6: # %lor.lhs.false26 # in Loop: Header=BB24_1 Depth=1 i32.load $push9=, 28($0) - i32.load $push11=, 0($4) - i32.const $push506=, 3 - i32.and $push185=, $pop11, $pop506 - i32.ne $push186=, $pop9, $pop185 - br_if 2, $pop186 # 2: down to label0 + i32.load $push11=, 0($3) + i32.const $push473=, 3 + i32.and $push198=, $pop11, $pop473 + i32.ne $push199=, $pop9, $pop198 + br_if 2, $pop199 # 2: down to label0 # BB#7: # %if.end33 # in Loop: Header=BB24_1 Depth=1 - i32.const $push427=, 16 - i32.add $push428=, $0, $pop427 - copy_local $2=, $pop428 + i32.const $push394=, 16 + i32.add $push395=, $0, $pop394 + copy_local $6=, $pop395 #APP #NO_APP i32.load $push13=, 24($0) - i32.load $push15=, 0($5) - i32.const $push507=, 3 - i32.and $push187=, $pop15, $pop507 - i32.ne $push188=, $pop13, $pop187 - br_if 2, $pop188 # 2: down to label0 + i32.load $push15=, 0($4) + i32.const $push474=, 3 + i32.and $push200=, $pop15, $pop474 + i32.ne $push201=, $pop13, $pop200 + br_if 2, $pop201 # 2: down to label0 # BB#8: # %lor.lhs.false39 # in Loop: Header=BB24_1 Depth=1 i32.load $push12=, 20($0) - i32.load $push14=, 0($6) - i32.const $push508=, 3 - i32.and $push189=, $pop14, $pop508 - i32.ne $push190=, $pop12, $pop189 - br_if 2, $pop190 # 2: down to label0 + i32.load $push14=, 0($5) + i32.const $push475=, 3 + i32.and $push202=, $pop14, $pop475 + i32.ne $push203=, $pop12, $pop202 + br_if 2, $pop203 # 2: down to label0 # BB#9: # %if.end46 # in Loop: Header=BB24_1 Depth=1 - i32.const $push429=, 16 - i32.add $push430=, $0, $pop429 - copy_local $2=, $pop430 + i32.const $push396=, 16 + i32.add $push397=, $0, $pop396 + copy_local $6=, $pop397 #APP #NO_APP - i32.const $push431=, 16 - i32.add $push432=, $0, $pop431 - call uq1428@FUNCTION, $pop432, $1 + i32.const $push398=, 16 + i32.add $push399=, $0, $pop398 + call uq1428@FUNCTION, $pop399, $1 i32.load $push16=, 16($0) i32.load $push18=, 0($1) - i32.ne $push191=, $pop16, $pop18 - br_if 2, $pop191 # 2: down to label0 + i32.ne $push204=, $pop16, $pop18 + br_if 2, $pop204 # 2: down to label0 # BB#10: # %lor.lhs.false53 # in Loop: Header=BB24_1 Depth=1 i32.load $push17=, 28($0) - i32.load $push19=, 0($4) - i32.const $push509=, 3 - i32.shr_u $push192=, $pop19, $pop509 - i32.ne $push193=, $pop17, $pop192 - br_if 2, $pop193 # 2: down to label0 + i32.load $push19=, 0($3) + i32.const $push476=, 3 + i32.shr_u $push205=, $pop19, $pop476 + i32.ne $push206=, $pop17, $pop205 + br_if 2, $pop206 # 2: down to label0 # BB#11: # %if.end60 # in Loop: Header=BB24_1 Depth=1 - i32.const $push433=, 16 - i32.add $push434=, $0, $pop433 - copy_local $2=, $pop434 + i32.const $push400=, 16 + i32.add $push401=, $0, $pop400 + copy_local $6=, $pop401 #APP #NO_APP i32.load $push21=, 24($0) - i32.load $push23=, 0($5) - i32.const $push510=, 1 - i32.shr_u $push194=, $pop23, $pop510 - i32.ne $push195=, $pop21, $pop194 - br_if 2, $pop195 # 2: down to label0 + i32.load $push23=, 0($4) + i32.const $push477=, 1 + i32.shr_u $push207=, $pop23, $pop477 + i32.ne $push208=, $pop21, $pop207 + br_if 2, $pop208 # 2: down to label0 # BB#12: # %lor.lhs.false66 # in Loop: Header=BB24_1 Depth=1 i32.load $push20=, 20($0) - i32.load $push22=, 0($6) - i32.const $push511=, 2 - i32.shr_u $push196=, $pop22, $pop511 - i32.ne $push197=, $pop20, $pop196 - br_if 2, $pop197 # 2: down to label0 + i32.load $push22=, 0($5) + i32.const $push478=, 2 + i32.shr_u $push209=, $pop22, $pop478 + i32.ne $push210=, $pop20, $pop209 + br_if 2, $pop210 # 2: down to label0 # BB#13: # %if.end73 # in Loop: Header=BB24_1 Depth=1 - i32.const $push435=, 16 - i32.add $push436=, $0, $pop435 - copy_local $2=, $pop436 + i32.const $push402=, 16 + i32.add $push403=, $0, $pop402 + copy_local $6=, $pop403 #APP #NO_APP - i32.const $push437=, 16 - i32.add $push438=, $0, $pop437 - call ur1428@FUNCTION, $pop438, $1 + i32.const $push404=, 16 + i32.add $push405=, $0, $pop404 + call ur1428@FUNCTION, $pop405, $1 i32.load $push24=, 16($0) br_if 2, $pop24 # 2: down to label0 # BB#14: # %lor.lhs.false80 # in Loop: Header=BB24_1 Depth=1 i32.load $push25=, 28($0) - i32.load $push198=, 0($4) - i32.const $push512=, 7 - i32.and $push199=, $pop198, $pop512 - i32.ne $push200=, $pop25, $pop199 - br_if 2, $pop200 # 2: down to label0 + i32.load $push211=, 0($3) + i32.const $push479=, 7 + i32.and $push212=, $pop211, $pop479 + i32.ne $push213=, $pop25, $pop212 + br_if 2, $pop213 # 2: down to label0 # BB#15: # %if.end87 # in Loop: Header=BB24_1 Depth=1 - i32.const $push439=, 16 - i32.add $push440=, $0, $pop439 - copy_local $2=, $pop440 + i32.const $push406=, 16 + i32.add $push407=, $0, $pop406 + copy_local $6=, $pop407 #APP #NO_APP i32.load $push27=, 24($0) - i32.load $push29=, 0($5) - i32.const $push513=, 1 - i32.and $push201=, $pop29, $pop513 - i32.ne $push202=, $pop27, $pop201 - br_if 2, $pop202 # 2: down to label0 + i32.load $push29=, 0($4) + i32.const $push480=, 1 + i32.and $push214=, $pop29, $pop480 + i32.ne $push215=, $pop27, $pop214 + br_if 2, $pop215 # 2: down to label0 # BB#16: # %lor.lhs.false93 # in Loop: Header=BB24_1 Depth=1 i32.load $push26=, 20($0) - i32.load $push28=, 0($6) - i32.const $push514=, 3 - i32.and $push203=, $pop28, $pop514 - i32.ne $push204=, $pop26, $pop203 - br_if 2, $pop204 # 2: down to label0 + i32.load $push28=, 0($5) + i32.const $push481=, 3 + i32.and $push216=, $pop28, $pop481 + i32.ne $push217=, $pop26, $pop216 + br_if 2, $pop217 # 2: down to label0 # BB#17: # %if.end100 # in Loop: Header=BB24_1 Depth=1 - i32.const $push441=, 16 - i32.add $push442=, $0, $pop441 - copy_local $2=, $pop442 + i32.const $push408=, 16 + i32.add $push409=, $0, $pop408 + copy_local $6=, $pop409 #APP #NO_APP - i32.const $push443=, 16 - i32.add $push444=, $0, $pop443 - call uq3333@FUNCTION, $pop444, $1 + i32.const $push410=, 16 + i32.add $push411=, $0, $pop410 + call uq3333@FUNCTION, $pop411, $1 i32.load $push30=, 16($0) i32.load $push32=, 0($1) - i32.const $push515=, 3 - i32.div_u $push205=, $pop32, $pop515 - i32.ne $push206=, $pop30, $pop205 - br_if 2, $pop206 # 2: down to label0 + i32.const $push482=, 3 + i32.div_u $push218=, $pop32, $pop482 + i32.ne $push219=, $pop30, $pop218 + br_if 2, $pop219 # 2: down to label0 # BB#18: # %lor.lhs.false107 # in Loop: Header=BB24_1 Depth=1 i32.load $push31=, 28($0) - i32.load $push33=, 0($4) - i32.const $push516=, 3 - i32.div_u $push207=, $pop33, $pop516 - i32.ne $push208=, $pop31, $pop207 - br_if 2, $pop208 # 2: down to label0 + i32.load $push33=, 0($3) + i32.const $push483=, 3 + i32.div_u $push220=, $pop33, $pop483 + i32.ne $push221=, $pop31, $pop220 + br_if 2, $pop221 # 2: down to label0 # BB#19: # %if.end114 # in Loop: Header=BB24_1 Depth=1 - i32.const $push445=, 16 - i32.add $push446=, $0, $pop445 - copy_local $2=, $pop446 + i32.const $push412=, 16 + i32.add $push413=, $0, $pop412 + copy_local $6=, $pop413 #APP #NO_APP i32.load $push35=, 24($0) - i32.load $push37=, 0($5) - i32.const $push517=, 3 - i32.div_u $push209=, $pop37, $pop517 - i32.ne $push210=, $pop35, $pop209 - br_if 2, $pop210 # 2: down to label0 + i32.load $push37=, 0($4) + i32.const $push484=, 3 + i32.div_u $push222=, $pop37, $pop484 + i32.ne $push223=, $pop35, $pop222 + br_if 2, $pop223 # 2: down to label0 # BB#20: # %lor.lhs.false120 # in Loop: Header=BB24_1 Depth=1 i32.load $push34=, 20($0) - i32.load $push36=, 0($6) - i32.const $push518=, 3 - i32.div_u $push211=, $pop36, $pop518 - i32.ne $push212=, $pop34, $pop211 - br_if 2, $pop212 # 2: down to label0 + i32.load $push36=, 0($5) + i32.const $push485=, 3 + i32.div_u $push224=, $pop36, $pop485 + i32.ne $push225=, $pop34, $pop224 + br_if 2, $pop225 # 2: down to label0 # BB#21: # %if.end127 # in Loop: Header=BB24_1 Depth=1 - i32.const $push447=, 16 - i32.add $push448=, $0, $pop447 - copy_local $2=, $pop448 + i32.const $push414=, 16 + i32.add $push415=, $0, $pop414 + copy_local $6=, $pop415 #APP #NO_APP - i32.const $push449=, 16 - i32.add $push450=, $0, $pop449 - call ur3333@FUNCTION, $pop450, $1 + i32.const $push416=, 16 + i32.add $push417=, $0, $pop416 + call ur3333@FUNCTION, $pop417, $1 i32.load $push38=, 16($0) i32.load $push40=, 0($1) - i32.const $push519=, 3 - i32.rem_u $push213=, $pop40, $pop519 - i32.ne $push214=, $pop38, $pop213 - br_if 2, $pop214 # 2: down to label0 + i32.const $push486=, 3 + i32.rem_u $push226=, $pop40, $pop486 + i32.ne $push227=, $pop38, $pop226 + br_if 2, $pop227 # 2: down to label0 # BB#22: # %lor.lhs.false134 # in Loop: Header=BB24_1 Depth=1 i32.load $push39=, 28($0) - i32.load $push41=, 0($4) - i32.const $push520=, 3 - i32.rem_u $push215=, $pop41, $pop520 - i32.ne $push216=, $pop39, $pop215 - br_if 2, $pop216 # 2: down to label0 + i32.load $push41=, 0($3) + i32.const $push487=, 3 + i32.rem_u $push228=, $pop41, $pop487 + i32.ne $push229=, $pop39, $pop228 + br_if 2, $pop229 # 2: down to label0 # BB#23: # %if.end141 # in Loop: Header=BB24_1 Depth=1 - i32.const $push451=, 16 - i32.add $push452=, $0, $pop451 - copy_local $2=, $pop452 + i32.const $push418=, 16 + i32.add $push419=, $0, $pop418 + copy_local $6=, $pop419 #APP #NO_APP i32.load $push43=, 24($0) - i32.load $push45=, 0($5) - i32.const $push521=, 3 - i32.rem_u $push217=, $pop45, $pop521 - i32.ne $push218=, $pop43, $pop217 - br_if 2, $pop218 # 2: down to label0 + i32.load $push45=, 0($4) + i32.const $push488=, 3 + i32.rem_u $push230=, $pop45, $pop488 + i32.ne $push231=, $pop43, $pop230 + br_if 2, $pop231 # 2: down to label0 # BB#24: # %lor.lhs.false147 # in Loop: Header=BB24_1 Depth=1 i32.load $push42=, 20($0) - i32.load $push44=, 0($6) - i32.const $push522=, 3 - i32.rem_u $push219=, $pop44, $pop522 - i32.ne $push220=, $pop42, $pop219 - br_if 2, $pop220 # 2: down to label0 + i32.load $push44=, 0($5) + i32.const $push489=, 3 + i32.rem_u $push232=, $pop44, $pop489 + i32.ne $push233=, $pop42, $pop232 + br_if 2, $pop233 # 2: down to label0 # BB#25: # %if.end154 # in Loop: Header=BB24_1 Depth=1 - i32.const $push453=, 16 - i32.add $push454=, $0, $pop453 - copy_local $2=, $pop454 + i32.const $push420=, 16 + i32.add $push421=, $0, $pop420 + copy_local $6=, $pop421 #APP #NO_APP - i32.const $push455=, 16 - i32.add $push456=, $0, $pop455 - call uq6565@FUNCTION, $pop456, $1 + i32.const $push422=, 16 + i32.add $push423=, $0, $pop422 + call uq6565@FUNCTION, $pop423, $1 i32.load $push46=, 16($0) i32.load $push48=, 0($1) - i32.const $push523=, 6 - i32.div_u $push221=, $pop48, $pop523 - i32.ne $push222=, $pop46, $pop221 - br_if 2, $pop222 # 2: down to label0 + i32.const $push490=, 6 + i32.div_u $push234=, $pop48, $pop490 + i32.ne $push235=, $pop46, $pop234 + br_if 2, $pop235 # 2: down to label0 # BB#26: # %lor.lhs.false161 # in Loop: Header=BB24_1 Depth=1 i32.load $push47=, 28($0) - i32.load $push49=, 0($4) - i32.const $push524=, 5 - i32.div_u $push223=, $pop49, $pop524 - i32.ne $push224=, $pop47, $pop223 - br_if 2, $pop224 # 2: down to label0 + i32.load $push49=, 0($3) + i32.const $push491=, 5 + i32.div_u $push236=, $pop49, $pop491 + i32.ne $push237=, $pop47, $pop236 + br_if 2, $pop237 # 2: down to label0 # BB#27: # %if.end168 # in Loop: Header=BB24_1 Depth=1 - i32.const $push457=, 16 - i32.add $push458=, $0, $pop457 - copy_local $2=, $pop458 + i32.const $push424=, 16 + i32.add $push425=, $0, $pop424 + copy_local $6=, $pop425 #APP #NO_APP i32.load $push51=, 24($0) - i32.load $push53=, 0($5) - i32.const $push525=, 6 - i32.div_u $push225=, $pop53, $pop525 - i32.ne $push226=, $pop51, $pop225 - br_if 2, $pop226 # 2: down to label0 + i32.load $push53=, 0($4) + i32.const $push492=, 6 + i32.div_u $push238=, $pop53, $pop492 + i32.ne $push239=, $pop51, $pop238 + br_if 2, $pop239 # 2: down to label0 # BB#28: # %lor.lhs.false174 # in Loop: Header=BB24_1 Depth=1 i32.load $push50=, 20($0) - i32.load $push52=, 0($6) - i32.const $push526=, 5 - i32.div_u $push227=, $pop52, $pop526 - i32.ne $push228=, $pop50, $pop227 - br_if 2, $pop228 # 2: down to label0 + i32.load $push52=, 0($5) + i32.const $push493=, 5 + i32.div_u $push240=, $pop52, $pop493 + i32.ne $push241=, $pop50, $pop240 + br_if 2, $pop241 # 2: down to label0 # BB#29: # %if.end181 # in Loop: Header=BB24_1 Depth=1 - i32.const $push459=, 16 - i32.add $push460=, $0, $pop459 - copy_local $2=, $pop460 + i32.const $push426=, 16 + i32.add $push427=, $0, $pop426 + copy_local $6=, $pop427 #APP #NO_APP - i32.const $push461=, 16 - i32.add $push462=, $0, $pop461 - call ur6565@FUNCTION, $pop462, $1 + i32.const $push428=, 16 + i32.add $push429=, $0, $pop428 + call ur6565@FUNCTION, $pop429, $1 i32.load $push54=, 16($0) i32.load $push56=, 0($1) - i32.const $push527=, 6 - i32.rem_u $push229=, $pop56, $pop527 - i32.ne $push230=, $pop54, $pop229 - br_if 2, $pop230 # 2: down to label0 + i32.const $push494=, 6 + i32.rem_u $push242=, $pop56, $pop494 + i32.ne $push243=, $pop54, $pop242 + br_if 2, $pop243 # 2: down to label0 # BB#30: # %lor.lhs.false188 # in Loop: Header=BB24_1 Depth=1 i32.load $push55=, 28($0) - i32.load $push57=, 0($4) - i32.const $push528=, 5 - i32.rem_u $push231=, $pop57, $pop528 - i32.ne $push232=, $pop55, $pop231 - br_if 2, $pop232 # 2: down to label0 + i32.load $push57=, 0($3) + i32.const $push495=, 5 + i32.rem_u $push244=, $pop57, $pop495 + i32.ne $push245=, $pop55, $pop244 + br_if 2, $pop245 # 2: down to label0 # BB#31: # %if.end195 # in Loop: Header=BB24_1 Depth=1 - i32.const $push463=, 16 - i32.add $push464=, $0, $pop463 - copy_local $2=, $pop464 + i32.const $push430=, 16 + i32.add $push431=, $0, $pop430 + copy_local $6=, $pop431 #APP #NO_APP i32.load $push59=, 24($0) - i32.load $push61=, 0($5) - i32.const $push529=, 6 - i32.rem_u $push233=, $pop61, $pop529 - i32.ne $push234=, $pop59, $pop233 - br_if 2, $pop234 # 2: down to label0 + i32.load $push61=, 0($4) + i32.const $push496=, 6 + i32.rem_u $push246=, $pop61, $pop496 + i32.ne $push247=, $pop59, $pop246 + br_if 2, $pop247 # 2: down to label0 # BB#32: # %lor.lhs.false201 # in Loop: Header=BB24_1 Depth=1 i32.load $push58=, 20($0) - i32.load $push60=, 0($6) - i32.const $push530=, 5 - i32.rem_u $push235=, $pop60, $pop530 - i32.ne $push236=, $pop58, $pop235 - br_if 2, $pop236 # 2: down to label0 + i32.load $push60=, 0($5) + i32.const $push497=, 5 + i32.rem_u $push248=, $pop60, $pop497 + i32.ne $push249=, $pop58, $pop248 + br_if 2, $pop249 # 2: down to label0 # BB#33: # %if.end208 # in Loop: Header=BB24_1 Depth=1 - i32.const $push465=, 16 - i32.add $push466=, $0, $pop465 - copy_local $2=, $pop466 + i32.const $push432=, 16 + i32.add $push433=, $0, $pop432 + copy_local $6=, $pop433 #APP #NO_APP - i32.const $push467=, 16 - i32.add $push468=, $0, $pop467 - call uq1414146@FUNCTION, $pop468, $1 + i32.const $push434=, 16 + i32.add $push435=, $0, $pop434 + call uq1414146@FUNCTION, $pop435, $1 i32.load $push62=, 16($0) i32.load $push64=, 0($1) - i32.const $push531=, 14 - i32.div_u $push237=, $pop64, $pop531 - i32.ne $push238=, $pop62, $pop237 - br_if 2, $pop238 # 2: down to label0 + i32.const $push498=, 14 + i32.div_u $push250=, $pop64, $pop498 + i32.ne $push251=, $pop62, $pop250 + br_if 2, $pop251 # 2: down to label0 # BB#34: # %lor.lhs.false215 # in Loop: Header=BB24_1 Depth=1 i32.load $push63=, 28($0) - i32.load $push65=, 0($4) - i32.const $push532=, 6 - i32.div_u $push239=, $pop65, $pop532 - i32.ne $push240=, $pop63, $pop239 - br_if 2, $pop240 # 2: down to label0 + i32.load $push65=, 0($3) + i32.const $push499=, 6 + i32.div_u $push252=, $pop65, $pop499 + i32.ne $push253=, $pop63, $pop252 + br_if 2, $pop253 # 2: down to label0 # BB#35: # %if.end222 # in Loop: Header=BB24_1 Depth=1 - i32.const $push469=, 16 - i32.add $push470=, $0, $pop469 - copy_local $2=, $pop470 + i32.const $push436=, 16 + i32.add $push437=, $0, $pop436 + copy_local $6=, $pop437 #APP #NO_APP i32.load $push67=, 24($0) - i32.load $push69=, 0($5) - i32.const $push533=, 14 - i32.div_u $push241=, $pop69, $pop533 - i32.ne $push242=, $pop67, $pop241 - br_if 2, $pop242 # 2: down to label0 + i32.load $push69=, 0($4) + i32.const $push500=, 14 + i32.div_u $push254=, $pop69, $pop500 + i32.ne $push255=, $pop67, $pop254 + br_if 2, $pop255 # 2: down to label0 # BB#36: # %lor.lhs.false228 # in Loop: Header=BB24_1 Depth=1 i32.load $push66=, 20($0) - i32.load $push68=, 0($6) - i32.const $push534=, 14 - i32.div_u $push243=, $pop68, $pop534 - i32.ne $push244=, $pop66, $pop243 - br_if 2, $pop244 # 2: down to label0 + i32.load $push68=, 0($5) + i32.const $push501=, 14 + i32.div_u $push256=, $pop68, $pop501 + i32.ne $push257=, $pop66, $pop256 + br_if 2, $pop257 # 2: down to label0 # BB#37: # %if.end235 # in Loop: Header=BB24_1 Depth=1 - i32.const $push471=, 16 - i32.add $push472=, $0, $pop471 - copy_local $2=, $pop472 + i32.const $push438=, 16 + i32.add $push439=, $0, $pop438 + copy_local $6=, $pop439 #APP #NO_APP - i32.const $push473=, 16 - i32.add $push474=, $0, $pop473 - call ur1414146@FUNCTION, $pop474, $1 + i32.const $push440=, 16 + i32.add $push441=, $0, $pop440 + call ur1414146@FUNCTION, $pop441, $1 i32.load $push70=, 16($0) i32.load $push72=, 0($1) - i32.const $push535=, 14 - i32.rem_u $push245=, $pop72, $pop535 - i32.ne $push246=, $pop70, $pop245 - br_if 2, $pop246 # 2: down to label0 + i32.const $push502=, 14 + i32.rem_u $push258=, $pop72, $pop502 + i32.ne $push259=, $pop70, $pop258 + br_if 2, $pop259 # 2: down to label0 # BB#38: # %lor.lhs.false242 # in Loop: Header=BB24_1 Depth=1 i32.load $push71=, 28($0) - i32.load $push73=, 0($4) - i32.const $push536=, 6 - i32.rem_u $push247=, $pop73, $pop536 - i32.ne $push248=, $pop71, $pop247 - br_if 2, $pop248 # 2: down to label0 + i32.load $push73=, 0($3) + i32.const $push503=, 6 + i32.rem_u $push260=, $pop73, $pop503 + i32.ne $push261=, $pop71, $pop260 + br_if 2, $pop261 # 2: down to label0 # BB#39: # %if.end249 # in Loop: Header=BB24_1 Depth=1 - i32.const $push475=, 16 - i32.add $push476=, $0, $pop475 - copy_local $2=, $pop476 + i32.const $push442=, 16 + i32.add $push443=, $0, $pop442 + copy_local $6=, $pop443 #APP #NO_APP i32.load $push75=, 24($0) - i32.load $push77=, 0($5) - i32.const $push537=, 14 - i32.rem_u $push249=, $pop77, $pop537 - i32.ne $push250=, $pop75, $pop249 - br_if 2, $pop250 # 2: down to label0 + i32.load $push77=, 0($4) + i32.const $push504=, 14 + i32.rem_u $push262=, $pop77, $pop504 + i32.ne $push263=, $pop75, $pop262 + br_if 2, $pop263 # 2: down to label0 # BB#40: # %lor.lhs.false255 # in Loop: Header=BB24_1 Depth=1 i32.load $push74=, 20($0) - i32.load $push76=, 0($6) - i32.const $push538=, 14 - i32.rem_u $push251=, $pop76, $pop538 - i32.ne $push252=, $pop74, $pop251 - br_if 2, $pop252 # 2: down to label0 + i32.load $push76=, 0($5) + i32.const $push505=, 14 + i32.rem_u $push264=, $pop76, $pop505 + i32.ne $push265=, $pop74, $pop264 + br_if 2, $pop265 # 2: down to label0 # BB#41: # %if.end262 # in Loop: Header=BB24_1 Depth=1 - i32.const $push477=, 16 - i32.add $push478=, $0, $pop477 - copy_local $2=, $pop478 + i32.const $push444=, 16 + i32.add $push445=, $0, $pop444 + copy_local $6=, $pop445 #APP #NO_APP - i32.const $push479=, 16 - i32.add $push480=, $0, $pop479 - call uq7777@FUNCTION, $pop480, $1 + i32.const $push446=, 16 + i32.add $push447=, $0, $pop446 + call uq7777@FUNCTION, $pop447, $1 i32.load $push78=, 16($0) i32.load $push80=, 0($1) - i32.const $push539=, 7 - i32.div_u $push253=, $pop80, $pop539 - i32.ne $push254=, $pop78, $pop253 - br_if 2, $pop254 # 2: down to label0 + i32.const $push506=, 7 + i32.div_u $push266=, $pop80, $pop506 + i32.ne $push267=, $pop78, $pop266 + br_if 2, $pop267 # 2: down to label0 # BB#42: # %lor.lhs.false269 # in Loop: Header=BB24_1 Depth=1 i32.load $push79=, 28($0) - i32.load $push81=, 0($4) - i32.const $push540=, 7 - i32.div_u $push255=, $pop81, $pop540 - i32.ne $push256=, $pop79, $pop255 - br_if 2, $pop256 # 2: down to label0 + i32.load $push81=, 0($3) + i32.const $push507=, 7 + i32.div_u $push268=, $pop81, $pop507 + i32.ne $push269=, $pop79, $pop268 + br_if 2, $pop269 # 2: down to label0 # BB#43: # %if.end276 # in Loop: Header=BB24_1 Depth=1 - i32.const $push481=, 16 - i32.add $push482=, $0, $pop481 - copy_local $2=, $pop482 + i32.const $push448=, 16 + i32.add $push449=, $0, $pop448 + copy_local $6=, $pop449 #APP #NO_APP i32.load $push83=, 24($0) - i32.load $push85=, 0($5) - i32.const $push541=, 7 - i32.div_u $push257=, $pop85, $pop541 - i32.ne $push258=, $pop83, $pop257 - br_if 2, $pop258 # 2: down to label0 + i32.load $push85=, 0($4) + i32.const $push508=, 7 + i32.div_u $push270=, $pop85, $pop508 + i32.ne $push271=, $pop83, $pop270 + br_if 2, $pop271 # 2: down to label0 # BB#44: # %lor.lhs.false282 # in Loop: Header=BB24_1 Depth=1 i32.load $push82=, 20($0) - i32.load $push84=, 0($6) - i32.const $push542=, 7 - i32.div_u $push259=, $pop84, $pop542 - i32.ne $push260=, $pop82, $pop259 - br_if 2, $pop260 # 2: down to label0 + i32.load $push84=, 0($5) + i32.const $push509=, 7 + i32.div_u $push272=, $pop84, $pop509 + i32.ne $push273=, $pop82, $pop272 + br_if 2, $pop273 # 2: down to label0 # BB#45: # %if.end289 # in Loop: Header=BB24_1 Depth=1 - i32.const $push483=, 16 - i32.add $push484=, $0, $pop483 - copy_local $2=, $pop484 + i32.const $push450=, 16 + i32.add $push451=, $0, $pop450 + copy_local $6=, $pop451 #APP #NO_APP - i32.const $push485=, 16 - i32.add $push486=, $0, $pop485 - call ur7777@FUNCTION, $pop486, $1 + i32.const $push452=, 16 + i32.add $push453=, $0, $pop452 + call ur7777@FUNCTION, $pop453, $1 i32.load $push86=, 16($0) i32.load $push88=, 0($1) - i32.const $push543=, 7 - i32.rem_u $push261=, $pop88, $pop543 - i32.ne $push262=, $pop86, $pop261 - br_if 2, $pop262 # 2: down to label0 + i32.const $push510=, 7 + i32.rem_u $push274=, $pop88, $pop510 + i32.ne $push275=, $pop86, $pop274 + br_if 2, $pop275 # 2: down to label0 # BB#46: # %lor.lhs.false296 # in Loop: Header=BB24_1 Depth=1 i32.load $push87=, 28($0) - i32.load $push89=, 0($4) - i32.const $push544=, 7 - i32.rem_u $push263=, $pop89, $pop544 - i32.ne $push264=, $pop87, $pop263 - br_if 2, $pop264 # 2: down to label0 + i32.load $push89=, 0($3) + i32.const $push511=, 7 + i32.rem_u $push276=, $pop89, $pop511 + i32.ne $push277=, $pop87, $pop276 + br_if 2, $pop277 # 2: down to label0 # BB#47: # %if.end303 # in Loop: Header=BB24_1 Depth=1 - i32.const $push487=, 16 - i32.add $push488=, $0, $pop487 - copy_local $4=, $pop488 + i32.const $push454=, 16 + i32.add $push455=, $0, $pop454 + copy_local $3=, $pop455 #APP #NO_APP i32.load $push91=, 24($0) - i32.load $push93=, 0($5) - i32.const $push545=, 7 - i32.rem_u $push265=, $pop93, $pop545 - i32.ne $push266=, $pop91, $pop265 - br_if 2, $pop266 # 2: down to label0 + i32.load $push93=, 0($4) + i32.const $push512=, 7 + i32.rem_u $push278=, $pop93, $pop512 + i32.ne $push279=, $pop91, $pop278 + br_if 2, $pop279 # 2: down to label0 # BB#48: # %lor.lhs.false309 # in Loop: Header=BB24_1 Depth=1 i32.load $push90=, 20($0) - i32.load $push92=, 0($6) - i32.const $push546=, 7 - i32.rem_u $push267=, $pop92, $pop546 - i32.ne $push268=, $pop90, $pop267 - br_if 2, $pop268 # 2: down to label0 + i32.load $push92=, 0($5) + i32.const $push513=, 7 + i32.rem_u $push280=, $pop92, $pop513 + i32.ne $push281=, $pop90, $pop280 + br_if 2, $pop281 # 2: down to label0 # BB#49: # %if.end316 # in Loop: Header=BB24_1 Depth=1 - i32.const $push489=, 16 - i32.add $push490=, $0, $pop489 - copy_local $4=, $pop490 + i32.const $push456=, 16 + i32.add $push457=, $0, $pop456 + copy_local $3=, $pop457 #APP #NO_APP - i32.const $push549=, 1 - i32.add $3=, $3, $pop549 - i32.const $push548=, 16 - i32.add $1=, $1, $pop548 - i32.const $push547=, 2 - i32.lt_u $push269=, $3, $pop547 - br_if 0, $pop269 # 0: up to label1 + i32.const $push518=, 16 + i32.add $1=, $1, $pop518 + i32.const $push517=, 1 + i32.add $push516=, $2, $pop517 + tee_local $push515=, $2=, $pop516 + i32.const $push514=, 2 + i32.lt_u $push282=, $pop515, $pop514 + br_if 0, $pop282 # 0: up to label1 # BB#50: # %for.body319.preheader end_loop # label2: i32.const $2=, 0 @@ -1627,564 +1533,492 @@ main: # @main # =>This Inner Loop Header: Depth=1 loop # label3: call sq4444@FUNCTION, $0, $1 - i32.load $4=, 0($1) i32.load $push94=, 0($0) - i32.const $push552=, 31 - i32.shr_s $push270=, $4, $pop552 - i32.const $push551=, 30 - i32.shr_u $push271=, $pop270, $pop551 - i32.add $push272=, $4, $pop271 - i32.const $push550=, 2 - i32.shr_s $push273=, $pop272, $pop550 - i32.ne $push274=, $pop94, $pop273 - br_if 2, $pop274 # 2: down to label0 + i32.load $push96=, 0($1) + i32.const $push519=, 4 + i32.div_s $push283=, $pop96, $pop519 + i32.ne $push284=, $pop94, $pop283 + br_if 2, $pop284 # 2: down to label0 # BB#52: # %lor.lhs.false326 # in Loop: Header=BB24_51 Depth=1 - i32.const $push558=, 12 - i32.add $push557=, $1, $pop558 - tee_local $push556=, $4=, $pop557 - i32.load $5=, 0($pop556) i32.load $push95=, 12($0) - i32.const $push555=, 31 - i32.shr_s $push275=, $5, $pop555 - i32.const $push554=, 30 - i32.shr_u $push276=, $pop275, $pop554 - i32.add $push277=, $5, $pop276 - i32.const $push553=, 2 - i32.shr_s $push278=, $pop277, $pop553 - i32.ne $push279=, $pop95, $pop278 - br_if 2, $pop279 # 2: down to label0 + i32.const $push523=, 12 + i32.add $push522=, $1, $pop523 + tee_local $push521=, $3=, $pop522 + i32.load $push97=, 0($pop521) + i32.const $push520=, 4 + i32.div_s $push285=, $pop97, $pop520 + i32.ne $push286=, $pop95, $pop285 + br_if 2, $pop286 # 2: down to label0 # BB#53: # %if.end333 # in Loop: Header=BB24_51 Depth=1 - copy_local $5=, $0 + copy_local $4=, $0 #APP #NO_APP - i32.const $push564=, 8 - i32.add $push563=, $1, $pop564 - tee_local $push562=, $5=, $pop563 - i32.load $6=, 0($pop562) - i32.load $push97=, 8($0) - i32.const $push561=, 31 - i32.shr_s $push280=, $6, $pop561 - i32.const $push560=, 30 - i32.shr_u $push281=, $pop280, $pop560 - i32.add $push282=, $6, $pop281 - i32.const $push559=, 2 - i32.shr_s $push283=, $pop282, $pop559 - i32.ne $push284=, $pop97, $pop283 - br_if 2, $pop284 # 2: down to label0 + i32.load $push99=, 8($0) + i32.const $push527=, 8 + i32.add $push526=, $1, $pop527 + tee_local $push525=, $4=, $pop526 + i32.load $push101=, 0($pop525) + i32.const $push524=, 4 + i32.div_s $push287=, $pop101, $pop524 + i32.ne $push288=, $pop99, $pop287 + br_if 2, $pop288 # 2: down to label0 # BB#54: # %lor.lhs.false339 # in Loop: Header=BB24_51 Depth=1 - i32.const $push570=, 4 - i32.add $push569=, $1, $pop570 - tee_local $push568=, $6=, $pop569 - i32.load $3=, 0($pop568) - i32.load $push96=, 4($0) - i32.const $push567=, 31 - i32.shr_s $push285=, $3, $pop567 - i32.const $push566=, 30 - i32.shr_u $push286=, $pop285, $pop566 - i32.add $push287=, $3, $pop286 - i32.const $push565=, 2 - i32.shr_s $push288=, $pop287, $pop565 - i32.ne $push289=, $pop96, $pop288 - br_if 2, $pop289 # 2: down to label0 + i32.load $push98=, 4($0) + i32.const $push531=, 4 + i32.add $push530=, $1, $pop531 + tee_local $push529=, $5=, $pop530 + i32.load $push100=, 0($pop529) + i32.const $push528=, 4 + i32.div_s $push289=, $pop100, $pop528 + i32.ne $push290=, $pop98, $pop289 + br_if 2, $pop290 # 2: down to label0 # BB#55: # %if.end346 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sr4444@FUNCTION, $0, $1 - i32.load $3=, 0($1) - i32.load $push98=, 0($0) - i32.const $push573=, 31 - i32.shr_s $push290=, $3, $pop573 - i32.const $push572=, 30 - i32.shr_u $push291=, $pop290, $pop572 - i32.add $push292=, $3, $pop291 - i32.const $push571=, -4 - i32.and $push293=, $pop292, $pop571 - i32.sub $push294=, $3, $pop293 - i32.ne $push295=, $pop98, $pop294 - br_if 2, $pop295 # 2: down to label0 + i32.load $push102=, 0($0) + i32.load $push104=, 0($1) + i32.const $push532=, 4 + i32.rem_s $push291=, $pop104, $pop532 + i32.ne $push292=, $pop102, $pop291 + br_if 2, $pop292 # 2: down to label0 # BB#56: # %lor.lhs.false353 # in Loop: Header=BB24_51 Depth=1 - i32.load $3=, 0($4) - i32.load $push99=, 12($0) - i32.const $push576=, 31 - i32.shr_s $push296=, $3, $pop576 - i32.const $push575=, 30 - i32.shr_u $push297=, $pop296, $pop575 - i32.add $push298=, $3, $pop297 - i32.const $push574=, -4 - i32.and $push299=, $pop298, $pop574 - i32.sub $push300=, $3, $pop299 - i32.ne $push301=, $pop99, $pop300 - br_if 2, $pop301 # 2: down to label0 + i32.load $push103=, 12($0) + i32.load $push105=, 0($3) + i32.const $push533=, 4 + i32.rem_s $push293=, $pop105, $pop533 + i32.ne $push294=, $pop103, $pop293 + br_if 2, $pop294 # 2: down to label0 # BB#57: # %if.end360 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $3=, 0($5) - i32.load $push101=, 8($0) - i32.const $push579=, 31 - i32.shr_s $push302=, $3, $pop579 - i32.const $push578=, 30 - i32.shr_u $push303=, $pop302, $pop578 - i32.add $push304=, $3, $pop303 - i32.const $push577=, -4 - i32.and $push305=, $pop304, $pop577 - i32.sub $push306=, $3, $pop305 - i32.ne $push307=, $pop101, $pop306 - br_if 2, $pop307 # 2: down to label0 + i32.load $push107=, 8($0) + i32.load $push109=, 0($4) + i32.const $push534=, 4 + i32.rem_s $push295=, $pop109, $pop534 + i32.ne $push296=, $pop107, $pop295 + br_if 2, $pop296 # 2: down to label0 # BB#58: # %lor.lhs.false366 # in Loop: Header=BB24_51 Depth=1 - i32.load $3=, 0($6) - i32.load $push100=, 4($0) - i32.const $push582=, 31 - i32.shr_s $push308=, $3, $pop582 - i32.const $push581=, 30 - i32.shr_u $push309=, $pop308, $pop581 - i32.add $push310=, $3, $pop309 - i32.const $push580=, -4 - i32.and $push311=, $pop310, $pop580 - i32.sub $push312=, $3, $pop311 - i32.ne $push313=, $pop100, $pop312 - br_if 2, $pop313 # 2: down to label0 + i32.load $push106=, 4($0) + i32.load $push108=, 0($5) + i32.const $push535=, 4 + i32.rem_s $push297=, $pop108, $pop535 + i32.ne $push298=, $pop106, $pop297 + br_if 2, $pop298 # 2: down to label0 # BB#59: # %if.end373 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sq1428@FUNCTION, $0, $1 - i32.load $push102=, 0($0) - i32.load $push104=, 0($1) - i32.ne $push314=, $pop102, $pop104 - br_if 2, $pop314 # 2: down to label0 + i32.load $push110=, 0($0) + i32.load $push112=, 0($1) + i32.ne $push299=, $pop110, $pop112 + br_if 2, $pop299 # 2: down to label0 # BB#60: # %lor.lhs.false380 # in Loop: Header=BB24_51 Depth=1 - i32.load $3=, 0($4) - i32.load $push103=, 12($0) - i32.const $push585=, 31 - i32.shr_s $push315=, $3, $pop585 - i32.const $push584=, 29 - i32.shr_u $push316=, $pop315, $pop584 - i32.add $push317=, $3, $pop316 - i32.const $push583=, 3 - i32.shr_s $push318=, $pop317, $pop583 - i32.ne $push319=, $pop103, $pop318 - br_if 2, $pop319 # 2: down to label0 + i32.load $push111=, 12($0) + i32.load $push113=, 0($3) + i32.const $push536=, 8 + i32.div_s $push300=, $pop113, $pop536 + i32.ne $push301=, $pop111, $pop300 + br_if 2, $pop301 # 2: down to label0 # BB#61: # %if.end387 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $3=, 0($5) - i32.load $push106=, 8($0) - i32.const $push587=, 31 - i32.shr_u $push320=, $3, $pop587 - i32.add $push321=, $3, $pop320 - i32.const $push586=, 1 - i32.shr_s $push322=, $pop321, $pop586 - i32.ne $push323=, $pop106, $pop322 - br_if 2, $pop323 # 2: down to label0 + i32.load $push115=, 8($0) + i32.load $push117=, 0($4) + i32.const $push537=, 2 + i32.div_s $push302=, $pop117, $pop537 + i32.ne $push303=, $pop115, $pop302 + br_if 2, $pop303 # 2: down to label0 # BB#62: # %lor.lhs.false393 # in Loop: Header=BB24_51 Depth=1 - i32.load $3=, 0($6) - i32.load $push105=, 4($0) - i32.const $push590=, 31 - i32.shr_s $push324=, $3, $pop590 - i32.const $push589=, 30 - i32.shr_u $push325=, $pop324, $pop589 - i32.add $push326=, $3, $pop325 - i32.const $push588=, 2 - i32.shr_s $push327=, $pop326, $pop588 - i32.ne $push328=, $pop105, $pop327 - br_if 2, $pop328 # 2: down to label0 + i32.load $push114=, 4($0) + i32.load $push116=, 0($5) + i32.const $push538=, 4 + i32.div_s $push304=, $pop116, $pop538 + i32.ne $push305=, $pop114, $pop304 + br_if 2, $pop305 # 2: down to label0 # BB#63: # %if.end400 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sr1428@FUNCTION, $0, $1 - i32.load $push107=, 0($0) - br_if 2, $pop107 # 2: down to label0 + i32.load $push118=, 0($0) + br_if 2, $pop118 # 2: down to label0 # BB#64: # %lor.lhs.false407 # in Loop: Header=BB24_51 Depth=1 - i32.load $3=, 0($4) - i32.load $push108=, 12($0) - i32.const $push593=, 31 - i32.shr_s $push329=, $3, $pop593 - i32.const $push592=, 29 - i32.shr_u $push330=, $pop329, $pop592 - i32.add $push331=, $3, $pop330 - i32.const $push591=, -8 - i32.and $push332=, $pop331, $pop591 - i32.sub $push333=, $3, $pop332 - i32.ne $push334=, $pop108, $pop333 - br_if 2, $pop334 # 2: down to label0 + i32.load $push119=, 12($0) + i32.load $push306=, 0($3) + i32.const $push539=, 8 + i32.rem_s $push307=, $pop306, $pop539 + i32.ne $push308=, $pop119, $pop307 + br_if 2, $pop308 # 2: down to label0 # BB#65: # %if.end414 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $3=, 0($5) - i32.load $push110=, 8($0) - i32.const $push595=, 31 - i32.shr_u $push335=, $3, $pop595 - i32.add $push336=, $3, $pop335 - i32.const $push594=, -2 - i32.and $push337=, $pop336, $pop594 - i32.sub $push338=, $3, $pop337 - i32.ne $push339=, $pop110, $pop338 - br_if 2, $pop339 # 2: down to label0 + i32.load $push121=, 8($0) + i32.load $push123=, 0($4) + i32.const $push540=, 2 + i32.rem_s $push309=, $pop123, $pop540 + i32.ne $push310=, $pop121, $pop309 + br_if 2, $pop310 # 2: down to label0 # BB#66: # %lor.lhs.false420 # in Loop: Header=BB24_51 Depth=1 - i32.load $3=, 0($6) - i32.load $push109=, 4($0) - i32.const $push598=, 31 - i32.shr_s $push340=, $3, $pop598 - i32.const $push597=, 30 - i32.shr_u $push341=, $pop340, $pop597 - i32.add $push342=, $3, $pop341 - i32.const $push596=, -4 - i32.and $push343=, $pop342, $pop596 - i32.sub $push344=, $3, $pop343 - i32.ne $push345=, $pop109, $pop344 - br_if 2, $pop345 # 2: down to label0 + i32.load $push120=, 4($0) + i32.load $push122=, 0($5) + i32.const $push541=, 4 + i32.rem_s $push311=, $pop122, $pop541 + i32.ne $push312=, $pop120, $pop311 + br_if 2, $pop312 # 2: down to label0 # BB#67: # %if.end427 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sq3333@FUNCTION, $0, $1 - i32.load $push111=, 0($0) - i32.load $push113=, 0($1) - i32.const $push599=, 3 - i32.div_s $push346=, $pop113, $pop599 - i32.ne $push347=, $pop111, $pop346 - br_if 2, $pop347 # 2: down to label0 + i32.load $push124=, 0($0) + i32.load $push126=, 0($1) + i32.const $push542=, 3 + i32.div_s $push313=, $pop126, $pop542 + i32.ne $push314=, $pop124, $pop313 + br_if 2, $pop314 # 2: down to label0 # BB#68: # %lor.lhs.false434 # in Loop: Header=BB24_51 Depth=1 - i32.load $push112=, 12($0) - i32.load $push114=, 0($4) - i32.const $push600=, 3 - i32.div_s $push348=, $pop114, $pop600 - i32.ne $push349=, $pop112, $pop348 - br_if 2, $pop349 # 2: down to label0 + i32.load $push125=, 12($0) + i32.load $push127=, 0($3) + i32.const $push543=, 3 + i32.div_s $push315=, $pop127, $pop543 + i32.ne $push316=, $pop125, $pop315 + br_if 2, $pop316 # 2: down to label0 # BB#69: # %if.end441 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $push116=, 8($0) - i32.load $push118=, 0($5) - i32.const $push601=, 3 - i32.div_s $push350=, $pop118, $pop601 - i32.ne $push351=, $pop116, $pop350 - br_if 2, $pop351 # 2: down to label0 + i32.load $push129=, 8($0) + i32.load $push131=, 0($4) + i32.const $push544=, 3 + i32.div_s $push317=, $pop131, $pop544 + i32.ne $push318=, $pop129, $pop317 + br_if 2, $pop318 # 2: down to label0 # BB#70: # %lor.lhs.false447 # in Loop: Header=BB24_51 Depth=1 - i32.load $push115=, 4($0) - i32.load $push117=, 0($6) - i32.const $push602=, 3 - i32.div_s $push352=, $pop117, $pop602 - i32.ne $push353=, $pop115, $pop352 - br_if 2, $pop353 # 2: down to label0 + i32.load $push128=, 4($0) + i32.load $push130=, 0($5) + i32.const $push545=, 3 + i32.div_s $push319=, $pop130, $pop545 + i32.ne $push320=, $pop128, $pop319 + br_if 2, $pop320 # 2: down to label0 # BB#71: # %if.end454 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sr3333@FUNCTION, $0, $1 - i32.load $push119=, 0($0) - i32.load $push121=, 0($1) - i32.const $push603=, 3 - i32.rem_s $push354=, $pop121, $pop603 - i32.ne $push355=, $pop119, $pop354 - br_if 2, $pop355 # 2: down to label0 + i32.load $push132=, 0($0) + i32.load $push134=, 0($1) + i32.const $push546=, 3 + i32.rem_s $push321=, $pop134, $pop546 + i32.ne $push322=, $pop132, $pop321 + br_if 2, $pop322 # 2: down to label0 # BB#72: # %lor.lhs.false461 # in Loop: Header=BB24_51 Depth=1 - i32.load $push120=, 12($0) - i32.load $push122=, 0($4) - i32.const $push604=, 3 - i32.rem_s $push356=, $pop122, $pop604 - i32.ne $push357=, $pop120, $pop356 - br_if 2, $pop357 # 2: down to label0 + i32.load $push133=, 12($0) + i32.load $push135=, 0($3) + i32.const $push547=, 3 + i32.rem_s $push323=, $pop135, $pop547 + i32.ne $push324=, $pop133, $pop323 + br_if 2, $pop324 # 2: down to label0 # BB#73: # %if.end468 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $push124=, 8($0) - i32.load $push126=, 0($5) - i32.const $push605=, 3 - i32.rem_s $push358=, $pop126, $pop605 - i32.ne $push359=, $pop124, $pop358 - br_if 2, $pop359 # 2: down to label0 + i32.load $push137=, 8($0) + i32.load $push139=, 0($4) + i32.const $push548=, 3 + i32.rem_s $push325=, $pop139, $pop548 + i32.ne $push326=, $pop137, $pop325 + br_if 2, $pop326 # 2: down to label0 # BB#74: # %lor.lhs.false474 # in Loop: Header=BB24_51 Depth=1 - i32.load $push123=, 4($0) - i32.load $push125=, 0($6) - i32.const $push606=, 3 - i32.rem_s $push360=, $pop125, $pop606 - i32.ne $push361=, $pop123, $pop360 - br_if 2, $pop361 # 2: down to label0 + i32.load $push136=, 4($0) + i32.load $push138=, 0($5) + i32.const $push549=, 3 + i32.rem_s $push327=, $pop138, $pop549 + i32.ne $push328=, $pop136, $pop327 + br_if 2, $pop328 # 2: down to label0 # BB#75: # %if.end481 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sq6565@FUNCTION, $0, $1 - i32.load $push127=, 0($0) - i32.load $push129=, 0($1) - i32.const $push607=, 6 - i32.div_s $push362=, $pop129, $pop607 - i32.ne $push363=, $pop127, $pop362 - br_if 2, $pop363 # 2: down to label0 + i32.load $push140=, 0($0) + i32.load $push142=, 0($1) + i32.const $push550=, 6 + i32.div_s $push329=, $pop142, $pop550 + i32.ne $push330=, $pop140, $pop329 + br_if 2, $pop330 # 2: down to label0 # BB#76: # %lor.lhs.false488 # in Loop: Header=BB24_51 Depth=1 - i32.load $push128=, 12($0) - i32.load $push130=, 0($4) - i32.const $push608=, 5 - i32.div_s $push364=, $pop130, $pop608 - i32.ne $push365=, $pop128, $pop364 - br_if 2, $pop365 # 2: down to label0 + i32.load $push141=, 12($0) + i32.load $push143=, 0($3) + i32.const $push551=, 5 + i32.div_s $push331=, $pop143, $pop551 + i32.ne $push332=, $pop141, $pop331 + br_if 2, $pop332 # 2: down to label0 # BB#77: # %if.end495 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $push132=, 8($0) - i32.load $push134=, 0($5) - i32.const $push609=, 6 - i32.div_s $push366=, $pop134, $pop609 - i32.ne $push367=, $pop132, $pop366 - br_if 2, $pop367 # 2: down to label0 + i32.load $push145=, 8($0) + i32.load $push147=, 0($4) + i32.const $push552=, 6 + i32.div_s $push333=, $pop147, $pop552 + i32.ne $push334=, $pop145, $pop333 + br_if 2, $pop334 # 2: down to label0 # BB#78: # %lor.lhs.false501 # in Loop: Header=BB24_51 Depth=1 - i32.load $push131=, 4($0) - i32.load $push133=, 0($6) - i32.const $push610=, 5 - i32.div_s $push368=, $pop133, $pop610 - i32.ne $push369=, $pop131, $pop368 - br_if 2, $pop369 # 2: down to label0 + i32.load $push144=, 4($0) + i32.load $push146=, 0($5) + i32.const $push553=, 5 + i32.div_s $push335=, $pop146, $pop553 + i32.ne $push336=, $pop144, $pop335 + br_if 2, $pop336 # 2: down to label0 # BB#79: # %if.end508 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sr6565@FUNCTION, $0, $1 - i32.load $push135=, 0($0) - i32.load $push137=, 0($1) - i32.const $push611=, 6 - i32.rem_s $push370=, $pop137, $pop611 - i32.ne $push371=, $pop135, $pop370 - br_if 2, $pop371 # 2: down to label0 + i32.load $push148=, 0($0) + i32.load $push150=, 0($1) + i32.const $push554=, 6 + i32.rem_s $push337=, $pop150, $pop554 + i32.ne $push338=, $pop148, $pop337 + br_if 2, $pop338 # 2: down to label0 # BB#80: # %lor.lhs.false515 # in Loop: Header=BB24_51 Depth=1 - i32.load $push136=, 12($0) - i32.load $push138=, 0($4) - i32.const $push612=, 5 - i32.rem_s $push372=, $pop138, $pop612 - i32.ne $push373=, $pop136, $pop372 - br_if 2, $pop373 # 2: down to label0 + i32.load $push149=, 12($0) + i32.load $push151=, 0($3) + i32.const $push555=, 5 + i32.rem_s $push339=, $pop151, $pop555 + i32.ne $push340=, $pop149, $pop339 + br_if 2, $pop340 # 2: down to label0 # BB#81: # %if.end522 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $push140=, 8($0) - i32.load $push142=, 0($5) - i32.const $push613=, 6 - i32.rem_s $push374=, $pop142, $pop613 - i32.ne $push375=, $pop140, $pop374 - br_if 2, $pop375 # 2: down to label0 + i32.load $push153=, 8($0) + i32.load $push155=, 0($4) + i32.const $push556=, 6 + i32.rem_s $push341=, $pop155, $pop556 + i32.ne $push342=, $pop153, $pop341 + br_if 2, $pop342 # 2: down to label0 # BB#82: # %lor.lhs.false528 # in Loop: Header=BB24_51 Depth=1 - i32.load $push139=, 4($0) - i32.load $push141=, 0($6) - i32.const $push614=, 5 - i32.rem_s $push376=, $pop141, $pop614 - i32.ne $push377=, $pop139, $pop376 - br_if 2, $pop377 # 2: down to label0 + i32.load $push152=, 4($0) + i32.load $push154=, 0($5) + i32.const $push557=, 5 + i32.rem_s $push343=, $pop154, $pop557 + i32.ne $push344=, $pop152, $pop343 + br_if 2, $pop344 # 2: down to label0 # BB#83: # %if.end535 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sq1414146@FUNCTION, $0, $1 - i32.load $push143=, 0($0) - i32.load $push145=, 0($1) - i32.const $push615=, 14 - i32.div_s $push378=, $pop145, $pop615 - i32.ne $push379=, $pop143, $pop378 - br_if 2, $pop379 # 2: down to label0 + i32.load $push156=, 0($0) + i32.load $push158=, 0($1) + i32.const $push558=, 14 + i32.div_s $push345=, $pop158, $pop558 + i32.ne $push346=, $pop156, $pop345 + br_if 2, $pop346 # 2: down to label0 # BB#84: # %lor.lhs.false542 # in Loop: Header=BB24_51 Depth=1 - i32.load $push144=, 12($0) - i32.load $push146=, 0($4) - i32.const $push616=, 6 - i32.div_s $push380=, $pop146, $pop616 - i32.ne $push381=, $pop144, $pop380 - br_if 2, $pop381 # 2: down to label0 + i32.load $push157=, 12($0) + i32.load $push159=, 0($3) + i32.const $push559=, 6 + i32.div_s $push347=, $pop159, $pop559 + i32.ne $push348=, $pop157, $pop347 + br_if 2, $pop348 # 2: down to label0 # BB#85: # %if.end549 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $push148=, 8($0) - i32.load $push150=, 0($5) - i32.const $push617=, 14 - i32.div_s $push382=, $pop150, $pop617 - i32.ne $push383=, $pop148, $pop382 - br_if 2, $pop383 # 2: down to label0 + i32.load $push161=, 8($0) + i32.load $push163=, 0($4) + i32.const $push560=, 14 + i32.div_s $push349=, $pop163, $pop560 + i32.ne $push350=, $pop161, $pop349 + br_if 2, $pop350 # 2: down to label0 # BB#86: # %lor.lhs.false555 # in Loop: Header=BB24_51 Depth=1 - i32.load $push147=, 4($0) - i32.load $push149=, 0($6) - i32.const $push618=, 14 - i32.div_s $push384=, $pop149, $pop618 - i32.ne $push385=, $pop147, $pop384 - br_if 2, $pop385 # 2: down to label0 + i32.load $push160=, 4($0) + i32.load $push162=, 0($5) + i32.const $push561=, 14 + i32.div_s $push351=, $pop162, $pop561 + i32.ne $push352=, $pop160, $pop351 + br_if 2, $pop352 # 2: down to label0 # BB#87: # %if.end562 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sr1414146@FUNCTION, $0, $1 - i32.load $push151=, 0($0) - i32.load $push153=, 0($1) - i32.const $push619=, 14 - i32.rem_s $push386=, $pop153, $pop619 - i32.ne $push387=, $pop151, $pop386 - br_if 2, $pop387 # 2: down to label0 + i32.load $push164=, 0($0) + i32.load $push166=, 0($1) + i32.const $push562=, 14 + i32.rem_s $push353=, $pop166, $pop562 + i32.ne $push354=, $pop164, $pop353 + br_if 2, $pop354 # 2: down to label0 # BB#88: # %lor.lhs.false569 # in Loop: Header=BB24_51 Depth=1 - i32.load $push152=, 12($0) - i32.load $push154=, 0($4) - i32.const $push620=, 6 - i32.rem_s $push388=, $pop154, $pop620 - i32.ne $push389=, $pop152, $pop388 - br_if 2, $pop389 # 2: down to label0 + i32.load $push165=, 12($0) + i32.load $push167=, 0($3) + i32.const $push563=, 6 + i32.rem_s $push355=, $pop167, $pop563 + i32.ne $push356=, $pop165, $pop355 + br_if 2, $pop356 # 2: down to label0 # BB#89: # %if.end576 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $push156=, 8($0) - i32.load $push158=, 0($5) - i32.const $push621=, 14 - i32.rem_s $push390=, $pop158, $pop621 - i32.ne $push391=, $pop156, $pop390 - br_if 2, $pop391 # 2: down to label0 + i32.load $push169=, 8($0) + i32.load $push171=, 0($4) + i32.const $push564=, 14 + i32.rem_s $push357=, $pop171, $pop564 + i32.ne $push358=, $pop169, $pop357 + br_if 2, $pop358 # 2: down to label0 # BB#90: # %lor.lhs.false582 # in Loop: Header=BB24_51 Depth=1 - i32.load $push155=, 4($0) - i32.load $push157=, 0($6) - i32.const $push622=, 14 - i32.rem_s $push392=, $pop157, $pop622 - i32.ne $push393=, $pop155, $pop392 - br_if 2, $pop393 # 2: down to label0 + i32.load $push168=, 4($0) + i32.load $push170=, 0($5) + i32.const $push565=, 14 + i32.rem_s $push359=, $pop170, $pop565 + i32.ne $push360=, $pop168, $pop359 + br_if 2, $pop360 # 2: down to label0 # BB#91: # %if.end589 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sq7777@FUNCTION, $0, $1 - i32.load $push159=, 0($0) - i32.load $push161=, 0($1) - i32.const $push623=, 7 - i32.div_s $push394=, $pop161, $pop623 - i32.ne $push395=, $pop159, $pop394 - br_if 2, $pop395 # 2: down to label0 + i32.load $push172=, 0($0) + i32.load $push174=, 0($1) + i32.const $push566=, 7 + i32.div_s $push361=, $pop174, $pop566 + i32.ne $push362=, $pop172, $pop361 + br_if 2, $pop362 # 2: down to label0 # BB#92: # %lor.lhs.false596 # in Loop: Header=BB24_51 Depth=1 - i32.load $push160=, 12($0) - i32.load $push162=, 0($4) - i32.const $push624=, 7 - i32.div_s $push396=, $pop162, $pop624 - i32.ne $push397=, $pop160, $pop396 - br_if 2, $pop397 # 2: down to label0 + i32.load $push173=, 12($0) + i32.load $push175=, 0($3) + i32.const $push567=, 7 + i32.div_s $push363=, $pop175, $pop567 + i32.ne $push364=, $pop173, $pop363 + br_if 2, $pop364 # 2: down to label0 # BB#93: # %if.end603 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP - i32.load $push164=, 8($0) - i32.load $push166=, 0($5) - i32.const $push625=, 7 - i32.div_s $push398=, $pop166, $pop625 - i32.ne $push399=, $pop164, $pop398 - br_if 2, $pop399 # 2: down to label0 + i32.load $push177=, 8($0) + i32.load $push179=, 0($4) + i32.const $push568=, 7 + i32.div_s $push365=, $pop179, $pop568 + i32.ne $push366=, $pop177, $pop365 + br_if 2, $pop366 # 2: down to label0 # BB#94: # %lor.lhs.false609 # in Loop: Header=BB24_51 Depth=1 - i32.load $push163=, 4($0) - i32.load $push165=, 0($6) - i32.const $push626=, 7 - i32.div_s $push400=, $pop165, $pop626 - i32.ne $push401=, $pop163, $pop400 - br_if 2, $pop401 # 2: down to label0 + i32.load $push176=, 4($0) + i32.load $push178=, 0($5) + i32.const $push569=, 7 + i32.div_s $push367=, $pop178, $pop569 + i32.ne $push368=, $pop176, $pop367 + br_if 2, $pop368 # 2: down to label0 # BB#95: # %if.end616 # in Loop: Header=BB24_51 Depth=1 - copy_local $3=, $0 + copy_local $6=, $0 #APP #NO_APP call sr7777@FUNCTION, $0, $1 - i32.load $push167=, 0($0) - i32.load $push169=, 0($1) - i32.const $push627=, 7 - i32.rem_s $push402=, $pop169, $pop627 - i32.ne $push403=, $pop167, $pop402 - br_if 2, $pop403 # 2: down to label0 + i32.load $push180=, 0($0) + i32.load $push182=, 0($1) + i32.const $push570=, 7 + i32.rem_s $push369=, $pop182, $pop570 + i32.ne $push370=, $pop180, $pop369 + br_if 2, $pop370 # 2: down to label0 # BB#96: # %lor.lhs.false623 # in Loop: Header=BB24_51 Depth=1 - i32.load $push168=, 12($0) - i32.load $push170=, 0($4) - i32.const $push628=, 7 - i32.rem_s $push404=, $pop170, $pop628 - i32.ne $push405=, $pop168, $pop404 - br_if 2, $pop405 # 2: down to label0 + i32.load $push181=, 12($0) + i32.load $push183=, 0($3) + i32.const $push571=, 7 + i32.rem_s $push371=, $pop183, $pop571 + i32.ne $push372=, $pop181, $pop371 + br_if 2, $pop372 # 2: down to label0 # BB#97: # %if.end630 # in Loop: Header=BB24_51 Depth=1 - copy_local $4=, $0 + copy_local $3=, $0 #APP #NO_APP - i32.load $push172=, 8($0) - i32.load $push174=, 0($5) - i32.const $push629=, 7 - i32.rem_s $push406=, $pop174, $pop629 - i32.ne $push407=, $pop172, $pop406 - br_if 2, $pop407 # 2: down to label0 + i32.load $push185=, 8($0) + i32.load $push187=, 0($4) + i32.const $push572=, 7 + i32.rem_s $push373=, $pop187, $pop572 + i32.ne $push374=, $pop185, $pop373 + br_if 2, $pop374 # 2: down to label0 # BB#98: # %lor.lhs.false636 # in Loop: Header=BB24_51 Depth=1 - i32.load $push171=, 4($0) - i32.load $push173=, 0($6) - i32.const $push630=, 7 - i32.rem_s $push408=, $pop173, $pop630 - i32.ne $push409=, $pop171, $pop408 - br_if 2, $pop409 # 2: down to label0 + i32.load $push184=, 4($0) + i32.load $push186=, 0($5) + i32.const $push573=, 7 + i32.rem_s $push375=, $pop186, $pop573 + i32.ne $push376=, $pop184, $pop375 + br_if 2, $pop376 # 2: down to label0 # BB#99: # %if.end643 # in Loop: Header=BB24_51 Depth=1 - copy_local $4=, $0 + copy_local $3=, $0 #APP #NO_APP - i32.const $push633=, 1 - i32.add $2=, $2, $pop633 - i32.const $push632=, 16 - i32.add $1=, $1, $pop632 - i32.const $push631=, 2 - i32.lt_u $push410=, $2, $pop631 - br_if 0, $pop410 # 0: up to label3 + i32.const $push578=, 16 + i32.add $1=, $1, $pop578 + i32.const $push577=, 1 + i32.add $push576=, $2, $pop577 + tee_local $push575=, $2=, $pop576 + i32.const $push574=, 2 + i32.lt_u $push377=, $pop575, $pop574 + br_if 0, $pop377 # 0: up to label3 # BB#100: # %for.end646 end_loop # label4: - i32.const $push418=, __stack_pointer - i32.const $push416=, 32 - i32.add $push417=, $0, $pop416 - i32.store $drop=, 0($pop418), $pop417 - i32.const $push411=, 0 - return $pop411 + i32.const $push385=, 0 + i32.const $push383=, 32 + i32.add $push384=, $0, $pop383 + i32.store $drop=, __stack_pointer($pop385), $pop384 + i32.const $push378=, 0 + return $pop378 .LBB24_101: # %if.then642 end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr53688.c.s b/test/torture-s/pr53688.c.s index 4c4bc5930..138490031 100644 --- a/test/torture-s/pr53688.c.s +++ b/test/torture-s/pr53688.c.s @@ -6,18 +6,18 @@ .type init,@function init: # @init # BB#0: # %entry - i32.const $push0=, 0 + i32.const $push1=, 0 + i64.const $push0=, 6147487297207357523 + i64.store $drop=, p+9($pop1):p2align=0, $pop0 i32.const $push7=, 0 - i32.load8_u $push1=, .L.str+8($pop7) - i32.store8 $drop=, p+8($pop0), $pop1 i32.const $push6=, 0 + i32.load8_u $push2=, .L.str+8($pop6) + i32.store8 $drop=, p+8($pop7), $pop2 i32.const $push5=, 0 - i64.load $push2=, .L.str($pop5):p2align=0 - i64.store $drop=, p($pop6):p2align=0, $pop2 i32.const $push4=, 0 - i64.const $push3=, 6147487297207357523 - i64.store $drop=, p+9($pop4):p2align=0, $pop3 - return + i64.load $push3=, .L.str($pop4):p2align=0 + i64.store $drop=, p($pop5):p2align=0, $pop3 + # fallthrough-return .endfunc .Lfunc_end0: .size init, .Lfunc_end0-init @@ -31,37 +31,37 @@ main: # @main .local i32, i64 # BB#0: # %entry call init@FUNCTION + i32.const $push19=, 0 + i32.const $push0=, 32 + i32.store8 $0=, headline+17($pop19), $pop0 + i32.const $push18=, 0 + i64.const $push1=, 2314885530818453536 + i64.store $drop=, headline+9($pop18):p2align=0, $pop1 i32.const $push17=, 0 - i64.load $1=, p($pop17):p2align=0 i32.const $push16=, 0 + i32.load8_u $push2=, p+8($pop16) + i32.store8 $drop=, headline+8($pop17), $pop2 i32.const $push15=, 0 - i32.load8_u $push0=, p+8($pop15) - i32.store8 $drop=, headline+8($pop16), $pop0 i32.const $push14=, 0 - i64.store $drop=, headline($pop14), $1 + i64.load $push3=, p($pop14):p2align=0 + i64.store $drop=, headline($pop15), $pop3 i32.const $push13=, 0 - i32.const $push1=, 32 - i32.store8 $0=, headline+17($pop13), $pop1 i32.const $push12=, 0 - i64.load $1=, p+9($pop12):p2align=0 - i32.const $push11=, 0 - i64.const $push2=, 2314885530818453536 - i64.store $drop=, headline+9($pop11):p2align=0, $pop2 - i32.const $push10=, 0 - i64.store $drop=, headline+10($pop10):p2align=1, $1 - i32.const $push4=, headline+18 - i32.const $push3=, 238 - i32.call $drop=, memset@FUNCTION, $pop4, $0, $pop3 + i64.load $push4=, p+9($pop12):p2align=0 + i64.store $1=, headline+10($pop13):p2align=1, $pop4 + i32.const $push6=, headline+18 + i32.const $push5=, 238 + i32.call $drop=, memset@FUNCTION, $pop6, $0, $pop5 block - i32.wrap/i64 $push5=, $1 - i32.const $push6=, 255 - i32.and $push7=, $pop5, $pop6 - i32.const $push8=, 83 - i32.ne $push9=, $pop7, $pop8 - br_if 0, $pop9 # 0: down to label0 + i32.wrap/i64 $push7=, $1 + i32.const $push8=, 255 + i32.and $push9=, $pop7, $pop8 + i32.const $push10=, 83 + i32.ne $push11=, $pop9, $pop10 + br_if 0, $pop11 # 0: down to label0 # BB#1: # %if.end - i32.const $push18=, 0 - return $pop18 + i32.const $push20=, 0 + return $pop20 .LBB1_2: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr54471.c.s b/test/torture-s/pr54471.c.s index 92dbba83b..3d719f94a 100644 --- a/test/torture-s/pr54471.c.s +++ b/test/torture-s/pr54471.c.s @@ -8,15 +8,15 @@ foo: # @foo .param i32, i64, i64, i32 .local i32, i64, i64 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 32 i32.sub $push19=, $pop9, $pop10 - i32.store $4=, 0($pop11), $pop19 + i32.store $4=, __stack_pointer($pop11), $pop19 block - i32.eqz $push25=, $3 - br_if 0, $pop25 # 0: down to label0 + i32.eqz $push27=, $3 + br_if 0, $pop27 # 0: down to label0 # BB#1: # %for.body.preheader i64.const $6=, 0 i64.const $5=, 1 @@ -24,41 +24,42 @@ foo: # @foo # =>This Inner Loop Header: Depth=1 loop # label1: call __multi3@FUNCTION, $4, $1, $2, $5, $6 - i32.const $push22=, 8 - i32.add $push0=, $4, $pop22 - i64.load $6=, 0($pop0) - i64.load $5=, 0($4) i32.const $push15=, 16 i32.add $push16=, $4, $pop15 call __multi3@FUNCTION, $pop16, $1, $2, $1, $2 i32.const $push17=, 16 i32.add $push18=, $4, $pop17 - i32.const $push21=, 8 - i32.add $push1=, $pop18, $pop21 - i64.load $2=, 0($pop1) + i32.const $push24=, 8 + i32.add $push0=, $pop18, $pop24 + i64.load $2=, 0($pop0) + i32.const $push23=, 8 + i32.add $push1=, $4, $pop23 + i64.load $6=, 0($pop1) i64.load $1=, 16($4) - i32.const $push20=, -1 - i32.add $3=, $3, $pop20 - br_if 0, $3 # 0: up to label1 + i64.load $5=, 0($4) + i32.const $push22=, -1 + i32.add $push21=, $3, $pop22 + tee_local $push20=, $3=, $pop21 + br_if 0, $pop20 # 0: up to label1 # BB#3: # %for.end end_loop # label2: - i64.const $push23=, 14348907 - i64.xor $push2=, $5, $pop23 + i64.const $push25=, 14348907 + i64.xor $push2=, $5, $pop25 i64.or $push3=, $pop2, $6 i64.eqz $push4=, $pop3 - i32.eqz $push26=, $pop4 - br_if 0, $pop26 # 0: down to label0 + i32.eqz $push28=, $pop4 + br_if 0, $pop28 # 0: down to label0 # BB#4: # %if.end - i64.const $push24=, 14348907 - i64.store $drop=, 0($0), $pop24 + i64.const $push26=, 14348907 + i64.store $drop=, 0($0), $pop26 i32.const $push5=, 8 i32.add $push6=, $0, $pop5 i64.const $push7=, 0 i64.store $drop=, 0($pop6), $pop7 - i32.const $push14=, __stack_pointer + i32.const $push14=, 0 i32.const $push12=, 32 i32.add $push13=, $4, $pop12 - i32.store $drop=, 0($pop14), $pop13 + i32.store $drop=, __stack_pointer($pop14), $pop13 return .LBB0_5: # %if.then end_block # label0: @@ -76,23 +77,23 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push11=, $pop5, $pop6 - i32.store $push13=, 0($pop7), $pop11 + i32.store $push13=, __stack_pointer($pop7), $pop11 tee_local $push12=, $0=, $pop13 i64.const $push2=, 3 i64.const $push1=, 0 i32.const $push0=, 4 call foo@FUNCTION, $pop12, $pop2, $pop1, $pop0 - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr54937.c.s b/test/torture-s/pr54937.c.s index aea46d47e..f9bb85a80 100644 --- a/test/torture-s/pr54937.c.s +++ b/test/torture-s/pr54937.c.s @@ -19,8 +19,8 @@ t: # @t # =>This Inner Loop Header: Depth=1 loop # label1: block - i32.eqz $push8=, $1 - br_if 0, $pop8 # 0: down to label3 + i32.eqz $push10=, $1 + br_if 0, $pop10 # 0: down to label3 # BB#3: # %if.then # in Loop: Header=BB0_2 Depth=1 i32.const $push4=, 0 @@ -30,17 +30,19 @@ t: # @t .LBB0_4: # %if.end # in Loop: Header=BB0_2 Depth=1 end_block # label3: - i32.const $push7=, 0 - i32.store $drop=, a($1), $pop7 - i32.const $push6=, 4 - i32.add $1=, $1, $pop6 - i32.const $push5=, -1 - i32.add $0=, $0, $pop5 - br_if 0, $0 # 0: up to label1 + i32.const $push9=, 0 + i32.store $drop=, a($1), $pop9 + i32.const $push8=, 4 + i32.add $1=, $1, $pop8 + i32.const $push7=, -1 + i32.add $push6=, $0, $pop7 + tee_local $push5=, $0=, $pop6 + br_if 0, $pop5 # 0: up to label1 .LBB0_5: # %for.end end_loop # label2: end_block # label0: - return $1 + copy_local $push11=, $1 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size t, .Lfunc_end0-t diff --git a/test/torture-s/pr54985.c.s b/test/torture-s/pr54985.c.s index 94401826d..3ab337425 100644 --- a/test/torture-s/pr54985.c.s +++ b/test/torture-s/pr54985.c.s @@ -11,33 +11,34 @@ foo: # @foo # BB#0: # %entry block block - i32.eqz $push9=, $1 - br_if 0, $pop9 # 0: down to label1 + i32.eqz $push11=, $1 + br_if 0, $pop11 # 0: down to label1 # BB#1: # %while.body.preheader - i32.load $3=, 0($0) i32.const $push3=, 4 - i32.add $0=, $0, $pop3 + i32.add $4=, $0, $pop3 + i32.load $0=, 0($0) .LBB0_2: # %while.cond # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push4=, -1 - i32.add $1=, $1, $pop4 - i32.eqz $push10=, $1 - br_if 3, $pop10 # 3: down to label0 + i32.const $push6=, -1 + i32.add $push5=, $1, $pop6 + tee_local $push4=, $1=, $pop5 + i32.eqz $push12=, $pop4 + br_if 3, $pop12 # 3: down to label0 # BB#3: # %while.cond.while.body_crit_edge # in Loop: Header=BB0_2 Depth=1 - i32.load $push7=, 0($0) - tee_local $push6=, $4=, $pop7 - i32.lt_s $2=, $pop6, $3 - i32.const $push5=, 4 - i32.add $push0=, $0, $pop5 - copy_local $0=, $pop0 - copy_local $3=, $4 - br_if 0, $2 # 0: up to label2 + i32.load $push9=, 0($4) + tee_local $push8=, $2=, $pop9 + i32.lt_s $3=, $pop8, $0 + i32.const $push7=, 4 + i32.add $push0=, $4, $pop7 + copy_local $4=, $pop0 + copy_local $0=, $2 + br_if 0, $3 # 0: up to label2 # BB#4: # %cleanup end_loop # label3: - i32.const $push8=, 1 - return $pop8 + i32.const $push10=, 1 + return $pop10 .LBB0_5: end_block # label1: i32.const $push2=, 0 @@ -45,7 +46,7 @@ foo: # @foo .LBB0_6: end_block # label0: i32.const $push1=, 0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -58,12 +59,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push13=, $pop5, $pop6 - i32.store $push15=, 0($pop7), $pop13 + i32.store $push15=, __stack_pointer($pop7), $pop13 tee_local $push14=, $0=, $pop15 i64.const $push0=, 4294967298 i64.store $drop=, 8($pop14), $pop0 @@ -74,10 +75,10 @@ main: # @main i32.call $push2=, foo@FUNCTION, $pop12, $pop1 br_if 0, $pop2 # 0: down to label4 # BB#1: # %if.end - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 i32.const $push3=, 0 return $pop3 .LBB1_2: # %if.then diff --git a/test/torture-s/pr55137.c.s b/test/torture-s/pr55137.c.s index bbe9ef576..a18306a67 100644 --- a/test/torture-s/pr55137.c.s +++ b/test/torture-s/pr55137.c.s @@ -10,7 +10,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 2147483645 i32.gt_s $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -25,7 +25,7 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 2 i32.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -40,7 +40,7 @@ baz: # @baz # BB#0: # %entry i32.const $push0=, 1 i32.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz @@ -53,7 +53,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end3: .size main, .Lfunc_end3-main diff --git a/test/torture-s/pr55750.c.s b/test/torture-s/pr55750.c.s index 12558f0c9..90a6f0057 100644 --- a/test/torture-s/pr55750.c.s +++ b/test/torture-s/pr55750.c.s @@ -8,12 +8,13 @@ foo: # @foo .param i32 # BB#0: # %entry i32.const $push0=, 2 - i32.shl $0=, $0, $pop0 + i32.shl $push5=, $0, $pop0 + tee_local $push4=, $0=, $pop5 i32.load8_u $push1=, arr($0) i32.const $push3=, 2 i32.add $push2=, $pop1, $pop3 - i32.store8 $drop=, arr($0), $pop2 - return + i32.store8 $drop=, arr($pop4), $pop2 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -26,11 +27,11 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push13=, 0 - i32.const $push1=, 127 - i32.store8 $drop=, arr($pop13), $pop1 + i32.const $push1=, 254 + i32.store8 $drop=, arr+4($pop13), $pop1 i32.const $push12=, 0 - i32.const $push2=, 254 - i32.store8 $drop=, arr+4($pop12), $pop2 + i32.const $push2=, 127 + i32.store8 $drop=, arr($pop12), $pop2 i32.const $push11=, 0 call foo@FUNCTION, $pop11 i32.const $push3=, 1 diff --git a/test/torture-s/pr56051.c.s b/test/torture-s/pr56051.c.s index 4b8b1dbe6..d5e485df3 100644 --- a/test/torture-s/pr56051.c.s +++ b/test/torture-s/pr56051.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr56205.c.s b/test/torture-s/pr56205.c.s index 9a5bb8bff..24bee6a73 100644 --- a/test/torture-s/pr56205.c.s +++ b/test/torture-s/pr56205.c.s @@ -8,13 +8,13 @@ f4: # @f4 .param i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push17=, __stack_pointer - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) i32.const $push16=, 32 i32.sub $push23=, $pop15, $pop16 - i32.store $push25=, 0($pop17), $pop23 - tee_local $push24=, $5=, $pop25 + i32.store $push25=, __stack_pointer($pop17), $pop23 + tee_local $push24=, $3=, $pop25 i32.store $drop=, 28($pop24), $2 block br_if 0, $0 # 0: down to label0 @@ -33,51 +33,51 @@ f4: # @f4 i32.store $drop=, b($pop4), $pop7 .LBB0_3: # %if.end end_block # label0: - i32.const $push30=, .L.str.3 - i32.const $push8=, .L.str.1 - i32.select $0=, $pop30, $pop8, $0 - i32.load $3=, 28($5) + i32.const $push30=, 0 i32.const $push29=, 0 - i32.const $push28=, 0 - i32.load $push9=, a($pop28) - i32.const $push10=, 1 - i32.add $push0=, $pop9, $pop10 - i32.store $2=, a($pop29), $pop0 + i32.load $push8=, a($pop29) + i32.const $push9=, 1 + i32.add $push0=, $pop8, $pop9 + i32.store $2=, a($pop30), $pop0 + i32.const $push28=, .L.str.3 + i32.const $push10=, .L.str.1 + i32.select $0=, $pop28, $pop10, $0 block block i32.eqz $push33=, $1 br_if 0, $pop33 # 0: down to label2 # BB#4: # %land.rhs.i - i32.load8_u $4=, 0($1) - i32.store $drop=, 20($5), $2 - i32.store $drop=, 16($5), $0 + i32.load $4=, 28($3) + i32.load8_u $5=, 0($1) + i32.store $drop=, 20($3), $2 + i32.store $drop=, 16($3), $0 i32.const $push11=, .L.str.4 i32.const $push31=, .L.str.3 - i32.select $push12=, $pop11, $pop31, $4 - i32.store $drop=, 24($5), $pop12 + i32.select $push12=, $pop11, $pop31, $5 + i32.store $drop=, 24($3), $pop12 i32.const $push21=, 16 - i32.add $push22=, $5, $pop21 - call f1@FUNCTION, $5, $pop22 + i32.add $push22=, $3, $pop21 + call f1@FUNCTION, $3, $pop22 i32.load8_u $push13=, 0($1) i32.eqz $push34=, $pop13 br_if 1, $pop34 # 1: down to label1 # BB#5: # %if.then.i - call f2@FUNCTION, $1, $3 + call f2@FUNCTION, $1, $4 br 1 # 1: down to label1 .LBB0_6: # %if.end.critedge.i end_block # label2: i32.const $push32=, .L.str.3 - i32.store $drop=, 8($5), $pop32 - i32.store $drop=, 4($5), $2 - i32.store $drop=, 0($5), $0 - call f1@FUNCTION, $5, $5 + i32.store $drop=, 8($3), $pop32 + i32.store $drop=, 4($3), $2 + i32.store $drop=, 0($3), $0 + call f1@FUNCTION, $3, $3 .LBB0_7: # %f3.exit end_block # label1: - i32.const $push20=, __stack_pointer + i32.const $push20=, 0 i32.const $push18=, 32 - i32.add $push19=, $5, $pop18 - i32.store $drop=, 0($pop20), $pop19 - return + i32.add $push19=, $3, $pop18 + i32.store $drop=, __stack_pointer($pop20), $pop19 + # fallthrough-return .endfunc .Lfunc_end0: .size f4, .Lfunc_end0-f4 @@ -90,12 +90,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 32 i32.sub $push18=, $pop12, $pop13 - i32.store $0=, 0($pop14), $pop18 + i32.store $0=, __stack_pointer($pop14), $pop18 #APP #NO_APP i32.const $push1=, 16 @@ -122,10 +122,10 @@ main: # @main i32.ne $push9=, $pop0, $pop22 br_if 0, $pop9 # 0: down to label3 # BB#2: # %if.end - i32.const $push17=, __stack_pointer + i32.const $push17=, 0 i32.const $push15=, 32 i32.add $push16=, $0, $pop15 - i32.store $drop=, 0($pop17), $pop16 + i32.store $drop=, __stack_pointer($pop17), $pop16 i32.const $push10=, 0 return $pop10 .LBB1_3: # %if.then @@ -142,12 +142,12 @@ f1: # @f1 .param i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) i32.const $push17=, 16 i32.sub $push22=, $pop16, $pop17 - i32.store $4=, 0($pop18), $pop22 + i32.store $4=, __stack_pointer($pop18), $pop22 #APP #NO_APP i32.store $push24=, 12($4), $1 @@ -177,10 +177,10 @@ f1: # @f1 i32.call $push14=, strcmp@FUNCTION, $pop12, $pop13 br_if 0, $pop14 # 0: down to label4 # BB#3: # %if.end13 - i32.const $push21=, __stack_pointer + i32.const $push21=, 0 i32.const $push19=, 16 i32.add $push20=, $4, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.store $drop=, __stack_pointer($pop21), $pop20 return .LBB2_4: # %if.then12 end_block # label4: diff --git a/test/torture-s/pr56250.c.s b/test/torture-s/pr56250.c.s index 5c1968346..db1229010 100644 --- a/test/torture-s/pr56250.c.s +++ b/test/torture-s/pr56250.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr56799.c.s b/test/torture-s/pr56799.c.s index 4e0b75033..76687d3a1 100644 --- a/test/torture-s/pr56799.c.s +++ b/test/torture-s/pr56799.c.s @@ -8,21 +8,21 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push12=, __stack_pointer - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) i32.const $push11=, 16 i32.sub $push15=, $pop10, $pop11 - i32.store $push17=, 0($pop12), $pop15 + i32.store $push17=, __stack_pointer($pop12), $pop15 tee_local $push16=, $0=, $pop17 i64.const $push2=, 4295032832 i64.store $drop=, 8($pop16), $pop2 block i32.const $push13=, 8 i32.add $push14=, $0, $pop13 - i32.call $push3=, foo@FUNCTION, $pop14 - i32.const $push4=, 2 - i32.ne $push5=, $pop3, $pop4 + i32.call $push4=, foo@FUNCTION, $pop14 + i32.const $push3=, 2 + i32.ne $push5=, $pop4, $pop3 br_if 0, $pop5 # 0: down to label0 # BB#1: # %entry i32.const $push18=, 0 @@ -55,39 +55,39 @@ foo: # @foo .result i32 .local i32, i32 # BB#0: # %entry - i32.const $1=, 0 + i32.const $2=, 0 block i32.load $push11=, 0($0) - tee_local $push10=, $2=, $pop11 + tee_local $push10=, $1=, $pop11 i32.const $push9=, 65535 i32.and $push0=, $pop10, $pop9 - i32.eqz $push15=, $pop0 - br_if 0, $pop15 # 0: down to label1 + i32.eqz $push16=, $pop0 + br_if 0, $pop16 # 0: down to label1 # BB#1: # %if.then - i32.const $push1=, 0 - i32.const $push2=, 1 - i32.store $drop=, lo($pop1), $pop2 - i32.load $1=, 4($0) + i32.const $push2=, 0 + i32.const $push1=, 1 + i32.store $drop=, lo($pop2), $pop1 + i32.load $2=, 4($0) .LBB1_2: # %if.end end_block # label1: block i32.const $push12=, 65535 - i32.le_u $push3=, $2, $pop12 + i32.le_u $push3=, $1, $pop12 br_if 0, $pop3 # 0: down to label2 # BB#3: # %if.then7 - i32.const $push4=, 0 - i32.const $push5=, 1 - i32.store $drop=, hi($pop4), $pop5 - i32.load $push14=, 4($0) - tee_local $push13=, $0=, $pop14 - i32.add $1=, $pop13, $1 - i32.add $push7=, $0, $1 + i32.const $push5=, 0 + i32.const $push4=, 1 + i32.store $drop=, hi($pop5), $pop4 + i32.load $push15=, 4($0) + tee_local $push14=, $0=, $pop15 + i32.add $push13=, $0, $2 + i32.add $push7=, $pop14, $pop13 return $pop7 .LBB1_4: # %if.end.if.end10_crit_edge end_block # label2: i32.load $push8=, 4($0) - i32.add $push6=, $pop8, $1 - return $pop6 + i32.add $push6=, $pop8, $2 + # fallthrough-return: $pop6 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/pr56837.c.s b/test/torture-s/pr56837.c.s index b84dfb3aa..46dabdbab 100644 --- a/test/torture-s/pr56837.c.s +++ b/test/torture-s/pr56837.c.s @@ -11,14 +11,15 @@ foo: # @foo .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: - i64.const $push1=, 4294967295 - i64.store $drop=, a+8192($0), $pop1 - i32.const $push0=, 8 - i32.add $0=, $0, $pop0 - br_if 0, $0 # 0: up to label0 + i64.const $push3=, 4294967295 + i64.store $drop=, a+8192($0), $pop3 + i32.const $push2=, 8 + i32.add $push1=, $0, $pop2 + tee_local $push0=, $0=, $pop1 + br_if 0, $pop0 # 0: up to label0 # BB#2: # %for.end end_loop # label1: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -40,22 +41,23 @@ main: # @main loop # label3: i32.load $push1=, 0($0) i32.const $push6=, -1 - i32.ne $push3=, $pop1, $pop6 - br_if 2, $pop3 # 2: down to label2 + i32.ne $push2=, $pop1, $pop6 + br_if 2, $pop2 # 2: down to label2 # BB#2: # %for.body # in Loop: Header=BB1_1 Depth=1 i32.const $push7=, 4 - i32.add $push2=, $0, $pop7 - i32.load $push0=, 0($pop2) + i32.add $push3=, $0, $pop7 + i32.load $push0=, 0($pop3) br_if 2, $pop0 # 2: down to label2 # BB#3: # %for.cond # in Loop: Header=BB1_1 Depth=1 - i32.const $push10=, 1 - i32.add $1=, $1, $pop10 - i32.const $push9=, 8 - i32.add $0=, $0, $pop9 + i32.const $push12=, 8 + i32.add $0=, $0, $pop12 + i32.const $push11=, 1 + i32.add $push10=, $1, $pop11 + tee_local $push9=, $1=, $pop10 i32.const $push8=, 1023 - i32.le_s $push4=, $1, $pop8 + i32.le_s $push4=, $pop9, $pop8 br_if 0, $pop4 # 0: up to label3 # BB#4: # %for.end end_loop # label4: diff --git a/test/torture-s/pr56866.c.s b/test/torture-s/pr56866.c.s index 5e365d44b..225289cc1 100644 --- a/test/torture-s/pr56866.c.s +++ b/test/torture-s/pr56866.c.s @@ -6,227 +6,231 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i64 + .local i32, i32, i64, i32, i32, i32, i32 # BB#0: # %entry - i32.const $0=, 0 - i32.const $push55=, __stack_pointer - i32.const $push52=, __stack_pointer - i32.load $push53=, 0($pop52) + i32.const $3=, 0 + i32.const $push55=, 0 + i32.const $push52=, 0 + i32.load $push53=, __stack_pointer($pop52) i32.const $push54=, 7712 i32.sub $push106=, $pop53, $pop54 - i32.store $push113=, 0($pop55), $pop106 - tee_local $push112=, $4=, $pop113 + i32.store $push113=, __stack_pointer($pop55), $pop106 + tee_local $push112=, $0=, $pop113 i32.const $push59=, 5664 i32.add $push60=, $pop112, $pop59 i32.const $push111=, 0 i32.const $push110=, 2048 i32.call $drop=, memset@FUNCTION, $pop60, $pop111, $pop110 i32.const $push61=, 2592 - i32.add $push62=, $4, $pop61 + i32.add $push62=, $0, $pop61 i32.const $push109=, 0 i32.const $push0=, 1024 i32.call $drop=, memset@FUNCTION, $pop62, $pop109, $pop0 i32.const $push63=, 1056 - i32.add $push64=, $4, $pop63 + i32.add $push64=, $0, $pop63 i32.const $push108=, 0 i32.const $push1=, 512 i32.call $drop=, memset@FUNCTION, $pop64, $pop108, $pop1 i32.const $push65=, 288 - i32.add $push66=, $4, $pop65 + i32.add $push66=, $0, $pop65 i32.const $push107=, 0 i32.const $push2=, 256 i32.call $drop=, memset@FUNCTION, $pop66, $pop107, $pop2 + i64.const $push3=, 81985529216486895 + i64.store $drop=, 5664($0), $pop3 i32.const $push4=, 19088743 - i32.store $drop=, 2592($4), $pop4 + i32.store $drop=, 2592($0), $pop4 i32.const $push5=, 17767 - i32.store16 $drop=, 1056($4), $pop5 + i32.store16 $drop=, 1056($0), $pop5 i32.const $push6=, 115 - i32.store8 $drop=, 288($4), $pop6 - i64.const $push3=, 81985529216486895 - i64.store $drop=, 5664($4), $pop3 + i32.store8 $drop=, 288($0), $pop6 i32.const $push67=, 5664 - i32.add $push68=, $4, $pop67 - i32.store $drop=, 28($4), $pop68 + i32.add $push68=, $0, $pop67 + i32.store $drop=, 28($0), $pop68 i32.const $push69=, 2592 - i32.add $push70=, $4, $pop69 - i32.store $drop=, 24($4), $pop70 + i32.add $push70=, $0, $pop69 + i32.store $drop=, 24($0), $pop70 i32.const $push71=, 1056 - i32.add $push72=, $4, $pop71 - i32.store $drop=, 20($4), $pop72 + i32.add $push72=, $0, $pop71 + i32.store $drop=, 20($0), $pop72 i32.const $push73=, 288 - i32.add $push74=, $4, $pop73 - i32.store $drop=, 16($4), $pop74 + i32.add $push74=, $0, $pop73 + i32.store $drop=, 16($0), $pop74 i32.const $push75=, 28 - i32.add $5=, $4, $pop75 + i32.add $1=, $0, $pop75 i32.const $push76=, 24 - i32.add $1=, $4, $pop76 + i32.add $4=, $0, $pop76 i32.const $push77=, 20 - i32.add $2=, $4, $pop77 + i32.add $5=, $0, $pop77 i32.const $push78=, 16 - i32.add $3=, $4, $pop78 + i32.add $6=, $0, $pop78 #APP #NO_APP .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label0: i32.const $push81=, 3616 - i32.add $push82=, $4, $pop81 - i32.add $push10=, $pop82, $0 + i32.add $push82=, $0, $pop81 + i32.add $push10=, $pop82, $3 i32.const $push79=, 5664 - i32.add $push80=, $4, $pop79 - i32.add $push7=, $pop80, $0 + i32.add $push80=, $0, $pop79 + i32.add $push7=, $pop80, $3 i64.load $push8=, 0($pop7) - i64.const $push116=, 56 - i64.rotl $push9=, $pop8, $pop116 + i64.const $push118=, 56 + i64.rotl $push9=, $pop8, $pop118 i64.store $drop=, 0($pop10), $pop9 - i32.const $push115=, 8 - i32.add $0=, $0, $pop115 + i32.const $push117=, 8 + i32.add $push116=, $3, $pop117 + tee_local $push115=, $3=, $pop116 i32.const $push114=, 2048 - i32.ne $push11=, $0, $pop114 + i32.ne $push11=, $pop115, $pop114 br_if 0, $pop11 # 0: up to label0 # BB#2: # %for.body16.preheader end_loop # label1: - i32.const $0=, 0 + i32.const $3=, 0 .LBB0_3: # %for.body16 # =>This Inner Loop Header: Depth=1 loop # label2: i32.const $push85=, 1568 - i32.add $push86=, $4, $pop85 - i32.add $push15=, $pop86, $0 + i32.add $push86=, $0, $pop85 + i32.add $push15=, $pop86, $3 i32.const $push83=, 2592 - i32.add $push84=, $4, $pop83 - i32.add $push12=, $pop84, $0 + i32.add $push84=, $0, $pop83 + i32.add $push12=, $pop84, $3 i32.load $push13=, 0($pop12) - i32.const $push119=, 24 - i32.rotl $push14=, $pop13, $pop119 + i32.const $push123=, 24 + i32.rotl $push14=, $pop13, $pop123 i32.store $drop=, 0($pop15), $pop14 - i32.const $push118=, 4 - i32.add $0=, $0, $pop118 - i32.const $push117=, 1024 - i32.ne $push16=, $0, $pop117 + i32.const $push122=, 4 + i32.add $push121=, $3, $pop122 + tee_local $push120=, $3=, $pop121 + i32.const $push119=, 1024 + i32.ne $push16=, $pop120, $pop119 br_if 0, $pop16 # 0: up to label2 # BB#4: # %for.body28.preheader end_loop # label3: - i32.const $0=, 0 + i32.const $3=, 0 .LBB0_5: # %for.body28 # =>This Inner Loop Header: Depth=1 loop # label4: i32.const $push89=, 544 - i32.add $push90=, $4, $pop89 - i32.add $push21=, $pop90, $0 + i32.add $push90=, $0, $pop89 + i32.add $push21=, $pop90, $3 i32.const $push87=, 1056 - i32.add $push88=, $4, $pop87 - i32.add $push17=, $pop88, $0 - i32.load16_u $push125=, 0($pop17) - tee_local $push124=, $5=, $pop125 - i32.const $push123=, 9 - i32.shr_u $push18=, $pop124, $pop123 - i32.const $push122=, 7 - i32.shl $push19=, $5, $pop122 - i32.or $push20=, $pop18, $pop19 + i32.add $push88=, $0, $pop87 + i32.add $push17=, $pop88, $3 + i32.load16_u $push131=, 0($pop17) + tee_local $push130=, $1=, $pop131 + i32.const $push129=, 9 + i32.shr_u $push19=, $pop130, $pop129 + i32.const $push128=, 7 + i32.shl $push18=, $1, $pop128 + i32.or $push20=, $pop19, $pop18 i32.store16 $drop=, 0($pop21), $pop20 - i32.const $push121=, 2 - i32.add $0=, $0, $pop121 - i32.const $push120=, 512 - i32.ne $push22=, $0, $pop120 + i32.const $push127=, 2 + i32.add $push126=, $3, $pop127 + tee_local $push125=, $3=, $pop126 + i32.const $push124=, 512 + i32.ne $push22=, $pop125, $pop124 br_if 0, $pop22 # 0: up to label4 # BB#6: # %for.body43.preheader end_loop # label5: - i32.const $0=, 0 + i32.const $3=, 0 .LBB0_7: # %for.body43 # =>This Inner Loop Header: Depth=1 loop # label6: i32.const $push93=, 32 - i32.add $push94=, $4, $pop93 - i32.add $push27=, $pop94, $0 + i32.add $push94=, $0, $pop93 + i32.add $push27=, $pop94, $3 i32.const $push91=, 288 - i32.add $push92=, $4, $pop91 - i32.add $push23=, $pop92, $0 - i32.load8_u $push131=, 0($pop23) - tee_local $push130=, $5=, $pop131 - i32.const $push129=, 5 - i32.shr_u $push24=, $pop130, $pop129 - i32.const $push128=, 3 - i32.shl $push25=, $5, $pop128 - i32.or $push26=, $pop24, $pop25 + i32.add $push92=, $0, $pop91 + i32.add $push23=, $pop92, $3 + i32.load8_u $push139=, 0($pop23) + tee_local $push138=, $1=, $pop139 + i32.const $push137=, 5 + i32.shr_u $push25=, $pop138, $pop137 + i32.const $push136=, 3 + i32.shl $push24=, $1, $pop136 + i32.or $push26=, $pop25, $pop24 i32.store8 $drop=, 0($pop27), $pop26 - i32.const $push127=, 1 - i32.add $0=, $0, $pop127 - i32.const $push126=, 256 - i32.ne $push28=, $0, $pop126 + i32.const $push135=, 1 + i32.add $push134=, $3, $pop135 + tee_local $push133=, $3=, $pop134 + i32.const $push132=, 256 + i32.ne $push28=, $pop133, $pop132 br_if 0, $pop28 # 0: up to label6 # BB#8: # %for.end55 end_loop # label7: i32.const $push95=, 3616 - i32.add $push96=, $4, $pop95 - i32.store $drop=, 12($4), $pop96 + i32.add $push96=, $0, $pop95 + i32.store $drop=, 12($0), $pop96 i32.const $push97=, 1568 - i32.add $push98=, $4, $pop97 - i32.store $drop=, 8($4), $pop98 + i32.add $push98=, $0, $pop97 + i32.store $drop=, 8($0), $pop98 i32.const $push99=, 544 - i32.add $push100=, $4, $pop99 - i32.store $drop=, 4($4), $pop100 + i32.add $push100=, $0, $pop99 + i32.store $drop=, 4($0), $pop100 i32.const $push101=, 32 - i32.add $push102=, $4, $pop101 - i32.store $drop=, 0($4), $pop102 + i32.add $push102=, $0, $pop101 + i32.store $drop=, 0($0), $pop102 i32.const $push103=, 12 - i32.add $0=, $4, $pop103 + i32.add $3=, $0, $pop103 i32.const $push104=, 8 - i32.add $5=, $4, $pop104 + i32.add $1=, $0, $pop104 i32.const $push105=, 4 - i32.add $1=, $4, $pop105 + i32.add $4=, $0, $pop105 #APP #NO_APP block - i64.load $push29=, 3616($4) - i64.const $push30=, -1224658842671273011 - i64.ne $push31=, $pop29, $pop30 + i64.load $push30=, 3616($0) + i64.const $push29=, -1224658842671273011 + i64.ne $push31=, $pop30, $pop29 br_if 0, $pop31 # 0: down to label8 # BB#9: # %lor.lhs.false - i64.load $push32=, 3624($4) + i64.load $push32=, 3624($0) i64.eqz $push33=, $pop32 - i32.eqz $push138=, $pop33 - br_if 0, $pop138 # 0: down to label8 + i32.eqz $push146=, $pop33 + br_if 0, $pop146 # 0: down to label8 # BB#10: # %if.end - i64.load $push133=, 1568($4) - tee_local $push132=, $6=, $pop133 - i32.wrap/i64 $push34=, $pop132 + i64.load $push141=, 1568($0) + tee_local $push140=, $2=, $pop141 + i32.wrap/i64 $push34=, $pop140 i32.const $push35=, 1728127813 i32.ne $push36=, $pop34, $pop35 br_if 0, $pop36 # 0: down to label8 # BB#11: # %if.end i64.const $push37=, 4294967296 - i64.ge_u $push38=, $6, $pop37 + i64.ge_u $push38=, $2, $pop37 br_if 0, $pop38 # 0: down to label8 # BB#12: # %if.end71 - i32.load $push135=, 544($4) - tee_local $push134=, $0=, $pop135 + i32.load $push143=, 544($0) + tee_local $push142=, $3=, $pop143 i32.const $push39=, 65535 - i32.and $push40=, $pop134, $pop39 + i32.and $push40=, $pop142, $pop39 i32.const $push41=, 45986 i32.ne $push42=, $pop40, $pop41 br_if 0, $pop42 # 0: down to label8 # BB#13: # %if.end71 i32.const $push43=, 65536 - i32.ge_u $push44=, $0, $pop43 + i32.ge_u $push44=, $3, $pop43 br_if 0, $pop44 # 0: down to label8 # BB#14: # %if.end81 - i32.load16_u $push137=, 32($4) - tee_local $push136=, $0=, $pop137 + i32.load16_u $push145=, 32($0) + tee_local $push144=, $3=, $pop145 i32.const $push45=, 255 - i32.and $push46=, $pop136, $pop45 + i32.and $push46=, $pop144, $pop45 i32.const $push47=, 155 i32.ne $push48=, $pop46, $pop47 br_if 0, $pop48 # 0: down to label8 # BB#15: # %if.end81 i32.const $push49=, 256 - i32.ge_u $push50=, $0, $pop49 + i32.ge_u $push50=, $3, $pop49 br_if 0, $pop50 # 0: down to label8 # BB#16: # %if.end91 - i32.const $push58=, __stack_pointer + i32.const $push58=, 0 i32.const $push56=, 7712 - i32.add $push57=, $4, $pop56 - i32.store $drop=, 0($pop58), $pop57 + i32.add $push57=, $0, $pop56 + i32.store $drop=, __stack_pointer($pop58), $pop57 i32.const $push51=, 0 return $pop51 .LBB0_17: # %if.then90 diff --git a/test/torture-s/pr56899.c.s b/test/torture-s/pr56899.c.s index 78d684510..9d5467a1e 100644 --- a/test/torture-s/pr56899.c.s +++ b/test/torture-s/pr56899.c.s @@ -108,7 +108,7 @@ main: # @main i32.const $push3=, -10 call f4@FUNCTION, $pop3 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end4: .size main, .Lfunc_end4-main diff --git a/test/torture-s/pr56962.c.s b/test/torture-s/pr56962.c.s index d7b2f7fe9..53cc8326f 100644 --- a/test/torture-s/pr56962.c.s +++ b/test/torture-s/pr56962.c.s @@ -27,51 +27,51 @@ bar: # @bar .type foo,@function foo: # @foo .param i32, i32, i32 - .local i64, i64, i32, i32 + .local i32, i64, i32, i64 # BB#0: # %entry - i32.const $push7=, 5 - i32.mul $push36=, $2, $pop7 - tee_local $push35=, $6=, $pop36 - i32.const $push2=, 3 - i32.mul $push34=, $1, $pop2 - tee_local $push33=, $5=, $pop34 - i32.add $push8=, $pop35, $pop33 - i32.const $push32=, 3 - i32.shl $push9=, $pop8, $pop32 - i32.add $push10=, $0, $pop9 - i64.load $3=, 0($pop10) + i32.const $push2=, 5 + i32.mul $push36=, $2, $pop2 + tee_local $push35=, $3=, $pop36 i32.const $push0=, 2 - i32.shl $push11=, $1, $pop0 - i32.add $push12=, $6, $pop11 + i32.shl $push1=, $1, $pop0 + i32.add $push3=, $pop35, $pop1 + i32.const $push4=, 3 + i32.shl $push5=, $pop3, $pop4 + i32.add $push6=, $0, $pop5 + i64.load $4=, 0($pop6) + i32.const $push34=, 3 + i32.mul $push33=, $1, $pop34 + tee_local $push32=, $5=, $pop33 + i32.add $push7=, $3, $pop32 i32.const $push31=, 3 - i32.shl $push13=, $pop12, $pop31 - i32.add $push14=, $0, $pop13 - i64.load $4=, 0($pop14) + i32.shl $push8=, $pop7, $pop31 + i32.add $push9=, $0, $pop8 + i64.load $6=, 0($pop9) i32.const $push30=, 5 i32.shl $push15=, $1, $pop30 i32.add $push16=, $0, $pop15 i32.const $push29=, 2 - i32.shl $push1=, $2, $pop29 - i32.add $push3=, $pop1, $5 + i32.shl $push10=, $2, $pop29 + i32.add $push11=, $pop10, $5 i32.const $push28=, 3 - i32.shl $push4=, $pop3, $pop28 - i32.add $push5=, $0, $pop4 - i64.load $push6=, 0($pop5) - i64.store $drop=, 0($pop16), $pop6 - i32.add $push17=, $6, $1 + i32.shl $push12=, $pop11, $pop28 + i32.add $push13=, $0, $pop12 + i64.load $push14=, 0($pop13) + i64.store $drop=, 0($pop16), $pop14 + i32.add $push17=, $3, $1 i32.const $push27=, 3 i32.shl $push18=, $pop17, $pop27 i32.add $push19=, $0, $pop18 call bar@FUNCTION, $pop19 i32.const $push26=, 5 i32.mul $push21=, $1, $pop26 - i32.add $push22=, $6, $pop21 + i32.add $push22=, $3, $pop21 i32.const $push25=, 3 i32.shl $push23=, $pop22, $pop25 i32.add $push24=, $0, $pop23 - i64.add $push20=, $4, $3 + i64.add $push20=, $4, $6 i64.store $drop=, 0($pop24), $pop20 - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -83,12 +83,12 @@ foo: # @foo main: # @main .result i32 # BB#0: # %entry - i32.const $push0=, v - i32.const $push2=, 24 - i32.const $push1=, 1 - call foo@FUNCTION, $pop0, $pop2, $pop1 + i32.const $push2=, v + i32.const $push1=, 24 + i32.const $push0=, 1 + call foo@FUNCTION, $pop2, $pop1, $pop0 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr56982.c.s b/test/torture-s/pr56982.c.s index 1eb5f79e1..17e810829 100644 --- a/test/torture-s/pr56982.c.s +++ b/test/torture-s/pr56982.c.s @@ -8,7 +8,7 @@ baz: # @baz # BB#0: # %entry #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end0: .size baz, .Lfunc_end0-baz @@ -60,24 +60,24 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push11=, $pop3, $pop4 - i32.store $push13=, 0($pop5), $pop11 + i32.store $push13=, __stack_pointer($pop5), $pop11 tee_local $push12=, $2=, $pop13 i32.const $push0=, 0 i32.store $drop=, 12($pop12), $pop0 i32.const $push9=, 12 i32.add $push10=, $2, $pop9 i32.call $drop=, f@FUNCTION, $pop10 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $2, $pop6 - i32.store $drop=, 0($pop8), $pop7 + i32.store $drop=, __stack_pointer($pop8), $pop7 i32.const $push1=, 1 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr57124.c.s b/test/torture-s/pr57124.c.s index 31d09e97b..5c48b462c 100644 --- a/test/torture-s/pr57124.c.s +++ b/test/torture-s/pr57124.c.s @@ -33,12 +33,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push10=, $pop3, $pop4 - i32.store $push12=, 0($pop5), $pop10 + i32.store $push12=, __stack_pointer($pop5), $pop10 tee_local $push11=, $0=, $pop12 i32.const $push0=, 65531 i32.store16 $drop=, 14($pop11), $pop0 diff --git a/test/torture-s/pr57130.c.s b/test/torture-s/pr57130.c.s index 381696cdf..21c4ca2ee 100644 --- a/test/torture-s/pr57130.c.s +++ b/test/torture-s/pr57130.c.s @@ -39,61 +39,62 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i64, i32, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push19=, __stack_pointer - i32.const $push16=, __stack_pointer - i32.load $push17=, 0($pop16) - i32.const $push18=, 48 - i32.sub $push29=, $pop17, $pop18 - i32.store $push38=, 0($pop19), $pop29 - tee_local $push37=, $2=, $pop38 - i32.const $push23=, 32 - i32.add $push24=, $pop37, $pop23 - i32.const $push2=, 8 - i32.add $push36=, $pop24, $pop2 - tee_local $push35=, $1=, $pop36 - i32.const $push0=, 0 - i32.load $push1=, .Lmain.r+8($pop0) - i32.store $drop=, 0($pop35), $pop1 + i32.const $push20=, 0 + i32.const $push17=, 0 + i32.load $push18=, __stack_pointer($pop17) + i32.const $push19=, 48 + i32.sub $push30=, $pop18, $pop19 + i32.store $push39=, __stack_pointer($pop20), $pop30 + tee_local $push38=, $0=, $pop39 + i32.const $push24=, 32 + i32.add $push25=, $pop38, $pop24 + i32.const $push3=, 8 + i32.add $push37=, $pop25, $pop3 + tee_local $push36=, $1=, $pop37 + i32.const $push1=, 0 + i32.load $push2=, .Lmain.r+8($pop1) + i32.store $drop=, 0($pop36), $pop2 + i32.const $push26=, 16 + i32.add $push27=, $0, $pop26 + i32.const $push35=, 8 + i32.add $push5=, $pop27, $pop35 i32.const $push34=, 0 - i64.load $push3=, .Lmain.r($pop34):p2align=2 - i64.store $0=, 32($2), $pop3 - i32.const $push25=, 16 - i32.add $push26=, $2, $pop25 - i32.const $push33=, 8 - i32.add $push5=, $pop26, $pop33 - i32.const $push32=, 0 - i64.load $push4=, .Lmain.r+8($pop32):p2align=2 + i64.load $push4=, .Lmain.r+8($pop34):p2align=2 i64.store $drop=, 0($pop5):p2align=2, $pop4 - i64.store $drop=, 16($2):p2align=2, $0 - i32.const $push27=, 16 - i32.add $push28=, $2, $pop27 - call foo@FUNCTION, $pop28 - i64.const $push6=, 8589934592 - i64.store $drop=, 32($2), $pop6 + i32.const $push33=, 0 + i64.load $push6=, .Lmain.r($pop33):p2align=2 + i64.store $push0=, 32($0), $pop6 + i64.store $drop=, 16($0):p2align=2, $pop0 + i32.const $push28=, 16 + i32.add $push29=, $0, $pop28 + call foo@FUNCTION, $pop29 i64.const $push7=, 12884901887 i64.store $drop=, 0($1), $pop7 i32.const $push8=, 12 - i32.add $push9=, $2, $pop8 + i32.add $push9=, $0, $pop8 i32.const $push10=, 2 i32.store $drop=, 0($pop9), $pop10 - i32.const $push31=, 8 - i32.add $push11=, $2, $pop31 + i32.const $push32=, 8 + i32.add $push11=, $0, $pop32 i32.load $push12=, 0($1) i32.store $drop=, 0($pop11), $pop12 - i32.const $push13=, 4 - i32.add $push14=, $2, $pop13 - i32.load $push15=, 36($2) - i32.store $drop=, 0($pop14), $pop15 - i32.const $push30=, 0 - i32.store $1=, 0($2), $pop30 - call foo@FUNCTION, $2 - i32.const $push22=, __stack_pointer - i32.const $push20=, 48 - i32.add $push21=, $2, $pop20 - i32.store $drop=, 0($pop22), $pop21 - return $1 + i64.const $push13=, 8589934592 + i64.store $drop=, 32($0), $pop13 + i32.const $push14=, 4 + i32.add $push15=, $0, $pop14 + i32.load $push16=, 36($0) + i32.store $drop=, 0($pop15), $pop16 + i32.const $push31=, 0 + i32.store $1=, 0($0), $pop31 + call foo@FUNCTION, $0 + i32.const $push23=, 0 + i32.const $push21=, 48 + i32.add $push22=, $0, $pop21 + i32.store $drop=, __stack_pointer($pop23), $pop22 + copy_local $push40=, $1 + # fallthrough-return: $pop40 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr57131.c.s b/test/torture-s/pr57131.c.s index 99e8851a8..3f3e0c3dd 100644 --- a/test/torture-s/pr57131.c.s +++ b/test/torture-s/pr57131.c.s @@ -6,45 +6,45 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i64, i64, i64, i64, i32, i32 + .local i32, i32, i64, i32, i64, i64, i64, i32 # BB#0: # %entry - i32.const $push16=, __stack_pointer - i32.const $push13=, __stack_pointer - i32.load $push14=, 0($pop13) + i32.const $push16=, 0 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) i32.const $push15=, 48 i32.sub $push20=, $pop14, $pop15 - i32.store $push22=, 0($pop16), $pop20 - tee_local $push21=, $7=, $pop22 + i32.store $push22=, __stack_pointer($pop16), $pop20 + tee_local $push21=, $3=, $pop22 i32.const $push1=, 0 i32.store $0=, 44($pop21), $pop1 i64.const $push2=, 0 - i64.store $drop=, 32($7), $pop2 - i32.store $1=, 28($7), $0 + i64.store $drop=, 32($3), $pop2 + i32.store $1=, 28($3), $0 i32.const $push3=, 1 - i32.store $push0=, 24($7), $pop3 - i32.store $drop=, 20($7), $pop0 + i32.store $push0=, 24($3), $pop3 + i32.store $drop=, 20($3), $pop0 i64.const $push4=, 1 - i64.store $2=, 8($7), $pop4 - i64.load32_s $3=, 44($7) - i64.load $4=, 32($7) - i64.load32_u $5=, 28($7) - i32.load $0=, 24($7) - i32.load $6=, 20($7) + i64.store $2=, 8($3), $pop4 + i64.load32_s $4=, 44($3) + i64.load $5=, 32($3) + i64.load32_u $6=, 28($3) + i32.load $0=, 24($3) + i32.load $7=, 20($3) block - i64.load $push10=, 8($7) - i64.shl $push5=, $4, $5 - i64.mul $push6=, $3, $pop5 - i32.mul $push7=, $6, $0 + i64.load $push10=, 8($3) + i64.shl $push5=, $5, $6 + i64.mul $push6=, $4, $pop5 + i32.mul $push7=, $7, $0 i64.extend_s/i32 $push8=, $pop7 i64.div_s $push9=, $pop6, $pop8 i64.add $push11=, $pop10, $pop9 i64.ne $push12=, $2, $pop11 br_if 0, $pop12 # 0: down to label0 # BB#1: # %if.end - i32.const $push19=, __stack_pointer + i32.const $push19=, 0 i32.const $push17=, 48 - i32.add $push18=, $7, $pop17 - i32.store $drop=, 0($pop19), $pop18 + i32.add $push18=, $3, $pop17 + i32.store $drop=, __stack_pointer($pop19), $pop18 return $1 .LBB0_2: # %if.then end_block # label0: diff --git a/test/torture-s/pr57281.c.s b/test/torture-s/pr57281.c.s index 930073efe..0a054997e 100644 --- a/test/torture-s/pr57281.c.s +++ b/test/torture-s/pr57281.c.s @@ -10,15 +10,15 @@ foo: # @foo .local i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load $push2=, g($pop0) + i32.load $push1=, g($pop0) i32.const $push7=, 0 i32.load $push6=, b($pop7) tee_local $push5=, $1=, $pop6 - i64.extend_s/i32 $push1=, $pop5 - i64.store $drop=, 0($pop2), $pop1 + i64.extend_s/i32 $push2=, $pop5 + i64.store $drop=, 0($pop1), $pop2 i32.const $push4=, 0 i32.select $push3=, $pop4, $1, $0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -29,46 +29,46 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32 # BB#0: # %entry block - i32.const $push8=, 0 - i32.load $push1=, b($pop8) - i32.const $push7=, -20 - i32.eq $push2=, $pop1, $pop7 + i32.const $push9=, 0 + i32.load $push1=, b($pop9) + i32.const $push8=, -20 + i32.eq $push2=, $pop1, $pop8 br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.lr.ph + i32.const $push12=, 0 + i32.load $3=, g($pop12) i32.const $push11=, 0 - i32.load $1=, a($pop11) + i32.load $2=, e($pop11) i32.const $push10=, 0 - i32.load $2=, e($pop10) - i32.const $push9=, 0 - i32.load $3=, g($pop9) + i32.load $1=, a($pop10) .LBB1_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push17=, 0 - i64.load $drop=, f($pop17) - i32.const $push16=, 0 - i32.store $0=, 0($2), $pop16 - i32.load $push15=, b($0) - tee_local $push14=, $5=, $pop15 - i32.select $push4=, $0, $pop14, $1 - i32.store $drop=, 0($2), $pop4 - i32.load $4=, b($0) - i64.extend_s/i32 $push3=, $5 - i64.store $drop=, 0($3), $pop3 - i32.const $push13=, -1 - i32.add $push5=, $4, $pop13 - i32.store $push0=, b($0), $pop5 - i32.const $push12=, -20 - i32.ne $push6=, $pop0, $pop12 - br_if 0, $pop6 # 0: up to label1 + i32.const $push19=, 0 + i32.store $push18=, 0($2), $pop19 + tee_local $push17=, $0=, $pop18 + i32.load $push16=, b($0) + tee_local $push15=, $4=, $pop16 + i32.select $push3=, $pop17, $pop15, $1 + i32.store $drop=, 0($2), $pop3 + i64.load $drop=, f($0) + i64.extend_s/i32 $push4=, $4 + i64.store $drop=, 0($3), $pop4 + i32.load $push5=, b($0) + i32.const $push14=, -1 + i32.add $push6=, $pop5, $pop14 + i32.store $push0=, b($0), $pop6 + i32.const $push13=, -20 + i32.ne $push7=, $pop0, $pop13 + br_if 0, $pop7 # 0: up to label1 .LBB1_3: # %for.end end_loop # label2: end_block # label0: - i32.const $push18=, 0 - return $pop18 + i32.const $push20=, 0 + # fallthrough-return: $pop20 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr57321.c.s b/test/torture-s/pr57321.c.s index 76c87b1c6..708ad8e2a 100644 --- a/test/torture-s/pr57321.c.s +++ b/test/torture-s/pr57321.c.s @@ -19,7 +19,7 @@ main: # @main .LBB0_2: # %foo.exit end_block # label0: i32.const $push5=, 0 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr57344-1.c.s b/test/torture-s/pr57344-1.c.s index c63d6994f..71479e923 100644 --- a/test/torture-s/pr57344-1.c.s +++ b/test/torture-s/pr57344-1.c.s @@ -31,62 +31,62 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push18=, 0 - i32.load $0=, i($pop18) - i32.const $push17=, 0 + i32.const $push19=, 0 i64.const $push0=, 8583460864 - i64.store $drop=, s+8($pop17), $pop0 + i64.store $drop=, s+8($pop19), $pop0 block - i32.const $push16=, 0 - i32.gt_s $push1=, $0, $pop16 - br_if 0, $pop1 # 0: down to label1 + i32.const $push18=, 0 + i32.load $push1=, i($pop18) + i32.const $push17=, 0 + i32.gt_s $push2=, $pop1, $pop17 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %for.body.preheader - i32.const $push2=, -3161 - call foo@FUNCTION, $pop2 + i32.const $push3=, -3161 + call foo@FUNCTION, $pop3 + i32.const $push24=, 0 i32.const $push23=, 0 - i32.const $push22=, 0 - i32.load $push21=, i($pop22) - tee_local $push20=, $0=, $pop21 - i32.const $push19=, 1 - i32.add $push3=, $pop20, $pop19 - i32.store $drop=, i($pop23), $pop3 - i32.const $push4=, -1 - i32.gt_s $push5=, $0, $pop4 - br_if 0, $pop5 # 0: down to label1 + i32.load $push22=, i($pop23) + tee_local $push21=, $0=, $pop22 + i32.const $push20=, 1 + i32.add $push4=, $pop21, $pop20 + i32.store $drop=, i($pop24), $pop4 + i32.const $push5=, -1 + i32.gt_s $push6=, $0, $pop5 + br_if 0, $pop6 # 0: down to label1 # BB#2: # %for.body.for.body_crit_edge.preheader .LBB1_3: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label2: + i32.const $push36=, 0 + i64.load32_u $push9=, s+8($pop36) i32.const $push35=, 0 - i64.load32_u $push8=, s+8($pop35) - i32.const $push34=, 0 - i64.load8_u $push6=, s+12($pop34) - i64.const $push33=, 32 - i64.shl $push7=, $pop6, $pop33 - i64.or $push9=, $pop8, $pop7 - i64.const $push32=, 31 - i64.shl $push10=, $pop9, $pop32 - i64.const $push31=, 24 - i64.shr_s $push11=, $pop10, $pop31 - i64.const $push30=, 18 - i64.shr_u $push12=, $pop11, $pop30 - i32.wrap/i64 $push13=, $pop12 - call foo@FUNCTION, $pop13 + i64.load8_u $push7=, s+12($pop35) + i64.const $push34=, 32 + i64.shl $push8=, $pop7, $pop34 + i64.or $push10=, $pop9, $pop8 + i64.const $push33=, 31 + i64.shl $push11=, $pop10, $pop33 + i64.const $push32=, 24 + i64.shr_s $push12=, $pop11, $pop32 + i64.const $push31=, 18 + i64.shr_u $push13=, $pop12, $pop31 + i32.wrap/i64 $push14=, $pop13 + call foo@FUNCTION, $pop14 + i32.const $push30=, 0 i32.const $push29=, 0 - i32.const $push28=, 0 - i32.load $push27=, i($pop28) - tee_local $push26=, $0=, $pop27 - i32.const $push25=, 1 - i32.add $push14=, $pop26, $pop25 - i32.store $drop=, i($pop29), $pop14 - i32.const $push24=, 0 - i32.lt_s $push15=, $0, $pop24 - br_if 0, $pop15 # 0: up to label2 + i32.load $push28=, i($pop29) + tee_local $push27=, $0=, $pop28 + i32.const $push26=, 1 + i32.add $push15=, $pop27, $pop26 + i32.store $drop=, i($pop30), $pop15 + i32.const $push25=, 0 + i32.lt_s $push16=, $0, $pop25 + br_if 0, $pop16 # 0: up to label2 .LBB1_4: # %for.end end_loop # label3: end_block # label1: - i32.const $push36=, 0 - return $pop36 + i32.const $push37=, 0 + # fallthrough-return: $pop37 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr57344-2.c.s b/test/torture-s/pr57344-2.c.s index 840917c15..4549944cc 100644 --- a/test/torture-s/pr57344-2.c.s +++ b/test/torture-s/pr57344-2.c.s @@ -31,65 +31,65 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push20=, 0 - i32.load $0=, i($pop20) - i32.const $push19=, 0 + i32.const $push21=, 0 i64.const $push0=, 562525691183104 - i64.store $drop=, s+8($pop19), $pop0 + i64.store $drop=, s+8($pop21), $pop0 block - i32.const $push18=, 0 - i32.gt_s $push1=, $0, $pop18 - br_if 0, $pop1 # 0: down to label1 + i32.const $push20=, 0 + i32.load $push1=, i($pop20) + i32.const $push19=, 0 + i32.gt_s $push2=, $pop1, $pop19 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %for.body.preheader - i32.const $push2=, -3161 - call foo@FUNCTION, $pop2 + i32.const $push3=, -3161 + call foo@FUNCTION, $pop3 + i32.const $push26=, 0 i32.const $push25=, 0 - i32.const $push24=, 0 - i32.load $push23=, i($pop24) - tee_local $push22=, $0=, $pop23 - i32.const $push21=, 1 - i32.add $push3=, $pop22, $pop21 - i32.store $drop=, i($pop25), $pop3 - i32.const $push4=, -1 - i32.gt_s $push5=, $0, $pop4 - br_if 0, $pop5 # 0: down to label1 + i32.load $push24=, i($pop25) + tee_local $push23=, $0=, $pop24 + i32.const $push22=, 1 + i32.add $push4=, $pop23, $pop22 + i32.store $drop=, i($pop26), $pop4 + i32.const $push5=, -1 + i32.gt_s $push6=, $0, $pop5 + br_if 0, $pop6 # 0: down to label1 # BB#2: # %for.body.for.body_crit_edge.preheader .LBB1_3: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label2: + i32.const $push39=, 0 + i64.load32_u $push12=, s+8($pop39) i32.const $push38=, 0 - i64.load32_u $push11=, s+8($pop38) + i64.load16_u $push9=, s+12($pop38) i32.const $push37=, 0 - i64.load16_u $push8=, s+12($pop37) - i32.const $push36=, 0 - i64.load8_u $push6=, s+14($pop36) - i64.const $push35=, 16 - i64.shl $push7=, $pop6, $pop35 - i64.or $push9=, $pop8, $pop7 - i64.const $push34=, 32 - i64.shl $push10=, $pop9, $pop34 - i64.or $push12=, $pop11, $pop10 - i64.const $push33=, 15 - i64.shl $push13=, $pop12, $pop33 - i64.const $push32=, 42 - i64.shr_s $push14=, $pop13, $pop32 - i32.wrap/i64 $push15=, $pop14 - call foo@FUNCTION, $pop15 + i64.load8_u $push7=, s+14($pop37) + i64.const $push36=, 16 + i64.shl $push8=, $pop7, $pop36 + i64.or $push10=, $pop9, $pop8 + i64.const $push35=, 32 + i64.shl $push11=, $pop10, $pop35 + i64.or $push13=, $pop12, $pop11 + i64.const $push34=, 15 + i64.shl $push14=, $pop13, $pop34 + i64.const $push33=, 42 + i64.shr_s $push15=, $pop14, $pop33 + i32.wrap/i64 $push16=, $pop15 + call foo@FUNCTION, $pop16 + i32.const $push32=, 0 i32.const $push31=, 0 - i32.const $push30=, 0 - i32.load $push29=, i($pop30) - tee_local $push28=, $0=, $pop29 - i32.const $push27=, 1 - i32.add $push16=, $pop28, $pop27 - i32.store $drop=, i($pop31), $pop16 - i32.const $push26=, 0 - i32.lt_s $push17=, $0, $pop26 - br_if 0, $pop17 # 0: up to label2 + i32.load $push30=, i($pop31) + tee_local $push29=, $0=, $pop30 + i32.const $push28=, 1 + i32.add $push17=, $pop29, $pop28 + i32.store $drop=, i($pop32), $pop17 + i32.const $push27=, 0 + i32.lt_s $push18=, $0, $pop27 + br_if 0, $pop18 # 0: up to label2 .LBB1_4: # %for.end end_loop # label3: end_block # label1: - i32.const $push39=, 0 - return $pop39 + i32.const $push40=, 0 + # fallthrough-return: $pop40 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr57344-3.c.s b/test/torture-s/pr57344-3.c.s index 18ff9ae6c..1a4ee40c3 100644 --- a/test/torture-s/pr57344-3.c.s +++ b/test/torture-s/pr57344-3.c.s @@ -29,76 +29,76 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i64 + .local i64, i32 # BB#0: # %entry + i32.const $push25=, 0 i32.const $push24=, 0 - i32.load $0=, i($pop24) + i64.load $push0=, .Lmain.t+8($pop24):p2align=0 + i64.store $drop=, s+24($pop25), $pop0 i32.const $push23=, 0 i32.const $push22=, 0 - i64.load $push0=, .Lmain.t+8($pop22):p2align=0 - i64.store $drop=, s+24($pop23), $pop0 + i64.load $push1=, .Lmain.t($pop22):p2align=0 + i64.store $drop=, s+16($pop23), $pop1 + block i32.const $push21=, 0 + i32.load $push2=, i($pop21) i32.const $push20=, 0 - i64.load $push1=, .Lmain.t($pop20):p2align=0 - i64.store $drop=, s+16($pop21), $pop1 - block - i32.const $push19=, 0 - i32.gt_s $push2=, $0, $pop19 - br_if 0, $pop2 # 0: down to label1 + i32.gt_s $push3=, $pop2, $pop20 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %for.body.preheader - i64.const $push3=, -3161 - call foo@FUNCTION, $pop3 + i64.const $push4=, -3161 + call foo@FUNCTION, $pop4 + i32.const $push30=, 0 i32.const $push29=, 0 - i32.const $push28=, 0 - i32.load $push27=, i($pop28) - tee_local $push26=, $0=, $pop27 - i32.const $push25=, 1 - i32.add $push4=, $pop26, $pop25 - i32.store $drop=, i($pop29), $pop4 - i32.const $push5=, -1 - i32.gt_s $push6=, $0, $pop5 - br_if 0, $pop6 # 0: down to label1 + i32.load $push28=, i($pop29) + tee_local $push27=, $1=, $pop28 + i32.const $push26=, 1 + i32.add $push5=, $pop27, $pop26 + i32.store $drop=, i($pop30), $pop5 + i32.const $push6=, -1 + i32.gt_s $push7=, $1, $pop6 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %for.body.for.body_crit_edge.preheader .LBB1_3: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label2: - i32.const $push46=, 0 - i64.load $push45=, s+16($pop46) - tee_local $push44=, $1=, $pop45 - i64.const $push43=, 7 - i64.shl $push13=, $pop44, $pop43 - i64.const $push42=, 50 - i64.shr_u $push15=, $pop13, $pop42 - i32.const $push41=, 0 - i64.load8_u $push7=, s+24($pop41) - i64.const $push40=, 7 - i64.shl $push9=, $pop7, $pop40 - i64.const $push39=, 57 - i64.shr_u $push8=, $1, $pop39 - i64.or $push10=, $pop9, $pop8 + i32.const $push47=, 0 + i64.load $push46=, s+16($pop47) + tee_local $push45=, $0=, $pop46 + i64.const $push44=, 7 + i64.shl $push15=, $pop45, $pop44 + i64.const $push43=, 50 + i64.shr_u $push16=, $pop15, $pop43 + i32.const $push42=, 0 + i64.load8_u $push9=, s+24($pop42) + i64.const $push41=, 7 + i64.shl $push10=, $pop9, $pop41 + i64.const $push40=, 57 + i64.shr_u $push8=, $0, $pop40 + i64.or $push11=, $pop10, $pop8 + i64.const $push39=, 56 + i64.shl $push12=, $pop11, $pop39 i64.const $push38=, 56 - i64.shl $push11=, $pop10, $pop38 - i64.const $push37=, 56 - i64.shr_s $push12=, $pop11, $pop37 - i64.const $push36=, 14 - i64.shl $push14=, $pop12, $pop36 - i64.or $push16=, $pop15, $pop14 - call foo@FUNCTION, $pop16 + i64.shr_s $push13=, $pop12, $pop38 + i64.const $push37=, 14 + i64.shl $push14=, $pop13, $pop37 + i64.or $push17=, $pop16, $pop14 + call foo@FUNCTION, $pop17 + i32.const $push36=, 0 i32.const $push35=, 0 - i32.const $push34=, 0 - i32.load $push33=, i($pop34) - tee_local $push32=, $0=, $pop33 - i32.const $push31=, 1 - i32.add $push17=, $pop32, $pop31 - i32.store $drop=, i($pop35), $pop17 - i32.const $push30=, 0 - i32.lt_s $push18=, $0, $pop30 - br_if 0, $pop18 # 0: up to label2 + i32.load $push34=, i($pop35) + tee_local $push33=, $1=, $pop34 + i32.const $push32=, 1 + i32.add $push18=, $pop33, $pop32 + i32.store $drop=, i($pop36), $pop18 + i32.const $push31=, 0 + i32.lt_s $push19=, $1, $pop31 + br_if 0, $pop19 # 0: up to label2 .LBB1_4: # %for.end end_loop # label3: end_block # label1: - i32.const $push47=, 0 - return $pop47 + i32.const $push48=, 0 + # fallthrough-return: $pop48 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr57344-4.c.s b/test/torture-s/pr57344-4.c.s index 5b97d3bb7..4716a5627 100644 --- a/test/torture-s/pr57344-4.c.s +++ b/test/torture-s/pr57344-4.c.s @@ -31,76 +31,76 @@ main: # @main .result i32 .local i32 # BB#0: # %entry + i32.const $push28=, 0 i32.const $push27=, 0 - i32.load $0=, i($pop27) + i64.load $push0=, .Lmain.t+8($pop27):p2align=0 + i64.store $drop=, s+24($pop28), $pop0 i32.const $push26=, 0 i32.const $push25=, 0 - i64.load $push0=, .Lmain.t+8($pop25):p2align=0 - i64.store $drop=, s+24($pop26), $pop0 + i64.load $push1=, .Lmain.t($pop25):p2align=0 + i64.store $drop=, s+16($pop26), $pop1 + block i32.const $push24=, 0 + i32.load $push2=, i($pop24) i32.const $push23=, 0 - i64.load $push1=, .Lmain.t($pop23):p2align=0 - i64.store $drop=, s+16($pop24), $pop1 - block - i32.const $push22=, 0 - i32.gt_s $push2=, $0, $pop22 - br_if 0, $pop2 # 0: down to label1 + i32.gt_s $push3=, $pop2, $pop23 + br_if 0, $pop3 # 0: down to label1 # BB#1: # %for.body.preheader - i64.const $push3=, -1220975898975746 - call foo@FUNCTION, $pop3 + i64.const $push4=, -1220975898975746 + call foo@FUNCTION, $pop4 + i32.const $push33=, 0 i32.const $push32=, 0 - i32.const $push31=, 0 - i32.load $push30=, i($pop31) - tee_local $push29=, $0=, $pop30 - i32.const $push28=, 1 - i32.add $push4=, $pop29, $pop28 - i32.store $drop=, i($pop32), $pop4 - i32.const $push5=, -1 - i32.gt_s $push6=, $0, $pop5 - br_if 0, $pop6 # 0: down to label1 + i32.load $push31=, i($pop32) + tee_local $push30=, $0=, $pop31 + i32.const $push29=, 1 + i32.add $push5=, $pop30, $pop29 + i32.store $drop=, i($pop33), $pop5 + i32.const $push6=, -1 + i32.gt_s $push7=, $0, $pop6 + br_if 0, $pop7 # 0: down to label1 # BB#2: # %for.body.for.body_crit_edge.preheader .LBB1_3: # %for.body.for.body_crit_edge # =>This Inner Loop Header: Depth=1 loop # label2: + i32.const $push49=, 0 + i64.load32_u $push15=, s+24($pop49) i32.const $push48=, 0 - i64.load32_u $push12=, s+24($pop48) + i64.load16_u $push12=, s+28($pop48) i32.const $push47=, 0 - i64.load16_u $push9=, s+28($pop47) - i32.const $push46=, 0 - i64.load8_u $push7=, s+30($pop46) - i64.const $push45=, 16 - i64.shl $push8=, $pop7, $pop45 - i64.or $push10=, $pop9, $pop8 - i64.const $push44=, 32 - i64.shl $push11=, $pop10, $pop44 + i64.load8_u $push10=, s+30($pop47) + i64.const $push46=, 16 + i64.shl $push11=, $pop10, $pop46 i64.or $push13=, $pop12, $pop11 - i64.const $push43=, 7 - i64.shl $push16=, $pop13, $pop43 - i32.const $push42=, 0 - i64.load $push14=, s+16($pop42) - i64.const $push41=, 57 - i64.shr_u $push15=, $pop14, $pop41 - i64.or $push17=, $pop16, $pop15 - i64.const $push40=, 8 - i64.shl $push18=, $pop17, $pop40 - i64.const $push39=, 10 - i64.shr_s $push19=, $pop18, $pop39 - call foo@FUNCTION, $pop19 + i64.const $push45=, 32 + i64.shl $push14=, $pop13, $pop45 + i64.or $push16=, $pop15, $pop14 + i64.const $push44=, 7 + i64.shl $push17=, $pop16, $pop44 + i32.const $push43=, 0 + i64.load $push8=, s+16($pop43) + i64.const $push42=, 57 + i64.shr_u $push9=, $pop8, $pop42 + i64.or $push18=, $pop17, $pop9 + i64.const $push41=, 8 + i64.shl $push19=, $pop18, $pop41 + i64.const $push40=, 10 + i64.shr_s $push20=, $pop19, $pop40 + call foo@FUNCTION, $pop20 + i32.const $push39=, 0 i32.const $push38=, 0 - i32.const $push37=, 0 - i32.load $push36=, i($pop37) - tee_local $push35=, $0=, $pop36 - i32.const $push34=, 1 - i32.add $push20=, $pop35, $pop34 - i32.store $drop=, i($pop38), $pop20 - i32.const $push33=, 0 - i32.lt_s $push21=, $0, $pop33 - br_if 0, $pop21 # 0: up to label2 + i32.load $push37=, i($pop38) + tee_local $push36=, $0=, $pop37 + i32.const $push35=, 1 + i32.add $push21=, $pop36, $pop35 + i32.store $drop=, i($pop39), $pop21 + i32.const $push34=, 0 + i32.lt_s $push22=, $0, $pop34 + br_if 0, $pop22 # 0: up to label2 .LBB1_4: # %for.end end_loop # label3: end_block # label1: - i32.const $push49=, 0 - return $pop49 + i32.const $push50=, 0 + # fallthrough-return: $pop50 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr57568.c.s b/test/torture-s/pr57568.c.s index 849157ce8..00d79635c 100644 --- a/test/torture-s/pr57568.c.s +++ b/test/torture-s/pr57568.c.s @@ -6,27 +6,28 @@ .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry block block i32.const $push3=, 0 i32.load $push0=, b($pop3) - i32.eqz $push8=, $pop0 - br_if 0, $pop8 # 0: down to label1 + i32.eqz $push10=, $pop0 + br_if 0, $pop10 # 0: down to label1 # BB#1: # %land.lhs.true - i32.const $push6=, 0 - i32.load $0=, c($pop6) + i32.const $push8=, 0 + i32.load $push7=, c($pop8) + tee_local $push6=, $0=, $pop7 i32.load $push5=, 0($0) - tee_local $push4=, $1=, $pop5 + tee_local $push4=, $0=, $pop5 i32.const $push1=, 1 i32.shl $push2=, $pop4, $pop1 - i32.store $drop=, 0($0), $pop2 - br_if 1, $1 # 1: down to label0 + i32.store $drop=, 0($pop6), $pop2 + br_if 1, $0 # 1: down to label0 .LBB0_2: # %if.end end_block # label1: - i32.const $push7=, 0 - return $pop7 + i32.const $push9=, 0 + return $pop9 .LBB0_3: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr57829.c.s b/test/torture-s/pr57829.c.s index ec935ffc0..bf5fcf562 100644 --- a/test/torture-s/pr57829.c.s +++ b/test/torture-s/pr57829.c.s @@ -14,7 +14,7 @@ f1: # @f1 i32.shr_s $push3=, $pop1, $pop2 i32.const $push4=, 2 i32.or $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -33,7 +33,7 @@ f2: # @f2 i32.shr_s $push3=, $pop1, $pop2 i32.const $push4=, 2 i32.or $push5=, $pop3, $pop4 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -54,7 +54,7 @@ f3: # @f3 i32.shr_u $push5=, $pop3, $pop4 i32.const $push6=, 4 i32.or $push7=, $pop5, $pop6 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 diff --git a/test/torture-s/pr57860.c.s b/test/torture-s/pr57860.c.s index 27d8f8dc5..f3989fd6f 100644 --- a/test/torture-s/pr57860.c.s +++ b/test/torture-s/pr57860.c.s @@ -9,13 +9,13 @@ foo: # @foo .result i32 .local i64, i32, i32, i32 # BB#0: # %entry - i64.extend_s/i32 $1=, $0 i32.const $push13=, 0 - i32.load $2=, b($pop13) + i32.load $4=, f($pop13) i32.const $push12=, 0 i32.load $3=, h($pop12) i32.const $push11=, 0 - i32.load $4=, f($pop11) + i32.load $2=, b($pop11) + i64.extend_s/i32 $1=, $0 .LBB0_1: # %for.cond # =>This Inner Loop Header: Depth=1 loop # label0: @@ -58,7 +58,7 @@ foo: # @foo .LBB0_5: # %if.then end_loop # label1: i32.const $push9=, 0 - return $pop9 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -72,11 +72,11 @@ main: # @main .local i32, i32, i32, i32 # BB#0: # %entry i32.const $push15=, 0 - i32.load $0=, b($pop15) + i32.load $2=, f($pop15) i32.const $push14=, 0 i32.load $1=, h($pop14) i32.const $push13=, 0 - i32.load $2=, f($pop13) + i32.load $0=, b($pop13) .LBB1_1: # %for.cond.i # =>This Inner Loop Header: Depth=1 loop # label3: diff --git a/test/torture-s/pr57861.c.s b/test/torture-s/pr57861.c.s index 31de17714..41c97e38e 100644 --- a/test/torture-s/pr57861.c.s +++ b/test/torture-s/pr57861.c.s @@ -6,50 +6,51 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load16_u $1=, a($pop1) - i32.const $push20=, 0 - i32.load $2=, e($pop20) - i32.const $push19=, 0 - i32.const $push18=, 0 - i32.store $0=, c($pop19), $pop18 - copy_local $3=, $1 + i32.const $push0=, 0 + i32.const $push23=, 0 + i32.store $push22=, c($pop0), $pop23 + tee_local $push21=, $0=, $pop22 + i32.load16_u $push20=, a($pop21) + tee_local $push19=, $1=, $pop20 + copy_local $2=, $pop19 block - i32.const $push2=, 24 - i32.shl $push3=, $1, $pop2 - i32.const $push17=, 24 - i32.shr_s $push4=, $pop3, $pop17 - i32.ge_u $push5=, $2, $pop4 - br_if 0, $pop5 # 0: down to label0 + i32.load $push8=, e($0) + i32.const $push5=, 24 + i32.shl $push6=, $1, $pop5 + i32.const $push18=, 24 + i32.shr_s $push7=, $pop6, $pop18 + i32.ge_u $push9=, $pop8, $pop7 + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.then.i.1 - i32.load $push6=, d($0) - i32.ne $push7=, $pop6, $0 - i32.load $push8=, h($0) - i32.ne $push9=, $pop8, $0 - i32.and $push22=, $pop7, $pop9 - tee_local $push21=, $3=, $pop22 - i32.store16 $drop=, a($0), $pop21 + i32.load $push3=, d($0) + i32.ne $push4=, $pop3, $0 + i32.load $push1=, h($0) + i32.ne $push2=, $pop1, $0 + i32.and $push25=, $pop4, $pop2 + tee_local $push24=, $2=, $pop25 + i32.store16 $drop=, a($0), $pop24 i32.store16 $drop=, f($0), $0 .LBB0_2: # %for.inc.i.1 end_block # label0: - i32.const $push10=, 255 - i32.and $push11=, $1, $pop10 - i32.ne $push12=, $pop11, $0 - i32.store $drop=, i($0), $pop12 - i32.load $1=, g($0) - i32.const $push13=, 2 - i32.store $drop=, c($0), $pop13 - i32.store $push0=, j($0), $0 - i32.store $drop=, 0($1), $pop0 + i32.const $push10=, 2 + i32.store $drop=, c($0), $pop10 + i32.const $push11=, 255 + i32.and $push12=, $1, $pop11 + i32.ne $push13=, $pop12, $0 + i32.store $drop=, i($0), $pop13 + i32.store $push27=, j($0), $0 + tee_local $push26=, $0=, $pop27 + i32.load $push14=, g($pop26) + i32.store $drop=, 0($pop14), $0 block - i32.const $push14=, 65535 - i32.and $push15=, $3, $pop14 - br_if 0, $pop15 # 0: down to label1 + i32.const $push15=, 65535 + i32.and $push16=, $2, $pop15 + br_if 0, $pop16 # 0: down to label1 # BB#3: # %if.end - i32.const $push16=, 0 - return $pop16 + i32.const $push17=, 0 + return $pop17 .LBB0_4: # %if.then end_block # label1: call abort@FUNCTION diff --git a/test/torture-s/pr57875.c.s b/test/torture-s/pr57875.c.s index 694458fb8..fac3ff4e3 100644 --- a/test/torture-s/pr57875.c.s +++ b/test/torture-s/pr57875.c.s @@ -11,15 +11,15 @@ main: # @main block i32.const $push15=, 0 i32.load $push14=, i($pop15) - tee_local $push13=, $3=, $pop14 + tee_local $push13=, $4=, $pop14 i32.const $push12=, 0 i32.gt_s $push1=, $pop13, $pop12 br_if 0, $pop1 # 0: down to label0 # BB#1: # %for.body.lr.ph i32.const $push17=, 0 - i32.load $0=, d($pop17) + i32.load $1=, c($pop17) i32.const $push16=, 0 - i32.load $1=, c($pop16) + i32.load $0=, d($pop16) .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: @@ -34,12 +34,12 @@ main: # @main # BB#4: # %if.then.if.end_crit_edge # in Loop: Header=BB0_2 Depth=1 i32.const $push18=, 0 - i32.load $2=, f($pop18) + i32.load $3=, f($pop18) br 1 # 1: down to label4 .LBB0_5: # %if.then2 # in Loop: Header=BB0_2 Depth=1 end_block # label5: - i32.const $2=, 2 + i32.const $3=, 2 i32.const $push20=, 0 i32.const $push19=, 2 i32.store $drop=, f($pop20), $pop19 @@ -49,22 +49,22 @@ main: # @main i32.const $push22=, 0 i32.const $push21=, 0 i32.load8_u $push2=, e($pop21) - i32.and $push3=, $pop2, $2 + i32.and $push3=, $pop2, $3 i32.store8 $drop=, e($pop22), $pop3 .LBB0_7: # %for.inc # in Loop: Header=BB0_2 Depth=1 end_block # label3: i32.const $push26=, 0 - i32.lt_s $2=, $3, $pop26 + i32.lt_s $3=, $4, $pop26 i32.const $push25=, 1 - i32.add $push24=, $3, $pop25 - tee_local $push23=, $4=, $pop24 - copy_local $3=, $pop23 - br_if 0, $2 # 0: up to label1 + i32.add $push24=, $4, $pop25 + tee_local $push23=, $2=, $pop24 + copy_local $4=, $pop23 + br_if 0, $3 # 0: up to label1 # BB#8: # %for.cond.for.end_crit_edge end_loop # label2: i32.const $push4=, 0 - i32.store $drop=, i($pop4), $4 + i32.store $drop=, i($pop4), $2 .LBB0_9: # %for.end end_block # label0: block diff --git a/test/torture-s/pr57876.c.s b/test/torture-s/pr57876.c.s index 4ac9c77fb..c728c0e08 100644 --- a/test/torture-s/pr57876.c.s +++ b/test/torture-s/pr57876.c.s @@ -6,159 +6,161 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64 # BB#0: # %for.body4.1 - i32.const $push80=, __stack_pointer - i32.const $push77=, __stack_pointer - i32.load $push78=, 0($pop77) - i32.const $push79=, 16 - i32.sub $push86=, $pop78, $pop79 - i32.store $9=, 0($pop80), $pop86 - i32.const $push16=, 0 - i32.load $10=, d($pop16) - i32.const $push105=, 0 - i32.const $push104=, 0 - i32.store $8=, f($pop105), $pop104 - i32.load $push103=, a($8) - tee_local $push102=, $12=, $pop103 - i32.load $push17=, 0($10) - i32.store $push0=, j($8), $pop17 - i32.mul $push18=, $pop102, $pop0 - i32.const $push19=, -1 - i32.add $push20=, $pop18, $pop19 - i32.store $drop=, h($8), $pop20 - i32.const $push21=, 1 - i32.store $0=, f($8), $pop21 - i32.load $push22=, 0($10) - i32.store $push1=, j($8), $pop22 - i32.mul $push23=, $12, $pop1 - i32.const $push101=, -1 - i32.add $push24=, $pop23, $pop101 - i32.store $drop=, h($8), $pop24 - i32.const $push25=, 2 - i32.store $1=, f($8), $pop25 - i32.load $push26=, 0($10) - i32.store $push2=, j($8), $pop26 - i32.mul $push27=, $12, $pop2 - i32.const $push100=, -1 - i32.add $push28=, $pop27, $pop100 - i32.store $drop=, h($8), $pop28 - i32.const $push29=, 3 - i32.store $2=, f($8), $pop29 - i32.load $push30=, 0($10) - i32.store $push3=, j($8), $pop30 - i32.mul $push31=, $12, $pop3 - i32.const $push99=, -1 - i32.add $push32=, $pop31, $pop99 - i32.store $drop=, h($8), $pop32 - i32.const $push33=, 4 - i32.store $3=, f($8), $pop33 - i32.load $push34=, 0($10) - i32.store $push4=, j($8), $pop34 - i32.mul $push35=, $12, $pop4 - i32.const $push98=, -1 - i32.add $push36=, $pop35, $pop98 - i32.store $drop=, h($8), $pop36 - i32.const $push37=, 5 - i32.store $4=, f($8), $pop37 - i32.load $push38=, 0($10) - i32.store $push5=, j($8), $pop38 - i32.mul $push39=, $12, $pop5 - i32.const $push97=, -1 - i32.add $push40=, $pop39, $pop97 - i32.store $drop=, h($8), $pop40 - i32.const $push41=, 6 - i32.store $5=, f($8), $pop41 - i32.load $push42=, 0($10) - i32.store $push6=, j($8), $pop42 - i32.mul $push43=, $12, $pop6 - i32.const $push96=, -1 - i32.add $push44=, $pop43, $pop96 - i32.store $drop=, h($8), $pop44 - i32.const $push45=, 7 - i32.store $6=, f($8), $pop45 - i32.load $push46=, 0($10) - i32.store $push7=, j($8), $pop46 - i32.mul $push47=, $12, $pop7 - i32.const $push95=, -1 - i32.add $push48=, $pop47, $pop95 - i32.store $drop=, h($8), $pop48 - i32.const $push49=, 8 - i32.store $7=, f($8), $pop49 - i32.store $drop=, f($8), $8 - i32.load $push50=, 0($10) - i32.store $push8=, j($8), $pop50 - i32.mul $push51=, $12, $pop8 - i32.const $push94=, -1 - i32.add $push52=, $pop51, $pop94 - i32.store $drop=, h($8), $pop52 - i32.store $drop=, f($8), $0 - i32.load $push53=, 0($10) - i32.store $push9=, j($8), $pop53 - i32.mul $push54=, $12, $pop9 - i32.const $push93=, -1 - i32.add $push55=, $pop54, $pop93 - i32.store $drop=, h($8), $pop55 - i32.store $drop=, f($8), $1 - i32.load $push56=, 0($10) - i32.store $push10=, j($8), $pop56 - i32.mul $push57=, $12, $pop10 - i32.const $push92=, -1 - i32.add $push58=, $pop57, $pop92 - i32.store $drop=, h($8), $pop58 - i32.store $drop=, f($8), $2 - i32.load $push59=, 0($10) - i32.store $push11=, j($8), $pop59 - i32.mul $push60=, $12, $pop11 - i32.const $push91=, -1 - i32.add $push61=, $pop60, $pop91 - i32.store $drop=, h($8), $pop61 - i32.store $drop=, f($8), $3 - i32.load $push62=, 0($10) - i32.store $push12=, j($8), $pop62 - i32.mul $push63=, $12, $pop12 - i32.const $push90=, -1 - i32.add $push64=, $pop63, $pop90 - i32.store $drop=, h($8), $pop64 - i32.store $drop=, f($8), $4 - i32.load $push65=, 0($10) - i32.store $push13=, j($8), $pop65 - i32.mul $push66=, $12, $pop13 - i32.const $push89=, -1 - i32.add $push67=, $pop66, $pop89 - i32.store $drop=, h($8), $pop67 - i32.store $drop=, f($8), $5 - i32.load $push68=, 0($10) - i32.store $push14=, j($8), $pop68 - i32.mul $push69=, $12, $pop14 + i32.const $push65=, 0 + i32.const $push62=, 0 + i32.load $push63=, __stack_pointer($pop62) + i32.const $push64=, 16 + i32.sub $push71=, $pop63, $pop64 + i32.store $10=, __stack_pointer($pop65), $pop71 + i32.const $push1=, 0 + i32.load $11=, d($pop1) + i32.const $push94=, 0 + i32.const $push93=, 0 + i32.store $push92=, f($pop94), $pop93 + tee_local $push91=, $0=, $pop92 + i32.load $push2=, 0($11) + i32.store $1=, j($pop91), $pop2 + i32.const $push3=, 1 + i32.store $2=, f($0), $pop3 + i32.load $push90=, a($0) + tee_local $push89=, $12=, $pop90 + i32.mul $push4=, $1, $pop89 + i32.const $push5=, -1 + i32.add $push6=, $pop4, $pop5 + i32.store $drop=, h($0), $pop6 + i32.load $push7=, 0($11) + i32.store $1=, j($0), $pop7 + i32.const $push8=, 2 + i32.store $3=, f($0), $pop8 + i32.mul $push9=, $12, $1 i32.const $push88=, -1 - i32.add $push70=, $pop69, $pop88 - i32.store $drop=, h($8), $pop70 - i32.store $drop=, f($8), $6 - i32.load $push71=, 0($10) - i32.store $10=, j($8), $pop71 - i32.store $drop=, f($8), $7 - i64.load32_s $11=, b($8) - i32.mul $push72=, $12, $10 + i32.add $push10=, $pop9, $pop88 + i32.store $drop=, h($0), $pop10 + i32.load $push11=, 0($11) + i32.store $1=, j($0), $pop11 + i32.const $push12=, 3 + i32.store $4=, f($0), $pop12 + i32.mul $push13=, $12, $1 i32.const $push87=, -1 - i32.add $push73=, $pop72, $pop87 - i32.store $push15=, h($8), $pop73 - i32.eqz $push74=, $pop15 - i64.extend_u/i32 $push75=, $pop74 - i64.lt_s $push76=, $pop75, $11 - i32.store $10=, e($8), $pop76 - i32.const $push84=, 12 - i32.add $push85=, $9, $pop84 - i32.store $drop=, g($8), $pop85 + i32.add $push14=, $pop13, $pop87 + i32.store $drop=, h($0), $pop14 + i32.load $push15=, 0($11) + i32.store $1=, j($0), $pop15 + i32.const $push16=, 4 + i32.store $5=, f($0), $pop16 + i32.mul $push17=, $12, $1 + i32.const $push86=, -1 + i32.add $push18=, $pop17, $pop86 + i32.store $drop=, h($0), $pop18 + i32.load $push19=, 0($11) + i32.store $1=, j($0), $pop19 + i32.const $push20=, 5 + i32.store $6=, f($0), $pop20 + i32.mul $push21=, $12, $1 + i32.const $push85=, -1 + i32.add $push22=, $pop21, $pop85 + i32.store $drop=, h($0), $pop22 + i32.load $push23=, 0($11) + i32.store $1=, j($0), $pop23 + i32.const $push24=, 6 + i32.store $7=, f($0), $pop24 + i32.mul $push25=, $12, $1 + i32.const $push84=, -1 + i32.add $push26=, $pop25, $pop84 + i32.store $drop=, h($0), $pop26 + i32.load $push27=, 0($11) + i32.store $1=, j($0), $pop27 + i32.const $push28=, 7 + i32.store $8=, f($0), $pop28 + i32.mul $push29=, $12, $1 + i32.const $push83=, -1 + i32.add $push30=, $pop29, $pop83 + i32.store $drop=, h($0), $pop30 + i32.load $push31=, 0($11) + i32.store $1=, j($0), $pop31 + i32.const $push32=, 8 + i32.store $9=, f($0), $pop32 + i32.mul $push33=, $12, $1 + i32.const $push82=, -1 + i32.add $push34=, $pop33, $pop82 + i32.store $drop=, h($0), $pop34 + i64.load32_s $13=, b($0) + i32.store $push81=, f($0), $0 + tee_local $push80=, $0=, $pop81 + i32.load $push35=, 0($11) + i32.store $1=, j($pop80), $pop35 + i32.store $drop=, f($0), $2 + i32.mul $push36=, $12, $1 + i32.const $push79=, -1 + i32.add $push37=, $pop36, $pop79 + i32.store $drop=, h($0), $pop37 + i32.load $push38=, 0($11) + i32.store $1=, j($0), $pop38 + i32.store $drop=, f($0), $3 + i32.mul $push39=, $12, $1 + i32.const $push78=, -1 + i32.add $push40=, $pop39, $pop78 + i32.store $drop=, h($0), $pop40 + i32.load $push41=, 0($11) + i32.store $1=, j($0), $pop41 + i32.store $drop=, f($0), $4 + i32.mul $push42=, $12, $1 + i32.const $push77=, -1 + i32.add $push43=, $pop42, $pop77 + i32.store $drop=, h($0), $pop43 + i32.load $push44=, 0($11) + i32.store $1=, j($0), $pop44 + i32.store $drop=, f($0), $5 + i32.mul $push45=, $12, $1 + i32.const $push76=, -1 + i32.add $push46=, $pop45, $pop76 + i32.store $drop=, h($0), $pop46 + i32.load $push47=, 0($11) + i32.store $1=, j($0), $pop47 + i32.store $drop=, f($0), $6 + i32.mul $push48=, $12, $1 + i32.const $push75=, -1 + i32.add $push49=, $pop48, $pop75 + i32.store $drop=, h($0), $pop49 + i32.load $push50=, 0($11) + i32.store $1=, j($0), $pop50 + i32.store $drop=, f($0), $7 + i32.mul $push51=, $12, $1 + i32.const $push74=, -1 + i32.add $push52=, $pop51, $pop74 + i32.store $drop=, h($0), $pop52 + i32.load $push53=, 0($11) + i32.store $1=, j($0), $pop53 + i32.store $drop=, f($0), $8 + i32.mul $push54=, $12, $1 + i32.const $push73=, -1 + i32.add $push55=, $pop54, $pop73 + i32.store $drop=, h($0), $pop55 + i32.load $push56=, 0($11) + i32.store $11=, j($0), $pop56 + i32.store $drop=, f($0), $9 + i32.mul $push57=, $12, $11 + i32.const $push72=, -1 + i32.add $push58=, $pop57, $pop72 + i32.store $push0=, h($0), $pop58 + i32.eqz $push59=, $pop0 + i64.extend_u/i32 $push60=, $pop59 + i64.lt_s $push61=, $pop60, $13 + i32.store $11=, e($0), $pop61 + i32.const $push69=, 12 + i32.add $push70=, $10, $pop69 + i32.store $drop=, g($0), $pop70 block - i32.eqz $push106=, $10 - br_if 0, $pop106 # 0: down to label0 + i32.eqz $push95=, $11 + br_if 0, $pop95 # 0: down to label0 # BB#1: # %if.end - i32.const $push83=, __stack_pointer - i32.const $push81=, 16 - i32.add $push82=, $9, $pop81 - i32.store $drop=, 0($pop83), $pop82 - return $8 + i32.const $push68=, 0 + i32.const $push66=, 16 + i32.add $push67=, $10, $pop66 + i32.store $drop=, __stack_pointer($pop68), $pop67 + return $0 .LBB0_2: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr57877.c.s b/test/torture-s/pr57877.c.s index 930a13d7c..3e8746d25 100644 --- a/test/torture-s/pr57877.c.s +++ b/test/torture-s/pr57877.c.s @@ -10,64 +10,65 @@ main: # @main # BB#0: # %entry block block - i32.const $push15=, 0 - i32.load $push14=, g($pop15) - tee_local $push13=, $5=, $pop14 - i32.const $push12=, 1 - i32.lt_s $push0=, $pop13, $pop12 - br_if 0, $pop0 # 0: down to label1 -# BB#1: # %entry.foo.exit_crit_edge i32.const $push16=, 0 - i32.load $4=, e($pop16) + i32.load $push15=, g($pop16) + tee_local $push14=, $4=, $pop15 + i32.const $push13=, 1 + i32.lt_s $push1=, $pop14, $pop13 + br_if 0, $pop1 # 0: down to label1 +# BB#1: # %entry.foo.exit_crit_edge + i32.const $push17=, 0 + i32.load $5=, e($pop17) br 1 # 1: down to label0 .LBB0_2: # %for.body.lr.ph.i end_block # label1: + i32.const $push20=, 0 + i64.load32_s $1=, f($pop20) + i32.const $push2=, -1 + i32.add $4=, $4, $pop2 i32.const $push19=, 0 - i64.load32_s $1=, f($pop19) + i32.load $3=, a($pop19) i32.const $push18=, 0 i32.load $2=, c($pop18) - i32.const $push17=, 0 - i32.load $3=, a($pop17) - i32.const $push1=, -1 - i32.add $5=, $5, $pop1 .LBB0_3: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label2: - i32.load $4=, 0($2) + i32.const $push32=, 0 + i32.load $push0=, 0($2) + i32.store $0=, h($pop32), $pop0 + i32.const $push31=, 0 + i32.const $push30=, 2 + i32.add $push3=, $4, $pop30 + i32.store $drop=, g($pop31), $pop3 i32.const $push29=, 0 - i32.const $push28=, 2 - i32.add $push6=, $5, $pop28 - i32.store $drop=, g($pop29), $pop6 - i32.const $push27=, 0 - i32.store $0=, h($pop27), $4 - i32.const $push26=, 0 - i32.const $push25=, 16 - i32.shl $push2=, $4, $pop25 - i32.const $push24=, 16 - i32.shr_s $push3=, $pop2, $pop24 - i32.eq $push4=, $pop3, $3 - i64.extend_u/i32 $push5=, $pop4 - i64.lt_u $push23=, $pop5, $1 + i32.const $push28=, 16 + i32.shl $push4=, $0, $pop28 + i32.const $push27=, 16 + i32.shr_s $push5=, $pop4, $pop27 + i32.eq $push6=, $pop5, $3 + i64.extend_u/i32 $push7=, $pop6 + i64.lt_u $push26=, $pop7, $1 + tee_local $push25=, $5=, $pop26 + i32.store $drop=, e($pop29), $pop25 + i32.const $push24=, 1 + i32.add $push23=, $4, $pop24 tee_local $push22=, $4=, $pop23 - i32.store $drop=, e($pop26), $pop22 - i32.const $push21=, 1 - i32.add $5=, $5, $pop21 - i32.const $push20=, 0 - i32.lt_s $push7=, $5, $pop20 - br_if 0, $pop7 # 0: up to label2 + i32.const $push21=, 0 + i32.lt_s $push8=, $pop22, $pop21 + br_if 0, $pop8 # 0: up to label2 # BB#4: # %for.cond.for.end_crit_edge.i end_loop # label3: - i32.const $push8=, 0 - i32.store16 $drop=, d($pop8), $0 + i32.const $push9=, 0 + i32.store16 $drop=, d($pop9), $0 .LBB0_5: # %foo.exit end_block # label0: block - i32.const $push9=, 1 - i32.ne $push10=, $4, $pop9 - br_if 0, $pop10 # 0: down to label4 + i32.const $push10=, 1 + i32.ne $push11=, $5, $pop10 + br_if 0, $pop11 # 0: down to label4 # BB#6: # %if.end - i32.const $push11=, 0 - return $pop11 + i32.const $push12=, 0 + return $pop12 .LBB0_7: # %if.then end_block # label4: call abort@FUNCTION diff --git a/test/torture-s/pr58209.c.s b/test/torture-s/pr58209.c.s index 0ff2ec8aa..84804ca93 100644 --- a/test/torture-s/pr58209.c.s +++ b/test/torture-s/pr58209.c.s @@ -21,7 +21,7 @@ foo: # @foo .LBB0_2: # %return end_block # label0: i32.const $push5=, buf - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -47,7 +47,8 @@ bar: # @bar i32.add $1=, $pop2, $pop3 .LBB1_2: # %return end_block # label1: - return $1 + copy_local $push5=, $1 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -60,42 +61,44 @@ main: # @main .result i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $1=, 0 - i32.const $0=, buf-4 + i32.const $2=, 0 + i32.const $1=, buf-4 .LBB2_1: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label3: - i32.const $push8=, 4 - i32.add $0=, $0, $pop8 - i32.call $push7=, foo@FUNCTION, $1 - tee_local $push6=, $3=, $pop7 - i32.ne $push0=, $0, $pop6 + i32.const $push10=, 4 + i32.add $push9=, $1, $pop10 + tee_local $push8=, $1=, $pop9 + i32.call $push7=, foo@FUNCTION, $2 + tee_local $push6=, $0=, $pop7 + i32.ne $push0=, $pop8, $pop6 br_if 2, $pop0 # 2: down to label2 # BB#2: # %lor.lhs.false # in Loop: Header=BB2_1 Depth=1 - i32.const $2=, buf + i32.const $3=, buf block - i32.eqz $push13=, $1 - br_if 0, $pop13 # 0: down to label5 + i32.eqz $push17=, $2 + br_if 0, $pop17 # 0: down to label5 # BB#3: # %if.end.i # in Loop: Header=BB2_1 Depth=1 - i32.const $push10=, -1 - i32.add $push1=, $1, $pop10 + i32.const $push12=, -1 + i32.add $push1=, $2, $pop12 i32.call $push2=, foo@FUNCTION, $pop1 - i32.const $push9=, 4 - i32.add $2=, $pop2, $pop9 + i32.const $push11=, 4 + i32.add $3=, $pop2, $pop11 .LBB2_4: # %bar.exit # in Loop: Header=BB2_1 Depth=1 end_block # label5: - i32.ne $push3=, $2, $3 + i32.ne $push3=, $3, $0 br_if 2, $pop3 # 2: down to label2 # BB#5: # %for.cond # in Loop: Header=BB2_1 Depth=1 - i32.const $push12=, 1 - i32.add $1=, $1, $pop12 - i32.const $push11=, 26 - i32.le_s $push4=, $1, $pop11 + i32.const $push16=, 1 + i32.add $push15=, $2, $pop16 + tee_local $push14=, $2=, $pop15 + i32.const $push13=, 26 + i32.le_s $push4=, $pop14, $pop13 br_if 0, $pop4 # 0: up to label3 # BB#6: # %for.end end_loop # label4: diff --git a/test/torture-s/pr58277-1.c.s b/test/torture-s/pr58277-1.c.s index d0c3e9538..b4f997b28 100644 --- a/test/torture-s/pr58277-1.c.s +++ b/test/torture-s/pr58277-1.c.s @@ -10,7 +10,7 @@ bar: # @bar i32.const $push1=, 0 i32.const $push2=, 0 i32.store8 $push0=, u($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -23,7 +23,7 @@ baz: # @baz # BB#0: # %entry #APP #NO_APP - return + # fallthrough-return .endfunc .Lfunc_end1: .size baz, .Lfunc_end1-baz @@ -36,267 +36,273 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push89=, __stack_pointer - i32.const $push86=, __stack_pointer - i32.load $push87=, 0($pop86) - i32.const $push88=, 32 - i32.sub $push93=, $pop87, $pop88 - i32.store $4=, 0($pop89), $pop93 - i32.const $push5=, 0 - i32.const $push96=, 0 - i32.const $push4=, 1 - i32.store $push0=, a($pop96), $pop4 - i32.store $0=, n($pop5), $pop0 - i32.const $push95=, 0 - i32.const $push94=, 0 - i32.store8 $1=, u($pop95), $pop94 - i32.const $5=, 1 + i32.const $push100=, 0 + i32.const $push97=, 0 + i32.load $push98=, __stack_pointer($pop97) + i32.const $push99=, 32 + i32.sub $push104=, $pop98, $pop99 + i32.store $5=, __stack_pointer($pop100), $pop104 + i32.const $push7=, 0 + i32.const $push107=, 0 + i32.const $push6=, 1 + i32.store $push0=, n($pop107), $pop6 + i32.store $0=, a($pop7), $pop0 + i32.const $push106=, 0 + i32.const $push105=, 0 + i32.store8 $1=, u($pop106), $pop105 + i32.const $7=, 1 .LBB2_1: # %for.body # =>This Loop Header: Depth=1 # Child Loop BB2_4 Depth 2 # Child Loop BB2_5 Depth 3 loop # label0: - i32.load $6=, l($1) - i32.store $2=, g($1), $1 block block - i32.eqz $push146=, $6 - br_if 0, $pop146 # 0: down to label3 + i32.store $push109=, g($1), $1 + tee_local $push108=, $2=, $pop109 + i32.load $push8=, l($pop108) + i32.eqz $push170=, $pop8 + br_if 0, $pop170 # 0: down to label3 # BB#2: # %for.end # in Loop: Header=BB2_1 Depth=1 - i32.load $push6=, j($2) - i32.store $push102=, 0($pop6), $2 - tee_local $push101=, $6=, $pop102 - i32.store $push100=, d($pop101), $6 - tee_local $push99=, $6=, $pop100 - i32.load $3=, j($pop99) - i32.load $push8=, i($6) - i32.load $push7=, 0($3) - i32.store $drop=, 0($pop8), $pop7 - i32.load $push9=, i($6) - i32.store $push98=, 0($pop9), $6 - tee_local $push97=, $6=, $pop98 - i32.load $push10=, i($pop97) - i32.store $push1=, 0($pop10), $6 - i32.load $push11=, i($pop1) - i32.store $drop=, 0($pop11), $4 + i32.load $push9=, j($2) + i32.store $push115=, 0($pop9), $2 + tee_local $push114=, $4=, $pop115 + i32.store $push113=, d($pop114), $4 + tee_local $push112=, $4=, $pop113 + i32.load $3=, j($pop112) + i32.load $push11=, i($4) + i32.load $push10=, 0($3) + i32.store $drop=, 0($pop11), $pop10 + i32.load $push12=, i($4) + i32.store $push111=, 0($pop12), $4 + tee_local $push110=, $4=, $pop111 + i32.load $push13=, i($pop110) + i32.store $push1=, 0($pop13), $4 + i32.load $push14=, i($pop1) + i32.store $drop=, 0($pop14), $5 br 1 # 1: down to label2 .LBB2_3: # %for.cond.preheader.i # in Loop: Header=BB2_1 Depth=1 end_block # label3: - i32.load $push12=, i($2) - i32.store $push106=, 0($pop12), $2 - tee_local $push105=, $5=, $pop106 - i32.load $push13=, e($pop105) - i32.store $push104=, 0($pop13), $5 - tee_local $push103=, $5=, $pop104 - i32.load $6=, p($pop103) - i32.store $3=, o($5), $5 block - br_if 0, $6 # 0: down to label4 + i32.load $push15=, i($2) + i32.store $push121=, 0($pop15), $2 + tee_local $push120=, $4=, $pop121 + i32.load $push16=, e($pop120) + i32.store $push119=, 0($pop16), $4 + tee_local $push118=, $4=, $pop119 + i32.store $push117=, o($pop118), $4 + tee_local $push116=, $3=, $pop117 + i32.load $push17=, p($pop116) + br_if 0, $pop17 # 0: down to label4 .LBB2_4: # %for.cond3.preheader.i # Parent Loop BB2_1 Depth=1 # => This Loop Header: Depth=2 # Child Loop BB2_5 Depth 3 loop # label5: block - i32.load $push112=, i($3) - tee_local $push111=, $7=, $pop112 - i32.load $push110=, 0($pop111) - tee_local $push109=, $6=, $pop110 - i32.store $push108=, 0($pop109), $3 - tee_local $push107=, $5=, $pop108 - i32.load $push14=, j($pop107) - i32.load $push15=, 0($pop14) - i32.load $push16=, 0($pop15) - br_if 0, $pop16 # 0: down to label7 + i32.load $push127=, i($3) + tee_local $push126=, $6=, $pop127 + i32.load $push125=, 0($pop126) + tee_local $push124=, $7=, $pop125 + i32.store $push123=, 0($pop124), $3 + tee_local $push122=, $4=, $pop123 + i32.load $push18=, j($pop122) + i32.load $push19=, 0($pop18) + i32.load $push20=, 0($pop19) + br_if 0, $pop20 # 0: down to label7 .LBB2_5: # %if.end110.i # Parent Loop BB2_1 Depth=1 # Parent Loop BB2_4 Depth=2 # => This Inner Loop Header: Depth=3 loop # label8: - i32.load $push17=, k($5) - i32.add $push18=, $pop17, $0 - i32.store $drop=, k($5), $pop18 - i32.store $push2=, 0($6), $5 - i32.load $push19=, j($pop2) - i32.load $push20=, 0($pop19) - i32.load $push21=, 0($pop20) - i32.eqz $push147=, $pop21 - br_if 0, $pop147 # 0: up to label8 + i32.load $push21=, k($4) + i32.add $push22=, $pop21, $0 + i32.store $drop=, k($4), $pop22 + i32.store $push2=, 0($7), $4 + i32.load $push23=, j($pop2) + i32.load $push24=, 0($pop23) + i32.load $push25=, 0($pop24) + i32.eqz $push171=, $pop25 + br_if 0, $pop171 # 0: up to label8 .LBB2_6: # %for.end.i # in Loop: Header=BB2_4 Depth=2 end_loop # label9: end_block # label7: - i32.load $push22=, j($5) - i32.load $push23=, 0($pop22) - i32.store $drop=, 0($7), $pop23 - i32.load $6=, j($5) - i32.load $push25=, i($5) - i32.load $push24=, 0($6) - i32.store $drop=, 0($pop25), $pop24 - i32.load $6=, j($5) - i32.load $push27=, i($5) - i32.load $push26=, 0($6) - i32.store $drop=, 0($pop27), $pop26 - i32.load $6=, j($5) - i32.load $push29=, i($5) - i32.load $push28=, 0($6) - i32.store $drop=, 0($pop29), $pop28 - i32.load $6=, j($5) - i32.load $push31=, i($5) - i32.load $push30=, 0($6) - i32.store $drop=, 0($pop31), $pop30 - i32.load $6=, j($5) - i32.load $push33=, i($5) - i32.load $push32=, 0($6) - i32.store $drop=, 0($pop33), $pop32 - i32.load $6=, h($5) - i32.load $push35=, i($5) - i32.store $push116=, 0($pop35), $5 - tee_local $push115=, $5=, $pop116 - i32.load $7=, e($pop115) - i32.add $push34=, $6, $0 - i32.store $drop=, h($5), $pop34 - i32.store $push114=, 0($7), $5 - tee_local $push113=, $5=, $pop114 - i32.load $6=, p($pop113) - i32.store $drop=, o($5), $5 - i32.eqz $push148=, $6 - br_if 0, $pop148 # 0: up to label5 + i32.load $push26=, j($4) + i32.load $push27=, 0($pop26) + i32.store $drop=, 0($6), $pop27 + i32.load $push28=, i($4) + i32.load $push29=, j($4) + i32.load $push30=, 0($pop29) + i32.store $drop=, 0($pop28), $pop30 + i32.load $7=, j($4) + i32.load $push32=, i($4) + i32.load $push31=, 0($7) + i32.store $drop=, 0($pop32), $pop31 + i32.load $push33=, i($4) + i32.load $push34=, j($4) + i32.load $push35=, 0($pop34) + i32.store $drop=, 0($pop33), $pop35 + i32.load $push36=, i($4) + i32.load $push37=, j($4) + i32.load $push38=, 0($pop37) + i32.store $drop=, 0($pop36), $pop38 + i32.load $push39=, i($4) + i32.load $push40=, j($4) + i32.load $push41=, 0($pop40) + i32.store $drop=, 0($pop39), $pop41 + i32.load $push42=, i($4) + i32.store $push131=, 0($pop42), $4 + tee_local $push130=, $4=, $pop131 + i32.load $push43=, h($4) + i32.add $push44=, $pop43, $0 + i32.store $drop=, h($pop130), $pop44 + i32.load $push45=, e($4) + i32.store $push129=, 0($pop45), $4 + tee_local $push128=, $4=, $pop129 + i32.store $push3=, o($pop128), $4 + i32.load $push46=, p($pop3) + i32.eqz $push172=, $pop46 + br_if 0, $pop172 # 0: up to label5 .LBB2_7: # %foo.exit.thread # in Loop: Header=BB2_1 Depth=1 end_loop # label6: end_block # label4: - i32.load $5=, n($3) - i32.store $drop=, f($3), $3 + i32.store $push4=, f($3), $3 + i32.load $7=, n($pop4) .LBB2_8: # %for.inc7 # in Loop: Header=BB2_1 Depth=1 end_block # label2: - i32.const $push117=, -1 - i32.add $5=, $5, $pop117 - i32.store $push3=, n($2), $5 - br_if 0, $pop3 # 0: up to label0 + i32.const $push134=, -1 + i32.add $push133=, $7, $pop134 + tee_local $push132=, $7=, $pop133 + i32.store $push5=, n($2), $pop132 + br_if 0, $pop5 # 0: up to label0 # BB#9: # %for.end8 end_loop # label1: - i32.const $push36=, 0 - i32.load $6=, b($pop36) - i32.const $push119=, 0 - i32.const $push118=, 0 - i32.store8 $3=, u($pop119), $pop118 block - i32.eqz $push149=, $6 - br_if 0, $pop149 # 0: down to label10 + i32.const $push47=, 0 + i32.const $push139=, 0 + i32.store8 $push138=, u($pop47), $pop139 + tee_local $push137=, $3=, $pop138 + i32.load $push136=, b($pop137) + tee_local $push135=, $7=, $pop136 + i32.eqz $push173=, $pop135 + br_if 0, $pop173 # 0: down to label10 # BB#10: # %for.cond12.preheader.lr.ph i32.load $0=, c($3) .LBB2_11: # %for.cond12.preheader # =>This Loop Header: Depth=1 # Child Loop BB2_12 Depth 2 loop # label11: - i32.const $5=, 10 + i32.const $4=, 10 .LBB2_12: # %for.body15 # Parent Loop BB2_11 Depth=1 # => This Inner Loop Header: Depth=2 loop # label13: - i32.const $push128=, 2 - i32.shl $push37=, $0, $pop128 - i32.load $push38=, a($pop37) - i32.const $push127=, 2 - i32.shl $push39=, $pop38, $pop127 - i32.load $push40=, a($pop39) - i32.const $push126=, 2 - i32.shl $push41=, $pop40, $pop126 - i32.load $push42=, a($pop41) - i32.const $push125=, 2 - i32.shl $push43=, $pop42, $pop125 - i32.load $push44=, a($pop43) - i32.const $push124=, 2 - i32.shl $push45=, $pop44, $pop124 - i32.load $push46=, a($pop45) - i32.const $push123=, 2 - i32.shl $push47=, $pop46, $pop123 - i32.load $push48=, a($pop47) - i32.const $push122=, 2 - i32.shl $push49=, $pop48, $pop122 - i32.load $push50=, a($pop49) - i32.const $push121=, 2 - i32.shl $push51=, $pop50, $pop121 - i32.load $0=, a($pop51) - i32.const $push120=, -1 - i32.add $5=, $5, $pop120 - br_if 0, $5 # 0: up to label13 + i32.const $push150=, 2 + i32.shl $push48=, $0, $pop150 + i32.load $push49=, a($pop48) + i32.const $push149=, 2 + i32.shl $push50=, $pop49, $pop149 + i32.load $push51=, a($pop50) + i32.const $push148=, 2 + i32.shl $push52=, $pop51, $pop148 + i32.load $push53=, a($pop52) + i32.const $push147=, 2 + i32.shl $push54=, $pop53, $pop147 + i32.load $push55=, a($pop54) + i32.const $push146=, 2 + i32.shl $push56=, $pop55, $pop146 + i32.load $push57=, a($pop56) + i32.const $push145=, 2 + i32.shl $push58=, $pop57, $pop145 + i32.load $push59=, a($pop58) + i32.const $push144=, 2 + i32.shl $push60=, $pop59, $pop144 + i32.load $push61=, a($pop60) + i32.const $push143=, 2 + i32.shl $push62=, $pop61, $pop143 + i32.load $0=, a($pop62) + i32.const $push142=, -1 + i32.add $push141=, $4, $pop142 + tee_local $push140=, $4=, $pop141 + br_if 0, $pop140 # 0: up to label13 # BB#13: # %for.inc27 # in Loop: Header=BB2_11 Depth=1 end_loop # label14: - i32.const $push129=, 1 - i32.add $6=, $6, $pop129 - br_if 0, $6 # 0: up to label11 + i32.const $push153=, 1 + i32.add $push152=, $7, $pop153 + tee_local $push151=, $7=, $pop152 + br_if 0, $pop151 # 0: up to label11 # BB#14: # %for.cond9.for.end29_crit_edge end_loop # label12: - i32.const $push52=, 0 - i32.store $drop=, c($pop52), $0 - i32.const $push131=, 0 - i32.const $push130=, 0 - i32.store $drop=, b($pop131), $pop130 + i32.const $push63=, 0 + i32.store $drop=, c($pop63), $0 + i32.const $push155=, 0 + i32.const $push154=, 0 + i32.store $drop=, b($pop155), $pop154 .LBB2_15: # %for.end29 end_block # label10: call baz@FUNCTION block - i32.load8_s $push53=, u($3) - i32.const $push54=, 2 - i32.shl $push55=, $pop53, $pop54 - i32.load $push56=, a($pop55) - i32.const $push145=, 2 - i32.shl $push57=, $pop56, $pop145 - i32.load $push58=, a($pop57) - i32.const $push144=, 2 - i32.shl $push59=, $pop58, $pop144 - i32.load $push60=, a($pop59) - i32.const $push143=, 2 - i32.shl $push61=, $pop60, $pop143 - i32.load $push62=, a($pop61) - i32.const $push142=, 2 - i32.shl $push63=, $pop62, $pop142 - i32.load $push64=, a($pop63) - i32.const $push141=, 2 - i32.shl $push65=, $pop64, $pop141 - i32.load $push66=, a($pop65) - i32.const $push140=, 2 - i32.shl $push67=, $pop66, $pop140 - i32.load $push68=, a($pop67) - i32.const $push139=, 2 - i32.shl $push69=, $pop68, $pop139 - i32.load $push70=, a($pop69) - i32.const $push138=, 2 - i32.shl $push71=, $pop70, $pop138 - i32.load $push72=, a($pop71) - i32.const $push137=, 2 - i32.shl $push73=, $pop72, $pop137 - i32.load $push74=, a($pop73) - i32.const $push136=, 2 - i32.shl $push75=, $pop74, $pop136 - i32.load $push76=, a($pop75) - i32.const $push135=, 2 - i32.shl $push77=, $pop76, $pop135 - i32.load $push78=, a($pop77) - i32.const $push134=, 2 - i32.shl $push79=, $pop78, $pop134 - i32.load $push80=, a($pop79) - i32.const $push133=, 2 - i32.shl $push81=, $pop80, $pop133 - i32.load $push82=, a($pop81) - i32.const $push132=, 2 - i32.shl $push83=, $pop82, $pop132 - i32.load $push84=, a($pop83) - i32.eqz $push150=, $pop84 - br_if 0, $pop150 # 0: down to label15 + i32.load8_s $push64=, u($3) + i32.const $push65=, 2 + i32.shl $push66=, $pop64, $pop65 + i32.load $push67=, a($pop66) + i32.const $push169=, 2 + i32.shl $push68=, $pop67, $pop169 + i32.load $push69=, a($pop68) + i32.const $push168=, 2 + i32.shl $push70=, $pop69, $pop168 + i32.load $push71=, a($pop70) + i32.const $push167=, 2 + i32.shl $push72=, $pop71, $pop167 + i32.load $push73=, a($pop72) + i32.const $push166=, 2 + i32.shl $push74=, $pop73, $pop166 + i32.load $push75=, a($pop74) + i32.const $push165=, 2 + i32.shl $push76=, $pop75, $pop165 + i32.load $push77=, a($pop76) + i32.const $push164=, 2 + i32.shl $push78=, $pop77, $pop164 + i32.load $push79=, a($pop78) + i32.const $push163=, 2 + i32.shl $push80=, $pop79, $pop163 + i32.load $push81=, a($pop80) + i32.const $push162=, 2 + i32.shl $push82=, $pop81, $pop162 + i32.load $push83=, a($pop82) + i32.const $push161=, 2 + i32.shl $push84=, $pop83, $pop161 + i32.load $push85=, a($pop84) + i32.const $push160=, 2 + i32.shl $push86=, $pop85, $pop160 + i32.load $push87=, a($pop86) + i32.const $push159=, 2 + i32.shl $push88=, $pop87, $pop159 + i32.load $push89=, a($pop88) + i32.const $push158=, 2 + i32.shl $push90=, $pop89, $pop158 + i32.load $push91=, a($pop90) + i32.const $push157=, 2 + i32.shl $push92=, $pop91, $pop157 + i32.load $push93=, a($pop92) + i32.const $push156=, 2 + i32.shl $push94=, $pop93, $pop156 + i32.load $push95=, a($pop94) + i32.eqz $push174=, $pop95 + br_if 0, $pop174 # 0: down to label15 # BB#16: # %if.end47 - i32.const $push92=, __stack_pointer - i32.const $push90=, 32 - i32.add $push91=, $4, $pop90 - i32.store $drop=, 0($pop92), $pop91 - i32.const $push85=, 0 - return $pop85 + i32.const $push103=, 0 + i32.const $push101=, 32 + i32.add $push102=, $5, $pop101 + i32.store $drop=, __stack_pointer($pop103), $pop102 + i32.const $push96=, 0 + return $pop96 .LBB2_17: # %if.then46 end_block # label15: call abort@FUNCTION diff --git a/test/torture-s/pr58277-2.c.s b/test/torture-s/pr58277-2.c.s index 0f02bdd44..e79267aaa 100644 --- a/test/torture-s/pr58277-2.c.s +++ b/test/torture-s/pr58277-2.c.s @@ -6,35 +6,35 @@ .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push2=, 0 - i32.load $1=, g($pop2) - i32.const $push8=, 0 - i32.const $push7=, 0 - i32.store8 $0=, n($pop8), $pop7 block block - i32.eqz $push12=, $1 - br_if 0, $pop12 # 0: down to label1 + i32.const $push1=, 0 + i32.const $push9=, 0 + i32.store8 $push8=, n($pop1), $pop9 + tee_local $push7=, $0=, $pop8 + i32.load $push2=, g($pop7) + i32.eqz $push13=, $pop2 + br_if 0, $pop13 # 0: down to label1 # BB#1: # %fn2.exit.thread.i i32.load $drop=, d($0) br 1 # 1: down to label0 .LBB0_2: # %if.end.loopexit.i end_block # label1: - i32.load $push3=, h($0) - i32.store $push0=, 0($pop3), $0 - i32.const $push4=, 1 - i32.store8 $drop=, n($pop0), $pop4 + i32.const $push3=, 1 + i32.store8 $drop=, n($0), $pop3 + i32.load $push4=, h($0) + i32.store $drop=, 0($pop4), $0 .LBB0_3: # %if.end end_block # label0: i32.const $push5=, 0 i32.load $push6=, s($pop5) - i32.const $push11=, 0 - i32.store $push10=, 0($pop6), $pop11 - tee_local $push9=, $0=, $pop10 - i32.store8 $push1=, n($pop9), $0 - return $pop1 + i32.const $push12=, 0 + i32.store $push11=, 0($pop6), $pop12 + tee_local $push10=, $0=, $pop11 + i32.store8 $push0=, n($pop10), $0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr58364.c.s b/test/torture-s/pr58364.c.s index dd1ffa6da..d0ab1d490 100644 --- a/test/torture-s/pr58364.c.s +++ b/test/torture-s/pr58364.c.s @@ -12,7 +12,7 @@ foo: # @foo i32.const $push0=, 0 i32.lt_s $push1=, $0, $pop0 i32.select $push3=, $pop2, $0, $pop1 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,18 +23,17 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $1=, a($pop0) - i32.const $push4=, 0 - i32.load $2=, c($pop4) - i32.const $push3=, 0 - i32.const $push2=, 0 - i32.store $0=, b($pop3), $pop2 block - i32.le_s $push1=, $1, $2 - br_if 0, $pop1 # 0: down to label0 + i32.const $push0=, 0 + i32.const $push6=, 0 + i32.store $push5=, b($pop0), $pop6 + tee_local $push4=, $0=, $pop5 + i32.load $push2=, a($pop4) + i32.load $push1=, c($0) + i32.le_s $push3=, $pop2, $pop1 + br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return $0 .LBB1_2: # %if.then diff --git a/test/torture-s/pr58365.c.s b/test/torture-s/pr58365.c.s index b3269cf2f..7e1eedf15 100644 --- a/test/torture-s/pr58365.c.s +++ b/test/torture-s/pr58365.c.s @@ -9,7 +9,7 @@ foo: # @foo # BB#0: # %entry i32.const $push0=, 0 i32.load8_s $push1=, i($pop0) - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -20,83 +20,83 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i64, i32 + .local i32 # BB#0: # %entry - i32.const $push28=, __stack_pointer - i32.const $push25=, __stack_pointer - i32.load $push26=, 0($pop25) - i32.const $push27=, 32 - i32.sub $push32=, $pop26, $pop27 - i32.store $0=, 0($pop28), $pop32 + i32.const $push30=, 0 + i32.const $push27=, 0 + i32.load $push28=, __stack_pointer($pop27) + i32.const $push29=, 32 + i32.sub $push34=, $pop28, $pop29 + i32.store $0=, __stack_pointer($pop30), $pop34 block block - i32.const $push33=, 0 - i32.load8_u $push1=, i($pop33) - i32.eqz $push46=, $pop1 - br_if 0, $pop46 # 0: down to label1 + i32.const $push35=, 0 + i32.load8_u $push1=, i($pop35) + i32.eqz $push48=, $pop1 + br_if 0, $pop48 # 0: down to label1 # BB#1: # %if.then.i i32.const $push3=, 24 i32.add $push4=, $0, $pop3 - i32.const $push36=, 0 - i32.load $push2=, f+16($pop36) + i32.const $push38=, 0 + i32.load $push2=, f+16($pop38) i32.store $drop=, 0($pop4), $pop2 - i32.const $push35=, 0 - i64.load $1=, f($pop35):p2align=2 i32.const $push6=, 16 i32.add $push7=, $0, $pop6 - i32.const $push34=, 0 - i64.load $push5=, f+8($pop34):p2align=2 + i32.const $push37=, 0 + i64.load $push5=, f+8($pop37):p2align=2 i64.store $drop=, 0($pop7), $pop5 - i64.store $drop=, 8($0), $1 + i32.const $push36=, 0 + i64.load $push8=, f($pop36):p2align=2 + i64.store $drop=, 8($0), $pop8 br 1 # 1: down to label0 .LBB1_2: # %if.end.i end_block # label1: - i32.const $push8=, 24 - i32.add $push9=, $0, $pop8 - i32.const $push37=, 0 - i32.store $drop=, 0($pop9), $pop37 - i32.const $push10=, 16 - i32.add $push11=, $0, $pop10 - i64.const $push12=, 0 - i64.store $push0=, 0($pop11), $pop12 + i32.const $push9=, 24 + i32.add $push10=, $0, $pop9 + i32.const $push39=, 0 + i32.store $drop=, 0($pop10), $pop39 + i32.const $push11=, 16 + i32.add $push12=, $0, $pop11 + i64.const $push13=, 0 + i64.store $push0=, 0($pop12), $pop13 i64.store $drop=, 8($0), $pop0 .LBB1_3: # %bar.exit end_block # label0: + i32.const $push46=, 0 + i32.load $push14=, 12($0) + i32.store $drop=, h+4($pop46), $pop14 + i32.const $push45=, 0 + i32.load $push15=, 8($0) + i32.store $drop=, h($pop45), $pop15 i32.const $push44=, 0 - i32.load $push13=, 12($0) - i32.store $drop=, h+4($pop44), $pop13 + i32.const $push16=, 24 + i32.add $push17=, $0, $pop16 + i32.load $push18=, 0($pop17) + i32.store $drop=, h+16($pop44), $pop18 i32.const $push43=, 0 - i32.load $push14=, 8($0) - i32.store $drop=, h($pop43), $pop14 + i32.const $push19=, 20 + i32.add $push20=, $0, $pop19 + i32.load $push21=, 0($pop20) + i32.store $drop=, h+12($pop43), $pop21 i32.const $push42=, 0 - i32.const $push15=, 24 - i32.add $push16=, $0, $pop15 - i32.load $push17=, 0($pop16) - i32.store $drop=, h+16($pop42), $pop17 + i32.const $push22=, 16 + i32.add $push23=, $0, $pop22 + i32.load $push24=, 0($pop23) + i32.store $drop=, h+8($pop42), $pop24 i32.const $push41=, 0 - i32.const $push18=, 20 - i32.add $push19=, $0, $pop18 - i32.load $push20=, 0($pop19) - i32.store $drop=, h+12($pop41), $pop20 - i32.const $push40=, 0 - i32.const $push21=, 16 - i32.add $push22=, $0, $pop21 - i32.load $push23=, 0($pop22) - i32.store $drop=, h+8($pop40), $pop23 - i32.const $push39=, 0 - i32.load $2=, h+4($pop39) - i32.const $push38=, 0 - i32.const $push24=, 1 - i32.store $drop=, f+4($pop38), $pop24 + i32.const $push25=, 1 + i32.store $drop=, f+4($pop41), $pop25 block - br_if 0, $2 # 0: down to label2 + i32.const $push40=, 0 + i32.load $push26=, h+4($pop40) + br_if 0, $pop26 # 0: down to label2 # BB#4: # %if.end - i32.const $push31=, __stack_pointer - i32.const $push29=, 32 - i32.add $push30=, $0, $pop29 - i32.store $drop=, 0($pop31), $pop30 - i32.const $push45=, 0 - return $pop45 + i32.const $push33=, 0 + i32.const $push31=, 32 + i32.add $push32=, $0, $pop31 + i32.store $drop=, __stack_pointer($pop33), $pop32 + i32.const $push47=, 0 + return $pop47 .LBB1_5: # %if.then end_block # label2: call abort@FUNCTION diff --git a/test/torture-s/pr58385.c.s b/test/torture-s/pr58385.c.s index 07b2eed30..1cd6931f6 100644 --- a/test/torture-s/pr58385.c.s +++ b/test/torture-s/pr58385.c.s @@ -10,7 +10,7 @@ foo: # @foo i32.const $push1=, 0 i32.const $push2=, 0 i32.store $push0=, b($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -25,7 +25,7 @@ main: # @main i32.const $push1=, 0 i32.const $push2=, 0 i32.store $push0=, b($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr58419.c.s b/test/torture-s/pr58419.c.s index 1826bc587..b6b6beea8 100644 --- a/test/torture-s/pr58419.c.s +++ b/test/torture-s/pr58419.c.s @@ -13,7 +13,7 @@ foo: # @foo i32.shl $push2=, $pop0, $pop1 i32.const $push4=, 24 i32.shr_s $push3=, $pop2, $pop4 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -24,16 +24,15 @@ foo: # @foo .type bar,@function bar: # @bar .result i32 - .local i32 # BB#0: # %entry i32.const $push2=, 0 - i32.load $0=, p($pop2) - i32.const $push4=, 0 i32.const $push1=, 1 - i32.store16 $drop=, c($pop4), $pop1 - i32.const $push3=, 0 - i32.store $push0=, 0($0), $pop3 - return $pop0 + i32.store16 $drop=, c($pop2), $pop1 + i32.const $push5=, 0 + i32.load $push3=, p($pop5) + i32.const $push4=, 0 + i32.store $push0=, 0($pop3), $pop4 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar @@ -44,275 +43,247 @@ bar: # @bar .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push0=, 0 - i32.load $0=, p($pop0) - i32.const $push83=, 0 - i32.load16_u $2=, c($pop83) - i32.const $push82=, 0 + i32.const $push66=, 0 i32.const $push1=, 234 - i32.store8 $drop=, b($pop82), $pop1 - i32.const $3=, 1 + i32.store8 $drop=, b($pop66), $pop1 + i32.const $5=, 1 + i32.const $push65=, 0 + i32.load $0=, p($pop65) i32.const $1=, 1 block - i32.const $push81=, 0 - i32.load $push2=, k($pop81) - i32.const $push80=, 0 - i32.ne $push5=, $pop2, $pop80 - i32.const $push79=, 65535 - i32.and $push3=, $2, $pop79 - i32.const $push78=, 0 - i32.ne $push4=, $pop3, $pop78 - i32.and $push6=, $pop5, $pop4 - i32.const $push77=, 0 - i32.load $push7=, i($pop77) - i32.const $push76=, 1 - i32.lt_s $push8=, $pop7, $pop76 - i32.sub $push9=, $pop6, $pop8 - i32.const $push75=, 255 - i32.and $push10=, $pop9, $pop75 - br_if 0, $pop10 # 0: down to label0 + i32.const $push64=, 0 + i32.load $push63=, k($pop64) + tee_local $push62=, $4=, $pop63 + i32.const $push61=, 0 + i32.ne $push3=, $pop62, $pop61 + i32.const $push60=, 0 + i32.load16_u $push59=, c($pop60) + tee_local $push58=, $3=, $pop59 + i32.const $push57=, 0 + i32.ne $push2=, $pop58, $pop57 + i32.and $push4=, $pop3, $pop2 + i32.const $push56=, 0 + i32.load $push55=, i($pop56) + tee_local $push54=, $2=, $pop55 + i32.const $push53=, 1 + i32.lt_s $push5=, $pop54, $pop53 + i32.sub $push6=, $pop4, $pop5 + i32.const $push52=, 255 + i32.and $push7=, $pop6, $pop52 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %lor.rhs - i32.const $2=, 1 + i32.const $3=, 1 + i32.const $push70=, 0 + i32.store $push69=, 0($0), $pop70 + tee_local $push68=, $4=, $pop69 + i32.const $push67=, 1 + i32.store16 $drop=, c($pop68), $pop67 + i32.load $2=, i($4) + i32.load $4=, k($4) i32.const $1=, 0 - i32.const $push86=, 0 - i32.const $push85=, 1 - i32.store16 $drop=, c($pop86), $pop85 - i32.const $push84=, 0 - i32.store $drop=, 0($0), $pop84 .LBB2_2: # %lor.end end_block # label0: - i32.const $push94=, 0 - i32.store $drop=, g($pop94), $1 + i32.const $push75=, 0 + i32.store $drop=, g($pop75), $1 block - i32.const $push93=, 0 - i32.load $push11=, k($pop93) - i32.const $push92=, 0 - i32.ne $push14=, $pop11, $pop92 - i32.const $push91=, 65535 - i32.and $push12=, $2, $pop91 - i32.const $push90=, 0 - i32.ne $push13=, $pop12, $pop90 - i32.and $push15=, $pop14, $pop13 - i32.const $push89=, 0 - i32.load $push16=, i($pop89) - i32.const $push88=, 1 - i32.lt_s $push17=, $pop16, $pop88 - i32.sub $push18=, $pop15, $pop17 - i32.const $push87=, 255 - i32.and $push19=, $pop18, $pop87 - br_if 0, $pop19 # 0: down to label1 + i32.const $push74=, 0 + i32.ne $push9=, $4, $pop74 + i32.const $push73=, 0 + i32.ne $push8=, $3, $pop73 + i32.and $push10=, $pop9, $pop8 + i32.const $push72=, 1 + i32.lt_s $push11=, $2, $pop72 + i32.sub $push12=, $pop10, $pop11 + i32.const $push71=, 255 + i32.and $push13=, $pop12, $pop71 + br_if 0, $pop13 # 0: down to label1 # BB#3: # %lor.rhs.1 - i32.const $2=, 1 - i32.const $push97=, 0 - i32.const $push96=, 1 - i32.store16 $drop=, c($pop97), $pop96 - i32.const $push95=, 0 - i32.store $drop=, 0($0), $pop95 - i32.const $3=, 0 + i32.const $5=, 0 + i32.const $3=, 1 + i32.const $push79=, 0 + i32.store $push78=, 0($0), $pop79 + tee_local $push77=, $4=, $pop78 + i32.const $push76=, 1 + i32.store16 $drop=, c($pop77), $pop76 + i32.load $2=, i($4) + i32.load $4=, k($4) .LBB2_4: # %lor.end.1 end_block # label1: - i32.const $push105=, 0 - i32.store $drop=, g($pop105), $3 - i32.const $3=, 1 + i32.const $push84=, 0 + i32.store $drop=, g($pop84), $5 + i32.const $5=, 1 i32.const $1=, 1 block - i32.const $push104=, 0 - i32.load $push20=, k($pop104) - i32.const $push103=, 0 - i32.ne $push23=, $pop20, $pop103 - i32.const $push102=, 65535 - i32.and $push21=, $2, $pop102 - i32.const $push101=, 0 - i32.ne $push22=, $pop21, $pop101 - i32.and $push24=, $pop23, $pop22 - i32.const $push100=, 0 - i32.load $push25=, i($pop100) - i32.const $push99=, 1 - i32.lt_s $push26=, $pop25, $pop99 - i32.sub $push27=, $pop24, $pop26 - i32.const $push98=, 255 - i32.and $push28=, $pop27, $pop98 - br_if 0, $pop28 # 0: down to label2 + i32.const $push83=, 0 + i32.ne $push15=, $4, $pop83 + i32.const $push82=, 0 + i32.ne $push14=, $3, $pop82 + i32.and $push16=, $pop15, $pop14 + i32.const $push81=, 1 + i32.lt_s $push17=, $2, $pop81 + i32.sub $push18=, $pop16, $pop17 + i32.const $push80=, 255 + i32.and $push19=, $pop18, $pop80 + br_if 0, $pop19 # 0: down to label2 # BB#5: # %lor.rhs.2 - i32.const $2=, 1 + i32.const $3=, 1 + i32.const $push88=, 0 + i32.store $push87=, 0($0), $pop88 + tee_local $push86=, $4=, $pop87 + i32.const $push85=, 1 + i32.store16 $drop=, c($pop86), $pop85 + i32.load $2=, i($4) + i32.load $4=, k($4) i32.const $1=, 0 - i32.const $push108=, 0 - i32.const $push107=, 1 - i32.store16 $drop=, c($pop108), $pop107 - i32.const $push106=, 0 - i32.store $drop=, 0($0), $pop106 .LBB2_6: # %lor.end.2 end_block # label2: - i32.const $push116=, 0 - i32.store $drop=, g($pop116), $1 + i32.const $push93=, 0 + i32.store $drop=, g($pop93), $1 block - i32.const $push115=, 0 - i32.load $push29=, k($pop115) - i32.const $push114=, 0 - i32.ne $push32=, $pop29, $pop114 - i32.const $push113=, 65535 - i32.and $push30=, $2, $pop113 - i32.const $push112=, 0 - i32.ne $push31=, $pop30, $pop112 - i32.and $push33=, $pop32, $pop31 - i32.const $push111=, 0 - i32.load $push34=, i($pop111) - i32.const $push110=, 1 - i32.lt_s $push35=, $pop34, $pop110 - i32.sub $push36=, $pop33, $pop35 - i32.const $push109=, 255 - i32.and $push37=, $pop36, $pop109 - br_if 0, $pop37 # 0: down to label3 + i32.const $push92=, 0 + i32.ne $push21=, $4, $pop92 + i32.const $push91=, 0 + i32.ne $push20=, $3, $pop91 + i32.and $push22=, $pop21, $pop20 + i32.const $push90=, 1 + i32.lt_s $push23=, $2, $pop90 + i32.sub $push24=, $pop22, $pop23 + i32.const $push89=, 255 + i32.and $push25=, $pop24, $pop89 + br_if 0, $pop25 # 0: down to label3 # BB#7: # %lor.rhs.3 - i32.const $2=, 1 - i32.const $push119=, 0 - i32.const $push118=, 1 - i32.store16 $drop=, c($pop119), $pop118 - i32.const $push117=, 0 - i32.store $drop=, 0($0), $pop117 - i32.const $3=, 0 + i32.const $5=, 0 + i32.const $3=, 1 + i32.const $push97=, 0 + i32.store $push96=, 0($0), $pop97 + tee_local $push95=, $4=, $pop96 + i32.const $push94=, 1 + i32.store16 $drop=, c($pop95), $pop94 + i32.load $2=, i($4) + i32.load $4=, k($4) .LBB2_8: # %lor.end.3 end_block # label3: - i32.const $push127=, 0 - i32.store $drop=, g($pop127), $3 - i32.const $3=, 1 + i32.const $push102=, 0 + i32.store $drop=, g($pop102), $5 + i32.const $5=, 1 i32.const $1=, 1 block - i32.const $push126=, 0 - i32.load $push38=, k($pop126) - i32.const $push125=, 0 - i32.ne $push41=, $pop38, $pop125 - i32.const $push124=, 65535 - i32.and $push39=, $2, $pop124 - i32.const $push123=, 0 - i32.ne $push40=, $pop39, $pop123 - i32.and $push42=, $pop41, $pop40 - i32.const $push122=, 0 - i32.load $push43=, i($pop122) - i32.const $push121=, 1 - i32.lt_s $push44=, $pop43, $pop121 - i32.sub $push45=, $pop42, $pop44 - i32.const $push120=, 255 - i32.and $push46=, $pop45, $pop120 - br_if 0, $pop46 # 0: down to label4 + i32.const $push101=, 0 + i32.ne $push27=, $4, $pop101 + i32.const $push100=, 0 + i32.ne $push26=, $3, $pop100 + i32.and $push28=, $pop27, $pop26 + i32.const $push99=, 1 + i32.lt_s $push29=, $2, $pop99 + i32.sub $push30=, $pop28, $pop29 + i32.const $push98=, 255 + i32.and $push31=, $pop30, $pop98 + br_if 0, $pop31 # 0: down to label4 # BB#9: # %lor.rhs.4 - i32.const $2=, 1 + i32.const $3=, 1 + i32.const $push106=, 0 + i32.store $push105=, 0($0), $pop106 + tee_local $push104=, $4=, $pop105 + i32.const $push103=, 1 + i32.store16 $drop=, c($pop104), $pop103 + i32.load $2=, i($4) + i32.load $4=, k($4) i32.const $1=, 0 - i32.const $push130=, 0 - i32.const $push129=, 1 - i32.store16 $drop=, c($pop130), $pop129 - i32.const $push128=, 0 - i32.store $drop=, 0($0), $pop128 .LBB2_10: # %lor.end.4 end_block # label4: - i32.const $push138=, 0 - i32.store $drop=, g($pop138), $1 + i32.const $push111=, 0 + i32.store $drop=, g($pop111), $1 block - i32.const $push137=, 0 - i32.load $push47=, k($pop137) - i32.const $push136=, 0 - i32.ne $push50=, $pop47, $pop136 - i32.const $push135=, 65535 - i32.and $push48=, $2, $pop135 - i32.const $push134=, 0 - i32.ne $push49=, $pop48, $pop134 - i32.and $push51=, $pop50, $pop49 - i32.const $push133=, 0 - i32.load $push52=, i($pop133) - i32.const $push132=, 1 - i32.lt_s $push53=, $pop52, $pop132 - i32.sub $push54=, $pop51, $pop53 - i32.const $push131=, 255 - i32.and $push55=, $pop54, $pop131 - br_if 0, $pop55 # 0: down to label5 + i32.const $push110=, 0 + i32.ne $push33=, $4, $pop110 + i32.const $push109=, 0 + i32.ne $push32=, $3, $pop109 + i32.and $push34=, $pop33, $pop32 + i32.const $push108=, 1 + i32.lt_s $push35=, $2, $pop108 + i32.sub $push36=, $pop34, $pop35 + i32.const $push107=, 255 + i32.and $push37=, $pop36, $pop107 + br_if 0, $pop37 # 0: down to label5 # BB#11: # %lor.rhs.5 - i32.const $2=, 1 - i32.const $push141=, 0 - i32.const $push140=, 1 - i32.store16 $drop=, c($pop141), $pop140 - i32.const $push139=, 0 - i32.store $drop=, 0($0), $pop139 - i32.const $3=, 0 + i32.const $5=, 0 + i32.const $3=, 1 + i32.const $push115=, 0 + i32.store $push114=, 0($0), $pop115 + tee_local $push113=, $4=, $pop114 + i32.const $push112=, 1 + i32.store16 $drop=, c($pop113), $pop112 + i32.load $2=, i($4) + i32.load $4=, k($4) .LBB2_12: # %lor.end.5 end_block # label5: - i32.const $push149=, 0 - i32.store $drop=, g($pop149), $3 - i32.const $3=, 1 + i32.const $push120=, 0 + i32.store $drop=, g($pop120), $5 + i32.const $5=, 1 i32.const $1=, 1 block - i32.const $push148=, 0 - i32.load $push56=, k($pop148) - i32.const $push147=, 0 - i32.ne $push59=, $pop56, $pop147 - i32.const $push146=, 65535 - i32.and $push57=, $2, $pop146 - i32.const $push145=, 0 - i32.ne $push58=, $pop57, $pop145 - i32.and $push60=, $pop59, $pop58 - i32.const $push144=, 0 - i32.load $push61=, i($pop144) - i32.const $push143=, 1 - i32.lt_s $push62=, $pop61, $pop143 - i32.sub $push63=, $pop60, $pop62 - i32.const $push142=, 255 - i32.and $push64=, $pop63, $pop142 - br_if 0, $pop64 # 0: down to label6 + i32.const $push119=, 0 + i32.ne $push39=, $4, $pop119 + i32.const $push118=, 0 + i32.ne $push38=, $3, $pop118 + i32.and $push40=, $pop39, $pop38 + i32.const $push117=, 1 + i32.lt_s $push41=, $2, $pop117 + i32.sub $push42=, $pop40, $pop41 + i32.const $push116=, 255 + i32.and $push43=, $pop42, $pop116 + br_if 0, $pop43 # 0: down to label6 # BB#13: # %lor.rhs.6 - i32.const $2=, 1 + i32.const $3=, 1 + i32.const $push124=, 0 + i32.store $push123=, 0($0), $pop124 + tee_local $push122=, $4=, $pop123 + i32.const $push121=, 1 + i32.store16 $drop=, c($pop122), $pop121 + i32.load $2=, i($4) + i32.load $4=, k($4) i32.const $1=, 0 - i32.const $push152=, 0 - i32.const $push151=, 1 - i32.store16 $drop=, c($pop152), $pop151 - i32.const $push150=, 0 - i32.store $drop=, 0($0), $pop150 .LBB2_14: # %lor.end.6 end_block # label6: - i32.const $push163=, 0 - i32.store $drop=, g($pop163), $1 - i32.const $push162=, 0 - i32.load $1=, a($pop162) + i32.const $push132=, 0 + i32.store $drop=, g($pop132), $1 + i32.const $push131=, 0 + i32.load $1=, a($pop131) block - i32.const $push161=, 0 - i32.load $push65=, k($pop161) - i32.const $push160=, 0 - i32.ne $push68=, $pop65, $pop160 - i32.const $push159=, 65535 - i32.and $push66=, $2, $pop159 - i32.const $push158=, 0 - i32.ne $push67=, $pop66, $pop158 - i32.and $push157=, $pop68, $pop67 - tee_local $push156=, $2=, $pop157 - i32.const $push155=, 0 - i32.load $push69=, i($pop155) - i32.const $push154=, 1 - i32.lt_s $push70=, $pop69, $pop154 - i32.sub $push71=, $pop156, $pop70 - i32.const $push153=, 255 - i32.and $push72=, $pop71, $pop153 - br_if 0, $pop72 # 0: down to label7 + i32.const $push130=, 0 + i32.ne $push45=, $4, $pop130 + i32.const $push129=, 0 + i32.ne $push44=, $3, $pop129 + i32.and $push128=, $pop45, $pop44 + tee_local $push127=, $4=, $pop128 + i32.const $push126=, 1 + i32.lt_s $push46=, $2, $pop126 + i32.sub $push47=, $pop127, $pop46 + i32.const $push125=, 255 + i32.and $push48=, $pop47, $pop125 + br_if 0, $pop48 # 0: down to label7 # BB#15: # %lor.rhs.7 - i32.const $push165=, 0 - i32.const $push73=, 1 - i32.store16 $drop=, c($pop165), $pop73 - i32.const $push164=, 0 - i32.store $drop=, 0($0), $pop164 - i32.const $3=, 0 + i32.const $5=, 0 + i32.const $push133=, 0 + i32.store $push0=, 0($0), $pop133 + i32.const $push49=, 1 + i32.store16 $drop=, c($pop0), $pop49 .LBB2_16: # %lor.end.7 end_block # label7: - i32.const $push170=, 0 - i32.store $drop=, g($pop170), $3 - i32.const $push169=, 0 - i32.store16 $drop=, h($pop169), $1 - i32.const $push168=, 0 - i32.store8 $drop=, e($pop168), $2 - i32.const $push167=, 0 - i32.const $push74=, 226 - i32.store8 $drop=, b($pop167), $pop74 + i32.const $push50=, 0 + i32.store16 $drop=, h($pop50), $1 + i32.const $push137=, 0 + i32.store $drop=, g($pop137), $5 + i32.const $push136=, 0 + i32.store8 $drop=, e($pop136), $4 + i32.const $push135=, 0 + i32.const $push51=, 226 + i32.store8 $drop=, b($pop135), $pop51 i32.call $drop=, getpid@FUNCTION - i32.const $push166=, 0 - return $pop166 + i32.const $push134=, 0 + # fallthrough-return: $pop134 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr58431.c.s b/test/torture-s/pr58431.c.s index 8896d6738..676560057 100644 --- a/test/torture-s/pr58431.c.s +++ b/test/torture-s/pr58431.c.s @@ -6,92 +6,90 @@ .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32 # BB#0: # %for.body - i32.const $5=, 1 - i32.const $push0=, 0 + i32.const $4=, 1 + i32.const $push1=, 0 + i32.const $push22=, 0 + i32.load16_u $push2=, i($pop22) + i32.const $push21=, 1 + i32.xor $push3=, $pop2, $pop21 + i32.store16 $push0=, i($pop1), $pop3 + i32.const $push4=, 24 + i32.shl $push5=, $pop0, $pop4 + i32.const $push20=, 24 + i32.shr_s $3=, $pop5, $pop20 i32.const $push19=, 0 - i32.load16_u $push1=, i($pop19) - i32.const $push18=, 1 - i32.xor $push2=, $pop1, $pop18 - i32.store16 $0=, i($pop0), $pop2 - i32.const $push17=, 0 - i32.load $2=, k($pop17) - i32.const $push16=, 0 - i32.load8_s $3=, a($pop16) - i32.const $push15=, 0 - i32.load $4=, j($pop15) - i32.const $push3=, 24 - i32.shl $push4=, $0, $pop3 - i32.const $push14=, 24 - i32.shr_s $0=, $pop4, $pop14 - i32.const $push13=, 0 - i32.const $push12=, 0 - i32.store $1=, b($pop13), $pop12 + i32.const $push18=, 0 + i32.store $push17=, b($pop19), $pop18 + tee_local $push16=, $0=, $pop17 + i32.load8_s $2=, a($pop16) + i32.load $1=, k($0) block - br_if 0, $4 # 0: down to label0 + i32.load $push6=, j($0) + br_if 0, $pop6 # 0: down to label0 # BB#1: # %lor.rhs - i32.load $push5=, c($1) - i32.ne $5=, $pop5, $1 + i32.load $push7=, c($0) + i32.ne $4=, $pop7, $0 .LBB0_2: # %lor.end end_block # label0: block block block - i32.ne $push6=, $3, $0 - br_if 0, $pop6 # 0: down to label3 + i32.ne $push8=, $2, $3 + br_if 0, $pop8 # 0: down to label3 # BB#3: # %if.else - i32.const $push21=, 0 - i32.load $0=, e($pop21) - i32.const $push20=, 0 - i32.const $push10=, 1 - i32.store8 $3=, h($pop20), $pop10 - i32.eqz $push35=, $0 - br_if 2, $pop35 # 2: down to label1 -# BB#4: # %for.inc17.preheader + i32.const $push24=, 0 + i32.const $push12=, 1 + i32.store8 $0=, h($pop24), $pop12 i32.const $push23=, 0 - i32.const $push22=, 0 - i32.store $drop=, e($pop23), $pop22 + i32.load $push13=, e($pop23) + i32.eqz $push38=, $pop13 + br_if 2, $pop38 # 2: down to label1 +# BB#4: # %for.inc17.preheader + i32.const $push26=, 0 + i32.const $push25=, 0 + i32.store $drop=, e($pop26), $pop25 br 1 # 1: down to label2 .LBB0_5: # %for.cond10thread-pre-split end_block # label3: - i32.const $push25=, 0 - i32.load $push7=, d($pop25) - i32.const $push24=, 0 - i32.gt_s $push8=, $pop7, $pop24 - br_if 0, $pop8 # 0: down to label2 -# BB#6: # %for.inc.preheader - i32.const $push26=, 0 - i32.const $push9=, 1 - i32.store $drop=, d($pop26), $pop9 -.LBB0_7: # %for.end22 - end_block # label2: - i32.const $push30=, 0 - i32.store $drop=, g($pop30), $2 - i32.const $push29=, 0 - i32.load8_u $0=, h($pop29) i32.const $push28=, 0 - i32.store $drop=, j($pop28), $5 + i32.load $push9=, d($pop28) i32.const $push27=, 0 + i32.gt_s $push10=, $pop9, $pop27 + br_if 0, $pop10 # 0: down to label2 +# BB#6: # %for.inc.preheader + i32.const $push29=, 0 i32.const $push11=, 1 - i32.store $drop=, b($pop27), $pop11 + i32.store $drop=, d($pop29), $pop11 +.LBB0_7: # %for.end22 + end_block # label2: + i32.const $push33=, 0 + i32.store $drop=, g($pop33), $1 + i32.const $push32=, 0 + i32.store $drop=, j($pop32), $4 + i32.const $push31=, 0 + i32.const $push14=, 1 + i32.store $drop=, b($pop31), $pop14 block - br_if 0, $0 # 0: down to label4 + i32.const $push30=, 0 + i32.load8_u $push15=, h($pop30) + br_if 0, $pop15 # 0: down to label4 # BB#8: # %if.end27 - i32.const $push31=, 0 - return $pop31 + i32.const $push34=, 0 + return $pop34 .LBB0_9: # %if.then26 end_block # label4: call abort@FUNCTION unreachable .LBB0_10: # %for.end22.thread end_block # label1: - i32.const $push34=, 0 - i32.store $drop=, g($pop34), $2 - i32.const $push33=, 0 - i32.store $drop=, j($pop33), $5 - i32.const $push32=, 0 - i32.store $drop=, b($pop32), $3 + i32.const $push37=, 0 + i32.store $drop=, j($pop37), $4 + i32.const $push36=, 0 + i32.store $drop=, g($pop36), $1 + i32.const $push35=, 0 + i32.store $drop=, b($pop35), $0 call abort@FUNCTION unreachable .endfunc diff --git a/test/torture-s/pr58564.c.s b/test/torture-s/pr58564.c.s index 5e1685969..d07de5e1b 100644 --- a/test/torture-s/pr58564.c.s +++ b/test/torture-s/pr58564.c.s @@ -10,7 +10,7 @@ main: # @main i32.const $push1=, 0 i32.const $push2=, 0 i32.store $push0=, b($pop1), $pop2 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr58570.c.s b/test/torture-s/pr58570.c.s index c80d4b5ee..383a426e4 100644 --- a/test/torture-s/pr58570.c.s +++ b/test/torture-s/pr58570.c.s @@ -6,53 +6,53 @@ .type main,@function main: # @main .result i32 - .local i64, i32, i32 + .local i32 # BB#0: # %entry block - i32.const $push24=, 0 - i32.load $push0=, e($pop24) - i32.eqz $push32=, $pop0 - br_if 0, $pop32 # 0: down to label0 + i32.const $push25=, 0 + i32.load $push0=, e($pop25) + i32.eqz $push33=, $pop0 + br_if 0, $pop33 # 0: down to label0 # BB#1: # %if.then - i32.const $push29=, 0 - i32.load $push1=, i($pop29) + i32.const $push30=, 0 + i32.load $push1=, i($pop30) i32.const $push2=, 6 - i32.mul $push28=, $pop1, $pop2 - tee_local $push27=, $2=, $pop28 - i32.const $push3=, d - i32.add $push4=, $pop27, $pop3 - i32.const $push5=, 4 - i32.add $push26=, $pop4, $pop5 - tee_local $push25=, $1=, $pop26 - i64.load16_u $0=, 0($pop25) - i64.const $push6=, 32769 - i64.store32 $drop=, d($2):p2align=1, $pop6 - i64.const $push7=, 61440 - i64.and $push8=, $0, $pop7 - i64.store16 $drop=, 0($1), $pop8 + i32.mul $push29=, $pop1, $pop2 + tee_local $push28=, $0=, $pop29 + i64.const $push3=, 32769 + i64.store32 $drop=, d($pop28):p2align=1, $pop3 + i32.const $push4=, d + i32.add $push5=, $0, $pop4 + i32.const $push6=, 4 + i32.add $push27=, $pop5, $pop6 + tee_local $push26=, $0=, $pop27 + i64.load16_u $push7=, 0($0) + i64.const $push8=, 61440 + i64.and $push9=, $pop7, $pop8 + i64.store16 $drop=, 0($pop26), $pop9 .LBB0_2: # %if.end end_block # label0: block + i32.const $push32=, 0 + i64.load32_u $push13=, d($pop32) i32.const $push31=, 0 - i64.load32_u $push12=, d($pop31) - i32.const $push30=, 0 - i64.load16_u $push9=, d+4($pop30) - i64.const $push10=, 32 - i64.shl $push11=, $pop9, $pop10 - i64.or $push13=, $pop12, $pop11 - i64.const $push14=, 20 - i64.shl $push15=, $pop13, $pop14 - i64.const $push16=, 16 - i64.shr_s $push17=, $pop15, $pop16 - i64.const $push18=, 19 - i64.shr_u $push19=, $pop17, $pop18 - i32.wrap/i64 $push20=, $pop19 - i32.const $push21=, 1 - i32.ne $push22=, $pop20, $pop21 - br_if 0, $pop22 # 0: down to label1 + i64.load16_u $push10=, d+4($pop31) + i64.const $push11=, 32 + i64.shl $push12=, $pop10, $pop11 + i64.or $push14=, $pop13, $pop12 + i64.const $push15=, 20 + i64.shl $push16=, $pop14, $pop15 + i64.const $push17=, 16 + i64.shr_s $push18=, $pop16, $pop17 + i64.const $push19=, 19 + i64.shr_u $push20=, $pop18, $pop19 + i32.wrap/i64 $push21=, $pop20 + i32.const $push22=, 1 + i32.ne $push23=, $pop21, $pop22 + br_if 0, $pop23 # 0: down to label1 # BB#3: # %if.end7 - i32.const $push23=, 0 - return $pop23 + i32.const $push24=, 0 + return $pop24 .LBB0_4: # %if.then6 end_block # label1: call abort@FUNCTION diff --git a/test/torture-s/pr58574.c.s b/test/torture-s/pr58574.c.s index 3335733b6..ac047dec3 100644 --- a/test/torture-s/pr58574.c.s +++ b/test/torture-s/pr58574.c.s @@ -7,12 +7,12 @@ foo: # @foo .param f64 .result f64 - .local f64, i32 + .local i32, f64 # BB#0: # %entry - f64.const $1=, 0x1p0 + f64.const $2=, 0x1p0 block i32.trunc_s/f64 $push1346=, $0 - tee_local $push1345=, $2=, $pop1346 + tee_local $push1345=, $1=, $pop1346 i32.const $push0=, 93 i32.gt_u $push1=, $pop1345, $pop0 br_if 0, $pop1 # 0: down to label0 @@ -81,7 +81,7 @@ foo: # @foo block block block - br_table $2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 64, 64, 64, 27, 64, 64, 64, 64, 64, 64, 64, 64, 64, 28, 64, 64, 64, 64, 64, 64, 64, 64, 64, 29, 64, 64, 64, 64, 64, 64, 64, 64, 64, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 0 # 0: down to label64 + br_table $1, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 64, 64, 64, 27, 64, 64, 64, 64, 64, 64, 64, 64, 64, 28, 64, 64, 64, 64, 64, 64, 64, 64, 64, 29, 64, 64, 64, 64, 64, 64, 64, 64, 64, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 0 # 0: down to label64 # 1: down to label63 # 2: down to label62 # 3: down to label61 @@ -150,7 +150,8 @@ foo: # @foo end_block # label64: f64.add $push1262=, $0, $0 f64.const $push1263=, -0x1p0 - f64.add $0=, $pop1262, $pop1263 + f64.add $push1348=, $pop1262, $pop1263 + tee_local $push1347=, $0=, $pop1348 f64.const $push1264=, 0x1.cac6baec528a3p-50 f64.mul $push1265=, $0, $pop1264 f64.const $push1266=, 0x1.9f49c634d36c8p-42 @@ -167,7 +168,7 @@ foo: # @foo f64.mul $push1277=, $0, $pop1276 f64.const $push1278=, 0x1.7578a807708cbp-11 f64.add $push1279=, $pop1277, $pop1278 - f64.mul $push1280=, $0, $pop1279 + f64.mul $push1280=, $pop1347, $pop1279 f64.const $push1281=, 0x1.739ad75c47d48p-11 f64.add $push1344=, $pop1280, $pop1281 return $pop1344 @@ -175,7 +176,8 @@ foo: # @foo end_block # label63: f64.add $push1242=, $0, $0 f64.const $push1243=, -0x1.8p1 - f64.add $0=, $pop1242, $pop1243 + f64.add $push1350=, $pop1242, $pop1243 + tee_local $push1349=, $0=, $pop1350 f64.const $push1244=, 0x1.e62fdf221a945p-50 f64.mul $push1245=, $0, $pop1244 f64.const $push1246=, 0x1.b56f4407b2b3fp-42 @@ -192,7 +194,7 @@ foo: # @foo f64.mul $push1257=, $0, $pop1256 f64.const $push1258=, 0x1.7d157f6e1f426p-11 f64.add $push1259=, $pop1257, $pop1258 - f64.mul $push1260=, $0, $pop1259 + f64.mul $push1260=, $pop1349, $pop1259 f64.const $push1261=, 0x1.1987908299a2dp-9 f64.add $push1343=, $pop1260, $pop1261 return $pop1343 @@ -200,7 +202,8 @@ foo: # @foo end_block # label62: f64.add $push1222=, $0, $0 f64.const $push1223=, -0x1.4p2 - f64.add $0=, $pop1222, $pop1223 + f64.add $push1352=, $pop1222, $pop1223 + tee_local $push1351=, $0=, $pop1352 f64.const $push1224=, 0x1.01900ac1a16a7p-49 f64.mul $push1225=, $0, $pop1224 f64.const $push1226=, 0x1.cce31abf0cfe7p-42 @@ -217,7 +220,7 @@ foo: # @foo f64.mul $push1237=, $0, $pop1236 f64.const $push1238=, 0x1.84ed651dbbfdap-11 f64.add $push1239=, $pop1237, $pop1238 - f64.mul $push1240=, $0, $pop1239 + f64.mul $push1240=, $pop1351, $pop1239 f64.const $push1241=, 0x1.da059a73b42ccp-9 f64.add $push1342=, $pop1240, $pop1241 return $pop1342 @@ -225,7 +228,8 @@ foo: # @foo end_block # label61: f64.add $push1202=, $0, $0 f64.const $push1203=, -0x1.cp2 - f64.add $0=, $pop1202, $pop1203 + f64.add $push1354=, $pop1202, $pop1203 + tee_local $push1353=, $0=, $pop1354 f64.const $push1204=, 0x1.10f093c3894a7p-49 f64.mul $push1205=, $0, $pop1204 f64.const $push1206=, 0x1.e5bf3b2ed15bap-42 @@ -242,7 +246,7 @@ foo: # @foo f64.mul $push1217=, $0, $pop1216 f64.const $push1218=, 0x1.8d00591646be5p-11 f64.add $push1219=, $pop1217, $pop1218 - f64.mul $push1220=, $0, $pop1219 + f64.mul $push1220=, $pop1353, $pop1219 f64.const $push1221=, 0x1.4f3e2bb4b9b09p-8 f64.add $push1341=, $pop1220, $pop1221 return $pop1341 @@ -250,7 +254,8 @@ foo: # @foo end_block # label60: f64.add $push1182=, $0, $0 f64.const $push1183=, -0x1.2p3 - f64.add $0=, $pop1182, $pop1183 + f64.add $push1356=, $pop1182, $pop1183 + tee_local $push1355=, $0=, $pop1356 f64.const $push1184=, 0x1.21535de6eaaa3p-49 f64.mul $push1185=, $0, $pop1184 f64.const $push1186=, 0x1.000d5a2623093p-41 @@ -267,7 +272,7 @@ foo: # @foo f64.mul $push1197=, $0, $pop1196 f64.const $push1198=, 0x1.9553b9bb7810bp-11 f64.add $push1199=, $pop1197, $pop1198 - f64.mul $push1200=, $0, $pop1199 + f64.mul $push1200=, $pop1355, $pop1199 f64.const $push1201=, 0x1.b3885828b601bp-8 f64.add $push1340=, $pop1200, $pop1201 return $pop1340 @@ -275,7 +280,8 @@ foo: # @foo end_block # label59: f64.add $push1162=, $0, $0 f64.const $push1163=, -0x1.6p3 - f64.add $0=, $pop1162, $pop1163 + f64.add $push1358=, $pop1162, $pop1163 + tee_local $push1357=, $0=, $pop1358 f64.const $push1164=, 0x1.32bfca1e19775p-49 f64.mul $push1165=, $0, $pop1164 f64.const $push1166=, 0x1.0e04d99704505p-41 @@ -292,7 +298,7 @@ foo: # @foo f64.mul $push1177=, $0, $pop1176 f64.const $push1178=, 0x1.9de7870d4ff4bp-11 f64.add $push1179=, $pop1177, $pop1178 - f64.mul $push1180=, $0, $pop1179 + f64.mul $push1180=, $pop1357, $pop1179 f64.const $push1181=, 0x1.0cf75f478e341p-7 f64.add $push1339=, $pop1180, $pop1181 return $pop1339 @@ -300,7 +306,8 @@ foo: # @foo end_block # label58: f64.add $push1142=, $0, $0 f64.const $push1143=, -0x1.ap3 - f64.add $0=, $pop1142, $pop1143 + f64.add $push1360=, $pop1142, $pop1143 + tee_local $push1359=, $0=, $pop1360 f64.const $push1144=, 0x1.454fabb93b71cp-49 f64.mul $push1145=, $0, $pop1144 f64.const $push1146=, 0x1.1cd31454040b1p-41 @@ -317,7 +324,7 @@ foo: # @foo f64.mul $push1157=, $0, $pop1156 f64.const $push1158=, 0x1.a6bfc7d698d37p-11 f64.add $push1159=, $pop1157, $pop1158 - f64.mul $push1160=, $0, $pop1159 + f64.mul $push1160=, $pop1359, $pop1159 f64.const $push1161=, 0x1.414112efc6ccep-7 f64.add $push1338=, $pop1160, $pop1161 return $pop1338 @@ -325,7 +332,8 @@ foo: # @foo end_block # label57: f64.add $push1122=, $0, $0 f64.const $push1123=, -0x1.ep3 - f64.add $0=, $pop1122, $pop1123 + f64.add $push1362=, $pop1122, $pop1123 + tee_local $push1361=, $0=, $pop1362 f64.const $push1124=, 0x1.5911c49cf8751p-49 f64.mul $push1125=, $0, $pop1124 f64.const $push1126=, 0x1.2c89559516ee9p-41 @@ -342,7 +350,7 @@ foo: # @foo f64.mul $push1137=, $0, $pop1136 f64.const $push1138=, 0x1.afddd3b040dp-11 f64.add $push1139=, $pop1137, $pop1138 - f64.mul $push1140=, $0, $pop1139 + f64.mul $push1140=, $pop1361, $pop1139 f64.const $push1141=, 0x1.76a2f48c2e771p-7 f64.add $push1337=, $pop1140, $pop1141 return $pop1337 @@ -350,7 +358,8 @@ foo: # @foo end_block # label56: f64.add $push1102=, $0, $0 f64.const $push1103=, -0x1.1p4 - f64.add $0=, $pop1102, $pop1103 + f64.add $push1364=, $pop1102, $pop1103 + tee_local $push1363=, $0=, $pop1364 f64.const $push1104=, 0x1.6e18872722536p-49 f64.mul $push1105=, $0, $pop1104 f64.const $push1106=, 0x1.3d3324d4e01e3p-41 @@ -367,7 +376,7 @@ foo: # @foo f64.mul $push1117=, $0, $pop1116 f64.const $push1118=, 0x1.b94708fe00767p-11 f64.add $push1119=, $pop1117, $pop1118 - f64.mul $push1120=, $0, $pop1119 + f64.mul $push1120=, $pop1363, $pop1119 f64.const $push1121=, 0x1.ad3a604e1e71p-7 f64.add $push1336=, $pop1120, $pop1121 return $pop1336 @@ -375,7 +384,8 @@ foo: # @foo end_block # label55: f64.add $push1082=, $0, $0 f64.const $push1083=, -0x1.3p4 - f64.add $0=, $pop1082, $pop1083 + f64.add $push1366=, $pop1082, $pop1083 + tee_local $push1365=, $0=, $pop1366 f64.const $push1084=, 0x1.847dc6a7decccp-49 f64.mul $push1085=, $0, $pop1084 f64.const $push1086=, 0x1.4ee05c5bffeaap-41 @@ -392,7 +402,7 @@ foo: # @foo f64.mul $push1097=, $0, $pop1096 f64.const $push1098=, 0x1.c2fb67bfd7c6dp-11 f64.add $push1099=, $pop1097, $pop1098 - f64.mul $push1100=, $0, $pop1099 + f64.mul $push1100=, $pop1365, $pop1099 f64.const $push1101=, 0x1.e4f765fd8adacp-7 f64.add $push1335=, $pop1100, $pop1101 return $pop1335 @@ -400,7 +410,8 @@ foo: # @foo end_block # label54: f64.add $push1062=, $0, $0 f64.const $push1063=, -0x1.5p4 - f64.add $0=, $pop1062, $pop1063 + f64.add $push1368=, $pop1062, $pop1063 + tee_local $push1367=, $0=, $pop1368 f64.const $push1064=, 0x1.9c57a5f629aa4p-49 f64.mul $push1065=, $0, $pop1064 f64.const $push1066=, 0x1.61a5294113d1fp-41 @@ -417,7 +428,7 @@ foo: # @foo f64.mul $push1077=, $0, $pop1076 f64.const $push1078=, 0x1.ccfef6c0912a3p-11 f64.add $push1079=, $pop1077, $pop1078 - f64.mul $push1080=, $0, $pop1079 + f64.mul $push1080=, $pop1367, $pop1079 f64.const $push1081=, 0x1.0efdc9c4da9p-6 f64.add $push1334=, $pop1080, $pop1081 return $pop1334 @@ -425,7 +436,8 @@ foo: # @foo end_block # label53: f64.add $push1042=, $0, $0 f64.const $push1043=, -0x1.7p4 - f64.add $0=, $pop1042, $pop1043 + f64.add $push1370=, $pop1042, $pop1043 + tee_local $push1369=, $0=, $pop1370 f64.const $push1044=, 0x1.b5bff86228abep-49 f64.mul $push1045=, $0, $pop1044 f64.const $push1046=, 0x1.758ff4dd67c05p-41 @@ -442,7 +454,7 @@ foo: # @foo f64.mul $push1057=, $0, $pop1056 f64.const $push1058=, 0x1.d755bccaf709bp-11 f64.add $push1059=, $pop1057, $pop1058 - f64.mul $push1060=, $0, $pop1059 + f64.mul $push1060=, $pop1369, $pop1059 f64.const $push1061=, 0x1.2c1f42bb6673p-6 f64.add $push1333=, $pop1060, $pop1061 return $pop1333 @@ -450,7 +462,8 @@ foo: # @foo end_block # label52: f64.add $push1022=, $0, $0 f64.const $push1023=, -0x1.9p4 - f64.add $0=, $pop1022, $pop1023 + f64.add $push1372=, $pop1022, $pop1023 + tee_local $push1371=, $0=, $pop1372 f64.const $push1024=, 0x1.d0cce0c2d79abp-49 f64.mul $push1025=, $0, $pop1024 f64.const $push1026=, 0x1.8ab4ec479933cp-41 @@ -467,7 +480,7 @@ foo: # @foo f64.mul $push1037=, $0, $pop1036 f64.const $push1038=, 0x1.e2026910e5ab7p-11 f64.add $push1039=, $pop1037, $pop1038 - f64.mul $push1040=, $0, $pop1039 + f64.mul $push1040=, $pop1371, $pop1039 f64.const $push1041=, 0x1.49e8815e39714p-6 f64.add $push1332=, $pop1040, $pop1041 return $pop1332 @@ -475,7 +488,8 @@ foo: # @foo end_block # label51: f64.add $push1002=, $0, $0 f64.const $push1003=, -0x1.bp4 - f64.add $0=, $pop1002, $pop1003 + f64.add $push1374=, $pop1002, $pop1003 + tee_local $push1373=, $0=, $pop1374 f64.const $push1004=, 0x1.ed9be2e1862d9p-49 f64.mul $push1005=, $0, $pop1004 f64.const $push1006=, 0x1.a129ad859a0ebp-41 @@ -492,7 +506,7 @@ foo: # @foo f64.mul $push1017=, $0, $pop1016 f64.const $push1018=, 0x1.ed0a59f6159b7p-11 f64.add $push1019=, $pop1017, $pop1018 - f64.mul $push1020=, $0, $pop1019 + f64.mul $push1020=, $pop1373, $pop1019 f64.const $push1021=, 0x1.6861e92923e5cp-6 f64.add $push1331=, $pop1020, $pop1021 return $pop1331 @@ -500,7 +514,8 @@ foo: # @foo end_block # label50: f64.add $push982=, $0, $0 f64.const $push983=, -0x1.dp4 - f64.add $0=, $pop982, $pop983 + f64.add $push1376=, $pop982, $pop983 + tee_local $push1375=, $0=, $pop1376 f64.const $push984=, 0x1.0627198057091p-48 f64.mul $push985=, $0, $pop984 f64.const $push986=, 0x1.b903d69d5c337p-41 @@ -517,7 +532,7 @@ foo: # @foo f64.mul $push997=, $0, $pop996 f64.const $push998=, 0x1.f86ee71374fcdp-11 f64.add $push999=, $pop997, $pop998 - f64.mul $push1000=, $0, $pop999 + f64.mul $push1000=, $pop1375, $pop999 f64.const $push1001=, 0x1.878b7a1c25d07p-6 f64.add $push1330=, $pop1000, $pop1001 return $pop1330 @@ -525,7 +540,8 @@ foo: # @foo end_block # label49: f64.add $push962=, $0, $0 f64.const $push963=, -0x1.fp4 - f64.add $0=, $pop962, $pop963 + f64.add $push1378=, $pop962, $pop963 + tee_local $push1377=, $0=, $pop1378 f64.const $push964=, 0x1.167ed2383a844p-48 f64.mul $push965=, $0, $pop964 f64.const $push966=, 0x1.d2590594d1848p-41 @@ -542,7 +558,7 @@ foo: # @foo f64.mul $push977=, $0, $pop976 f64.const $push978=, 0x1.021ab7665e2dep-10 f64.add $push979=, $pop977, $pop978 - f64.mul $push980=, $0, $pop979 + f64.mul $push980=, $pop1377, $pop979 f64.const $push981=, 0x1.a771c970f7b9ep-6 f64.add $push1329=, $pop980, $pop981 return $pop1329 @@ -550,7 +566,8 @@ foo: # @foo end_block # label48: f64.add $push942=, $0, $0 f64.const $push943=, -0x1.08p5 - f64.add $0=, $pop942, $pop943 + f64.add $push1380=, $pop942, $pop943 + tee_local $push1379=, $0=, $pop1380 f64.const $push944=, 0x1.27e96632d455fp-48 f64.mul $push945=, $0, $pop944 f64.const $push946=, 0x1.ed449c2f3d75fp-41 @@ -567,7 +584,7 @@ foo: # @foo f64.mul $push957=, $0, $pop956 f64.const $push958=, 0x1.08305029e3ff2p-10 f64.add $push959=, $pop957, $pop958 - f64.mul $push960=, $0, $pop959 + f64.mul $push960=, $pop1379, $pop959 f64.const $push961=, 0x1.c814d72799a2p-6 f64.add $push1328=, $pop960, $pop961 return $pop1328 @@ -575,7 +592,8 @@ foo: # @foo end_block # label47: f64.add $push922=, $0, $0 f64.const $push923=, -0x1.18p5 - f64.add $0=, $pop922, $pop923 + f64.add $push1382=, $pop922, $pop923 + tee_local $push1381=, $0=, $pop1382 f64.const $push924=, 0x1.3a73bf18375e2p-48 f64.mul $push925=, $0, $pop924 f64.const $push926=, 0x1.04ef8d289d598p-40 @@ -592,7 +610,7 @@ foo: # @foo f64.mul $push937=, $0, $pop936 f64.const $push938=, 0x1.0e7aed0628383p-10 f64.add $push939=, $pop937, $pop938 - f64.mul $push940=, $0, $pop939 + f64.mul $push940=, $pop1381, $pop939 f64.const $push941=, 0x1.e9813879c4114p-6 f64.add $push1327=, $pop940, $pop941 return $pop1327 @@ -600,7 +618,8 @@ foo: # @foo end_block # label46: f64.add $push902=, $0, $0 f64.const $push903=, -0x1.28p5 - f64.add $0=, $pop902, $pop903 + f64.add $push1384=, $pop902, $pop903 + tee_local $push1383=, $0=, $pop1384 f64.const $push904=, 0x1.4e35d7fbf4617p-48 f64.mul $push905=, $0, $pop904 f64.const $push906=, 0x1.1421f0df0657fp-40 @@ -617,7 +636,7 @@ foo: # @foo f64.mul $push917=, $0, $pop916 f64.const $push918=, 0x1.14fb39c7a1eaap-10 f64.add $push919=, $pop917, $pop918 - f64.mul $push920=, $0, $pop919 + f64.mul $push920=, $pop1383, $pop919 f64.const $push921=, 0x1.05db76b3bb83dp-5 f64.add $push1326=, $pop920, $pop921 return $pop1326 @@ -625,7 +644,8 @@ foo: # @foo end_block # label45: f64.add $push882=, $0, $0 f64.const $push883=, -0x1.38p5 - f64.add $0=, $pop882, $pop883 + f64.add $push1386=, $pop882, $pop883 + tee_local $push1385=, $0=, $pop1386 f64.const $push884=, 0x1.633e72c2b33b3p-48 f64.mul $push885=, $0, $pop884 f64.const $push886=, 0x1.24489b0bcfd4cp-40 @@ -642,7 +662,7 @@ foo: # @foo f64.mul $push897=, $0, $pop896 f64.const $push898=, 0x1.1bb7ec6af7c5ap-10 f64.add $push899=, $pop897, $pop898 - f64.mul $push900=, $0, $pop899 + f64.mul $push900=, $pop1385, $pop899 f64.const $push901=, 0x1.176145953586dp-5 f64.add $push1325=, $pop900, $pop901 return $pop1325 @@ -650,7 +670,8 @@ foo: # @foo end_block # label44: f64.add $push862=, $0, $0 f64.const $push863=, -0x1.48p5 - f64.add $0=, $pop862, $pop863 + f64.add $push1388=, $pop862, $pop863 + tee_local $push1387=, $0=, $pop1388 f64.const $push864=, 0x1.79a58a8004affp-48 f64.mul $push865=, $0, $pop864 f64.const $push866=, 0x1.35741e6f4452cp-40 @@ -667,7 +688,7 @@ foo: # @foo f64.mul $push877=, $0, $pop876 f64.const $push878=, 0x1.22b104f029c92p-10 f64.add $push879=, $pop877, $pop878 - f64.mul $push880=, $0, $pop879 + f64.mul $push880=, $pop1387, $pop879 f64.const $push881=, 0x1.295421c044285p-5 f64.add $push1324=, $pop880, $pop881 return $pop1324 @@ -675,7 +696,8 @@ foo: # @foo end_block # label43: f64.add $push842=, $0, $0 f64.const $push843=, -0x1.58p5 - f64.add $0=, $pop842, $pop843 + f64.add $push1390=, $pop842, $pop843 + tee_local $push1389=, $0=, $pop1390 f64.const $push844=, 0x1.91831a4779845p-48 f64.mul $push845=, $0, $pop844 f64.const $push846=, 0x1.47b173735b59fp-40 @@ -692,7 +714,7 @@ foo: # @foo f64.mul $push857=, $0, $pop856 f64.const $push858=, 0x1.29e6835737f54p-10 f64.add $push859=, $pop857, $pop858 - f64.mul $push860=, $0, $pop859 + f64.mul $push860=, $pop1389, $pop859 f64.const $push861=, 0x1.3bb83cf2cf95dp-5 f64.add $push1323=, $pop860, $pop861 return $pop1323 @@ -700,7 +722,8 @@ foo: # @foo end_block # label42: f64.add $push822=, $0, $0 f64.const $push823=, -0x1.68p5 - f64.add $0=, $pop822, $pop823 + f64.add $push1392=, $pop822, $pop823 + tee_local $push1391=, $0=, $pop1392 f64.const $push824=, 0x1.aae99476e38a8p-48 f64.mul $push825=, $0, $pop824 f64.const $push826=, 0x1.5b1d6ccaacc2cp-40 @@ -717,7 +740,7 @@ foo: # @foo f64.mul $push837=, $0, $pop836 f64.const $push838=, 0x1.3165d3996fa83p-10 f64.add $push839=, $pop837, $pop838 - f64.mul $push840=, $0, $pop839 + f64.mul $push840=, $pop1391, $pop839 f64.const $push841=, 0x1.4e93e1c9b413ap-5 f64.add $push1322=, $pop840, $pop841 return $pop1322 @@ -725,7 +748,8 @@ foo: # @foo end_block # label41: f64.add $push802=, $0, $0 f64.const $push803=, -0x1.78p5 - f64.add $0=, $pop802, $pop803 + f64.add $push1394=, $pop802, $pop803 + tee_local $push1393=, $0=, $pop1394 f64.const $push804=, 0x1.c5f67cd792795p-48 f64.mul $push805=, $0, $pop804 f64.const $push806=, 0x1.6fbf3f21de835p-40 @@ -742,7 +766,7 @@ foo: # @foo f64.mul $push817=, $0, $pop816 f64.const $push818=, 0x1.392189bd8383bp-10 f64.add $push819=, $pop817, $pop818 - f64.mul $push820=, $0, $pop819 + f64.mul $push820=, $pop1393, $pop819 f64.const $push821=, 0x1.61e71044f1a1ap-5 f64.add $push1321=, $pop820, $pop821 return $pop1321 @@ -750,7 +774,8 @@ foo: # @foo end_block # label40: f64.add $push782=, $0, $0 f64.const $push783=, -0x1.88p5 - f64.add $0=, $pop782, $pop783 + f64.add $push1396=, $pop782, $pop783 + tee_local $push1395=, $0=, $pop1396 f64.const $push784=, 0x1.e2c1ce7d17156p-48 f64.mul $push785=, $0, $pop784 f64.const $push786=, 0x1.85b3bd2b88744p-40 @@ -767,7 +792,7 @@ foo: # @foo f64.mul $push797=, $0, $pop796 f64.const $push798=, 0x1.412711bcc0e61p-10 f64.add $push799=, $pop797, $pop798 - f64.mul $push800=, $0, $pop799 + f64.mul $push800=, $pop1395, $pop799 f64.const $push801=, 0x1.75ba2be0589adp-5 f64.add $push1320=, $pop800, $pop801 return $pop1320 @@ -775,7 +800,8 @@ foo: # @foo end_block # label39: f64.add $push762=, $0, $0 f64.const $push763=, -0x1.98p5 - f64.add $0=, $pop762, $pop763 + f64.add $push1398=, $pop762, $pop763 + tee_local $push1397=, $0=, $pop1398 f64.const $push764=, 0x1.00b39a7a160dp-47 f64.mul $push765=, $0, $pop764 f64.const $push766=, 0x1.9d095040f681cp-40 @@ -792,7 +818,7 @@ foo: # @foo f64.mul $push777=, $0, $pop776 f64.const $push778=, 0x1.497d2193ce7e8p-10 f64.add $push779=, $pop777, $pop778 - f64.mul $push780=, $0, $pop779 + f64.mul $push780=, $pop1397, $pop779 f64.const $push781=, 0x1.8a0f4d7add15fp-5 f64.add $push1319=, $pop780, $pop781 return $pop1319 @@ -800,7 +826,8 @@ foo: # @foo end_block # label38: f64.add $push742=, $0, $0 f64.const $push743=, -0x1.d8p5 - f64.add $0=, $pop742, $pop743 + f64.add $push1400=, $pop742, $pop743 + tee_local $push1399=, $0=, $pop1400 f64.const $push744=, 0x1.4870426dcdb0ep-47 f64.mul $push745=, $0, $pop744 f64.const $push746=, 0x1.05189fcd8287bp-39 @@ -817,7 +844,7 @@ foo: # @foo f64.mul $push757=, $0, $pop756 f64.const $push758=, 0x1.6e01655acdabfp-10 f64.add $push759=, $pop757, $pop758 - f64.mul $push760=, $0, $pop759 + f64.mul $push760=, $pop1399, $pop759 f64.const $push761=, 0x1.e0e30446b69dbp-5 f64.add $push1318=, $pop760, $pop761 return $pop1318 @@ -825,7 +852,8 @@ foo: # @foo end_block # label37: f64.add $push722=, $0, $0 f64.const $push723=, -0x1.3cp6 - f64.add $0=, $pop722, $pop723 + f64.add $push1402=, $pop722, $pop723 + tee_local $push1401=, $0=, $pop1402 f64.const $push724=, 0x1.2ee9801a347abp-46 f64.mul $push725=, $0, $pop724 f64.const $push726=, 0x1.d9aa84ed5f7f8p-39 @@ -842,7 +870,7 @@ foo: # @foo f64.mul $push737=, $0, $pop736 f64.const $push738=, 0x1.e61ead6a30f64p-10 f64.add $push739=, $pop737, $pop738 - f64.mul $push740=, $0, $pop739 + f64.mul $push740=, $pop1401, $pop739 f64.const $push741=, 0x1.745bf26f1dc51p-4 f64.add $push1317=, $pop740, $pop741 return $pop1317 @@ -850,7 +878,8 @@ foo: # @foo end_block # label36: f64.add $push702=, $0, $0 f64.const $push703=, -0x1.8cp6 - f64.add $0=, $pop702, $pop703 + f64.add $push1404=, $pop702, $pop703 + tee_local $push1403=, $0=, $pop1404 f64.const $push704=, 0x1.11ed4c2f43d7ep-45 f64.mul $push705=, $0, $pop704 f64.const $push706=, 0x1.af109a3630d2ep-38 @@ -867,7 +896,7 @@ foo: # @foo f64.mul $push717=, $0, $pop716 f64.const $push718=, 0x1.4de48f6131734p-9 f64.add $push719=, $pop717, $pop718 - f64.mul $push720=, $0, $pop719 + f64.mul $push720=, $pop1403, $pop719 f64.const $push721=, 0x1.1350092ccf6bep-3 f64.add $push1316=, $pop720, $pop721 return $pop1316 @@ -875,7 +904,8 @@ foo: # @foo end_block # label35: f64.add $push682=, $0, $0 f64.const $push683=, -0x1.dcp6 - f64.add $0=, $pop682, $pop683 + f64.add $push1406=, $pop682, $pop683 + tee_local $push1405=, $0=, $pop1406 f64.const $push684=, 0x1.dcc29389c0b3bp-45 f64.mul $push685=, $0, $pop684 f64.const $push686=, 0x1.83c457cdf69a8p-37 @@ -892,7 +922,7 @@ foo: # @foo f64.mul $push697=, $0, $pop696 f64.const $push698=, 0x1.dc57844b53bb7p-9 f64.add $push699=, $pop697, $pop698 - f64.mul $push700=, $0, $pop699 + f64.mul $push700=, $pop1405, $pop699 f64.const $push701=, 0x1.902de00d1b717p-3 f64.add $push1315=, $pop700, $pop701 return $pop1315 @@ -900,7 +930,8 @@ foo: # @foo end_block # label34: f64.add $push662=, $0, $0 f64.const $push663=, -0x1.e4p6 - f64.add $0=, $pop662, $pop663 + f64.add $push1408=, $pop662, $pop663 + tee_local $push1407=, $0=, $pop1408 f64.const $push664=, 0x1.f682fb42899afp-45 f64.mul $push665=, $0, $pop664 f64.const $push666=, 0x1.9ab5097251322p-37 @@ -917,7 +948,7 @@ foo: # @foo f64.mul $push677=, $0, $pop676 f64.const $push678=, 0x1.eea7122820b08p-9 f64.add $push679=, $pop677, $pop678 - f64.mul $push680=, $0, $pop679 + f64.mul $push680=, $pop1407, $pop679 f64.const $push681=, 0x1.9f5ad96a6a012p-3 f64.add $push1314=, $pop680, $pop681 return $pop1314 @@ -925,7 +956,8 @@ foo: # @foo end_block # label33: f64.add $push642=, $0, $0 f64.const $push643=, -0x1.ecp6 - f64.add $0=, $pop642, $pop643 + f64.add $push1410=, $pop642, $pop643 + tee_local $push1409=, $0=, $pop1410 f64.const $push644=, 0x1.08ad32632c073p-44 f64.mul $push645=, $0, $pop644 f64.const $push646=, 0x1.b2e9fd6fd80ddp-37 @@ -942,7 +974,7 @@ foo: # @foo f64.mul $push657=, $0, $pop656 f64.const $push658=, 0x1.00f0c0c7dbcc4p-8 f64.add $push659=, $pop657, $pop658 - f64.mul $push660=, $0, $pop659 + f64.mul $push660=, $pop1409, $pop659 f64.const $push661=, 0x1.af1a9fbe76c8bp-3 f64.add $push1313=, $pop660, $pop661 return $pop1313 @@ -950,7 +982,8 @@ foo: # @foo end_block # label32: f64.add $push622=, $0, $0 f64.const $push623=, -0x1.f4p6 - f64.add $0=, $pop622, $pop623 + f64.add $push1412=, $pop622, $pop623 + tee_local $push1411=, $0=, $pop1412 f64.const $push624=, 0x1.16a6b65650415p-44 f64.mul $push625=, $0, $pop624 f64.const $push626=, 0x1.cc5a31eebbb9ep-37 @@ -967,7 +1000,7 @@ foo: # @foo f64.mul $push637=, $0, $pop636 f64.const $push638=, 0x1.0b0a1f3db2e8fp-8 f64.add $push639=, $pop637, $pop638 - f64.mul $push640=, $0, $pop639 + f64.mul $push640=, $pop1411, $pop639 f64.const $push641=, 0x1.bf77af640639dp-3 f64.add $push1312=, $pop640, $pop641 return $pop1312 @@ -975,7 +1008,8 @@ foo: # @foo end_block # label31: f64.add $push602=, $0, $0 f64.const $push603=, -0x1.fcp6 - f64.add $0=, $pop602, $pop603 + f64.add $push1414=, $pop602, $pop603 + tee_local $push1413=, $0=, $pop1414 f64.const $push604=, 0x1.252f30a08e99p-44 f64.mul $push605=, $0, $pop604 f64.const $push606=, 0x1.e729ae4e3a05p-37 @@ -992,7 +1026,7 @@ foo: # @foo f64.mul $push617=, $0, $pop616 f64.const $push618=, 0x1.15a65a723c5d8p-8 f64.add $push619=, $pop617, $pop618 - f64.mul $push620=, $0, $pop619 + f64.mul $push620=, $pop1413, $pop619 f64.const $push621=, 0x1.d07c84b5dcc64p-3 f64.add $push1311=, $pop620, $pop621 return $pop1311 @@ -1000,7 +1034,8 @@ foo: # @foo end_block # label30: f64.add $push582=, $0, $0 f64.const $push583=, -0x1.02p7 - f64.add $0=, $pop582, $pop583 + f64.add $push1416=, $pop582, $pop583 + tee_local $push1415=, $0=, $pop1416 f64.const $push584=, 0x1.3448ef8da1489p-44 f64.mul $push585=, $0, $pop584 f64.const $push586=, 0x1.01ac394729779p-36 @@ -1017,7 +1052,7 @@ foo: # @foo f64.mul $push597=, $0, $pop596 f64.const $push598=, 0x1.20cc28621ed91p-8 f64.add $push599=, $pop597, $pop598 - f64.mul $push600=, $0, $pop599 + f64.mul $push600=, $pop1415, $pop599 f64.const $push601=, 0x1.e2339c0ebedfap-3 f64.add $push1310=, $pop600, $pop601 return $pop1310 @@ -1025,7 +1060,8 @@ foo: # @foo end_block # label29: f64.add $push562=, $0, $0 f64.const $push563=, -0x1.06p7 - f64.add $0=, $pop562, $pop563 + f64.add $push1418=, $pop562, $pop563 + tee_local $push1417=, $0=, $pop1418 f64.const $push564=, 0x1.43f51a43656d1p-44 f64.mul $push565=, $0, $pop564 f64.const $push566=, 0x1.107c412f52afep-36 @@ -1042,7 +1078,7 @@ foo: # @foo f64.mul $push577=, $0, $pop576 f64.const $push578=, 0x1.2c83ec892ab69p-8 f64.add $push579=, $pop577, $pop578 - f64.mul $push580=, $0, $pop579 + f64.mul $push580=, $pop1417, $pop579 f64.const $push581=, 0x1.f49cf56eac86p-3 f64.add $push1309=, $pop580, $pop581 return $pop1309 @@ -1050,7 +1086,8 @@ foo: # @foo end_block # label28: f64.add $push542=, $0, $0 f64.const $push543=, -0x1.0ap7 - f64.add $0=, $pop542, $pop543 + f64.add $push1420=, $pop542, $pop543 + tee_local $push1419=, $0=, $pop1420 f64.const $push544=, 0x1.5434d7e7b823ap-44 f64.mul $push545=, $0, $pop544 f64.const $push546=, 0x1.200df0b7681fp-36 @@ -1067,7 +1104,7 @@ foo: # @foo f64.mul $push557=, $0, $pop556 f64.const $push558=, 0x1.38d60a633051p-8 f64.add $push559=, $pop557, $pop558 - f64.mul $push560=, $0, $pop559 + f64.mul $push560=, $pop1419, $pop559 f64.const $push561=, 0x1.03e1869835159p-2 f64.add $push1308=, $pop560, $pop561 return $pop1308 @@ -1075,7 +1112,8 @@ foo: # @foo end_block # label27: f64.add $push522=, $0, $0 f64.const $push523=, -0x1.0ep7 - f64.add $0=, $pop522, $pop523 + f64.add $push1422=, $pop522, $pop523 + tee_local $push1421=, $0=, $pop1422 f64.const $push524=, 0x1.65094fa076898p-44 f64.mul $push525=, $0, $pop524 f64.const $push526=, 0x1.3065c8cb517eep-36 @@ -1092,7 +1130,7 @@ foo: # @foo f64.mul $push537=, $0, $pop536 f64.const $push538=, 0x1.45cc92eb29af2p-8 f64.add $push539=, $pop537, $pop538 - f64.mul $push540=, $0, $pop539 + f64.mul $push540=, $pop1421, $pop539 f64.const $push541=, 0x1.0ddd6e04c0592p-2 f64.add $push1307=, $pop540, $pop541 return $pop1307 @@ -1100,7 +1138,8 @@ foo: # @foo end_block # label26: f64.add $push502=, $0, $0 f64.const $push503=, -0x1.12p7 - f64.add $0=, $pop502, $pop503 + f64.add $push1424=, $pop502, $pop503 + tee_local $push1423=, $0=, $pop1424 f64.const $push504=, 0x1.7672816da09eap-44 f64.mul $push505=, $0, $pop504 f64.const $push506=, 0x1.41884a56f6894p-36 @@ -1117,7 +1156,7 @@ foo: # @foo f64.mul $push517=, $0, $pop516 f64.const $push518=, 0x1.536e3c1dbd803p-8 f64.add $push519=, $pop517, $pop518 - f64.mul $push520=, $0, $pop519 + f64.mul $push520=, $pop1423, $pop519 f64.const $push521=, 0x1.184230fcf80dcp-2 f64.add $push1306=, $pop520, $pop521 return $pop1306 @@ -1125,7 +1164,8 @@ foo: # @foo end_block # label25: f64.add $push482=, $0, $0 f64.const $push483=, -0x1.16p7 - f64.add $0=, $pop482, $pop483 + f64.add $push1426=, $pop482, $pop483 + tee_local $push1425=, $0=, $pop1426 f64.const $push484=, 0x1.88706d4f3663p-44 f64.mul $push485=, $0, $pop484 f64.const $push486=, 0x1.5382f81e0e6bap-36 @@ -1142,7 +1182,7 @@ foo: # @foo f64.mul $push497=, $0, $pop496 f64.const $push498=, 0x1.61c871f439226p-8 f64.add $push499=, $pop497, $pop498 - f64.mul $push500=, $0, $pop499 + f64.mul $push500=, $pop1425, $pop499 f64.const $push501=, 0x1.23150dae3e6c5p-2 f64.add $push1305=, $pop500, $pop501 return $pop1305 @@ -1150,7 +1190,8 @@ foo: # @foo end_block # label24: f64.add $push462=, $0, $0 f64.const $push463=, -0x1.1ap7 - f64.add $0=, $pop462, $pop463 + f64.add $push1428=, $pop462, $pop463 + tee_local $push1427=, $0=, $pop1428 f64.const $push464=, 0x1.9b01ec1f5ab98p-44 f64.mul $push465=, $0, $pop464 f64.const $push466=, 0x1.6655d22099262p-36 @@ -1167,7 +1208,7 @@ foo: # @foo f64.mul $push477=, $0, $pop476 f64.const $push478=, 0x1.70e397ea6cf0cp-8 f64.add $push479=, $pop477, $pop478 - f64.mul $push480=, $0, $pop479 + f64.mul $push480=, $pop1427, $pop479 f64.const $push481=, 0x1.2e60807357e67p-2 f64.add $push1304=, $pop480, $pop481 return $pop1304 @@ -1175,7 +1216,8 @@ foo: # @foo end_block # label23: f64.add $push442=, $0, $0 f64.const $push443=, -0x1.1ep7 - f64.add $0=, $pop442, $pop443 + f64.add $push1430=, $pop442, $pop443 + tee_local $push1429=, $0=, $pop1430 f64.const $push444=, 0x1.ae26fdde0da22p-44 f64.mul $push445=, $0, $pop444 f64.const $push446=, 0x1.7a0e5b224de62p-36 @@ -1192,7 +1234,7 @@ foo: # @foo f64.mul $push457=, $0, $pop456 f64.const $push458=, 0x1.80c9befb52f21p-8 f64.add $push459=, $pop457, $pop458 - f64.mul $push460=, $0, $pop459 + f64.mul $push460=, $pop1429, $pop459 f64.const $push461=, 0x1.3a272862f598ap-2 f64.add $push1303=, $pop460, $pop461 return $pop1303 @@ -1200,7 +1242,8 @@ foo: # @foo end_block # label22: f64.add $push422=, $0, $0 f64.const $push423=, -0x1.22p7 - f64.add $0=, $pop422, $pop423 + f64.add $push1432=, $pop422, $pop423 + tee_local $push1431=, $0=, $pop1432 f64.const $push424=, 0x1.c1de7b6571ffbp-44 f64.mul $push425=, $0, $pop424 f64.const $push426=, 0x1.8eac93232cabap-36 @@ -1217,7 +1260,7 @@ foo: # @foo f64.mul $push437=, $0, $pop436 f64.const $push438=, 0x1.918a009f62307p-8 f64.add $push439=, $pop437, $pop438 - f64.mul $push440=, $0, $pop439 + f64.mul $push440=, $pop1431, $pop439 f64.const $push441=, 0x1.466e43aa79bbbp-2 f64.add $push1302=, $pop440, $pop441 return $pop1302 @@ -1225,7 +1268,8 @@ foo: # @foo end_block # label21: f64.add $push402=, $0, $0 f64.const $push403=, -0x1.26p7 - f64.add $0=, $pop402, $pop403 + f64.add $push1434=, $pop402, $pop403 + tee_local $push1433=, $0=, $pop1434 f64.const $push404=, 0x1.d62179d259236p-44 f64.mul $push405=, $0, $pop404 f64.const $push406=, 0x1.a43dfce6eca43p-36 @@ -1242,7 +1286,7 @@ foo: # @foo f64.mul $push417=, $0, $pop416 f64.const $push418=, 0x1.a32e6dd194b2bp-8 f64.add $push419=, $pop417, $pop418 - f64.mul $push420=, $0, $pop419 + f64.mul $push420=, $pop1433, $pop419 f64.const $push421=, 0x1.53404ea4a8c15p-2 f64.add $push1301=, $pop420, $pop421 return $pop1301 @@ -1250,7 +1294,8 @@ foo: # @foo end_block # label20: f64.add $push382=, $0, $0 f64.const $push383=, -0x1.2ap7 - f64.add $0=, $pop382, $pop383 + f64.add $push1436=, $pop382, $pop383 + tee_local $push1435=, $0=, $pop1436 f64.const $push384=, 0x1.eaeff924c30d3p-44 f64.mul $push385=, $0, $pop384 f64.const $push386=, 0x1.bac2986d8dcfdp-36 @@ -1267,7 +1312,7 @@ foo: # @foo f64.mul $push397=, $0, $pop396 f64.const $push398=, 0x1.b5c4728b37d7p-8 f64.add $push399=, $pop397, $pop398 - f64.mul $push400=, $0, $pop399 + f64.mul $push400=, $pop1435, $pop399 f64.const $push401=, 0x1.60a5269595feep-2 f64.add $push1300=, $pop400, $pop401 return $pop1300 @@ -1275,7 +1320,8 @@ foo: # @foo end_block # label19: f64.add $push362=, $0, $0 f64.const $push363=, -0x1.2ep7 - f64.add $0=, $pop362, $pop363 + f64.add $push1438=, $pop362, $pop363 + tee_local $push1437=, $0=, $pop1438 f64.const $push364=, 0x1.002a2cd8bae1cp-43 f64.mul $push365=, $0, $pop364 f64.const $push366=, 0x1.d247e87ac75bfp-36 @@ -1292,7 +1338,7 @@ foo: # @foo f64.mul $push377=, $0, $pop376 f64.const $push378=, 0x1.c95b2844c2a7bp-8 f64.add $push379=, $pop377, $pop378 - f64.mul $push380=, $0, $pop379 + f64.mul $push380=, $pop1437, $pop379 f64.const $push381=, 0x1.6e9f6a93f290bp-2 f64.add $push1299=, $pop380, $pop381 return $pop1299 @@ -1300,7 +1346,8 @@ foo: # @foo end_block # label18: f64.add $push342=, $0, $0 f64.const $push343=, -0x1.32p7 - f64.add $0=, $pop342, $pop343 + f64.add $push1440=, $pop342, $pop343 + tee_local $push1439=, $0=, $pop1440 f64.const $push344=, 0x1.0b1bc641957fap-43 f64.mul $push345=, $0, $pop344 f64.const $push346=, 0x1.eacded0e9948ap-36 @@ -1317,7 +1364,7 @@ foo: # @foo f64.mul $push357=, $0, $pop356 f64.const $push358=, 0x1.de01a876ac2ecp-8 f64.add $push359=, $pop357, $pop358 - f64.mul $push360=, $0, $pop359 + f64.mul $push360=, $pop1439, $pop359 f64.const $push361=, 0x1.7d3c36113404fp-2 f64.add $push1298=, $pop360, $pop361 return $pop1298 @@ -1325,7 +1372,8 @@ foo: # @foo end_block # label17: f64.add $push322=, $0, $0 f64.const $push323=, -0x1.36p7 - f64.add $0=, $pop322, $pop323 + f64.add $push1442=, $pop322, $pop323 + tee_local $push1441=, $0=, $pop1442 f64.const $push324=, 0x1.16528c8a42f2p-43 f64.mul $push325=, $0, $pop324 f64.const $push326=, 0x1.022ed4006984cp-35 @@ -1342,7 +1390,7 @@ foo: # @foo f64.mul $push337=, $0, $pop336 f64.const $push338=, 0x1.f3c70c996b767p-8 f64.add $push339=, $pop337, $pop338 - f64.mul $push340=, $0, $pop339 + f64.mul $push340=, $pop1441, $pop339 f64.const $push341=, 0x1.8c8366516db0ep-2 f64.add $push1297=, $pop340, $pop341 return $pop1297 @@ -1350,7 +1398,8 @@ foo: # @foo end_block # label16: f64.add $push302=, $0, $0 f64.const $push303=, -0x1.3ap7 - f64.add $0=, $pop302, $pop303 + f64.add $push1444=, $pop302, $pop303 + tee_local $push1443=, $0=, $pop1444 f64.const $push304=, 0x1.21c2f83820157p-43 f64.mul $push305=, $0, $pop304 f64.const $push306=, 0x1.0f800d94a2092p-35 @@ -1367,7 +1416,7 @@ foo: # @foo f64.mul $push317=, $0, $pop316 f64.const $push318=, 0x1.055d3712bbc46p-7 f64.add $push319=, $pop317, $pop318 - f64.mul $push320=, $0, $pop319 + f64.mul $push320=, $pop1443, $pop319 f64.const $push321=, 0x1.9c7cd898b2e9dp-2 f64.add $push1296=, $pop320, $pop321 return $pop1296 @@ -1375,7 +1424,8 @@ foo: # @foo end_block # label15: f64.add $push282=, $0, $0 f64.const $push283=, -0x1.3ep7 - f64.add $0=, $pop282, $pop283 + f64.add $push1446=, $pop282, $pop283 + tee_local $push1445=, $0=, $pop1446 f64.const $push284=, 0x1.2d72cd087e7bbp-43 f64.mul $push285=, $0, $pop284 f64.const $push286=, 0x1.1d5aa343f6318p-35 @@ -1392,7 +1442,7 @@ foo: # @foo f64.mul $push297=, $0, $pop296 f64.const $push298=, 0x1.1177f7886239bp-7 f64.add $push299=, $pop297, $pop298 - f64.mul $push300=, $0, $pop299 + f64.mul $push300=, $pop1445, $pop299 f64.const $push301=, 0x1.ad330941c8217p-2 f64.add $push1295=, $pop300, $pop301 return $pop1295 @@ -1400,7 +1450,8 @@ foo: # @foo end_block # label14: f64.add $push262=, $0, $0 f64.const $push263=, -0x1.42p7 - f64.add $0=, $pop262, $pop263 + f64.add $push1448=, $pop262, $pop263 + tee_local $push1447=, $0=, $pop1448 f64.const $push264=, 0x1.39620afb5e24cp-43 f64.mul $push265=, $0, $pop264 f64.const $push266=, 0x1.2bc315fa4db79p-35 @@ -1417,7 +1468,7 @@ foo: # @foo f64.mul $push277=, $0, $pop276 f64.const $push278=, 0x1.1e3c2b2979761p-7 f64.add $push279=, $pop277, $pop278 - f64.mul $push280=, $0, $pop279 + f64.mul $push280=, $pop1447, $pop279 f64.const $push281=, 0x1.beadd590c0adp-2 f64.add $push1294=, $pop280, $pop281 return $pop1294 @@ -1425,7 +1476,8 @@ foo: # @foo end_block # label13: f64.add $push242=, $0, $0 f64.const $push243=, -0x1.46p7 - f64.add $0=, $pop242, $pop243 + f64.add $push1450=, $pop242, $pop243 + tee_local $push1449=, $0=, $pop1450 f64.const $push244=, 0x1.457f66d8ca5b7p-43 f64.mul $push245=, $0, $pop244 f64.const $push246=, 0x1.3abde6a390555p-35 @@ -1442,7 +1494,7 @@ foo: # @foo f64.mul $push257=, $0, $pop256 f64.const $push258=, 0x1.2bb4b9b090562p-7 f64.add $push259=, $pop257, $pop258 - f64.mul $push260=, $0, $pop259 + f64.mul $push260=, $pop1449, $pop259 f64.const $push261=, 0x1.d0fcf80dc3372p-2 f64.add $push1293=, $pop260, $pop261 return $pop1293 @@ -1450,7 +1502,8 @@ foo: # @foo end_block # label12: f64.add $push222=, $0, $0 f64.const $push223=, -0x1.4ap7 - f64.add $0=, $pop222, $pop223 + f64.add $push1452=, $pop222, $pop223 + tee_local $push1451=, $0=, $pop1452 f64.const $push224=, 0x1.51d6681b66433p-43 f64.mul $push225=, $0, $pop224 f64.const $push226=, 0x1.4a48d4c9ca2dbp-35 @@ -1467,7 +1520,7 @@ foo: # @foo f64.mul $push237=, $0, $pop236 f64.const $push238=, 0x1.39ea06997734fp-7 f64.add $push239=, $pop237, $pop238 - f64.mul $push240=, $0, $pop239 + f64.mul $push240=, $pop1451, $pop239 f64.const $push241=, 0x1.e42aed1394318p-2 f64.add $push1292=, $pop240, $pop241 return $pop1292 @@ -1475,7 +1528,8 @@ foo: # @foo end_block # label11: f64.add $push202=, $0, $0 f64.const $push203=, -0x1.4ep7 - f64.add $0=, $pop202, $pop203 + f64.add $push1454=, $pop202, $pop203 + tee_local $push1453=, $0=, $pop1454 f64.const $push204=, 0x1.5e5b87488eb8ap-43 f64.mul $push205=, $0, $pop204 f64.const $push206=, 0x1.5a6aa1ced6d78p-35 @@ -1492,7 +1546,7 @@ foo: # @foo f64.mul $push217=, $0, $pop216 f64.const $push218=, 0x1.48e4755ffe6d6p-7 f64.add $push219=, $pop217, $pop218 - f64.mul $push220=, $0, $pop219 + f64.mul $push220=, $pop1453, $pop219 f64.const $push221=, 0x1.f83f91e646f15p-2 f64.add $push1291=, $pop220, $pop221 return $pop1291 @@ -1500,7 +1554,8 @@ foo: # @foo end_block # label10: f64.add $push182=, $0, $0 f64.const $push183=, -0x1.52p7 - f64.add $0=, $pop182, $pop183 + f64.add $push1456=, $pop182, $pop183 + tee_local $push1455=, $0=, $pop1456 f64.const $push184=, 0x1.6b0900a2f22ap-43 f64.mul $push185=, $0, $pop184 f64.const $push186=, 0x1.6b210d3cc275ep-35 @@ -1517,7 +1572,7 @@ foo: # @foo f64.mul $push197=, $0, $pop196 f64.const $push198=, 0x1.58b827fa1a0cfp-7 f64.add $push199=, $pop197, $pop198 - f64.mul $push200=, $0, $pop199 + f64.mul $push200=, $pop1455, $pop199 f64.const $push201=, 0x1.06a550870110ap-1 f64.add $push1290=, $pop200, $pop201 return $pop1290 @@ -1525,7 +1580,8 @@ foo: # @foo end_block # label9: f64.add $push162=, $0, $0 f64.const $push163=, -0x1.56p7 - f64.add $0=, $pop162, $pop163 + f64.add $push1458=, $pop162, $pop163 + tee_local $push1457=, $0=, $pop1458 f64.const $push164=, 0x1.77ded42a90976p-43 f64.mul $push165=, $0, $pop164 f64.const $push166=, 0x1.7c72d875689f8p-35 @@ -1542,7 +1598,7 @@ foo: # @foo f64.mul $push177=, $0, $pop176 f64.const $push178=, 0x1.696e58a32f449p-7 f64.add $push179=, $pop177, $pop178 - f64.mul $push180=, $0, $pop179 + f64.mul $push180=, $pop1457, $pop179 f64.const $push181=, 0x1.11adea897635ep-1 f64.add $push1289=, $pop180, $pop181 return $pop1289 @@ -1550,7 +1606,8 @@ foo: # @foo end_block # label8: f64.add $push142=, $0, $0 f64.const $push143=, -0x1.5ap7 - f64.add $0=, $pop142, $pop143 + f64.add $push1460=, $pop142, $pop143 + tee_local $push1459=, $0=, $pop1460 f64.const $push144=, 0x1.84d73e22186efp-43 f64.mul $push145=, $0, $pop144 f64.const $push146=, 0x1.8e600378c9547p-35 @@ -1567,7 +1624,7 @@ foo: # @foo f64.mul $push157=, $0, $pop156 f64.const $push158=, 0x1.7b0f6ad70e6f3p-7 f64.add $push159=, $pop157, $pop158 - f64.mul $push160=, $0, $pop159 + f64.mul $push160=, $pop1459, $pop159 f64.const $push161=, 0x1.1d3ed527e5215p-1 f64.add $push1288=, $pop160, $pop161 return $pop1288 @@ -1575,7 +1632,8 @@ foo: # @foo end_block # label7: f64.add $push122=, $0, $0 f64.const $push123=, -0x1.5ep7 - f64.add $0=, $pop122, $pop123 + f64.add $push1462=, $pop122, $pop123 + tee_local $push1461=, $0=, $pop1462 f64.const $push124=, 0x1.91f23e8989b0cp-43 f64.mul $push125=, $0, $pop124 f64.const $push126=, 0x1.a0e88e46e494ap-35 @@ -1592,7 +1650,7 @@ foo: # @foo f64.mul $push137=, $0, $pop136 f64.const $push138=, 0x1.8da3c21187e7cp-7 f64.add $push139=, $pop137, $pop138 - f64.mul $push140=, $0, $pop139 + f64.mul $push140=, $pop1461, $pop139 f64.const $push141=, 0x1.29613d31b9b67p-1 f64.add $push1287=, $pop140, $pop141 return $pop1287 @@ -1600,7 +1658,8 @@ foo: # @foo end_block # label6: f64.add $push102=, $0, $0 f64.const $push103=, -0x1.62p7 - f64.add $0=, $pop102, $pop103 + f64.add $push1464=, $pop102, $pop103 + tee_local $push1463=, $0=, $pop1464 f64.const $push104=, 0x1.9f1e8a28efa7bp-43 f64.mul $push105=, $0, $pop104 f64.const $push106=, 0x1.b40eb955ae3dp-35 @@ -1617,7 +1676,7 @@ foo: # @foo f64.mul $push117=, $0, $pop116 f64.const $push118=, 0x1.a14cec41dd1a2p-7 f64.add $push119=, $pop117, $pop118 - f64.mul $push120=, $0, $pop119 + f64.mul $push120=, $pop1463, $pop119 f64.const $push121=, 0x1.361cffeb074a7p-1 f64.add $push1286=, $pop120, $pop121 return $pop1286 @@ -1625,7 +1684,8 @@ foo: # @foo end_block # label5: f64.add $push82=, $0, $0 f64.const $push83=, -0x1.66p7 - f64.add $0=, $pop82, $pop83 + f64.add $push1466=, $pop82, $pop83 + tee_local $push1465=, $0=, $pop1466 f64.const $push84=, 0x1.ac67a87aed773p-43 f64.mul $push85=, $0, $pop84 f64.const $push86=, 0x1.c7d4c51b1a2a8p-35 @@ -1642,7 +1702,7 @@ foo: # @foo f64.mul $push97=, $0, $pop96 f64.const $push98=, 0x1.b60ae9680e065p-7 f64.add $push99=, $pop97, $pop98 - f64.mul $push100=, $0, $pop99 + f64.mul $push100=, $pop1465, $pop99 f64.const $push101=, 0x1.4378ab0c88a48p-1 f64.add $push1285=, $pop100, $pop101 return $pop1285 @@ -1650,7 +1710,8 @@ foo: # @foo end_block # label4: f64.add $push62=, $0, $0 f64.const $push63=, -0x1.6ap7 - f64.add $0=, $pop62, $pop63 + f64.add $push1468=, $pop62, $pop63 + tee_local $push1467=, $0=, $pop1468 f64.const $push64=, 0x1.b9b68a8a3cd86p-43 f64.mul $push65=, $0, $pop64 f64.const $push66=, 0x1.dc38712134803p-35 @@ -1667,7 +1728,7 @@ foo: # @foo f64.mul $push77=, $0, $pop76 f64.const $push78=, 0x1.cbee807bbb624p-7 f64.add $push79=, $pop77, $pop78 - f64.mul $push80=, $0, $pop79 + f64.mul $push80=, $pop1467, $pop79 f64.const $push81=, 0x1.51800a7c5ac47p-1 f64.add $push1284=, $pop80, $pop81 return $pop1284 @@ -1675,7 +1736,8 @@ foo: # @foo end_block # label3: f64.add $push42=, $0, $0 f64.const $push43=, -0x1.6ep7 - f64.add $0=, $pop42, $pop43 + f64.add $push1470=, $pop42, $pop43 + tee_local $push1469=, $0=, $pop1470 f64.const $push44=, 0x1.c710f4142f5dp-43 f64.mul $push45=, $0, $pop44 f64.const $push46=, 0x1.f13e3e53e4f7ep-35 @@ -1692,7 +1754,7 @@ foo: # @foo f64.mul $push57=, $0, $pop56 f64.const $push58=, 0x1.e308787485e3ep-7 f64.add $push59=, $pop57, $pop58 - f64.mul $push60=, $0, $pop59 + f64.mul $push60=, $pop1469, $pop59 f64.const $push61=, 0x1.603afb7e90ff9p-1 f64.add $push1283=, $pop60, $pop61 return $pop1283 @@ -1700,7 +1762,8 @@ foo: # @foo end_block # label2: f64.add $push22=, $0, $0 f64.const $push23=, -0x1.72p7 - f64.add $0=, $pop22, $pop23 + f64.add $push1472=, $pop22, $pop23 + tee_local $push1471=, $0=, $pop1472 f64.const $push24=, 0x1.d471215b73735p-43 f64.mul $push25=, $0, $pop24 f64.const $push26=, 0x1.0371f61e9bda6p-34 @@ -1717,7 +1780,7 @@ foo: # @foo f64.mul $push37=, $0, $pop36 f64.const $push38=, 0x1.fb71fbc5de9cp-7 f64.add $push39=, $pop37, $pop38 - f64.mul $push40=, $0, $pop39 + f64.mul $push40=, $pop1471, $pop39 f64.const $push41=, 0x1.6fb549f94855ep-1 f64.add $push1282=, $pop40, $pop41 return $pop1282 @@ -1725,7 +1788,8 @@ foo: # @foo end_block # label1: f64.add $push2=, $0, $0 f64.const $push3=, -0x1.76p7 - f64.add $0=, $pop2, $pop3 + f64.add $push1474=, $pop2, $pop3 + tee_local $push1473=, $0=, $pop1474 f64.const $push4=, 0x1.e1c5c72814664p-43 f64.mul $push5=, $0, $pop4 f64.const $push6=, 0x1.0e94bd6e965b5p-34 @@ -1742,12 +1806,13 @@ foo: # @foo f64.mul $push17=, $0, $pop16 f64.const $push18=, 0x1.0a99b6f5caf2dp-6 f64.add $push19=, $pop17, $pop18 - f64.mul $push20=, $0, $pop19 + f64.mul $push20=, $pop1473, $pop19 f64.const $push21=, 0x1.7ff6d330941c8p-1 - f64.add $1=, $pop20, $pop21 + f64.add $2=, $pop20, $pop21 .LBB0_66: # %cleanup end_block # label0: - return $1 + copy_local $push1475=, $2 + # fallthrough-return: $pop1475 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr58640-2.c.s b/test/torture-s/pr58640-2.c.s index f4c627fbf..31dcd28f7 100644 --- a/test/torture-s/pr58640-2.c.s +++ b/test/torture-s/pr58640-2.c.s @@ -8,37 +8,37 @@ fn1: # @fn1 .result i32 .local i32, i32 # BB#0: # %if.end - i32.const $push9=, 0 - i32.const $push24=, 0 + i32.const $push6=, 0 i32.const $push23=, 0 - i32.load $push10=, a+36($pop23) - i32.store $push1=, a($pop24), $pop10 - i32.store $drop=, a+4($pop9), $pop1 + i32.load $push7=, a+36($pop23) + i32.store $0=, a($pop6), $pop7 i32.const $push22=, 0 - i32.load $1=, a+60($pop22) i32.const $push21=, 0 - i32.const $push20=, 0 i32.const $push8=, 1 - i32.store $push3=, a($pop20), $pop8 - i32.store $0=, a+4($pop21), $pop3 + i32.store $push0=, a+48($pop21), $pop8 + i32.store $1=, c($pop22), $pop0 + i32.const $push20=, 0 + i32.store $drop=, a+4($pop20), $0 i32.const $push19=, 0 i32.const $push18=, 0 - i32.store $push6=, a($pop18), $1 - i32.store $drop=, a+4($pop19), $pop6 i32.const $push17=, 0 i32.const $push16=, 0 i32.const $push15=, 0 + i32.store $push1=, a($pop15), $1 + i32.store $push2=, c($pop16), $pop1 + i32.store $push3=, a+4($pop17), $pop2 + i32.store $push4=, c($pop18), $pop3 + i32.store $0=, c($pop19), $pop4 i32.const $push14=, 0 i32.const $push13=, 0 i32.const $push12=, 0 - i32.store $push0=, a+48($pop12), $0 - i32.store $push2=, c($pop13), $pop0 - i32.store $push4=, c($pop14), $pop2 - i32.store $push5=, c($pop15), $pop4 - i32.store $push7=, c($pop16), $pop5 - i32.store $drop=, c($pop17), $pop7 + i32.load $push9=, a+60($pop12) + i32.store $push5=, a($pop13), $pop9 + i32.store $drop=, a+4($pop14), $pop5 i32.const $push11=, 0 - return $pop11 + i32.store $drop=, c($pop11), $0 + i32.const $push10=, 0 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size fn1, .Lfunc_end0-fn1 @@ -49,24 +49,23 @@ fn1: # @fn1 .type main,@function main: # @main .result i32 - .local i32 # BB#0: # %entry + i32.const $push9=, 0 i32.const $push8=, 0 - i32.load $0=, a+60($pop8) - i32.const $push7=, 0 - i32.const $push6=, 0 i32.const $push3=, 1 - i32.store $push0=, a+48($pop6), $pop3 - i32.store $drop=, c($pop7), $pop0 + i32.store $push0=, a+48($pop8), $pop3 + i32.store $drop=, c($pop9), $pop0 block + i32.const $push7=, 0 + i32.const $push6=, 0 i32.const $push5=, 0 - i32.const $push4=, 0 - i32.store $push1=, a($pop4), $0 - i32.store $push2=, a+4($pop5), $pop1 + i32.load $push4=, a+60($pop5) + i32.store $push1=, a($pop6), $pop4 + i32.store $push2=, a+4($pop7), $pop1 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end - i32.const $push9=, 0 - return $pop9 + i32.const $push10=, 0 + return $pop10 .LBB1_2: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr58640.c.s b/test/torture-s/pr58640.c.s index 2e7b0af33..57a931184 100644 --- a/test/torture-s/pr58640.c.s +++ b/test/torture-s/pr58640.c.s @@ -19,20 +19,20 @@ main: # @main i32.load $push2=, d($pop10) br_if 0, $pop2 # 0: down to label1 # BB#2: # %for.body3.i.preheader - i32.const $push6=, 0 - i32.const $push7=, 1 - i32.store $drop=, b($pop6), $pop7 + i32.const $push7=, 0 + i32.const $push6=, 1 + i32.store $drop=, b($pop7), $pop6 i32.const $push11=, 0 call exit@FUNCTION, $pop11 unreachable .LBB0_3: # %for.cond4.preheader.split.i end_block # label1: - i32.const $push3=, 0 - i32.const $push4=, 1 - i32.store $drop=, e($pop3), $pop4 + i32.const $push4=, 0 + i32.const $push3=, 4 + i32.store $drop=, c($pop4), $pop3 i32.const $push12=, 0 - i32.const $push5=, 4 - i32.store $drop=, c($pop12), $pop5 + i32.const $push5=, 1 + i32.store $drop=, e($pop12), $pop5 .LBB0_4: # %foo.exit end_block # label0: i32.const $push13=, 0 diff --git a/test/torture-s/pr58662.c.s b/test/torture-s/pr58662.c.s index 52cea7d4e..7f48d5a89 100644 --- a/test/torture-s/pr58662.c.s +++ b/test/torture-s/pr58662.c.s @@ -8,31 +8,32 @@ main: # @main .result i32 .local i32 # BB#0: # %entry + i32.const $push18=, 0 i32.const $push17=, 0 + i32.load $push0=, c($pop17) i32.const $push16=, 0 - i32.load $push0=, a($pop16) - i32.eqz $push1=, $pop0 - i32.const $push2=, -30000 - i32.div_s $push3=, $pop1, $pop2 - i32.store $0=, d($pop17), $pop3 + i32.ne $push1=, $pop0, $pop16 i32.const $push15=, 0 - i32.const $push14=, 0 - i32.load $push7=, c($pop14) - i32.const $push13=, 0 - i32.ne $push8=, $pop7, $pop13 - i32.const $push4=, 14 - i32.rem_s $push5=, $0, $pop4 + i32.load $push2=, a($pop15) + i32.eqz $push3=, $pop2 + i32.const $push4=, -30000 + i32.div_s $push14=, $pop3, $pop4 + tee_local $push13=, $0=, $pop14 + i32.const $push5=, 14 + i32.rem_s $push6=, $pop13, $pop5 i32.const $push12=, 0 - i32.ne $push6=, $pop5, $pop12 - i32.and $push9=, $pop8, $pop6 - i32.store $drop=, b($pop15), $pop9 - block + i32.ne $push7=, $pop6, $pop12 + i32.and $push8=, $pop1, $pop7 + i32.store $drop=, b($pop18), $pop8 i32.const $push11=, 0 - i32.load $push10=, b($pop11) - br_if 0, $pop10 # 0: down to label0 + i32.store $drop=, d($pop11), $0 + block + i32.const $push10=, 0 + i32.load $push9=, b($pop10) + br_if 0, $pop9 # 0: down to label0 # BB#1: # %if.end - i32.const $push18=, 0 - return $pop18 + i32.const $push19=, 0 + return $pop19 .LBB0_2: # %if.then end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/pr58726.c.s b/test/torture-s/pr58726.c.s index 675d216da..a97e773f7 100644 --- a/test/torture-s/pr58726.c.s +++ b/test/torture-s/pr58726.c.s @@ -17,7 +17,7 @@ foo: # @foo i32.shl $push5=, $pop3, $pop4 i32.const $push7=, 16 i32.shr_s $push6=, $pop5, $pop7 - return $pop6 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -30,13 +30,13 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push1=, 0 - i32.const $push0=, 56374 - i32.store $drop=, b($pop1), $pop0 + i32.const $push0=, -9162 + i32.store $drop=, c($pop1), $pop0 i32.const $push4=, 0 - i32.const $push2=, -9162 - i32.store $drop=, c($pop4), $pop2 + i32.const $push2=, 56374 + i32.store $drop=, b($pop4), $pop2 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr58831.c.s b/test/torture-s/pr58831.c.s index 396c1845f..3e12158bb 100644 --- a/test/torture-s/pr58831.c.s +++ b/test/torture-s/pr58831.c.s @@ -6,17 +6,16 @@ .type main,@function main: # @main .result i32 - .local i32 # BB#0: # %entry call fn2@FUNCTION i32.const $push1=, 0 - i32.load $0=, b($pop1) - i32.const $push3=, 0 i32.const $push0=, r - i32.store $drop=, i($pop3), $pop0 - call fn1@FUNCTION, $0 - i32.const $push2=, 0 - return $pop2 + i32.store $drop=, i($pop1), $pop0 + i32.const $push4=, 0 + i32.load $push2=, b($pop4) + call fn1@FUNCTION, $pop2 + i32.const $push3=, 0 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -25,13 +24,13 @@ main: # @main .type fn2,@function fn2: # @fn2 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 42 - i32.store $drop=, f($pop0), $pop1 + i32.const $push1=, 0 + i32.const $push0=, 42 + i32.store $drop=, f($pop1), $pop0 i32.const $push3=, 0 i32.const $push2=, 0 i32.store16 $drop=, o($pop3), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end1: .size fn2, .Lfunc_end1-fn2 @@ -64,9 +63,9 @@ fn1: # @fn1 i32.const $push12=, 0 i32.const $push11=, 0 i32.const $push6=, d - i32.store $push2=, r($pop11), $pop6 - i32.store $drop=, b($pop12), $pop2 - return + i32.store $push2=, b($pop11), $pop6 + i32.store $drop=, r($pop12), $pop2 + # fallthrough-return .endfunc .Lfunc_end2: .size fn1, .Lfunc_end2-fn1 diff --git a/test/torture-s/pr58943.c.s b/test/torture-s/pr58943.c.s index c7a47247d..88f466d00 100644 --- a/test/torture-s/pr58943.c.s +++ b/test/torture-s/pr58943.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.or $push3=, $pop1, $pop2 i32.store $drop=, x($pop0), $pop3 i32.const $push4=, 1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr58984.c.s b/test/torture-s/pr58984.c.s index 6bceebe91..d1461f65f 100644 --- a/test/torture-s/pr58984.c.s +++ b/test/torture-s/pr58984.c.s @@ -9,44 +9,46 @@ main: # @main .local i32, i32 # BB#0: # %entry block - i32.const $push14=, 0 - i32.load $push1=, e($pop14) - i32.const $push13=, 1 - i32.gt_s $push2=, $pop1, $pop13 + i32.const $push15=, 0 + i32.load $push1=, e($pop15) + i32.const $push14=, 1 + i32.gt_s $push2=, $pop1, $pop14 br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.i - i32.const $push16=, 0 - i32.load $0=, c($pop16) + i32.const $push19=, 0 + i32.load $push18=, c($pop19) + tee_local $push17=, $0=, $pop18 i32.load $push3=, 0($0) - i32.const $push15=, 1 - i32.xor $push4=, $pop3, $pop15 - i32.store $drop=, 0($0), $pop4 + i32.const $push16=, 1 + i32.xor $push4=, $pop3, $pop16 + i32.store $drop=, 0($pop17), $pop4 .LBB0_2: # %foo.exit end_block # label0: block - i32.const $push19=, 0 - i32.load $push5=, a($pop19) - i32.const $push18=, 0 - i32.const $push17=, 1 - i32.store $push0=, m($pop18), $pop17 - i32.ne $push6=, $pop5, $pop0 + i32.const $push22=, 0 + i32.const $push21=, 1 + i32.store $push0=, m($pop22), $pop21 + i32.const $push20=, 0 + i32.load $push5=, a($pop20) + i32.ne $push6=, $pop0, $pop5 br_if 0, $pop6 # 0: down to label1 # BB#3: # %bar.exit i32.const $push7=, 0 - i32.load $1=, c($pop7) - i32.const $push22=, 0 - i32.const $push21=, 0 - i32.store $0=, e($pop22), $pop21 + i32.const $push28=, 0 + i32.store $push27=, e($pop7), $pop28 + tee_local $push26=, $0=, $pop27 + i32.load $push25=, c($pop26) + tee_local $push24=, $1=, $pop25 i32.load $push8=, 0($1) i32.const $push9=, 1 i32.xor $push10=, $pop8, $pop9 - i32.store $drop=, 0($1), $pop10 - i32.load $1=, a($0) + i32.store $drop=, 0($pop24), $pop10 i32.load $push11=, m($0) - i32.const $push20=, 1 - i32.or $push12=, $pop11, $pop20 + i32.const $push23=, 1 + i32.or $push12=, $pop11, $pop23 i32.store $drop=, m($0), $pop12 - br_if 0, $1 # 0: down to label1 + i32.load $push13=, a($0) + br_if 0, $pop13 # 0: down to label1 # BB#4: # %if.end11 return $0 .LBB0_5: # %if.then10 diff --git a/test/torture-s/pr59014-2.c.s b/test/torture-s/pr59014-2.c.s index 3491e60b2..a110adc1d 100644 --- a/test/torture-s/pr59014-2.c.s +++ b/test/torture-s/pr59014-2.c.s @@ -9,11 +9,11 @@ foo: # @foo .result i64 # BB#0: # %entry i64.const $push3=, 6 - i64.add $push2=, $1, $0 - i64.or $push0=, $1, $0 - i32.wrap/i64 $push1=, $pop0 - i64.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + i64.add $push0=, $1, $0 + i64.or $push1=, $1, $0 + i32.wrap/i64 $push2=, $pop1 + i64.select $push4=, $pop3, $pop0, $pop2 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr59014.c.s b/test/torture-s/pr59014.c.s index 90dd0b584..38cddf248 100644 --- a/test/torture-s/pr59014.c.s +++ b/test/torture-s/pr59014.c.s @@ -10,15 +10,15 @@ foo: # @foo # BB#0: # %entry block i32.const $push9=, 0 - i32.load $push0=, b($pop9) + i32.load $push2=, b($pop9) i32.const $push8=, 0 - i32.gt_s $push1=, $pop0, $pop8 + i32.gt_s $push3=, $pop2, $pop8 i32.const $push7=, 0 i32.load $push6=, a($pop7) tee_local $push5=, $0=, $pop6 - i32.const $push2=, 1 - i32.and $push3=, $pop5, $pop2 - i32.or $push4=, $pop1, $pop3 + i32.const $push0=, 1 + i32.and $push1=, $pop5, $pop0 + i32.or $push4=, $pop3, $pop1 i32.eqz $push12=, $pop4 br_if 0, $pop12 # 0: down to label0 .LBB0_1: # %for.inc @@ -31,7 +31,7 @@ foo: # @foo i32.const $push11=, 0 i32.store $drop=, d($pop11), $0 i32.const $push10=, 0 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -46,15 +46,15 @@ main: # @main # BB#0: # %entry block i32.const $push13=, 0 - i32.load $push1=, b($pop13) + i32.load $push3=, b($pop13) i32.const $push12=, 0 - i32.gt_s $push2=, $pop1, $pop12 + i32.gt_s $push4=, $pop3, $pop12 i32.const $push11=, 0 i32.load $push10=, a($pop11) tee_local $push9=, $0=, $pop10 - i32.const $push3=, 1 - i32.and $push4=, $pop9, $pop3 - i32.or $push5=, $pop2, $pop4 + i32.const $push1=, 1 + i32.and $push2=, $pop9, $pop1 + i32.or $push5=, $pop4, $pop2 i32.eqz $push15=, $pop5 br_if 0, $pop15 # 0: down to label3 .LBB1_1: # %for.inc.i diff --git a/test/torture-s/pr59101.c.s b/test/torture-s/pr59101.c.s index 604c7d8e3..02b957a2c 100644 --- a/test/torture-s/pr59101.c.s +++ b/test/torture-s/pr59101.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.ne $push2=, $pop1, $pop5 i32.const $push3=, 6 i32.or $push4=, $pop2, $pop3 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/pr59221.c.s b/test/torture-s/pr59221.c.s index 17351389b..fff737366 100644 --- a/test/torture-s/pr59221.c.s +++ b/test/torture-s/pr59221.c.s @@ -25,14 +25,14 @@ main: # @main i32.const $push21=, 0 i32.load $push20=, a($pop21) tee_local $push19=, $0=, $pop20 - i32.const $push3=, 16 - i32.shl $push4=, $pop19, $pop3 + i32.const $push5=, 16 + i32.shl $push6=, $pop19, $pop5 i32.const $push18=, 16 - i32.shr_s $push5=, $pop4, $pop18 + i32.shr_s $push7=, $pop6, $pop18 i32.const $push8=, -32768 - i32.const $push6=, 65535 - i32.and $push7=, $0, $pop6 - i32.select $push9=, $pop5, $pop8, $pop7 + i32.const $push3=, 65535 + i32.and $push4=, $0, $pop3 + i32.select $push9=, $pop7, $pop8, $pop4 i32.store16 $push0=, e($pop22), $pop9 i32.store $push1=, d($pop23), $pop0 i32.const $push17=, 65535 diff --git a/test/torture-s/pr59229.c.s b/test/torture-s/pr59229.c.s index ce27c4744..a486f85d3 100644 --- a/test/torture-s/pr59229.c.s +++ b/test/torture-s/pr59229.c.s @@ -51,12 +51,12 @@ foo: # @foo .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push17=, $pop7, $pop8 - i32.store $2=, 0($pop9), $pop17 + i32.store $2=, __stack_pointer($pop9), $pop17 block i32.const $push0=, -1 i32.add $push1=, $1, $pop0 @@ -74,11 +74,11 @@ foo: # @foo call bar@FUNCTION, $pop16 .LBB1_2: # %return end_block # label1: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $2, $pop10 - i32.store $drop=, 0($pop12), $pop11 - return + i32.store $drop=, __stack_pointer($pop12), $pop11 + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -111,7 +111,7 @@ main: # @main # BB#2: # %for.end end_loop # label3: i32.const $push4=, 0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/pr59358.c.s b/test/torture-s/pr59358.c.s index 73ec2ec6a..77e658ccd 100644 --- a/test/torture-s/pr59358.c.s +++ b/test/torture-s/pr59358.c.s @@ -38,7 +38,7 @@ foo: # @foo .LBB0_6: end_block # label0: copy_local $push4=, $0 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -51,31 +51,31 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push17=, __stack_pointer - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) i32.const $push16=, 16 i32.sub $push25=, $pop15, $pop16 - i32.store $push27=, 0($pop17), $pop25 - tee_local $push26=, $6=, $pop27 + i32.store $push27=, __stack_pointer($pop17), $pop25 + tee_local $push26=, $1=, $pop27 i32.const $push1=, 1 i32.store $0=, 12($pop26), $pop1 - i32.const $1=, 2 i32.const $2=, 2 - i32.const $3=, 1 + i32.const $3=, 2 + i32.const $4=, 1 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 block loop # label5: i32.const $push21=, 12 - i32.add $push22=, $6, $pop21 + i32.add $push22=, $1, $pop21 i32.const $push33=, 16 - i32.call $4=, foo@FUNCTION, $pop22, $pop33 - copy_local $5=, $1 + i32.call $6=, foo@FUNCTION, $pop22, $pop33 + copy_local $7=, $2 block i32.const $push32=, -1 - i32.add $push31=, $2, $pop32 - tee_local $push30=, $7=, $pop31 + i32.add $push31=, $3, $pop32 + tee_local $push30=, $5=, $pop31 i32.const $push29=, -8 i32.and $push2=, $pop30, $pop29 i32.const $push28=, 8 @@ -85,14 +85,14 @@ main: # @main # in Loop: Header=BB1_1 Depth=1 block i32.const $push35=, -4 - i32.and $push4=, $7, $pop35 + i32.and $push4=, $5, $pop35 i32.const $push34=, 4 i32.ne $push5=, $pop4, $pop34 br_if 0, $pop5 # 0: down to label8 # BB#3: # %if.then6 # in Loop: Header=BB1_1 Depth=1 i32.const $push36=, 2 - i32.shl $5=, $3, $pop36 + i32.shl $7=, $4, $pop36 br 1 # 1: down to label7 .LBB1_4: # %if.else10 # in Loop: Header=BB1_1 Depth=1 @@ -100,60 +100,60 @@ main: # @main i32.const $push39=, 24 i32.const $push38=, 16 i32.const $push37=, 4 - i32.eq $push6=, $2, $pop37 - i32.select $5=, $pop39, $pop38, $pop6 + i32.eq $push6=, $3, $pop37 + i32.select $7=, $pop39, $pop38, $pop6 .LBB1_5: # %if.end15 # in Loop: Header=BB1_1 Depth=1 end_block # label7: - i32.ne $push7=, $4, $5 + i32.ne $push7=, $6, $7 br_if 2, $pop7 # 2: down to label4 # BB#6: # %if.end18 # in Loop: Header=BB1_1 Depth=1 i32.const $push23=, 12 - i32.add $push24=, $6, $pop23 + i32.add $push24=, $1, $pop23 i32.const $push41=, 7 - i32.call $4=, foo@FUNCTION, $pop24, $pop41 - copy_local $5=, $3 + i32.call $6=, foo@FUNCTION, $pop24, $pop41 + copy_local $7=, $4 block i32.const $push40=, 6 - i32.gt_s $push8=, $7, $pop40 + i32.gt_s $push8=, $5, $pop40 br_if 0, $pop8 # 0: down to label9 # BB#7: # %if.else22 # in Loop: Header=BB1_1 Depth=1 - copy_local $5=, $1 + copy_local $7=, $2 i32.const $push42=, 3 - i32.gt_s $push9=, $7, $pop42 + i32.gt_s $push9=, $5, $pop42 br_if 0, $pop9 # 0: down to label9 # BB#8: # %if.else28 # in Loop: Header=BB1_1 Depth=1 i32.const $push45=, 12 i32.const $push44=, 8 i32.const $push43=, 4 - i32.eq $push10=, $2, $pop43 - i32.select $5=, $pop45, $pop44, $pop10 + i32.eq $push10=, $3, $pop43 + i32.select $7=, $pop45, $pop44, $pop10 .LBB1_9: # %if.end34 # in Loop: Header=BB1_1 Depth=1 end_block # label9: - i32.ne $push11=, $4, $5 + i32.ne $push11=, $6, $7 br_if 2, $pop11 # 2: down to label4 # BB#10: # %if.end37 # in Loop: Header=BB1_1 Depth=1 - i32.add $3=, $3, $0 i32.const $push49=, 2 - i32.add $1=, $1, $pop49 - i32.store $push48=, 12($6), $2 - tee_local $push47=, $7=, $pop48 + i32.add $2=, $2, $pop49 + i32.add $4=, $4, $0 + i32.store $push48=, 12($1), $3 + tee_local $push47=, $5=, $pop48 i32.add $push0=, $pop47, $0 - copy_local $2=, $pop0 + copy_local $3=, $pop0 i32.const $push46=, 17 - i32.lt_s $push12=, $7, $pop46 + i32.lt_s $push12=, $5, $pop46 br_if 0, $pop12 # 0: up to label5 # BB#11: # %for.end end_loop # label6: - i32.const $push20=, __stack_pointer + i32.const $push20=, 0 i32.const $push18=, 16 - i32.add $push19=, $6, $pop18 - i32.store $drop=, 0($pop20), $pop19 + i32.add $push19=, $1, $pop18 + i32.store $drop=, __stack_pointer($pop20), $pop19 i32.const $push13=, 0 return $pop13 .LBB1_12: # %if.then36 diff --git a/test/torture-s/pr59387.c.s b/test/torture-s/pr59387.c.s index ec47ac113..3a40cb34b 100644 --- a/test/torture-s/pr59387.c.s +++ b/test/torture-s/pr59387.c.s @@ -25,24 +25,25 @@ main: # @main i32.add $1=, $1, $pop9 i32.const $push8=, 0 i32.load $push2=, d($pop8) - i32.eqz $push16=, $pop2 - br_if 1, $pop16 # 1: down to label1 + i32.eqz $push18=, $pop2 + br_if 1, $pop18 # 1: down to label1 # BB#2: # %for.inc4 # in Loop: Header=BB0_1 Depth=1 - i32.const $push13=, 1 - i32.add $0=, $0, $pop13 - i32.const $push12=, 0 - i32.store $push0=, a($pop12), $0 + i32.const $push15=, 0 + i32.const $push14=, 1 + i32.add $push13=, $0, $pop14 + tee_local $push12=, $0=, $pop13 + i32.store $push0=, a($pop15), $pop12 br_if 0, $pop0 # 0: up to label0 .LBB0_3: # %return end_loop # label1: - i32.const $push3=, 0 - i32.store8 $drop=, c($pop3), $1 - i32.const $push15=, 0 - i32.const $push4=, 24 - i32.store $drop=, b($pop15), $pop4 - i32.const $push14=, 0 - return $pop14 + i32.const $push4=, 0 + i32.const $push3=, 24 + i32.store $drop=, b($pop4), $pop3 + i32.const $push17=, 0 + i32.store8 $drop=, c($pop17), $1 + i32.const $push16=, 0 + # fallthrough-return: $pop16 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr59388.c.s b/test/torture-s/pr59388.c.s index 0aac9bb41..848508434 100644 --- a/test/torture-s/pr59388.c.s +++ b/test/torture-s/pr59388.c.s @@ -13,7 +13,7 @@ main: # @main i32.const $push3=, 1 i32.and $push4=, $pop2, $pop3 i32.store $push0=, a($pop1), $pop4 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr59413.c.s b/test/torture-s/pr59413.c.s index da55eb731..44fd41395 100644 --- a/test/torture-s/pr59413.c.s +++ b/test/torture-s/pr59413.c.s @@ -11,7 +11,7 @@ main: # @main i32.const $push0=, 7 i32.store $drop=, a($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr59643.c.s b/test/torture-s/pr59643.c.s index c54552bff..5bb2275c8 100644 --- a/test/torture-s/pr59643.c.s +++ b/test/torture-s/pr59643.c.s @@ -6,7 +6,7 @@ .type foo,@function foo: # @foo .param i32, i32, i32, f64, f64, i32 - .local i32, f64, f64, f64 + .local i32, i32, f64, f64 # BB#0: # %entry block i32.const $push13=, -1 @@ -15,47 +15,47 @@ foo: # @foo i32.lt_s $push2=, $pop0, $pop1 br_if 0, $pop2 # 0: down to label0 # BB#1: # %for.body.preheader - i32.const $push3=, -2 - i32.add $6=, $5, $pop3 - f64.load $8=, 0($0) - i32.const $push4=, 16 - i32.add $5=, $0, $pop4 - f64.load $7=, 8($0) + i32.const $push3=, 16 + i32.add $6=, $0, $pop3 + i32.const $push4=, -2 + i32.add $7=, $5, $pop4 i32.const $push15=, 8 - i32.add $0=, $1, $pop15 + i32.add $5=, $2, $pop15 i32.const $push14=, 8 - i32.add $1=, $2, $pop14 + i32.add $1=, $1, $pop14 + f64.load $8=, 8($0) + f64.load $9=, 0($0) .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push24=, -8 - i32.add $push12=, $5, $pop24 - f64.load $push5=, 0($0) - f64.load $push6=, 0($1) - f64.add $push7=, $pop5, $pop6 - f64.add $push8=, $pop7, $8 - f64.load $push23=, 0($5) + i32.const $push26=, -8 + i32.add $push12=, $6, $pop26 + f64.mul $push5=, $8, $4 + f64.load $push7=, 0($1) + f64.load $push6=, 0($5) + f64.add $push8=, $pop7, $pop6 + f64.add $push9=, $pop8, $9 + f64.load $push25=, 0($6) + tee_local $push24=, $8=, $pop25 + f64.add $push10=, $pop9, $pop24 + f64.mul $push11=, $pop10, $3 + f64.add $push23=, $pop5, $pop11 tee_local $push22=, $9=, $pop23 - f64.add $push9=, $pop8, $pop22 - f64.mul $push10=, $pop9, $3 - f64.mul $push11=, $7, $4 - f64.add $push21=, $pop10, $pop11 - tee_local $push20=, $8=, $pop21 - f64.store $drop=, 0($pop12), $pop20 + f64.store $drop=, 0($pop12), $pop22 + i32.const $push21=, 8 + i32.add $6=, $6, $pop21 + i32.const $push20=, 8 + i32.add $5=, $5, $pop20 i32.const $push19=, 8 - i32.add $0=, $0, $pop19 - i32.const $push18=, 8 - i32.add $1=, $1, $pop18 - i32.const $push17=, -1 - i32.add $6=, $6, $pop17 - i32.const $push16=, 8 - i32.add $5=, $5, $pop16 - copy_local $7=, $9 - br_if 0, $6 # 0: up to label1 + i32.add $1=, $1, $pop19 + i32.const $push18=, -1 + i32.add $push17=, $7, $pop18 + tee_local $push16=, $7=, $pop17 + br_if 0, $pop16 # 0: up to label1 .LBB0_3: # %for.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -66,90 +66,92 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, f64 + .local i32, i32, f64, i32, i32, i32, i32 # BB#0: # %entry - i32.const $3=, 0 - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) + i32.const $6=, 0 + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) i32.const $push17=, 768 i32.sub $push32=, $pop16, $pop17 - i32.store $push34=, 0($pop18), $pop32 - tee_local $push33=, $4=, $pop34 + i32.store $push34=, __stack_pointer($pop18), $pop32 + tee_local $push33=, $0=, $pop34 i32.const $push22=, 512 i32.add $push23=, $pop33, $pop22 - copy_local $2=, $pop23 + copy_local $5=, $pop23 i32.const $push24=, 256 - i32.add $push25=, $4, $pop24 - copy_local $1=, $pop25 - copy_local $0=, $4 + i32.add $push25=, $0, $pop24 + copy_local $4=, $pop25 + copy_local $3=, $0 .LBB1_1: # %for.body # =>This Inner Loop Header: Depth=1 loop # label3: - i32.const $push46=, 3 - i32.and $push0=, $3, $pop46 - f64.convert_s/i32 $push45=, $pop0 - tee_local $push44=, $6=, $pop45 - f64.add $push1=, $pop44, $6 - f64.store $drop=, 0($2), $pop1 - i32.const $push43=, 7 - i32.and $push42=, $3, $pop43 - tee_local $push41=, $5=, $pop42 - i32.const $push40=, -4 - i32.add $push2=, $pop41, $pop40 - f64.convert_s/i32 $push3=, $pop2 - f64.store $drop=, 0($1), $pop3 - f64.convert_s/i32 $push4=, $5 - f64.store $drop=, 0($0), $pop4 - i32.const $push39=, 1 - i32.add $3=, $3, $pop39 - i32.const $push38=, 8 - i32.add $2=, $2, $pop38 - i32.const $push37=, 8 - i32.add $1=, $1, $pop37 - i32.const $push36=, 8 - i32.add $0=, $0, $pop36 + i32.const $push48=, 7 + i32.and $push47=, $6, $pop48 + tee_local $push46=, $1=, $pop47 + f64.convert_s/i32 $push0=, $pop46 + f64.store $drop=, 0($3), $pop0 + i32.const $push45=, -4 + i32.add $push1=, $1, $pop45 + f64.convert_s/i32 $push2=, $pop1 + f64.store $drop=, 0($4), $pop2 + i32.const $push44=, 3 + i32.and $push3=, $6, $pop44 + f64.convert_s/i32 $push43=, $pop3 + tee_local $push42=, $2=, $pop43 + f64.add $push4=, $pop42, $2 + f64.store $drop=, 0($5), $pop4 + i32.const $push41=, 8 + i32.add $3=, $3, $pop41 + i32.const $push40=, 8 + i32.add $4=, $4, $pop40 + i32.const $push39=, 8 + i32.add $5=, $5, $pop39 + i32.const $push38=, 1 + i32.add $push37=, $6, $pop38 + tee_local $push36=, $6=, $pop37 i32.const $push35=, 32 - i32.ne $push5=, $3, $pop35 + i32.ne $push5=, $pop36, $pop35 br_if 0, $pop5 # 0: up to label3 # BB#2: # %for.end end_loop # label4: i32.const $push26=, 512 - i32.add $push27=, $4, $pop26 + i32.add $push27=, $0, $pop26 i32.const $push28=, 256 - i32.add $push29=, $4, $pop28 + i32.add $push29=, $0, $pop28 f64.const $push8=, 0x1p1 f64.const $push7=, 0x1.8p1 i32.const $push6=, 32 - call foo@FUNCTION, $pop27, $pop29, $4, $pop8, $pop7, $pop6 - i32.const $3=, 0 - i32.const $2=, 0 + call foo@FUNCTION, $pop27, $pop29, $0, $pop8, $pop7, $pop6 + i32.const $6=, 0 + i32.const $5=, 0 .LBB1_3: # %for.body12 # =>This Inner Loop Header: Depth=1 block loop # label6: i32.const $push30=, 512 - i32.add $push31=, $4, $pop30 - i32.add $push9=, $pop31, $3 - f64.load $push10=, 0($pop9) - f64.load $push11=, expected($3) - f64.ne $push12=, $pop10, $pop11 + i32.add $push31=, $0, $pop30 + i32.add $push10=, $pop31, $6 + f64.load $push11=, 0($pop10) + f64.load $push9=, expected($6) + f64.ne $push12=, $pop11, $pop9 br_if 2, $pop12 # 2: down to label5 # BB#4: # %for.cond9 # in Loop: Header=BB1_3 Depth=1 - i32.const $push49=, 1 - i32.add $2=, $2, $pop49 - i32.const $push48=, 8 - i32.add $3=, $3, $pop48 - i32.const $push47=, 31 - i32.le_s $push13=, $2, $pop47 + i32.const $push53=, 8 + i32.add $6=, $6, $pop53 + i32.const $push52=, 1 + i32.add $push51=, $5, $pop52 + tee_local $push50=, $5=, $pop51 + i32.const $push49=, 31 + i32.le_s $push13=, $pop50, $pop49 br_if 0, $pop13 # 0: up to label6 # BB#5: # %for.end19 end_loop # label7: - i32.const $push21=, __stack_pointer + i32.const $push21=, 0 i32.const $push19=, 768 - i32.add $push20=, $4, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.add $push20=, $0, $pop19 + i32.store $drop=, __stack_pointer($pop21), $pop20 i32.const $push14=, 0 return $pop14 .LBB1_6: # %if.then diff --git a/test/torture-s/pr59747.c.s b/test/torture-s/pr59747.c.s index 75185b05c..737605170 100644 --- a/test/torture-s/pr59747.c.s +++ b/test/torture-s/pr59747.c.s @@ -11,7 +11,7 @@ fn1: # @fn1 i32.const $push0=, 2 i32.shl $push1=, $0, $pop0 i32.load $push2=, a($pop1) - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size fn1, .Lfunc_end0-fn1 @@ -22,43 +22,44 @@ fn1: # @fn1 .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push15=, 0 - i32.load $0=, c($pop15) - i32.const $push14=, 0 - i32.load16_u $1=, e($pop14) - i32.const $push13=, 0 + i32.const $push16=, 0 i32.const $push0=, 1 - i32.store $drop=, a($pop13), $pop0 + i32.store $drop=, a($pop16), $pop0 + i32.const $push15=, 0 + i32.load16_u $0=, e($pop15) block - i32.eqz $push19=, $0 - br_if 0, $pop19 # 0: down to label0 + i32.const $push14=, 0 + i32.load $push1=, c($pop14) + i32.eqz $push22=, $pop1 + br_if 0, $pop22 # 0: down to label0 # BB#1: # %if.then - i32.const $push1=, -1 - i32.add $1=, $1, $pop1 - i32.const $push16=, 0 - i32.store16 $drop=, e($pop16), $1 + i32.const $push19=, 0 + i32.const $push2=, -1 + i32.add $push18=, $0, $pop2 + tee_local $push17=, $0=, $pop18 + i32.store16 $drop=, e($pop19), $pop17 .LBB1_2: # %if.end end_block # label0: - i32.const $push18=, 0 - i32.const $push2=, 16 - i32.shl $push3=, $1, $pop2 - i32.const $push17=, 16 - i32.shr_s $push4=, $pop3, $pop17 - i32.store $drop=, d($pop18), $pop4 + i32.const $push21=, 0 + i32.const $push3=, 16 + i32.shl $push4=, $0, $pop3 + i32.const $push20=, 16 + i32.shr_s $push5=, $pop4, $pop20 + i32.store $drop=, d($pop21), $pop5 block - i64.extend_u/i32 $push5=, $1 - i64.const $push6=, 48 - i64.shl $push7=, $pop5, $pop6 - i64.const $push8=, 63 - i64.shr_u $push9=, $pop7, $pop8 - i32.wrap/i64 $push10=, $pop9 - i32.call $push11=, fn1@FUNCTION, $pop10 - br_if 0, $pop11 # 0: down to label1 + i64.extend_u/i32 $push6=, $0 + i64.const $push7=, 48 + i64.shl $push8=, $pop6, $pop7 + i64.const $push9=, 63 + i64.shr_u $push10=, $pop8, $pop9 + i32.wrap/i64 $push11=, $pop10 + i32.call $push12=, fn1@FUNCTION, $pop11 + br_if 0, $pop12 # 0: down to label1 # BB#3: # %if.end5 - i32.const $push12=, 0 - call exit@FUNCTION, $pop12 + i32.const $push13=, 0 + call exit@FUNCTION, $pop13 unreachable .LBB1_4: # %if.then4 end_block # label1: diff --git a/test/torture-s/pr60017.c.s b/test/torture-s/pr60017.c.s index ad057473a..88d6e47a9 100644 --- a/test/torture-s/pr60017.c.s +++ b/test/torture-s/pr60017.c.s @@ -6,17 +6,16 @@ .type func,@function func: # @func .param i32 - .local i64 # BB#0: # %entry - i32.const $push2=, 0 - i64.load $1=, x($pop2):p2align=2 i32.const $push0=, 8 i32.add $push1=, $0, $pop0 - i32.const $push4=, 0 - i64.load $push3=, x+8($pop4):p2align=2 + i32.const $push2=, 0 + i64.load $push3=, x+8($pop2):p2align=2 i64.store $drop=, 0($pop1):p2align=2, $pop3 - i64.store $drop=, 0($0):p2align=2, $1 - return + i32.const $push5=, 0 + i64.load $push4=, x($pop5):p2align=2 + i64.store $drop=, 0($0):p2align=2, $pop4 + # fallthrough-return .endfunc .Lfunc_end0: .size func, .Lfunc_end0-func diff --git a/test/torture-s/pr60062.c.s b/test/torture-s/pr60062.c.s index 1fbf85810..c09cac38a 100644 --- a/test/torture-s/pr60062.c.s +++ b/test/torture-s/pr60062.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr60072.c.s b/test/torture-s/pr60072.c.s index 49cef147f..480d7554c 100644 --- a/test/torture-s/pr60072.c.s +++ b/test/torture-s/pr60072.c.s @@ -11,7 +11,7 @@ main: # @main i32.const $push0=, 2 i32.store $drop=, c($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr60454.c.s b/test/torture-s/pr60454.c.s index 1ae6f00c3..a4eac4c90 100644 --- a/test/torture-s/pr60454.c.s +++ b/test/torture-s/pr60454.c.s @@ -14,19 +14,19 @@ fake_swap32: # @fake_swap32 tee_local $push15=, $1=, $pop16 i32.const $push0=, 24 i32.shl $push1=, $0, $pop0 - i32.or $push8=, $pop15, $pop1 + i32.or $push3=, $pop15, $pop1 i32.const $push14=, 24 - i32.shr_u $push7=, $0, $pop14 - i32.or $push9=, $pop8, $pop7 - i32.const $push3=, 8 - i32.shl $push4=, $1, $pop3 - i32.or $push10=, $pop9, $pop4 + i32.shr_u $push4=, $0, $pop14 + i32.or $push5=, $pop3, $pop4 + i32.const $push6=, 8 + i32.shl $push7=, $1, $pop6 + i32.or $push8=, $pop5, $pop7 i32.const $push13=, 8 - i32.shl $push5=, $0, $pop13 + i32.shl $push9=, $0, $pop13 i32.const $push12=, 65280 - i32.and $push6=, $pop5, $pop12 - i32.or $push11=, $pop10, $pop6 - return $pop11 + i32.and $push10=, $pop9, $pop12 + i32.or $push11=, $pop8, $pop10 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size fake_swap32, .Lfunc_end0-fake_swap32 diff --git a/test/torture-s/pr60960.c.s b/test/torture-s/pr60960.c.s index 0d7530001..3d6ab8b68 100644 --- a/test/torture-s/pr60960.c.s +++ b/test/torture-s/pr60960.c.s @@ -7,33 +7,33 @@ f1: # @f1 .param i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push12=, 3 - i32.add $push13=, $0, $pop12 - i32.const $push0=, 255 - i32.and $push1=, $4, $pop0 - i32.const $push8=, 0 - i32.div_u $push11=, $pop1, $pop8 - i32.store8 $drop=, 0($pop13), $pop11 - i32.const $push14=, 2 - i32.add $push15=, $0, $pop14 + i32.const $push0=, 3 + i32.add $push1=, $0, $pop0 + i32.const $push2=, 255 + i32.and $push3=, $4, $pop2 + i32.const $push4=, 0 + i32.div_u $push5=, $pop3, $pop4 + i32.store8 $drop=, 0($pop1), $pop5 + i32.const $push6=, 2 + i32.add $push7=, $0, $pop6 i32.const $push21=, 255 - i32.and $push2=, $3, $pop21 + i32.and $push8=, $3, $pop21 i32.const $push20=, 0 - i32.div_u $push10=, $pop2, $pop20 - i32.store8 $drop=, 0($pop15), $pop10 - i32.const $push6=, 1 - i32.add $push16=, $0, $pop6 + i32.div_u $push9=, $pop8, $pop20 + i32.store8 $drop=, 0($pop7), $pop9 + i32.const $push10=, 1 + i32.add $push11=, $0, $pop10 i32.const $push19=, 255 - i32.and $push3=, $2, $pop19 + i32.and $push12=, $2, $pop19 i32.const $push18=, 0 - i32.div_u $push9=, $pop3, $pop18 - i32.store8 $drop=, 0($pop16), $pop9 - i32.const $push4=, 254 - i32.and $push5=, $1, $pop4 + i32.div_u $push13=, $pop12, $pop18 + i32.store8 $drop=, 0($pop11), $pop13 + i32.const $push14=, 254 + i32.and $push15=, $1, $pop14 i32.const $push17=, 1 - i32.shr_u $push7=, $pop5, $pop17 - i32.store8 $drop=, 0($0), $pop7 - return + i32.shr_u $push16=, $pop15, $pop17 + i32.store8 $drop=, 0($0), $pop16 + # fallthrough-return .endfunc .Lfunc_end0: .size f1, .Lfunc_end0-f1 @@ -45,33 +45,33 @@ f1: # @f1 f2: # @f2 .param i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push10=, 3 - i32.add $push11=, $0, $pop10 - i32.const $push0=, 254 - i32.and $push1=, $4, $pop0 - i32.const $push5=, 1 - i32.shr_u $push9=, $pop1, $pop5 - i32.store8 $drop=, 0($pop11), $pop9 - i32.const $push12=, 2 - i32.add $push13=, $0, $pop12 + i32.const $push0=, 3 + i32.add $push1=, $0, $pop0 + i32.const $push2=, 254 + i32.and $push3=, $4, $pop2 + i32.const $push4=, 1 + i32.shr_u $push5=, $pop3, $pop4 + i32.store8 $drop=, 0($pop1), $pop5 + i32.const $push6=, 2 + i32.add $push7=, $0, $pop6 i32.const $push21=, 254 - i32.and $push2=, $3, $pop21 + i32.and $push8=, $3, $pop21 i32.const $push20=, 1 - i32.shr_u $push8=, $pop2, $pop20 - i32.store8 $drop=, 0($pop13), $pop8 + i32.shr_u $push9=, $pop8, $pop20 + i32.store8 $drop=, 0($pop7), $pop9 i32.const $push19=, 1 - i32.add $push14=, $0, $pop19 + i32.add $push10=, $0, $pop19 i32.const $push18=, 254 - i32.and $push3=, $2, $pop18 + i32.and $push11=, $2, $pop18 i32.const $push17=, 1 - i32.shr_u $push7=, $pop3, $pop17 - i32.store8 $drop=, 0($pop14), $pop7 + i32.shr_u $push12=, $pop11, $pop17 + i32.store8 $drop=, 0($pop10), $pop12 i32.const $push16=, 254 - i32.and $push4=, $1, $pop16 + i32.and $push13=, $1, $pop16 i32.const $push15=, 1 - i32.shr_u $push6=, $pop4, $pop15 - i32.store8 $drop=, 0($0), $pop6 - return + i32.shr_u $push14=, $pop13, $pop15 + i32.store8 $drop=, 0($0), $pop14 + # fallthrough-return .endfunc .Lfunc_end1: .size f2, .Lfunc_end1-f2 @@ -83,37 +83,37 @@ f2: # @f2 f3: # @f3 .param i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push13=, 3 - i32.add $push14=, $0, $pop13 + i32.const $push4=, 3 + i32.add $push5=, $0, $pop4 i32.const $push0=, 255 i32.and $push2=, $4, $pop0 i32.const $push25=, 255 i32.and $push1=, $8, $pop25 - i32.div_u $push12=, $pop2, $pop1 - i32.store8 $drop=, 0($pop14), $pop12 - i32.const $push15=, 2 - i32.add $push16=, $0, $pop15 + i32.div_u $push3=, $pop2, $pop1 + i32.store8 $drop=, 0($pop5), $pop3 + i32.const $push9=, 2 + i32.add $push10=, $0, $pop9 i32.const $push24=, 255 - i32.and $push4=, $3, $pop24 + i32.and $push7=, $3, $pop24 i32.const $push23=, 255 - i32.and $push3=, $7, $pop23 - i32.div_u $push11=, $pop4, $pop3 - i32.store8 $drop=, 0($pop16), $pop11 - i32.const $push17=, 1 - i32.add $push18=, $0, $pop17 + i32.and $push6=, $7, $pop23 + i32.div_u $push8=, $pop7, $pop6 + i32.store8 $drop=, 0($pop10), $pop8 + i32.const $push14=, 1 + i32.add $push15=, $0, $pop14 i32.const $push22=, 255 - i32.and $push6=, $2, $pop22 + i32.and $push12=, $2, $pop22 i32.const $push21=, 255 - i32.and $push5=, $6, $pop21 - i32.div_u $push10=, $pop6, $pop5 - i32.store8 $drop=, 0($pop18), $pop10 + i32.and $push11=, $6, $pop21 + i32.div_u $push13=, $pop12, $pop11 + i32.store8 $drop=, 0($pop15), $pop13 i32.const $push20=, 255 - i32.and $push8=, $1, $pop20 + i32.and $push17=, $1, $pop20 i32.const $push19=, 255 - i32.and $push7=, $5, $pop19 - i32.div_u $push9=, $pop8, $pop7 - i32.store8 $drop=, 0($0), $pop9 - return + i32.and $push16=, $5, $pop19 + i32.div_u $push18=, $pop17, $pop16 + i32.store8 $drop=, 0($0), $pop18 + # fallthrough-return .endfunc .Lfunc_end2: .size f3, .Lfunc_end2-f3 @@ -126,12 +126,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 16 i32.sub $push23=, $pop11, $pop12 - i32.store $push30=, 0($pop13), $pop23 + i32.store $push30=, __stack_pointer($pop13), $pop23 tee_local $push29=, $0=, $pop30 i32.const $push17=, 12 i32.add $push18=, $pop29, $pop17 @@ -169,15 +169,15 @@ main: # @main i32.const $push37=, 2 i32.const $push36=, 2 call f3@FUNCTION, $pop22, $pop5, $pop41, $pop40, $pop39, $pop4, $pop38, $pop37, $pop36 - i32.load $push6=, 4($0) - i32.const $push7=, 33686018 - i32.ne $push8=, $pop6, $pop7 + i32.load $push7=, 4($0) + i32.const $push6=, 33686018 + i32.ne $push8=, $pop7, $pop6 br_if 0, $pop8 # 0: down to label0 # BB#3: # %if.end11 - i32.const $push16=, __stack_pointer + i32.const $push16=, 0 i32.const $push14=, 16 i32.add $push15=, $0, $pop14 - i32.store $drop=, 0($pop16), $pop15 + i32.store $drop=, __stack_pointer($pop16), $pop15 i32.const $push9=, 0 return $pop9 .LBB3_4: # %if.then10 diff --git a/test/torture-s/pr61306-1.c.s b/test/torture-s/pr61306-1.c.s index fc127e3bf..b54601d67 100644 --- a/test/torture-s/pr61306-1.c.s +++ b/test/torture-s/pr61306-1.c.s @@ -9,21 +9,21 @@ fake_bswap32: # @fake_bswap32 .result i32 # BB#0: # %entry i32.const $push0=, 24 - i32.shr_s $push9=, $0, $pop0 + i32.shr_s $push2=, $0, $pop0 i32.const $push14=, 24 i32.shl $push1=, $0, $pop14 - i32.or $push10=, $pop9, $pop1 - i32.const $push2=, 8 - i32.shl $push3=, $0, $pop2 - i32.const $push4=, 16711680 - i32.and $push5=, $pop3, $pop4 - i32.or $push11=, $pop10, $pop5 + i32.or $push3=, $pop2, $pop1 + i32.const $push4=, 8 + i32.shl $push5=, $0, $pop4 + i32.const $push6=, 16711680 + i32.and $push7=, $pop5, $pop6 + i32.or $push8=, $pop3, $pop7 i32.const $push13=, 8 - i32.shr_u $push6=, $0, $pop13 - i32.const $push7=, 65280 - i32.and $push8=, $pop6, $pop7 - i32.or $push12=, $pop11, $pop8 - return $pop12 + i32.shr_u $push9=, $0, $pop13 + i32.const $push10=, 65280 + i32.and $push11=, $pop9, $pop10 + i32.or $push12=, $pop8, $pop11 + # fallthrough-return: $pop12 .endfunc .Lfunc_end0: .size fake_bswap32, .Lfunc_end0-fake_bswap32 diff --git a/test/torture-s/pr61306-2.c.s b/test/torture-s/pr61306-2.c.s index dfe7f13a0..75d3c00b2 100644 --- a/test/torture-s/pr61306-2.c.s +++ b/test/torture-s/pr61306-2.c.s @@ -9,23 +9,23 @@ fake_bswap32: # @fake_bswap32 .result i32 # BB#0: # %entry i32.const $push0=, 24 - i32.shr_u $push11=, $0, $pop0 + i32.shr_u $push2=, $0, $pop0 i32.const $push16=, 24 i32.shl $push1=, $0, $pop16 - i32.or $push12=, $pop11, $pop1 + i32.or $push3=, $pop2, $pop1 i32.const $push4=, 8 - i32.shr_u $push8=, $0, $pop4 - i32.const $push9=, 65280 - i32.and $push10=, $pop8, $pop9 - i32.or $push13=, $pop12, $pop10 - i32.const $push2=, 16 - i32.shl $push3=, $0, $pop2 - i32.const $push15=, 8 - i32.shr_s $push5=, $pop3, $pop15 - i32.const $push6=, -65536 + i32.shr_u $push5=, $0, $pop4 + i32.const $push6=, 65280 i32.and $push7=, $pop5, $pop6 - i32.or $push14=, $pop13, $pop7 - return $pop14 + i32.or $push8=, $pop3, $pop7 + i32.const $push9=, 16 + i32.shl $push10=, $0, $pop9 + i32.const $push15=, 8 + i32.shr_s $push11=, $pop10, $pop15 + i32.const $push12=, -65536 + i32.and $push13=, $pop11, $pop12 + i32.or $push14=, $pop8, $pop13 + # fallthrough-return: $pop14 .endfunc .Lfunc_end0: .size fake_bswap32, .Lfunc_end0-fake_bswap32 diff --git a/test/torture-s/pr61306-3.c.s b/test/torture-s/pr61306-3.c.s index 3b2a27a9f..cb9fc1b42 100644 --- a/test/torture-s/pr61306-3.c.s +++ b/test/torture-s/pr61306-3.c.s @@ -11,18 +11,18 @@ main: # @main block i32.const $push13=, 0 i32.const $push12=, 0 - i32.load16_s $push11=, a($pop12) - tee_local $push10=, $0=, $pop11 + i32.const $push11=, 0 + i32.load16_s $push1=, a($pop11) + i32.store8 $push10=, c($pop12), $pop1 + tee_local $push9=, $0=, $pop10 i32.const $push2=, 24 - i32.shl $push3=, $pop10, $pop2 - i32.const $push9=, 24 - i32.shr_s $push4=, $pop3, $pop9 - i32.const $push8=, 0 - i32.store8 $push0=, c($pop8), $0 - i32.or $push5=, $pop4, $pop0 - i32.store $push1=, b($pop13), $pop5 + i32.shl $push3=, $pop9, $pop2 + i32.const $push8=, 24 + i32.shr_s $push4=, $pop3, $pop8 + i32.or $push5=, $pop4, $0 + i32.store $push0=, b($pop13), $pop5 i32.const $push6=, -1 - i32.ne $push7=, $pop1, $pop6 + i32.ne $push7=, $pop0, $pop6 br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end i32.const $push14=, 0 diff --git a/test/torture-s/pr61375.c.s b/test/torture-s/pr61375.c.s index 685b27a92..0d70f1e37 100644 --- a/test/torture-s/pr61375.c.s +++ b/test/torture-s/pr61375.c.s @@ -16,7 +16,7 @@ uint128_central_bitsi_ior: # @uint128_central_bitsi_ior i64.const $push5=, 65535 i64.and $push6=, $pop4, $pop5 i64.or $push7=, $pop6, $2 - return $pop7 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size uint128_central_bitsi_ior, .Lfunc_end0-uint128_central_bitsi_ior diff --git a/test/torture-s/pr61673.c.s b/test/torture-s/pr61673.c.s index 427e1e356..e498c7c1f 100644 --- a/test/torture-s/pr61673.c.s +++ b/test/torture-s/pr61673.c.s @@ -46,7 +46,7 @@ foo: # @foo .LBB1_2: # %if.end end_block # label2: call bar@FUNCTION, $0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -69,7 +69,7 @@ baz: # @baz i32.store8 $drop=, e($pop2), $0 .LBB2_2: # %if.end end_block # label3: - return + # fallthrough-return .endfunc .Lfunc_end2: .size baz, .Lfunc_end2-baz diff --git a/test/torture-s/pr61725.c.s b/test/torture-s/pr61725.c.s index 2e3387aae..3e5c84611 100644 --- a/test/torture-s/pr61725.c.s +++ b/test/torture-s/pr61725.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/pr63209.c.s b/test/torture-s/pr63209.c.s index 672c0be60..2853b5b8c 100644 --- a/test/torture-s/pr63209.c.s +++ b/test/torture-s/pr63209.c.s @@ -8,24 +8,25 @@ Predictor: # @Predictor .param i32, i32 .result i32 # BB#0: # %entry - i32.load $1=, 4($1) - i32.const $push0=, 8 - i32.shr_u $push4=, $0, $pop0 - i32.const $push2=, 255 - i32.and $push5=, $pop4, $pop2 + i32.load $push17=, 4($1) + tee_local $push16=, $1=, $pop17 + i32.const $push2=, 8 + i32.shr_u $push3=, $0, $pop2 + i32.const $push0=, 255 + i32.and $push4=, $pop3, $pop0 i32.const $push15=, 255 - i32.and $push7=, $0, $pop15 - i32.add $push8=, $pop5, $pop7 + i32.and $push1=, $0, $pop15 + i32.add $push5=, $pop4, $pop1 i32.const $push14=, 255 i32.and $push6=, $1, $pop14 - i32.sub $push9=, $pop8, $pop6 + i32.sub $push7=, $pop5, $pop6 i32.const $push13=, 8 - i32.shr_u $push1=, $1, $pop13 + i32.shr_u $push8=, $1, $pop13 i32.const $push12=, 255 - i32.and $push3=, $pop1, $pop12 - i32.le_s $push10=, $pop9, $pop3 - i32.select $push11=, $1, $0, $pop10 - return $pop11 + i32.and $push9=, $pop8, $pop12 + i32.le_s $push10=, $pop7, $pop9 + i32.select $push11=, $pop16, $0, $pop10 + # fallthrough-return: $pop11 .endfunc .Lfunc_end0: .size Predictor, .Lfunc_end0-Predictor @@ -42,7 +43,7 @@ main: # @main i32.call $push2=, Predictor@FUNCTION, $pop1, $pop0 i32.const $push4=, -8684677 i32.ne $push3=, $pop2, $pop4 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/pr63302.c.s b/test/torture-s/pr63302.c.s index be505e8b3..22a07e200 100644 --- a/test/torture-s/pr63302.c.s +++ b/test/torture-s/pr63302.c.s @@ -8,19 +8,19 @@ foo: # @foo .param i64, i64 .result i32 # BB#0: # %entry - i64.const $push0=, -9223372036854773761 - i64.and $push11=, $0, $pop0 + i64.const $push2=, -9223372036854773761 + i64.and $push11=, $0, $pop2 tee_local $push10=, $0=, $pop11 - i64.or $push1=, $pop10, $1 - i64.eqz $push2=, $pop1 - i64.const $push5=, -9223372036854775808 - i64.xor $push6=, $0, $pop5 - i64.const $push3=, -1 - i64.xor $push4=, $1, $pop3 - i64.or $push7=, $pop6, $pop4 + i64.or $push7=, $pop10, $1 i64.eqz $push8=, $pop7 - i32.or $push9=, $pop2, $pop8 - return $pop9 + i64.const $push3=, -9223372036854775808 + i64.xor $push4=, $0, $pop3 + i64.const $push0=, -1 + i64.xor $push1=, $1, $pop0 + i64.or $push5=, $pop4, $pop1 + i64.eqz $push6=, $pop5 + i32.or $push9=, $pop8, $pop6 + # fallthrough-return: $pop9 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -36,11 +36,11 @@ bar: # @bar i64.const $push0=, -2147481601 i64.and $push6=, $0, $pop0 tee_local $push5=, $0=, $pop6 - i64.eqz $push1=, $pop5 - i64.const $push2=, -2147483648 - i64.eq $push3=, $0, $pop2 - i32.or $push4=, $pop1, $pop3 - return $pop4 + i64.eqz $push3=, $pop5 + i64.const $push1=, -2147483648 + i64.eq $push2=, $0, $pop1 + i32.or $push4=, $pop3, $pop2 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/pr63659.c.s b/test/torture-s/pr63659.c.s index 9774e3c97..6bcb7a522 100644 --- a/test/torture-s/pr63659.c.s +++ b/test/torture-s/pr63659.c.s @@ -9,51 +9,51 @@ main: # @main .local i32, i32 # BB#0: # %entry block - i32.const $push9=, 0 - i32.load $push2=, a($pop9) - i32.eqz $push24=, $pop2 - br_if 0, $pop24 # 0: down to label0 + i32.const $push10=, 0 + i32.load $push2=, a($pop10) + i32.eqz $push25=, $pop2 + br_if 0, $pop25 # 0: down to label0 # BB#1: # %for.cond.preheader + i32.const $push12=, 0 i32.const $push11=, 0 - i32.const $push10=, 0 - i32.store $drop=, a($pop11), $pop10 + i32.store $drop=, a($pop12), $pop11 .LBB0_2: # %while.end end_block # label0: i32.const $1=, 255 block + i32.const $push17=, 0 i32.const $push16=, 0 + i32.load8_s $push4=, c($pop16) i32.const $push15=, 0 - i32.load8_s $push3=, c($pop15) - i32.const $push14=, 0 - i32.load $push4=, h($pop14) - i32.shr_s $push1=, $pop3, $pop4 - i32.store $push13=, g($pop16), $pop1 - tee_local $push12=, $0=, $pop13 - i32.eqz $push25=, $pop12 - br_if 0, $pop25 # 0: down to label1 + i32.load $push3=, h($pop15) + i32.shr_s $push1=, $pop4, $pop3 + i32.store $push14=, g($pop17), $pop1 + tee_local $push13=, $0=, $pop14 + i32.eqz $push26=, $pop13 + br_if 0, $pop26 # 0: down to label1 # BB#3: # %cond.false i32.const $push5=, -1 i32.rem_s $1=, $pop5, $0 .LBB0_4: # %cond.end end_block # label1: - i32.const $push22=, 0 - i32.load $push7=, d($pop22) - i32.const $push21=, 255 - i32.and $push6=, $1, $pop21 + i32.const $push23=, 0 + i32.load $push7=, d($pop23) + i32.const $push22=, 255 + i32.and $push6=, $1, $pop22 i32.store $drop=, 0($pop7), $pop6 + i32.const $push21=, 0 i32.const $push20=, 0 - i32.load $0=, b($pop20) - i32.const $push19=, 0 - i32.const $push18=, 0 - i32.store8 $push0=, f($pop18), $1 - i32.store8 $drop=, e($pop19), $pop0 + i32.store8 $push0=, e($pop20), $1 + i32.store8 $drop=, f($pop21), $pop0 block - i32.const $push17=, 255 - i32.ne $push8=, $0, $pop17 - br_if 0, $pop8 # 0: down to label2 + i32.const $push19=, 0 + i32.load $push8=, b($pop19) + i32.const $push18=, 255 + i32.ne $push9=, $pop8, $pop18 + br_if 0, $pop9 # 0: down to label2 # BB#5: # %if.end23 - i32.const $push23=, 0 - return $pop23 + i32.const $push24=, 0 + return $pop24 .LBB0_6: # %if.then22 end_block # label2: call abort@FUNCTION diff --git a/test/torture-s/pr7284-1.c.s b/test/torture-s/pr7284-1.c.s index 4e59047b9..0a9db9e65 100644 --- a/test/torture-s/pr7284-1.c.s +++ b/test/torture-s/pr7284-1.c.s @@ -10,9 +10,9 @@ f: # @f # BB#0: # %entry i32.const $push0=, 24 i32.shl $push1=, $0, $pop0 - i32.const $push2=, 23 - i32.shr_s $push3=, $pop1, $pop2 - return $pop3 + i32.const $push2=, 8388608 + i32.div_s $push3=, $pop1, $pop2 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/printf-1.c.s b/test/torture-s/printf-1.c.s index c733e470d..56b00d16e 100644 --- a/test/torture-s/printf-1.c.s +++ b/test/torture-s/printf-1.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push46=, __stack_pointer - i32.const $push43=, __stack_pointer - i32.load $push44=, 0($pop43) + i32.const $push46=, 0 + i32.const $push43=, 0 + i32.load $push44=, __stack_pointer($pop43) i32.const $push45=, 176 i32.sub $push70=, $pop44, $pop45 - i32.store $1=, 0($pop46), $pop70 + i32.store $1=, __stack_pointer($pop46), $pop70 i32.const $push74=, .Lstr i32.const $push73=, 0 i32.call $drop=, printf@FUNCTION, $pop74, $pop73 @@ -36,9 +36,9 @@ main: # @main # BB#2: # %if.end6 i32.const $push7=, 97 i32.call $drop=, putchar@FUNCTION, $pop7 - i32.const $push8=, .L.str.2 - i32.const $push9=, 0 - i32.call $push10=, printf@FUNCTION, $pop8, $pop9 + i32.const $push9=, .L.str.2 + i32.const $push8=, 0 + i32.call $push10=, printf@FUNCTION, $pop9, $pop8 i32.const $push11=, 1 i32.ne $push12=, $pop10, $pop11 br_if 0, $pop12 # 0: down to label0 @@ -135,10 +135,10 @@ main: # @main i32.ne $push42=, $pop40, $pop41 br_if 0, $pop42 # 0: down to label0 # BB#10: # %if.end51 - i32.const $push49=, __stack_pointer + i32.const $push49=, 0 i32.const $push47=, 176 i32.add $push48=, $1, $pop47 - i32.store $drop=, 0($pop49), $pop48 + i32.store $drop=, __stack_pointer($pop49), $pop48 return $0 .LBB0_11: # %if.then50 end_block # label0: diff --git a/test/torture-s/printf-chk-1.c.s b/test/torture-s/printf-chk-1.c.s index 2b5cf28bd..4b64377c4 100644 --- a/test/torture-s/printf-chk-1.c.s +++ b/test/torture-s/printf-chk-1.c.s @@ -9,12 +9,12 @@ __printf_chk: # @__printf_chk .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push10=, $pop4, $pop5 - i32.store $3=, 0($pop6), $pop10 + i32.store $3=, __stack_pointer($pop6), $pop10 block i32.const $push11=, 0 i32.load $push1=, should_optimize($pop11) @@ -25,10 +25,10 @@ __printf_chk: # @__printf_chk i32.store $drop=, should_optimize($pop12), $pop2 i32.store $push0=, 12($3), $2 i32.call $1=, vprintf@FUNCTION, $1, $pop0 - i32.const $push9=, __stack_pointer + i32.const $push9=, 0 i32.const $push7=, 16 i32.add $push8=, $3, $pop7 - i32.store $drop=, 0($pop9), $pop8 + i32.store $drop=, __stack_pointer($pop9), $pop8 return $1 .LBB0_2: # %if.then end_block # label0: @@ -46,314 +46,315 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push77=, __stack_pointer - i32.const $push74=, __stack_pointer - i32.load $push75=, 0($pop74) - i32.const $push76=, 224 - i32.sub $push107=, $pop75, $pop76 - i32.store $1=, 0($pop77), $pop107 - i32.const $push111=, .L.str - i32.const $push4=, 0 - i32.const $push110=, 0 - i32.store $push109=, should_optimize($pop4), $pop110 - tee_local $push108=, $2=, $pop109 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop111, $pop108 + i32.const $push75=, 0 + i32.const $push72=, 0 + i32.load $push73=, __stack_pointer($pop72) + i32.const $push74=, 224 + i32.sub $push105=, $pop73, $pop74 + i32.store $2=, __stack_pointer($pop75), $pop105 + i32.const $push109=, .L.str + i32.const $push2=, 0 + i32.const $push108=, 0 + i32.store $push107=, should_optimize($pop2), $pop108 + tee_local $push106=, $0=, $pop107 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop109, $pop106 block - i32.load $push5=, should_optimize($2) - i32.eqz $push176=, $pop5 - br_if 0, $pop176 # 0: down to label1 + i32.load $push3=, should_optimize($0) + i32.eqz $push177=, $pop3 + br_if 0, $pop177 # 0: down to label1 # BB#1: # %if.end - i32.const $push112=, .L.str - i32.store $push0=, should_optimize($2), $2 - i32.call $push6=, __printf_chk@FUNCTION, $1, $pop112, $pop0 - i32.const $push7=, 5 - i32.ne $push8=, $pop6, $pop7 - br_if 0, $pop8 # 0: down to label1 + i32.const $push110=, .L.str + i32.store $push0=, should_optimize($0), $0 + i32.call $push4=, __printf_chk@FUNCTION, $2, $pop110, $pop0 + i32.const $push5=, 5 + i32.ne $push6=, $pop4, $pop5 + br_if 0, $pop6 # 0: down to label1 # BB#2: # %if.end3 - i32.const $push113=, 0 - i32.load $push9=, should_optimize($pop113) - i32.eqz $push177=, $pop9 - br_if 0, $pop177 # 0: down to label1 + i32.const $push111=, 0 + i32.load $push7=, should_optimize($pop111) + i32.eqz $push178=, $pop7 + br_if 0, $pop178 # 0: down to label1 # BB#3: # %if.end6 - i32.const $push117=, 0 - i32.const $push10=, 1 - i32.store $drop=, should_optimize($pop117), $pop10 - i32.const $push116=, .L.str.1 i32.const $push115=, 0 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop116, $pop115 - i32.const $push114=, 0 - i32.load $push11=, should_optimize($pop114) - i32.eqz $push178=, $pop11 - br_if 0, $pop178 # 0: down to label1 + i32.const $push8=, 1 + i32.store $drop=, should_optimize($pop115), $pop8 + i32.const $push114=, .L.str.1 + i32.const $push113=, 0 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop114, $pop113 + i32.const $push112=, 0 + i32.load $push9=, should_optimize($pop112) + i32.eqz $push179=, $pop9 + br_if 0, $pop179 # 0: down to label1 # BB#4: # %if.end10 - i32.const $push121=, .L.str.1 - i32.const $push12=, 0 - i32.const $push120=, 0 - i32.store $push119=, should_optimize($pop12), $pop120 - tee_local $push118=, $2=, $pop119 - i32.call $push13=, __printf_chk@FUNCTION, $1, $pop121, $pop118 - i32.const $push14=, 6 - i32.ne $push15=, $pop13, $pop14 - br_if 0, $pop15 # 0: down to label1 + i32.const $push119=, .L.str.1 + i32.const $push10=, 0 + i32.const $push118=, 0 + i32.store $push117=, should_optimize($pop10), $pop118 + tee_local $push116=, $0=, $pop117 + i32.call $push11=, __printf_chk@FUNCTION, $2, $pop119, $pop116 + i32.const $push12=, 6 + i32.ne $push13=, $pop11, $pop12 + br_if 0, $pop13 # 0: down to label1 # BB#5: # %if.end14 - i32.load $push16=, should_optimize($2) - i32.eqz $push179=, $pop16 - br_if 0, $pop179 # 0: down to label1 + i32.load $push14=, should_optimize($0) + i32.eqz $push180=, $pop14 + br_if 0, $pop180 # 0: down to label1 # BB#6: # %if.end17 - i32.const $push125=, 0 - i32.const $push17=, 1 - i32.store $2=, should_optimize($pop125), $pop17 - i32.const $push124=, .L.str.2 i32.const $push123=, 0 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop124, $pop123 - i32.const $push122=, 0 - i32.load $push18=, should_optimize($pop122) - i32.eqz $push180=, $pop18 - br_if 0, $pop180 # 0: down to label1 + i32.const $push15=, 1 + i32.store $0=, should_optimize($pop123), $pop15 + i32.const $push122=, .L.str.2 + i32.const $push121=, 0 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop122, $pop121 + i32.const $push120=, 0 + i32.load $push16=, should_optimize($pop120) + i32.eqz $push181=, $pop16 + br_if 0, $pop181 # 0: down to label1 # BB#7: # %if.end21 - i32.const $push128=, .L.str.2 - i32.const $push127=, 0 - i32.const $push126=, 0 - i32.store $push1=, should_optimize($pop127), $pop126 - i32.call $push19=, __printf_chk@FUNCTION, $1, $pop128, $pop1 - i32.ne $push20=, $pop19, $2 - br_if 0, $pop20 # 0: down to label1 + i32.const $push126=, .L.str.2 + i32.const $push125=, 0 + i32.const $push124=, 0 + i32.store $push1=, should_optimize($pop125), $pop124 + i32.call $push17=, __printf_chk@FUNCTION, $2, $pop126, $pop1 + i32.ne $push18=, $pop17, $0 + br_if 0, $pop18 # 0: down to label1 # BB#8: # %if.end25 - i32.const $push129=, 0 - i32.load $push21=, should_optimize($pop129) - i32.eqz $push181=, $pop21 - br_if 0, $pop181 # 0: down to label1 + i32.const $push127=, 0 + i32.load $push19=, should_optimize($pop127) + i32.eqz $push182=, $pop19 + br_if 0, $pop182 # 0: down to label1 # BB#9: # %if.end28 - i32.const $push133=, 0 - i32.const $push22=, 1 - i32.store $drop=, should_optimize($pop133), $pop22 - i32.const $push132=, .L.str.3 i32.const $push131=, 0 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop132, $pop131 - i32.const $push130=, 0 - i32.load $push23=, should_optimize($pop130) - i32.eqz $push182=, $pop23 - br_if 0, $pop182 # 0: down to label1 + i32.const $push20=, 1 + i32.store $drop=, should_optimize($pop131), $pop20 + i32.const $push130=, .L.str.3 + i32.const $push129=, 0 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop130, $pop129 + i32.const $push128=, 0 + i32.load $push21=, should_optimize($pop128) + i32.eqz $push183=, $pop21 + br_if 0, $pop183 # 0: down to label1 # BB#10: # %if.end32 - i32.const $push137=, .L.str.3 - i32.const $push24=, 0 - i32.const $push136=, 0 - i32.store $push135=, should_optimize($pop24), $pop136 - tee_local $push134=, $2=, $pop135 - i32.call $push25=, __printf_chk@FUNCTION, $1, $pop137, $pop134 - br_if 0, $pop25 # 0: down to label1 + i32.const $push135=, .L.str.3 + i32.const $push22=, 0 + i32.const $push134=, 0 + i32.store $push133=, should_optimize($pop22), $pop134 + tee_local $push132=, $0=, $pop133 + i32.call $push23=, __printf_chk@FUNCTION, $2, $pop135, $pop132 + br_if 0, $pop23 # 0: down to label1 # BB#11: # %if.end36 - i32.load $push26=, should_optimize($2) - i32.eqz $push183=, $pop26 - br_if 0, $pop183 # 0: down to label1 -# BB#12: # %if.end39 - i32.const $push27=, 0 - i32.const $push139=, 0 - i32.store $2=, should_optimize($pop27), $pop139 - i32.const $push28=, .L.str - i32.store $0=, 208($1), $pop28 - i32.const $push138=, .L.str.4 - i32.const $push81=, 208 - i32.add $push82=, $1, $pop81 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop138, $pop82 - i32.load $push29=, should_optimize($2) - i32.eqz $push184=, $pop29 + i32.load $push24=, should_optimize($0) + i32.eqz $push184=, $pop24 br_if 0, $pop184 # 0: down to label1 +# BB#12: # %if.end39 + i32.const $push25=, .L.str + i32.store $1=, 208($2), $pop25 + i32.const $push26=, 0 + i32.const $push137=, 0 + i32.store $0=, should_optimize($pop26), $pop137 + i32.const $push136=, .L.str.4 + i32.const $push79=, 208 + i32.add $push80=, $2, $pop79 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop136, $pop80 + i32.load $push27=, should_optimize($0) + i32.eqz $push185=, $pop27 + br_if 0, $pop185 # 0: down to label1 # BB#13: # %if.end43 - i32.store $drop=, should_optimize($2), $2 - i32.store $drop=, 192($1), $0 - i32.const $push140=, .L.str.4 - i32.const $push83=, 192 - i32.add $push84=, $1, $pop83 - i32.call $push30=, __printf_chk@FUNCTION, $1, $pop140, $pop84 - i32.const $push31=, 5 - i32.ne $push32=, $pop30, $pop31 - br_if 0, $pop32 # 0: down to label1 + i32.store $drop=, 192($2), $1 + i32.store $drop=, should_optimize($0), $0 + i32.const $push138=, .L.str.4 + i32.const $push81=, 192 + i32.add $push82=, $2, $pop81 + i32.call $push28=, __printf_chk@FUNCTION, $2, $pop138, $pop82 + i32.const $push29=, 5 + i32.ne $push30=, $pop28, $pop29 + br_if 0, $pop30 # 0: down to label1 # BB#14: # %if.end47 - i32.const $push141=, 0 - i32.load $push33=, should_optimize($pop141) - i32.eqz $push185=, $pop33 - br_if 0, $pop185 # 0: down to label1 + i32.const $push139=, 0 + i32.load $push31=, should_optimize($pop139) + i32.eqz $push186=, $pop31 + br_if 0, $pop186 # 0: down to label1 # BB#15: # %if.end50 - i32.const $push144=, 0 - i32.const $push34=, 1 - i32.store $drop=, should_optimize($pop144), $pop34 - i32.const $push35=, .L.str.1 - i32.store $2=, 176($1), $pop35 - i32.const $push143=, .L.str.4 - i32.const $push85=, 176 - i32.add $push86=, $1, $pop85 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop143, $pop86 i32.const $push142=, 0 - i32.load $push36=, should_optimize($pop142) - i32.eqz $push186=, $pop36 - br_if 0, $pop186 # 0: down to label1 + i32.const $push32=, 1 + i32.store $drop=, should_optimize($pop142), $pop32 + i32.const $push33=, .L.str.1 + i32.store $0=, 176($2), $pop33 + i32.const $push141=, .L.str.4 + i32.const $push83=, 176 + i32.add $push84=, $2, $pop83 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop141, $pop84 + i32.const $push140=, 0 + i32.load $push34=, should_optimize($pop140) + i32.eqz $push187=, $pop34 + br_if 0, $pop187 # 0: down to label1 # BB#16: # %if.end54 - i32.const $push37=, 0 - i32.const $push146=, 0 - i32.store $0=, should_optimize($pop37), $pop146 - i32.store $drop=, 160($1), $2 - i32.const $push145=, .L.str.4 - i32.const $push87=, 160 - i32.add $push88=, $1, $pop87 - i32.call $push38=, __printf_chk@FUNCTION, $1, $pop145, $pop88 - i32.const $push39=, 6 - i32.ne $push40=, $pop38, $pop39 - br_if 0, $pop40 # 0: down to label1 + i32.store $drop=, 160($2), $0 + i32.const $push35=, 0 + i32.const $push144=, 0 + i32.store $0=, should_optimize($pop35), $pop144 + i32.const $push143=, .L.str.4 + i32.const $push85=, 160 + i32.add $push86=, $2, $pop85 + i32.call $push36=, __printf_chk@FUNCTION, $2, $pop143, $pop86 + i32.const $push37=, 6 + i32.ne $push38=, $pop36, $pop37 + br_if 0, $pop38 # 0: down to label1 # BB#17: # %if.end58 - i32.load $push41=, should_optimize($0) - i32.eqz $push187=, $pop41 - br_if 0, $pop187 # 0: down to label1 + i32.load $push39=, should_optimize($0) + i32.eqz $push188=, $pop39 + br_if 0, $pop188 # 0: down to label1 # BB#18: # %if.end61 - i32.const $push149=, 0 - i32.const $push42=, 1 - i32.store $2=, should_optimize($pop149), $pop42 - i32.const $push43=, .L.str.2 - i32.store $0=, 144($1), $pop43 - i32.const $push148=, .L.str.4 - i32.const $push89=, 144 - i32.add $push90=, $1, $pop89 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop148, $pop90 i32.const $push147=, 0 - i32.load $push44=, should_optimize($pop147) - i32.eqz $push188=, $pop44 - br_if 0, $pop188 # 0: down to label1 + i32.const $push40=, 1 + i32.store $0=, should_optimize($pop147), $pop40 + i32.const $push41=, .L.str.2 + i32.store $1=, 144($2), $pop41 + i32.const $push146=, .L.str.4 + i32.const $push87=, 144 + i32.add $push88=, $2, $pop87 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop146, $pop88 + i32.const $push145=, 0 + i32.load $push42=, should_optimize($pop145) + i32.eqz $push189=, $pop42 + br_if 0, $pop189 # 0: down to label1 # BB#19: # %if.end65 - i32.const $push152=, 0 - i32.const $push151=, 0 - i32.store $drop=, should_optimize($pop152), $pop151 - i32.store $drop=, 128($1), $0 - i32.const $push150=, .L.str.4 - i32.const $push91=, 128 - i32.add $push92=, $1, $pop91 - i32.call $push45=, __printf_chk@FUNCTION, $1, $pop150, $pop92 - i32.ne $push46=, $pop45, $2 - br_if 0, $pop46 # 0: down to label1 + i32.store $drop=, 128($2), $1 + i32.const $push150=, 0 + i32.const $push149=, 0 + i32.store $drop=, should_optimize($pop150), $pop149 + i32.const $push148=, .L.str.4 + i32.const $push89=, 128 + i32.add $push90=, $2, $pop89 + i32.call $push43=, __printf_chk@FUNCTION, $2, $pop148, $pop90 + i32.ne $push44=, $pop43, $0 + br_if 0, $pop44 # 0: down to label1 # BB#20: # %if.end69 - i32.const $push153=, 0 - i32.load $push47=, should_optimize($pop153) - i32.eqz $push189=, $pop47 - br_if 0, $pop189 # 0: down to label1 + i32.const $push151=, 0 + i32.load $push45=, should_optimize($pop151) + i32.eqz $push190=, $pop45 + br_if 0, $pop190 # 0: down to label1 # BB#21: # %if.end72 - i32.const $push156=, 0 - i32.const $push48=, 1 - i32.store $drop=, should_optimize($pop156), $pop48 - i32.const $push49=, .L.str.3 - i32.store $2=, 112($1), $pop49 - i32.const $push155=, .L.str.4 - i32.const $push93=, 112 - i32.add $push94=, $1, $pop93 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop155, $pop94 i32.const $push154=, 0 - i32.load $push50=, should_optimize($pop154) - i32.eqz $push190=, $pop50 - br_if 0, $pop190 # 0: down to label1 + i32.const $push46=, 1 + i32.store $drop=, should_optimize($pop154), $pop46 + i32.const $push47=, .L.str.3 + i32.store $0=, 112($2), $pop47 + i32.const $push153=, .L.str.4 + i32.const $push91=, 112 + i32.add $push92=, $2, $pop91 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop153, $pop92 + i32.const $push152=, 0 + i32.load $push48=, should_optimize($pop152) + i32.eqz $push191=, $pop48 + br_if 0, $pop191 # 0: down to label1 # BB#22: # %if.end76 - i32.const $push51=, 0 - i32.const $push158=, 0 - i32.store $0=, should_optimize($pop51), $pop158 - i32.store $drop=, 96($1), $2 - i32.const $push157=, .L.str.4 - i32.const $push95=, 96 - i32.add $push96=, $1, $pop95 - i32.call $push52=, __printf_chk@FUNCTION, $1, $pop157, $pop96 - br_if 0, $pop52 # 0: down to label1 + i32.store $drop=, 96($2), $0 + i32.const $push49=, 0 + i32.const $push156=, 0 + i32.store $0=, should_optimize($pop49), $pop156 + i32.const $push155=, .L.str.4 + i32.const $push93=, 96 + i32.add $push94=, $2, $pop93 + i32.call $push50=, __printf_chk@FUNCTION, $2, $pop155, $pop94 + br_if 0, $pop50 # 0: down to label1 # BB#23: # %if.end80 - i32.load $push53=, should_optimize($0) - i32.eqz $push191=, $pop53 - br_if 0, $pop191 # 0: down to label1 + i32.load $push51=, should_optimize($0) + i32.eqz $push192=, $pop51 + br_if 0, $pop192 # 0: down to label1 # BB#24: # %if.end83 - i32.const $push161=, 0 - i32.const $push54=, 1 - i32.store $2=, should_optimize($pop161), $pop54 - i32.const $push55=, 120 - i32.store $0=, 80($1), $pop55 - i32.const $push160=, .L.str.5 - i32.const $push97=, 80 - i32.add $push98=, $1, $pop97 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop160, $pop98 i32.const $push159=, 0 - i32.load $push56=, should_optimize($pop159) - i32.eqz $push192=, $pop56 - br_if 0, $pop192 # 0: down to label1 + i32.const $push52=, 1 + i32.store $0=, should_optimize($pop159), $pop52 + i32.const $push53=, 120 + i32.store $1=, 80($2), $pop53 + i32.const $push158=, .L.str.5 + i32.const $push95=, 80 + i32.add $push96=, $2, $pop95 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop158, $pop96 + i32.const $push157=, 0 + i32.load $push54=, should_optimize($pop157) + i32.eqz $push193=, $pop54 + br_if 0, $pop193 # 0: down to label1 # BB#25: # %if.end87 - i32.const $push164=, 0 - i32.const $push163=, 0 - i32.store $drop=, should_optimize($pop164), $pop163 - i32.store $drop=, 64($1), $0 - i32.const $push162=, .L.str.5 - i32.const $push99=, 64 - i32.add $push100=, $1, $pop99 - i32.call $push57=, __printf_chk@FUNCTION, $1, $pop162, $pop100 - i32.ne $push58=, $pop57, $2 - br_if 0, $pop58 # 0: down to label1 + i32.store $drop=, 64($2), $1 + i32.const $push162=, 0 + i32.const $push161=, 0 + i32.store $drop=, should_optimize($pop162), $pop161 + i32.const $push160=, .L.str.5 + i32.const $push97=, 64 + i32.add $push98=, $2, $pop97 + i32.call $push55=, __printf_chk@FUNCTION, $2, $pop160, $pop98 + i32.ne $push56=, $pop55, $0 + br_if 0, $pop56 # 0: down to label1 # BB#26: # %if.end91 - i32.const $push165=, 0 - i32.load $push59=, should_optimize($pop165) - i32.eqz $push193=, $pop59 - br_if 0, $pop193 # 0: down to label1 + i32.const $push163=, 0 + i32.load $push57=, should_optimize($pop163) + i32.eqz $push194=, $pop57 + br_if 0, $pop194 # 0: down to label1 # BB#27: # %if.end94 - i32.const $push168=, 0 - i32.const $push60=, 1 - i32.store $drop=, should_optimize($pop168), $pop60 - i32.const $push61=, .L.str.1 - i32.store $2=, 48($1), $pop61 - i32.const $push167=, .L.str.6 - i32.const $push101=, 48 - i32.add $push102=, $1, $pop101 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop167, $pop102 i32.const $push166=, 0 - i32.load $push62=, should_optimize($pop166) - i32.eqz $push194=, $pop62 - br_if 0, $pop194 # 0: down to label1 + i32.const $push58=, 1 + i32.store $drop=, should_optimize($pop166), $pop58 + i32.const $push59=, .L.str.1 + i32.store $0=, 48($2), $pop59 + i32.const $push165=, .L.str.6 + i32.const $push99=, 48 + i32.add $push100=, $2, $pop99 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop165, $pop100 + i32.const $push164=, 0 + i32.load $push60=, should_optimize($pop164) + i32.eqz $push195=, $pop60 + br_if 0, $pop195 # 0: down to label1 # BB#28: # %if.end98 - i32.const $push63=, 0 - i32.const $push170=, 0 - i32.store $0=, should_optimize($pop63), $pop170 - i32.store $drop=, 32($1), $2 - i32.const $push169=, .L.str.6 - i32.const $push103=, 32 - i32.add $push104=, $1, $pop103 - i32.call $push64=, __printf_chk@FUNCTION, $1, $pop169, $pop104 - i32.const $push65=, 7 - i32.ne $push66=, $pop64, $pop65 - br_if 0, $pop66 # 0: down to label1 + i32.store $drop=, 32($2), $0 + i32.const $push61=, 0 + i32.const $push168=, 0 + i32.store $0=, should_optimize($pop61), $pop168 + i32.const $push167=, .L.str.6 + i32.const $push101=, 32 + i32.add $push102=, $2, $pop101 + i32.call $push62=, __printf_chk@FUNCTION, $2, $pop167, $pop102 + i32.const $push63=, 7 + i32.ne $push64=, $pop62, $pop63 + br_if 0, $pop64 # 0: down to label1 # BB#29: # %if.end102 - i32.load $push67=, should_optimize($0) - i32.eqz $push195=, $pop67 - br_if 0, $pop195 # 0: down to label1 -# BB#30: # %if.end105 - i32.const $push68=, 0 - i32.const $push172=, 0 - i32.store $push2=, should_optimize($pop68), $pop172 - i32.store $2=, 16($1), $pop2 - i32.const $push171=, .L.str.7 - i32.const $push105=, 16 - i32.add $push106=, $1, $pop105 - i32.call $drop=, __printf_chk@FUNCTION, $1, $pop171, $pop106 - i32.load $push69=, should_optimize($2) - i32.eqz $push196=, $pop69 + i32.load $push65=, should_optimize($0) + i32.eqz $push196=, $pop65 br_if 0, $pop196 # 0: down to label1 +# BB#30: # %if.end105 + i32.const $push66=, 0 + i32.store $push171=, 16($2), $pop66 + tee_local $push170=, $0=, $pop171 + i32.store $drop=, should_optimize($pop170), $0 + i32.const $push169=, .L.str.7 + i32.const $push103=, 16 + i32.add $push104=, $2, $pop103 + i32.call $drop=, __printf_chk@FUNCTION, $2, $pop169, $pop104 + i32.load $push67=, should_optimize($0) + i32.eqz $push197=, $pop67 + br_if 0, $pop197 # 0: down to label1 # BB#31: # %if.end109 - i32.store $push3=, should_optimize($2), $2 - i32.store $drop=, 0($1), $pop3 - i32.const $push173=, .L.str.7 - i32.call $push70=, __printf_chk@FUNCTION, $1, $pop173, $1 - i32.const $push71=, 2 - i32.ne $push72=, $pop70, $pop71 - br_if 0, $pop72 # 0: down to label1 + i32.store $push174=, 0($2), $0 + tee_local $push173=, $0=, $pop174 + i32.store $drop=, should_optimize($pop173), $0 + i32.const $push172=, .L.str.7 + i32.call $push68=, __printf_chk@FUNCTION, $2, $pop172, $2 + i32.const $push69=, 2 + i32.ne $push70=, $pop68, $pop69 + br_if 0, $pop70 # 0: down to label1 # BB#32: # %if.end113 - i32.const $push174=, 0 - i32.load $push73=, should_optimize($pop174) - i32.eqz $push197=, $pop73 - br_if 0, $pop197 # 0: down to label1 -# BB#33: # %if.end116 - i32.const $push80=, __stack_pointer - i32.const $push78=, 224 - i32.add $push79=, $1, $pop78 - i32.store $drop=, 0($pop80), $pop79 i32.const $push175=, 0 - return $pop175 + i32.load $push71=, should_optimize($pop175) + i32.eqz $push198=, $pop71 + br_if 0, $pop198 # 0: down to label1 +# BB#33: # %if.end116 + i32.const $push78=, 0 + i32.const $push76=, 224 + i32.add $push77=, $2, $pop76 + i32.store $drop=, __stack_pointer($pop78), $pop77 + i32.const $push176=, 0 + return $pop176 .LBB1_34: # %if.then115 end_block # label1: call abort@FUNCTION diff --git a/test/torture-s/pta-field-1.c.s b/test/torture-s/pta-field-1.c.s index 6fec468d2..e8e99f317 100644 --- a/test/torture-s/pta-field-1.c.s +++ b/test/torture-s/pta-field-1.c.s @@ -10,7 +10,7 @@ bar: # @bar i32.load $push0=, 4($0) i32.const $push1=, 0 i32.store $drop=, 0($pop0), $pop1 - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -23,31 +23,32 @@ foo: # @foo .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push13=, $pop3, $pop4 - i32.store $push17=, 0($pop5), $pop13 - tee_local $push16=, $1=, $pop17 + i32.store $push17=, __stack_pointer($pop5), $pop13 + tee_local $push16=, $0=, $pop17 i32.const $push0=, 1 i32.store $drop=, 4($pop16), $pop0 i32.const $push1=, 2 - i32.store $drop=, 0($1), $pop1 + i32.store $drop=, 0($0), $pop1 + i32.store $push15=, 12($0), $0 + tee_local $push14=, $0=, $pop15 i32.const $push9=, 4 - i32.add $push10=, $1, $pop9 - i32.store $drop=, 8($1), $pop10 - i32.store $push15=, 12($1), $1 - tee_local $push14=, $1=, $pop15 + i32.add $push10=, $0, $pop9 + i32.store $drop=, 8($pop14), $pop10 i32.const $push11=, 8 - i32.add $push12=, $pop14, $pop11 + i32.add $push12=, $0, $pop11 call bar@FUNCTION, $pop12 - i32.load $0=, 0($1) - i32.const $push8=, __stack_pointer + i32.load $1=, 0($0) + i32.const $push8=, 0 i32.const $push6=, 16 - i32.add $push7=, $1, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return $0 + i32.add $push7=, $0, $pop6 + i32.store $drop=, __stack_pointer($pop8), $pop7 + copy_local $push18=, $1 + # fallthrough-return: $pop18 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -60,33 +61,33 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push15=, $pop5, $pop6 - i32.store $push19=, 0($pop7), $pop15 + i32.store $push19=, __stack_pointer($pop7), $pop15 tee_local $push18=, $0=, $pop19 i32.const $push0=, 1 i32.store $drop=, 4($pop18), $pop0 i32.const $push1=, 2 i32.store $drop=, 0($0), $pop1 - i32.const $push11=, 4 - i32.add $push12=, $0, $pop11 - i32.store $drop=, 8($0), $pop12 i32.store $push17=, 12($0), $0 tee_local $push16=, $0=, $pop17 + i32.const $push11=, 4 + i32.add $push12=, $0, $pop11 + i32.store $drop=, 8($pop16), $pop12 i32.const $push13=, 8 - i32.add $push14=, $pop16, $pop13 + i32.add $push14=, $0, $pop13 call bar@FUNCTION, $pop14 block i32.load $push2=, 0($0) br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 i32.const $push3=, 0 return $pop3 .LBB2_2: # %if.then diff --git a/test/torture-s/pta-field-2.c.s b/test/torture-s/pta-field-2.c.s index ba31fe649..7b3d94323 100644 --- a/test/torture-s/pta-field-2.c.s +++ b/test/torture-s/pta-field-2.c.s @@ -12,7 +12,7 @@ bar: # @bar i32.load $push2=, 0($pop1) i32.const $push3=, 0 i32.store $drop=, 0($pop2), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -25,32 +25,34 @@ foo: # @foo .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push15=, $pop5, $pop6 - i32.store $push17=, 0($pop7), $pop15 - tee_local $push16=, $1=, $pop17 + i32.store $push19=, __stack_pointer($pop7), $pop15 + tee_local $push18=, $0=, $pop19 i32.const $push0=, 1 - i32.store $drop=, 4($pop16), $pop0 + i32.store $drop=, 4($pop18), $pop0 i32.const $push1=, 2 - i32.store $drop=, 0($1), $pop1 + i32.store $drop=, 0($0), $pop1 + i32.store $push17=, 12($0), $0 + tee_local $push16=, $0=, $pop17 i32.const $push11=, 4 - i32.add $push12=, $1, $pop11 - i32.store $drop=, 8($1), $pop12 - i32.store $0=, 12($1), $1 + i32.add $push12=, $0, $pop11 + i32.store $drop=, 8($pop16), $pop12 i32.const $push13=, 8 - i32.add $push14=, $1, $pop13 + i32.add $push14=, $0, $pop13 i32.const $push2=, 4 i32.or $push3=, $pop14, $pop2 call bar@FUNCTION, $pop3 i32.load $1=, 4($0) - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 16 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 - return $1 + i32.store $drop=, __stack_pointer($pop10), $pop9 + copy_local $push20=, $1 + # fallthrough-return: $pop20 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo @@ -61,25 +63,26 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push17=, $pop7, $pop8 - i32.store $push19=, 0($pop9), $pop17 - tee_local $push18=, $1=, $pop19 + i32.store $push21=, __stack_pointer($pop9), $pop17 + tee_local $push20=, $0=, $pop21 i32.const $push0=, 1 - i32.store $drop=, 4($pop18), $pop0 + i32.store $drop=, 4($pop20), $pop0 i32.const $push1=, 2 - i32.store $drop=, 0($1), $pop1 + i32.store $drop=, 0($0), $pop1 + i32.store $push19=, 12($0), $0 + tee_local $push18=, $0=, $pop19 i32.const $push13=, 4 - i32.add $push14=, $1, $pop13 - i32.store $drop=, 8($1), $pop14 - i32.store $0=, 12($1), $1 + i32.add $push14=, $0, $pop13 + i32.store $drop=, 8($pop18), $pop14 i32.const $push15=, 8 - i32.add $push16=, $1, $pop15 + i32.add $push16=, $0, $pop15 i32.const $push2=, 4 i32.or $push3=, $pop16, $pop2 call bar@FUNCTION, $pop3 @@ -87,10 +90,10 @@ main: # @main i32.load $push4=, 4($0) br_if 0, $pop4 # 0: down to label0 # BB#1: # %if.end - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $0, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 i32.const $push5=, 0 return $pop5 .LBB2_2: # %if.then diff --git a/test/torture-s/ptr-arith-1.c.s b/test/torture-s/ptr-arith-1.c.s index 06b9d934e..a5a475c75 100644 --- a/test/torture-s/ptr-arith-1.c.s +++ b/test/torture-s/ptr-arith-1.c.s @@ -11,7 +11,7 @@ f: # @f i32.add $push0=, $0, $1 i32.const $push1=, 2 i32.add $push2=, $pop0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/pure-1.c.s b/test/torture-s/pure-1.c.s index 5974518bc..65059ead5 100644 --- a/test/torture-s/pure-1.c.s +++ b/test/torture-s/pure-1.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main @@ -24,7 +24,7 @@ func0: # @func0 i32.const $push0=, 0 i32.load $push1=, i($pop0) i32.sub $push2=, $0, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end1: .size func0, .Lfunc_end1-func0 @@ -38,7 +38,7 @@ func1: # @func1 .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size func1, .Lfunc_end2-func1 diff --git a/test/torture-s/pushpop_macro.c.s b/test/torture-s/pushpop_macro.c.s index 37a7bd4d2..be26f5cd6 100644 --- a/test/torture-s/pushpop_macro.c.s +++ b/test/torture-s/pushpop_macro.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/regstack-1.c.s b/test/torture-s/regstack-1.c.s index e067859b3..d45078c10 100644 --- a/test/torture-s/regstack-1.c.s +++ b/test/torture-s/regstack-1.c.s @@ -6,294 +6,300 @@ .type main,@function main: # @main .result i32 - .local i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i32 + .local i64, i64, i64, i64, i64, i64, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64 # BB#0: # %entry - i32.const $push56=, __stack_pointer - i32.const $push53=, __stack_pointer - i32.load $push54=, 0($pop53) - i32.const $push55=, 320 - i32.sub $push133=, $pop54, $pop55 - i32.store $push205=, 0($pop56), $pop133 - tee_local $push204=, $18=, $pop205 - i32.const $push57=, 304 - i32.add $push58=, $pop204, $pop57 - i32.const $push7=, 0 - i64.load $push203=, C($pop7) - tee_local $push202=, $4=, $pop203 - i32.const $push201=, 0 - i64.load $push200=, C+8($pop201) - tee_local $push199=, $5=, $pop200 - i32.const $push198=, 0 - i64.load $push197=, U($pop198) - tee_local $push196=, $17=, $pop197 - i32.const $push195=, 0 - i64.load $push194=, U+8($pop195) - tee_local $push193=, $16=, $pop194 - call __addtf3@FUNCTION, $pop58, $pop202, $pop199, $pop196, $pop193 - i32.const $push61=, 192 - i32.add $push62=, $18, $pop61 - i64.load $push192=, 304($18) - tee_local $push191=, $11=, $pop192 - i32.const $push59=, 304 - i32.add $push60=, $18, $pop59 - i32.const $push8=, 8 - i32.add $push9=, $pop60, $pop8 - i64.load $push190=, 0($pop9) - tee_local $push189=, $10=, $pop190 - i32.const $push188=, 0 - i64.load $push187=, Y2($pop188) - tee_local $push186=, $15=, $pop187 - i32.const $push185=, 0 - i64.load $push184=, Y2+8($pop185) - tee_local $push183=, $14=, $pop184 - call __multf3@FUNCTION, $pop62, $pop191, $pop189, $pop186, $pop183 - i32.const $push63=, 192 - i32.add $push64=, $18, $pop63 + i32.const $push71=, 0 + i32.const $push68=, 0 + i32.load $push69=, __stack_pointer($pop68) + i32.const $push70=, 320 + i32.sub $push148=, $pop69, $pop70 + i32.store $push232=, __stack_pointer($pop71), $pop148 + tee_local $push231=, $6=, $pop232 + i32.const $push72=, 304 + i32.add $push73=, $pop231, $pop72 + i32.const $push12=, 0 + i64.load $push230=, C($pop12) + tee_local $push229=, $12=, $pop230 + i32.const $push228=, 0 + i64.load $push227=, C+8($pop228) + tee_local $push226=, $11=, $pop227 + i32.const $push225=, 0 + i64.load $push224=, U($pop225) + tee_local $push223=, $8=, $pop224 + i32.const $push222=, 0 + i64.load $push221=, U+8($pop222) + tee_local $push220=, $7=, $pop221 + call __addtf3@FUNCTION, $pop73, $pop229, $pop226, $pop223, $pop220 + i32.const $push74=, 240 + i32.add $push75=, $6, $pop74 + call __subtf3@FUNCTION, $pop75, $12, $11, $8, $7 + i32.const $push78=, 288 + i32.add $push79=, $6, $pop78 + i64.load $push219=, 304($6) + tee_local $push218=, $14=, $pop219 + i32.const $push76=, 304 + i32.add $push77=, $6, $pop76 + i32.const $push13=, 8 + i32.add $push14=, $pop77, $pop13 + i64.load $push217=, 0($pop14) + tee_local $push216=, $13=, $pop217 + call __addtf3@FUNCTION, $pop79, $8, $7, $pop218, $pop216 + i32.const $push82=, 224 + i32.add $push83=, $6, $pop82 + i64.load $push215=, 240($6) + tee_local $push214=, $16=, $pop215 + i32.const $push80=, 240 + i32.add $push81=, $6, $pop80 + i32.const $push213=, 8 + i32.add $push15=, $pop81, $pop213 + i64.load $push212=, 0($pop15) + tee_local $push211=, $15=, $pop212 + call __subtf3@FUNCTION, $pop83, $pop214, $pop211, $8, $7 + i32.const $push86=, 272 + i32.add $push87=, $6, $pop86 + i64.load $push210=, 288($6) + tee_local $push209=, $10=, $pop210 + i32.const $push84=, 288 + i32.add $push85=, $6, $pop84 + i32.const $push208=, 8 + i32.add $push16=, $pop85, $pop208 + i64.load $push207=, 0($pop16) + tee_local $push206=, $9=, $pop207 + call __addtf3@FUNCTION, $pop87, $pop209, $pop206, $8, $7 + i32.const $push88=, 128 + i32.add $push89=, $6, $pop88 + i32.const $push205=, 0 + i64.load $push204=, Y2($pop205) + tee_local $push203=, $12=, $pop204 + i32.const $push202=, 0 + i64.load $push201=, Y2+8($pop202) + tee_local $push200=, $11=, $pop201 + call __addtf3@FUNCTION, $pop89, $8, $7, $pop203, $pop200 + i32.const $push90=, 192 + i32.add $push91=, $6, $pop90 + call __multf3@FUNCTION, $pop91, $14, $13, $12, $11 + i32.const $push92=, 112 + i32.add $push93=, $6, $pop92 + i32.const $push199=, 0 + i64.load $push198=, Y1($pop199) + tee_local $push197=, $14=, $pop198 + i32.const $push196=, 0 + i64.load $push195=, Y1+8($pop196) + tee_local $push194=, $13=, $pop195 + call __multf3@FUNCTION, $pop93, $16, $15, $pop197, $pop194 + i32.const $push96=, 80 + i32.add $push97=, $6, $pop96 + i64.load $push193=, 224($6) + tee_local $push192=, $16=, $pop193 + i32.const $push94=, 224 + i32.add $push95=, $6, $pop94 + i32.const $push191=, 8 + i32.add $push17=, $pop95, $pop191 + i64.load $push190=, 0($pop17) + tee_local $push189=, $15=, $pop190 + call __multf3@FUNCTION, $pop97, $pop192, $pop189, $14, $13 + i32.const $push98=, 208 + i32.add $push99=, $6, $pop98 + call __subtf3@FUNCTION, $pop99, $8, $7, $16, $15 + i32.const $push100=, 160 + i32.add $push101=, $6, $pop100 + call __multf3@FUNCTION, $pop101, $10, $9, $12, $11 + i32.const $push104=, 256 + i32.add $push105=, $6, $pop104 + i64.load $push188=, 272($6) + tee_local $push187=, $10=, $pop188 + i32.const $push102=, 272 + i32.add $push103=, $6, $pop102 + i32.const $push186=, 8 + i32.add $push18=, $pop103, $pop186 + i64.load $push185=, 0($pop18) + tee_local $push184=, $9=, $pop185 + call __addtf3@FUNCTION, $pop105, $8, $7, $pop187, $pop184 + i32.const $push108=, 48 + i32.add $push109=, $6, $pop108 + i64.load $push21=, 128($6) + i32.const $push106=, 128 + i32.add $push107=, $6, $pop106 + i32.const $push183=, 8 + i32.add $push19=, $pop107, $pop183 + i64.load $push20=, 0($pop19) + call __multf3@FUNCTION, $pop109, $pop21, $pop20, $14, $13 + i32.const $push110=, 16 + i32.add $push111=, $6, $pop110 + call __multf3@FUNCTION, $pop111, $12, $11, $14, $13 + i32.const $push114=, 176 + i32.add $push115=, $6, $pop114 + i64.load $push24=, 192($6) + i32.const $push112=, 192 + i32.add $push113=, $6, $pop112 i32.const $push182=, 8 - i32.add $push10=, $pop64, $pop182 - i64.load $2=, 0($pop10) - i64.load $3=, 192($18) - i32.const $push65=, 240 - i32.add $push66=, $18, $pop65 - call __subtf3@FUNCTION, $pop66, $4, $5, $17, $16 - i32.const $push69=, 224 - i32.add $push70=, $18, $pop69 - i64.load $push181=, 240($18) - tee_local $push180=, $13=, $pop181 - i32.const $push67=, 240 - i32.add $push68=, $18, $pop67 + i32.add $push22=, $pop113, $pop182 + i64.load $push23=, 0($pop22) + call __subtf3@FUNCTION, $pop115, $pop24, $pop23, $10, $9 + i32.const $push118=, 96 + i32.add $push119=, $6, $pop118 + i64.load $push27=, 112($6) + i32.const $push116=, 112 + i32.add $push117=, $6, $pop116 + i32.const $push181=, 8 + i32.add $push25=, $pop117, $pop181 + i64.load $push26=, 0($pop25) + call __subtf3@FUNCTION, $pop119, $pop27, $pop26, $16, $15 + i32.const $push124=, 64 + i32.add $push125=, $6, $pop124 + i64.load $push33=, 208($6) + i32.const $push122=, 208 + i32.add $push123=, $6, $pop122 + i32.const $push180=, 8 + i32.add $push30=, $pop123, $pop180 + i64.load $push31=, 0($pop30) + i64.load $push32=, 80($6) + i32.const $push120=, 80 + i32.add $push121=, $6, $pop120 i32.const $push179=, 8 - i32.add $push11=, $pop68, $pop179 - i64.load $push178=, 0($pop11) - tee_local $push177=, $12=, $pop178 - call __subtf3@FUNCTION, $pop70, $pop180, $pop177, $17, $16 - i32.const $push71=, 224 - i32.add $push72=, $18, $pop71 + i32.add $push28=, $pop121, $pop179 + i64.load $push29=, 0($pop28) + call __addtf3@FUNCTION, $pop125, $pop33, $pop31, $pop32, $pop29 + i32.const $push130=, 144 + i32.add $push131=, $6, $pop130 + i64.load $push178=, 160($6) + tee_local $push177=, $8=, $pop178 + i32.const $push126=, 160 + i32.add $push127=, $6, $pop126 i32.const $push176=, 8 - i32.add $push12=, $pop72, $pop176 - i64.load $4=, 0($pop12) - i64.load $5=, 224($18) - i32.const $push73=, 288 - i32.add $push74=, $18, $pop73 - call __addtf3@FUNCTION, $pop74, $17, $16, $11, $10 - i32.const $push75=, 288 - i32.add $push76=, $18, $pop75 - i32.const $push175=, 8 - i32.add $push13=, $pop76, $pop175 - i64.load $6=, 0($pop13) - i64.load $7=, 288($18) - i32.const $push77=, 112 - i32.add $push78=, $18, $pop77 - i32.const $push174=, 0 - i64.load $push173=, Y1($pop174) - tee_local $push172=, $11=, $pop173 - i32.const $push171=, 0 - i64.load $push170=, Y1+8($pop171) - tee_local $push169=, $10=, $pop170 - call __multf3@FUNCTION, $pop78, $13, $12, $pop172, $pop169 - i32.const $push79=, 112 - i32.add $push80=, $18, $pop79 - i32.const $push168=, 8 - i32.add $push14=, $pop80, $pop168 - i64.load $13=, 0($pop14) - i64.load $12=, 112($18) - i32.const $push81=, 272 - i32.add $push82=, $18, $pop81 - call __addtf3@FUNCTION, $pop82, $7, $6, $17, $16 - i32.const $push85=, 176 - i32.add $push86=, $18, $pop85 - i64.load $push167=, 272($18) - tee_local $push166=, $9=, $pop167 - i32.const $push83=, 272 - i32.add $push84=, $18, $pop83 - i32.const $push165=, 8 - i32.add $push15=, $pop84, $pop165 - i64.load $push164=, 0($pop15) - tee_local $push163=, $8=, $pop164 - call __subtf3@FUNCTION, $pop86, $3, $2, $pop166, $pop163 - i64.load $2=, 176($18) + i32.add $push34=, $pop127, $pop176 + i64.load $push175=, 0($pop34) + tee_local $push174=, $7=, $pop175 + i64.load $push37=, 256($6) + i32.const $push128=, 256 + i32.add $push129=, $6, $pop128 + i32.const $push173=, 8 + i32.add $push35=, $pop129, $pop173 + i64.load $push36=, 0($pop35) + call __subtf3@FUNCTION, $pop131, $pop177, $pop174, $pop37, $pop36 + i32.const $push134=, 32 + i32.add $push135=, $6, $pop134 + i64.load $push40=, 48($6) + i32.const $push132=, 48 + i32.add $push133=, $6, $pop132 + i32.const $push172=, 8 + i32.add $push38=, $pop133, $pop172 + i64.load $push39=, 0($pop38) + call __subtf3@FUNCTION, $pop135, $pop40, $pop39, $12, $11 + i64.load $push44=, 16($6) + i32.const $push136=, 16 + i32.add $push137=, $6, $pop136 + i32.const $push171=, 8 + i32.add $push41=, $pop137, $pop171 + i64.load $push42=, 0($pop41) + i64.const $push170=, 0 + i64.const $push43=, -4612248968380809216 + call __addtf3@FUNCTION, $6, $pop44, $pop42, $pop170, $pop43 + i32.const $push169=, 0 + i64.store $14=, S+8($pop169), $7 + i32.const $push168=, 0 + i64.store $13=, S($pop168), $8 + i32.const $push167=, 0 + i32.const $push138=, 176 + i32.add $push139=, $6, $pop138 + i32.const $push166=, 8 + i32.add $push45=, $pop139, $pop166 + i64.load $push11=, 0($pop45) + i64.store $10=, X+8($pop167), $pop11 + i32.const $push165=, 0 + i64.load $push10=, 176($6) + i64.store $9=, X($pop165), $pop10 + i32.const $push164=, 0 + i32.const $push140=, 96 + i32.add $push141=, $6, $pop140 + i32.const $push163=, 8 + i32.add $push46=, $pop141, $pop163 + i64.load $push1=, 0($pop46) + i64.store $8=, T+8($pop164), $pop1 i32.const $push162=, 0 - i32.const $push87=, 176 - i32.add $push88=, $18, $pop87 - i32.const $push161=, 8 - i32.add $push16=, $pop88, $pop161 - i64.load $push6=, 0($pop16) - i64.store $0=, X+8($pop162), $pop6 - i32.const $push160=, 0 - i64.store $1=, X($pop160), $2 - i32.const $push89=, 80 - i32.add $push90=, $18, $pop89 - call __multf3@FUNCTION, $pop90, $5, $4, $11, $10 - i32.const $push91=, 80 - i32.add $push92=, $18, $pop91 - i32.const $push159=, 8 - i32.add $push17=, $pop92, $pop159 - i64.load $2=, 0($pop17) - i64.load $3=, 80($18) - i32.const $push93=, 160 - i32.add $push94=, $18, $pop93 - call __multf3@FUNCTION, $pop94, $7, $6, $15, $14 - i64.load $7=, 160($18) + i64.load $push0=, 96($6) + i64.store $7=, T($pop162), $pop0 + i32.const $push161=, 0 + i32.const $push142=, 64 + i32.add $push143=, $6, $pop142 + i32.const $push160=, 8 + i32.add $push47=, $pop143, $pop160 + i64.load $push9=, 0($pop47) + i64.store $0=, Y+8($pop161), $pop9 + i32.const $push159=, 0 + i64.load $push8=, 64($6) + i64.store $1=, Y($pop159), $pop8 i32.const $push158=, 0 - i32.const $push95=, 160 - i32.add $push96=, $18, $pop95 + i32.const $push144=, 144 + i32.add $push145=, $6, $pop144 i32.const $push157=, 8 - i32.add $push18=, $pop96, $pop157 - i64.load $push1=, 0($pop18) - i64.store $6=, S+8($pop158), $pop1 + i32.add $push48=, $pop145, $pop157 + i64.load $push7=, 0($pop48) + i64.store $2=, Z+8($pop158), $pop7 i32.const $push156=, 0 - i64.store $drop=, S($pop156), $7 - i32.const $push97=, 96 - i32.add $push98=, $18, $pop97 - call __subtf3@FUNCTION, $pop98, $12, $13, $5, $4 - i64.load $13=, 96($18) + i64.load $push6=, 144($6) + i64.store $3=, Z($pop156), $pop6 i32.const $push155=, 0 - i32.const $push99=, 96 - i32.add $push100=, $18, $pop99 + i32.const $push146=, 32 + i32.add $push147=, $6, $pop146 i32.const $push154=, 8 - i32.add $push19=, $pop100, $pop154 - i64.load $push0=, 0($pop19) - i64.store $12=, T+8($pop155), $pop0 + i32.add $push49=, $pop147, $pop154 + i64.load $push3=, 0($pop49) + i64.store $16=, R+8($pop155), $pop3 i32.const $push153=, 0 - i64.store $drop=, T($pop153), $13 - i32.const $push101=, 208 - i32.add $push102=, $18, $pop101 - call __subtf3@FUNCTION, $pop102, $17, $16, $5, $4 - i32.const $push105=, 64 - i32.add $push106=, $18, $pop105 - i64.load $push22=, 208($18) - i32.const $push103=, 208 - i32.add $push104=, $18, $pop103 - i32.const $push152=, 8 - i32.add $push20=, $pop104, $pop152 - i64.load $push21=, 0($pop20) - call __addtf3@FUNCTION, $pop106, $pop22, $pop21, $3, $2 - i64.load $4=, 64($18) - i32.const $push151=, 0 - i32.const $push107=, 64 - i32.add $push108=, $18, $pop107 - i32.const $push150=, 8 - i32.add $push23=, $pop108, $pop150 - i64.load $push5=, 0($pop23) - i64.store $2=, Y+8($pop151), $pop5 - i32.const $push149=, 0 - i64.store $3=, Y($pop149), $4 - i32.const $push109=, 256 - i32.add $push110=, $18, $pop109 - call __addtf3@FUNCTION, $pop110, $17, $16, $9, $8 - i32.const $push113=, 144 - i32.add $push114=, $18, $pop113 - i64.load $push26=, 256($18) - i32.const $push111=, 256 - i32.add $push112=, $18, $pop111 - i32.const $push148=, 8 - i32.add $push24=, $pop112, $pop148 - i64.load $push25=, 0($pop24) - call __subtf3@FUNCTION, $pop114, $7, $6, $pop26, $pop25 - i64.load $4=, 144($18) - i32.const $push147=, 0 - i32.const $push115=, 144 - i32.add $push116=, $18, $pop115 - i32.const $push146=, 8 - i32.add $push27=, $pop116, $pop146 - i64.load $push4=, 0($pop27) - i64.store $9=, Z+8($pop147), $pop4 - i32.const $push145=, 0 - i64.store $8=, Z($pop145), $4 - i32.const $push117=, 128 - i32.add $push118=, $18, $pop117 - call __addtf3@FUNCTION, $pop118, $17, $16, $15, $14 - i32.const $push121=, 48 - i32.add $push122=, $18, $pop121 - i64.load $push30=, 128($18) - i32.const $push119=, 128 - i32.add $push120=, $18, $pop119 - i32.const $push144=, 8 - i32.add $push28=, $pop120, $pop144 - i64.load $push29=, 0($pop28) - call __multf3@FUNCTION, $pop122, $pop30, $pop29, $11, $10 - i32.const $push123=, 48 - i32.add $push124=, $18, $pop123 - i32.const $push143=, 8 - i32.add $push31=, $pop124, $pop143 - i64.load $17=, 0($pop31) - i64.load $16=, 48($18) - i32.const $push125=, 16 - i32.add $push126=, $18, $pop125 - call __multf3@FUNCTION, $pop126, $15, $14, $11, $10 - i32.const $push127=, 16 - i32.add $push128=, $18, $pop127 - i32.const $push142=, 8 - i32.add $push32=, $pop128, $pop142 - i64.load $4=, 0($pop32) - i64.load $5=, 16($18) - i32.const $push129=, 32 - i32.add $push130=, $18, $pop129 - call __subtf3@FUNCTION, $pop130, $16, $17, $15, $14 - i64.load $17=, 32($18) - i32.const $push141=, 0 - i32.const $push131=, 32 - i32.add $push132=, $18, $pop131 - i32.const $push140=, 8 - i32.add $push33=, $pop132, $pop140 - i64.load $push2=, 0($pop33) - i64.store $16=, R+8($pop141), $pop2 - i32.const $push139=, 0 - i64.store $11=, R($pop139), $17 - i64.const $push138=, 0 - i64.const $push34=, -4612248968380809216 - call __addtf3@FUNCTION, $18, $5, $4, $pop138, $pop34 - i64.load $17=, 0($18) - i32.const $push137=, 0 - i32.const $push136=, 8 - i32.add $push35=, $18, $pop136 - i64.load $push3=, 0($pop35) - i64.store $4=, Y1+8($pop137), $pop3 - i32.const $push135=, 0 - i64.store $drop=, Y1($pop135), $17 + i64.load $push2=, 32($6) + i64.store $15=, R($pop153), $pop2 + i32.const $push152=, 0 + i32.const $push151=, 8 + i32.add $push50=, $6, $pop151 + i64.load $push5=, 0($pop50) + i64.store $4=, Y1+8($pop152), $pop5 + i32.const $push150=, 0 + i64.load $push4=, 0($6) + i64.store $5=, Y1($pop150), $pop4 block - i64.const $push134=, 0 - i64.const $push36=, 4612354521497075712 - i32.call $push37=, __netf2@FUNCTION, $15, $14, $pop134, $pop36 - br_if 0, $pop37 # 0: down to label0 + i64.const $push149=, 0 + i64.const $push51=, 4612354521497075712 + i32.call $push52=, __netf2@FUNCTION, $12, $11, $pop149, $pop51 + br_if 0, $pop52 # 0: down to label0 # BB#1: # %entry - i64.const $push206=, 0 - i64.const $push38=, 4613097791357452288 - i32.call $push39=, __netf2@FUNCTION, $13, $12, $pop206, $pop38 - br_if 0, $pop39 # 0: down to label0 + i64.const $push233=, 0 + i64.const $push53=, 4613097791357452288 + i32.call $push54=, __netf2@FUNCTION, $7, $8, $pop233, $pop53 + br_if 0, $pop54 # 0: down to label0 # BB#2: # %entry - i64.const $push207=, 0 - i64.const $push40=, 4613150567915585536 - i32.call $push41=, __netf2@FUNCTION, $7, $6, $pop207, $pop40 - br_if 0, $pop41 # 0: down to label0 + i64.const $push234=, 0 + i64.const $push55=, 4613150567915585536 + i32.call $push56=, __netf2@FUNCTION, $13, $14, $pop234, $pop55 + br_if 0, $pop56 # 0: down to label0 # BB#3: # %entry - i64.const $push208=, 0 - i64.const $push42=, 4613517804799262720 - i32.call $push43=, __netf2@FUNCTION, $11, $16, $pop208, $pop42 - br_if 0, $pop43 # 0: down to label0 + i64.const $push235=, 0 + i64.const $push57=, 4613517804799262720 + i32.call $push58=, __netf2@FUNCTION, $15, $16, $pop235, $pop57 + br_if 0, $pop58 # 0: down to label0 # BB#4: # %entry - i64.const $push209=, 0 - i64.const $push44=, 4613503511148101632 - i32.call $push45=, __netf2@FUNCTION, $17, $4, $pop209, $pop44 - br_if 0, $pop45 # 0: down to label0 + i64.const $push236=, 0 + i64.const $push59=, 4613503511148101632 + i32.call $push60=, __netf2@FUNCTION, $5, $4, $pop236, $pop59 + br_if 0, $pop60 # 0: down to label0 # BB#5: # %entry - i64.const $push210=, 0 - i64.const $push46=, 4613110985496985600 - i32.call $push47=, __netf2@FUNCTION, $8, $9, $pop210, $pop46 - br_if 0, $pop47 # 0: down to label0 + i64.const $push237=, 0 + i64.const $push61=, 4613110985496985600 + i32.call $push62=, __netf2@FUNCTION, $3, $2, $pop237, $pop61 + br_if 0, $pop62 # 0: down to label0 # BB#6: # %entry - i64.const $push211=, 0 - i64.const $push48=, 4612961451915608064 - i32.call $push49=, __netf2@FUNCTION, $3, $2, $pop211, $pop48 - br_if 0, $pop49 # 0: down to label0 + i64.const $push238=, 0 + i64.const $push63=, 4612961451915608064 + i32.call $push64=, __netf2@FUNCTION, $1, $0, $pop238, $pop63 + br_if 0, $pop64 # 0: down to label0 # BB#7: # %entry - i64.const $push212=, 0 - i64.const $push50=, 4613040616752807936 - i32.call $push51=, __eqtf2@FUNCTION, $1, $0, $pop212, $pop50 - br_if 0, $pop51 # 0: down to label0 + i64.const $push239=, 0 + i64.const $push65=, 4613040616752807936 + i32.call $push66=, __eqtf2@FUNCTION, $9, $10, $pop239, $pop65 + br_if 0, $pop66 # 0: down to label0 # BB#8: # %if.end - i32.const $push52=, 0 - call exit@FUNCTION, $pop52 + i32.const $push67=, 0 + call exit@FUNCTION, $pop67 unreachable .LBB0_9: # %if.then end_block # label0: diff --git a/test/torture-s/restrict-1.c.s b/test/torture-s/restrict-1.c.s index 8e961c6cf..9b5b27487 100644 --- a/test/torture-s/restrict-1.c.s +++ b/test/torture-s/restrict-1.c.s @@ -7,13 +7,13 @@ foo: # @foo .param i32, i32, i32 # BB#0: # %entry - i32.load $push1=, 0($2) - i32.load $push0=, 0($1) - i32.add $push2=, $pop1, $pop0 - i32.store $drop=, 0($0), $pop2 - i32.const $push3=, 0 - i32.store $drop=, 4($0), $pop3 - return + i32.const $push0=, 0 + i32.store $drop=, 4($0), $pop0 + i32.load $push2=, 0($2) + i32.load $push1=, 0($1) + i32.add $push3=, $pop2, $pop1 + i32.store $drop=, 0($0), $pop3 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -54,7 +54,7 @@ main: # @main .result i32 # BB#0: # %bar.exit i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/shiftdi.c.s b/test/torture-s/shiftdi.c.s index ecd525f23..12a559b16 100644 --- a/test/torture-s/shiftdi.c.s +++ b/test/torture-s/shiftdi.c.s @@ -22,7 +22,7 @@ g: # @g i64.shl $push10=, $pop8, $pop9 i64.or $push12=, $pop11, $pop10 i64.store $drop=, 0($3), $pop12 - return + # fallthrough-return .endfunc .Lfunc_end0: .size g, .Lfunc_end0-g @@ -35,7 +35,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/shiftopt-1.c.s b/test/torture-s/shiftopt-1.c.s index 80160c125..26d85cc72 100644 --- a/test/torture-s/shiftopt-1.c.s +++ b/test/torture-s/shiftopt-1.c.s @@ -7,7 +7,7 @@ utest: # @utest .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size utest, .Lfunc_end0-utest @@ -19,7 +19,7 @@ utest: # @utest stest: # @stest .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end1: .size stest, .Lfunc_end1-stest @@ -32,7 +32,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/simd-1.c.s b/test/torture-s/simd-1.c.s index 0ae4848d7..e1bfa6b4d 100644 --- a/test/torture-s/simd-1.c.s +++ b/test/torture-s/simd-1.c.s @@ -35,330 +35,330 @@ verify: # @verify .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry i32.const $push8=, 0 - i32.load $1=, i+8($pop8) + i32.const $push256=, 0 + i32.load $push10=, j+12($pop256) + i32.const $push255=, 0 + i32.load $push9=, i+12($pop255) + i32.add $push11=, $pop10, $pop9 + i32.store $0=, k+12($pop8), $pop11 + i32.const $push254=, 0 + i32.const $push253=, 0 + i32.load $push13=, j+8($pop253) + i32.const $push252=, 0 + i32.load $push12=, i+8($pop252) + i32.add $push14=, $pop13, $pop12 + i32.store $1=, k+8($pop254), $pop14 + i32.const $push251=, 0 + i32.const $push250=, 0 + i32.load $push16=, j+4($pop250) + i32.const $push249=, 0 + i32.load $push15=, i+4($pop249) + i32.add $push17=, $pop16, $pop15 + i32.store $2=, k+4($pop251), $pop17 + i32.const $push248=, 0 + i32.const $push247=, 0 + i32.load $push19=, j($pop247) + i32.const $push246=, 0 + i32.load $push18=, i($pop246) + i32.add $push20=, $pop19, $pop18 + i32.store $3=, k($pop248), $pop20 + i32.const $push245=, 0 + i32.store $drop=, res+12($pop245), $0 + i32.const $push244=, 0 + i32.store $drop=, res+8($pop244), $1 + i32.const $push243=, 0 + i32.store $drop=, res+4($pop243), $2 + i32.const $push242=, 0 + i32.store $push0=, res($pop242), $3 + i32.const $push24=, 160 + i32.const $push23=, 113 + i32.const $push22=, 170 + i32.const $push21=, 230 + call verify@FUNCTION, $pop0, $2, $1, $0, $pop24, $pop23, $pop22, $pop21 + i32.const $push241=, 0 + i32.const $push240=, 0 + i32.load $push26=, j+12($pop240) + i32.const $push239=, 0 + i32.load $push25=, i+12($pop239) + i32.mul $push27=, $pop26, $pop25 + i32.store $0=, k+12($pop241), $pop27 + i32.const $push238=, 0 + i32.const $push237=, 0 + i32.load $push29=, j+8($pop237) + i32.const $push236=, 0 + i32.load $push28=, i+8($pop236) + i32.mul $push30=, $pop29, $pop28 + i32.store $1=, k+8($pop238), $pop30 + i32.const $push235=, 0 + i32.const $push234=, 0 + i32.load $push32=, j+4($pop234) + i32.const $push233=, 0 + i32.load $push31=, i+4($pop233) + i32.mul $push33=, $pop32, $pop31 + i32.store $2=, k+4($pop235), $pop33 + i32.const $push232=, 0 + i32.const $push231=, 0 + i32.load $push35=, j($pop231) + i32.const $push230=, 0 + i32.load $push34=, i($pop230) + i32.mul $push36=, $pop35, $pop34 + i32.store $3=, k($pop232), $pop36 + i32.const $push229=, 0 + i32.store $drop=, res+12($pop229), $0 + i32.const $push228=, 0 + i32.store $drop=, res+8($pop228), $1 + i32.const $push227=, 0 + i32.store $drop=, res+4($pop227), $2 + i32.const $push226=, 0 + i32.store $push1=, res($pop226), $3 + i32.const $push40=, 1500 + i32.const $push39=, 1300 + i32.const $push38=, 3000 + i32.const $push37=, 6000 + call verify@FUNCTION, $pop1, $2, $1, $0, $pop40, $pop39, $pop38, $pop37 + i32.const $push225=, 0 + i32.const $push224=, 0 + i32.load $push42=, i+12($pop224) + i32.const $push223=, 0 + i32.load $push41=, j+12($pop223) + i32.div_s $push43=, $pop42, $pop41 + i32.store $0=, k+12($pop225), $pop43 + i32.const $push222=, 0 + i32.const $push221=, 0 + i32.load $push45=, i+8($pop221) + i32.const $push220=, 0 + i32.load $push44=, j+8($pop220) + i32.div_s $push46=, $pop45, $pop44 + i32.store $1=, k+8($pop222), $pop46 + i32.const $push219=, 0 + i32.const $push218=, 0 + i32.load $push48=, i+4($pop218) + i32.const $push217=, 0 + i32.load $push47=, j+4($pop217) + i32.div_s $push49=, $pop48, $pop47 + i32.store $2=, k+4($pop219), $pop49 + i32.const $push216=, 0 + i32.const $push215=, 0 + i32.load $push51=, i($pop215) i32.const $push214=, 0 - i32.load $2=, i+4($pop214) + i32.load $push50=, j($pop214) + i32.div_s $push52=, $pop51, $pop50 + i32.store $3=, k($pop216), $pop52 i32.const $push213=, 0 - i32.load $3=, i($pop213) + i32.store $drop=, res+12($pop213), $0 i32.const $push212=, 0 - i32.load $6=, j($pop212) + i32.store $drop=, res+8($pop212), $1 i32.const $push211=, 0 - i32.load $5=, j+4($pop211) + i32.store $drop=, res+4($pop211), $2 i32.const $push210=, 0 - i32.load $4=, j+8($pop210) - i32.const $push209=, 0 + i32.store $push2=, res($pop210), $3 + i32.const $push55=, 15 + i32.const $push54=, 7 + i32.const $push209=, 7 + i32.const $push53=, 6 + call verify@FUNCTION, $pop2, $2, $1, $0, $pop55, $pop54, $pop209, $pop53 i32.const $push208=, 0 - i32.load $push10=, j+12($pop208) i32.const $push207=, 0 - i32.load $push9=, i+12($pop207) - i32.add $push14=, $pop10, $pop9 - i32.store $0=, k+12($pop209), $pop14 + i32.load $push57=, j+12($pop207) i32.const $push206=, 0 - i32.add $push13=, $4, $1 - i32.store $1=, k+8($pop206), $pop13 + i32.load $push56=, i+12($pop206) + i32.and $push58=, $pop57, $pop56 + i32.store $0=, k+12($pop208), $pop58 i32.const $push205=, 0 - i32.add $push12=, $5, $2 - i32.store $2=, k+4($pop205), $pop12 i32.const $push204=, 0 - i32.add $push11=, $6, $3 - i32.store $3=, k($pop204), $pop11 + i32.load $push60=, j+8($pop204) i32.const $push203=, 0 - i32.store $6=, res+12($pop203), $0 + i32.load $push59=, i+8($pop203) + i32.and $push61=, $pop60, $pop59 + i32.store $1=, k+8($pop205), $pop61 i32.const $push202=, 0 - i32.store $drop=, res+8($pop202), $1 i32.const $push201=, 0 - i32.store $drop=, res+4($pop201), $2 + i32.load $push63=, j+4($pop201) i32.const $push200=, 0 - i32.store $push0=, res($pop200), $3 - i32.const $push18=, 160 - i32.const $push17=, 113 - i32.const $push16=, 170 - i32.const $push15=, 230 - call verify@FUNCTION, $pop0, $2, $1, $6, $pop18, $pop17, $pop16, $pop15 + i32.load $push62=, i+4($pop200) + i32.and $push64=, $pop63, $pop62 + i32.store $2=, k+4($pop202), $pop64 i32.const $push199=, 0 - i32.load $1=, i+8($pop199) i32.const $push198=, 0 - i32.load $2=, i+4($pop198) + i32.load $push66=, j($pop198) i32.const $push197=, 0 - i32.load $3=, i($pop197) + i32.load $push65=, i($pop197) + i32.and $push67=, $pop66, $pop65 + i32.store $3=, k($pop199), $pop67 i32.const $push196=, 0 - i32.load $6=, j($pop196) + i32.store $drop=, res+12($pop196), $0 i32.const $push195=, 0 - i32.load $5=, j+4($pop195) + i32.store $drop=, res+8($pop195), $1 i32.const $push194=, 0 - i32.load $4=, j+8($pop194) + i32.store $drop=, res+4($pop194), $2 i32.const $push193=, 0 + i32.store $push3=, res($pop193), $3 + i32.const $push71=, 2 + i32.const $push70=, 4 + i32.const $push69=, 20 + i32.const $push68=, 8 + call verify@FUNCTION, $pop3, $2, $1, $0, $pop71, $pop70, $pop69, $pop68 i32.const $push192=, 0 - i32.load $push20=, j+12($pop192) i32.const $push191=, 0 - i32.load $push19=, i+12($pop191) - i32.mul $push24=, $pop20, $pop19 - i32.store $0=, k+12($pop193), $pop24 + i32.load $push73=, j+12($pop191) i32.const $push190=, 0 - i32.mul $push23=, $4, $1 - i32.store $1=, k+8($pop190), $pop23 + i32.load $push72=, i+12($pop190) + i32.or $push74=, $pop73, $pop72 + i32.store $0=, k+12($pop192), $pop74 i32.const $push189=, 0 - i32.mul $push22=, $5, $2 - i32.store $2=, k+4($pop189), $pop22 i32.const $push188=, 0 - i32.mul $push21=, $6, $3 - i32.store $3=, k($pop188), $pop21 + i32.load $push76=, j+8($pop188) i32.const $push187=, 0 - i32.store $6=, res+12($pop187), $0 + i32.load $push75=, i+8($pop187) + i32.or $push77=, $pop76, $pop75 + i32.store $1=, k+8($pop189), $pop77 i32.const $push186=, 0 - i32.store $drop=, res+8($pop186), $1 i32.const $push185=, 0 - i32.store $drop=, res+4($pop185), $2 + i32.load $push79=, j+4($pop185) i32.const $push184=, 0 - i32.store $push1=, res($pop184), $3 - i32.const $push28=, 1500 - i32.const $push27=, 1300 - i32.const $push26=, 3000 - i32.const $push25=, 6000 - call verify@FUNCTION, $pop1, $2, $1, $6, $pop28, $pop27, $pop26, $pop25 + i32.load $push78=, i+4($pop184) + i32.or $push80=, $pop79, $pop78 + i32.store $2=, k+4($pop186), $pop80 i32.const $push183=, 0 - i32.load $1=, i+8($pop183) i32.const $push182=, 0 - i32.load $2=, i+4($pop182) + i32.load $push82=, j($pop182) i32.const $push181=, 0 - i32.load $3=, i($pop181) + i32.load $push81=, i($pop181) + i32.or $push83=, $pop82, $pop81 + i32.store $3=, k($pop183), $pop83 i32.const $push180=, 0 - i32.load $6=, j($pop180) + i32.store $drop=, res+12($pop180), $0 i32.const $push179=, 0 - i32.load $5=, j+4($pop179) + i32.store $drop=, res+8($pop179), $1 i32.const $push178=, 0 - i32.load $4=, j+8($pop178) + i32.store $drop=, res+4($pop178), $2 i32.const $push177=, 0 + i32.store $push4=, res($pop177), $3 + i32.const $push87=, 158 + i32.const $push86=, 109 + i32.const $push85=, 150 + i32.const $push84=, 222 + call verify@FUNCTION, $pop4, $2, $1, $0, $pop87, $pop86, $pop85, $pop84 i32.const $push176=, 0 - i32.load $push29=, i+12($pop176) i32.const $push175=, 0 - i32.load $push30=, j+12($pop175) - i32.div_s $push34=, $pop29, $pop30 - i32.store $0=, k+12($pop177), $pop34 + i32.load $push89=, i+12($pop175) i32.const $push174=, 0 - i32.div_s $push33=, $1, $4 - i32.store $1=, k+8($pop174), $pop33 + i32.load $push88=, j+12($pop174) + i32.xor $push90=, $pop89, $pop88 + i32.store $0=, k+12($pop176), $pop90 i32.const $push173=, 0 - i32.div_s $push32=, $2, $5 - i32.store $2=, k+4($pop173), $pop32 i32.const $push172=, 0 - i32.div_s $push31=, $3, $6 - i32.store $3=, k($pop172), $pop31 + i32.load $push92=, i+8($pop172) i32.const $push171=, 0 - i32.store $6=, res+12($pop171), $0 + i32.load $push91=, j+8($pop171) + i32.xor $push93=, $pop92, $pop91 + i32.store $1=, k+8($pop173), $pop93 i32.const $push170=, 0 - i32.store $drop=, res+8($pop170), $1 i32.const $push169=, 0 - i32.store $drop=, res+4($pop169), $2 + i32.load $push95=, i+4($pop169) i32.const $push168=, 0 - i32.store $push2=, res($pop168), $3 - i32.const $push37=, 15 - i32.const $push36=, 7 - i32.const $push167=, 7 - i32.const $push35=, 6 - call verify@FUNCTION, $pop2, $2, $1, $6, $pop37, $pop36, $pop167, $pop35 + i32.load $push94=, j+4($pop168) + i32.xor $push96=, $pop95, $pop94 + i32.store $2=, k+4($pop170), $pop96 + i32.const $push167=, 0 i32.const $push166=, 0 - i32.load $1=, i+8($pop166) + i32.load $push98=, i($pop166) i32.const $push165=, 0 - i32.load $2=, i+4($pop165) + i32.load $push97=, j($pop165) + i32.xor $push99=, $pop98, $pop97 + i32.store $3=, k($pop167), $pop99 i32.const $push164=, 0 - i32.load $3=, i($pop164) + i32.store $drop=, res+12($pop164), $0 i32.const $push163=, 0 - i32.load $6=, j($pop163) + i32.store $drop=, res+8($pop163), $1 i32.const $push162=, 0 - i32.load $5=, j+4($pop162) + i32.store $drop=, res+4($pop162), $2 i32.const $push161=, 0 - i32.load $4=, j+8($pop161) + i32.store $push5=, res($pop161), $3 + i32.const $push103=, 156 + i32.const $push102=, 105 + i32.const $push101=, 130 + i32.const $push100=, 214 + call verify@FUNCTION, $pop5, $2, $1, $0, $pop103, $pop102, $pop101, $pop100 i32.const $push160=, 0 i32.const $push159=, 0 - i32.load $push39=, j+12($pop159) i32.const $push158=, 0 - i32.load $push38=, i+12($pop158) - i32.and $push43=, $pop39, $pop38 - i32.store $0=, k+12($pop160), $pop43 + i32.load $push104=, i+12($pop158) + i32.sub $push105=, $pop159, $pop104 + i32.store $0=, k+12($pop160), $pop105 i32.const $push157=, 0 - i32.and $push42=, $4, $1 - i32.store $1=, k+8($pop157), $pop42 i32.const $push156=, 0 - i32.and $push41=, $5, $2 - i32.store $2=, k+4($pop156), $pop41 i32.const $push155=, 0 - i32.and $push40=, $6, $3 - i32.store $3=, k($pop155), $pop40 + i32.load $push106=, i+8($pop155) + i32.sub $push107=, $pop156, $pop106 + i32.store $1=, k+8($pop157), $pop107 i32.const $push154=, 0 - i32.store $6=, res+12($pop154), $0 i32.const $push153=, 0 - i32.store $drop=, res+8($pop153), $1 i32.const $push152=, 0 - i32.store $drop=, res+4($pop152), $2 + i32.load $push108=, i+4($pop152) + i32.sub $push109=, $pop153, $pop108 + i32.store $2=, k+4($pop154), $pop109 i32.const $push151=, 0 - i32.store $push3=, res($pop151), $3 - i32.const $push47=, 2 - i32.const $push46=, 4 - i32.const $push45=, 20 - i32.const $push44=, 8 - call verify@FUNCTION, $pop3, $2, $1, $6, $pop47, $pop46, $pop45, $pop44 i32.const $push150=, 0 - i32.load $1=, i+8($pop150) i32.const $push149=, 0 - i32.load $2=, i+4($pop149) + i32.load $push110=, i($pop149) + i32.sub $push111=, $pop150, $pop110 + i32.store $3=, k($pop151), $pop111 i32.const $push148=, 0 - i32.load $3=, i($pop148) + i32.store $drop=, res+12($pop148), $0 i32.const $push147=, 0 - i32.load $6=, j($pop147) + i32.store $drop=, res+8($pop147), $1 i32.const $push146=, 0 - i32.load $5=, j+4($pop146) + i32.store $drop=, res+4($pop146), $2 i32.const $push145=, 0 - i32.load $4=, j+8($pop145) - i32.const $push144=, 0 + i32.store $push6=, res($pop145), $3 + i32.const $push114=, -150 + i32.const $push113=, -100 + i32.const $push144=, -150 + i32.const $push112=, -200 + call verify@FUNCTION, $pop6, $2, $1, $0, $pop114, $pop113, $pop144, $pop112 i32.const $push143=, 0 - i32.load $push49=, j+12($pop143) i32.const $push142=, 0 - i32.load $push48=, i+12($pop142) - i32.or $push53=, $pop49, $pop48 - i32.store $0=, k+12($pop144), $pop53 + i32.load $push115=, i+12($pop142) + i32.const $push116=, -1 + i32.xor $push117=, $pop115, $pop116 + i32.store $0=, k+12($pop143), $pop117 i32.const $push141=, 0 - i32.or $push52=, $4, $1 - i32.store $1=, k+8($pop141), $pop52 i32.const $push140=, 0 - i32.or $push51=, $5, $2 - i32.store $2=, k+4($pop140), $pop51 - i32.const $push139=, 0 - i32.or $push50=, $6, $3 - i32.store $3=, k($pop139), $pop50 + i32.load $push118=, i+8($pop140) + i32.const $push139=, -1 + i32.xor $push119=, $pop118, $pop139 + i32.store $1=, k+8($pop141), $pop119 i32.const $push138=, 0 - i32.store $6=, res+12($pop138), $0 i32.const $push137=, 0 - i32.store $drop=, res+8($pop137), $1 - i32.const $push136=, 0 - i32.store $drop=, res+4($pop136), $2 + i32.load $push120=, i+4($pop137) + i32.const $push136=, -1 + i32.xor $push121=, $pop120, $pop136 + i32.store $2=, k+4($pop138), $pop121 i32.const $push135=, 0 - i32.store $push4=, res($pop135), $3 - i32.const $push57=, 158 - i32.const $push56=, 109 - i32.const $push55=, 150 - i32.const $push54=, 222 - call verify@FUNCTION, $pop4, $2, $1, $6, $pop57, $pop56, $pop55, $pop54 i32.const $push134=, 0 - i32.load $1=, i+8($pop134) - i32.const $push133=, 0 - i32.load $2=, i+4($pop133) + i32.load $push122=, i($pop134) + i32.const $push133=, -1 + i32.xor $push123=, $pop122, $pop133 + i32.store $3=, k($pop135), $pop123 i32.const $push132=, 0 - i32.load $3=, i($pop132) + i32.store $drop=, res+12($pop132), $0 i32.const $push131=, 0 - i32.load $6=, j($pop131) + i32.store $drop=, res+8($pop131), $1 i32.const $push130=, 0 - i32.load $5=, j+4($pop130) + i32.store $drop=, res+4($pop130), $2 i32.const $push129=, 0 - i32.load $4=, j+8($pop129) - i32.const $push128=, 0 + i32.store $push7=, res($pop129), $3 + i32.const $push126=, -151 + i32.const $push125=, -101 + i32.const $push128=, -151 + i32.const $push124=, -201 + call verify@FUNCTION, $pop7, $2, $1, $0, $pop126, $pop125, $pop128, $pop124 i32.const $push127=, 0 - i32.load $push58=, i+12($pop127) - i32.const $push126=, 0 - i32.load $push59=, j+12($pop126) - i32.xor $push63=, $pop58, $pop59 - i32.store $0=, k+12($pop128), $pop63 - i32.const $push125=, 0 - i32.xor $push62=, $1, $4 - i32.store $1=, k+8($pop125), $pop62 - i32.const $push124=, 0 - i32.xor $push61=, $2, $5 - i32.store $2=, k+4($pop124), $pop61 - i32.const $push123=, 0 - i32.xor $push60=, $3, $6 - i32.store $3=, k($pop123), $pop60 - i32.const $push122=, 0 - i32.store $6=, res+12($pop122), $0 - i32.const $push121=, 0 - i32.store $drop=, res+8($pop121), $1 - i32.const $push120=, 0 - i32.store $drop=, res+4($pop120), $2 - i32.const $push119=, 0 - i32.store $push5=, res($pop119), $3 - i32.const $push67=, 156 - i32.const $push66=, 105 - i32.const $push65=, 130 - i32.const $push64=, 214 - call verify@FUNCTION, $pop5, $2, $1, $6, $pop67, $pop66, $pop65, $pop64 - i32.const $push118=, 0 - i32.load $1=, i($pop118) - i32.const $push117=, 0 - i32.load $2=, i+4($pop117) - i32.const $push116=, 0 - i32.load $3=, i+8($pop116) - i32.const $push115=, 0 - i32.const $push114=, 0 - i32.const $push113=, 0 - i32.load $push68=, i+12($pop113) - i32.sub $push72=, $pop114, $pop68 - i32.store $6=, k+12($pop115), $pop72 - i32.const $push112=, 0 - i32.const $push111=, 0 - i32.sub $push71=, $pop111, $3 - i32.store $3=, k+8($pop112), $pop71 - i32.const $push110=, 0 - i32.const $push109=, 0 - i32.sub $push70=, $pop109, $2 - i32.store $2=, k+4($pop110), $pop70 - i32.const $push108=, 0 - i32.const $push107=, 0 - i32.sub $push69=, $pop107, $1 - i32.store $1=, k($pop108), $pop69 - i32.const $push106=, 0 - i32.store $drop=, res+12($pop106), $6 - i32.const $push105=, 0 - i32.store $drop=, res+8($pop105), $3 - i32.const $push104=, 0 - i32.store $drop=, res+4($pop104), $2 - i32.const $push103=, 0 - i32.store $push6=, res($pop103), $1 - i32.const $push75=, -150 - i32.const $push74=, -100 - i32.const $push102=, -150 - i32.const $push73=, -200 - call verify@FUNCTION, $pop6, $2, $3, $6, $pop75, $pop74, $pop102, $pop73 - i32.const $push101=, 0 - i32.load $1=, i($pop101) - i32.const $push100=, 0 - i32.load $2=, i+4($pop100) - i32.const $push99=, 0 - i32.load $3=, i+8($pop99) - i32.const $push98=, 0 - i32.const $push97=, 0 - i32.load $push76=, i+12($pop97) - i32.const $push77=, -1 - i32.xor $push81=, $pop76, $pop77 - i32.store $6=, k+12($pop98), $pop81 - i32.const $push96=, 0 - i32.const $push95=, -1 - i32.xor $push80=, $3, $pop95 - i32.store $3=, k+8($pop96), $pop80 - i32.const $push94=, 0 - i32.const $push93=, -1 - i32.xor $push79=, $2, $pop93 - i32.store $2=, k+4($pop94), $pop79 - i32.const $push92=, 0 - i32.const $push91=, -1 - i32.xor $push78=, $1, $pop91 - i32.store $1=, k($pop92), $pop78 - i32.const $push90=, 0 - i32.store $drop=, res+12($pop90), $6 - i32.const $push89=, 0 - i32.store $drop=, res+8($pop89), $3 - i32.const $push88=, 0 - i32.store $drop=, res+4($pop88), $2 - i32.const $push87=, 0 - i32.store $push7=, res($pop87), $1 - i32.const $push84=, -151 - i32.const $push83=, -101 - i32.const $push86=, -151 - i32.const $push82=, -201 - call verify@FUNCTION, $pop7, $2, $3, $6, $pop84, $pop83, $pop86, $pop82 - i32.const $push85=, 0 - call exit@FUNCTION, $pop85 + call exit@FUNCTION, $pop127 unreachable .endfunc .Lfunc_end1: diff --git a/test/torture-s/simd-2.c.s b/test/torture-s/simd-2.c.s index 60cccd050..27280cde4 100644 --- a/test/torture-s/simd-2.c.s +++ b/test/torture-s/simd-2.c.s @@ -35,739 +35,738 @@ verify: # @verify .type main,@function main: # @main .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push33=, 0 - i32.load16_u $0=, i+6($pop33) - i32.const $push529=, 0 - i32.load16_u $4=, i+4($pop529) - i32.const $push528=, 0 - i32.load16_u $5=, i+2($pop528) - i32.const $push527=, 0 - i32.load16_u $6=, i($pop527) - i32.const $push526=, 0 - i32.load16_u $13=, j($pop526) - i32.const $push525=, 0 - i32.load16_u $12=, j+2($pop525) - i32.const $push524=, 0 - i32.load16_u $11=, j+4($pop524) - i32.const $push523=, 0 - i32.load16_u $10=, j+6($pop523) + i32.const $push8=, 0 + i32.const $push600=, 0 + i32.load16_u $push10=, j+14($pop600) + i32.const $push599=, 0 + i32.load16_u $push9=, i+14($pop599) + i32.add $push11=, $pop10, $pop9 + i32.store16 $0=, k+14($pop8), $pop11 + i32.const $push598=, 0 + i32.const $push597=, 0 + i32.load16_u $push13=, j+12($pop597) + i32.const $push596=, 0 + i32.load16_u $push12=, i+12($pop596) + i32.add $push14=, $pop13, $pop12 + i32.store16 $1=, k+12($pop598), $pop14 + i32.const $push595=, 0 + i32.const $push594=, 0 + i32.load16_u $push16=, j+10($pop594) + i32.const $push593=, 0 + i32.load16_u $push15=, i+10($pop593) + i32.add $push17=, $pop16, $pop15 + i32.store16 $2=, k+10($pop595), $pop17 + i32.const $push592=, 0 + i32.const $push591=, 0 + i32.load16_u $push19=, j+8($pop591) + i32.const $push590=, 0 + i32.load16_u $push18=, i+8($pop590) + i32.add $push20=, $pop19, $pop18 + i32.store16 $3=, k+8($pop592), $pop20 + i32.const $push589=, 0 + i32.const $push588=, 0 + i32.load16_u $push22=, j+6($pop588) + i32.const $push587=, 0 + i32.load16_u $push21=, i+6($pop587) + i32.add $push23=, $pop22, $pop21 + i32.store16 $4=, k+6($pop589), $pop23 + i32.const $push586=, 0 + i32.const $push585=, 0 + i32.load16_u $push25=, j+4($pop585) + i32.const $push584=, 0 + i32.load16_u $push24=, i+4($pop584) + i32.add $push26=, $pop25, $pop24 + i32.store16 $5=, k+4($pop586), $pop26 + i32.const $push583=, 0 + i32.const $push582=, 0 + i32.load16_u $push28=, j+2($pop582) + i32.const $push581=, 0 + i32.load16_u $push27=, i+2($pop581) + i32.add $push29=, $pop28, $pop27 + i32.store16 $6=, k+2($pop583), $pop29 + i32.const $push580=, 0 + i32.const $push579=, 0 + i32.load16_u $push31=, j($pop579) + i32.const $push578=, 0 + i32.load16_u $push30=, i($pop578) + i32.add $push32=, $pop31, $pop30 + i32.store16 $7=, k($pop580), $pop32 + i32.const $push577=, 0 + i32.store16 $drop=, res+14($pop577), $0 + i32.const $push576=, 0 + i32.store16 $drop=, res+12($pop576), $1 + i32.const $push575=, 0 + i32.store16 $drop=, res+10($pop575), $2 + i32.const $push574=, 0 + i32.store16 $drop=, res+8($pop574), $3 + i32.const $push573=, 0 + i32.store16 $0=, res+6($pop573), $4 + i32.const $push572=, 0 + i32.store16 $1=, res+4($pop572), $5 + i32.const $push571=, 0 + i32.store16 $2=, res+2($pop571), $6 + i32.const $push570=, 0 + i32.store16 $push0=, res($pop570), $7 + i32.const $push33=, 16 + i32.shl $push40=, $pop0, $pop33 + i32.const $push569=, 16 + i32.shr_s $push41=, $pop40, $pop569 + i32.const $push568=, 16 + i32.shl $push38=, $2, $pop568 + i32.const $push567=, 16 + i32.shr_s $push39=, $pop38, $pop567 + i32.const $push566=, 16 + i32.shl $push36=, $1, $pop566 + i32.const $push565=, 16 + i32.shr_s $push37=, $pop36, $pop565 + i32.const $push564=, 16 + i32.shl $push34=, $0, $pop564 + i32.const $push563=, 16 + i32.shr_s $push35=, $pop34, $pop563 + i32.const $push45=, 160 + i32.const $push44=, 113 + i32.const $push43=, 170 + i32.const $push42=, 230 + call verify@FUNCTION, $pop41, $pop39, $pop37, $pop35, $pop45, $pop44, $pop43, $pop42 + i32.const $push562=, 0 + i32.const $push561=, 0 + i32.load16_u $push47=, j+14($pop561) + i32.const $push560=, 0 + i32.load16_u $push46=, i+14($pop560) + i32.mul $push48=, $pop47, $pop46 + i32.store16 $0=, k+14($pop562), $pop48 + i32.const $push559=, 0 + i32.const $push558=, 0 + i32.load16_u $push50=, j+12($pop558) + i32.const $push557=, 0 + i32.load16_u $push49=, i+12($pop557) + i32.mul $push51=, $pop50, $pop49 + i32.store16 $1=, k+12($pop559), $pop51 + i32.const $push556=, 0 + i32.const $push555=, 0 + i32.load16_u $push53=, j+10($pop555) + i32.const $push554=, 0 + i32.load16_u $push52=, i+10($pop554) + i32.mul $push54=, $pop53, $pop52 + i32.store16 $2=, k+10($pop556), $pop54 + i32.const $push553=, 0 + i32.const $push552=, 0 + i32.load16_u $push56=, j+8($pop552) + i32.const $push551=, 0 + i32.load16_u $push55=, i+8($pop551) + i32.mul $push57=, $pop56, $pop55 + i32.store16 $3=, k+8($pop553), $pop57 + i32.const $push550=, 0 + i32.const $push549=, 0 + i32.load16_u $push59=, j+6($pop549) + i32.const $push548=, 0 + i32.load16_u $push58=, i+6($pop548) + i32.mul $push60=, $pop59, $pop58 + i32.store16 $4=, k+6($pop550), $pop60 + i32.const $push547=, 0 + i32.const $push546=, 0 + i32.load16_u $push62=, j+4($pop546) + i32.const $push545=, 0 + i32.load16_u $push61=, i+4($pop545) + i32.mul $push63=, $pop62, $pop61 + i32.store16 $5=, k+4($pop547), $pop63 + i32.const $push544=, 0 + i32.const $push543=, 0 + i32.load16_u $push65=, j+2($pop543) + i32.const $push542=, 0 + i32.load16_u $push64=, i+2($pop542) + i32.mul $push66=, $pop65, $pop64 + i32.store16 $6=, k+2($pop544), $pop66 + i32.const $push541=, 0 + i32.const $push540=, 0 + i32.load16_u $push68=, j($pop540) + i32.const $push539=, 0 + i32.load16_u $push67=, i($pop539) + i32.mul $push69=, $pop68, $pop67 + i32.store16 $7=, k($pop541), $pop69 + i32.const $push538=, 0 + i32.store16 $drop=, res+14($pop538), $0 + i32.const $push537=, 0 + i32.store16 $drop=, res+12($pop537), $1 + i32.const $push536=, 0 + i32.store16 $drop=, res+10($pop536), $2 + i32.const $push535=, 0 + i32.store16 $drop=, res+8($pop535), $3 + i32.const $push534=, 0 + i32.store16 $0=, res+6($pop534), $4 + i32.const $push533=, 0 + i32.store16 $1=, res+4($pop533), $5 + i32.const $push532=, 0 + i32.store16 $2=, res+2($pop532), $6 + i32.const $push531=, 0 + i32.store16 $push1=, res($pop531), $7 + i32.const $push530=, 16 + i32.shl $push76=, $pop1, $pop530 + i32.const $push529=, 16 + i32.shr_s $push77=, $pop76, $pop529 + i32.const $push528=, 16 + i32.shl $push74=, $2, $pop528 + i32.const $push527=, 16 + i32.shr_s $push75=, $pop74, $pop527 + i32.const $push526=, 16 + i32.shl $push72=, $1, $pop526 + i32.const $push525=, 16 + i32.shr_s $push73=, $pop72, $pop525 + i32.const $push524=, 16 + i32.shl $push70=, $0, $pop524 + i32.const $push523=, 16 + i32.shr_s $push71=, $pop70, $pop523 + i32.const $push81=, 1500 + i32.const $push80=, 1300 + i32.const $push79=, 3000 + i32.const $push78=, 6000 + call verify@FUNCTION, $pop77, $pop75, $pop73, $pop71, $pop81, $pop80, $pop79, $pop78 i32.const $push522=, 0 - i32.load16_u $1=, i+12($pop522) i32.const $push521=, 0 - i32.load16_u $2=, i+10($pop521) + i32.load16_s $push83=, i+14($pop521) i32.const $push520=, 0 - i32.load16_u $3=, i+8($pop520) + i32.load16_s $push82=, j+14($pop520) + i32.div_s $push84=, $pop83, $pop82 + i32.store16 $0=, k+14($pop522), $pop84 i32.const $push519=, 0 - i32.load16_u $9=, j+8($pop519) i32.const $push518=, 0 - i32.load16_u $8=, j+10($pop518) + i32.load16_s $push86=, i+12($pop518) i32.const $push517=, 0 - i32.load16_u $7=, j+12($pop517) + i32.load16_s $push85=, j+12($pop517) + i32.div_s $push87=, $pop86, $pop85 + i32.store16 $1=, k+12($pop519), $pop87 i32.const $push516=, 0 i32.const $push515=, 0 + i32.load16_s $push89=, i+10($pop515) i32.const $push514=, 0 - i32.load16_u $push35=, j+14($pop514) + i32.load16_s $push88=, j+10($pop514) + i32.div_s $push90=, $pop89, $pop88 + i32.store16 $2=, k+10($pop516), $pop90 i32.const $push513=, 0 - i32.load16_u $push34=, i+14($pop513) - i32.add $push43=, $pop35, $pop34 - i32.store16 $push0=, k+14($pop515), $pop43 - i32.store16 $drop=, res+14($pop516), $pop0 i32.const $push512=, 0 + i32.load16_s $push92=, i+8($pop512) i32.const $push511=, 0 - i32.add $push42=, $7, $1 - i32.store16 $push1=, k+12($pop511), $pop42 - i32.store16 $drop=, res+12($pop512), $pop1 + i32.load16_s $push91=, j+8($pop511) + i32.div_s $push93=, $pop92, $pop91 + i32.store16 $3=, k+8($pop513), $pop93 i32.const $push510=, 0 i32.const $push509=, 0 - i32.add $push41=, $8, $2 - i32.store16 $push2=, k+10($pop509), $pop41 - i32.store16 $drop=, res+10($pop510), $pop2 + i32.load16_s $push95=, i+6($pop509) i32.const $push508=, 0 + i32.load16_s $push94=, j+6($pop508) + i32.div_s $push96=, $pop95, $pop94 + i32.store16 $4=, k+6($pop510), $pop96 i32.const $push507=, 0 - i32.add $push40=, $9, $3 - i32.store16 $push3=, k+8($pop507), $pop40 - i32.store16 $drop=, res+8($pop508), $pop3 i32.const $push506=, 0 - i32.add $push39=, $10, $0 - i32.store16 $10=, k+6($pop506), $pop39 + i32.load16_s $push98=, i+4($pop506) i32.const $push505=, 0 - i32.add $push38=, $11, $4 - i32.store16 $4=, k+4($pop505), $pop38 + i32.load16_s $push97=, j+4($pop505) + i32.div_s $push99=, $pop98, $pop97 + i32.store16 $5=, k+4($pop507), $pop99 i32.const $push504=, 0 - i32.add $push37=, $12, $5 - i32.store16 $5=, k+2($pop504), $pop37 i32.const $push503=, 0 - i32.add $push36=, $13, $6 - i32.store16 $0=, k($pop503), $pop36 + i32.load16_s $push101=, i+2($pop503) i32.const $push502=, 0 - i32.store16 $6=, res+6($pop502), $10 + i32.load16_s $push100=, j+2($pop502) + i32.div_s $push102=, $pop101, $pop100 + i32.store16 $6=, k+2($pop504), $pop102 i32.const $push501=, 0 - i32.store16 $drop=, res+4($pop501), $4 i32.const $push500=, 0 - i32.store16 $drop=, res+2($pop500), $5 + i32.load16_s $push104=, i($pop500) i32.const $push499=, 0 - i32.store16 $drop=, res($pop499), $0 - i32.const $push44=, 16 - i32.shl $push45=, $0, $pop44 - i32.const $push498=, 16 - i32.shr_s $push46=, $pop45, $pop498 - i32.const $push497=, 16 - i32.shl $push47=, $5, $pop497 - i32.const $push496=, 16 - i32.shr_s $push48=, $pop47, $pop496 - i32.const $push495=, 16 - i32.shl $push49=, $4, $pop495 - i32.const $push494=, 16 - i32.shr_s $push50=, $pop49, $pop494 - i32.const $push493=, 16 - i32.shl $push51=, $6, $pop493 - i32.const $push492=, 16 - i32.shr_s $push52=, $pop51, $pop492 - i32.const $push56=, 160 - i32.const $push55=, 113 - i32.const $push54=, 170 - i32.const $push53=, 230 - call verify@FUNCTION, $pop46, $pop48, $pop50, $pop52, $pop56, $pop55, $pop54, $pop53 + i32.load16_s $push103=, j($pop499) + i32.div_s $push105=, $pop104, $pop103 + i32.store16 $7=, k($pop501), $pop105 + i32.const $push498=, 0 + i32.store16 $drop=, res+14($pop498), $0 + i32.const $push497=, 0 + i32.store16 $drop=, res+12($pop497), $1 + i32.const $push496=, 0 + i32.store16 $drop=, res+10($pop496), $2 + i32.const $push495=, 0 + i32.store16 $drop=, res+8($pop495), $3 + i32.const $push494=, 0 + i32.store16 $0=, res+6($pop494), $4 + i32.const $push493=, 0 + i32.store16 $1=, res+4($pop493), $5 + i32.const $push492=, 0 + i32.store16 $2=, res+2($pop492), $6 i32.const $push491=, 0 - i32.load16_u $0=, i+6($pop491) - i32.const $push490=, 0 - i32.load16_u $4=, i+4($pop490) - i32.const $push489=, 0 - i32.load16_u $5=, i+2($pop489) - i32.const $push488=, 0 - i32.load16_u $6=, i($pop488) - i32.const $push487=, 0 - i32.load16_u $13=, j($pop487) - i32.const $push486=, 0 - i32.load16_u $12=, j+2($pop486) - i32.const $push485=, 0 - i32.load16_u $11=, j+4($pop485) - i32.const $push484=, 0 - i32.load16_u $10=, j+6($pop484) - i32.const $push483=, 0 - i32.load16_u $1=, i+12($pop483) - i32.const $push482=, 0 - i32.load16_u $2=, i+10($pop482) + i32.store16 $push2=, res($pop491), $7 + i32.const $push490=, 16 + i32.shl $push112=, $pop2, $pop490 + i32.const $push489=, 16 + i32.shr_s $push113=, $pop112, $pop489 + i32.const $push488=, 16 + i32.shl $push110=, $2, $pop488 + i32.const $push487=, 16 + i32.shr_s $push111=, $pop110, $pop487 + i32.const $push486=, 16 + i32.shl $push108=, $1, $pop486 + i32.const $push485=, 16 + i32.shr_s $push109=, $pop108, $pop485 + i32.const $push484=, 16 + i32.shl $push106=, $0, $pop484 + i32.const $push483=, 16 + i32.shr_s $push107=, $pop106, $pop483 + i32.const $push116=, 15 + i32.const $push115=, 7 + i32.const $push482=, 7 + i32.const $push114=, 6 + call verify@FUNCTION, $pop113, $pop111, $pop109, $pop107, $pop116, $pop115, $pop482, $pop114 i32.const $push481=, 0 - i32.load16_u $3=, i+8($pop481) i32.const $push480=, 0 - i32.load16_u $9=, j+8($pop480) + i32.load16_u $push118=, j+14($pop480) i32.const $push479=, 0 - i32.load16_u $8=, j+10($pop479) + i32.load16_u $push117=, i+14($pop479) + i32.and $push119=, $pop118, $pop117 + i32.store16 $0=, k+14($pop481), $pop119 i32.const $push478=, 0 - i32.load16_u $7=, j+12($pop478) i32.const $push477=, 0 + i32.load16_u $push121=, j+12($pop477) i32.const $push476=, 0 + i32.load16_u $push120=, i+12($pop476) + i32.and $push122=, $pop121, $pop120 + i32.store16 $1=, k+12($pop478), $pop122 i32.const $push475=, 0 - i32.load16_u $push58=, j+14($pop475) i32.const $push474=, 0 - i32.load16_u $push57=, i+14($pop474) - i32.mul $push66=, $pop58, $pop57 - i32.store16 $push4=, k+14($pop476), $pop66 - i32.store16 $drop=, res+14($pop477), $pop4 + i32.load16_u $push124=, j+10($pop474) i32.const $push473=, 0 + i32.load16_u $push123=, i+10($pop473) + i32.and $push125=, $pop124, $pop123 + i32.store16 $2=, k+10($pop475), $pop125 i32.const $push472=, 0 - i32.mul $push65=, $7, $1 - i32.store16 $push5=, k+12($pop472), $pop65 - i32.store16 $drop=, res+12($pop473), $pop5 i32.const $push471=, 0 + i32.load16_u $push127=, j+8($pop471) i32.const $push470=, 0 - i32.mul $push64=, $8, $2 - i32.store16 $push6=, k+10($pop470), $pop64 - i32.store16 $drop=, res+10($pop471), $pop6 + i32.load16_u $push126=, i+8($pop470) + i32.and $push128=, $pop127, $pop126 + i32.store16 $3=, k+8($pop472), $pop128 i32.const $push469=, 0 i32.const $push468=, 0 - i32.mul $push63=, $9, $3 - i32.store16 $push7=, k+8($pop468), $pop63 - i32.store16 $drop=, res+8($pop469), $pop7 + i32.load16_u $push130=, j+6($pop468) i32.const $push467=, 0 - i32.mul $push62=, $10, $0 - i32.store16 $10=, k+6($pop467), $pop62 + i32.load16_u $push129=, i+6($pop467) + i32.and $push131=, $pop130, $pop129 + i32.store16 $4=, k+6($pop469), $pop131 i32.const $push466=, 0 - i32.mul $push61=, $11, $4 - i32.store16 $4=, k+4($pop466), $pop61 i32.const $push465=, 0 - i32.mul $push60=, $12, $5 - i32.store16 $5=, k+2($pop465), $pop60 + i32.load16_u $push133=, j+4($pop465) i32.const $push464=, 0 - i32.mul $push59=, $13, $6 - i32.store16 $0=, k($pop464), $pop59 + i32.load16_u $push132=, i+4($pop464) + i32.and $push134=, $pop133, $pop132 + i32.store16 $5=, k+4($pop466), $pop134 i32.const $push463=, 0 - i32.store16 $6=, res+6($pop463), $10 i32.const $push462=, 0 - i32.store16 $drop=, res+4($pop462), $4 + i32.load16_u $push136=, j+2($pop462) i32.const $push461=, 0 - i32.store16 $drop=, res+2($pop461), $5 + i32.load16_u $push135=, i+2($pop461) + i32.and $push137=, $pop136, $pop135 + i32.store16 $6=, k+2($pop463), $pop137 i32.const $push460=, 0 - i32.store16 $drop=, res($pop460), $0 - i32.const $push459=, 16 - i32.shl $push67=, $0, $pop459 - i32.const $push458=, 16 - i32.shr_s $push68=, $pop67, $pop458 - i32.const $push457=, 16 - i32.shl $push69=, $5, $pop457 - i32.const $push456=, 16 - i32.shr_s $push70=, $pop69, $pop456 - i32.const $push455=, 16 - i32.shl $push71=, $4, $pop455 - i32.const $push454=, 16 - i32.shr_s $push72=, $pop71, $pop454 - i32.const $push453=, 16 - i32.shl $push73=, $6, $pop453 - i32.const $push452=, 16 - i32.shr_s $push74=, $pop73, $pop452 - i32.const $push78=, 1500 - i32.const $push77=, 1300 - i32.const $push76=, 3000 - i32.const $push75=, 6000 - call verify@FUNCTION, $pop68, $pop70, $pop72, $pop74, $pop78, $pop77, $pop76, $pop75 + i32.const $push459=, 0 + i32.load16_u $push139=, j($pop459) + i32.const $push458=, 0 + i32.load16_u $push138=, i($pop458) + i32.and $push140=, $pop139, $pop138 + i32.store16 $7=, k($pop460), $pop140 + i32.const $push457=, 0 + i32.store16 $drop=, res+14($pop457), $0 + i32.const $push456=, 0 + i32.store16 $drop=, res+12($pop456), $1 + i32.const $push455=, 0 + i32.store16 $drop=, res+10($pop455), $2 + i32.const $push454=, 0 + i32.store16 $drop=, res+8($pop454), $3 + i32.const $push453=, 0 + i32.store16 $0=, res+6($pop453), $4 + i32.const $push452=, 0 + i32.store16 $1=, res+4($pop452), $5 i32.const $push451=, 0 - i32.load16_s $0=, i+12($pop451) + i32.store16 $2=, res+2($pop451), $6 i32.const $push450=, 0 - i32.load16_s $4=, i+10($pop450) - i32.const $push449=, 0 - i32.load16_s $5=, i+8($pop449) - i32.const $push448=, 0 - i32.load16_s $6=, i+6($pop448) - i32.const $push447=, 0 - i32.load16_s $13=, i+4($pop447) - i32.const $push446=, 0 - i32.load16_s $12=, i+2($pop446) - i32.const $push445=, 0 - i32.load16_s $11=, i($pop445) - i32.const $push444=, 0 - i32.load16_s $10=, j+12($pop444) - i32.const $push443=, 0 - i32.load16_s $1=, j+10($pop443) - i32.const $push442=, 0 - i32.load16_s $2=, j+8($pop442) + i32.store16 $push3=, res($pop450), $7 + i32.const $push449=, 16 + i32.shl $push147=, $pop3, $pop449 + i32.const $push448=, 16 + i32.shr_s $push148=, $pop147, $pop448 + i32.const $push447=, 16 + i32.shl $push145=, $2, $pop447 + i32.const $push446=, 16 + i32.shr_s $push146=, $pop145, $pop446 + i32.const $push445=, 16 + i32.shl $push143=, $1, $pop445 + i32.const $push444=, 16 + i32.shr_s $push144=, $pop143, $pop444 + i32.const $push443=, 16 + i32.shl $push141=, $0, $pop443 + i32.const $push442=, 16 + i32.shr_s $push142=, $pop141, $pop442 + i32.const $push152=, 2 + i32.const $push151=, 4 + i32.const $push150=, 20 + i32.const $push149=, 8 + call verify@FUNCTION, $pop148, $pop146, $pop144, $pop142, $pop152, $pop151, $pop150, $pop149 i32.const $push441=, 0 - i32.load16_s $3=, j($pop441) i32.const $push440=, 0 - i32.load16_s $9=, j+2($pop440) + i32.load16_u $push154=, j+14($pop440) i32.const $push439=, 0 - i32.load16_s $8=, j+4($pop439) + i32.load16_u $push153=, i+14($pop439) + i32.or $push155=, $pop154, $pop153 + i32.store16 $0=, k+14($pop441), $pop155 i32.const $push438=, 0 - i32.load16_s $7=, j+6($pop438) i32.const $push437=, 0 + i32.load16_u $push157=, j+12($pop437) i32.const $push436=, 0 + i32.load16_u $push156=, i+12($pop436) + i32.or $push158=, $pop157, $pop156 + i32.store16 $1=, k+12($pop438), $pop158 i32.const $push435=, 0 - i32.load16_s $push79=, i+14($pop435) i32.const $push434=, 0 - i32.load16_s $push80=, j+14($pop434) - i32.div_s $push88=, $pop79, $pop80 - i32.store16 $push8=, k+14($pop436), $pop88 - i32.store16 $drop=, res+14($pop437), $pop8 + i32.load16_u $push160=, j+10($pop434) i32.const $push433=, 0 + i32.load16_u $push159=, i+10($pop433) + i32.or $push161=, $pop160, $pop159 + i32.store16 $2=, k+10($pop435), $pop161 i32.const $push432=, 0 - i32.div_s $push87=, $0, $10 - i32.store16 $push9=, k+12($pop432), $pop87 - i32.store16 $drop=, res+12($pop433), $pop9 i32.const $push431=, 0 + i32.load16_u $push163=, j+8($pop431) i32.const $push430=, 0 - i32.div_s $push86=, $4, $1 - i32.store16 $push10=, k+10($pop430), $pop86 - i32.store16 $drop=, res+10($pop431), $pop10 + i32.load16_u $push162=, i+8($pop430) + i32.or $push164=, $pop163, $pop162 + i32.store16 $3=, k+8($pop432), $pop164 i32.const $push429=, 0 i32.const $push428=, 0 - i32.div_s $push85=, $5, $2 - i32.store16 $push11=, k+8($pop428), $pop85 - i32.store16 $drop=, res+8($pop429), $pop11 + i32.load16_u $push166=, j+6($pop428) i32.const $push427=, 0 - i32.div_s $push84=, $6, $7 - i32.store16 $4=, k+6($pop427), $pop84 + i32.load16_u $push165=, i+6($pop427) + i32.or $push167=, $pop166, $pop165 + i32.store16 $4=, k+6($pop429), $pop167 i32.const $push426=, 0 - i32.div_s $push83=, $13, $8 - i32.store16 $5=, k+4($pop426), $pop83 i32.const $push425=, 0 - i32.div_s $push82=, $12, $9 - i32.store16 $6=, k+2($pop425), $pop82 + i32.load16_u $push169=, j+4($pop425) i32.const $push424=, 0 - i32.div_s $push81=, $11, $3 - i32.store16 $0=, k($pop424), $pop81 + i32.load16_u $push168=, i+4($pop424) + i32.or $push170=, $pop169, $pop168 + i32.store16 $5=, k+4($pop426), $pop170 i32.const $push423=, 0 - i32.store16 $drop=, res+6($pop423), $4 i32.const $push422=, 0 - i32.store16 $drop=, res+4($pop422), $5 + i32.load16_u $push172=, j+2($pop422) i32.const $push421=, 0 - i32.store16 $drop=, res+2($pop421), $6 + i32.load16_u $push171=, i+2($pop421) + i32.or $push173=, $pop172, $pop171 + i32.store16 $6=, k+2($pop423), $pop173 i32.const $push420=, 0 - i32.store16 $drop=, res($pop420), $0 - i32.const $push419=, 16 - i32.shl $push89=, $0, $pop419 - i32.const $push418=, 16 - i32.shr_s $push90=, $pop89, $pop418 - i32.const $push417=, 16 - i32.shl $push91=, $6, $pop417 - i32.const $push416=, 16 - i32.shr_s $push92=, $pop91, $pop416 - i32.const $push415=, 16 - i32.shl $push93=, $5, $pop415 - i32.const $push414=, 16 - i32.shr_s $push94=, $pop93, $pop414 - i32.const $push413=, 16 - i32.shl $push95=, $4, $pop413 - i32.const $push412=, 16 - i32.shr_s $push96=, $pop95, $pop412 - i32.const $push99=, 15 - i32.const $push98=, 7 - i32.const $push411=, 7 - i32.const $push97=, 6 - call verify@FUNCTION, $pop90, $pop92, $pop94, $pop96, $pop99, $pop98, $pop411, $pop97 + i32.const $push419=, 0 + i32.load16_u $push175=, j($pop419) + i32.const $push418=, 0 + i32.load16_u $push174=, i($pop418) + i32.or $push176=, $pop175, $pop174 + i32.store16 $7=, k($pop420), $pop176 + i32.const $push417=, 0 + i32.store16 $drop=, res+14($pop417), $0 + i32.const $push416=, 0 + i32.store16 $drop=, res+12($pop416), $1 + i32.const $push415=, 0 + i32.store16 $drop=, res+10($pop415), $2 + i32.const $push414=, 0 + i32.store16 $drop=, res+8($pop414), $3 + i32.const $push413=, 0 + i32.store16 $0=, res+6($pop413), $4 + i32.const $push412=, 0 + i32.store16 $1=, res+4($pop412), $5 + i32.const $push411=, 0 + i32.store16 $2=, res+2($pop411), $6 i32.const $push410=, 0 - i32.load16_u $0=, i+6($pop410) - i32.const $push409=, 0 - i32.load16_u $4=, i+4($pop409) - i32.const $push408=, 0 - i32.load16_u $5=, i+2($pop408) - i32.const $push407=, 0 - i32.load16_u $6=, i($pop407) - i32.const $push406=, 0 - i32.load16_u $13=, j($pop406) - i32.const $push405=, 0 - i32.load16_u $12=, j+2($pop405) - i32.const $push404=, 0 - i32.load16_u $11=, j+4($pop404) - i32.const $push403=, 0 - i32.load16_u $10=, j+6($pop403) - i32.const $push402=, 0 - i32.load16_u $1=, i+12($pop402) + i32.store16 $push4=, res($pop410), $7 + i32.const $push409=, 16 + i32.shl $push183=, $pop4, $pop409 + i32.const $push408=, 16 + i32.shr_s $push184=, $pop183, $pop408 + i32.const $push407=, 16 + i32.shl $push181=, $2, $pop407 + i32.const $push406=, 16 + i32.shr_s $push182=, $pop181, $pop406 + i32.const $push405=, 16 + i32.shl $push179=, $1, $pop405 + i32.const $push404=, 16 + i32.shr_s $push180=, $pop179, $pop404 + i32.const $push403=, 16 + i32.shl $push177=, $0, $pop403 + i32.const $push402=, 16 + i32.shr_s $push178=, $pop177, $pop402 + i32.const $push188=, 158 + i32.const $push187=, 109 + i32.const $push186=, 150 + i32.const $push185=, 222 + call verify@FUNCTION, $pop184, $pop182, $pop180, $pop178, $pop188, $pop187, $pop186, $pop185 i32.const $push401=, 0 - i32.load16_u $2=, i+10($pop401) i32.const $push400=, 0 - i32.load16_u $3=, i+8($pop400) + i32.load16_u $push190=, i+14($pop400) i32.const $push399=, 0 - i32.load16_u $9=, j+8($pop399) + i32.load16_u $push189=, j+14($pop399) + i32.xor $push191=, $pop190, $pop189 + i32.store16 $0=, k+14($pop401), $pop191 i32.const $push398=, 0 - i32.load16_u $8=, j+10($pop398) i32.const $push397=, 0 - i32.load16_u $7=, j+12($pop397) + i32.load16_u $push193=, i+12($pop397) i32.const $push396=, 0 + i32.load16_u $push192=, j+12($pop396) + i32.xor $push194=, $pop193, $pop192 + i32.store16 $1=, k+12($pop398), $pop194 i32.const $push395=, 0 i32.const $push394=, 0 - i32.load16_u $push101=, j+14($pop394) + i32.load16_u $push196=, i+10($pop394) i32.const $push393=, 0 - i32.load16_u $push100=, i+14($pop393) - i32.and $push109=, $pop101, $pop100 - i32.store16 $push12=, k+14($pop395), $pop109 - i32.store16 $drop=, res+14($pop396), $pop12 + i32.load16_u $push195=, j+10($pop393) + i32.xor $push197=, $pop196, $pop195 + i32.store16 $2=, k+10($pop395), $pop197 i32.const $push392=, 0 i32.const $push391=, 0 - i32.and $push108=, $7, $1 - i32.store16 $push13=, k+12($pop391), $pop108 - i32.store16 $drop=, res+12($pop392), $pop13 + i32.load16_u $push199=, i+8($pop391) i32.const $push390=, 0 + i32.load16_u $push198=, j+8($pop390) + i32.xor $push200=, $pop199, $pop198 + i32.store16 $3=, k+8($pop392), $pop200 i32.const $push389=, 0 - i32.and $push107=, $8, $2 - i32.store16 $push14=, k+10($pop389), $pop107 - i32.store16 $drop=, res+10($pop390), $pop14 i32.const $push388=, 0 + i32.load16_u $push202=, i+6($pop388) i32.const $push387=, 0 - i32.and $push106=, $9, $3 - i32.store16 $push15=, k+8($pop387), $pop106 - i32.store16 $drop=, res+8($pop388), $pop15 + i32.load16_u $push201=, j+6($pop387) + i32.xor $push203=, $pop202, $pop201 + i32.store16 $4=, k+6($pop389), $pop203 i32.const $push386=, 0 - i32.and $push105=, $10, $0 - i32.store16 $10=, k+6($pop386), $pop105 i32.const $push385=, 0 - i32.and $push104=, $11, $4 - i32.store16 $4=, k+4($pop385), $pop104 + i32.load16_u $push205=, i+4($pop385) i32.const $push384=, 0 - i32.and $push103=, $12, $5 - i32.store16 $5=, k+2($pop384), $pop103 + i32.load16_u $push204=, j+4($pop384) + i32.xor $push206=, $pop205, $pop204 + i32.store16 $5=, k+4($pop386), $pop206 i32.const $push383=, 0 - i32.and $push102=, $13, $6 - i32.store16 $0=, k($pop383), $pop102 i32.const $push382=, 0 - i32.store16 $6=, res+6($pop382), $10 + i32.load16_u $push208=, i+2($pop382) i32.const $push381=, 0 - i32.store16 $drop=, res+4($pop381), $4 + i32.load16_u $push207=, j+2($pop381) + i32.xor $push209=, $pop208, $pop207 + i32.store16 $6=, k+2($pop383), $pop209 i32.const $push380=, 0 - i32.store16 $drop=, res+2($pop380), $5 i32.const $push379=, 0 - i32.store16 $drop=, res($pop379), $0 - i32.const $push378=, 16 - i32.shl $push110=, $0, $pop378 - i32.const $push377=, 16 - i32.shr_s $push111=, $pop110, $pop377 - i32.const $push376=, 16 - i32.shl $push112=, $5, $pop376 - i32.const $push375=, 16 - i32.shr_s $push113=, $pop112, $pop375 - i32.const $push374=, 16 - i32.shl $push114=, $4, $pop374 - i32.const $push373=, 16 - i32.shr_s $push115=, $pop114, $pop373 - i32.const $push372=, 16 - i32.shl $push116=, $6, $pop372 - i32.const $push371=, 16 - i32.shr_s $push117=, $pop116, $pop371 - i32.const $push121=, 2 - i32.const $push120=, 4 - i32.const $push119=, 20 - i32.const $push118=, 8 - call verify@FUNCTION, $pop111, $pop113, $pop115, $pop117, $pop121, $pop120, $pop119, $pop118 + i32.load16_u $push211=, i($pop379) + i32.const $push378=, 0 + i32.load16_u $push210=, j($pop378) + i32.xor $push212=, $pop211, $pop210 + i32.store16 $7=, k($pop380), $pop212 + i32.const $push377=, 0 + i32.store16 $drop=, res+14($pop377), $0 + i32.const $push376=, 0 + i32.store16 $drop=, res+12($pop376), $1 + i32.const $push375=, 0 + i32.store16 $drop=, res+10($pop375), $2 + i32.const $push374=, 0 + i32.store16 $drop=, res+8($pop374), $3 + i32.const $push373=, 0 + i32.store16 $0=, res+6($pop373), $4 + i32.const $push372=, 0 + i32.store16 $1=, res+4($pop372), $5 + i32.const $push371=, 0 + i32.store16 $2=, res+2($pop371), $6 i32.const $push370=, 0 - i32.load16_u $0=, i+6($pop370) - i32.const $push369=, 0 - i32.load16_u $4=, i+4($pop369) - i32.const $push368=, 0 - i32.load16_u $5=, i+2($pop368) - i32.const $push367=, 0 - i32.load16_u $6=, i($pop367) - i32.const $push366=, 0 - i32.load16_u $13=, j($pop366) - i32.const $push365=, 0 - i32.load16_u $12=, j+2($pop365) - i32.const $push364=, 0 - i32.load16_u $11=, j+4($pop364) - i32.const $push363=, 0 - i32.load16_u $10=, j+6($pop363) - i32.const $push362=, 0 - i32.load16_u $1=, i+12($pop362) + i32.store16 $push5=, res($pop370), $7 + i32.const $push369=, 16 + i32.shl $push219=, $pop5, $pop369 + i32.const $push368=, 16 + i32.shr_s $push220=, $pop219, $pop368 + i32.const $push367=, 16 + i32.shl $push217=, $2, $pop367 + i32.const $push366=, 16 + i32.shr_s $push218=, $pop217, $pop366 + i32.const $push365=, 16 + i32.shl $push215=, $1, $pop365 + i32.const $push364=, 16 + i32.shr_s $push216=, $pop215, $pop364 + i32.const $push363=, 16 + i32.shl $push213=, $0, $pop363 + i32.const $push362=, 16 + i32.shr_s $push214=, $pop213, $pop362 + i32.const $push224=, 156 + i32.const $push223=, 105 + i32.const $push222=, 130 + i32.const $push221=, 214 + call verify@FUNCTION, $pop220, $pop218, $pop216, $pop214, $pop224, $pop223, $pop222, $pop221 i32.const $push361=, 0 - i32.load16_u $2=, i+10($pop361) i32.const $push360=, 0 - i32.load16_u $3=, i+8($pop360) i32.const $push359=, 0 - i32.load16_u $9=, j+8($pop359) + i32.load16_u $push225=, i+14($pop359) + i32.sub $push226=, $pop360, $pop225 + i32.store16 $0=, k+14($pop361), $pop226 i32.const $push358=, 0 - i32.load16_u $8=, j+10($pop358) i32.const $push357=, 0 - i32.load16_u $7=, j+12($pop357) i32.const $push356=, 0 + i32.load16_u $push227=, i+12($pop356) + i32.sub $push228=, $pop357, $pop227 + i32.store16 $1=, k+12($pop358), $pop228 i32.const $push355=, 0 i32.const $push354=, 0 - i32.load16_u $push123=, j+14($pop354) i32.const $push353=, 0 - i32.load16_u $push122=, i+14($pop353) - i32.or $push131=, $pop123, $pop122 - i32.store16 $push16=, k+14($pop355), $pop131 - i32.store16 $drop=, res+14($pop356), $pop16 + i32.load16_u $push229=, i+10($pop353) + i32.sub $push230=, $pop354, $pop229 + i32.store16 $2=, k+10($pop355), $pop230 i32.const $push352=, 0 i32.const $push351=, 0 - i32.or $push130=, $7, $1 - i32.store16 $push17=, k+12($pop351), $pop130 - i32.store16 $drop=, res+12($pop352), $pop17 i32.const $push350=, 0 + i32.load16_u $push231=, i+8($pop350) + i32.sub $push232=, $pop351, $pop231 + i32.store16 $3=, k+8($pop352), $pop232 i32.const $push349=, 0 - i32.or $push129=, $8, $2 - i32.store16 $push18=, k+10($pop349), $pop129 - i32.store16 $drop=, res+10($pop350), $pop18 i32.const $push348=, 0 i32.const $push347=, 0 - i32.or $push128=, $9, $3 - i32.store16 $push19=, k+8($pop347), $pop128 - i32.store16 $drop=, res+8($pop348), $pop19 + i32.load16_u $push233=, i+6($pop347) + i32.sub $push234=, $pop348, $pop233 + i32.store16 $4=, k+6($pop349), $pop234 i32.const $push346=, 0 - i32.or $push127=, $10, $0 - i32.store16 $10=, k+6($pop346), $pop127 i32.const $push345=, 0 - i32.or $push126=, $11, $4 - i32.store16 $4=, k+4($pop345), $pop126 i32.const $push344=, 0 - i32.or $push125=, $12, $5 - i32.store16 $5=, k+2($pop344), $pop125 + i32.load16_u $push235=, i+4($pop344) + i32.sub $push236=, $pop345, $pop235 + i32.store16 $5=, k+4($pop346), $pop236 i32.const $push343=, 0 - i32.or $push124=, $13, $6 - i32.store16 $0=, k($pop343), $pop124 i32.const $push342=, 0 - i32.store16 $6=, res+6($pop342), $10 i32.const $push341=, 0 - i32.store16 $drop=, res+4($pop341), $4 + i32.load16_u $push237=, i+2($pop341) + i32.sub $push238=, $pop342, $pop237 + i32.store16 $6=, k+2($pop343), $pop238 i32.const $push340=, 0 - i32.store16 $drop=, res+2($pop340), $5 i32.const $push339=, 0 - i32.store16 $drop=, res($pop339), $0 - i32.const $push338=, 16 - i32.shl $push132=, $0, $pop338 - i32.const $push337=, 16 - i32.shr_s $push133=, $pop132, $pop337 - i32.const $push336=, 16 - i32.shl $push134=, $5, $pop336 - i32.const $push335=, 16 - i32.shr_s $push135=, $pop134, $pop335 - i32.const $push334=, 16 - i32.shl $push136=, $4, $pop334 - i32.const $push333=, 16 - i32.shr_s $push137=, $pop136, $pop333 - i32.const $push332=, 16 - i32.shl $push138=, $6, $pop332 - i32.const $push331=, 16 - i32.shr_s $push139=, $pop138, $pop331 - i32.const $push143=, 158 - i32.const $push142=, 109 - i32.const $push141=, 150 - i32.const $push140=, 222 - call verify@FUNCTION, $pop133, $pop135, $pop137, $pop139, $pop143, $pop142, $pop141, $pop140 + i32.const $push338=, 0 + i32.load16_u $push239=, i($pop338) + i32.sub $push240=, $pop339, $pop239 + i32.store16 $7=, k($pop340), $pop240 + i32.const $push337=, 0 + i32.store16 $drop=, res+14($pop337), $0 + i32.const $push336=, 0 + i32.store16 $drop=, res+12($pop336), $1 + i32.const $push335=, 0 + i32.store16 $drop=, res+10($pop335), $2 + i32.const $push334=, 0 + i32.store16 $drop=, res+8($pop334), $3 + i32.const $push333=, 0 + i32.store16 $0=, res+6($pop333), $4 + i32.const $push332=, 0 + i32.store16 $1=, res+4($pop332), $5 + i32.const $push331=, 0 + i32.store16 $2=, res+2($pop331), $6 i32.const $push330=, 0 - i32.load16_u $0=, i+6($pop330) - i32.const $push329=, 0 - i32.load16_u $4=, i+4($pop329) - i32.const $push328=, 0 - i32.load16_u $5=, i+2($pop328) - i32.const $push327=, 0 - i32.load16_u $6=, i($pop327) - i32.const $push326=, 0 - i32.load16_u $13=, j($pop326) - i32.const $push325=, 0 - i32.load16_u $12=, j+2($pop325) - i32.const $push324=, 0 - i32.load16_u $11=, j+4($pop324) - i32.const $push323=, 0 - i32.load16_u $10=, j+6($pop323) - i32.const $push322=, 0 - i32.load16_u $1=, i+12($pop322) - i32.const $push321=, 0 - i32.load16_u $2=, i+10($pop321) + i32.store16 $push6=, res($pop330), $7 + i32.const $push329=, 16 + i32.shl $push247=, $pop6, $pop329 + i32.const $push328=, 16 + i32.shr_s $push248=, $pop247, $pop328 + i32.const $push327=, 16 + i32.shl $push245=, $2, $pop327 + i32.const $push326=, 16 + i32.shr_s $push246=, $pop245, $pop326 + i32.const $push325=, 16 + i32.shl $push243=, $1, $pop325 + i32.const $push324=, 16 + i32.shr_s $push244=, $pop243, $pop324 + i32.const $push323=, 16 + i32.shl $push241=, $0, $pop323 + i32.const $push322=, 16 + i32.shr_s $push242=, $pop241, $pop322 + i32.const $push251=, -150 + i32.const $push250=, -100 + i32.const $push321=, -150 + i32.const $push249=, -200 + call verify@FUNCTION, $pop248, $pop246, $pop244, $pop242, $pop251, $pop250, $pop321, $pop249 i32.const $push320=, 0 - i32.load16_u $3=, i+8($pop320) i32.const $push319=, 0 - i32.load16_u $9=, j+8($pop319) + i32.load16_u $push252=, i+14($pop319) + i32.const $push253=, -1 + i32.xor $push254=, $pop252, $pop253 + i32.store16 $0=, k+14($pop320), $pop254 i32.const $push318=, 0 - i32.load16_u $8=, j+10($pop318) i32.const $push317=, 0 - i32.load16_u $7=, j+12($pop317) - i32.const $push316=, 0 + i32.load16_u $push255=, i+12($pop317) + i32.const $push316=, -1 + i32.xor $push256=, $pop255, $pop316 + i32.store16 $1=, k+12($pop318), $pop256 i32.const $push315=, 0 i32.const $push314=, 0 - i32.load16_u $push144=, i+14($pop314) - i32.const $push313=, 0 - i32.load16_u $push145=, j+14($pop313) - i32.xor $push153=, $pop144, $pop145 - i32.store16 $push20=, k+14($pop315), $pop153 - i32.store16 $drop=, res+14($pop316), $pop20 + i32.load16_u $push257=, i+10($pop314) + i32.const $push313=, -1 + i32.xor $push258=, $pop257, $pop313 + i32.store16 $2=, k+10($pop315), $pop258 i32.const $push312=, 0 i32.const $push311=, 0 - i32.xor $push152=, $1, $7 - i32.store16 $push21=, k+12($pop311), $pop152 - i32.store16 $drop=, res+12($pop312), $pop21 - i32.const $push310=, 0 + i32.load16_u $push259=, i+8($pop311) + i32.const $push310=, -1 + i32.xor $push260=, $pop259, $pop310 + i32.store16 $3=, k+8($pop312), $pop260 i32.const $push309=, 0 - i32.xor $push151=, $2, $8 - i32.store16 $push22=, k+10($pop309), $pop151 - i32.store16 $drop=, res+10($pop310), $pop22 i32.const $push308=, 0 - i32.const $push307=, 0 - i32.xor $push150=, $3, $9 - i32.store16 $push23=, k+8($pop307), $pop150 - i32.store16 $drop=, res+8($pop308), $pop23 + i32.load16_u $push261=, i+6($pop308) + i32.const $push307=, -1 + i32.xor $push262=, $pop261, $pop307 + i32.store16 $4=, k+6($pop309), $pop262 i32.const $push306=, 0 - i32.xor $push149=, $0, $10 - i32.store16 $10=, k+6($pop306), $pop149 i32.const $push305=, 0 - i32.xor $push148=, $4, $11 - i32.store16 $4=, k+4($pop305), $pop148 - i32.const $push304=, 0 - i32.xor $push147=, $5, $12 - i32.store16 $5=, k+2($pop304), $pop147 + i32.load16_u $push263=, i+4($pop305) + i32.const $push304=, -1 + i32.xor $push264=, $pop263, $pop304 + i32.store16 $5=, k+4($pop306), $pop264 i32.const $push303=, 0 - i32.xor $push146=, $6, $13 - i32.store16 $0=, k($pop303), $pop146 i32.const $push302=, 0 - i32.store16 $6=, res+6($pop302), $10 - i32.const $push301=, 0 - i32.store16 $drop=, res+4($pop301), $4 + i32.load16_u $push265=, i+2($pop302) + i32.const $push301=, -1 + i32.xor $push266=, $pop265, $pop301 + i32.store16 $6=, k+2($pop303), $pop266 i32.const $push300=, 0 - i32.store16 $drop=, res+2($pop300), $5 i32.const $push299=, 0 - i32.store16 $drop=, res($pop299), $0 - i32.const $push298=, 16 - i32.shl $push154=, $0, $pop298 - i32.const $push297=, 16 - i32.shr_s $push155=, $pop154, $pop297 - i32.const $push296=, 16 - i32.shl $push156=, $5, $pop296 - i32.const $push295=, 16 - i32.shr_s $push157=, $pop156, $pop295 - i32.const $push294=, 16 - i32.shl $push158=, $4, $pop294 - i32.const $push293=, 16 - i32.shr_s $push159=, $pop158, $pop293 - i32.const $push292=, 16 - i32.shl $push160=, $6, $pop292 - i32.const $push291=, 16 - i32.shr_s $push161=, $pop160, $pop291 - i32.const $push165=, 156 - i32.const $push164=, 105 - i32.const $push163=, 130 - i32.const $push162=, 214 - call verify@FUNCTION, $pop155, $pop157, $pop159, $pop161, $pop165, $pop164, $pop163, $pop162 + i32.load16_u $push267=, i($pop299) + i32.const $push298=, -1 + i32.xor $push268=, $pop267, $pop298 + i32.store16 $7=, k($pop300), $pop268 + i32.const $push297=, 0 + i32.store16 $drop=, res+14($pop297), $0 + i32.const $push296=, 0 + i32.store16 $drop=, res+12($pop296), $1 + i32.const $push295=, 0 + i32.store16 $drop=, res+10($pop295), $2 + i32.const $push294=, 0 + i32.store16 $drop=, res+8($pop294), $3 + i32.const $push293=, 0 + i32.store16 $0=, res+6($pop293), $4 + i32.const $push292=, 0 + i32.store16 $1=, res+4($pop292), $5 + i32.const $push291=, 0 + i32.store16 $2=, res+2($pop291), $6 i32.const $push290=, 0 - i32.load16_u $0=, i+12($pop290) - i32.const $push289=, 0 - i32.const $push288=, 0 - i32.const $push287=, 0 - i32.const $push286=, 0 - i32.load16_u $push166=, i+14($pop286) - i32.sub $push175=, $pop287, $pop166 - i32.store16 $push24=, k+14($pop288), $pop175 - i32.store16 $drop=, res+14($pop289), $pop24 - i32.const $push285=, 0 - i32.load16_u $4=, i+10($pop285) - i32.const $push284=, 0 - i32.const $push283=, 0 - i32.const $push282=, 0 - i32.sub $push174=, $pop282, $0 - i32.store16 $push25=, k+12($pop283), $pop174 - i32.store16 $drop=, res+12($pop284), $pop25 - i32.const $push281=, 0 - i32.load16_u $0=, i+8($pop281) + i32.store16 $push7=, res($pop290), $7 + i32.const $push289=, 16 + i32.shl $push275=, $pop7, $pop289 + i32.const $push288=, 16 + i32.shr_s $push276=, $pop275, $pop288 + i32.const $push287=, 16 + i32.shl $push273=, $2, $pop287 + i32.const $push286=, 16 + i32.shr_s $push274=, $pop273, $pop286 + i32.const $push285=, 16 + i32.shl $push271=, $1, $pop285 + i32.const $push284=, 16 + i32.shr_s $push272=, $pop271, $pop284 + i32.const $push283=, 16 + i32.shl $push269=, $0, $pop283 + i32.const $push282=, 16 + i32.shr_s $push270=, $pop269, $pop282 + i32.const $push279=, -151 + i32.const $push278=, -101 + i32.const $push281=, -151 + i32.const $push277=, -201 + call verify@FUNCTION, $pop276, $pop274, $pop272, $pop270, $pop279, $pop278, $pop281, $pop277 i32.const $push280=, 0 - i32.const $push279=, 0 - i32.const $push278=, 0 - i32.sub $push173=, $pop278, $4 - i32.store16 $push26=, k+10($pop279), $pop173 - i32.store16 $drop=, res+10($pop280), $pop26 - i32.const $push277=, 0 - i32.const $push276=, 0 - i32.const $push275=, 0 - i32.sub $push172=, $pop275, $0 - i32.store16 $push27=, k+8($pop276), $pop172 - i32.store16 $drop=, res+8($pop277), $pop27 - i32.const $push274=, 0 - i32.load16_u $0=, i($pop274) - i32.const $push273=, 0 - i32.load16_u $4=, i+2($pop273) - i32.const $push272=, 0 - i32.load16_u $5=, i+4($pop272) - i32.const $push271=, 0 - i32.const $push270=, 0 - i32.const $push269=, 0 - i32.load16_u $push167=, i+6($pop269) - i32.sub $push171=, $pop270, $pop167 - i32.store16 $6=, k+6($pop271), $pop171 - i32.const $push268=, 0 - i32.const $push267=, 0 - i32.sub $push170=, $pop267, $5 - i32.store16 $5=, k+4($pop268), $pop170 - i32.const $push266=, 0 - i32.const $push265=, 0 - i32.sub $push169=, $pop265, $4 - i32.store16 $4=, k+2($pop266), $pop169 - i32.const $push264=, 0 - i32.const $push263=, 0 - i32.sub $push168=, $pop263, $0 - i32.store16 $0=, k($pop264), $pop168 - i32.const $push262=, 0 - i32.store16 $drop=, res+6($pop262), $6 - i32.const $push261=, 0 - i32.store16 $drop=, res+4($pop261), $5 - i32.const $push260=, 0 - i32.store16 $drop=, res+2($pop260), $4 - i32.const $push259=, 0 - i32.store16 $drop=, res($pop259), $0 - i32.const $push258=, 16 - i32.shl $push176=, $0, $pop258 - i32.const $push257=, 16 - i32.shr_s $push177=, $pop176, $pop257 - i32.const $push256=, 16 - i32.shl $push178=, $4, $pop256 - i32.const $push255=, 16 - i32.shr_s $push179=, $pop178, $pop255 - i32.const $push254=, 16 - i32.shl $push180=, $5, $pop254 - i32.const $push253=, 16 - i32.shr_s $push181=, $pop180, $pop253 - i32.const $push252=, 16 - i32.shl $push182=, $6, $pop252 - i32.const $push251=, 16 - i32.shr_s $push183=, $pop182, $pop251 - i32.const $push186=, -150 - i32.const $push185=, -100 - i32.const $push250=, -150 - i32.const $push184=, -200 - call verify@FUNCTION, $pop177, $pop179, $pop181, $pop183, $pop186, $pop185, $pop250, $pop184 - i32.const $push249=, 0 - i32.load16_u $0=, i+6($pop249) - i32.const $push248=, 0 - i32.load16_u $4=, i($pop248) - i32.const $push247=, 0 - i32.load16_u $5=, i+2($pop247) - i32.const $push246=, 0 - i32.load16_u $6=, i+4($pop246) - i32.const $push245=, 0 - i32.load16_u $13=, i+8($pop245) - i32.const $push244=, 0 - i32.load16_u $12=, i+10($pop244) - i32.const $push243=, 0 - i32.load16_u $11=, i+12($pop243) - i32.const $push242=, 0 - i32.const $push241=, 0 - i32.const $push240=, 0 - i32.load16_u $push187=, i+14($pop240) - i32.const $push188=, -1 - i32.xor $push195=, $pop187, $pop188 - i32.store16 $push28=, k+14($pop241), $pop195 - i32.store16 $drop=, res+14($pop242), $pop28 - i32.const $push239=, 0 - i32.const $push238=, 0 - i32.const $push237=, -1 - i32.xor $push194=, $11, $pop237 - i32.store16 $push29=, k+12($pop238), $pop194 - i32.store16 $drop=, res+12($pop239), $pop29 - i32.const $push236=, 0 - i32.const $push235=, 0 - i32.const $push234=, -1 - i32.xor $push193=, $12, $pop234 - i32.store16 $push30=, k+10($pop235), $pop193 - i32.store16 $drop=, res+10($pop236), $pop30 - i32.const $push233=, 0 - i32.const $push232=, 0 - i32.const $push231=, -1 - i32.xor $push192=, $13, $pop231 - i32.store16 $push31=, k+8($pop232), $pop192 - i32.store16 $drop=, res+8($pop233), $pop31 - i32.const $push230=, 0 - i32.const $push229=, -1 - i32.xor $push191=, $0, $pop229 - i32.store16 $0=, k+6($pop230), $pop191 - i32.const $push228=, 0 - i32.const $push227=, -1 - i32.xor $push190=, $6, $pop227 - i32.store16 $6=, k+4($pop228), $pop190 - i32.const $push226=, 0 - i32.const $push225=, -1 - i32.xor $push189=, $5, $pop225 - i32.store16 $5=, k+2($pop226), $pop189 - i32.const $push224=, 0 - i32.store16 $drop=, res+6($pop224), $0 - i32.const $push223=, 0 - i32.store16 $drop=, res+4($pop223), $6 - i32.const $push222=, 0 - i32.store16 $drop=, res+2($pop222), $5 - i32.const $push221=, 0 - i32.const $push220=, 0 - i32.const $push219=, -1 - i32.xor $push218=, $4, $pop219 - tee_local $push217=, $4=, $pop218 - i32.store16 $push32=, k($pop220), $pop217 - i32.store16 $drop=, res($pop221), $pop32 - i32.const $push216=, 16 - i32.shl $push196=, $4, $pop216 - i32.const $push215=, 16 - i32.shr_s $push197=, $pop196, $pop215 - i32.const $push214=, 16 - i32.shl $push198=, $5, $pop214 - i32.const $push213=, 16 - i32.shr_s $push199=, $pop198, $pop213 - i32.const $push212=, 16 - i32.shl $push200=, $6, $pop212 - i32.const $push211=, 16 - i32.shr_s $push201=, $pop200, $pop211 - i32.const $push210=, 16 - i32.shl $push202=, $0, $pop210 - i32.const $push209=, 16 - i32.shr_s $push203=, $pop202, $pop209 - i32.const $push206=, -151 - i32.const $push205=, -101 - i32.const $push208=, -151 - i32.const $push204=, -201 - call verify@FUNCTION, $pop197, $pop199, $pop201, $pop203, $pop206, $pop205, $pop208, $pop204 - i32.const $push207=, 0 - call exit@FUNCTION, $pop207 + call exit@FUNCTION, $pop280 unreachable .endfunc .Lfunc_end1: diff --git a/test/torture-s/simd-4.c.s b/test/torture-s/simd-4.c.s index 32c3e8b43..ef6eee37a 100644 --- a/test/torture-s/simd-4.c.s +++ b/test/torture-s/simd-4.c.s @@ -11,7 +11,7 @@ main: # @main i64.const $push0=, -4294967295 i64.store $drop=, s64($pop1), $pop0 i32.const $push2=, 0 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/simd-5.c.s b/test/torture-s/simd-5.c.s index 66da50f2d..c453b5ff6 100644 --- a/test/torture-s/simd-5.c.s +++ b/test/torture-s/simd-5.c.s @@ -6,10 +6,10 @@ .type func0,@function func0: # @func0 # BB#0: # %entry - i32.const $push0=, 0 - i32.const $push1=, 1 - i32.store $drop=, dummy($pop0), $pop1 - return + i32.const $push1=, 0 + i32.const $push0=, 1 + i32.store $drop=, dummy($pop1), $pop0 + # fallthrough-return .endfunc .Lfunc_end0: .size func0, .Lfunc_end0-func0 @@ -19,82 +19,82 @@ func0: # @func0 .globl func1 .type func1,@function func1: # @func1 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load16_u $1=, q1+4($pop0) + i32.const $push55=, 0 + i32.load16_u $push2=, q2+6($pop55) + i32.const $push54=, 0 + i32.load16_u $push1=, q1+6($pop54) + i32.mul $push3=, $pop2, $pop1 + i32.store16 $0=, w1+6($pop0), $pop3 + i32.const $push53=, 0 + i32.const $push52=, 0 + i32.load16_u $push5=, q2+4($pop52) + i32.const $push51=, 0 + i32.load16_u $push4=, q1+4($pop51) + i32.mul $push6=, $pop5, $pop4 + i32.store16 $1=, w1+4($pop53), $pop6 + i32.const $push50=, 0 + i32.const $push49=, 0 + i32.load16_u $push8=, q2+2($pop49) + i32.const $push48=, 0 + i32.load16_u $push7=, q1+2($pop48) + i32.mul $push9=, $pop8, $pop7 + i32.store16 $2=, w1+2($pop50), $pop9 + i32.const $push47=, 0 + i32.const $push46=, 0 + i32.load16_u $push11=, q2($pop46) + i32.const $push45=, 0 + i32.load16_u $push10=, q1($pop45) + i32.mul $push12=, $pop11, $pop10 + i32.store16 $3=, w1($pop47), $pop12 + i32.const $push44=, 0 + i32.const $push43=, 0 + i32.load16_u $push14=, q4+6($pop43) + i32.const $push42=, 0 + i32.load16_u $push13=, q3+6($pop42) + i32.mul $push15=, $pop14, $pop13 + i32.store16 $4=, w2+6($pop44), $pop15 i32.const $push41=, 0 - i32.load16_u $2=, q1+2($pop41) i32.const $push40=, 0 - i32.load16_u $3=, q1($pop40) + i32.load16_u $push17=, q4+4($pop40) i32.const $push39=, 0 - i32.load16_u $6=, q2($pop39) + i32.load16_u $push16=, q3+4($pop39) + i32.mul $push18=, $pop17, $pop16 + i32.store16 $5=, w2+4($pop41), $pop18 i32.const $push38=, 0 - i32.load16_u $5=, q2+2($pop38) i32.const $push37=, 0 - i32.load16_u $4=, q2+4($pop37) + i32.load16_u $push20=, q4+2($pop37) i32.const $push36=, 0 - i32.load16_u $7=, q3+6($pop36) + i32.load16_u $push19=, q3+2($pop36) + i32.mul $push21=, $pop20, $pop19 + i32.store16 $6=, w2+2($pop38), $pop21 i32.const $push35=, 0 - i32.load16_u $8=, q3+4($pop35) i32.const $push34=, 0 - i32.load16_u $9=, q3+2($pop34) + i32.load16_u $push23=, q4($pop34) i32.const $push33=, 0 - i32.load16_u $10=, q3($pop33) + i32.load16_u $push22=, q3($pop33) + i32.mul $push24=, $pop23, $pop22 + i32.store16 $7=, w2($pop35), $pop24 + call func0@FUNCTION i32.const $push32=, 0 - i32.load16_u $14=, q4($pop32) + i32.store16 $drop=, w4+6($pop32), $4 i32.const $push31=, 0 - i32.load16_u $13=, q4+2($pop31) + i32.store16 $drop=, w4+4($pop31), $5 i32.const $push30=, 0 - i32.load16_u $12=, q4+4($pop30) + i32.store16 $drop=, w4+2($pop30), $6 i32.const $push29=, 0 - i32.load16_u $11=, q4+6($pop29) + i32.store16 $drop=, w4($pop29), $7 i32.const $push28=, 0 + i32.store16 $drop=, w3+6($pop28), $0 i32.const $push27=, 0 - i32.load16_u $push2=, q2+6($pop27) + i32.store16 $drop=, w3+4($pop27), $1 i32.const $push26=, 0 - i32.load16_u $push1=, q1+6($pop26) - i32.mul $push6=, $pop2, $pop1 - i32.store16 $0=, w1+6($pop28), $pop6 + i32.store16 $drop=, w3+2($pop26), $2 i32.const $push25=, 0 - i32.mul $push5=, $4, $1 - i32.store16 $1=, w1+4($pop25), $pop5 - i32.const $push24=, 0 - i32.mul $push4=, $5, $2 - i32.store16 $2=, w1+2($pop24), $pop4 - i32.const $push23=, 0 - i32.mul $push3=, $6, $3 - i32.store16 $3=, w1($pop23), $pop3 - i32.const $push22=, 0 - i32.mul $push10=, $11, $7 - i32.store16 $6=, w2+6($pop22), $pop10 - i32.const $push21=, 0 - i32.mul $push9=, $12, $8 - i32.store16 $5=, w2+4($pop21), $pop9 - i32.const $push20=, 0 - i32.mul $push8=, $13, $9 - i32.store16 $4=, w2+2($pop20), $pop8 - i32.const $push19=, 0 - i32.mul $push7=, $14, $10 - i32.store16 $7=, w2($pop19), $pop7 - call func0@FUNCTION - i32.const $push18=, 0 - i32.store16 $drop=, w3+6($pop18), $0 - i32.const $push17=, 0 - i32.store16 $drop=, w3+4($pop17), $1 - i32.const $push16=, 0 - i32.store16 $drop=, w3+2($pop16), $2 - i32.const $push15=, 0 - i32.store16 $drop=, w3($pop15), $3 - i32.const $push14=, 0 - i32.store16 $drop=, w4+6($pop14), $6 - i32.const $push13=, 0 - i32.store16 $drop=, w4+4($pop13), $5 - i32.const $push12=, 0 - i32.store16 $drop=, w4+2($pop12), $4 - i32.const $push11=, 0 - i32.store16 $drop=, w4($pop11), $7 - return + i32.store16 $drop=, w3($pop25), $3 + # fallthrough-return .endfunc .Lfunc_end1: .size func1, .Lfunc_end1-func1 @@ -104,82 +104,82 @@ func1: # @func1 .globl func2 .type func2,@function func2: # @func2 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load16_u $1=, q1+4($pop0) + i32.const $push55=, 0 + i32.load16_u $push2=, q2+6($pop55) + i32.const $push54=, 0 + i32.load16_u $push1=, q1+6($pop54) + i32.add $push3=, $pop2, $pop1 + i32.store16 $0=, z1+6($pop0), $pop3 + i32.const $push53=, 0 + i32.const $push52=, 0 + i32.load16_u $push5=, q2+4($pop52) + i32.const $push51=, 0 + i32.load16_u $push4=, q1+4($pop51) + i32.add $push6=, $pop5, $pop4 + i32.store16 $1=, z1+4($pop53), $pop6 + i32.const $push50=, 0 + i32.const $push49=, 0 + i32.load16_u $push8=, q2+2($pop49) + i32.const $push48=, 0 + i32.load16_u $push7=, q1+2($pop48) + i32.add $push9=, $pop8, $pop7 + i32.store16 $2=, z1+2($pop50), $pop9 + i32.const $push47=, 0 + i32.const $push46=, 0 + i32.load16_u $push11=, q2($pop46) + i32.const $push45=, 0 + i32.load16_u $push10=, q1($pop45) + i32.add $push12=, $pop11, $pop10 + i32.store16 $3=, z1($pop47), $pop12 + i32.const $push44=, 0 + i32.const $push43=, 0 + i32.load16_u $push14=, q3+6($pop43) + i32.const $push42=, 0 + i32.load16_u $push13=, q4+6($pop42) + i32.sub $push15=, $pop14, $pop13 + i32.store16 $4=, z2+6($pop44), $pop15 i32.const $push41=, 0 - i32.load16_u $2=, q1+2($pop41) i32.const $push40=, 0 - i32.load16_u $3=, q1($pop40) + i32.load16_u $push17=, q3+4($pop40) i32.const $push39=, 0 - i32.load16_u $6=, q2($pop39) + i32.load16_u $push16=, q4+4($pop39) + i32.sub $push18=, $pop17, $pop16 + i32.store16 $5=, z2+4($pop41), $pop18 i32.const $push38=, 0 - i32.load16_u $5=, q2+2($pop38) i32.const $push37=, 0 - i32.load16_u $4=, q2+4($pop37) + i32.load16_u $push20=, q3+2($pop37) i32.const $push36=, 0 - i32.load16_u $7=, q3+6($pop36) + i32.load16_u $push19=, q4+2($pop36) + i32.sub $push21=, $pop20, $pop19 + i32.store16 $6=, z2+2($pop38), $pop21 i32.const $push35=, 0 - i32.load16_u $8=, q3+4($pop35) i32.const $push34=, 0 - i32.load16_u $9=, q3+2($pop34) + i32.load16_u $push23=, q3($pop34) i32.const $push33=, 0 - i32.load16_u $10=, q3($pop33) + i32.load16_u $push22=, q4($pop33) + i32.sub $push24=, $pop23, $pop22 + i32.store16 $7=, z2($pop35), $pop24 + call func1@FUNCTION i32.const $push32=, 0 - i32.load16_u $14=, q4($pop32) + i32.store16 $drop=, z4+6($pop32), $4 i32.const $push31=, 0 - i32.load16_u $13=, q4+2($pop31) + i32.store16 $drop=, z4+4($pop31), $5 i32.const $push30=, 0 - i32.load16_u $12=, q4+4($pop30) + i32.store16 $drop=, z4+2($pop30), $6 i32.const $push29=, 0 - i32.load16_u $11=, q4+6($pop29) + i32.store16 $drop=, z4($pop29), $7 i32.const $push28=, 0 + i32.store16 $drop=, z3+6($pop28), $0 i32.const $push27=, 0 - i32.load16_u $push2=, q2+6($pop27) + i32.store16 $drop=, z3+4($pop27), $1 i32.const $push26=, 0 - i32.load16_u $push1=, q1+6($pop26) - i32.add $push6=, $pop2, $pop1 - i32.store16 $0=, z1+6($pop28), $pop6 + i32.store16 $drop=, z3+2($pop26), $2 i32.const $push25=, 0 - i32.add $push5=, $4, $1 - i32.store16 $1=, z1+4($pop25), $pop5 - i32.const $push24=, 0 - i32.add $push4=, $5, $2 - i32.store16 $2=, z1+2($pop24), $pop4 - i32.const $push23=, 0 - i32.add $push3=, $6, $3 - i32.store16 $3=, z1($pop23), $pop3 - i32.const $push22=, 0 - i32.sub $push10=, $7, $11 - i32.store16 $6=, z2+6($pop22), $pop10 - i32.const $push21=, 0 - i32.sub $push9=, $8, $12 - i32.store16 $5=, z2+4($pop21), $pop9 - i32.const $push20=, 0 - i32.sub $push8=, $9, $13 - i32.store16 $4=, z2+2($pop20), $pop8 - i32.const $push19=, 0 - i32.sub $push7=, $10, $14 - i32.store16 $7=, z2($pop19), $pop7 - call func1@FUNCTION - i32.const $push18=, 0 - i32.store16 $drop=, z3+6($pop18), $0 - i32.const $push17=, 0 - i32.store16 $drop=, z3+4($pop17), $1 - i32.const $push16=, 0 - i32.store16 $drop=, z3+2($pop16), $2 - i32.const $push15=, 0 - i32.store16 $drop=, z3($pop15), $3 - i32.const $push14=, 0 - i32.store16 $drop=, z4+6($pop14), $6 - i32.const $push13=, 0 - i32.store16 $drop=, z4+4($pop13), $5 - i32.const $push12=, 0 - i32.store16 $drop=, z4+2($pop12), $4 - i32.const $push11=, 0 - i32.store16 $drop=, z4($pop11), $7 - return + i32.store16 $drop=, z3($pop25), $3 + # fallthrough-return .endfunc .Lfunc_end2: .size func2, .Lfunc_end2-func2 @@ -194,31 +194,31 @@ main: # @main call func2@FUNCTION block i32.const $push14=, 0 - i64.load $push0=, w1($pop14) + i64.load $push1=, w1($pop14) i32.const $push13=, 0 - i64.load $push1=, w3($pop13) - i64.ne $push2=, $pop0, $pop1 + i64.load $push0=, w3($pop13) + i64.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label0 # BB#1: # %if.end i32.const $push16=, 0 - i64.load $push3=, w2($pop16) + i64.load $push4=, w2($pop16) i32.const $push15=, 0 - i64.load $push4=, w4($pop15) - i64.ne $push5=, $pop3, $pop4 + i64.load $push3=, w4($pop15) + i64.ne $push5=, $pop4, $pop3 br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end4 i32.const $push18=, 0 - i64.load $push6=, z1($pop18) + i64.load $push7=, z1($pop18) i32.const $push17=, 0 - i64.load $push7=, z3($pop17) - i64.ne $push8=, $pop6, $pop7 + i64.load $push6=, z3($pop17) + i64.ne $push8=, $pop7, $pop6 br_if 0, $pop8 # 0: down to label0 # BB#3: # %if.end8 i32.const $push20=, 0 - i64.load $push9=, z2($pop20) + i64.load $push10=, z2($pop20) i32.const $push19=, 0 - i64.load $push10=, z4($pop19) - i64.ne $push11=, $pop9, $pop10 + i64.load $push9=, z4($pop19) + i64.ne $push11=, $pop10, $pop9 br_if 0, $pop11 # 0: down to label0 # BB#4: # %if.end12 i32.const $push12=, 0 diff --git a/test/torture-s/simd-6.c.s b/test/torture-s/simd-6.c.s index 7d08d5ae0..162d62ecb 100644 --- a/test/torture-s/simd-6.c.s +++ b/test/torture-s/simd-6.c.s @@ -7,37 +7,37 @@ foo: # @foo .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push8=, 7 - i32.add $push9=, $0, $pop8 - i32.mul $push7=, $16, $8 - i32.store8 $drop=, 0($pop9), $pop7 - i32.const $push10=, 6 + i32.const $push1=, 7 + i32.add $push2=, $0, $pop1 + i32.mul $push0=, $16, $8 + i32.store8 $drop=, 0($pop2), $pop0 + i32.const $push4=, 6 + i32.add $push5=, $0, $pop4 + i32.mul $push3=, $15, $7 + i32.store8 $drop=, 0($pop5), $pop3 + i32.const $push7=, 5 + i32.add $push8=, $0, $pop7 + i32.mul $push6=, $14, $6 + i32.store8 $drop=, 0($pop8), $pop6 + i32.const $push10=, 4 i32.add $push11=, $0, $pop10 - i32.mul $push6=, $15, $7 - i32.store8 $drop=, 0($pop11), $pop6 - i32.const $push12=, 5 - i32.add $push13=, $0, $pop12 - i32.mul $push5=, $14, $6 - i32.store8 $drop=, 0($pop13), $pop5 - i32.const $push14=, 4 - i32.add $push15=, $0, $pop14 - i32.mul $push4=, $13, $5 - i32.store8 $drop=, 0($pop15), $pop4 - i32.const $push16=, 3 + i32.mul $push9=, $13, $5 + i32.store8 $drop=, 0($pop11), $pop9 + i32.const $push13=, 3 + i32.add $push14=, $0, $pop13 + i32.mul $push12=, $12, $4 + i32.store8 $drop=, 0($pop14), $pop12 + i32.const $push16=, 2 i32.add $push17=, $0, $pop16 - i32.mul $push3=, $12, $4 - i32.store8 $drop=, 0($pop17), $pop3 - i32.const $push18=, 2 - i32.add $push19=, $0, $pop18 - i32.mul $push2=, $11, $3 - i32.store8 $drop=, 0($pop19), $pop2 - i32.const $push20=, 1 - i32.add $push21=, $0, $pop20 - i32.mul $push1=, $10, $2 - i32.store8 $drop=, 0($pop21), $pop1 - i32.mul $push0=, $9, $1 - i32.store8 $drop=, 0($0), $pop0 - return + i32.mul $push15=, $11, $3 + i32.store8 $drop=, 0($pop17), $pop15 + i32.const $push19=, 1 + i32.add $push20=, $0, $pop19 + i32.mul $push18=, $10, $2 + i32.store8 $drop=, 0($pop20), $pop18 + i32.mul $push21=, $9, $1 + i32.store8 $drop=, 0($0), $pop21 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -50,7 +50,7 @@ main: # @main .result i32 # BB#0: # %if.end i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/stdarg-1.c.s b/test/torture-s/stdarg-1.c.s index 37fe332bf..cd26cb2ab 100644 --- a/test/torture-s/stdarg-1.c.s +++ b/test/torture-s/stdarg-1.c.s @@ -30,7 +30,7 @@ foo: # @foo .type bar,@function bar: # @bar .param i32 - .local i32, f64, i32 + .local i32, i32 # BB#0: # %entry block block @@ -43,86 +43,89 @@ bar: # @bar i32.ne $push3=, $0, $pop2 br_if 1, $pop3 # 1: down to label2 # BB#2: # %if.then + i32.const $push48=, 0 i32.const $push47=, 0 i32.load $push30=, gap($pop47) i32.const $push31=, 7 i32.add $push32=, $pop30, $pop31 i32.const $push33=, -8 i32.and $push46=, $pop32, $pop33 - tee_local $push45=, $1=, $pop46 - f64.load $2=, 0($pop45) - i32.const $push44=, 0 + tee_local $push45=, $2=, $pop46 i32.const $push34=, 8 - i32.add $push35=, $1, $pop34 - i32.store $3=, gap($pop44), $pop35 + i32.add $push35=, $pop45, $pop34 + i32.store $1=, gap($pop48), $pop35 block - f64.const $push36=, 0x1.1p4 - f64.ne $push37=, $2, $pop36 - br_if 0, $pop37 # 0: down to label4 + f64.load $push36=, 0($2) + f64.const $push37=, 0x1.1p4 + f64.ne $push38=, $pop36, $pop37 + br_if 0, $pop38 # 0: down to label4 # BB#3: # %lor.lhs.false - i32.const $push48=, 0 - i32.const $push38=, 12 - i32.add $push39=, $1, $pop38 - i32.store $drop=, gap($pop48), $pop39 - i32.load $push40=, 0($3) - i32.const $push41=, 129 - i32.eq $push42=, $pop40, $pop41 - br_if 2, $pop42 # 2: down to label2 + i32.const $push49=, 0 + i32.const $push39=, 12 + i32.add $push40=, $2, $pop39 + i32.store $drop=, gap($pop49), $pop40 + i32.load $push41=, 0($1) + i32.const $push42=, 129 + i32.eq $push43=, $pop41, $pop42 + br_if 2, $pop43 # 2: down to label2 .LBB1_4: # %if.then5 end_block # label4: call abort@FUNCTION unreachable .LBB1_5: # %if.then7 end_block # label3: - i32.const $push51=, 0 - i32.load $1=, pap($pop51) - i32.load $push4=, 0($1) + i32.const $push54=, 0 + i32.load $push53=, pap($pop54) + tee_local $push52=, $2=, $pop53 + i32.load $push4=, 0($2) i32.const $push5=, 7 i32.add $push6=, $pop4, $pop5 i32.const $push7=, -8 - i32.and $push50=, $pop6, $pop7 - tee_local $push49=, $3=, $pop50 + i32.and $push51=, $pop6, $pop7 + tee_local $push50=, $2=, $pop51 i32.const $push8=, 8 - i32.add $push9=, $pop49, $pop8 - i32.store $drop=, 0($1), $pop9 - i64.load $push10=, 0($3) + i32.add $push9=, $pop50, $pop8 + i32.store $drop=, 0($pop52), $pop9 + i64.load $push10=, 0($2) i64.const $push11=, 14 i64.ne $push12=, $pop10, $pop11 br_if 1, $pop12 # 1: down to label1 # BB#6: # %lor.lhs.false11 - i32.const $push54=, 0 - i32.load $1=, pap($pop54) - i32.load $push13=, 0($1) + i32.const $push59=, 0 + i32.load $push58=, pap($pop59) + tee_local $push57=, $2=, $pop58 + i32.load $push13=, 0($2) i32.const $push14=, 15 i32.add $push15=, $pop13, $pop14 i32.const $push16=, -16 - i32.and $push53=, $pop15, $pop16 - tee_local $push52=, $3=, $pop53 + i32.and $push56=, $pop15, $pop16 + tee_local $push55=, $2=, $pop56 i32.const $push17=, 16 - i32.add $push18=, $pop52, $pop17 - i32.store $drop=, 0($1), $pop18 - i64.load $push20=, 0($3) - i64.load $push19=, 8($3) + i32.add $push18=, $pop55, $pop17 + i32.store $drop=, 0($pop57), $pop18 + i64.load $push20=, 0($2) + i64.load $push19=, 8($2) i64.const $push22=, 0 i64.const $push21=, 4613381465357418496 i32.call $push23=, __netf2@FUNCTION, $pop20, $pop19, $pop22, $pop21 br_if 1, $pop23 # 1: down to label1 # BB#7: # %lor.lhs.false15 i32.const $push24=, 0 - i32.load $1=, pap($pop24) - i32.load $push56=, 0($1) - tee_local $push55=, $3=, $pop56 + i32.load $push63=, pap($pop24) + tee_local $push62=, $2=, $pop63 + i32.load $push61=, 0($2) + tee_local $push60=, $2=, $pop61 i32.const $push25=, 4 - i32.add $push26=, $pop55, $pop25 - i32.store $drop=, 0($1), $pop26 - i32.load $push27=, 0($3) + i32.add $push26=, $pop60, $pop25 + i32.store $drop=, 0($pop62), $pop26 + i32.load $push27=, 0($2) i32.const $push28=, 17 i32.ne $push29=, $pop27, $pop28 br_if 1, $pop29 # 1: down to label1 .LBB1_8: # %if.end22 end_block # label2: - i32.const $push43=, 0 - i32.store $drop=, bar_arg($pop43), $0 + i32.const $push44=, 0 + i32.store $drop=, bar_arg($pop44), $0 return .LBB1_9: # %if.then19 end_block # label1: @@ -139,7 +142,7 @@ bar: # @bar f0: # @f0 .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size f0, .Lfunc_end2-f0 @@ -151,7 +154,7 @@ f0: # @f0 f1: # @f1 .param i32, i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end3: .size f1, .Lfunc_end3-f1 @@ -162,33 +165,34 @@ f1: # @f1 .type f2,@function f2: # @f2 .param i32, i32 - .local i32, f64 + .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) - i32.const $push8=, 16 - i32.sub $push13=, $pop7, $pop8 - i32.store $2=, 0($pop9), $pop13 + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) + i32.const $push9=, 16 + i32.sub $push14=, $pop8, $pop9 + i32.store $push19=, __stack_pointer($pop10), $pop14 + tee_local $push18=, $2=, $pop19 + i32.store $drop=, 12($pop18), $1 i32.const $push1=, 0 - f64.load $3=, d($pop1) - i32.store $drop=, 12($2), $1 - i32.trunc_s/f64 $push2=, $3 - call bar@FUNCTION, $pop2 - i32.load $push16=, 12($2) - tee_local $push15=, $1=, $pop16 - i32.const $push3=, 4 - i32.add $push4=, $pop15, $pop3 - i32.store $drop=, 12($2), $pop4 - i32.const $push14=, 0 - i32.load $push5=, 0($1) - i32.store $push0=, x($pop14), $pop5 + f64.load $push2=, d($pop1) + i32.trunc_s/f64 $push3=, $pop2 + call bar@FUNCTION, $pop3 + i32.load $push17=, 12($2) + tee_local $push16=, $1=, $pop17 + i32.const $push4=, 4 + i32.add $push5=, $pop16, $pop4 + i32.store $drop=, 12($2), $pop5 + i32.const $push15=, 0 + i32.load $push6=, 0($1) + i32.store $push0=, x($pop15), $pop6 call bar@FUNCTION, $pop0 - i32.const $push12=, __stack_pointer - i32.const $push10=, 16 - i32.add $push11=, $2, $pop10 - i32.store $drop=, 0($pop12), $pop11 - return + i32.const $push13=, 0 + i32.const $push11=, 16 + i32.add $push12=, $2, $pop11 + i32.store $drop=, __stack_pointer($pop13), $pop12 + # fallthrough-return .endfunc .Lfunc_end4: .size f2, .Lfunc_end4-f2 @@ -199,26 +203,26 @@ f2: # @f2 .type f3,@function f3: # @f3 .param i32, i32 - .local i64, i32 + .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) - i32.const $push9=, 16 - i32.sub $push13=, $pop8, $pop9 - tee_local $push12=, $3=, $pop13 - i32.store $push0=, 12($pop12), $1 + i32.const $push5=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) + i32.const $push10=, 16 + i32.sub $push14=, $pop9, $pop10 + tee_local $push13=, $2=, $pop14 + i32.store $push0=, 12($pop13), $1 i32.const $push1=, 7 i32.add $push2=, $pop0, $pop1 i32.const $push3=, -8 - i32.and $push11=, $pop2, $pop3 - tee_local $push10=, $1=, $pop11 - i64.load $2=, 0($pop10) - i32.const $push4=, 8 - i32.add $push5=, $1, $pop4 - i32.store $drop=, 12($3), $pop5 - i32.const $push6=, 0 - i64.store $drop=, d($pop6), $2 - return + i32.and $push12=, $pop2, $pop3 + tee_local $push11=, $1=, $pop12 + i64.load $push4=, 0($pop11) + i64.store $drop=, d($pop5), $pop4 + i32.const $push6=, 8 + i32.add $push7=, $1, $pop6 + i32.store $drop=, 12($2), $pop7 + # fallthrough-return .endfunc .Lfunc_end5: .size f3, .Lfunc_end5-f3 @@ -229,40 +233,40 @@ f3: # @f3 .type f4,@function f4: # @f4 .param i32, i32 - .local f64, i32 + .local i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) - i32.const $push12=, 16 - i32.sub $push17=, $pop11, $pop12 - i32.store $push22=, 0($pop13), $pop17 - tee_local $push21=, $3=, $pop22 + i32.const $push23=, 0 + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) + i32.const $push13=, 16 + i32.sub $push18=, $pop12, $pop13 + i32.store $push22=, __stack_pointer($pop14), $pop18 + tee_local $push21=, $2=, $pop22 i32.store $push0=, 12($pop21), $1 i32.const $push2=, 7 i32.add $push3=, $pop0, $pop2 i32.const $push4=, -8 i32.and $push20=, $pop3, $pop4 tee_local $push19=, $1=, $pop20 - f64.load $2=, 0($pop19) - i32.const $push5=, 8 - i32.add $push1=, $1, $pop5 - i32.store $1=, 12($3), $pop1 - i32.const $push18=, 0 - i32.trunc_s/f64 $push6=, $2 - i32.store $drop=, x($pop18), $pop6 + f64.load $push5=, 0($pop19) + i32.trunc_s/f64 $push6=, $pop5 + i32.store $drop=, x($pop23), $pop6 + i32.const $push7=, 8 + i32.add $push1=, $1, $pop7 + i32.store $1=, 12($2), $pop1 block - i32.const $push7=, 5 - i32.ne $push8=, $0, $pop7 - br_if 0, $pop8 # 0: down to label5 + i32.const $push8=, 5 + i32.ne $push9=, $0, $pop8 + br_if 0, $pop9 # 0: down to label5 # BB#1: # %foo.exit - i32.const $push23=, 0 - i32.load $push9=, 0($1) - i32.store $drop=, foo_arg($pop23), $pop9 - i32.const $push16=, __stack_pointer - i32.const $push14=, 16 - i32.add $push15=, $3, $pop14 - i32.store $drop=, 0($pop16), $pop15 + i32.const $push24=, 0 + i32.load $push10=, 0($1) + i32.store $drop=, foo_arg($pop24), $pop10 + i32.const $push17=, 0 + i32.const $push15=, 16 + i32.add $push16=, $2, $pop15 + i32.store $drop=, __stack_pointer($pop17), $pop16 return .LBB6_2: # %sw.default.i end_block # label5: @@ -280,22 +284,22 @@ f5: # @f5 .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $2=, $pop11 i32.const $push1=, 0 i32.store $push0=, gap($pop1), $1 i32.store $drop=, 12($pop10), $pop0 call bar@FUNCTION, $0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $2, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end7: .size f5, .Lfunc_end7-f5 @@ -306,33 +310,34 @@ f5: # @f5 .type f6,@function f6: # @f6 .param i32, i32 - .local i32, f64 + .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $2=, 0($pop9), $pop13 - i32.const $push1=, 0 - f64.load $3=, d($pop1) - i32.store $drop=, 12($2), $1 - i32.trunc_s/f64 $push2=, $3 + i32.store $push18=, __stack_pointer($pop9), $pop13 + tee_local $push17=, $3=, $pop18 + i32.store $drop=, 12($pop17), $1 + i32.const $push0=, 0 + f64.load $push1=, d($pop0) + i32.trunc_s/f64 $push2=, $pop1 call bar@FUNCTION, $pop2 - i32.load $push16=, 12($2) - tee_local $push15=, $1=, $pop16 - i32.const $push3=, 12 - i32.add $push4=, $pop15, $pop3 - i32.store $drop=, 12($2), $pop4 - i32.const $push14=, 0 - i32.load $push5=, 8($1) - i32.store $push0=, x($pop14), $pop5 - call bar@FUNCTION, $pop0 - i32.const $push12=, __stack_pointer + i32.const $push16=, 0 + i32.load $push15=, 12($3) + tee_local $push14=, $1=, $pop15 + i32.load $push3=, 8($pop14) + i32.store $2=, x($pop16), $pop3 + i32.const $push4=, 12 + i32.add $push5=, $1, $pop4 + i32.store $drop=, 12($3), $pop5 + call bar@FUNCTION, $2 + i32.const $push12=, 0 i32.const $push10=, 16 - i32.add $push11=, $2, $pop10 - i32.store $drop=, 0($pop12), $pop11 - return + i32.add $push11=, $3, $pop10 + i32.store $drop=, __stack_pointer($pop12), $pop11 + # fallthrough-return .endfunc .Lfunc_end8: .size f6, .Lfunc_end8-f6 @@ -345,24 +350,24 @@ f7: # @f7 .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push0=, 0 + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push10=, $pop2, $pop3 - i32.store $push12=, 0($pop4), $pop10 + i32.store $push12=, __stack_pointer($pop4), $pop10 tee_local $push11=, $2=, $pop12 - i32.store $drop=, 12($pop11), $1 - i32.const $push0=, 0 i32.const $push8=, 12 - i32.add $push9=, $2, $pop8 + i32.add $push9=, $pop11, $pop8 i32.store $drop=, pap($pop0), $pop9 + i32.store $drop=, 12($2), $1 call bar@FUNCTION, $0 - i32.const $push7=, __stack_pointer + i32.const $push7=, 0 i32.const $push5=, 16 i32.add $push6=, $2, $pop5 - i32.store $drop=, 0($pop7), $pop6 - return + i32.store $drop=, __stack_pointer($pop7), $pop6 + # fallthrough-return .endfunc .Lfunc_end9: .size f7, .Lfunc_end9-f7 @@ -373,38 +378,38 @@ f7: # @f7 .type f8,@function f8: # @f8 .param i32, i32 - .local i64, i32 + .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) - i32.const $push9=, 16 - i32.sub $push16=, $pop8, $pop9 - i32.store $push21=, 0($pop10), $pop16 - tee_local $push20=, $3=, $pop21 - i32.store $drop=, 12($pop20), $1 i32.const $push0=, 0 - i32.const $push14=, 12 - i32.add $push15=, $3, $pop14 - i32.store $drop=, pap($pop0), $pop15 + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) + i32.const $push10=, 16 + i32.sub $push17=, $pop9, $pop10 + i32.store $push22=, __stack_pointer($pop11), $pop17 + tee_local $push21=, $2=, $pop22 + i32.const $push15=, 12 + i32.add $push16=, $pop21, $pop15 + i32.store $drop=, pap($pop0), $pop16 + i32.store $drop=, 12($2), $1 call bar@FUNCTION, $0 - i32.load $push1=, 12($3) - i32.const $push2=, 7 - i32.add $push3=, $pop1, $pop2 + i32.const $push20=, 0 + i32.load $push2=, 12($2) + i32.const $push1=, 7 + i32.add $push3=, $pop2, $pop1 i32.const $push4=, -8 i32.and $push19=, $pop3, $pop4 tee_local $push18=, $0=, $pop19 - i64.load $2=, 0($pop18) - i32.const $push5=, 8 - i32.add $push6=, $0, $pop5 - i32.store $drop=, 12($3), $pop6 - i32.const $push17=, 0 - i64.store $drop=, d($pop17), $2 - i32.const $push13=, __stack_pointer - i32.const $push11=, 16 - i32.add $push12=, $3, $pop11 - i32.store $drop=, 0($pop13), $pop12 - return + i64.load $push5=, 0($pop18) + i64.store $drop=, d($pop20), $pop5 + i32.const $push6=, 8 + i32.add $push7=, $0, $pop6 + i32.store $drop=, 12($2), $pop7 + i32.const $push14=, 0 + i32.const $push12=, 16 + i32.add $push13=, $2, $pop12 + i32.store $drop=, __stack_pointer($pop14), $pop13 + # fallthrough-return .endfunc .Lfunc_end10: .size f8, .Lfunc_end10-f8 @@ -417,12 +422,12 @@ main: # @main .result i32 .local i32, i64, i64, i64, i32 # BB#0: # %entry - i32.const $push50=, __stack_pointer - i32.const $push47=, __stack_pointer - i32.load $push48=, 0($pop47) + i32.const $push50=, 0 + i32.const $push47=, 0 + i32.load $push48=, __stack_pointer($pop47) i32.const $push49=, 176 i32.sub $push72=, $pop48, $pop49 - i32.store $4=, 0($pop50), $pop72 + i32.store $4=, __stack_pointer($pop50), $pop72 i32.const $push74=, 0 i64.const $push1=, 4629418941960159232 i64.store $drop=, d($pop74), $pop1 @@ -486,10 +491,10 @@ main: # @main i32.ne $push22=, $pop21, $pop79 br_if 0, $pop22 # 0: down to label6 # BB#6: # %if.end12 - i32.const $push23=, -31 - i32.store $0=, 104($4), $pop23 - i64.const $push24=, 60129542156 - i64.store $drop=, 96($4), $pop24 + i64.const $push23=, 60129542156 + i64.store $drop=, 96($4), $pop23 + i32.const $push24=, -31 + i32.store $0=, 104($4), $pop24 i32.const $push62=, 96 i32.add $push63=, $4, $pop62 call f6@FUNCTION, $4, $pop63 @@ -556,10 +561,10 @@ main: # @main f64.ne $push45=, $pop37, $pop44 br_if 0, $pop45 # 0: down to label6 # BB#10: # %if.end23 - i32.const $push53=, __stack_pointer + i32.const $push53=, 0 i32.const $push51=, 176 i32.add $push52=, $4, $pop51 - i32.store $drop=, 0($pop53), $pop52 + i32.store $drop=, __stack_pointer($pop53), $pop52 i32.const $push46=, 0 return $pop46 .LBB11_11: # %if.then22 diff --git a/test/torture-s/stdarg-2.c.s b/test/torture-s/stdarg-2.c.s index 9ae470032..9328b976d 100644 --- a/test/torture-s/stdarg-2.c.s +++ b/test/torture-s/stdarg-2.c.s @@ -6,14 +6,14 @@ .type foo,@function foo: # @foo .param i32, i32 - .local i32, i64, i64 + .local i32 # BB#0: # %entry - i32.const $push43=, __stack_pointer - i32.const $push40=, __stack_pointer - i32.load $push41=, 0($pop40) - i32.const $push42=, 32 - i32.sub $push51=, $pop41, $pop42 - i32.store $2=, 0($pop43), $pop51 + i32.const $push45=, 0 + i32.const $push42=, 0 + i32.load $push43=, __stack_pointer($pop42) + i32.const $push44=, 32 + i32.sub $push53=, $pop43, $pop44 + i32.store $2=, __stack_pointer($pop45), $pop53 block block block @@ -30,70 +30,70 @@ foo: # @foo i32.ne $push5=, $0, $pop4 br_if 3, $pop5 # 3: down to label0 # BB#3: # %sw.bb - i32.const $push39=, 0 - i32.load $push28=, 0($1) - f64.convert_s/i32 $push33=, $pop28 - i32.const $push29=, 11 - i32.add $push30=, $1, $pop29 - i32.const $push31=, -8 - i32.and $push53=, $pop30, $pop31 - tee_local $push52=, $0=, $pop53 - f64.load $push32=, 0($pop52) - f64.add $push34=, $pop33, $pop32 - i32.trunc_s/f64 $push35=, $pop34 - i64.extend_u/i32 $push37=, $pop35 - i64.load $push36=, 8($0) - i64.add $push38=, $pop37, $pop36 - i64.store32 $drop=, foo_arg($pop39), $pop38 + i32.const $push41=, 0 + i32.load $push35=, 0($1) + f64.convert_s/i32 $push36=, $pop35 + i32.const $push30=, 11 + i32.add $push31=, $1, $pop30 + i32.const $push32=, -8 + i32.and $push55=, $pop31, $pop32 + tee_local $push54=, $0=, $pop55 + f64.load $push34=, 0($pop54) + f64.add $push37=, $pop36, $pop34 + i32.trunc_s/f64 $push38=, $pop37 + i64.extend_u/i32 $push39=, $pop38 + i64.load $push33=, 8($0) + i64.add $push40=, $pop39, $pop33 + i64.store32 $drop=, foo_arg($pop41), $pop40 br 2 # 2: down to label1 .LBB0_4: # %sw.bb18 end_block # label3: + i32.const $push49=, 16 + i32.add $push50=, $2, $pop49 + i32.load $push6=, 0($1) + call __floatsitf@FUNCTION, $pop50, $pop6 + i64.load $push15=, 16($2) + i32.const $push51=, 16 + i32.add $push52=, $2, $pop51 + i32.const $push12=, 8 + i32.add $push13=, $pop52, $pop12 + i64.load $push14=, 0($pop13) i32.const $push7=, 19 i32.add $push8=, $1, $pop7 i32.const $push9=, -16 - i32.and $push56=, $pop8, $pop9 - tee_local $push55=, $0=, $pop56 - i64.load $3=, 8($pop55) - i64.load $4=, 0($0) - i32.const $push47=, 16 - i32.add $push48=, $2, $pop47 - i32.load $push6=, 0($1) - call __floatsitf@FUNCTION, $pop48, $pop6 - i64.load $push13=, 16($2) - i32.const $push49=, 16 - i32.add $push50=, $2, $pop49 - i32.const $push10=, 8 - i32.add $push11=, $pop50, $pop10 - i64.load $push12=, 0($pop11) - call __addtf3@FUNCTION, $2, $pop13, $pop12, $4, $3 - i32.const $push18=, 0 - i64.load $push16=, 0($2) - i32.const $push54=, 8 - i32.add $push14=, $2, $pop54 - i64.load $push15=, 0($pop14) - i32.call $push17=, __fixtfsi@FUNCTION, $pop16, $pop15 - i32.store $drop=, foo_arg($pop18), $pop17 + i32.and $push58=, $pop8, $pop9 + tee_local $push57=, $0=, $pop58 + i64.load $push11=, 0($pop57) + i64.load $push10=, 8($0) + call __addtf3@FUNCTION, $2, $pop15, $pop14, $pop11, $pop10 + i32.const $push20=, 0 + i64.load $push18=, 0($2) + i32.const $push56=, 8 + i32.add $push16=, $2, $pop56 + i64.load $push17=, 0($pop16) + i32.call $push19=, __fixtfsi@FUNCTION, $pop18, $pop17 + i32.store $drop=, foo_arg($pop20), $pop19 br 1 # 1: down to label1 .LBB0_5: # %sw.bb9 end_block # label2: - i32.const $push27=, 0 - i32.const $push19=, 7 - i32.add $push20=, $1, $pop19 - i32.const $push21=, -8 - i32.and $push58=, $pop20, $pop21 - tee_local $push57=, $0=, $pop58 - i32.load $push22=, 0($pop57) - f64.convert_s/i32 $push24=, $pop22 - f64.load $push23=, 8($0) - f64.add $push25=, $pop24, $pop23 - i32.trunc_s/f64 $push26=, $pop25 - i32.store $drop=, foo_arg($pop27), $pop26 + i32.const $push29=, 0 + i32.const $push21=, 7 + i32.add $push22=, $1, $pop21 + i32.const $push23=, -8 + i32.and $push60=, $pop22, $pop23 + tee_local $push59=, $0=, $pop60 + i32.load $push25=, 0($pop59) + f64.convert_s/i32 $push26=, $pop25 + f64.load $push24=, 8($0) + f64.add $push27=, $pop26, $pop24 + i32.trunc_s/f64 $push28=, $pop27 + i32.store $drop=, foo_arg($pop29), $pop28 .LBB0_6: # %sw.epilog end_block # label1: - i32.const $push46=, __stack_pointer - i32.const $push44=, 32 - i32.add $push45=, $2, $pop44 - i32.store $drop=, 0($pop46), $pop45 + i32.const $push48=, 0 + i32.const $push46=, 32 + i32.add $push47=, $2, $pop46 + i32.store $drop=, __stack_pointer($pop48), $pop47 return .LBB0_7: # %sw.default end_block # label0: @@ -109,7 +109,7 @@ foo: # @foo .type bar,@function bar: # @bar .param i32 - .local i32, f64, i32 + .local i32, i32 # BB#0: # %entry block block @@ -117,35 +117,35 @@ bar: # @bar i32.ne $push2=, $0, $pop1 br_if 0, $pop2 # 0: down to label5 # BB#1: # %if.then + i32.const $push19=, 0 i32.const $push18=, 0 - i32.const $push17=, 0 - i32.load $push16=, gap($pop17) - tee_local $push15=, $3=, $pop16 + i32.load $push17=, gap($pop18) + tee_local $push16=, $2=, $pop17 i32.const $push3=, 4 - i32.add $push0=, $pop15, $pop3 - i32.store $1=, gap($pop18), $pop0 - i32.load $push4=, 0($3) + i32.add $push0=, $pop16, $pop3 + i32.store $1=, gap($pop19), $pop0 + i32.load $push4=, 0($2) i32.const $push5=, 13 i32.ne $push6=, $pop4, $pop5 br_if 1, $pop6 # 1: down to label4 # BB#2: # %lor.lhs.false + i32.const $push22=, 0 i32.const $push7=, 7 i32.add $push8=, $1, $pop7 i32.const $push9=, -8 i32.and $push21=, $pop8, $pop9 - tee_local $push20=, $3=, $pop21 - f64.load $2=, 0($pop20) - i32.const $push19=, 0 + tee_local $push20=, $2=, $pop21 i32.const $push10=, 8 - i32.add $push11=, $3, $pop10 - i32.store $drop=, gap($pop19), $pop11 - f64.const $push12=, -0x1.cp3 - f64.ne $push13=, $2, $pop12 - br_if 1, $pop13 # 1: down to label4 + i32.add $push11=, $pop20, $pop10 + i32.store $drop=, gap($pop22), $pop11 + f64.load $push12=, 0($2) + f64.const $push13=, -0x1.cp3 + f64.ne $push14=, $pop12, $pop13 + br_if 1, $pop14 # 1: down to label4 .LBB1_3: # %if.end6 end_block # label5: - i32.const $push14=, 0 - i32.store $drop=, bar_arg($pop14), $0 + i32.const $push15=, 0 + i32.store $drop=, bar_arg($pop15), $0 return .LBB1_4: # %if.then5 end_block # label4: @@ -172,7 +172,7 @@ f1: # @f1 i32.const $push4=, 0 i32.load $push3=, 0($1) i32.store $drop=, x($pop4), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end2: .size f1, .Lfunc_end2-f1 @@ -183,45 +183,45 @@ f1: # @f1 .type f2,@function f2: # @f2 .param i32, i32 - .local i32, f64 + .local i32 # BB#0: # %entry - i32.const $push15=, 0 - i32.store $drop=, gap($pop15), $1 + i32.const $push16=, 0 + i32.store $drop=, gap($pop16), $1 block block i32.const $push1=, 16386 i32.ne $push2=, $0, $pop1 br_if 0, $pop2 # 0: down to label7 # BB#1: # %if.then.i + i32.const $push20=, 0 i32.const $push19=, 0 - i32.const $push18=, 0 - i32.load $push17=, gap($pop18) - tee_local $push16=, $1=, $pop17 + i32.load $push18=, gap($pop19) + tee_local $push17=, $1=, $pop18 i32.const $push3=, 4 - i32.add $push0=, $pop16, $pop3 - i32.store $2=, gap($pop19), $pop0 + i32.add $push0=, $pop17, $pop3 + i32.store $2=, gap($pop20), $pop0 i32.load $push4=, 0($1) i32.const $push5=, 13 i32.ne $push6=, $pop4, $pop5 br_if 1, $pop6 # 1: down to label6 # BB#2: # %lor.lhs.false.i + i32.const $push12=, 0 i32.const $push7=, 7 i32.add $push8=, $2, $pop7 i32.const $push9=, -8 - i32.and $push21=, $pop8, $pop9 - tee_local $push20=, $1=, $pop21 - f64.load $3=, 0($pop20) - i32.const $push12=, 0 + i32.and $push22=, $pop8, $pop9 + tee_local $push21=, $1=, $pop22 i32.const $push10=, 8 - i32.add $push11=, $1, $pop10 + i32.add $push11=, $pop21, $pop10 i32.store $drop=, gap($pop12), $pop11 - f64.const $push13=, -0x1.cp3 - f64.ne $push14=, $3, $pop13 - br_if 1, $pop14 # 1: down to label6 + f64.load $push13=, 0($1) + f64.const $push14=, -0x1.cp3 + f64.ne $push15=, $pop13, $pop14 + br_if 1, $pop15 # 1: down to label6 .LBB3_3: # %bar.exit end_block # label7: - i32.const $push22=, 0 - i32.store $drop=, bar_arg($pop22), $0 + i32.const $push23=, 0 + i32.store $drop=, bar_arg($pop23), $0 return .LBB3_4: # %if.then5.i end_block # label6: @@ -239,19 +239,20 @@ f3: # @f3 .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 48 - i32.sub $2=, $pop5, $pop6 + i32.sub $push10=, $pop5, $pop6 + tee_local $push9=, $2=, $pop10 i32.store $push8=, 16($2), $1 tee_local $push7=, $1=, $pop8 i32.const $push0=, 4 i32.add $push1=, $pop7, $pop0 - i32.store $drop=, 16($2), $pop1 + i32.store $drop=, 16($pop9), $pop1 i32.const $push3=, 0 i32.load $push2=, 0($1) i32.store $drop=, x($pop3), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end4: .size f3, .Lfunc_end4-f3 @@ -262,55 +263,55 @@ f3: # @f3 .type f4,@function f4: # @f4 .param i32, i32 - .local i32, f64, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) - i32.const $push17=, 48 - i32.sub $push22=, $pop16, $pop17 - i32.store $push24=, 0($pop18), $pop22 - tee_local $push23=, $4=, $pop24 - i32.store $drop=, 16($pop23), $1 + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) + i32.const $push18=, 48 + i32.sub $push23=, $pop17, $pop18 + i32.store $push25=, __stack_pointer($pop19), $pop23 + tee_local $push24=, $3=, $pop25 + i32.store $drop=, 16($pop24), $1 block block i32.const $push1=, 16386 i32.ne $push2=, $0, $pop1 br_if 0, $pop2 # 0: down to label9 # BB#1: # %if.then.i + i32.const $push29=, 0 i32.const $push28=, 0 - i32.const $push27=, 0 - i32.load $push26=, gap($pop27) - tee_local $push25=, $1=, $pop26 + i32.load $push27=, gap($pop28) + tee_local $push26=, $1=, $pop27 i32.const $push3=, 4 - i32.add $push0=, $pop25, $pop3 - i32.store $2=, gap($pop28), $pop0 + i32.add $push0=, $pop26, $pop3 + i32.store $2=, gap($pop29), $pop0 i32.load $push4=, 0($1) i32.const $push5=, 13 i32.ne $push6=, $pop4, $pop5 br_if 1, $pop6 # 1: down to label8 # BB#2: # %lor.lhs.false.i + i32.const $push32=, 0 i32.const $push7=, 7 i32.add $push8=, $2, $pop7 i32.const $push9=, -8 i32.and $push31=, $pop8, $pop9 tee_local $push30=, $1=, $pop31 - f64.load $3=, 0($pop30) - i32.const $push29=, 0 i32.const $push10=, 8 - i32.add $push11=, $1, $pop10 - i32.store $drop=, gap($pop29), $pop11 - f64.const $push12=, -0x1.cp3 - f64.ne $push13=, $3, $pop12 - br_if 1, $pop13 # 1: down to label8 + i32.add $push11=, $pop30, $pop10 + i32.store $drop=, gap($pop32), $pop11 + f64.load $push12=, 0($1) + f64.const $push13=, -0x1.cp3 + f64.ne $push14=, $pop12, $pop13 + br_if 1, $pop14 # 1: down to label8 .LBB5_3: # %bar.exit end_block # label9: - i32.const $push14=, 0 - i32.store $drop=, bar_arg($pop14), $0 - i32.const $push21=, __stack_pointer - i32.const $push19=, 48 - i32.add $push20=, $4, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.const $push15=, 0 + i32.store $drop=, bar_arg($pop15), $0 + i32.const $push22=, 0 + i32.const $push20=, 48 + i32.add $push21=, $3, $pop20 + i32.store $drop=, __stack_pointer($pop22), $pop21 return .LBB5_4: # %if.then5.i end_block # label8: @@ -326,16 +327,16 @@ f4: # @f4 .type f5,@function f5: # @f5 .param i32, i32 - .local i64, i64, i32 + .local i32 # BB#0: # %entry - i32.const $push43=, __stack_pointer - i32.const $push40=, __stack_pointer - i32.load $push41=, 0($pop40) - i32.const $push42=, 80 - i32.sub $push51=, $pop41, $pop42 - i32.store $push53=, 0($pop43), $pop51 - tee_local $push52=, $4=, $pop53 - i32.store $drop=, 48($pop52), $1 + i32.const $push45=, 0 + i32.const $push42=, 0 + i32.load $push43=, __stack_pointer($pop42) + i32.const $push44=, 80 + i32.sub $push53=, $pop43, $pop44 + i32.store $push55=, __stack_pointer($pop45), $pop53 + tee_local $push54=, $2=, $pop55 + i32.store $drop=, 48($pop54), $1 block block block @@ -352,70 +353,70 @@ f5: # @f5 i32.ne $push5=, $0, $pop4 br_if 3, $pop5 # 3: down to label10 # BB#3: # %sw.bb.i - i32.const $push39=, 0 - i32.load $push28=, 0($1) - f64.convert_s/i32 $push33=, $pop28 - i32.const $push29=, 11 - i32.add $push30=, $1, $pop29 - i32.const $push31=, -8 - i32.and $push55=, $pop30, $pop31 - tee_local $push54=, $0=, $pop55 - f64.load $push32=, 0($pop54) - f64.add $push34=, $pop33, $pop32 - i32.trunc_s/f64 $push35=, $pop34 - i64.extend_u/i32 $push37=, $pop35 - i64.load $push36=, 8($0) - i64.add $push38=, $pop37, $pop36 - i64.store32 $drop=, foo_arg($pop39), $pop38 + i32.const $push41=, 0 + i32.load $push35=, 0($1) + f64.convert_s/i32 $push36=, $pop35 + i32.const $push30=, 11 + i32.add $push31=, $1, $pop30 + i32.const $push32=, -8 + i32.and $push57=, $pop31, $pop32 + tee_local $push56=, $0=, $pop57 + f64.load $push34=, 0($pop56) + f64.add $push37=, $pop36, $pop34 + i32.trunc_s/f64 $push38=, $pop37 + i64.extend_u/i32 $push39=, $pop38 + i64.load $push33=, 8($0) + i64.add $push40=, $pop39, $pop33 + i64.store32 $drop=, foo_arg($pop41), $pop40 br 2 # 2: down to label11 .LBB6_4: # %sw.bb18.i end_block # label13: + i32.const $push49=, 16 + i32.add $push50=, $2, $pop49 + i32.load $push6=, 0($1) + call __floatsitf@FUNCTION, $pop50, $pop6 + i64.load $push15=, 16($2) + i32.const $push51=, 16 + i32.add $push52=, $2, $pop51 + i32.const $push12=, 8 + i32.add $push13=, $pop52, $pop12 + i64.load $push14=, 0($pop13) i32.const $push7=, 19 i32.add $push8=, $1, $pop7 i32.const $push9=, -16 - i32.and $push58=, $pop8, $pop9 - tee_local $push57=, $0=, $pop58 - i64.load $2=, 8($pop57) - i64.load $3=, 0($0) - i32.const $push47=, 16 - i32.add $push48=, $4, $pop47 - i32.load $push6=, 0($1) - call __floatsitf@FUNCTION, $pop48, $pop6 - i64.load $push13=, 16($4) - i32.const $push49=, 16 - i32.add $push50=, $4, $pop49 - i32.const $push10=, 8 - i32.add $push11=, $pop50, $pop10 - i64.load $push12=, 0($pop11) - call __addtf3@FUNCTION, $4, $pop13, $pop12, $3, $2 - i32.const $push18=, 0 - i64.load $push16=, 0($4) - i32.const $push56=, 8 - i32.add $push14=, $4, $pop56 - i64.load $push15=, 0($pop14) - i32.call $push17=, __fixtfsi@FUNCTION, $pop16, $pop15 - i32.store $drop=, foo_arg($pop18), $pop17 + i32.and $push60=, $pop8, $pop9 + tee_local $push59=, $0=, $pop60 + i64.load $push11=, 0($pop59) + i64.load $push10=, 8($0) + call __addtf3@FUNCTION, $2, $pop15, $pop14, $pop11, $pop10 + i32.const $push20=, 0 + i64.load $push18=, 0($2) + i32.const $push58=, 8 + i32.add $push16=, $2, $pop58 + i64.load $push17=, 0($pop16) + i32.call $push19=, __fixtfsi@FUNCTION, $pop18, $pop17 + i32.store $drop=, foo_arg($pop20), $pop19 br 1 # 1: down to label11 .LBB6_5: # %sw.bb9.i end_block # label12: - i32.const $push27=, 0 - i32.const $push19=, 7 - i32.add $push20=, $1, $pop19 - i32.const $push21=, -8 - i32.and $push60=, $pop20, $pop21 - tee_local $push59=, $0=, $pop60 - f64.load $push23=, 8($pop59) - i32.load $push22=, 0($0) - f64.convert_s/i32 $push24=, $pop22 - f64.add $push25=, $pop23, $pop24 - i32.trunc_s/f64 $push26=, $pop25 - i32.store $drop=, foo_arg($pop27), $pop26 + i32.const $push29=, 0 + i32.const $push21=, 7 + i32.add $push22=, $1, $pop21 + i32.const $push23=, -8 + i32.and $push62=, $pop22, $pop23 + tee_local $push61=, $0=, $pop62 + f64.load $push24=, 8($pop61) + i32.load $push25=, 0($0) + f64.convert_s/i32 $push26=, $pop25 + f64.add $push27=, $pop24, $pop26 + i32.trunc_s/f64 $push28=, $pop27 + i32.store $drop=, foo_arg($pop29), $pop28 .LBB6_6: # %foo.exit end_block # label11: - i32.const $push46=, __stack_pointer - i32.const $push44=, 80 - i32.add $push45=, $4, $pop44 - i32.store $drop=, 0($pop46), $pop45 + i32.const $push48=, 0 + i32.const $push46=, 80 + i32.add $push47=, $2, $pop46 + i32.store $drop=, __stack_pointer($pop48), $pop47 return .LBB6_7: # %sw.default.i end_block # label10: @@ -433,19 +434,20 @@ f6: # @f6 .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 - i32.sub $2=, $pop5, $pop6 + i32.sub $push10=, $pop5, $pop6 + tee_local $push9=, $2=, $pop10 i32.store $push8=, 4($2), $1 tee_local $push7=, $1=, $pop8 i32.const $push0=, 4 i32.add $push1=, $pop7, $pop0 - i32.store $drop=, 4($2), $pop1 + i32.store $drop=, 4($pop9), $pop1 i32.const $push3=, 0 i32.load $push2=, 0($1) i32.store $drop=, x($pop3), $pop2 - return + # fallthrough-return .endfunc .Lfunc_end7: .size f6, .Lfunc_end7-f6 @@ -456,55 +458,55 @@ f6: # @f6 .type f7,@function f7: # @f7 .param i32, i32 - .local i32, f64, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) - i32.const $push17=, 16 - i32.sub $push22=, $pop16, $pop17 - i32.store $push24=, 0($pop18), $pop22 - tee_local $push23=, $4=, $pop24 - i32.store $drop=, 4($pop23), $1 + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) + i32.const $push18=, 16 + i32.sub $push23=, $pop17, $pop18 + i32.store $push25=, __stack_pointer($pop19), $pop23 + tee_local $push24=, $3=, $pop25 + i32.store $drop=, 4($pop24), $1 block block i32.const $push1=, 16386 i32.ne $push2=, $0, $pop1 br_if 0, $pop2 # 0: down to label15 # BB#1: # %if.then.i + i32.const $push29=, 0 i32.const $push28=, 0 - i32.const $push27=, 0 - i32.load $push26=, gap($pop27) - tee_local $push25=, $1=, $pop26 + i32.load $push27=, gap($pop28) + tee_local $push26=, $1=, $pop27 i32.const $push3=, 4 - i32.add $push0=, $pop25, $pop3 - i32.store $2=, gap($pop28), $pop0 + i32.add $push0=, $pop26, $pop3 + i32.store $2=, gap($pop29), $pop0 i32.load $push4=, 0($1) i32.const $push5=, 13 i32.ne $push6=, $pop4, $pop5 br_if 1, $pop6 # 1: down to label14 # BB#2: # %lor.lhs.false.i + i32.const $push32=, 0 i32.const $push7=, 7 i32.add $push8=, $2, $pop7 i32.const $push9=, -8 i32.and $push31=, $pop8, $pop9 tee_local $push30=, $1=, $pop31 - f64.load $3=, 0($pop30) - i32.const $push29=, 0 i32.const $push10=, 8 - i32.add $push11=, $1, $pop10 - i32.store $drop=, gap($pop29), $pop11 - f64.const $push12=, -0x1.cp3 - f64.ne $push13=, $3, $pop12 - br_if 1, $pop13 # 1: down to label14 + i32.add $push11=, $pop30, $pop10 + i32.store $drop=, gap($pop32), $pop11 + f64.load $push12=, 0($1) + f64.const $push13=, -0x1.cp3 + f64.ne $push14=, $pop12, $pop13 + br_if 1, $pop14 # 1: down to label14 .LBB8_3: # %bar.exit end_block # label15: - i32.const $push14=, 0 - i32.store $drop=, bar_arg($pop14), $0 - i32.const $push21=, __stack_pointer - i32.const $push19=, 16 - i32.add $push20=, $4, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.const $push15=, 0 + i32.store $drop=, bar_arg($pop15), $0 + i32.const $push22=, 0 + i32.const $push20=, 16 + i32.add $push21=, $3, $pop20 + i32.store $drop=, __stack_pointer($pop22), $pop21 return .LBB8_4: # %if.then5.i end_block # label14: @@ -520,16 +522,16 @@ f7: # @f7 .type f8,@function f8: # @f8 .param i32, i32 - .local i64, i64, i32 + .local i32 # BB#0: # %entry - i32.const $push43=, __stack_pointer - i32.const $push40=, __stack_pointer - i32.load $push41=, 0($pop40) - i32.const $push42=, 48 - i32.sub $push51=, $pop41, $pop42 - i32.store $push53=, 0($pop43), $pop51 - tee_local $push52=, $4=, $pop53 - i32.store $drop=, 36($pop52), $1 + i32.const $push45=, 0 + i32.const $push42=, 0 + i32.load $push43=, __stack_pointer($pop42) + i32.const $push44=, 48 + i32.sub $push53=, $pop43, $pop44 + i32.store $push55=, __stack_pointer($pop45), $pop53 + tee_local $push54=, $2=, $pop55 + i32.store $drop=, 36($pop54), $1 block block block @@ -546,70 +548,70 @@ f8: # @f8 i32.ne $push5=, $0, $pop4 br_if 3, $pop5 # 3: down to label16 # BB#3: # %sw.bb.i - i32.const $push39=, 0 - i32.load $push28=, 0($1) - f64.convert_s/i32 $push33=, $pop28 - i32.const $push29=, 11 - i32.add $push30=, $1, $pop29 - i32.const $push31=, -8 - i32.and $push55=, $pop30, $pop31 - tee_local $push54=, $0=, $pop55 - f64.load $push32=, 0($pop54) - f64.add $push34=, $pop33, $pop32 - i32.trunc_s/f64 $push35=, $pop34 - i64.extend_u/i32 $push37=, $pop35 - i64.load $push36=, 8($0) - i64.add $push38=, $pop37, $pop36 - i64.store32 $drop=, foo_arg($pop39), $pop38 + i32.const $push41=, 0 + i32.load $push35=, 0($1) + f64.convert_s/i32 $push36=, $pop35 + i32.const $push30=, 11 + i32.add $push31=, $1, $pop30 + i32.const $push32=, -8 + i32.and $push57=, $pop31, $pop32 + tee_local $push56=, $0=, $pop57 + f64.load $push34=, 0($pop56) + f64.add $push37=, $pop36, $pop34 + i32.trunc_s/f64 $push38=, $pop37 + i64.extend_u/i32 $push39=, $pop38 + i64.load $push33=, 8($0) + i64.add $push40=, $pop39, $pop33 + i64.store32 $drop=, foo_arg($pop41), $pop40 br 2 # 2: down to label17 .LBB9_4: # %sw.bb18.i end_block # label19: + i32.const $push49=, 16 + i32.add $push50=, $2, $pop49 + i32.load $push6=, 0($1) + call __floatsitf@FUNCTION, $pop50, $pop6 + i64.load $push15=, 16($2) + i32.const $push51=, 16 + i32.add $push52=, $2, $pop51 + i32.const $push12=, 8 + i32.add $push13=, $pop52, $pop12 + i64.load $push14=, 0($pop13) i32.const $push7=, 19 i32.add $push8=, $1, $pop7 i32.const $push9=, -16 - i32.and $push58=, $pop8, $pop9 - tee_local $push57=, $0=, $pop58 - i64.load $2=, 8($pop57) - i64.load $3=, 0($0) - i32.const $push47=, 16 - i32.add $push48=, $4, $pop47 - i32.load $push6=, 0($1) - call __floatsitf@FUNCTION, $pop48, $pop6 - i64.load $push13=, 16($4) - i32.const $push49=, 16 - i32.add $push50=, $4, $pop49 - i32.const $push10=, 8 - i32.add $push11=, $pop50, $pop10 - i64.load $push12=, 0($pop11) - call __addtf3@FUNCTION, $4, $pop13, $pop12, $3, $2 - i32.const $push18=, 0 - i64.load $push16=, 0($4) - i32.const $push56=, 8 - i32.add $push14=, $4, $pop56 - i64.load $push15=, 0($pop14) - i32.call $push17=, __fixtfsi@FUNCTION, $pop16, $pop15 - i32.store $drop=, foo_arg($pop18), $pop17 + i32.and $push60=, $pop8, $pop9 + tee_local $push59=, $0=, $pop60 + i64.load $push11=, 0($pop59) + i64.load $push10=, 8($0) + call __addtf3@FUNCTION, $2, $pop15, $pop14, $pop11, $pop10 + i32.const $push20=, 0 + i64.load $push18=, 0($2) + i32.const $push58=, 8 + i32.add $push16=, $2, $pop58 + i64.load $push17=, 0($pop16) + i32.call $push19=, __fixtfsi@FUNCTION, $pop18, $pop17 + i32.store $drop=, foo_arg($pop20), $pop19 br 1 # 1: down to label17 .LBB9_5: # %sw.bb9.i end_block # label18: - i32.const $push27=, 0 - i32.const $push19=, 7 - i32.add $push20=, $1, $pop19 - i32.const $push21=, -8 - i32.and $push60=, $pop20, $pop21 - tee_local $push59=, $0=, $pop60 - f64.load $push23=, 8($pop59) - i32.load $push22=, 0($0) - f64.convert_s/i32 $push24=, $pop22 - f64.add $push25=, $pop23, $pop24 - i32.trunc_s/f64 $push26=, $pop25 - i32.store $drop=, foo_arg($pop27), $pop26 + i32.const $push29=, 0 + i32.const $push21=, 7 + i32.add $push22=, $1, $pop21 + i32.const $push23=, -8 + i32.and $push62=, $pop22, $pop23 + tee_local $push61=, $0=, $pop62 + f64.load $push24=, 8($pop61) + i32.load $push25=, 0($0) + f64.convert_s/i32 $push26=, $pop25 + f64.add $push27=, $pop24, $pop26 + i32.trunc_s/f64 $push28=, $pop27 + i32.store $drop=, foo_arg($pop29), $pop28 .LBB9_6: # %foo.exit end_block # label17: - i32.const $push46=, __stack_pointer - i32.const $push44=, 48 - i32.add $push45=, $4, $pop44 - i32.store $drop=, 0($pop46), $pop45 + i32.const $push48=, 0 + i32.const $push46=, 48 + i32.add $push47=, $2, $pop46 + i32.store $drop=, __stack_pointer($pop48), $pop47 return .LBB9_7: # %sw.default.i end_block # label16: @@ -627,21 +629,22 @@ f10: # @f10 .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push8=, $pop6, $pop7 i32.const $push0=, 12 - i32.add $2=, $pop8, $pop0 + i32.add $push12=, $pop8, $pop0 + tee_local $push11=, $2=, $pop12 i32.store $push10=, 0($2), $1 tee_local $push9=, $1=, $pop10 i32.const $push1=, 4 i32.add $push2=, $pop9, $pop1 - i32.store $drop=, 0($2), $pop2 + i32.store $drop=, 0($pop11), $pop2 i32.const $push4=, 0 i32.load $push3=, 0($1) i32.store $drop=, x($pop4), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end10: .size f10, .Lfunc_end10-f10 @@ -652,17 +655,17 @@ f10: # @f10 .type f11,@function f11: # @f11 .param i32, i32 - .local i32, f64, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push20=, __stack_pointer - i32.const $push17=, __stack_pointer - i32.load $push18=, 0($pop17) - i32.const $push19=, 16 - i32.sub $push24=, $pop18, $pop19 - i32.store $push26=, 0($pop20), $pop24 - tee_local $push25=, $4=, $pop26 + i32.const $push21=, 0 + i32.const $push18=, 0 + i32.load $push19=, __stack_pointer($pop18) + i32.const $push20=, 16 + i32.sub $push25=, $pop19, $pop20 + i32.store $push27=, __stack_pointer($pop21), $pop25 + tee_local $push26=, $3=, $pop27 i32.const $push2=, 12 - i32.add $push0=, $pop25, $pop2 + i32.add $push0=, $pop26, $pop2 i32.store $drop=, 0($pop0), $1 block block @@ -670,39 +673,39 @@ f11: # @f11 i32.ne $push4=, $0, $pop3 br_if 0, $pop4 # 0: down to label21 # BB#1: # %if.then.i + i32.const $push31=, 0 i32.const $push30=, 0 - i32.const $push29=, 0 - i32.load $push28=, gap($pop29) - tee_local $push27=, $1=, $pop28 + i32.load $push29=, gap($pop30) + tee_local $push28=, $1=, $pop29 i32.const $push5=, 4 - i32.add $push1=, $pop27, $pop5 - i32.store $2=, gap($pop30), $pop1 + i32.add $push1=, $pop28, $pop5 + i32.store $2=, gap($pop31), $pop1 i32.load $push6=, 0($1) i32.const $push7=, 13 i32.ne $push8=, $pop6, $pop7 br_if 1, $pop8 # 1: down to label20 # BB#2: # %lor.lhs.false.i + i32.const $push34=, 0 i32.const $push9=, 7 i32.add $push10=, $2, $pop9 i32.const $push11=, -8 i32.and $push33=, $pop10, $pop11 tee_local $push32=, $1=, $pop33 - f64.load $3=, 0($pop32) - i32.const $push31=, 0 i32.const $push12=, 8 - i32.add $push13=, $1, $pop12 - i32.store $drop=, gap($pop31), $pop13 - f64.const $push14=, -0x1.cp3 - f64.ne $push15=, $3, $pop14 - br_if 1, $pop15 # 1: down to label20 + i32.add $push13=, $pop32, $pop12 + i32.store $drop=, gap($pop34), $pop13 + f64.load $push14=, 0($1) + f64.const $push15=, -0x1.cp3 + f64.ne $push16=, $pop14, $pop15 + br_if 1, $pop16 # 1: down to label20 .LBB11_3: # %bar.exit end_block # label21: - i32.const $push16=, 0 - i32.store $drop=, bar_arg($pop16), $0 - i32.const $push23=, __stack_pointer - i32.const $push21=, 16 - i32.add $push22=, $4, $pop21 - i32.store $drop=, 0($pop23), $pop22 + i32.const $push17=, 0 + i32.store $drop=, bar_arg($pop17), $0 + i32.const $push24=, 0 + i32.const $push22=, 16 + i32.add $push23=, $3, $pop22 + i32.store $drop=, __stack_pointer($pop24), $pop23 return .LBB11_4: # %if.then5.i end_block # label20: @@ -718,17 +721,17 @@ f11: # @f11 .type f12,@function f12: # @f12 .param i32, i32 - .local i64, i64, i32 + .local i32 # BB#0: # %entry - i32.const $push45=, __stack_pointer - i32.const $push42=, __stack_pointer - i32.load $push43=, 0($pop42) - i32.const $push44=, 48 - i32.sub $push53=, $pop43, $pop44 - i32.store $push55=, 0($pop45), $pop53 - tee_local $push54=, $4=, $pop55 + i32.const $push47=, 0 + i32.const $push44=, 0 + i32.load $push45=, __stack_pointer($pop44) + i32.const $push46=, 48 + i32.sub $push55=, $pop45, $pop46 + i32.store $push57=, __stack_pointer($pop47), $pop55 + tee_local $push56=, $2=, $pop57 i32.const $push1=, 44 - i32.add $push0=, $pop54, $pop1 + i32.add $push0=, $pop56, $pop1 i32.store $drop=, 0($pop0), $1 block block @@ -746,70 +749,70 @@ f12: # @f12 i32.ne $push7=, $0, $pop6 br_if 3, $pop7 # 3: down to label22 # BB#3: # %sw.bb.i - i32.const $push41=, 0 - i32.load $push30=, 0($1) - f64.convert_s/i32 $push35=, $pop30 - i32.const $push31=, 11 - i32.add $push32=, $1, $pop31 - i32.const $push33=, -8 - i32.and $push57=, $pop32, $pop33 - tee_local $push56=, $0=, $pop57 - f64.load $push34=, 0($pop56) - f64.add $push36=, $pop35, $pop34 - i32.trunc_s/f64 $push37=, $pop36 - i64.extend_u/i32 $push39=, $pop37 - i64.load $push38=, 8($0) - i64.add $push40=, $pop39, $pop38 - i64.store32 $drop=, foo_arg($pop41), $pop40 + i32.const $push43=, 0 + i32.load $push37=, 0($1) + f64.convert_s/i32 $push38=, $pop37 + i32.const $push32=, 11 + i32.add $push33=, $1, $pop32 + i32.const $push34=, -8 + i32.and $push59=, $pop33, $pop34 + tee_local $push58=, $0=, $pop59 + f64.load $push36=, 0($pop58) + f64.add $push39=, $pop38, $pop36 + i32.trunc_s/f64 $push40=, $pop39 + i64.extend_u/i32 $push41=, $pop40 + i64.load $push35=, 8($0) + i64.add $push42=, $pop41, $pop35 + i64.store32 $drop=, foo_arg($pop43), $pop42 br 2 # 2: down to label23 .LBB12_4: # %sw.bb18.i end_block # label25: + i32.const $push51=, 16 + i32.add $push52=, $2, $pop51 + i32.load $push8=, 0($1) + call __floatsitf@FUNCTION, $pop52, $pop8 + i64.load $push17=, 16($2) + i32.const $push53=, 16 + i32.add $push54=, $2, $pop53 + i32.const $push14=, 8 + i32.add $push15=, $pop54, $pop14 + i64.load $push16=, 0($pop15) i32.const $push9=, 19 i32.add $push10=, $1, $pop9 i32.const $push11=, -16 - i32.and $push60=, $pop10, $pop11 - tee_local $push59=, $0=, $pop60 - i64.load $2=, 8($pop59) - i64.load $3=, 0($0) - i32.const $push49=, 16 - i32.add $push50=, $4, $pop49 - i32.load $push8=, 0($1) - call __floatsitf@FUNCTION, $pop50, $pop8 - i64.load $push15=, 16($4) - i32.const $push51=, 16 - i32.add $push52=, $4, $pop51 - i32.const $push12=, 8 - i32.add $push13=, $pop52, $pop12 - i64.load $push14=, 0($pop13) - call __addtf3@FUNCTION, $4, $pop15, $pop14, $3, $2 - i32.const $push20=, 0 - i64.load $push18=, 0($4) - i32.const $push58=, 8 - i32.add $push16=, $4, $pop58 - i64.load $push17=, 0($pop16) - i32.call $push19=, __fixtfsi@FUNCTION, $pop18, $pop17 - i32.store $drop=, foo_arg($pop20), $pop19 + i32.and $push62=, $pop10, $pop11 + tee_local $push61=, $0=, $pop62 + i64.load $push13=, 0($pop61) + i64.load $push12=, 8($0) + call __addtf3@FUNCTION, $2, $pop17, $pop16, $pop13, $pop12 + i32.const $push22=, 0 + i64.load $push20=, 0($2) + i32.const $push60=, 8 + i32.add $push18=, $2, $pop60 + i64.load $push19=, 0($pop18) + i32.call $push21=, __fixtfsi@FUNCTION, $pop20, $pop19 + i32.store $drop=, foo_arg($pop22), $pop21 br 1 # 1: down to label23 .LBB12_5: # %sw.bb9.i end_block # label24: - i32.const $push29=, 0 - i32.const $push21=, 7 - i32.add $push22=, $1, $pop21 - i32.const $push23=, -8 - i32.and $push62=, $pop22, $pop23 - tee_local $push61=, $0=, $pop62 - f64.load $push25=, 8($pop61) - i32.load $push24=, 0($0) - f64.convert_s/i32 $push26=, $pop24 - f64.add $push27=, $pop25, $pop26 - i32.trunc_s/f64 $push28=, $pop27 - i32.store $drop=, foo_arg($pop29), $pop28 + i32.const $push31=, 0 + i32.const $push23=, 7 + i32.add $push24=, $1, $pop23 + i32.const $push25=, -8 + i32.and $push64=, $pop24, $pop25 + tee_local $push63=, $0=, $pop64 + f64.load $push26=, 8($pop63) + i32.load $push27=, 0($0) + f64.convert_s/i32 $push28=, $pop27 + f64.add $push29=, $pop26, $pop28 + i32.trunc_s/f64 $push30=, $pop29 + i32.store $drop=, foo_arg($pop31), $pop30 .LBB12_6: # %foo.exit end_block # label23: - i32.const $push48=, __stack_pointer - i32.const $push46=, 48 - i32.add $push47=, $4, $pop46 - i32.store $drop=, 0($pop48), $pop47 + i32.const $push50=, 0 + i32.const $push48=, 48 + i32.add $push49=, $2, $pop48 + i32.store $drop=, __stack_pointer($pop50), $pop49 return .LBB12_7: # %sw.default.i end_block # label22: @@ -827,12 +830,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push54=, __stack_pointer - i32.const $push51=, __stack_pointer - i32.load $push52=, 0($pop51) + i32.const $push54=, 0 + i32.const $push51=, 0 + i32.load $push52=, __stack_pointer($pop51) i32.const $push53=, 176 i32.sub $push74=, $pop52, $pop53 - i32.store $push77=, 0($pop54), $pop74 + i32.store $push77=, __stack_pointer($pop54), $pop74 tee_local $push76=, $1=, $pop77 i32.const $push0=, 79 i32.store $0=, 160($pop76), $pop0 @@ -967,10 +970,10 @@ main: # @main i32.ne $push50=, $pop48, $pop49 br_if 0, $pop50 # 0: down to label26 # BB#11: # %if.end30 - i32.const $push57=, __stack_pointer + i32.const $push57=, 0 i32.const $push55=, 176 i32.add $push56=, $1, $pop55 - i32.store $drop=, 0($pop57), $pop56 + i32.store $drop=, __stack_pointer($pop57), $pop56 i32.const $push94=, 0 return $pop94 .LBB13_12: # %if.then29 diff --git a/test/torture-s/stdarg-3.c.s b/test/torture-s/stdarg-3.c.s index 01138c1a5..2150b97e4 100644 --- a/test/torture-s/stdarg-3.c.s +++ b/test/torture-s/stdarg-3.c.s @@ -9,7 +9,7 @@ bar: # @bar # BB#0: # %entry i32.const $push0=, 0 i32.store $drop=, bar_arg($pop0), $0 - return + # fallthrough-return .endfunc .Lfunc_end0: .size bar, .Lfunc_end0-bar @@ -22,8 +22,8 @@ f1: # @f1 .param i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push9=, $pop5, $pop6 tee_local $push8=, $3=, $pop9 @@ -34,27 +34,28 @@ f1: # @f1 br_if 0, $pop1 # 0: down to label0 # BB#1: # %while.body.preheader i32.const $push10=, 1 - i32.add $0=, $0, $pop10 - i32.load $1=, 12($3) + i32.add $1=, $0, $pop10 + i32.load $0=, 12($3) .LBB1_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label1: - i32.const $push14=, 4 - i32.add $push0=, $1, $pop14 + i32.const $push16=, 4 + i32.add $push0=, $0, $pop16 i32.store $2=, 12($3), $pop0 - i32.const $push13=, 0 - i32.load $push2=, 0($1) - i32.store $drop=, x($pop13), $pop2 - i32.const $push12=, -1 - i32.add $0=, $0, $pop12 - copy_local $1=, $2 + i32.const $push15=, 0 + i32.load $push2=, 0($0) + i32.store $drop=, x($pop15), $pop2 + copy_local $0=, $2 + i32.const $push14=, -1 + i32.add $push13=, $1, $pop14 + tee_local $push12=, $1=, $pop13 i32.const $push11=, 1 - i32.gt_s $push3=, $0, $pop11 + i32.gt_s $push3=, $pop12, $pop11 br_if 0, $pop3 # 0: up to label1 .LBB1_3: # %while.end end_loop # label2: end_block # label0: - return + # fallthrough-return .endfunc .Lfunc_end1: .size f1, .Lfunc_end1-f1 @@ -67,8 +68,8 @@ f2: # @f2 .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 16 i32.sub $push9=, $pop5, $pop6 tee_local $push8=, $2=, $pop9 @@ -79,32 +80,33 @@ f2: # @f2 br_if 0, $pop0 # 0: down to label3 # BB#1: # %while.body.lr.ph i32.const $push10=, 1 - i32.add $0=, $0, $pop10 - i32.load $1=, 12($2) + i32.add $1=, $0, $pop10 + i32.load $0=, 12($2) .LBB2_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label4: - i32.const $push18=, 0 - i32.const $push17=, 7 - i32.add $push1=, $1, $pop17 - i32.const $push16=, -8 - i32.and $push15=, $pop1, $pop16 - tee_local $push14=, $1=, $pop15 - i64.load $push2=, 0($pop14) - i64.store $drop=, d($pop18), $pop2 - i32.const $push13=, 8 - i32.add $1=, $1, $pop13 - i32.const $push12=, -1 - i32.add $0=, $0, $pop12 + i32.const $push20=, 0 + i32.const $push19=, 7 + i32.add $push1=, $0, $pop19 + i32.const $push18=, -8 + i32.and $push17=, $pop1, $pop18 + tee_local $push16=, $0=, $pop17 + i64.load $push2=, 0($pop16) + i64.store $drop=, d($pop20), $pop2 + i32.const $push15=, 8 + i32.add $0=, $0, $pop15 + i32.const $push14=, -1 + i32.add $push13=, $1, $pop14 + tee_local $push12=, $1=, $pop13 i32.const $push11=, 1 - i32.gt_s $push3=, $0, $pop11 + i32.gt_s $push3=, $pop12, $pop11 br_if 0, $pop3 # 0: up to label4 # BB#3: # %while.end.loopexit end_loop # label5: - i32.store $drop=, 12($2), $1 + i32.store $drop=, 12($2), $0 .LBB2_4: # %while.end end_block # label3: - return + # fallthrough-return .endfunc .Lfunc_end2: .size f2, .Lfunc_end2-f2 @@ -117,8 +119,8 @@ f3: # @f3 .param i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $4=, $pop6, $pop7 block @@ -135,20 +137,21 @@ f3: # @f3 loop # label7: i32.store $2=, 12($4), $1 i32.store $drop=, 12($4), $3 - i32.const $push13=, 0 - i32.const $push12=, 0 + i32.const $push15=, 0 + i32.const $push14=, 0 i32.load $push3=, 0($2) - i32.store $push0=, x($pop12), $pop3 - i32.store $drop=, bar_arg($pop13), $pop0 - i32.const $push11=, -1 - i32.add $0=, $0, $pop11 + i32.store $push0=, bar_arg($pop14), $pop3 + i32.store $drop=, x($pop15), $pop0 + i32.const $push13=, -1 + i32.add $push12=, $0, $pop13 + tee_local $push11=, $0=, $pop12 i32.const $push10=, 1 - i32.gt_s $push4=, $0, $pop10 + i32.gt_s $push4=, $pop11, $pop10 br_if 0, $pop4 # 0: up to label7 .LBB3_3: # %while.end end_loop # label8: end_block # label6: - return + # fallthrough-return .endfunc .Lfunc_end3: .size f3, .Lfunc_end3-f3 @@ -159,50 +162,51 @@ f3: # @f3 .type f4,@function f4: # @f4 .param i32, i32 - .local i32, f64, i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.load $push10=, 0($pop9) - i32.const $push11=, 16 - i32.sub $4=, $pop10, $pop11 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) + i32.const $push12=, 16 + i32.sub $4=, $pop11, $pop12 block - i32.const $push12=, 1 - i32.lt_s $push0=, $0, $pop12 + i32.const $push13=, 1 + i32.lt_s $push0=, $0, $pop13 br_if 0, $pop0 # 0: down to label9 # BB#1: # %while.body.lr.ph - i32.const $push15=, 1 - i32.add $0=, $0, $pop15 + i32.const $push16=, 1 + i32.add $0=, $0, $pop16 i32.const $push1=, 7 i32.add $push2=, $1, $pop1 i32.const $push3=, -8 - i32.and $push14=, $pop2, $pop3 - tee_local $push13=, $5=, $pop14 - i32.const $push4=, 8 - i32.add $2=, $pop13, $pop4 + i32.and $push15=, $pop2, $pop3 + tee_local $push14=, $2=, $pop15 + i32.const $push8=, 8 + i32.add $3=, $pop14, $pop8 .LBB4_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label10: - i32.const $push21=, 0 - i64.load $push5=, 0($5) - i64.store $drop=, d($pop21), $pop5 - i32.const $push20=, 0 - f64.load $3=, d($pop20) i32.store $drop=, 12($4), $1 - i32.store $drop=, 12($4), $2 - i32.const $push19=, 0 - f64.const $push18=, 0x1p2 - f64.add $push6=, $3, $pop18 + i32.const $push24=, 0 + i64.load $push4=, 0($2) + i64.store $drop=, d($pop24), $pop4 + i32.const $push23=, 0 + i32.const $push22=, 0 + f64.load $push5=, d($pop22) + f64.const $push21=, 0x1p2 + f64.add $push6=, $pop5, $pop21 i32.trunc_s/f64 $push7=, $pop6 - i32.store $drop=, bar_arg($pop19), $pop7 - i32.const $push17=, -1 - i32.add $0=, $0, $pop17 - i32.const $push16=, 1 - i32.gt_s $push8=, $0, $pop16 - br_if 0, $pop8 # 0: up to label10 + i32.store $drop=, bar_arg($pop23), $pop7 + i32.store $drop=, 12($4), $3 + i32.const $push20=, -1 + i32.add $push19=, $0, $pop20 + tee_local $push18=, $0=, $pop19 + i32.const $push17=, 1 + i32.gt_s $push9=, $pop18, $pop17 + br_if 0, $pop9 # 0: up to label10 .LBB4_3: # %while.end end_loop # label11: end_block # label9: - return + # fallthrough-return .endfunc .Lfunc_end4: .size f4, .Lfunc_end4-f4 @@ -215,8 +219,8 @@ f5: # @f5 .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 16 i32.sub $push15=, $pop11, $pop12 tee_local $push14=, $2=, $pop15 @@ -232,42 +236,43 @@ f5: # @f5 .LBB5_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label13: - i32.const $push30=, 0 - i32.const $push29=, 7 - i32.add $push1=, $0, $pop29 - i32.const $push28=, -8 - i32.and $push27=, $pop1, $pop28 - tee_local $push26=, $0=, $pop27 - i64.load $push2=, 0($pop26) - i64.store $drop=, s1($pop30), $pop2 - i32.const $push25=, 0 - i32.const $push24=, 24 - i32.add $push3=, $0, $pop24 + i32.const $push32=, 0 + i32.const $push31=, 7 + i32.add $push1=, $0, $pop31 + i32.const $push30=, -8 + i32.and $push29=, $pop1, $pop30 + tee_local $push28=, $0=, $pop29 + i64.load $push2=, 0($pop28) + i64.store $drop=, s1($pop32), $pop2 + i32.const $push27=, 0 + i32.const $push26=, 24 + i32.add $push3=, $0, $pop26 i64.load $push4=, 0($pop3) - i64.store $drop=, s1+24($pop25), $pop4 - i32.const $push23=, 0 - i32.const $push22=, 16 - i32.add $push5=, $0, $pop22 + i64.store $drop=, s1+24($pop27), $pop4 + i32.const $push25=, 0 + i32.const $push24=, 16 + i32.add $push5=, $0, $pop24 i64.load $push6=, 0($pop5) - i64.store $drop=, s1+16($pop23), $pop6 - i32.const $push21=, 0 - i32.const $push20=, 8 - i32.add $push7=, $0, $pop20 + i64.store $drop=, s1+16($pop25), $pop6 + i32.const $push23=, 0 + i32.const $push22=, 8 + i32.add $push7=, $0, $pop22 i64.load $push8=, 0($pop7) - i64.store $drop=, s1+8($pop21), $pop8 - i32.const $push19=, 32 - i32.add $0=, $0, $pop19 - i32.const $push18=, -1 - i32.add $1=, $1, $pop18 + i64.store $drop=, s1+8($pop23), $pop8 + i32.const $push21=, 32 + i32.add $0=, $0, $pop21 + i32.const $push20=, -1 + i32.add $push19=, $1, $pop20 + tee_local $push18=, $1=, $pop19 i32.const $push17=, 1 - i32.gt_s $push9=, $1, $pop17 + i32.gt_s $push9=, $pop18, $pop17 br_if 0, $pop9 # 0: up to label13 # BB#3: # %while.end.loopexit end_loop # label14: i32.store $drop=, 12($2), $0 .LBB5_4: # %while.end end_block # label12: - return + # fallthrough-return .endfunc .Lfunc_end5: .size f5, .Lfunc_end5-f5 @@ -280,8 +285,8 @@ f6: # @f6 .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push11=, $pop7, $pop8 tee_local $push10=, $2=, $pop11 @@ -292,37 +297,38 @@ f6: # @f6 br_if 0, $pop0 # 0: down to label15 # BB#1: # %while.body.lr.ph i32.const $push12=, 1 - i32.add $0=, $0, $pop12 - i32.load $1=, 12($2) + i32.add $1=, $0, $pop12 + i32.load $0=, 12($2) .LBB6_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label16: - i32.const $push22=, 0 - i32.const $push21=, 7 - i32.add $push1=, $1, $pop21 - i32.const $push20=, -8 - i32.and $push19=, $pop1, $pop20 - tee_local $push18=, $1=, $pop19 - i64.load $push2=, 0($pop18) - i64.store $drop=, s2($pop22), $pop2 - i32.const $push17=, 0 - i32.const $push16=, 8 - i32.add $push3=, $1, $pop16 + i32.const $push24=, 0 + i32.const $push23=, 7 + i32.add $push1=, $0, $pop23 + i32.const $push22=, -8 + i32.and $push21=, $pop1, $pop22 + tee_local $push20=, $0=, $pop21 + i64.load $push2=, 0($pop20) + i64.store $drop=, s2($pop24), $pop2 + i32.const $push19=, 0 + i32.const $push18=, 8 + i32.add $push3=, $0, $pop18 i64.load $push4=, 0($pop3) - i64.store $drop=, s2+8($pop17), $pop4 - i32.const $push15=, 16 - i32.add $1=, $1, $pop15 - i32.const $push14=, -1 - i32.add $0=, $0, $pop14 + i64.store $drop=, s2+8($pop19), $pop4 + i32.const $push17=, 16 + i32.add $0=, $0, $pop17 + i32.const $push16=, -1 + i32.add $push15=, $1, $pop16 + tee_local $push14=, $1=, $pop15 i32.const $push13=, 1 - i32.gt_s $push5=, $0, $pop13 + i32.gt_s $push5=, $pop14, $pop13 br_if 0, $pop5 # 0: up to label16 # BB#3: # %while.end.loopexit end_loop # label17: - i32.store $drop=, 12($2), $1 + i32.store $drop=, 12($2), $0 .LBB6_4: # %while.end end_block # label15: - return + # fallthrough-return .endfunc .Lfunc_end6: .size f6, .Lfunc_end6-f6 @@ -335,78 +341,79 @@ f7: # @f7 .param i32, i32 .local i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push21=, __stack_pointer - i32.load $push22=, 0($pop21) + i32.const $push21=, 0 + i32.load $push22=, __stack_pointer($pop21) i32.const $push23=, 16 - i32.sub $9=, $pop22, $pop23 + i32.sub $10=, $pop22, $pop23 block i32.const $push24=, 1 i32.lt_s $push0=, $0, $pop24 br_if 0, $pop0 # 0: down to label18 # BB#1: # %while.body.lr.ph i32.const $push27=, 1 - i32.add $0=, $0, $pop27 + i32.add $9=, $0, $pop27 i32.const $push1=, 7 i32.add $push2=, $1, $pop1 i32.const $push3=, -8 i32.and $push26=, $pop2, $pop3 - tee_local $push25=, $10=, $pop26 - i32.const $push4=, 32 - i32.add $2=, $pop25, $pop4 - i32.const $push6=, 28 - i32.add $3=, $10, $pop6 - i32.const $push8=, 24 - i32.add $4=, $10, $pop8 - i32.const $push10=, 20 - i32.add $5=, $10, $pop10 - i32.const $push12=, 16 - i32.add $6=, $10, $pop12 - i32.const $push14=, 12 - i32.add $7=, $10, $pop14 - i32.const $push16=, 8 - i32.add $8=, $10, $pop16 + tee_local $push25=, $0=, $pop26 + i32.const $push5=, 28 + i32.add $2=, $pop25, $pop5 + i32.const $push7=, 24 + i32.add $3=, $0, $pop7 + i32.const $push9=, 20 + i32.add $4=, $0, $pop9 + i32.const $push11=, 16 + i32.add $5=, $0, $pop11 + i32.const $push13=, 12 + i32.add $6=, $0, $pop13 + i32.const $push15=, 8 + i32.add $7=, $0, $pop15 + i32.const $push17=, 32 + i32.add $8=, $0, $pop17 .LBB7_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label19: + i32.store $drop=, 12($10), $1 + i32.const $push41=, 0 + i32.load $push4=, 4($0) + i32.store $drop=, s1+4($pop41), $pop4 + i32.const $push40=, 0 + i32.load $push6=, 0($2) + i32.store $drop=, s1+28($pop40), $pop6 i32.const $push39=, 0 - i32.load $push5=, 4($10) - i32.store $drop=, s1+4($pop39), $pop5 + i32.load $push8=, 0($3) + i32.store $drop=, s1+24($pop39), $pop8 i32.const $push38=, 0 - i32.load $push7=, 0($3) - i32.store $drop=, s1+28($pop38), $pop7 + i32.load $push10=, 0($4) + i32.store $drop=, s1+20($pop38), $pop10 i32.const $push37=, 0 - i32.load $push9=, 0($4) - i32.store $drop=, s1+24($pop37), $pop9 + i32.load $push12=, 0($5) + i32.store $drop=, s1+16($pop37), $pop12 i32.const $push36=, 0 - i32.load $push11=, 0($5) - i32.store $drop=, s1+20($pop36), $pop11 + i32.load $push14=, 0($6) + i32.store $drop=, s1+12($pop36), $pop14 i32.const $push35=, 0 - i32.load $push13=, 0($6) - i32.store $drop=, s1+16($pop35), $pop13 + i32.load $push16=, 0($7) + i32.store $drop=, s1+8($pop35), $pop16 + i32.store $drop=, 12($10), $8 i32.const $push34=, 0 - i32.load $push15=, 0($7) - i32.store $drop=, s1+12($pop34), $pop15 + i32.load $push18=, 0($0) + i32.store $drop=, s1($pop34), $pop18 i32.const $push33=, 0 - i32.load $push17=, 0($8) - i32.store $drop=, s1+8($pop33), $pop17 - i32.store $drop=, 12($9), $1 - i32.store $drop=, 12($9), $2 i32.const $push32=, 0 - i32.load $push18=, 0($10) - i32.store $drop=, s1($pop32), $pop18 - i32.const $push31=, 0 - i32.const $push30=, 0 - i32.load $push19=, s1($pop30) - i32.store $drop=, bar_arg($pop31), $pop19 - i32.const $push29=, -1 - i32.add $0=, $0, $pop29 + i32.load $push19=, s1($pop32) + i32.store $drop=, bar_arg($pop33), $pop19 + i32.const $push31=, -1 + i32.add $push30=, $9, $pop31 + tee_local $push29=, $9=, $pop30 i32.const $push28=, 1 - i32.gt_s $push20=, $0, $pop28 + i32.gt_s $push20=, $pop29, $pop28 br_if 0, $pop20 # 0: up to label19 .LBB7_3: # %while.end end_loop # label20: end_block # label18: - return + # fallthrough-return .endfunc .Lfunc_end7: .size f7, .Lfunc_end7-f7 @@ -417,26 +424,26 @@ f7: # @f7 .type f8,@function f8: # @f8 .param i32, i32 - .local i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.load $push14=, 0($pop13) - i32.const $push15=, 16 - i32.sub $7=, $pop14, $pop15 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) + i32.const $push16=, 16 + i32.sub $6=, $pop15, $pop16 block - i32.const $push16=, 1 - i32.lt_s $push0=, $0, $pop16 + i32.const $push17=, 1 + i32.lt_s $push0=, $0, $pop17 br_if 0, $pop0 # 0: down to label21 # BB#1: # %while.body.lr.ph - i32.const $push19=, 1 - i32.add $6=, $0, $pop19 + i32.const $push20=, 1 + i32.add $5=, $0, $pop20 i32.const $push1=, 7 i32.add $push2=, $1, $pop1 i32.const $push3=, -8 - i32.and $push18=, $pop2, $pop3 - tee_local $push17=, $0=, $pop18 + i32.and $push19=, $pop2, $pop3 + tee_local $push18=, $0=, $pop19 i32.const $push6=, 12 - i32.add $2=, $pop17, $pop6 + i32.add $2=, $pop18, $pop6 i32.const $push8=, 8 i32.add $3=, $0, $pop8 i32.const $push10=, 20 @@ -444,36 +451,37 @@ f8: # @f8 .LBB8_2: # %while.body # =>This Inner Loop Header: Depth=1 loop # label22: - i32.const $push28=, 0 + i32.store $drop=, 12($6), $1 + i32.const $push31=, 0 i32.load $push4=, 4($0) - i32.store $drop=, s2+4($pop28), $pop4 - i32.store $drop=, 12($7), $1 - i32.const $push27=, 0 + i32.store $drop=, s2+4($pop31), $pop4 + i32.const $push30=, 0 i32.load $push5=, 0($0) - i32.store $drop=, s2($pop27), $pop5 - i32.const $push26=, 0 + i32.store $drop=, s2($pop30), $pop5 + i32.const $push29=, 0 i32.load $push7=, 0($2) - i32.store $drop=, s2+12($pop26), $pop7 - i32.const $push25=, 0 + i32.store $drop=, s2+12($pop29), $pop7 + i32.const $push28=, 0 i32.load $push9=, 0($3) - i32.store $drop=, s2+8($pop25), $pop9 - i32.store $drop=, 12($7), $4 - i32.const $push24=, 0 - i32.load $5=, s2+8($pop24) - i32.const $push23=, 0 + i32.store $drop=, s2+8($pop28), $pop9 + i32.store $drop=, 12($6), $4 + i32.const $push27=, 0 i32.load $push11=, 16($0) - i32.store $drop=, y($pop23), $pop11 - i32.const $push22=, 0 - i32.store $drop=, bar_arg($pop22), $5 - i32.const $push21=, -1 - i32.add $6=, $6, $pop21 - i32.const $push20=, 1 - i32.gt_s $push12=, $6, $pop20 - br_if 0, $pop12 # 0: up to label22 + i32.store $drop=, y($pop27), $pop11 + i32.const $push26=, 0 + i32.const $push25=, 0 + i32.load $push12=, s2+8($pop25) + i32.store $drop=, bar_arg($pop26), $pop12 + i32.const $push24=, -1 + i32.add $push23=, $5, $pop24 + tee_local $push22=, $5=, $pop23 + i32.const $push21=, 1 + i32.gt_s $push13=, $pop22, $pop21 + br_if 0, $pop13 # 0: up to label22 .LBB8_3: # %while.end end_loop # label23: end_block # label21: - return + # fallthrough-return .endfunc .Lfunc_end8: .size f8, .Lfunc_end8-f8 @@ -484,691 +492,691 @@ f8: # @f8 .type main,@function main: # @main .result i32 - .local i32, i64, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push237=, __stack_pointer - i32.const $push234=, __stack_pointer - i32.load $push235=, 0($pop234) - i32.const $push236=, 752 - i32.sub $push419=, $pop235, $pop236 - i32.store $push424=, 0($pop237), $pop419 - tee_local $push423=, $3=, $pop424 - i32.const $push241=, 624 - i32.add $push242=, $pop423, $pop241 - i32.const $push422=, 24 - i32.add $push1=, $pop242, $pop422 - i64.const $push2=, 55834574859 - i64.store $drop=, 0($pop1), $pop2 - i32.const $push243=, 624 - i32.add $push244=, $3, $pop243 - i32.const $push421=, 16 - i32.add $push3=, $pop244, $pop421 - i64.const $push4=, 38654705671 - i64.store $drop=, 0($pop3), $pop4 - i64.const $push5=, 21474836483 - i64.store $drop=, 632($3), $pop5 - i64.const $push6=, 8589934593 - i64.store $drop=, 624($3), $pop6 - i32.const $push7=, 7 - i32.const $push245=, 624 - i32.add $push246=, $3, $pop245 - call f1@FUNCTION, $pop7, $pop246 + i32.const $push240=, 0 + i32.const $push237=, 0 + i32.load $push238=, __stack_pointer($pop237) + i32.const $push239=, 752 + i32.sub $push422=, $pop238, $pop239 + i32.store $push427=, __stack_pointer($pop240), $pop422 + tee_local $push426=, $2=, $pop427 + i32.const $push244=, 624 + i32.add $push245=, $pop426, $pop244 + i32.const $push425=, 24 + i32.add $push2=, $pop245, $pop425 + i64.const $push3=, 55834574859 + i64.store $drop=, 0($pop2), $pop3 + i32.const $push246=, 624 + i32.add $push247=, $2, $pop246 + i32.const $push424=, 16 + i32.add $push4=, $pop247, $pop424 + i64.const $push5=, 38654705671 + i64.store $drop=, 0($pop4), $pop5 + i64.const $push6=, 21474836483 + i64.store $drop=, 632($2), $pop6 + i64.const $push7=, 8589934593 + i64.store $drop=, 624($2), $pop7 + i32.const $push8=, 7 + i32.const $push248=, 624 + i32.add $push249=, $2, $pop248 + call f1@FUNCTION, $pop8, $pop249 block - i32.const $push420=, 0 - i32.load $push8=, x($pop420) - i32.const $push9=, 11 - i32.ne $push10=, $pop8, $pop9 - br_if 0, $pop10 # 0: down to label24 + i32.const $push423=, 0 + i32.load $push9=, x($pop423) + i32.const $push10=, 11 + i32.ne $push11=, $pop9, $pop10 + br_if 0, $pop11 # 0: down to label24 # BB#1: # %if.end - i32.const $push11=, 608 - i32.add $push12=, $3, $pop11 - i64.const $push13=, 4634204016564240384 - i64.store $drop=, 0($pop12), $pop13 - i32.const $push14=, 600 - i32.add $push15=, $3, $pop14 - i64.const $push16=, 4629700416936869888 - i64.store $drop=, 0($pop15), $pop16 - i32.const $push17=, 592 - i32.add $push18=, $3, $pop17 - i64.const $push19=, 4625196817309499392 - i64.store $drop=, 0($pop18), $pop19 - i32.const $push247=, 560 - i32.add $push248=, $3, $pop247 - i32.const $push427=, 24 - i32.add $push20=, $pop248, $pop427 - i64.const $push21=, 4620693217682128896 - i64.store $drop=, 0($pop20), $pop21 - i32.const $push249=, 560 - i32.add $push250=, $3, $pop249 - i32.const $push426=, 16 - i32.add $push22=, $pop250, $pop426 - i64.const $push23=, 4616189618054758400 - i64.store $drop=, 0($pop22), $pop23 - i64.const $push24=, 4611686018427387904 - i64.store $drop=, 568($3), $pop24 - i64.const $push25=, 4607182418800017408 - i64.store $drop=, 560($3), $pop25 - i32.const $push26=, 6 - i32.const $push251=, 560 - i32.add $push252=, $3, $pop251 - call f2@FUNCTION, $pop26, $pop252 - i32.const $push425=, 0 - f64.load $push27=, d($pop425) - f64.const $push28=, 0x1p5 - f64.ne $push29=, $pop27, $pop28 - br_if 0, $pop29 # 0: down to label24 + i32.const $push12=, 608 + i32.add $push13=, $2, $pop12 + i64.const $push14=, 4634204016564240384 + i64.store $drop=, 0($pop13), $pop14 + i32.const $push15=, 600 + i32.add $push16=, $2, $pop15 + i64.const $push17=, 4629700416936869888 + i64.store $drop=, 0($pop16), $pop17 + i32.const $push18=, 592 + i32.add $push19=, $2, $pop18 + i64.const $push20=, 4625196817309499392 + i64.store $drop=, 0($pop19), $pop20 + i32.const $push250=, 560 + i32.add $push251=, $2, $pop250 + i32.const $push430=, 24 + i32.add $push21=, $pop251, $pop430 + i64.const $push22=, 4620693217682128896 + i64.store $drop=, 0($pop21), $pop22 + i32.const $push252=, 560 + i32.add $push253=, $2, $pop252 + i32.const $push429=, 16 + i32.add $push23=, $pop253, $pop429 + i64.const $push24=, 4616189618054758400 + i64.store $drop=, 0($pop23), $pop24 + i64.const $push25=, 4611686018427387904 + i64.store $drop=, 568($2), $pop25 + i64.const $push26=, 4607182418800017408 + i64.store $drop=, 560($2), $pop26 + i32.const $push27=, 6 + i32.const $push254=, 560 + i32.add $push255=, $2, $pop254 + call f2@FUNCTION, $pop27, $pop255 + i32.const $push428=, 0 + f64.load $push28=, d($pop428) + f64.const $push29=, 0x1p5 + f64.ne $push30=, $pop28, $pop29 + br_if 0, $pop30 # 0: down to label24 # BB#2: # %if.end3 - i64.const $push31=, 12884901889 - i64.store $drop=, 544($3), $pop31 - i32.const $push32=, 2 - i32.const $push253=, 544 - i32.add $push254=, $3, $pop253 - call f3@FUNCTION, $pop32, $pop254 - i32.const $push429=, 0 - i32.load $push33=, bar_arg($pop429) - i32.const $push428=, 1 - i32.ne $push34=, $pop33, $pop428 - br_if 0, $pop34 # 0: down to label24 -# BB#3: # %if.end3 - i32.const $push431=, 0 - i32.load $push30=, x($pop431) - i32.const $push430=, 1 - i32.ne $push35=, $pop30, $pop430 + i64.const $push32=, 12884901889 + i64.store $drop=, 544($2), $pop32 + i32.const $push33=, 2 + i32.const $push256=, 544 + i32.add $push257=, $2, $pop256 + call f3@FUNCTION, $pop33, $pop257 + i32.const $push432=, 0 + i32.load $push34=, bar_arg($pop432) + i32.const $push431=, 1 + i32.ne $push35=, $pop34, $pop431 br_if 0, $pop35 # 0: down to label24 +# BB#3: # %if.end3 + i32.const $push434=, 0 + i32.load $push31=, x($pop434) + i32.const $push433=, 1 + i32.ne $push36=, $pop31, $pop433 + br_if 0, $pop36 # 0: down to label24 # BB#4: # %if.end7 - i64.const $push37=, 4626041242239631360 - i64.store $drop=, 536($3), $pop37 - i64.const $push38=, 4625478292286210048 - i64.store $drop=, 528($3), $pop38 - i32.const $push39=, 2 - i32.const $push255=, 528 - i32.add $push256=, $3, $pop255 - call f4@FUNCTION, $pop39, $pop256 - i32.const $push432=, 0 - i32.load $push40=, bar_arg($pop432) - i32.const $push41=, 21 - i32.ne $push42=, $pop40, $pop41 - br_if 0, $pop42 # 0: down to label24 + i64.const $push38=, 4626041242239631360 + i64.store $drop=, 536($2), $pop38 + i64.const $push39=, 4625478292286210048 + i64.store $drop=, 528($2), $pop39 + i32.const $push40=, 2 + i32.const $push258=, 528 + i32.add $push259=, $2, $pop258 + call f4@FUNCTION, $pop40, $pop259 + i32.const $push435=, 0 + i32.load $push41=, bar_arg($pop435) + i32.const $push42=, 21 + i32.ne $push43=, $pop41, $pop42 + br_if 0, $pop43 # 0: down to label24 # BB#5: # %if.end7 - i32.const $push433=, 0 - f64.load $push36=, d($pop433) - f64.const $push43=, 0x1.1p4 - f64.ne $push44=, $pop36, $pop43 - br_if 0, $pop44 # 0: down to label24 + i32.const $push436=, 0 + f64.load $push37=, d($pop436) + f64.const $push44=, 0x1.1p4 + f64.ne $push45=, $pop37, $pop44 + br_if 0, $pop45 # 0: down to label24 # BB#6: # %if.end12 - i32.const $push257=, 688 - i32.add $push258=, $3, $pop257 - i32.const $push52=, 16 - i32.add $push447=, $pop258, $pop52 - tee_local $push446=, $5=, $pop447 + i32.const $push260=, 688 + i32.add $push261=, $2, $pop260 + i32.const $push50=, 16 + i32.add $push450=, $pop261, $pop50 + tee_local $push449=, $3=, $pop450 i32.const $push49=, 251 - i32.store $push0=, 736($3), $pop49 - i32.store $drop=, 0($pop446), $pop0 - i32.const $push48=, 131 - i32.store $0=, 720($3), $pop48 - i64.const $push50=, 4624633867356078080 - i64.store $1=, 728($3), $pop50 - i32.const $push259=, 720 - i32.add $push260=, $3, $pop259 - i32.const $push54=, 20 - i32.add $push56=, $pop260, $pop54 - i32.load $2=, 0($pop56) - i32.const $push261=, 688 - i32.add $push262=, $3, $pop261 - i32.const $push53=, 8 - i32.add $push445=, $pop262, $pop53 - tee_local $push444=, $4=, $pop445 - i64.store $drop=, 0($pop444), $1 - i64.load $1=, 720($3) - i32.const $push263=, 688 - i32.add $push264=, $3, $pop263 - i32.const $push443=, 20 - i32.add $push55=, $pop264, $pop443 - i32.store $drop=, 0($pop55), $2 - i64.const $push51=, 4640924231633207296 - i64.store $drop=, 744($3), $pop51 - i64.store $drop=, 688($3), $1 - i64.const $push58=, 4640466834796052480 - i64.store $drop=, 712($3), $pop58 - i32.const $push57=, 254 - i32.store $2=, 0($5), $pop57 - i32.const $push265=, 496 - i32.add $push266=, $3, $pop265 + i32.store $push0=, 736($2), $pop49 + i32.store $drop=, 0($pop449), $pop0 + i32.const $push262=, 688 + i32.add $push263=, $2, $pop262 + i32.const $push52=, 8 + i32.add $push448=, $pop263, $pop52 + tee_local $push447=, $4=, $pop448 + i64.const $push51=, 4624633867356078080 + i64.store $push1=, 728($2), $pop51 + i64.store $drop=, 0($pop447), $pop1 + i32.const $push264=, 688 + i32.add $push265=, $2, $pop264 + i32.const $push53=, 20 + i32.add $push54=, $pop265, $pop53 + i32.const $push266=, 720 + i32.add $push267=, $2, $pop266 + i32.const $push446=, 20 + i32.add $push55=, $pop267, $pop446 + i32.load $push56=, 0($pop55) + i32.store $drop=, 0($pop54), $pop56 + i64.const $push57=, 4640924231633207296 + i64.store $drop=, 744($2), $pop57 + i32.const $push58=, 131 + i32.store $0=, 720($2), $pop58 + i64.load $push59=, 720($2) + i64.store $drop=, 688($2), $pop59 + i32.const $push60=, 254 + i32.store $1=, 0($3), $pop60 + i32.const $push268=, 496 + i32.add $push269=, $2, $pop268 + i32.const $push445=, 16 + i32.add $push61=, $pop269, $pop445 + i64.load $push62=, 736($2) + i64.store $drop=, 0($pop61), $pop62 + i64.const $push63=, 4640466834796052480 + i64.store $drop=, 712($2), $pop63 + i32.const $push270=, 496 + i32.add $push271=, $2, $pop270 + i32.const $push64=, 24 + i32.add $push65=, $pop271, $pop64 + i64.load $push66=, 744($2) + i64.store $drop=, 0($pop65), $pop66 + i32.const $push272=, 496 + i32.add $push273=, $2, $pop272 + i32.const $push444=, 8 + i32.add $push67=, $pop273, $pop444 + i64.load $push68=, 728($2) + i64.store $drop=, 0($pop67), $pop68 + i64.load $push69=, 720($2) + i64.store $drop=, 496($2), $pop69 + i32.const $push274=, 464 + i32.add $push275=, $2, $pop274 + i32.const $push443=, 24 + i32.add $push70=, $pop275, $pop443 + i64.load $push71=, 712($2) + i64.store $drop=, 0($pop70), $pop71 + i32.const $push276=, 464 + i32.add $push277=, $2, $pop276 i32.const $push442=, 16 - i32.add $push59=, $pop266, $pop442 - i64.load $push60=, 736($3) - i64.store $drop=, 0($pop59), $pop60 - i32.const $push267=, 496 - i32.add $push268=, $3, $pop267 - i32.const $push61=, 24 - i32.add $push62=, $pop268, $pop61 - i64.load $push63=, 744($3) - i64.store $drop=, 0($pop62), $pop63 - i32.const $push269=, 496 - i32.add $push270=, $3, $pop269 + i32.add $push72=, $pop277, $pop442 + i64.load $push73=, 0($3) + i64.store $drop=, 0($pop72), $pop73 + i32.const $push278=, 464 + i32.add $push279=, $2, $pop278 i32.const $push441=, 8 - i32.add $push64=, $pop270, $pop441 - i64.load $push65=, 728($3) - i64.store $drop=, 0($pop64), $pop65 - i64.load $push66=, 720($3) - i64.store $drop=, 496($3), $pop66 - i32.const $push271=, 464 - i32.add $push272=, $3, $pop271 + i32.add $push74=, $pop279, $pop441 + i64.load $push75=, 0($4) + i64.store $drop=, 0($pop74), $pop75 + i64.load $push76=, 688($2) + i64.store $drop=, 464($2), $pop76 + i32.const $push280=, 432 + i32.add $push281=, $2, $pop280 i32.const $push440=, 24 - i32.add $push67=, $pop272, $pop440 - i64.load $push68=, 712($3) - i64.store $drop=, 0($pop67), $pop68 - i32.const $push273=, 464 - i32.add $push274=, $3, $pop273 + i32.add $push77=, $pop281, $pop440 + i64.load $push78=, 744($2) + i64.store $drop=, 0($pop77), $pop78 + i32.const $push282=, 432 + i32.add $push283=, $2, $pop282 i32.const $push439=, 16 - i32.add $push69=, $pop274, $pop439 - i64.load $push70=, 0($5) - i64.store $drop=, 0($pop69), $pop70 - i32.const $push275=, 464 - i32.add $push276=, $3, $pop275 + i32.add $push79=, $pop283, $pop439 + i64.load $push80=, 736($2) + i64.store $drop=, 0($pop79), $pop80 + i32.const $push284=, 432 + i32.add $push285=, $2, $pop284 i32.const $push438=, 8 - i32.add $push71=, $pop276, $pop438 - i64.load $push72=, 0($4) - i64.store $drop=, 0($pop71), $pop72 - i64.load $push73=, 688($3) - i64.store $drop=, 464($3), $pop73 - i32.const $push277=, 432 - i32.add $push278=, $3, $pop277 - i32.const $push437=, 24 - i32.add $push74=, $pop278, $pop437 - i64.load $push75=, 744($3) - i64.store $drop=, 0($pop74), $pop75 - i32.const $push279=, 432 - i32.add $push280=, $3, $pop279 - i32.const $push436=, 16 - i32.add $push76=, $pop280, $pop436 - i64.load $push77=, 736($3) - i64.store $drop=, 0($pop76), $pop77 - i32.const $push281=, 432 - i32.add $push282=, $3, $pop281 - i32.const $push435=, 8 - i32.add $push78=, $pop282, $pop435 - i64.load $push79=, 728($3) - i64.store $drop=, 0($pop78), $pop79 - i64.load $push80=, 720($3) - i64.store $drop=, 432($3), $pop80 - i32.const $push283=, 432 - i32.add $push284=, $3, $pop283 - i32.store $drop=, 424($3), $pop284 - i32.const $push285=, 464 - i32.add $push286=, $3, $pop285 - i32.store $drop=, 420($3), $pop286 - i32.const $push287=, 496 - i32.add $push288=, $3, $pop287 - i32.store $drop=, 416($3), $pop288 - i32.const $push81=, 2 - i32.const $push289=, 416 - i32.add $push290=, $3, $pop289 - call f5@FUNCTION, $pop81, $pop290 - i32.const $push434=, 0 - i32.load $push82=, s1($pop434) - i32.ne $push83=, $0, $pop82 - br_if 0, $pop83 # 0: down to label24 + i32.add $push81=, $pop285, $pop438 + i64.load $push82=, 728($2) + i64.store $drop=, 0($pop81), $pop82 + i64.load $push83=, 720($2) + i64.store $drop=, 432($2), $pop83 + i32.const $push286=, 432 + i32.add $push287=, $2, $pop286 + i32.store $drop=, 424($2), $pop287 + i32.const $push288=, 464 + i32.add $push289=, $2, $pop288 + i32.store $drop=, 420($2), $pop289 + i32.const $push290=, 496 + i32.add $push291=, $2, $pop290 + i32.store $drop=, 416($2), $pop291 + i32.const $push84=, 2 + i32.const $push292=, 416 + i32.add $push293=, $2, $pop292 + call f5@FUNCTION, $pop84, $pop293 + i32.const $push437=, 0 + i32.load $push85=, s1($pop437) + i32.ne $push86=, $0, $pop85 + br_if 0, $pop86 # 0: down to label24 # BB#7: # %if.end12 - i32.const $push448=, 0 - i32.load $push45=, s1+16($pop448) - i32.ne $push84=, $pop45, $2 - br_if 0, $pop84 # 0: down to label24 + i32.const $push451=, 0 + i32.load $push46=, s1+16($pop451) + i32.ne $push87=, $pop46, $1 + br_if 0, $pop87 # 0: down to label24 # BB#8: # %if.end12 - i32.const $push449=, 0 - f64.load $push46=, s1+8($pop449) - f64.const $push85=, 0x1.ep3 - f64.ne $push86=, $pop46, $pop85 - br_if 0, $pop86 # 0: down to label24 + i32.const $push452=, 0 + f64.load $push47=, s1+8($pop452) + f64.const $push88=, 0x1.ep3 + f64.ne $push89=, $pop47, $pop88 + br_if 0, $pop89 # 0: down to label24 # BB#9: # %if.end12 - i32.const $push450=, 0 - f64.load $push47=, s1+24($pop450) - f64.const $push87=, 0x1.64p7 - f64.ne $push88=, $pop47, $pop87 - br_if 0, $pop88 # 0: down to label24 + i32.const $push453=, 0 + f64.load $push48=, s1+24($pop453) + f64.const $push90=, 0x1.64p7 + f64.ne $push91=, $pop48, $pop90 + br_if 0, $pop91 # 0: down to label24 # BB#10: # %if.end23 - i32.const $push293=, 384 - i32.add $push294=, $3, $pop293 - i32.const $push92=, 24 - i32.add $push93=, $pop294, $pop92 - i32.const $push291=, 720 - i32.add $push292=, $3, $pop291 - i32.const $push469=, 24 - i32.add $push468=, $pop292, $pop469 - tee_local $push467=, $5=, $pop468 - i64.load $push94=, 0($pop467) - i64.store $drop=, 0($pop93), $pop94 - i32.const $push297=, 384 - i32.add $push298=, $3, $pop297 - i32.const $push95=, 16 - i32.add $push96=, $pop298, $pop95 - i32.const $push295=, 720 - i32.add $push296=, $3, $pop295 - i32.const $push466=, 16 - i32.add $push465=, $pop296, $pop466 - tee_local $push464=, $0=, $pop465 - i64.load $push97=, 0($pop464) + i32.const $push294=, 384 + i32.add $push295=, $2, $pop294 + i32.const $push95=, 24 + i32.add $push96=, $pop295, $pop95 + i32.const $push296=, 720 + i32.add $push297=, $2, $pop296 + i32.const $push472=, 24 + i32.add $push471=, $pop297, $pop472 + tee_local $push470=, $3=, $pop471 + i64.load $push97=, 0($pop470) i64.store $drop=, 0($pop96), $pop97 - i32.const $push301=, 384 - i32.add $push302=, $3, $pop301 - i32.const $push98=, 8 - i32.add $push99=, $pop302, $pop98 - i32.const $push299=, 720 - i32.add $push300=, $3, $pop299 - i32.const $push463=, 8 - i32.add $push462=, $pop300, $pop463 - tee_local $push461=, $2=, $pop462 - i64.load $push100=, 0($pop461) + i32.const $push298=, 384 + i32.add $push299=, $2, $pop298 + i32.const $push98=, 16 + i32.add $push99=, $pop299, $pop98 + i32.const $push300=, 720 + i32.add $push301=, $2, $pop300 + i32.const $push469=, 16 + i32.add $push468=, $pop301, $pop469 + tee_local $push467=, $4=, $pop468 + i64.load $push100=, 0($pop467) i64.store $drop=, 0($pop99), $pop100 - i64.load $push101=, 720($3) - i64.store $drop=, 384($3), $pop101 - i32.const $push305=, 352 - i32.add $push306=, $3, $pop305 - i32.const $push460=, 24 - i32.add $push102=, $pop306, $pop460 - i32.const $push303=, 688 - i32.add $push304=, $3, $pop303 - i32.const $push459=, 24 - i32.add $push103=, $pop304, $pop459 - i64.load $push104=, 0($pop103) - i64.store $drop=, 0($pop102), $pop104 - i32.const $push309=, 352 - i32.add $push310=, $3, $pop309 - i32.const $push458=, 16 - i32.add $push105=, $pop310, $pop458 - i32.const $push307=, 688 - i32.add $push308=, $3, $pop307 - i32.const $push457=, 16 - i32.add $push106=, $pop308, $pop457 + i32.const $push302=, 384 + i32.add $push303=, $2, $pop302 + i32.const $push101=, 8 + i32.add $push102=, $pop303, $pop101 + i32.const $push304=, 720 + i32.add $push305=, $2, $pop304 + i32.const $push466=, 8 + i32.add $push465=, $pop305, $pop466 + tee_local $push464=, $0=, $pop465 + i64.load $push103=, 0($pop464) + i64.store $drop=, 0($pop102), $pop103 + i64.load $push104=, 720($2) + i64.store $drop=, 384($2), $pop104 + i32.const $push306=, 352 + i32.add $push307=, $2, $pop306 + i32.const $push463=, 24 + i32.add $push105=, $pop307, $pop463 + i32.const $push308=, 688 + i32.add $push309=, $2, $pop308 + i32.const $push462=, 24 + i32.add $push106=, $pop309, $pop462 i64.load $push107=, 0($pop106) i64.store $drop=, 0($pop105), $pop107 - i32.const $push313=, 352 - i32.add $push314=, $3, $pop313 - i32.const $push456=, 8 - i32.add $push108=, $pop314, $pop456 - i32.const $push311=, 688 - i32.add $push312=, $3, $pop311 - i32.const $push455=, 8 - i32.add $push109=, $pop312, $pop455 + i32.const $push310=, 352 + i32.add $push311=, $2, $pop310 + i32.const $push461=, 16 + i32.add $push108=, $pop311, $pop461 + i32.const $push312=, 688 + i32.add $push313=, $2, $pop312 + i32.const $push460=, 16 + i32.add $push109=, $pop313, $pop460 i64.load $push110=, 0($pop109) i64.store $drop=, 0($pop108), $pop110 - i64.load $push111=, 688($3) - i64.store $drop=, 352($3), $pop111 - i32.const $push315=, 320 - i32.add $push316=, $3, $pop315 - i32.const $push454=, 24 - i32.add $push112=, $pop316, $pop454 - i64.load $push113=, 0($5) - i64.store $drop=, 0($pop112), $pop113 - i32.const $push317=, 320 - i32.add $push318=, $3, $pop317 - i32.const $push453=, 16 - i32.add $push114=, $pop318, $pop453 - i64.load $push115=, 0($0) - i64.store $drop=, 0($pop114), $pop115 - i32.const $push319=, 320 - i32.add $push320=, $3, $pop319 - i32.const $push452=, 8 - i32.add $push116=, $pop320, $pop452 - i64.load $push117=, 0($2) - i64.store $drop=, 0($pop116), $pop117 - i64.load $push118=, 720($3) - i64.store $drop=, 320($3), $pop118 - i32.const $push321=, 320 - i32.add $push322=, $3, $pop321 - i32.store $drop=, 312($3), $pop322 - i32.const $push323=, 352 - i32.add $push324=, $3, $pop323 - i32.store $drop=, 308($3), $pop324 - i32.const $push325=, 384 - i32.add $push326=, $3, $pop325 - i32.store $drop=, 304($3), $pop326 - i32.const $push119=, 3 - i32.const $push327=, 304 - i32.add $push328=, $3, $pop327 - call f5@FUNCTION, $pop119, $pop328 - i32.const $push451=, 0 - i32.load $push120=, s1($pop451) - i32.const $push121=, 131 - i32.ne $push122=, $pop120, $pop121 - br_if 0, $pop122 # 0: down to label24 + i32.const $push314=, 352 + i32.add $push315=, $2, $pop314 + i32.const $push459=, 8 + i32.add $push111=, $pop315, $pop459 + i32.const $push316=, 688 + i32.add $push317=, $2, $pop316 + i32.const $push458=, 8 + i32.add $push112=, $pop317, $pop458 + i64.load $push113=, 0($pop112) + i64.store $drop=, 0($pop111), $pop113 + i64.load $push114=, 688($2) + i64.store $drop=, 352($2), $pop114 + i32.const $push318=, 320 + i32.add $push319=, $2, $pop318 + i32.const $push457=, 24 + i32.add $push115=, $pop319, $pop457 + i64.load $push116=, 0($3) + i64.store $drop=, 0($pop115), $pop116 + i32.const $push320=, 320 + i32.add $push321=, $2, $pop320 + i32.const $push456=, 16 + i32.add $push117=, $pop321, $pop456 + i64.load $push118=, 0($4) + i64.store $drop=, 0($pop117), $pop118 + i32.const $push322=, 320 + i32.add $push323=, $2, $pop322 + i32.const $push455=, 8 + i32.add $push119=, $pop323, $pop455 + i64.load $push120=, 0($0) + i64.store $drop=, 0($pop119), $pop120 + i64.load $push121=, 720($2) + i64.store $drop=, 320($2), $pop121 + i32.const $push324=, 320 + i32.add $push325=, $2, $pop324 + i32.store $drop=, 312($2), $pop325 + i32.const $push326=, 352 + i32.add $push327=, $2, $pop326 + i32.store $drop=, 308($2), $pop327 + i32.const $push328=, 384 + i32.add $push329=, $2, $pop328 + i32.store $drop=, 304($2), $pop329 + i32.const $push122=, 3 + i32.const $push330=, 304 + i32.add $push331=, $2, $pop330 + call f5@FUNCTION, $pop122, $pop331 + i32.const $push454=, 0 + i32.load $push123=, s1($pop454) + i32.const $push124=, 131 + i32.ne $push125=, $pop123, $pop124 + br_if 0, $pop125 # 0: down to label24 # BB#11: # %if.end23 - i32.const $push470=, 0 - i32.load $push89=, s1+16($pop470) - i32.const $push123=, 251 - i32.ne $push124=, $pop89, $pop123 - br_if 0, $pop124 # 0: down to label24 + i32.const $push473=, 0 + i32.load $push92=, s1+16($pop473) + i32.const $push126=, 251 + i32.ne $push127=, $pop92, $pop126 + br_if 0, $pop127 # 0: down to label24 # BB#12: # %if.end23 - i32.const $push471=, 0 - f64.load $push90=, s1+8($pop471) - f64.const $push125=, 0x1.ep3 - f64.ne $push126=, $pop90, $pop125 - br_if 0, $pop126 # 0: down to label24 + i32.const $push474=, 0 + f64.load $push93=, s1+8($pop474) + f64.const $push128=, 0x1.ep3 + f64.ne $push129=, $pop93, $pop128 + br_if 0, $pop129 # 0: down to label24 # BB#13: # %if.end23 - i32.const $push472=, 0 - f64.load $push91=, s1+24($pop472) - f64.const $push127=, 0x1.7ep7 - f64.ne $push128=, $pop91, $pop127 - br_if 0, $pop128 # 0: down to label24 + i32.const $push475=, 0 + f64.load $push94=, s1+24($pop475) + f64.const $push130=, 0x1.7ep7 + f64.ne $push131=, $pop94, $pop130 + br_if 0, $pop131 # 0: down to label24 # BB#14: # %if.end32 - i32.const $push130=, 138 - i32.store $drop=, 680($3), $pop130 - i64.const $push131=, 4625196817309499392 - i64.store $drop=, 672($3), $pop131 - i64.const $push133=, 4640396466051874816 - i64.store $drop=, 656($3), $pop133 - i32.const $push132=, 257 - i32.store $5=, 664($3), $pop132 - i32.const $push331=, 288 - i32.add $push332=, $3, $pop331 - i32.const $push134=, 12 - i32.add $push135=, $pop332, $pop134 - i32.const $push329=, 672 - i32.add $push330=, $3, $pop329 - i32.const $push476=, 12 - i32.add $push136=, $pop330, $pop476 - i32.load $push137=, 0($pop136) - i32.store $drop=, 0($pop135), $pop137 - i32.const $push333=, 288 - i32.add $push334=, $3, $pop333 - i32.const $push138=, 8 - i32.add $push139=, $pop334, $pop138 - i32.load $push140=, 680($3) - i32.store $drop=, 0($pop139), $pop140 - i32.load $push141=, 676($3) - i32.store $drop=, 292($3), $pop141 - i32.load $push142=, 672($3) - i32.store $drop=, 288($3), $pop142 - i32.const $push335=, 272 - i32.add $push336=, $3, $pop335 - i32.const $push475=, 8 - i32.add $push143=, $pop336, $pop475 - i64.load $push144=, 664($3) - i64.store $drop=, 0($pop143), $pop144 - i64.load $push145=, 656($3) - i64.store $drop=, 272($3), $pop145 - i32.const $push337=, 256 - i32.add $push338=, $3, $pop337 - i32.const $push474=, 8 - i32.add $push146=, $pop338, $pop474 - i64.load $push147=, 680($3) + i32.const $push332=, 288 + i32.add $push333=, $2, $pop332 + i32.const $push133=, 12 + i32.add $push134=, $pop333, $pop133 + i32.const $push334=, 672 + i32.add $push335=, $2, $pop334 + i32.const $push479=, 12 + i32.add $push135=, $pop335, $pop479 + i32.load $push136=, 0($pop135) + i32.store $drop=, 0($pop134), $pop136 + i32.const $push137=, 138 + i32.store $drop=, 680($2), $pop137 + i32.const $push138=, 257 + i32.store $3=, 664($2), $pop138 + i32.const $push336=, 288 + i32.add $push337=, $2, $pop336 + i32.const $push139=, 8 + i32.add $push140=, $pop337, $pop139 + i32.load $push141=, 680($2) + i32.store $drop=, 0($pop140), $pop141 + i64.const $push142=, 4625196817309499392 + i64.store $drop=, 672($2), $pop142 + i64.const $push143=, 4640396466051874816 + i64.store $drop=, 656($2), $pop143 + i32.load $push144=, 676($2) + i32.store $drop=, 292($2), $pop144 + i32.load $push145=, 672($2) + i32.store $drop=, 288($2), $pop145 + i32.const $push338=, 272 + i32.add $push339=, $2, $pop338 + i32.const $push478=, 8 + i32.add $push146=, $pop339, $pop478 + i64.load $push147=, 664($2) i64.store $drop=, 0($pop146), $pop147 - i64.load $push148=, 672($3) - i64.store $drop=, 256($3), $pop148 - i32.const $push339=, 256 - i32.add $push340=, $3, $pop339 - i32.store $drop=, 248($3), $pop340 - i32.const $push341=, 272 - i32.add $push342=, $3, $pop341 - i32.store $drop=, 244($3), $pop342 - i32.const $push343=, 288 - i32.add $push344=, $3, $pop343 - i32.store $drop=, 240($3), $pop344 - i32.const $push149=, 2 - i32.const $push345=, 240 - i32.add $push346=, $3, $pop345 - call f6@FUNCTION, $pop149, $pop346 - i32.const $push473=, 0 - i32.load $push150=, s2+8($pop473) - i32.ne $push151=, $5, $pop150 - br_if 0, $pop151 # 0: down to label24 + i64.load $push148=, 656($2) + i64.store $drop=, 272($2), $pop148 + i32.const $push340=, 256 + i32.add $push341=, $2, $pop340 + i32.const $push477=, 8 + i32.add $push149=, $pop341, $pop477 + i64.load $push150=, 680($2) + i64.store $drop=, 0($pop149), $pop150 + i64.load $push151=, 672($2) + i64.store $drop=, 256($2), $pop151 + i32.const $push342=, 256 + i32.add $push343=, $2, $pop342 + i32.store $drop=, 248($2), $pop343 + i32.const $push344=, 272 + i32.add $push345=, $2, $pop344 + i32.store $drop=, 244($2), $pop345 + i32.const $push346=, 288 + i32.add $push347=, $2, $pop346 + i32.store $drop=, 240($2), $pop347 + i32.const $push152=, 2 + i32.const $push348=, 240 + i32.add $push349=, $2, $pop348 + call f6@FUNCTION, $pop152, $pop349 + i32.const $push476=, 0 + i32.load $push153=, s2+8($pop476) + i32.ne $push154=, $3, $pop153 + br_if 0, $pop154 # 0: down to label24 # BB#15: # %if.end32 - i32.const $push477=, 0 - f64.load $push129=, s2($pop477) - f64.const $push152=, 0x1.6p7 - f64.ne $push153=, $pop129, $pop152 - br_if 0, $pop153 # 0: down to label24 + i32.const $push480=, 0 + f64.load $push132=, s2($pop480) + f64.const $push155=, 0x1.6p7 + f64.ne $push156=, $pop132, $pop155 + br_if 0, $pop156 # 0: down to label24 # BB#16: # %if.end41 - i32.const $push349=, 224 - i32.add $push350=, $3, $pop349 - i32.const $push155=, 8 - i32.add $push156=, $pop350, $pop155 - i32.const $push347=, 672 - i32.add $push348=, $3, $pop347 + i32.const $push350=, 224 + i32.add $push351=, $2, $pop350 + i32.const $push158=, 8 + i32.add $push159=, $pop351, $pop158 + i32.const $push352=, 672 + i32.add $push353=, $2, $pop352 + i32.const $push487=, 8 + i32.add $push486=, $pop353, $pop487 + tee_local $push485=, $3=, $pop486 + i64.load $push160=, 0($pop485) + i64.store $drop=, 0($pop159), $pop160 + i32.const $push354=, 208 + i32.add $push355=, $2, $pop354 i32.const $push484=, 8 - i32.add $push483=, $pop348, $pop484 - tee_local $push482=, $5=, $pop483 - i64.load $push157=, 0($pop482) - i64.store $drop=, 0($pop156), $pop157 - i32.const $push353=, 208 - i32.add $push354=, $3, $pop353 - i32.const $push481=, 8 - i32.add $push158=, $pop354, $pop481 - i32.const $push351=, 656 - i32.add $push352=, $3, $pop351 - i32.const $push480=, 8 - i32.add $push159=, $pop352, $pop480 - i64.load $push160=, 0($pop159) - i64.store $drop=, 0($pop158), $pop160 - i64.load $push161=, 672($3) - i64.store $drop=, 224($3), $pop161 - i64.load $push162=, 656($3) - i64.store $drop=, 208($3), $pop162 - i32.const $push355=, 192 - i32.add $push356=, $3, $pop355 - i32.const $push479=, 8 - i32.add $push163=, $pop356, $pop479 - i64.load $push164=, 0($5) - i64.store $drop=, 0($pop163), $pop164 - i64.load $push165=, 672($3) - i64.store $drop=, 192($3), $pop165 - i32.const $push357=, 192 - i32.add $push358=, $3, $pop357 - i32.store $drop=, 184($3), $pop358 - i32.const $push359=, 208 - i32.add $push360=, $3, $pop359 - i32.store $drop=, 180($3), $pop360 - i32.const $push361=, 224 - i32.add $push362=, $3, $pop361 - i32.store $drop=, 176($3), $pop362 - i32.const $push166=, 3 - i32.const $push363=, 176 - i32.add $push364=, $3, $pop363 - call f6@FUNCTION, $pop166, $pop364 - i32.const $push478=, 0 - i32.load $push167=, s2+8($pop478) - i32.const $push168=, 138 - i32.ne $push169=, $pop167, $pop168 - br_if 0, $pop169 # 0: down to label24 + i32.add $push161=, $pop355, $pop484 + i32.const $push356=, 656 + i32.add $push357=, $2, $pop356 + i32.const $push483=, 8 + i32.add $push162=, $pop357, $pop483 + i64.load $push163=, 0($pop162) + i64.store $drop=, 0($pop161), $pop163 + i64.load $push164=, 672($2) + i64.store $drop=, 224($2), $pop164 + i64.load $push165=, 656($2) + i64.store $drop=, 208($2), $pop165 + i32.const $push358=, 192 + i32.add $push359=, $2, $pop358 + i32.const $push482=, 8 + i32.add $push166=, $pop359, $pop482 + i64.load $push167=, 0($3) + i64.store $drop=, 0($pop166), $pop167 + i64.load $push168=, 672($2) + i64.store $drop=, 192($2), $pop168 + i32.const $push360=, 192 + i32.add $push361=, $2, $pop360 + i32.store $drop=, 184($2), $pop361 + i32.const $push362=, 208 + i32.add $push363=, $2, $pop362 + i32.store $drop=, 180($2), $pop363 + i32.const $push364=, 224 + i32.add $push365=, $2, $pop364 + i32.store $drop=, 176($2), $pop365 + i32.const $push169=, 3 + i32.const $push366=, 176 + i32.add $push367=, $2, $pop366 + call f6@FUNCTION, $pop169, $pop367 + i32.const $push481=, 0 + i32.load $push170=, s2+8($pop481) + i32.const $push171=, 138 + i32.ne $push172=, $pop170, $pop171 + br_if 0, $pop172 # 0: down to label24 # BB#17: # %if.end41 - i32.const $push485=, 0 - f64.load $push154=, s2($pop485) - f64.const $push170=, 0x1p4 - f64.ne $push171=, $pop154, $pop170 - br_if 0, $pop171 # 0: down to label24 + i32.const $push488=, 0 + f64.load $push157=, s2($pop488) + f64.const $push173=, 0x1p4 + f64.ne $push174=, $pop157, $pop173 + br_if 0, $pop174 # 0: down to label24 # BB#18: # %if.end46 - i32.const $push367=, 144 - i32.add $push368=, $3, $pop367 - i32.const $push175=, 24 - i32.add $push176=, $pop368, $pop175 - i32.const $push365=, 688 - i32.add $push366=, $3, $pop365 + i32.const $push368=, 144 + i32.add $push369=, $2, $pop368 + i32.const $push178=, 24 + i32.add $push179=, $pop369, $pop178 + i32.const $push370=, 688 + i32.add $push371=, $2, $pop370 + i32.const $push507=, 24 + i32.add $push180=, $pop371, $pop507 + i64.load $push181=, 0($pop180) + i64.store $drop=, 0($pop179), $pop181 + i32.const $push372=, 144 + i32.add $push373=, $2, $pop372 + i32.const $push182=, 16 + i32.add $push183=, $pop373, $pop182 + i32.const $push374=, 688 + i32.add $push375=, $2, $pop374 + i32.const $push506=, 16 + i32.add $push184=, $pop375, $pop506 + i64.load $push185=, 0($pop184) + i64.store $drop=, 0($pop183), $pop185 + i32.const $push376=, 144 + i32.add $push377=, $2, $pop376 + i32.const $push186=, 8 + i32.add $push187=, $pop377, $pop186 + i32.const $push378=, 688 + i32.add $push379=, $2, $pop378 + i32.const $push505=, 8 + i32.add $push188=, $pop379, $pop505 + i64.load $push189=, 0($pop188) + i64.store $drop=, 0($pop187), $pop189 + i64.load $push190=, 688($2) + i64.store $drop=, 144($2), $pop190 + i32.const $push380=, 112 + i32.add $push381=, $2, $pop380 i32.const $push504=, 24 - i32.add $push177=, $pop366, $pop504 - i64.load $push178=, 0($pop177) - i64.store $drop=, 0($pop176), $pop178 - i32.const $push371=, 144 - i32.add $push372=, $3, $pop371 - i32.const $push179=, 16 - i32.add $push180=, $pop372, $pop179 - i32.const $push369=, 688 - i32.add $push370=, $3, $pop369 - i32.const $push503=, 16 - i32.add $push181=, $pop370, $pop503 - i64.load $push182=, 0($pop181) - i64.store $drop=, 0($pop180), $pop182 - i32.const $push375=, 144 - i32.add $push376=, $3, $pop375 - i32.const $push183=, 8 - i32.add $push184=, $pop376, $pop183 - i32.const $push373=, 688 - i32.add $push374=, $3, $pop373 - i32.const $push502=, 8 - i32.add $push185=, $pop374, $pop502 - i64.load $push186=, 0($pop185) - i64.store $drop=, 0($pop184), $pop186 - i64.load $push187=, 688($3) - i64.store $drop=, 144($3), $pop187 - i32.const $push379=, 112 - i32.add $push380=, $3, $pop379 - i32.const $push501=, 24 - i32.add $push188=, $pop380, $pop501 - i32.const $push377=, 720 - i32.add $push378=, $3, $pop377 - i32.const $push500=, 24 - i32.add $push499=, $pop378, $pop500 - tee_local $push498=, $5=, $pop499 - i64.load $push189=, 0($pop498) - i64.store $drop=, 0($pop188), $pop189 - i32.const $push383=, 112 - i32.add $push384=, $3, $pop383 - i32.const $push497=, 16 - i32.add $push190=, $pop384, $pop497 - i32.const $push381=, 720 - i32.add $push382=, $3, $pop381 - i32.const $push496=, 16 - i32.add $push495=, $pop382, $pop496 - tee_local $push494=, $0=, $pop495 - i64.load $push191=, 0($pop494) - i64.store $drop=, 0($pop190), $pop191 - i32.const $push387=, 112 - i32.add $push388=, $3, $pop387 - i32.const $push493=, 8 - i32.add $push192=, $pop388, $pop493 - i32.const $push385=, 720 - i32.add $push386=, $3, $pop385 - i32.const $push492=, 8 - i32.add $push491=, $pop386, $pop492 - tee_local $push490=, $2=, $pop491 - i64.load $push193=, 0($pop490) - i64.store $drop=, 0($pop192), $pop193 - i64.load $push194=, 720($3) - i64.store $drop=, 112($3), $pop194 - i32.const $push389=, 80 - i32.add $push390=, $3, $pop389 - i32.const $push489=, 24 - i32.add $push195=, $pop390, $pop489 - i64.load $push196=, 0($5) + i32.add $push191=, $pop381, $pop504 + i32.const $push382=, 720 + i32.add $push383=, $2, $pop382 + i32.const $push503=, 24 + i32.add $push502=, $pop383, $pop503 + tee_local $push501=, $3=, $pop502 + i64.load $push192=, 0($pop501) + i64.store $drop=, 0($pop191), $pop192 + i32.const $push384=, 112 + i32.add $push385=, $2, $pop384 + i32.const $push500=, 16 + i32.add $push193=, $pop385, $pop500 + i32.const $push386=, 720 + i32.add $push387=, $2, $pop386 + i32.const $push499=, 16 + i32.add $push498=, $pop387, $pop499 + tee_local $push497=, $4=, $pop498 + i64.load $push194=, 0($pop497) + i64.store $drop=, 0($pop193), $pop194 + i32.const $push388=, 112 + i32.add $push389=, $2, $pop388 + i32.const $push496=, 8 + i32.add $push195=, $pop389, $pop496 + i32.const $push390=, 720 + i32.add $push391=, $2, $pop390 + i32.const $push495=, 8 + i32.add $push494=, $pop391, $pop495 + tee_local $push493=, $0=, $pop494 + i64.load $push196=, 0($pop493) i64.store $drop=, 0($pop195), $pop196 - i32.const $push391=, 80 - i32.add $push392=, $3, $pop391 - i32.const $push488=, 16 - i32.add $push197=, $pop392, $pop488 - i64.load $push198=, 0($0) - i64.store $drop=, 0($pop197), $pop198 - i32.const $push393=, 80 - i32.add $push394=, $3, $pop393 - i32.const $push487=, 8 - i32.add $push199=, $pop394, $pop487 - i64.load $push200=, 0($2) - i64.store $drop=, 0($pop199), $pop200 - i64.load $push201=, 720($3) - i64.store $drop=, 80($3), $pop201 - i32.const $push395=, 80 - i32.add $push396=, $3, $pop395 - i32.store $drop=, 72($3), $pop396 - i32.const $push397=, 112 - i32.add $push398=, $3, $pop397 - i32.store $drop=, 68($3), $pop398 - i32.const $push399=, 144 - i32.add $push400=, $3, $pop399 - i32.store $drop=, 64($3), $pop400 - i32.const $push202=, 2 - i32.const $push401=, 64 - i32.add $push402=, $3, $pop401 - call f7@FUNCTION, $pop202, $pop402 - i32.const $push486=, 0 - i32.load $push203=, s1($pop486) - i32.const $push204=, 131 - i32.ne $push205=, $pop203, $pop204 - br_if 0, $pop205 # 0: down to label24 + i64.load $push197=, 720($2) + i64.store $drop=, 112($2), $pop197 + i32.const $push392=, 80 + i32.add $push393=, $2, $pop392 + i32.const $push492=, 24 + i32.add $push198=, $pop393, $pop492 + i64.load $push199=, 0($3) + i64.store $drop=, 0($pop198), $pop199 + i32.const $push394=, 80 + i32.add $push395=, $2, $pop394 + i32.const $push491=, 16 + i32.add $push200=, $pop395, $pop491 + i64.load $push201=, 0($4) + i64.store $drop=, 0($pop200), $pop201 + i32.const $push396=, 80 + i32.add $push397=, $2, $pop396 + i32.const $push490=, 8 + i32.add $push202=, $pop397, $pop490 + i64.load $push203=, 0($0) + i64.store $drop=, 0($pop202), $pop203 + i64.load $push204=, 720($2) + i64.store $drop=, 80($2), $pop204 + i32.const $push398=, 80 + i32.add $push399=, $2, $pop398 + i32.store $drop=, 72($2), $pop399 + i32.const $push400=, 112 + i32.add $push401=, $2, $pop400 + i32.store $drop=, 68($2), $pop401 + i32.const $push402=, 144 + i32.add $push403=, $2, $pop402 + i32.store $drop=, 64($2), $pop403 + i32.const $push205=, 2 + i32.const $push404=, 64 + i32.add $push405=, $2, $pop404 + call f7@FUNCTION, $pop205, $pop405 + i32.const $push489=, 0 + i32.load $push206=, s1($pop489) + i32.const $push207=, 131 + i32.ne $push208=, $pop206, $pop207 + br_if 0, $pop208 # 0: down to label24 # BB#19: # %if.end46 - i32.const $push505=, 0 - i32.load $push172=, s1+16($pop505) - i32.const $push206=, 254 - i32.ne $push207=, $pop172, $pop206 - br_if 0, $pop207 # 0: down to label24 + i32.const $push508=, 0 + i32.load $push175=, s1+16($pop508) + i32.const $push209=, 254 + i32.ne $push210=, $pop175, $pop209 + br_if 0, $pop210 # 0: down to label24 # BB#20: # %if.end46 - i32.const $push506=, 0 - f64.load $push173=, s1+8($pop506) - f64.const $push208=, 0x1.ep3 - f64.ne $push209=, $pop173, $pop208 - br_if 0, $pop209 # 0: down to label24 + i32.const $push509=, 0 + f64.load $push176=, s1+8($pop509) + f64.const $push211=, 0x1.ep3 + f64.ne $push212=, $pop176, $pop211 + br_if 0, $pop212 # 0: down to label24 # BB#21: # %if.end46 - i32.const $push507=, 0 - f64.load $push174=, s1+24($pop507) - f64.const $push210=, 0x1.64p7 - f64.ne $push211=, $pop174, $pop210 - br_if 0, $pop211 # 0: down to label24 -# BB#22: # %if.end55 - i32.const $push508=, 0 - i32.load $push212=, bar_arg($pop508) - i32.const $push213=, 131 - i32.ne $push214=, $pop212, $pop213 + i32.const $push510=, 0 + f64.load $push177=, s1+24($pop510) + f64.const $push213=, 0x1.64p7 + f64.ne $push214=, $pop177, $pop213 br_if 0, $pop214 # 0: down to label24 +# BB#22: # %if.end55 + i32.const $push511=, 0 + i32.load $push215=, bar_arg($pop511) + i32.const $push216=, 131 + i32.ne $push217=, $pop215, $pop216 + br_if 0, $pop217 # 0: down to label24 # BB#23: # %if.end58 - i32.const $push405=, 48 - i32.add $push406=, $3, $pop405 - i32.const $push216=, 8 - i32.add $push217=, $pop406, $pop216 - i32.const $push403=, 656 - i32.add $push404=, $3, $pop403 - i32.const $push515=, 8 - i32.add $push218=, $pop404, $pop515 - i64.load $push219=, 0($pop218) - i64.store $drop=, 0($pop217), $pop219 - i32.const $push409=, 32 - i32.add $push410=, $3, $pop409 - i32.const $push514=, 8 - i32.add $push220=, $pop410, $pop514 - i32.const $push407=, 672 - i32.add $push408=, $3, $pop407 + i32.const $push406=, 48 + i32.add $push407=, $2, $pop406 + i32.const $push219=, 8 + i32.add $push220=, $pop407, $pop219 + i32.const $push408=, 656 + i32.add $push409=, $2, $pop408 + i32.const $push518=, 8 + i32.add $push221=, $pop409, $pop518 + i64.load $push222=, 0($pop221) + i64.store $drop=, 0($pop220), $pop222 + i32.const $push410=, 32 + i32.add $push411=, $2, $pop410 + i32.const $push517=, 8 + i32.add $push223=, $pop411, $pop517 + i32.const $push412=, 672 + i32.add $push413=, $2, $pop412 + i32.const $push516=, 8 + i32.add $push515=, $pop413, $pop516 + tee_local $push514=, $3=, $pop515 + i64.load $push224=, 0($pop514) + i64.store $drop=, 0($pop223), $pop224 + i64.load $push225=, 656($2) + i64.store $drop=, 48($2), $pop225 + i64.load $push226=, 672($2) + i64.store $drop=, 32($2), $pop226 + i32.const $push414=, 16 + i32.add $push415=, $2, $pop414 i32.const $push513=, 8 - i32.add $push512=, $pop408, $pop513 - tee_local $push511=, $5=, $pop512 - i64.load $push221=, 0($pop511) - i64.store $drop=, 0($pop220), $pop221 - i64.load $push222=, 656($3) - i64.store $drop=, 48($3), $pop222 - i64.load $push223=, 672($3) - i64.store $drop=, 32($3), $pop223 - i32.const $push411=, 16 - i32.add $push412=, $3, $pop411 - i32.const $push510=, 8 - i32.add $push224=, $pop412, $pop510 - i64.load $push225=, 0($5) - i64.store $drop=, 0($pop224), $pop225 - i64.load $push226=, 672($3) - i64.store $drop=, 16($3), $pop226 - i32.const $push413=, 16 - i32.add $push414=, $3, $pop413 - i32.store $drop=, 8($3), $pop414 - i32.const $push415=, 32 - i32.add $push416=, $3, $pop415 - i32.store $drop=, 4($3), $pop416 - i32.const $push417=, 48 - i32.add $push418=, $3, $pop417 - i32.store $drop=, 0($3), $pop418 - i32.const $push227=, 3 - call f8@FUNCTION, $pop227, $3 - i32.const $push509=, 0 - i32.load $push228=, s2+8($pop509) - i32.const $push229=, 257 - i32.ne $push230=, $pop228, $pop229 - br_if 0, $pop230 # 0: down to label24 + i32.add $push227=, $pop415, $pop513 + i64.load $push228=, 0($3) + i64.store $drop=, 0($pop227), $pop228 + i64.load $push229=, 672($2) + i64.store $drop=, 16($2), $pop229 + i32.const $push416=, 16 + i32.add $push417=, $2, $pop416 + i32.store $drop=, 8($2), $pop417 + i32.const $push418=, 32 + i32.add $push419=, $2, $pop418 + i32.store $drop=, 4($2), $pop419 + i32.const $push420=, 48 + i32.add $push421=, $2, $pop420 + i32.store $drop=, 0($2), $pop421 + i32.const $push230=, 3 + call f8@FUNCTION, $pop230, $2 + i32.const $push512=, 0 + i32.load $push231=, s2+8($pop512) + i32.const $push232=, 257 + i32.ne $push233=, $pop231, $pop232 + br_if 0, $pop233 # 0: down to label24 # BB#24: # %if.end58 - i32.const $push516=, 0 - f64.load $push215=, s2($pop516) - f64.const $push231=, 0x1.6p7 - f64.ne $push232=, $pop215, $pop231 - br_if 0, $pop232 # 0: down to label24 + i32.const $push519=, 0 + f64.load $push218=, s2($pop519) + f64.const $push234=, 0x1.6p7 + f64.ne $push235=, $pop218, $pop234 + br_if 0, $pop235 # 0: down to label24 # BB#25: # %if.end63 - i32.const $push240=, __stack_pointer - i32.const $push238=, 752 - i32.add $push239=, $3, $pop238 - i32.store $drop=, 0($pop240), $pop239 - i32.const $push233=, 0 - return $pop233 + i32.const $push243=, 0 + i32.const $push241=, 752 + i32.add $push242=, $2, $pop241 + i32.store $drop=, __stack_pointer($pop243), $pop242 + i32.const $push236=, 0 + return $pop236 .LBB9_26: # %if.then62 end_block # label24: call abort@FUNCTION diff --git a/test/torture-s/stdarg-4.c.s b/test/torture-s/stdarg-4.c.s index 878288732..a1204f641 100644 --- a/test/torture-s/stdarg-4.c.s +++ b/test/torture-s/stdarg-4.c.s @@ -7,28 +7,26 @@ f1i: # @f1i .param i32 # BB#0: # %entry - i32.const $push6=, 0 - i32.const $push19=, 0 - i32.const $push1=, 7 - i32.add $push2=, $0, $pop1 - i32.const $push3=, -8 - i32.and $push18=, $pop2, $pop3 - tee_local $push17=, $0=, $pop18 - f64.load $push4=, 0($pop17) + i32.const $push14=, 0 + i32.const $push0=, 7 + i32.add $push1=, $0, $pop0 + i32.const $push2=, -8 + i32.and $push17=, $pop1, $pop2 + tee_local $push16=, $0=, $pop17 + i32.load $push3=, 8($pop16) + f64.load $push4=, 0($0) i32.trunc_s/f64 $push5=, $pop4 - i32.store $push0=, x($pop19), $pop5 - i32.load $push7=, 8($0) - i32.add $push8=, $pop0, $pop7 - f64.convert_s/i32 $push13=, $pop8 - i32.const $push9=, 19 - i32.add $push10=, $0, $pop9 - i32.const $push16=, -8 - i32.and $push11=, $pop10, $pop16 - f64.load $push12=, 0($pop11) - f64.add $push14=, $pop13, $pop12 - i32.trunc_s/f64 $push15=, $pop14 - i32.store $drop=, x($pop6), $pop15 - return + i32.add $push6=, $pop3, $pop5 + f64.convert_s/i32 $push7=, $pop6 + i32.const $push8=, 19 + i32.add $push9=, $0, $pop8 + i32.const $push15=, -8 + i32.and $push10=, $pop9, $pop15 + f64.load $push11=, 0($pop10) + f64.add $push12=, $pop7, $pop11 + i32.trunc_s/f64 $push13=, $pop12 + i32.store $drop=, x($pop14), $pop13 + # fallthrough-return .endfunc .Lfunc_end0: .size f1i, .Lfunc_end0-f1i @@ -39,35 +37,32 @@ f1i: # @f1i .type f1,@function f1: # @f1 .param i32, i32 - .local f64, i32 # BB#0: # %entry - i32.const $push0=, 7 - i32.add $push1=, $1, $pop0 - i32.const $push2=, -8 - i32.and $push21=, $pop1, $pop2 - tee_local $push20=, $3=, $pop21 - f64.load $2=, 0($pop20) - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) - i32.const $push16=, 16 - i32.sub $push17=, $pop15, $pop16 - i32.store $drop=, 12($pop17), $1 - i32.const $push4=, 0 - i32.trunc_s/f64 $push3=, $2 - i32.store $1=, x($pop4), $pop3 - i32.const $push19=, 0 - i32.const $push7=, 19 - i32.add $push8=, $3, $pop7 - i32.const $push18=, -8 - i32.and $push9=, $pop8, $pop18 - f64.load $push10=, 0($pop9) - i32.load $push5=, 8($3) - i32.add $push6=, $1, $pop5 - f64.convert_s/i32 $push11=, $pop6 - f64.add $push12=, $pop10, $pop11 - i32.trunc_s/f64 $push13=, $pop12 - i32.store $drop=, x($pop19), $pop13 - return + i32.const $push15=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) + i32.const $push18=, 16 + i32.sub $push19=, $pop17, $pop18 + i32.store $push0=, 12($pop19), $1 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push22=, $pop2, $pop3 + tee_local $push21=, $1=, $pop22 + i32.const $push9=, 19 + i32.add $push10=, $pop21, $pop9 + i32.const $push20=, -8 + i32.and $push11=, $pop10, $pop20 + f64.load $push12=, 0($pop11) + i32.load $push4=, 8($1) + f64.load $push5=, 0($1) + i32.trunc_s/f64 $push6=, $pop5 + i32.add $push7=, $pop4, $pop6 + f64.convert_s/i32 $push8=, $pop7 + f64.add $push13=, $pop12, $pop8 + i32.trunc_s/f64 $push14=, $pop13 + i32.store $drop=, x($pop15), $pop14 + # fallthrough-return .endfunc .Lfunc_end1: .size f1, .Lfunc_end1-f1 @@ -78,41 +73,36 @@ f1: # @f1 .type f2i,@function f2i: # @f2i .param i32 - .local i32, f64, i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $push0=, 0($0) - i32.store $1=, y($pop1), $pop0 - i32.const $push4=, 15 - i32.add $push5=, $0, $pop4 - i32.const $push6=, -8 - i32.and $push26=, $pop5, $pop6 - tee_local $push25=, $3=, $pop26 - f64.load $2=, 8($pop25) - i32.const $push24=, 0 - i32.load $push2=, 4($0) - i32.add $push3=, $1, $pop2 - f64.convert_s/i32 $push8=, $pop3 - f64.load $push7=, 0($3) - f64.add $push9=, $pop8, $pop7 - i32.trunc_s/f64 $push10=, $pop9 - i32.store $drop=, y($pop24), $pop10 + i32.const $push10=, 0 + i32.load $push5=, 4($0) + i32.load $push4=, 0($0) + i32.add $push6=, $pop5, $pop4 + f64.convert_s/i32 $push7=, $pop6 + i32.const $push0=, 15 + i32.add $push1=, $0, $pop0 + i32.const $push2=, -8 + i32.and $push25=, $pop1, $pop2 + tee_local $push24=, $0=, $pop25 + f64.load $push3=, 0($pop24) + f64.add $push8=, $pop7, $pop3 + i32.trunc_s/f64 $push9=, $pop8 + i32.store $drop=, y($pop10), $pop9 i32.const $push23=, 0 - i32.trunc_s/f64 $push11=, $2 - i32.store $0=, x($pop23), $pop11 - i32.const $push22=, 0 - i32.const $push14=, 27 - i32.add $push15=, $3, $pop14 - i32.const $push21=, -8 - i32.and $push16=, $pop15, $pop21 - f64.load $push17=, 0($pop16) - i32.load $push12=, 16($3) - i32.add $push13=, $0, $pop12 - f64.convert_s/i32 $push18=, $pop13 - f64.add $push19=, $pop17, $pop18 - i32.trunc_s/f64 $push20=, $pop19 - i32.store $drop=, x($pop22), $pop20 - return + i32.const $push16=, 27 + i32.add $push17=, $0, $pop16 + i32.const $push22=, -8 + i32.and $push18=, $pop17, $pop22 + f64.load $push19=, 0($pop18) + i32.load $push11=, 16($0) + f64.load $push12=, 8($0) + i32.trunc_s/f64 $push13=, $pop12 + i32.add $push14=, $pop11, $pop13 + f64.convert_s/i32 $push15=, $pop14 + f64.add $push20=, $pop19, $pop15 + i32.trunc_s/f64 $push21=, $pop20 + i32.store $drop=, x($pop23), $pop21 + # fallthrough-return .endfunc .Lfunc_end2: .size f2i, .Lfunc_end2-f2i @@ -123,47 +113,43 @@ f2i: # @f2i .type f2,@function f2: # @f2 .param i32, i32 - .local i32, f64, i32 + .local i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.const $push21=, __stack_pointer - i32.load $push22=, 0($pop21) - i32.const $push23=, 16 - i32.sub $push24=, $pop22, $pop23 - i32.store $push32=, 12($pop24), $1 - tee_local $push31=, $4=, $pop32 - i32.load $push0=, 0($pop31) - i32.store $2=, y($pop1), $pop0 + i32.const $push10=, 0 + i32.const $push22=, 0 + i32.load $push23=, __stack_pointer($pop22) + i32.const $push24=, 16 + i32.sub $push25=, $pop23, $pop24 + i32.store $push31=, 12($pop25), $1 + tee_local $push30=, $2=, $pop31 i32.const $push4=, 15 - i32.add $push5=, $4, $pop4 + i32.add $push5=, $pop30, $pop4 i32.const $push6=, -8 - i32.and $push30=, $pop5, $pop6 - tee_local $push29=, $1=, $pop30 - f64.load $3=, 8($pop29) - i32.const $push28=, 0 - f64.load $push7=, 0($1) - i32.load $push2=, 4($4) - i32.add $push3=, $2, $pop2 - f64.convert_s/i32 $push8=, $pop3 - f64.add $push9=, $pop7, $pop8 - i32.trunc_s/f64 $push10=, $pop9 - i32.store $drop=, y($pop28), $pop10 + i32.and $push29=, $pop5, $pop6 + tee_local $push28=, $1=, $pop29 + f64.load $push7=, 0($pop28) + i32.load $push1=, 4($2) + i32.load $push0=, 0($2) + i32.add $push2=, $pop1, $pop0 + f64.convert_s/i32 $push3=, $pop2 + f64.add $push8=, $pop7, $pop3 + i32.trunc_s/f64 $push9=, $pop8 + i32.store $drop=, y($pop10), $pop9 i32.const $push27=, 0 - i32.trunc_s/f64 $push11=, $3 - i32.store $4=, x($pop27), $pop11 - i32.const $push26=, 0 - i32.const $push14=, 27 - i32.add $push15=, $1, $pop14 - i32.const $push25=, -8 - i32.and $push16=, $pop15, $pop25 - f64.load $push17=, 0($pop16) - i32.load $push12=, 16($1) - i32.add $push13=, $4, $pop12 - f64.convert_s/i32 $push18=, $pop13 - f64.add $push19=, $pop17, $pop18 - i32.trunc_s/f64 $push20=, $pop19 - i32.store $drop=, x($pop26), $pop20 - return + i32.const $push16=, 27 + i32.add $push17=, $1, $pop16 + i32.const $push26=, -8 + i32.and $push18=, $pop17, $pop26 + f64.load $push19=, 0($pop18) + i32.load $push11=, 16($1) + f64.load $push12=, 8($1) + i32.trunc_s/f64 $push13=, $pop12 + i32.add $push14=, $pop11, $pop13 + f64.convert_s/i32 $push15=, $pop14 + f64.add $push20=, $pop19, $pop15 + i32.trunc_s/f64 $push21=, $pop20 + i32.store $drop=, x($pop27), $pop21 + # fallthrough-return .endfunc .Lfunc_end3: .size f2, .Lfunc_end3-f2 @@ -180,7 +166,7 @@ f3h: # @f3h i32.add $push1=, $pop0, $2 i32.add $push2=, $pop1, $3 i32.add $push3=, $pop2, $4 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end4: .size f3h, .Lfunc_end4-f3h @@ -192,16 +178,16 @@ f3h: # @f3h f3: # @f3 .param i32, i32 .result i32 - .local i32, i32, i32 + .local i32 # BB#0: # %entry - i32.const $push38=, __stack_pointer - i32.const $push35=, __stack_pointer - i32.load $push36=, 0($pop35) - i32.const $push37=, 16 - i32.sub $push42=, $pop36, $pop37 - i32.store $push44=, 0($pop38), $pop42 - tee_local $push43=, $4=, $pop44 - i32.store $drop=, 12($pop43), $1 + i32.const $push35=, 0 + i32.const $push32=, 0 + i32.load $push33=, __stack_pointer($pop32) + i32.const $push34=, 16 + i32.sub $push39=, $pop33, $pop34 + i32.store $push41=, __stack_pointer($pop35), $pop39 + tee_local $push40=, $2=, $pop41 + i32.store $drop=, 12($pop40), $1 block i32.const $push0=, 4 i32.gt_u $push1=, $0, $pop0 @@ -220,83 +206,74 @@ f3: # @f3 # 2: down to label3 .LBB5_2: # %sw.bb2 end_block # label5: - i32.load $push46=, 12($4) - tee_local $push45=, $0=, $pop46 - i32.const $push31=, 4 - i32.add $push32=, $pop45, $pop31 - i32.store $drop=, 12($4), $pop32 - i32.load $push33=, 0($0) - i32.const $push34=, 1 - i32.add $1=, $pop33, $pop34 + i32.load $push43=, 12($2) + tee_local $push42=, $0=, $pop43 + i32.const $push28=, 4 + i32.add $push29=, $pop42, $pop28 + i32.store $drop=, 12($2), $pop29 + i32.load $push30=, 0($0) + i32.const $push31=, 1 + i32.add $1=, $pop30, $pop31 br 3 # 3: down to label1 .LBB5_3: # %sw.bb4 end_block # label4: - i32.load $push48=, 12($4) - tee_local $push47=, $0=, $pop48 - i32.const $push24=, 4 - i32.add $push25=, $pop47, $pop24 - i32.store $drop=, 12($4), $pop25 + i32.load $push45=, 12($2) + tee_local $push44=, $0=, $pop45 + i32.const $push21=, 4 + i32.add $push22=, $pop44, $pop21 + i32.store $drop=, 12($2), $pop22 i32.load $1=, 0($0) - i32.const $push26=, 8 - i32.add $push27=, $0, $pop26 - i32.store $drop=, 12($4), $pop27 - i32.load $push28=, 4($0) - i32.add $push29=, $1, $pop28 - i32.const $push30=, 2 - i32.add $1=, $pop29, $pop30 + i32.const $push23=, 8 + i32.add $push24=, $0, $pop23 + i32.store $drop=, 12($2), $pop24 + i32.load $push25=, 4($0) + i32.add $push26=, $1, $pop25 + i32.const $push27=, 2 + i32.add $1=, $pop26, $pop27 br 2 # 2: down to label1 .LBB5_4: # %sw.bb18 end_block # label3: - i32.load $push51=, 12($4) - tee_local $push50=, $0=, $pop51 + i32.load $push48=, 12($2) + tee_local $push47=, $0=, $pop48 i32.const $push2=, 4 - i32.add $push3=, $pop50, $pop2 - i32.store $drop=, 12($4), $pop3 + i32.add $push3=, $pop47, $pop2 + i32.store $drop=, 12($2), $pop3 i32.load $1=, 0($0) - i32.const $push4=, 8 + i32.const $push4=, 16 i32.add $push5=, $0, $pop4 - i32.store $drop=, 12($4), $pop5 - i32.load $2=, 4($0) - i32.const $push6=, 12 - i32.add $push7=, $0, $pop6 - i32.store $drop=, 12($4), $pop7 - i32.load $3=, 8($0) - i32.const $push8=, 16 - i32.add $push9=, $0, $pop8 - i32.store $drop=, 12($4), $pop9 - i32.add $push11=, $1, $2 - i32.add $push12=, $3, $pop11 + i32.store $drop=, 12($2), $pop5 + i32.load $push6=, 4($0) + i32.add $push7=, $1, $pop6 + i32.load $push8=, 8($0) + i32.add $push9=, $pop7, $pop8 i32.load $push10=, 12($0) - i32.add $push13=, $pop12, $pop10 - i32.const $push49=, 4 - i32.add $1=, $pop13, $pop49 + i32.add $push11=, $pop9, $pop10 + i32.const $push46=, 4 + i32.add $1=, $pop11, $pop46 br 1 # 1: down to label1 .LBB5_5: # %sw.bb10 end_block # label2: - i32.load $push53=, 12($4) - tee_local $push52=, $0=, $pop53 - i32.const $push14=, 4 - i32.add $push15=, $pop52, $pop14 - i32.store $drop=, 12($4), $pop15 + i32.load $push50=, 12($2) + tee_local $push49=, $0=, $pop50 + i32.const $push12=, 4 + i32.add $push13=, $pop49, $pop12 + i32.store $drop=, 12($2), $pop13 i32.load $1=, 0($0) - i32.const $push16=, 8 - i32.add $push17=, $0, $pop16 - i32.store $drop=, 12($4), $pop17 - i32.load $2=, 4($0) - i32.const $push18=, 12 - i32.add $push19=, $0, $pop18 - i32.store $drop=, 12($4), $pop19 - i32.add $push21=, $1, $2 - i32.load $push20=, 8($0) - i32.add $push22=, $pop21, $pop20 - i32.const $push23=, 3 - i32.add $1=, $pop22, $pop23 + i32.const $push14=, 12 + i32.add $push15=, $0, $pop14 + i32.store $drop=, 12($2), $pop15 + i32.load $push16=, 4($0) + i32.add $push17=, $1, $pop16 + i32.load $push18=, 8($0) + i32.add $push19=, $pop17, $pop18 + i32.const $push20=, 3 + i32.add $1=, $pop19, $pop20 .LBB5_6: # %sw.epilog end_block # label1: - i32.const $push41=, __stack_pointer - i32.const $push39=, 16 - i32.add $push40=, $4, $pop39 - i32.store $drop=, 0($pop41), $pop40 + i32.const $push38=, 0 + i32.const $push36=, 16 + i32.add $push37=, $2, $pop36 + i32.store $drop=, __stack_pointer($pop38), $pop37 return $1 .LBB5_7: # %sw.default end_block # label0: @@ -312,16 +289,16 @@ f3: # @f3 .type f4,@function f4: # @f4 .param i32, i32 - .local f64, f64, i32 + .local i32, i32, f64 # BB#0: # %entry - i32.const $push36=, __stack_pointer - i32.const $push33=, __stack_pointer - i32.load $push34=, 0($pop33) - i32.const $push35=, 16 - i32.sub $push40=, $pop34, $pop35 - i32.store $push42=, 0($pop36), $pop40 - tee_local $push41=, $4=, $pop42 - i32.store $drop=, 12($pop41), $1 + i32.const $push38=, 0 + i32.const $push35=, 0 + i32.load $push36=, __stack_pointer($pop35) + i32.const $push37=, 16 + i32.sub $push42=, $pop36, $pop37 + i32.store $push44=, __stack_pointer($pop38), $pop42 + tee_local $push43=, $3=, $pop44 + i32.store $drop=, 12($pop43), $1 block block block @@ -333,68 +310,65 @@ f4: # @f4 i32.ne $push3=, $0, $pop2 br_if 2, $pop3 # 2: down to label6 # BB#2: # %sw.bb - i32.load $push13=, 12($4) + i32.load $push15=, 12($3) i32.const $push14=, 7 - i32.add $push15=, $pop13, $pop14 - i32.const $push16=, -8 - i32.and $push46=, $pop15, $pop16 + i32.add $push16=, $pop15, $pop14 + i32.const $push17=, -8 + i32.and $push48=, $pop16, $pop17 + tee_local $push47=, $1=, $pop48 + i32.const $push18=, 8 + i32.add $push46=, $pop47, $pop18 tee_local $push45=, $0=, $pop46 - f64.load $3=, 0($pop45) - i32.const $push17=, 8 - i32.add $push44=, $0, $pop17 - tee_local $push43=, $0=, $pop44 - i32.store $drop=, 12($4), $pop43 + i32.store $drop=, 12($3), $pop45 + f64.load $4=, 0($1) br 1 # 1: down to label7 .LBB6_3: # %sw.bb2 end_block # label8: - i32.load $push4=, 12($4) - i32.const $push5=, 7 - i32.add $push6=, $pop4, $pop5 + i32.const $push10=, 0 + i32.load $push5=, 12($3) + i32.const $push4=, 7 + i32.add $push6=, $pop5, $pop4 i32.const $push7=, -8 i32.and $push52=, $pop6, $pop7 - tee_local $push51=, $0=, $pop52 + tee_local $push51=, $1=, $pop52 f64.load $push8=, 0($pop51) - i32.trunc_s/f64 $push50=, $pop8 - tee_local $push49=, $1=, $pop50 - f64.convert_s/i32 $push12=, $pop49 - f64.load $push11=, 8($0) - f64.add $3=, $pop12, $pop11 - i32.const $push9=, 0 - i32.store $drop=, y($pop9), $1 - i32.const $push10=, 16 - i32.add $push48=, $0, $pop10 - tee_local $push47=, $0=, $pop48 - i32.store $drop=, 12($4), $pop47 + i32.trunc_s/f64 $push9=, $pop8 + i32.store $2=, y($pop10), $pop9 + i32.const $push11=, 16 + i32.add $push50=, $1, $pop11 + tee_local $push49=, $0=, $pop50 + i32.store $drop=, 12($3), $pop49 + f64.convert_s/i32 $push13=, $2 + f64.load $push12=, 8($1) + f64.add $4=, $pop13, $pop12 .LBB6_4: # %sw.epilog end_block # label7: - i32.const $push20=, 7 - i32.add $push21=, $0, $pop20 - i32.const $push22=, -8 - i32.and $push57=, $pop21, $pop22 - tee_local $push56=, $0=, $pop57 - f64.load $2=, 0($pop56) - i32.const $push19=, 0 - i32.trunc_s/f64 $push18=, $3 - i32.store $drop=, y($pop19), $pop18 - i32.const $push55=, 0 - i32.trunc_s/f64 $push23=, $2 - i32.store $1=, x($pop55), $pop23 - i32.const $push54=, 0 - i32.const $push26=, 19 - i32.add $push27=, $0, $pop26 + i32.const $push20=, 0 + i32.trunc_s/f64 $push19=, $4 + i32.store $drop=, y($pop20), $pop19 + i32.const $push56=, 0 + i32.const $push21=, 7 + i32.add $push22=, $0, $pop21 + i32.const $push23=, -8 + i32.and $push55=, $pop22, $pop23 + tee_local $push54=, $0=, $pop55 + i32.const $push29=, 19 + i32.add $push30=, $pop54, $pop29 i32.const $push53=, -8 - i32.and $push28=, $pop27, $pop53 - f64.load $push29=, 0($pop28) + i32.and $push31=, $pop30, $pop53 + f64.load $push32=, 0($pop31) i32.load $push24=, 8($0) - i32.add $push25=, $1, $pop24 - f64.convert_s/i32 $push30=, $pop25 - f64.add $push31=, $pop29, $pop30 - i32.trunc_s/f64 $push32=, $pop31 - i32.store $drop=, x($pop54), $pop32 - i32.const $push39=, __stack_pointer - i32.const $push37=, 16 - i32.add $push38=, $4, $pop37 - i32.store $drop=, 0($pop39), $pop38 + f64.load $push25=, 0($0) + i32.trunc_s/f64 $push26=, $pop25 + i32.add $push27=, $pop24, $pop26 + f64.convert_s/i32 $push28=, $pop27 + f64.add $push33=, $pop32, $pop28 + i32.trunc_s/f64 $push34=, $pop33 + i32.store $drop=, x($pop56), $pop34 + i32.const $push41=, 0 + i32.const $push39=, 16 + i32.add $push40=, $3, $pop39 + i32.store $drop=, __stack_pointer($pop41), $pop40 return .LBB6_5: # %sw.default end_block # label6: @@ -412,12 +386,12 @@ main: # @main .result i32 .local i64, i32 # BB#0: # %entry - i32.const $push80=, __stack_pointer - i32.const $push77=, __stack_pointer - i32.load $push78=, 0($pop77) + i32.const $push80=, 0 + i32.const $push77=, 0 + i32.load $push78=, __stack_pointer($pop77) i32.const $push79=, 224 i32.sub $push104=, $pop78, $pop79 - i32.store $push108=, 0($pop80), $pop104 + i32.store $push108=, __stack_pointer($pop80), $pop104 tee_local $push107=, $1=, $pop108 i32.const $push84=, 192 i32.add $push85=, $pop107, $pop84 @@ -580,10 +554,10 @@ main: # @main i32.ne $push75=, $pop58, $pop74 br_if 0, $pop75 # 0: down to label9 # BB#12: # %if.end33 - i32.const $push83=, __stack_pointer + i32.const $push83=, 0 i32.const $push81=, 224 i32.add $push82=, $1, $pop81 - i32.store $drop=, 0($pop83), $pop82 + i32.store $drop=, __stack_pointer($pop83), $pop82 i32.const $push76=, 0 return $pop76 .LBB7_13: # %if.then32 diff --git a/test/torture-s/strcmp-1.c.s b/test/torture-s/strcmp-1.c.s index c418dbab6..0d529e4eb 100644 --- a/test/torture-s/strcmp-1.c.s +++ b/test/torture-s/strcmp-1.c.s @@ -76,8 +76,8 @@ main: # @main loop # label10: i32.const $9=, u1 block - i32.eqz $push51=, $4 - br_if 0, $pop51 # 0: down to label12 + i32.eqz $push57=, $4 + br_if 0, $pop57 # 0: down to label12 # BB#4: # %for.body9.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push27=, u1 @@ -89,8 +89,8 @@ main: # @main end_block # label12: copy_local $10=, $9 block - i32.eqz $push52=, $8 - br_if 0, $pop52 # 0: down to label13 + i32.eqz $push58=, $8 + br_if 0, $pop58 # 0: down to label13 # BB#6: # %for.body12.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push28=, 97 @@ -107,8 +107,8 @@ main: # @main i32.store16 $drop=, 0($pop3):p2align=0, $pop29 i32.const $11=, u2 block - i32.eqz $push53=, $6 - br_if 0, $pop53 # 0: down to label14 + i32.eqz $push59=, $6 + br_if 0, $pop59 # 0: down to label14 # BB#8: # %for.body26.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push33=, u2 @@ -120,8 +120,8 @@ main: # @main end_block # label14: copy_local $12=, $11 block - i32.eqz $push54=, $8 - br_if 0, $pop54 # 0: down to label15 + i32.eqz $push60=, $8 + br_if 0, $pop60 # 0: down to label15 # BB#10: # %for.body33.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push34=, 97 @@ -203,30 +203,33 @@ main: # @main br_if 7, $pop21 # 7: down to label4 # BB#20: # %for.cond4 # in Loop: Header=BB1_3 Depth=3 - i32.const $push44=, 1 - i32.add $8=, $8, $pop44 + i32.const $push46=, 1 + i32.add $push45=, $8, $pop46 + tee_local $push44=, $8=, $pop45 i32.const $push43=, 63 - i32.le_u $push22=, $8, $pop43 + i32.le_u $push22=, $pop44, $pop43 br_if 0, $pop22 # 0: up to label10 # BB#21: # %for.inc79 # in Loop: Header=BB1_2 Depth=2 end_loop # label11: - i32.const $push47=, 1 - i32.add $6=, $6, $pop47 - i32.const $push46=, 1 - i32.add $7=, $7, $pop46 - i32.const $push45=, 8 - i32.lt_u $push23=, $6, $pop45 + i32.const $push51=, 1 + i32.add $7=, $7, $pop51 + i32.const $push50=, 1 + i32.add $push49=, $6, $pop50 + tee_local $push48=, $6=, $pop49 + i32.const $push47=, 8 + i32.lt_u $push23=, $pop48, $pop47 br_if 0, $pop23 # 0: up to label8 # BB#22: # %for.inc82 # in Loop: Header=BB1_1 Depth=1 end_loop # label9: - i32.const $push50=, 1 - i32.add $4=, $4, $pop50 - i32.const $push49=, 1 - i32.add $5=, $5, $pop49 - i32.const $push48=, 8 - i32.lt_u $push24=, $4, $pop48 + i32.const $push56=, 1 + i32.add $5=, $5, $pop56 + i32.const $push55=, 1 + i32.add $push54=, $4, $pop55 + tee_local $push53=, $4=, $pop54 + i32.const $push52=, 8 + i32.lt_u $push24=, $pop53, $pop52 br_if 0, $pop24 # 0: up to label6 # BB#23: # %for.end84 end_loop # label7: diff --git a/test/torture-s/strcpy-1.c.s b/test/torture-s/strcpy-1.c.s index e7b0fb1bb..db80b7d90 100644 --- a/test/torture-s/strcpy-1.c.s +++ b/test/torture-s/strcpy-1.c.s @@ -30,10 +30,10 @@ main: # @main # Child Loop BB0_8 Depth 4 # Child Loop BB0_12 Depth 4 loop # label4: - i32.const $push51=, u2 - i32.add $3=, $2, $pop51 - i32.const $push50=, 65 - i32.add $4=, $2, $pop50 + i32.const $push51=, 65 + i32.add $4=, $2, $pop51 + i32.const $push50=, u2 + i32.add $3=, $2, $pop50 i32.const $5=, 1 .LBB0_3: # %for.cond7.preheader # Parent Loop BB0_1 Depth=1 @@ -47,34 +47,35 @@ main: # @main i32.const $push53=, 97 i32.const $push52=, 97 i32.call $drop=, memset@FUNCTION, $pop54, $pop53, $pop52 - i32.const $6=, 65 - i32.const $8=, -97 + i32.const $8=, 65 + i32.const $6=, -97 .LBB0_4: # %for.body9 # Parent Loop BB0_1 Depth=1 # Parent Loop BB0_2 Depth=2 # Parent Loop BB0_3 Depth=3 # => This Inner Loop Header: Depth=4 loop # label8: - i32.const $push60=, 65 - i32.const $push59=, 24 - i32.shl $push1=, $6, $pop59 - i32.const $push58=, 24 - i32.shr_s $push2=, $pop1, $pop58 - i32.const $push57=, 95 - i32.gt_s $push3=, $pop2, $pop57 - i32.select $push4=, $pop60, $6, $pop3 - i32.store8 $push0=, u2+97($8), $pop4 - i32.const $push56=, 1 - i32.add $6=, $pop0, $pop56 - i32.const $push55=, 1 - i32.add $8=, $8, $pop55 - br_if 0, $8 # 0: up to label8 + i32.const $push62=, 65 + i32.const $push61=, 24 + i32.shl $push1=, $8, $pop61 + i32.const $push60=, 24 + i32.shr_s $push2=, $pop1, $pop60 + i32.const $push59=, 95 + i32.gt_s $push3=, $pop2, $pop59 + i32.select $push4=, $pop62, $8, $pop3 + i32.store8 $push0=, u2+97($6), $pop4 + i32.const $push58=, 1 + i32.add $8=, $pop0, $pop58 + i32.const $push57=, 1 + i32.add $push56=, $6, $pop57 + tee_local $push55=, $6=, $pop56 + br_if 0, $pop55 # 0: up to label8 # BB#5: # %for.end # in Loop: Header=BB0_3 Depth=3 end_loop # label9: i32.add $push5=, $5, $2 - i32.const $push61=, 0 - i32.store8 $drop=, u2($pop5), $pop61 + i32.const $push63=, 0 + i32.store8 $drop=, u2($pop5), $pop63 i32.call $push6=, strcpy@FUNCTION, $1, $3 i32.ne $push7=, $pop6, $1 br_if 6, $pop7 # 6: down to label1 @@ -82,8 +83,8 @@ main: # @main # in Loop: Header=BB0_3 Depth=3 i32.const $7=, u1 block - i32.const $push62=, 1 - i32.lt_s $push8=, $0, $pop62 + i32.const $push64=, 1 + i32.lt_s $push8=, $0, $pop64 br_if 0, $pop8 # 0: down to label10 # BB#7: # %for.body24.preheader # in Loop: Header=BB0_3 Depth=3 @@ -94,23 +95,23 @@ main: # @main # Parent Loop BB0_3 Depth=3 # => This Inner Loop Header: Depth=4 loop # label11: - copy_local $push65=, $8 - tee_local $push64=, $6=, $pop65 - i32.load8_u $push9=, u1($pop64) - i32.const $push63=, 97 - i32.ne $push10=, $pop9, $pop63 + copy_local $push67=, $8 + tee_local $push66=, $6=, $pop67 + i32.load8_u $push9=, u1($pop66) + i32.const $push65=, 97 + i32.ne $push10=, $pop9, $pop65 br_if 9, $pop10 # 9: down to label1 # BB#9: # %for.inc30 # in Loop: Header=BB0_8 Depth=4 - i32.const $push68=, 1 - i32.add $push67=, $6, $pop68 - tee_local $push66=, $8=, $pop67 - i32.lt_s $push11=, $pop66, $0 + i32.const $push70=, 1 + i32.add $push69=, $6, $pop70 + tee_local $push68=, $8=, $pop69 + i32.lt_s $push11=, $pop68, $0 br_if 0, $pop11 # 0: up to label11 # BB#10: # in Loop: Header=BB0_3 Depth=3 end_loop # label12: - i32.const $push69=, u1+1 - i32.add $7=, $6, $pop69 + i32.const $push71=, u1+1 + i32.add $7=, $6, $pop71 .LBB0_11: # %for.body38.preheader # in Loop: Header=BB0_3 Depth=3 end_block # label10: @@ -124,120 +125,124 @@ main: # @main loop # label13: i32.add $push16=, $7, $8 i32.load8_u $push17=, 0($pop16) - i32.const $push76=, 65 - i32.const $push75=, 24 - i32.shl $push12=, $6, $pop75 - i32.const $push74=, 24 - i32.shr_s $push13=, $pop12, $pop74 - i32.const $push73=, 95 - i32.gt_s $push14=, $pop13, $pop73 - i32.select $push72=, $pop76, $6, $pop14 - tee_local $push71=, $6=, $pop72 - i32.const $push70=, 255 - i32.and $push15=, $pop71, $pop70 + i32.const $push78=, 65 + i32.const $push77=, 24 + i32.shl $push12=, $6, $pop77 + i32.const $push76=, 24 + i32.shr_s $push13=, $pop12, $pop76 + i32.const $push75=, 95 + i32.gt_s $push14=, $pop13, $pop75 + i32.select $push74=, $pop78, $6, $pop14 + tee_local $push73=, $6=, $pop74 + i32.const $push72=, 255 + i32.and $push15=, $pop73, $pop72 i32.ne $push18=, $pop17, $pop15 br_if 8, $pop18 # 8: down to label1 # BB#13: # %for.inc50 # in Loop: Header=BB0_12 Depth=4 - i32.const $push78=, 1 - i32.add $8=, $8, $pop78 - i32.const $push77=, 1 - i32.add $6=, $6, $pop77 - i32.lt_s $push19=, $8, $5 + i32.const $push82=, 1 + i32.add $6=, $6, $pop82 + i32.const $push81=, 1 + i32.add $push80=, $8, $pop81 + tee_local $push79=, $8=, $pop80 + i32.lt_s $push19=, $pop79, $5 br_if 0, $pop19 # 0: up to label13 # BB#14: # %for.end54 # in Loop: Header=BB0_3 Depth=3 end_loop # label14: - i32.add $push80=, $7, $8 - tee_local $push79=, $8=, $pop80 - i32.load8_u $push20=, 0($pop79) + i32.add $push84=, $7, $8 + tee_local $push83=, $8=, $pop84 + i32.load8_u $push20=, 0($pop83) br_if 6, $pop20 # 6: down to label1 # BB#15: # %for.cond61.preheader # in Loop: Header=BB0_3 Depth=3 - i32.const $push82=, 1 - i32.add $push21=, $8, $pop82 + i32.const $push86=, 1 + i32.add $push21=, $8, $pop86 i32.load8_u $push22=, 0($pop21) - i32.const $push81=, 97 - i32.ne $push23=, $pop22, $pop81 + i32.const $push85=, 97 + i32.ne $push23=, $pop22, $pop85 br_if 7, $pop23 # 7: down to label0 # BB#16: # %for.cond61 # in Loop: Header=BB0_3 Depth=3 - i32.const $push84=, 2 - i32.add $push24=, $8, $pop84 + i32.const $push88=, 2 + i32.add $push24=, $8, $pop88 i32.load8_u $push25=, 0($pop24) - i32.const $push83=, 97 - i32.ne $push26=, $pop25, $pop83 + i32.const $push87=, 97 + i32.ne $push26=, $pop25, $pop87 br_if 7, $pop26 # 7: down to label0 # BB#17: # %for.cond61.1 # in Loop: Header=BB0_3 Depth=3 - i32.const $push86=, 3 - i32.add $push27=, $8, $pop86 + i32.const $push90=, 3 + i32.add $push27=, $8, $pop90 i32.load8_u $push28=, 0($pop27) - i32.const $push85=, 97 - i32.ne $push29=, $pop28, $pop85 + i32.const $push89=, 97 + i32.ne $push29=, $pop28, $pop89 br_if 7, $pop29 # 7: down to label0 # BB#18: # %for.cond61.2 # in Loop: Header=BB0_3 Depth=3 - i32.const $push88=, 4 - i32.add $push30=, $8, $pop88 + i32.const $push92=, 4 + i32.add $push30=, $8, $pop92 i32.load8_u $push31=, 0($pop30) - i32.const $push87=, 97 - i32.ne $push32=, $pop31, $pop87 + i32.const $push91=, 97 + i32.ne $push32=, $pop31, $pop91 br_if 7, $pop32 # 7: down to label0 # BB#19: # %for.cond61.3 # in Loop: Header=BB0_3 Depth=3 - i32.const $push90=, 5 - i32.add $push33=, $8, $pop90 + i32.const $push94=, 5 + i32.add $push33=, $8, $pop94 i32.load8_u $push34=, 0($pop33) - i32.const $push89=, 97 - i32.ne $push35=, $pop34, $pop89 + i32.const $push93=, 97 + i32.ne $push35=, $pop34, $pop93 br_if 7, $pop35 # 7: down to label0 # BB#20: # %for.cond61.4 # in Loop: Header=BB0_3 Depth=3 - i32.const $push92=, 6 - i32.add $push36=, $8, $pop92 + i32.const $push96=, 6 + i32.add $push36=, $8, $pop96 i32.load8_u $push37=, 0($pop36) - i32.const $push91=, 97 - i32.ne $push38=, $pop37, $pop91 + i32.const $push95=, 97 + i32.ne $push38=, $pop37, $pop95 br_if 7, $pop38 # 7: down to label0 # BB#21: # %for.cond61.5 # in Loop: Header=BB0_3 Depth=3 - i32.const $push94=, 7 - i32.add $push39=, $8, $pop94 + i32.const $push98=, 7 + i32.add $push39=, $8, $pop98 i32.load8_u $push40=, 0($pop39) - i32.const $push93=, 97 - i32.ne $push41=, $pop40, $pop93 + i32.const $push97=, 97 + i32.ne $push41=, $pop40, $pop97 br_if 7, $pop41 # 7: down to label0 # BB#22: # %for.cond61.6 # in Loop: Header=BB0_3 Depth=3 - i32.const $push96=, 8 - i32.add $push42=, $8, $pop96 + i32.const $push100=, 8 + i32.add $push42=, $8, $pop100 i32.load8_u $push43=, 0($pop42) - i32.const $push95=, 97 - i32.ne $push44=, $pop43, $pop95 + i32.const $push99=, 97 + i32.ne $push44=, $pop43, $pop99 br_if 7, $pop44 # 7: down to label0 # BB#23: # %for.cond61.7 # in Loop: Header=BB0_3 Depth=3 - i32.const $push98=, 1 - i32.add $5=, $5, $pop98 - i32.const $push97=, 80 - i32.lt_u $push45=, $5, $pop97 + i32.const $push104=, 1 + i32.add $push103=, $5, $pop104 + tee_local $push102=, $5=, $pop103 + i32.const $push101=, 80 + i32.lt_u $push45=, $pop102, $pop101 br_if 0, $pop45 # 0: up to label6 # BB#24: # %for.inc77 # in Loop: Header=BB0_2 Depth=2 end_loop # label7: - i32.const $push100=, 1 - i32.add $2=, $2, $pop100 - i32.const $push99=, 8 - i32.lt_u $push46=, $2, $pop99 + i32.const $push108=, 1 + i32.add $push107=, $2, $pop108 + tee_local $push106=, $2=, $pop107 + i32.const $push105=, 8 + i32.lt_u $push46=, $pop106, $pop105 br_if 0, $pop46 # 0: up to label4 # BB#25: # %for.inc80 # in Loop: Header=BB0_1 Depth=1 end_loop # label5: - i32.const $push102=, 1 - i32.add $0=, $0, $pop102 - i32.const $push101=, 8 - i32.lt_u $push47=, $0, $pop101 + i32.const $push112=, 1 + i32.add $push111=, $0, $pop112 + tee_local $push110=, $0=, $pop111 + i32.const $push109=, 8 + i32.lt_u $push47=, $pop110, $pop109 br_if 0, $pop47 # 0: up to label2 # BB#26: # %for.end82 end_loop # label3: diff --git a/test/torture-s/strct-pack-1.c.s b/test/torture-s/strct-pack-1.c.s index f574831d5..871c03c90 100644 --- a/test/torture-s/strct-pack-1.c.s +++ b/test/torture-s/strct-pack-1.c.s @@ -24,7 +24,8 @@ check: # @check i32.const $1=, 0 .LBB0_3: # %return end_block # label0: - return $1 + copy_local $push6=, $1 + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size check, .Lfunc_end0-check diff --git a/test/torture-s/strct-pack-3.c.s b/test/torture-s/strct-pack-3.c.s index 93f5522ec..baff894b0 100644 --- a/test/torture-s/strct-pack-3.c.s +++ b/test/torture-s/strct-pack-3.c.s @@ -9,22 +9,22 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - i32.const $push0=, 6 - i32.add $push1=, $0, $pop0 - i32.load $push14=, 0($pop1):p2align=1 + i32.const $push3=, 6 + i32.add $push4=, $0, $pop3 + i32.load $push14=, 0($pop4):p2align=1 tee_local $push13=, $1=, $pop14 - i32.const $push5=, 16 - i32.shl $push8=, $pop13, $pop5 - i32.load $push4=, 2($0):p2align=1 + i32.const $push1=, 16 + i32.shl $push8=, $pop13, $pop1 + i32.load $push0=, 2($0):p2align=1 i32.const $push12=, 16 - i32.shl $push6=, $pop4, $pop12 - i32.const $push2=, 17 - i32.shl $push3=, $1, $pop2 - i32.add $push7=, $pop6, $pop3 + i32.shl $push2=, $pop0, $pop12 + i32.const $push5=, 17 + i32.shl $push6=, $1, $pop5 + i32.add $push7=, $pop2, $pop6 i32.add $push9=, $pop8, $pop7 i32.const $push11=, 16 i32.shr_s $push10=, $pop9, $pop11 - return $pop10 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/strct-pack-4.c.s b/test/torture-s/strct-pack-4.c.s index 2c3932011..1e7cb1114 100644 --- a/test/torture-s/strct-pack-4.c.s +++ b/test/torture-s/strct-pack-4.c.s @@ -8,7 +8,7 @@ my_set_a: # @my_set_a .result i32 # BB#0: # %entry i32.const $push0=, 171 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size my_set_a, .Lfunc_end0-my_set_a @@ -21,7 +21,7 @@ my_set_b: # @my_set_b .result i32 # BB#0: # %entry i32.const $push0=, 4660 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size my_set_b, .Lfunc_end1-my_set_b diff --git a/test/torture-s/strct-stdarg-1.c.s b/test/torture-s/strct-stdarg-1.c.s index 364da95c2..a9402f08d 100644 --- a/test/torture-s/strct-stdarg-1.c.s +++ b/test/torture-s/strct-stdarg-1.c.s @@ -9,14 +9,14 @@ f: # @f .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push31=, __stack_pointer - i32.const $push28=, __stack_pointer - i32.load $push29=, 0($pop28) + i32.const $push31=, 0 + i32.const $push28=, 0 + i32.load $push29=, __stack_pointer($pop28) i32.const $push30=, 16 i32.sub $push35=, $pop29, $pop30 - i32.store $push38=, 0($pop31), $pop35 + i32.store $push38=, __stack_pointer($pop31), $pop35 tee_local $push37=, $3=, $pop38 - i32.store $2=, 12($pop37), $1 + i32.store $4=, 12($pop37), $1 block block block @@ -25,65 +25,66 @@ f: # @f br_if 0, $pop4 # 0: down to label2 # BB#1: # %for.body.preheader i32.const $push39=, 8 - i32.add $4=, $2, $pop39 - i32.const $2=, 0 + i32.add $2=, $4, $pop39 + i32.const $4=, 0 .LBB0_2: # %for.body # =>This Inner Loop Header: Depth=1 loop # label3: i32.const $push43=, 10 - i32.add $push10=, $2, $pop43 - i32.store $push42=, 12($3), $4 - tee_local $push41=, $4=, $pop42 + i32.add $push5=, $4, $pop43 + i32.store $push42=, 12($3), $2 + tee_local $push41=, $2=, $pop42 i32.const $push40=, -8 - i32.add $push5=, $pop41, $pop40 - i32.load8_s $push9=, 0($pop5) - i32.ne $push11=, $pop10, $pop9 - br_if 3, $pop11 # 3: down to label1 + i32.add $push6=, $pop41, $pop40 + i32.load8_s $push7=, 0($pop6) + i32.ne $push8=, $pop5, $pop7 + br_if 3, $pop8 # 3: down to label1 # BB#3: # %if.end # in Loop: Header=BB0_2 Depth=1 i32.const $push45=, 20 - i32.add $push14=, $2, $pop45 + i32.add $push12=, $4, $pop45 i32.const $push44=, -7 - i32.add $push12=, $4, $pop44 - i32.load8_s $push13=, 0($pop12) - i32.ne $push15=, $pop14, $pop13 + i32.add $push13=, $2, $pop44 + i32.load8_s $push14=, 0($pop13) + i32.ne $push15=, $pop12, $pop14 br_if 3, $pop15 # 3: down to label1 # BB#4: # %if.end9 # in Loop: Header=BB0_2 Depth=1 i32.const $push47=, 30 - i32.add $push16=, $2, $pop47 + i32.add $push16=, $4, $pop47 i32.const $push46=, -6 - i32.add $push6=, $4, $pop46 - i32.load8_s $push1=, 0($pop6) + i32.add $push11=, $2, $pop46 + i32.load8_s $push1=, 0($pop11) i32.ne $push17=, $pop16, $pop1 br_if 3, $pop17 # 3: down to label1 # BB#5: # %if.end15 # in Loop: Header=BB0_2 Depth=1 i32.const $push49=, 40 - i32.add $push18=, $2, $pop49 + i32.add $push18=, $4, $pop49 i32.const $push48=, -5 - i32.add $push7=, $4, $pop48 - i32.load8_s $push2=, 0($pop7) + i32.add $push10=, $2, $pop48 + i32.load8_s $push2=, 0($pop10) i32.ne $push19=, $pop18, $pop2 br_if 3, $pop19 # 3: down to label1 # BB#6: # %if.end21 # in Loop: Header=BB0_2 Depth=1 i32.const $push51=, 50 - i32.add $push20=, $2, $pop51 + i32.add $push20=, $4, $pop51 i32.const $push50=, -4 - i32.add $push8=, $4, $pop50 - i32.load8_s $push3=, 0($pop8) + i32.add $push9=, $2, $pop50 + i32.load8_s $push3=, 0($pop9) i32.ne $push21=, $pop20, $pop3 br_if 4, $pop21 # 4: down to label0 # BB#7: # %for.cond # in Loop: Header=BB0_2 Depth=1 - copy_local $1=, $4 - i32.const $push53=, 1 - i32.add $2=, $2, $pop53 - i32.const $push52=, 8 - i32.add $push0=, $4, $pop52 - copy_local $4=, $pop0 - i32.lt_s $push22=, $2, $0 + copy_local $1=, $2 + i32.const $push55=, 8 + i32.add $push0=, $2, $pop55 + copy_local $2=, $pop0 + i32.const $push54=, 1 + i32.add $push53=, $4, $pop54 + tee_local $push52=, $4=, $pop53 + i32.lt_s $push22=, $pop52, $0 br_if 0, $pop22 # 0: up to label3 .LBB0_8: # %for.end end_loop # label4: @@ -96,11 +97,11 @@ f: # @f i32.ne $push27=, $pop25, $pop26 br_if 0, $pop27 # 0: down to label1 # BB#9: # %if.end34 - i32.const $push34=, __stack_pointer + i32.const $push34=, 0 i32.const $push32=, 16 i32.add $push33=, $3, $pop32 - i32.store $drop=, 0($pop34), $pop33 - return $2 + i32.store $drop=, __stack_pointer($pop34), $pop33 + return $4 .LBB0_10: # %if.then33 end_block # label1: call abort@FUNCTION @@ -121,98 +122,96 @@ main: # @main .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push38=, __stack_pointer - i32.const $push35=, __stack_pointer - i32.load $push36=, 0($pop35) - i32.const $push37=, 64 - i32.sub $push55=, $pop36, $pop37 - i32.store $push65=, 0($pop38), $pop55 - tee_local $push64=, $2=, $pop65 - i32.const $push39=, 48 - i32.add $push40=, $pop64, $pop39 + i32.const $push39=, 0 + i32.const $push36=, 0 + i32.load $push37=, __stack_pointer($pop36) + i32.const $push38=, 64 + i32.sub $push56=, $pop37, $pop38 + i32.store $push64=, __stack_pointer($pop39), $pop56 + tee_local $push63=, $1=, $pop64 + i32.const $push40=, 48 + i32.add $push41=, $pop63, $pop40 i32.const $push1=, 11 - i32.add $push4=, $pop40, $pop1 - i32.const $push5=, 22 - i32.store8 $drop=, 0($pop4), $pop5 - i32.const $push41=, 48 - i32.add $push42=, $2, $pop41 - i32.const $push2=, 12 - i32.add $push8=, $pop42, $pop2 - i32.const $push9=, 32 - i32.store8 $drop=, 0($pop8), $pop9 - i32.const $push11=, 56 - i32.add $push12=, $2, $pop11 - i32.const $push13=, 41 - i32.store8 $drop=, 0($pop12), $pop13 - i32.const $push14=, 61 - i32.add $push15=, $2, $pop14 - i32.const $push16=, 42 - i32.store8 $drop=, 0($pop15), $pop16 - i32.const $push0=, 5130 - i32.store16 $drop=, 48($2), $pop0 - i32.const $push63=, 11 - i32.store8 $drop=, 53($2), $pop63 - i32.const $push62=, 12 - i32.store8 $drop=, 58($2), $pop62 - i32.const $push3=, 21 - i32.store8 $drop=, 54($2), $pop3 + i32.store8 $push0=, 53($1), $pop1 + i32.add $push2=, $pop41, $pop0 + i32.const $push3=, 22 + i32.store8 $drop=, 0($pop2), $pop3 + i32.const $push4=, 5130 + i32.store16 $drop=, 48($1), $pop4 + i32.const $push5=, 21 + i32.store8 $drop=, 54($1), $pop5 i32.const $push6=, 30 - i32.store8 $drop=, 50($2), $pop6 - i32.const $push7=, 31 - i32.store8 $drop=, 55($2), $pop7 - i32.const $push10=, 40 - i32.store8 $drop=, 51($2), $pop10 - i32.const $push17=, 50 - i32.store8 $drop=, 52($2), $pop17 - i32.const $push18=, 57 - i32.add $push61=, $2, $pop18 - tee_local $push60=, $1=, $pop61 - i32.const $push19=, 51 - i32.store8 $drop=, 0($pop60), $pop19 - i32.const $push20=, 62 - i32.add $push59=, $2, $pop20 - tee_local $push58=, $0=, $pop59 - i32.const $push21=, 52 - i32.store8 $drop=, 0($pop58), $pop21 - i32.const $push43=, 40 - i32.add $push44=, $2, $pop43 - i32.const $push22=, 4 - i32.add $push23=, $pop44, $pop22 - i32.load8_u $push24=, 52($2) - i32.store8 $drop=, 0($pop23), $pop24 - i32.const $push45=, 32 - i32.add $push46=, $2, $pop45 + i32.store8 $drop=, 50($1), $pop6 + i32.const $push7=, 12 + i32.store8 $0=, 58($1), $pop7 + i32.const $push8=, 31 + i32.store8 $drop=, 55($1), $pop8 + i32.const $push42=, 48 + i32.add $push43=, $1, $pop42 + i32.add $push9=, $0, $pop43 + i32.const $push10=, 32 + i32.store8 $drop=, 0($pop9), $pop10 + i32.const $push11=, 40 + i32.store8 $drop=, 51($1), $pop11 + i32.const $push12=, 56 + i32.add $push13=, $1, $pop12 + i32.const $push14=, 41 + i32.store8 $drop=, 0($pop13), $pop14 + i32.const $push15=, 61 + i32.add $push16=, $1, $pop15 + i32.const $push17=, 42 + i32.store8 $drop=, 0($pop16), $pop17 + i32.const $push18=, 50 + i32.store8 $drop=, 52($1), $pop18 + i32.const $push19=, 57 + i32.add $push62=, $1, $pop19 + tee_local $push61=, $0=, $pop62 + i32.const $push20=, 51 + i32.store8 $drop=, 0($pop61), $pop20 + i32.const $push44=, 40 + i32.add $push45=, $1, $pop44 + i32.const $push21=, 4 + i32.add $push22=, $pop45, $pop21 + i32.load8_u $push23=, 52($1) + i32.store8 $drop=, 0($pop22), $pop23 + i32.const $push24=, 62 + i32.add $push60=, $1, $pop24 + tee_local $push59=, $2=, $pop60 + i32.const $push25=, 52 + i32.store8 $drop=, 0($pop59), $pop25 + i32.const $push46=, 32 + i32.add $push47=, $1, $pop46 + i32.const $push58=, 4 + i32.add $push26=, $pop47, $pop58 + i32.load8_u $push27=, 0($0) + i32.store8 $drop=, 0($pop26), $pop27 + i32.load $push28=, 48($1) + i32.store $drop=, 40($1), $pop28 + i32.load $push29=, 53($1):p2align=0 + i32.store $drop=, 32($1), $pop29 + i32.const $push48=, 24 + i32.add $push49=, $1, $pop48 i32.const $push57=, 4 - i32.add $push25=, $pop46, $pop57 - i32.load8_u $push26=, 0($1) - i32.store8 $drop=, 0($pop25), $pop26 - i32.load $push27=, 48($2) - i32.store $drop=, 40($2), $pop27 - i32.load $push28=, 53($2):p2align=0 - i32.store $drop=, 32($2), $pop28 - i32.const $push47=, 24 - i32.add $push48=, $2, $pop47 - i32.const $push56=, 4 - i32.add $push29=, $pop48, $pop56 - i32.load8_u $push30=, 0($0) - i32.store8 $drop=, 0($pop29), $pop30 - i32.load $push31=, 58($2):p2align=1 - i32.store $drop=, 24($2), $pop31 - i32.const $push32=, 123 - i32.store $drop=, 12($2), $pop32 - i32.const $push49=, 24 - i32.add $push50=, $2, $pop49 - i32.store $drop=, 8($2), $pop50 - i32.const $push51=, 32 - i32.add $push52=, $2, $pop51 - i32.store $drop=, 4($2), $pop52 - i32.const $push53=, 40 - i32.add $push54=, $2, $pop53 - i32.store $drop=, 0($2), $pop54 - i32.const $push33=, 3 - i32.call $drop=, f@FUNCTION, $pop33, $2 - i32.const $push34=, 0 - call exit@FUNCTION, $pop34 + i32.add $push30=, $pop49, $pop57 + i32.load8_u $push31=, 0($2) + i32.store8 $drop=, 0($pop30), $pop31 + i32.load $push32=, 58($1):p2align=1 + i32.store $drop=, 24($1), $pop32 + i32.const $push33=, 123 + i32.store $drop=, 12($1), $pop33 + i32.const $push50=, 24 + i32.add $push51=, $1, $pop50 + i32.store $drop=, 8($1), $pop51 + i32.const $push52=, 32 + i32.add $push53=, $1, $pop52 + i32.store $drop=, 4($1), $pop53 + i32.const $push54=, 40 + i32.add $push55=, $1, $pop54 + i32.store $drop=, 0($1), $pop55 + i32.const $push34=, 3 + i32.call $drop=, f@FUNCTION, $pop34, $1 + i32.const $push35=, 0 + call exit@FUNCTION, $pop35 unreachable .endfunc .Lfunc_end1: diff --git a/test/torture-s/strct-varg-1.c.s b/test/torture-s/strct-varg-1.c.s index 9cbf14a7b..724bc9ef9 100644 --- a/test/torture-s/strct-varg-1.c.s +++ b/test/torture-s/strct-varg-1.c.s @@ -9,12 +9,12 @@ f: # @f .result i32 .local i32 # BB#0: # %entry - i32.const $push28=, __stack_pointer - i32.const $push25=, __stack_pointer - i32.load $push26=, 0($pop25) + i32.const $push28=, 0 + i32.const $push25=, 0 + i32.load $push26=, __stack_pointer($pop25) i32.const $push27=, 16 i32.sub $push32=, $pop26, $pop27 - i32.store $push34=, 0($pop28), $pop32 + i32.store $push34=, __stack_pointer($pop28), $pop32 tee_local $push33=, $2=, $pop34 i32.store $drop=, 12($pop33), $1 block @@ -60,10 +60,10 @@ f: # @f i32.ne $push24=, $pop22, $pop23 br_if 0, $pop24 # 0: down to label0 # BB#6: # %if.end19 - i32.const $push31=, __stack_pointer + i32.const $push31=, 0 i32.const $push29=, 16 i32.add $push30=, $2, $pop29 - i32.store $drop=, 0($pop31), $pop30 + i32.store $drop=, __stack_pointer($pop31), $pop30 return $0 .LBB0_7: # %if.then18 end_block # label0: @@ -81,12 +81,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push13=, __stack_pointer - i32.const $push10=, __stack_pointer - i32.load $push11=, 0($pop10) + i32.const $push13=, 0 + i32.const $push10=, 0 + i32.load $push11=, __stack_pointer($pop10) i32.const $push12=, 48 i32.sub $push18=, $pop11, $pop12 - i32.store $push20=, 0($pop13), $pop18 + i32.store $push20=, __stack_pointer($pop13), $pop18 tee_local $push19=, $0=, $pop20 i64.const $push0=, 93823560624810 i64.store $drop=, 40($pop19), $pop0 diff --git a/test/torture-s/string-opt-17.c.s b/test/torture-s/string-opt-17.c.s index 9a1f22308..b24eab075 100644 --- a/test/torture-s/string-opt-17.c.s +++ b/test/torture-s/string-opt-17.c.s @@ -8,12 +8,12 @@ test1: # @test1 .param i32, i32 .result i32 # BB#0: # %entry - i32.const $push2=, .L.str - i32.add $push3=, $1, $pop2 - i32.call $drop=, strcpy@FUNCTION, $0, $pop3 - i32.const $push0=, 1 + i32.const $push0=, .L.str i32.add $push1=, $1, $pop0 - return $pop1 + i32.call $drop=, strcpy@FUNCTION, $0, $pop1 + i32.const $push2=, 1 + i32.add $push3=, $1, $pop2 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -80,12 +80,12 @@ main: # @main .result i32 .local i32 # BB#0: # %lor.lhs.false - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) + i32.const $push14=, 0 + i32.const $push11=, 0 + i32.load $push12=, __stack_pointer($pop11) i32.const $push13=, 16 i32.sub $push17=, $pop12, $pop13 - i32.store $push21=, 0($pop14), $pop17 + i32.store $push21=, __stack_pointer($pop14), $pop17 tee_local $push20=, $0=, $pop21 i32.const $push19=, 0 i32.load8_u $push0=, .L.str+9($pop19) @@ -96,9 +96,9 @@ main: # @main block i32.const $push15=, 4 i32.add $push16=, $0, $pop15 - i32.const $push2=, .L.str.1 - i32.const $push3=, 3 - i32.call $push4=, memcmp@FUNCTION, $pop16, $pop2, $pop3 + i32.const $push3=, .L.str.1 + i32.const $push2=, 3 + i32.call $push4=, memcmp@FUNCTION, $pop16, $pop3, $pop2 br_if 0, $pop4 # 0: down to label2 # BB#1: # %if.end i32.const $push22=, 0 diff --git a/test/torture-s/string-opt-18.c.s b/test/torture-s/string-opt-18.c.s index 671e750f2..59d10648a 100644 --- a/test/torture-s/string-opt-18.c.s +++ b/test/torture-s/string-opt-18.c.s @@ -7,7 +7,7 @@ test1: # @test1 .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end0: .size test1, .Lfunc_end0-test1 @@ -21,10 +21,10 @@ test2: # @test2 # BB#0: # %entry block i32.const $push0=, 8 - i32.call $push1=, mempcpy@FUNCTION, $0, $0, $pop0 + i32.call $push2=, mempcpy@FUNCTION, $0, $0, $pop0 i32.const $push4=, 8 - i32.add $push2=, $0, $pop4 - i32.ne $push3=, $pop1, $pop2 + i32.add $push1=, $0, $pop4 + i32.ne $push3=, $pop2, $pop1 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end return @@ -43,7 +43,7 @@ test2: # @test2 test3: # @test3 .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end2: .size test3, .Lfunc_end2-test3 @@ -55,7 +55,7 @@ test3: # @test3 test4: # @test4 .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end3: .size test4, .Lfunc_end3-test4 @@ -67,7 +67,7 @@ test4: # @test4 test5: # @test5 .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end4: .size test5, .Lfunc_end4-test5 @@ -79,7 +79,7 @@ test5: # @test5 test6: # @test6 .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end5: .size test6, .Lfunc_end5-test6 @@ -91,7 +91,7 @@ test6: # @test6 test7: # @test7 .param i32 # BB#0: # %entry - return + # fallthrough-return .endfunc .Lfunc_end6: .size test7, .Lfunc_end6-test7 @@ -105,30 +105,30 @@ main: # @main .local i32 # BB#0: # %entry block - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push18=, $pop6, $pop7 - i32.store $push21=, 0($pop8), $pop18 + i32.store $push21=, __stack_pointer($pop8), $pop18 tee_local $push20=, $0=, $pop21 - i32.const $push12=, 6 - i32.add $push13=, $pop20, $pop12 i32.const $push14=, 6 - i32.add $push15=, $0, $pop14 - i32.const $push0=, 8 - i32.call $push1=, mempcpy@FUNCTION, $pop13, $pop15, $pop0 + i32.add $push15=, $pop20, $pop14 i32.const $push16=, 6 i32.add $push17=, $0, $pop16 + i32.const $push0=, 8 + i32.call $push2=, mempcpy@FUNCTION, $pop15, $pop17, $pop0 + i32.const $push12=, 6 + i32.add $push13=, $0, $pop12 i32.const $push19=, 8 - i32.add $push2=, $pop17, $pop19 - i32.ne $push3=, $pop1, $pop2 + i32.add $push1=, $pop13, $pop19 + i32.ne $push3=, $pop2, $pop1 br_if 0, $pop3 # 0: down to label1 # BB#1: # %test2.exit - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $0, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 i32.const $push4=, 0 return $pop4 .LBB7_2: # %if.then.i diff --git a/test/torture-s/string-opt-5.c.s b/test/torture-s/string-opt-5.c.s index e3b5ed23c..9923c39e4 100644 --- a/test/torture-s/string-opt-5.c.s +++ b/test/torture-s/string-opt-5.c.s @@ -8,262 +8,263 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push119=, __stack_pointer - i32.const $push116=, __stack_pointer - i32.load $push117=, 0($pop116) - i32.const $push118=, 64 - i32.sub $push123=, $pop117, $pop118 - i32.store $1=, 0($pop119), $pop123 + i32.const $push123=, 0 + i32.const $push120=, 0 + i32.load $push121=, __stack_pointer($pop120) + i32.const $push122=, 64 + i32.sub $push127=, $pop121, $pop122 + i32.store $2=, __stack_pointer($pop123), $pop127 block - i32.const $push126=, 0 - i32.load $push125=, bar($pop126) - tee_local $push124=, $2=, $pop125 - i32.call $push3=, strlen@FUNCTION, $pop124 - i32.const $push4=, 8 - i32.ne $push5=, $pop3, $pop4 - br_if 0, $pop5 # 0: down to label0 + i32.const $push130=, 0 + i32.load $push129=, bar($pop130) + tee_local $push128=, $3=, $pop129 + i32.call $push5=, strlen@FUNCTION, $pop128 + i32.const $push6=, 8 + i32.ne $push7=, $pop5, $pop6 + br_if 0, $pop7 # 0: down to label0 # BB#1: # %if.end - i32.const $push132=, 0 - i32.const $push131=, 0 - i32.load $push130=, x($pop131) - tee_local $push129=, $4=, $pop130 - i32.const $push6=, 1 - i32.add $push128=, $pop129, $pop6 - tee_local $push127=, $3=, $pop128 - i32.store $0=, x($pop132), $pop127 - i32.const $push7=, 2 - i32.and $push8=, $3, $pop7 - i32.add $push9=, $2, $pop8 - i32.call $push10=, strlen@FUNCTION, $pop9 - i32.const $push11=, 6 - i32.ne $push12=, $pop10, $pop11 - br_if 0, $pop12 # 0: down to label0 -# BB#2: # %if.end4 - i32.const $push13=, 7 - i32.ne $push14=, $0, $pop13 + i32.const $push136=, 0 + i32.const $push135=, 0 + i32.load $push134=, x($pop135) + tee_local $push133=, $4=, $pop134 + i32.const $push8=, 1 + i32.add $push0=, $pop133, $pop8 + i32.store $push132=, x($pop136), $pop0 + tee_local $push131=, $0=, $pop132 + i32.const $push9=, 2 + i32.and $push10=, $pop131, $pop9 + i32.add $push11=, $3, $pop10 + i32.call $push12=, strlen@FUNCTION, $pop11 + i32.const $push13=, 6 + i32.ne $push14=, $pop12, $pop13 br_if 0, $pop14 # 0: down to label0 +# BB#2: # %if.end4 + i32.const $push15=, 7 + i32.ne $push16=, $0, $pop15 + br_if 0, $pop16 # 0: down to label0 # BB#3: # %if.end26 - i32.const $push133=, 0 - i32.const $push15=, -3 - i32.add $push0=, $4, $pop15 - i32.store $3=, x($pop133), $pop0 - i32.const $push16=, .L.str.1-3 - i32.add $push17=, $4, $pop16 - i32.const $push18=, .L.str.2 - i32.call $push19=, strcmp@FUNCTION, $pop17, $pop18 - br_if 0, $pop19 # 0: down to label0 -# BB#4: # %if.end33 - i32.const $push135=, .L.str.1 - i32.call $push20=, strcmp@FUNCTION, $pop135, $2 - i32.const $push134=, 0 - i32.ge_s $push21=, $pop20, $pop134 + i32.const $push137=, 0 + i32.const $push17=, -3 + i32.add $push1=, $4, $pop17 + i32.store $0=, x($pop137), $pop1 + i32.const $push18=, .L.str.1-3 + i32.add $push19=, $4, $pop18 + i32.const $push20=, .L.str.2 + i32.call $push21=, strcmp@FUNCTION, $pop19, $pop20 br_if 0, $pop21 # 0: down to label0 -# BB#5: # %if.end37 +# BB#4: # %if.end33 + i32.const $push139=, .L.str.1 + i32.call $push22=, strcmp@FUNCTION, $pop139, $3 i32.const $push138=, 0 - i32.const $push22=, -2 - i32.add $push1=, $4, $pop22 - i32.store $0=, x($pop138), $pop1 - i32.const $push137=, .L.str.1 - i32.const $push23=, 1 - i32.and $push24=, $3, $pop23 - i32.add $push25=, $2, $pop24 - i32.call $push26=, strcmp@FUNCTION, $pop137, $pop25 - i32.const $push136=, 0 - i32.ge_s $push27=, $pop26, $pop136 - br_if 0, $pop27 # 0: down to label0 + i32.ge_s $push23=, $pop22, $pop138 + br_if 0, $pop23 # 0: down to label0 +# BB#5: # %if.end37 + i32.const $push142=, 0 + i32.const $push24=, -2 + i32.add $push2=, $4, $pop24 + i32.store $1=, x($pop142), $pop2 + i32.const $push141=, .L.str.1 + i32.const $push25=, 1 + i32.and $push26=, $0, $pop25 + i32.add $push27=, $3, $pop26 + i32.call $push28=, strcmp@FUNCTION, $pop141, $pop27 + i32.const $push140=, 0 + i32.ge_s $push29=, $pop28, $pop140 + br_if 0, $pop29 # 0: down to label0 # BB#6: # %if.end47 - i32.const $push139=, 0 - i32.const $push28=, -1 - i32.add $push2=, $4, $pop28 - i32.store $3=, x($pop139), $pop2 - i32.const $push29=, 7 - i32.and $push30=, $0, $pop29 - i32.const $push31=, .L.str.1 - i32.add $push32=, $pop30, $pop31 - i32.const $push33=, 108 - i32.call $push34=, strchr@FUNCTION, $pop32, $pop33 - i32.const $push35=, .L.str.1+9 - i32.ne $push36=, $pop34, $pop35 - br_if 0, $pop36 # 0: down to label0 + i32.const $push143=, 0 + i32.const $push30=, -1 + i32.add $push3=, $4, $pop30 + i32.store $0=, x($pop143), $pop3 + i32.const $push31=, 7 + i32.and $push32=, $1, $pop31 + i32.const $push33=, .L.str.1 + i32.add $push34=, $pop32, $pop33 + i32.const $push35=, 108 + i32.call $push36=, strchr@FUNCTION, $pop34, $pop35 + i32.const $push37=, .L.str.1+9 + i32.ne $push38=, $pop36, $pop37 + br_if 0, $pop38 # 0: down to label0 # BB#7: # %if.end58 - i32.const $push37=, 111 - i32.call $push141=, strchr@FUNCTION, $2, $pop37 - tee_local $push140=, $0=, $pop141 - i32.const $push38=, 4 - i32.add $push39=, $2, $pop38 - i32.ne $push40=, $pop140, $pop39 - br_if 0, $pop40 # 0: down to label0 + i32.const $push41=, 111 + i32.call $push145=, strchr@FUNCTION, $3, $pop41 + tee_local $push144=, $1=, $pop145 + i32.const $push39=, 4 + i32.add $push40=, $3, $pop39 + i32.ne $push42=, $pop144, $pop40 + br_if 0, $pop42 # 0: down to label0 # BB#8: # %if.end63 - i32.call $push41=, strlen@FUNCTION, $2 - i32.const $push42=, 8 - i32.ne $push43=, $pop41, $pop42 - br_if 0, $pop43 # 0: down to label0 -# BB#9: # %if.end68 - i32.const $push44=, 120 - i32.call $push45=, strrchr@FUNCTION, $2, $pop44 + i32.call $push43=, strlen@FUNCTION, $3 + i32.const $push44=, 8 + i32.ne $push45=, $pop43, $pop44 br_if 0, $pop45 # 0: down to label0 +# BB#9: # %if.end68 + i32.const $push46=, 120 + i32.call $push47=, strrchr@FUNCTION, $3, $pop46 + br_if 0, $pop47 # 0: down to label0 # BB#10: # %if.end72 - i32.const $push46=, 111 - i32.call $push47=, strrchr@FUNCTION, $2, $pop46 - i32.ne $push48=, $pop47, $0 - br_if 0, $pop48 # 0: down to label0 + i32.const $push48=, 111 + i32.call $push49=, strrchr@FUNCTION, $3, $pop48 + i32.ne $push50=, $pop49, $1 + br_if 0, $pop50 # 0: down to label0 # BB#11: # %if.end77 - i32.const $push49=, 0 - i32.load $2=, y($pop49) - i32.const $push146=, 0 - i32.store $drop=, x($pop146), $4 - i32.const $push145=, 0 - i32.const $push54=, -1 - i32.add $push144=, $2, $pop54 - tee_local $push143=, $2=, $pop144 - i32.store $0=, y($pop145), $pop143 - i32.const $push50=, 1 - i32.and $push51=, $3, $pop50 - i32.const $push52=, .L.str.1 - i32.add $push53=, $pop51, $pop52 - i32.const $push142=, 1 - i32.and $push55=, $2, $pop142 - i32.const $push56=, .L.str.3 + i32.const $push51=, 0 + i32.store $3=, x($pop51), $4 + i32.const $push54=, 1 + i32.and $push55=, $0, $pop54 + i32.const $push56=, .L.str.1 i32.add $push57=, $pop55, $pop56 - i32.call $push58=, strcmp@FUNCTION, $pop53, $pop57 - br_if 0, $pop58 # 0: down to label0 + i32.const $push150=, 0 + i32.const $push149=, 0 + i32.load $push52=, y($pop149) + i32.const $push53=, -1 + i32.add $push4=, $pop52, $pop53 + i32.store $push148=, y($pop150), $pop4 + tee_local $push147=, $4=, $pop148 + i32.const $push146=, 1 + i32.and $push58=, $pop147, $pop146 + i32.const $push59=, .L.str.3 + i32.add $push60=, $pop58, $pop59 + i32.call $push61=, strcmp@FUNCTION, $pop57, $pop60 + br_if 0, $pop61 # 0: down to label0 # BB#12: # %if.end86 - br_if 0, $0 # 0: down to label0 + br_if 0, $4 # 0: down to label0 # BB#13: # %if.end86 - i32.const $push147=, 6 - i32.ne $push59=, $4, $pop147 - br_if 0, $pop59 # 0: down to label0 -# BB#14: # %if.end90 - i32.const $push152=, 0 i32.const $push151=, 6 - i32.store $drop=, x($pop152), $pop151 - i32.const $push62=, 1869376613 - i32.store $drop=, 1($1):p2align=0, $pop62 - i32.const $push150=, 0 - i32.const $push61=, 1 - i32.store $2=, y($pop150), $pop61 - i32.const $push60=, 32 - i32.store16 $4=, 5($1):p2align=0, $pop60 - i32.or $push149=, $1, $2 - tee_local $push148=, $2=, $pop149 - i32.const $push63=, .L.str.4 - i32.call $push64=, strcmp@FUNCTION, $pop148, $pop63 - br_if 0, $pop64 # 0: down to label0 + i32.ne $push62=, $3, $pop151 + br_if 0, $pop62 # 0: down to label0 +# BB#14: # %if.end90 + i32.const $push156=, 0 + i32.const $push63=, 1 + i32.store $3=, y($pop156), $pop63 + i32.const $push155=, 0 + i32.const $push154=, 6 + i32.store $drop=, x($pop155), $pop154 + i32.const $push64=, 32 + i32.store16 $4=, 5($2):p2align=0, $pop64 + i32.const $push65=, 1869376613 + i32.store $drop=, 1($2):p2align=0, $pop65 + i32.or $push153=, $2, $3 + tee_local $push152=, $3=, $pop153 + i32.const $push66=, .L.str.4 + i32.call $push67=, strcmp@FUNCTION, $pop152, $pop66 + br_if 0, $pop67 # 0: down to label0 # BB#15: # %if.end108 - i32.const $push67=, 64 - i32.call $4=, memset@FUNCTION, $1, $4, $pop67 - i32.const $push154=, 0 - i32.const $push69=, 2 - i32.store $drop=, y($pop154), $pop69 - i32.const $push153=, 0 - i32.const $push68=, 7 - i32.store $1=, x($pop153), $pop68 - i32.const $push71=, .L.str.5+1 - i32.const $push70=, 10 - i32.call $push72=, strncpy@FUNCTION, $2, $pop71, $pop70 - i32.ne $push73=, $pop72, $2 - br_if 0, $pop73 # 0: down to label0 + i32.const $push70=, 64 + i32.call $4=, memset@FUNCTION, $2, $4, $pop70 + i32.const $push158=, 0 + i32.const $push71=, 2 + i32.store $drop=, y($pop158), $pop71 + i32.const $push157=, 0 + i32.const $push72=, 7 + i32.store $2=, x($pop157), $pop72 + i32.const $push74=, .L.str.5+1 + i32.const $push73=, 10 + i32.call $push75=, strncpy@FUNCTION, $3, $pop74, $pop73 + i32.ne $push76=, $pop75, $3 + br_if 0, $pop76 # 0: down to label0 # BB#16: # %if.end108 - i32.const $push155=, 0 - i32.load $push65=, x($pop155) - i32.ne $push74=, $pop65, $1 - br_if 0, $pop74 # 0: down to label0 + i32.const $push159=, 0 + i32.load $push68=, x($pop159) + i32.ne $push77=, $pop68, $2 + br_if 0, $pop77 # 0: down to label0 # BB#17: # %if.end108 - i32.const $push156=, 0 - i32.load $push66=, y($pop156) - i32.const $push75=, 2 - i32.ne $push76=, $pop66, $pop75 - br_if 0, $pop76 # 0: down to label0 -# BB#18: # %lor.lhs.false125 - i32.const $push77=, .L.str.6 - i32.const $push78=, 12 - i32.call $push79=, memcmp@FUNCTION, $4, $pop77, $pop78 + i32.const $push160=, 0 + i32.load $push69=, y($pop160) + i32.const $push78=, 2 + i32.ne $push79=, $pop69, $pop78 br_if 0, $pop79 # 0: down to label0 +# BB#18: # %lor.lhs.false125 + i32.const $push81=, .L.str.6 + i32.const $push80=, 12 + i32.call $push82=, memcmp@FUNCTION, $4, $pop81, $pop80 + br_if 0, $pop82 # 0: down to label0 # BB#19: # %if.end130 - i32.const $push81=, 32 - i32.const $push80=, 64 - i32.call $2=, memset@FUNCTION, $4, $pop81, $pop80 - i32.const $push82=, .L.str.7 - i32.const $push83=, 8 - i32.call $push84=, strncpy@FUNCTION, $2, $pop82, $pop83 - i32.ne $push85=, $2, $pop84 - br_if 0, $pop85 # 0: down to label0 -# BB#20: # %lor.lhs.false136 - i32.const $push86=, .L.str.8 - i32.const $push87=, 9 - i32.call $push88=, memcmp@FUNCTION, $2, $pop86, $pop87 + i32.const $push84=, 32 + i32.const $push83=, 64 + i32.call $push162=, memset@FUNCTION, $4, $pop84, $pop83 + tee_local $push161=, $3=, $pop162 + i32.const $push86=, .L.str.7 + i32.const $push85=, 8 + i32.call $push87=, strncpy@FUNCTION, $3, $pop86, $pop85 + i32.ne $push88=, $pop161, $pop87 br_if 0, $pop88 # 0: down to label0 +# BB#20: # %lor.lhs.false136 + i32.const $push90=, .L.str.8 + i32.const $push89=, 9 + i32.call $push91=, memcmp@FUNCTION, $3, $pop90, $pop89 + br_if 0, $pop91 # 0: down to label0 # BB#21: # %if.end141 - i32.const $push89=, buf - i32.const $push91=, 32 - i32.const $push90=, 64 - i32.call $4=, memset@FUNCTION, $pop89, $pop91, $pop90 - i32.const $push92=, 0 - i32.load $1=, y($pop92) - i32.const $push161=, 0 - i32.const $push93=, 34 - i32.store $drop=, x($pop161), $pop93 - i32.const $push96=, 33 - i32.const $push160=, 0 - i32.const $push94=, 1 - i32.add $push95=, $1, $pop94 - i32.store $push159=, y($pop160), $pop95 - tee_local $push158=, $1=, $pop159 - i32.call $drop=, memset@FUNCTION, $4, $pop96, $pop158 - i32.const $push157=, 3 - i32.ne $push97=, $1, $pop157 - br_if 0, $pop97 # 0: down to label0 + i32.const $push94=, buf + i32.const $push93=, 32 + i32.const $push92=, 64 + i32.call $4=, memset@FUNCTION, $pop94, $pop93, $pop92 + i32.const $push96=, 0 + i32.const $push95=, 34 + i32.store $drop=, x($pop96), $pop95 + i32.const $push100=, 33 + i32.const $push167=, 0 + i32.const $push166=, 0 + i32.load $push97=, y($pop166) + i32.const $push98=, 1 + i32.add $push99=, $pop97, $pop98 + i32.store $push165=, y($pop167), $pop99 + tee_local $push164=, $2=, $pop165 + i32.call $drop=, memset@FUNCTION, $4, $pop100, $pop164 + i32.const $push163=, 3 + i32.ne $push101=, $2, $pop163 + br_if 0, $pop101 # 0: down to label0 # BB#22: # %lor.lhs.false148 - i32.const $push98=, .L.str.9 - i32.const $push162=, 3 - i32.call $push99=, memcmp@FUNCTION, $4, $pop98, $pop162 - br_if 0, $pop99 # 0: down to label0 + i32.const $push102=, .L.str.9 + i32.const $push168=, 3 + i32.call $push103=, memcmp@FUNCTION, $4, $pop102, $pop168 + br_if 0, $pop103 # 0: down to label0 # BB#23: # %lor.lhs.false158 - i32.const $push165=, 0 - i32.const $push100=, 4 - i32.store $drop=, y($pop165), $pop100 - i32.const $push164=, 0 - i64.const $push101=, 3255307777713450285 - i64.store $drop=, buf+3($pop164):p2align=0, $pop101 - i32.const $push102=, buf - i32.const $push103=, .L.str.10 - i32.const $push163=, 11 - i32.call $push104=, memcmp@FUNCTION, $pop102, $pop103, $pop163 - br_if 0, $pop104 # 0: down to label0 -# BB#24: # %lor.lhs.false171 + i32.const $push171=, 0 + i64.const $push104=, 3255307777713450285 + i64.store $drop=, buf+3($pop171):p2align=0, $pop104 i32.const $push170=, 0 + i32.const $push105=, 4 + i32.store $drop=, y($pop170), $pop105 + i32.const $push107=, buf + i32.const $push106=, .L.str.10 i32.const $push169=, 11 - i32.store $drop=, x($pop170), $pop169 - i32.const $push168=, 0 - i32.const $push105=, 5 - i32.store $drop=, y($pop168), $pop105 - i32.const $push167=, 0 - i32.const $push166=, 0 - i32.store $drop=, buf+11($pop167):p2align=0, $pop166 - i32.const $push108=, buf+8 - i32.const $push106=, .L.str.11 - i32.const $push107=, 7 - i32.call $push109=, memcmp@FUNCTION, $pop108, $pop106, $pop107 - br_if 0, $pop109 # 0: down to label0 -# BB#25: # %lor.lhs.false180 - i32.const $push111=, 0 - i32.const $push110=, 15 - i32.store $drop=, x($pop111), $pop110 - i32.const $push174=, 0 + i32.call $push108=, memcmp@FUNCTION, $pop107, $pop106, $pop169 + br_if 0, $pop108 # 0: down to label0 +# BB#24: # %lor.lhs.false171 + i32.const $push176=, 0 + i32.const $push109=, 5 + i32.store $drop=, y($pop176), $pop109 + i32.const $push175=, 0 + i32.const $push174=, 11 + i32.store $drop=, x($pop175), $pop174 i32.const $push173=, 0 - i32.store16 $push172=, buf+19($pop174):p2align=0, $pop173 - tee_local $push171=, $4=, $pop172 - i32.store $drop=, buf+15($pop171):p2align=0, $4 - i32.const $push114=, buf+10 - i32.const $push112=, .L.str.12 - i32.const $push113=, 11 - i32.call $push115=, memcmp@FUNCTION, $pop114, $pop112, $pop113 - br_if 0, $pop115 # 0: down to label0 + i32.const $push172=, 0 + i32.store $drop=, buf+11($pop173):p2align=0, $pop172 + i32.const $push112=, buf+8 + i32.const $push111=, .L.str.11 + i32.const $push110=, 7 + i32.call $push113=, memcmp@FUNCTION, $pop112, $pop111, $pop110 + br_if 0, $pop113 # 0: down to label0 +# BB#25: # %lor.lhs.false180 + i32.const $push115=, 0 + i32.const $push114=, 15 + i32.store $drop=, x($pop115), $pop114 + i32.const $push180=, 0 + i32.const $push179=, 0 + i32.store16 $push178=, buf+19($pop180):p2align=0, $pop179 + tee_local $push177=, $4=, $pop178 + i32.store $drop=, buf+15($pop177):p2align=0, $4 + i32.const $push118=, buf+10 + i32.const $push117=, .L.str.12 + i32.const $push116=, 11 + i32.call $push119=, memcmp@FUNCTION, $pop118, $pop117, $pop116 + br_if 0, $pop119 # 0: down to label0 # BB#26: # %if.end184 - i32.const $push122=, __stack_pointer - i32.const $push120=, 64 - i32.add $push121=, $2, $pop120 - i32.store $drop=, 0($pop122), $pop121 + i32.const $push126=, 0 + i32.const $push124=, 64 + i32.add $push125=, $3, $pop124 + i32.store $drop=, __stack_pointer($pop126), $pop125 return $4 .LBB0_27: # %if.then183 end_block # label0: diff --git a/test/torture-s/strlen-1.c.s b/test/torture-s/strlen-1.c.s index f7a528aa2..d658f161d 100644 --- a/test/torture-s/strlen-1.c.s +++ b/test/torture-s/strlen-1.c.s @@ -24,8 +24,8 @@ main: # @main loop # label3: i32.const $4=, u block - i32.eqz $push19=, $1 - br_if 0, $pop19 # 0: down to label5 + i32.eqz $push23=, $1 + br_if 0, $pop23 # 0: down to label5 # BB#3: # %for.body6.preheader # in Loop: Header=BB0_2 Depth=2 i32.const $push9=, u @@ -36,8 +36,8 @@ main: # @main # in Loop: Header=BB0_2 Depth=2 end_block # label5: block - i32.eqz $push20=, $3 - br_if 0, $pop20 # 0: down to label6 + i32.eqz $push24=, $3 + br_if 0, $pop24 # 0: down to label6 # BB#5: # %for.body9.preheader # in Loop: Header=BB0_2 Depth=2 i32.const $push10=, 97 @@ -57,20 +57,22 @@ main: # @main br_if 4, $pop2 # 4: down to label0 # BB#7: # %for.cond1 # in Loop: Header=BB0_2 Depth=2 - i32.const $push15=, 1 - i32.add $3=, $3, $pop15 + i32.const $push17=, 1 + i32.add $push16=, $3, $pop17 + tee_local $push15=, $3=, $pop16 i32.const $push14=, 63 - i32.le_u $push3=, $3, $pop14 + i32.le_u $push3=, $pop15, $pop14 br_if 0, $pop3 # 0: up to label3 # BB#8: # %for.inc26 # in Loop: Header=BB0_1 Depth=1 end_loop # label4: - i32.const $push18=, 1 - i32.add $1=, $1, $pop18 - i32.const $push17=, 1 - i32.add $2=, $2, $pop17 - i32.const $push16=, 8 - i32.lt_u $push4=, $1, $pop16 + i32.const $push22=, 1 + i32.add $2=, $2, $pop22 + i32.const $push21=, 1 + i32.add $push20=, $1, $pop21 + tee_local $push19=, $1=, $pop20 + i32.const $push18=, 8 + i32.lt_u $push4=, $pop19, $pop18 br_if 0, $pop4 # 0: up to label1 # BB#9: # %for.end28 end_loop # label2: diff --git a/test/torture-s/strncmp-1.c.s b/test/torture-s/strncmp-1.c.s index 90e2a5d61..d444954c2 100644 --- a/test/torture-s/strncmp-1.c.s +++ b/test/torture-s/strncmp-1.c.s @@ -76,8 +76,8 @@ main: # @main loop # label10: i32.const $9=, u1 block - i32.eqz $push63=, $4 - br_if 0, $pop63 # 0: down to label12 + i32.eqz $push69=, $4 + br_if 0, $pop69 # 0: down to label12 # BB#4: # %for.body9.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push34=, u1 @@ -89,8 +89,8 @@ main: # @main end_block # label12: copy_local $10=, $9 block - i32.eqz $push64=, $8 - br_if 0, $pop64 # 0: down to label13 + i32.eqz $push70=, $8 + br_if 0, $pop70 # 0: down to label13 # BB#6: # %for.body12.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push35=, 97 @@ -103,8 +103,8 @@ main: # @main i64.store $0=, 0($10):p2align=0, $pop36 i32.const $11=, u2 block - i32.eqz $push65=, $6 - br_if 0, $pop65 # 0: down to label14 + i32.eqz $push71=, $6 + br_if 0, $pop71 # 0: down to label14 # BB#8: # %for.body26.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push38=, u2 @@ -116,8 +116,8 @@ main: # @main end_block # label14: copy_local $12=, $11 block - i32.eqz $push66=, $8 - br_if 0, $pop66 # 0: down to label15 + i32.eqz $push72=, $8 + br_if 0, $pop72 # 0: down to label15 # BB#10: # %for.body33.preheader # in Loop: Header=BB1_3 Depth=3 i32.const $push39=, 97 @@ -240,30 +240,33 @@ main: # @main br_if 7, $pop28 # 7: down to label4 # BB#29: # %for.cond4 # in Loop: Header=BB1_3 Depth=3 - i32.const $push56=, 1 - i32.add $8=, $8, $pop56 + i32.const $push58=, 1 + i32.add $push57=, $8, $pop58 + tee_local $push56=, $8=, $pop57 i32.const $push55=, 63 - i32.le_u $push29=, $8, $pop55 + i32.le_u $push29=, $pop56, $pop55 br_if 0, $pop29 # 0: up to label10 # BB#30: # %for.inc79 # in Loop: Header=BB1_2 Depth=2 end_loop # label11: - i32.const $push59=, 1 - i32.add $6=, $6, $pop59 - i32.const $push58=, 1 - i32.add $7=, $7, $pop58 - i32.const $push57=, 8 - i32.lt_u $push30=, $6, $pop57 + i32.const $push63=, 1 + i32.add $7=, $7, $pop63 + i32.const $push62=, 1 + i32.add $push61=, $6, $pop62 + tee_local $push60=, $6=, $pop61 + i32.const $push59=, 8 + i32.lt_u $push30=, $pop60, $pop59 br_if 0, $pop30 # 0: up to label8 # BB#31: # %for.inc82 # in Loop: Header=BB1_1 Depth=1 end_loop # label9: - i32.const $push62=, 1 - i32.add $4=, $4, $pop62 - i32.const $push61=, 1 - i32.add $5=, $5, $pop61 - i32.const $push60=, 8 - i32.lt_u $push31=, $4, $pop60 + i32.const $push68=, 1 + i32.add $5=, $5, $pop68 + i32.const $push67=, 1 + i32.add $push66=, $4, $pop67 + tee_local $push65=, $4=, $pop66 + i32.const $push64=, 8 + i32.lt_u $push31=, $pop65, $pop64 br_if 0, $pop31 # 0: up to label6 # BB#32: # %for.end84 end_loop # label7: diff --git a/test/torture-s/struct-aliasing-1.c.s b/test/torture-s/struct-aliasing-1.c.s index 12edd861b..4237f7c6c 100644 --- a/test/torture-s/struct-aliasing-1.c.s +++ b/test/torture-s/struct-aliasing-1.c.s @@ -14,7 +14,7 @@ foo: # @foo i32.store $drop=, 0($0), $pop0 i32.load $push1=, 0($1) i32.add $push2=, $2, $pop1 - return $pop2 + # fallthrough-return: $pop2 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -28,12 +28,12 @@ main: # @main .local i32 # BB#0: # %entry block - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push16=, $pop6, $pop7 - i32.store $push18=, 0($pop8), $pop16 + i32.store $push18=, __stack_pointer($pop8), $pop16 tee_local $push17=, $0=, $pop18 i32.const $push1=, 1 i32.store $push0=, 12($pop17), $pop1 @@ -45,10 +45,10 @@ main: # @main i32.ne $push3=, $pop0, $pop2 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $0, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 i32.const $push4=, 0 return $pop4 .LBB1_2: # %if.then diff --git a/test/torture-s/struct-cpy-1.c.s b/test/torture-s/struct-cpy-1.c.s index 3671d0729..023b47a74 100644 --- a/test/torture-s/struct-cpy-1.c.s +++ b/test/torture-s/struct-cpy-1.c.s @@ -16,7 +16,7 @@ ini: # @ini i32.const $push5=, 0 i64.const $push4=, 17179869187 i64.store $drop=, pty+48($pop5), $pop4 - return + # fallthrough-return .endfunc .Lfunc_end0: .size ini, .Lfunc_end0-ini @@ -39,7 +39,7 @@ main: # @main i64.const $push4=, 17179869187 i64.store $drop=, pty+48($pop6), $pop4 i32.const $push5=, 0 - return $pop5 + # fallthrough-return: $pop5 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/struct-ret-1.c.s b/test/torture-s/struct-ret-1.c.s index 0e30fd472..ef7f9e62d 100644 --- a/test/torture-s/struct-ret-1.c.s +++ b/test/torture-s/struct-ret-1.c.s @@ -6,64 +6,64 @@ .type f,@function f: # @f .param i32, i32, i32, f64, i32 - .local i32, f64, i64, i32, f64, i64 + .local i32, i32, f64, i64, f64, i64 # BB#0: # %entry - i32.const $push28=, __stack_pointer - i32.const $push25=, __stack_pointer - i32.load $push26=, 0($pop25) + i32.const $push28=, 0 + i32.const $push25=, 0 + i32.load $push26=, __stack_pointer($pop25) i32.const $push27=, 64 i32.sub $push32=, $pop26, $pop27 - i32.store $5=, 0($pop28), $pop32 - i32.const $push3=, 16 - i32.add $push4=, $1, $pop3 - i32.load $8=, 0($pop4) - i64.load $7=, 8($1) - i64.load $10=, 8($4) - f64.load $6=, 0($1) + i32.store $5=, __stack_pointer($pop28), $pop32 + i32.const $push1=, 16 + i32.add $push2=, $1, $pop1 + i32.load $6=, 0($pop2) + f64.load $7=, 0($1) + i64.load $8=, 8($1) f64.load $9=, 0($4) - i32.const $push8=, 48 - i32.add $push9=, $5, $pop8 + i64.load $10=, 8($4) + i32.const $push5=, 48 + i32.add $push6=, $5, $pop5 i32.const $push35=, 16 - i32.add $push6=, $4, $pop35 - i32.load $push7=, 0($pop6) - i32.store $drop=, 0($pop9), $pop7 - i32.const $push10=, 44 - i32.add $push11=, $5, $pop10 - i64.const $push1=, 32 - i64.shr_u $push5=, $10, $pop1 - i64.store32 $drop=, 0($pop11), $pop5 - i32.const $push12=, 40 - i32.add $push13=, $5, $pop12 - i64.store32 $drop=, 0($pop13), $10 - i32.const $push14=, 32 - i32.add $push15=, $5, $pop14 - f64.store $drop=, 0($pop15), $9 - i32.const $push16=, 24 - i32.add $push17=, $5, $pop16 - f64.store $drop=, 0($pop17), $3 - i32.const $push18=, 20 - i32.add $push19=, $5, $pop18 - i32.store $1=, 0($pop19), $2 + i32.add $push3=, $4, $pop35 + i32.load $push4=, 0($pop3) + i32.store $drop=, 0($pop6), $pop4 + i32.const $push9=, 44 + i32.add $push10=, $5, $pop9 + i64.const $push7=, 32 + i64.shr_u $push8=, $10, $pop7 + i64.store32 $drop=, 0($pop10), $pop8 + i32.const $push11=, 40 + i32.add $push12=, $5, $pop11 + i64.store32 $drop=, 0($pop12), $10 + i32.const $push13=, 32 + i32.add $push14=, $5, $pop13 + f64.store $drop=, 0($pop14), $9 + i32.const $push15=, 24 + i32.add $push16=, $5, $pop15 + f64.store $drop=, 0($pop16), $3 + i32.const $push17=, 20 + i32.add $push18=, $5, $pop17 + i32.store $4=, 0($pop18), $2 i32.const $push34=, 16 - i32.add $push20=, $5, $pop34 - i32.store $drop=, 0($pop20), $8 + i32.add $push19=, $5, $pop34 + i32.store $drop=, 0($pop19), $6 i64.const $push33=, 32 - i64.shr_u $push2=, $7, $pop33 - i64.store32 $drop=, 12($5), $pop2 - i64.store32 $drop=, 8($5), $7 - f64.store $drop=, 0($5), $6 + i64.shr_u $push20=, $8, $pop33 + i64.store32 $drop=, 12($5), $pop20 + i64.store32 $drop=, 8($5), $8 + f64.store $drop=, 0($5), $7 i32.const $push22=, out i32.const $push21=, .L.str i32.call $drop=, sprintf@FUNCTION, $pop22, $pop21, $5 - i32.const $push23=, f.xr - i32.const $push24=, 33 - i32.call $push0=, memcpy@FUNCTION, $0, $pop23, $pop24 - i32.store8 $drop=, 33($pop0), $1 - i32.const $push31=, __stack_pointer + i32.const $push24=, f.xr + i32.const $push23=, 33 + i32.call $push0=, memcpy@FUNCTION, $0, $pop24, $pop23 + i32.store8 $drop=, 33($pop0), $4 + i32.const $push31=, 0 i32.const $push29=, 64 i32.add $push30=, $5, $pop29 - i32.store $drop=, 0($pop31), $pop30 - return + i32.store $drop=, __stack_pointer($pop31), $pop30 + # fallthrough-return .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -74,62 +74,62 @@ f: # @f .type main,@function main: # @main .result i32 - .local i32, f64, f64, i64, f64, i64, i32, i32 + .local i32, f64, i64, i32, i32, f64, f64, i64 # BB#0: # %entry - i32.const $push41=, __stack_pointer - i32.const $push38=, __stack_pointer - i32.load $push39=, 0($pop38) + i32.const $push41=, 0 + i32.const $push38=, 0 + i32.load $push39=, __stack_pointer($pop38) i32.const $push40=, 256 i32.sub $push62=, $pop39, $pop40 - i32.store $0=, 0($pop41), $pop62 + i32.store $0=, __stack_pointer($pop41), $pop62 i32.const $push89=, 0 - f64.load $1=, d3($pop89) + f64.load $1=, B1($pop89) i32.const $push88=, 0 - i64.load $3=, B2+8($pop88) + i64.load $2=, B1+8($pop88) i32.const $push87=, 0 - i64.load $5=, B1+8($pop87) + i32.load $3=, B1+16($pop87) i32.const $push86=, 0 - i32.load $6=, B1+16($pop86) + i32.load8_s $4=, c2($pop86) i32.const $push85=, 0 - i32.load8_s $7=, c2($pop85) + f64.load $5=, d3($pop85) i32.const $push84=, 0 - f64.load $2=, B2($pop84) + f64.load $6=, B2($pop84) i32.const $push83=, 0 - f64.load $4=, B1($pop83) - i32.const $push4=, 96 - i32.add $push5=, $0, $pop4 + i64.load $7=, B2+8($pop83) + i32.const $push1=, 96 + i32.add $push2=, $0, $pop1 i32.const $push82=, 0 i32.load $push0=, B2+16($pop82) - i32.store $drop=, 0($pop5), $pop0 - i32.const $push6=, 88 - i32.add $push7=, $0, $pop6 - i64.store32 $drop=, 0($pop7), $3 - i32.const $push8=, 80 - i32.add $push9=, $0, $pop8 - f64.store $drop=, 0($pop9), $2 - i32.const $push10=, 72 - i32.add $push11=, $0, $pop10 - f64.store $drop=, 0($pop11), $1 + i32.store $drop=, 0($pop2), $pop0 + i32.const $push3=, 88 + i32.add $push4=, $0, $pop3 + i64.store32 $drop=, 0($pop4), $7 + i32.const $push5=, 80 + i32.add $push6=, $0, $pop5 + f64.store $drop=, 0($pop6), $6 + i32.const $push7=, 72 + i32.add $push8=, $0, $pop7 + f64.store $drop=, 0($pop8), $5 i32.const $push42=, 48 i32.add $push43=, $0, $pop42 - i32.const $push12=, 20 - i32.add $push13=, $pop43, $pop12 - i32.store $drop=, 0($pop13), $7 + i32.const $push9=, 20 + i32.add $push10=, $pop43, $pop9 + i32.store $drop=, 0($pop10), $4 i32.const $push44=, 48 i32.add $push45=, $0, $pop44 - i32.const $push14=, 16 - i32.add $push15=, $pop45, $pop14 - i32.store $drop=, 0($pop15), $6 - i32.const $push16=, 92 - i32.add $push17=, $0, $pop16 - i64.const $push1=, 32 - i64.shr_u $push3=, $3, $pop1 - i64.store32 $drop=, 0($pop17), $pop3 - i64.store32 $drop=, 56($0), $5 - f64.store $drop=, 48($0), $4 + i32.const $push11=, 16 + i32.add $push12=, $pop45, $pop11 + i32.store $drop=, 0($pop12), $3 + i32.const $push15=, 92 + i32.add $push16=, $0, $pop15 + i64.const $push13=, 32 + i64.shr_u $push14=, $7, $pop13 + i64.store32 $drop=, 0($pop16), $pop14 + i64.store32 $drop=, 56($0), $2 + f64.store $drop=, 48($0), $1 i64.const $push81=, 32 - i64.shr_u $push2=, $5, $pop81 - i64.store32 $drop=, 60($0), $pop2 + i64.shr_u $push17=, $2, $pop81 + i64.store32 $drop=, 60($0), $pop17 i32.const $push19=, out i32.const $push18=, .L.str i32.const $push46=, 48 @@ -139,44 +139,44 @@ main: # @main i32.add $push49=, $0, $pop48 i32.const $push80=, out i32.call $drop=, strcpy@FUNCTION, $pop49, $pop80 - i32.const $push79=, 0 - f64.load $1=, d3($pop79) - i32.const $push78=, 0 - i32.load $6=, fp($pop78) i32.const $push50=, 24 i32.add $push51=, $0, $pop50 - i32.const $push77=, 20 - i32.add $push20=, $pop51, $pop77 - i32.const $push76=, 0 - i32.load $push21=, B1+20($pop76) + i32.const $push79=, 20 + i32.add $push20=, $pop51, $pop79 + i32.const $push78=, 0 + i32.load $push21=, B1+20($pop78) i32.store $drop=, 0($pop20), $pop21 i32.const $push52=, 24 i32.add $push53=, $0, $pop52 - i32.const $push75=, 16 - i32.add $push22=, $pop53, $pop75 - i32.const $push74=, 0 - i32.load $push23=, B1+16($pop74) + i32.const $push77=, 16 + i32.add $push22=, $pop53, $pop77 + i32.const $push76=, 0 + i32.load $push23=, B1+16($pop76) i32.store $drop=, 0($pop22), $pop23 i32.const $push24=, 36 i32.add $push25=, $0, $pop24 - i32.const $push73=, 0 - i32.load $push26=, B1+12($pop73) + i32.const $push75=, 0 + i32.load $push26=, B1+12($pop75) i32.store $drop=, 0($pop25), $pop26 i32.const $push54=, 24 i32.add $push55=, $0, $pop54 i32.const $push27=, 8 i32.add $push28=, $pop55, $pop27 - i32.const $push72=, 0 - i32.load $push29=, B1+8($pop72) + i32.const $push74=, 0 + i32.load $push29=, B1+8($pop74) i32.store $drop=, 0($pop28), $pop29 - i32.const $push71=, 0 - i32.load $push30=, B1+4($pop71) + i32.const $push73=, 0 + i32.load $push30=, B1+4($pop73) i32.store $drop=, 28($0), $pop30 - i32.const $push70=, 0 - i32.load $push31=, B1($pop70) + i32.const $push72=, 0 + i32.load $push31=, B1($pop72) i32.store $drop=, 24($0), $pop31 + i32.const $push71=, 0 + f64.load $1=, d3($pop71) + i32.const $push70=, 0 + i32.load8_s $3=, c2($pop70) i32.const $push69=, 0 - i32.load8_s $7=, c2($pop69) + i32.load $4=, fp($pop69) i32.const $push68=, 16 i32.add $push32=, $0, $pop68 i32.const $push67=, 0 @@ -194,7 +194,7 @@ main: # @main i32.add $push57=, $0, $pop56 i32.const $push58=, 24 i32.add $push59=, $0, $pop58 - call_indirect $6, $pop57, $pop59, $7, $1, $0 + call_indirect $4, $pop57, $pop59, $3, $1, $0 block i32.const $push60=, 144 i32.add $push61=, $0, $pop60 diff --git a/test/torture-s/struct-ret-2.c.s b/test/torture-s/struct-ret-2.c.s index bdaf3cbd9..338a7c2ed 100644 --- a/test/torture-s/struct-ret-2.c.s +++ b/test/torture-s/struct-ret-2.c.s @@ -8,7 +8,7 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push0=, 171 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -21,7 +21,7 @@ g: # @g .result i32 # BB#0: # %entry i32.const $push0=, 4660 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size g, .Lfunc_end1-g diff --git a/test/torture-s/switch-1.c.s b/test/torture-s/switch-1.c.s index c3c41de49..a1543dc8e 100644 --- a/test/torture-s/switch-1.c.s +++ b/test/torture-s/switch-1.c.s @@ -23,7 +23,7 @@ foo: # @foo .LBB0_2: # %return end_block # label0: i32.const $push3=, 31 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -46,20 +46,20 @@ main: # @main block block loop # label6: - i32.const $2=, 31 + i32.const $3=, 31 block i32.const $push14=, -4 i32.add $push13=, $1, $pop14 - tee_local $push12=, $4=, $pop13 + tee_local $push12=, $2=, $pop13 i32.const $push11=, 7 i32.gt_u $push10=, $pop12, $pop11 - tee_local $push9=, $3=, $pop10 + tee_local $push9=, $4=, $pop10 br_if 0, $pop9 # 0: down to label8 # BB#2: # %switch.lookup.i # in Loop: Header=BB1_1 Depth=1 i32.const $push15=, 2 - i32.shl $push0=, $4, $pop15 - i32.load $2=, .Lswitch.table($pop0) + i32.shl $push0=, $2, $pop15 + i32.load $3=, .Lswitch.table($pop0) .LBB1_3: # %foo.exit # in Loop: Header=BB1_1 Depth=1 end_block # label8: @@ -68,11 +68,11 @@ main: # @main block block block - br_if 0, $3 # 0: down to label13 + br_if 0, $4 # 0: down to label13 # BB#4: # %foo.exit # in Loop: Header=BB1_1 Depth=1 block - br_table $4, 0, 1, 2, 1, 1, 3, 1, 4, 0 # 0: down to label14 + br_table $2, 0, 1, 2, 1, 1, 3, 1, 4, 0 # 0: down to label14 # 1: down to label13 # 2: down to label12 # 3: down to label11 @@ -81,42 +81,43 @@ main: # @main # in Loop: Header=BB1_1 Depth=1 end_block # label14: i32.const $push16=, 30 - i32.eq $push4=, $2, $pop16 + i32.eq $push4=, $3, $pop16 br_if 4, $pop4 # 4: down to label9 br 8 # 8: down to label4 .LBB1_6: # %if.else21 # in Loop: Header=BB1_1 Depth=1 end_block # label13: i32.const $push17=, 31 - i32.ne $push5=, $2, $pop17 + i32.ne $push5=, $3, $pop17 br_if 8, $pop5 # 8: down to label3 # BB#7: # %for.inc # in Loop: Header=BB1_1 Depth=1 - i32.const $push19=, 1 - i32.add $1=, $1, $pop19 + i32.const $push21=, 1 + i32.add $push20=, $1, $pop21 + tee_local $push19=, $1=, $pop20 i32.const $push18=, 66 - i32.lt_s $push6=, $1, $pop18 + i32.lt_s $push6=, $pop19, $pop18 br_if 4, $pop6 # 4: up to label6 br 6 # 6: down to label5 .LBB1_8: # %if.then5 # in Loop: Header=BB1_1 Depth=1 end_block # label12: - i32.const $push20=, 30 - i32.eq $push3=, $2, $pop20 + i32.const $push22=, 30 + i32.eq $push3=, $3, $pop22 br_if 2, $pop3 # 2: down to label9 br 8 # 8: down to label2 .LBB1_9: # %if.then11 # in Loop: Header=BB1_1 Depth=1 end_block # label11: - i32.const $push21=, 30 - i32.eq $push2=, $2, $pop21 + i32.const $push23=, 30 + i32.eq $push2=, $3, $pop23 br_if 1, $pop2 # 1: down to label9 br 8 # 8: down to label1 .LBB1_10: # %if.then17 # in Loop: Header=BB1_1 Depth=1 end_block # label10: - i32.const $push22=, 30 - i32.ne $push1=, $2, $pop22 + i32.const $push24=, 30 + i32.ne $push1=, $3, $pop24 br_if 2, $pop1 # 2: down to label7 .LBB1_11: # %for.inc.thread # in Loop: Header=BB1_1 Depth=1 diff --git a/test/torture-s/tstdi-1.c.s b/test/torture-s/tstdi-1.c.s index afe076857..1ffbb5c46 100644 --- a/test/torture-s/tstdi-1.c.s +++ b/test/torture-s/tstdi-1.c.s @@ -12,7 +12,7 @@ feq: # @feq i32.const $push1=, 140 i64.eqz $push0=, $0 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end0: .size feq, .Lfunc_end0-feq @@ -29,7 +29,7 @@ fne: # @fne i32.const $push1=, 13 i64.eqz $push0=, $0 i32.select $push3=, $pop2, $pop1, $pop0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size fne, .Lfunc_end1-fne @@ -47,7 +47,7 @@ flt: # @flt i64.const $push0=, 0 i64.lt_s $push1=, $0, $pop0 i32.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end2: .size flt, .Lfunc_end2-flt @@ -65,7 +65,7 @@ fge: # @fge i64.const $push0=, -1 i64.gt_s $push1=, $0, $pop0 i32.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end3: .size fge, .Lfunc_end3-fge @@ -83,7 +83,7 @@ fgt: # @fgt i64.const $push0=, 0 i64.gt_s $push1=, $0, $pop0 i32.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end4: .size fgt, .Lfunc_end4-fgt @@ -101,7 +101,7 @@ fle: # @fle i64.const $push0=, 1 i64.lt_s $push1=, $0, $pop0 i32.select $push4=, $pop3, $pop2, $pop1 - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end5: .size fle, .Lfunc_end5-fle diff --git a/test/torture-s/unroll-1.c.s b/test/torture-s/unroll-1.c.s index b1fa7a090..04ecc2601 100644 --- a/test/torture-s/unroll-1.c.s +++ b/test/torture-s/unroll-1.c.s @@ -10,7 +10,7 @@ f: # @f # BB#0: # %entry i32.const $push0=, 1 i32.add $push1=, $0, $pop0 - return $pop1 + # fallthrough-return: $pop1 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/usmul.c.s b/test/torture-s/usmul.c.s index 56be2d089..c21fa1ba4 100644 --- a/test/torture-s/usmul.c.s +++ b/test/torture-s/usmul.c.s @@ -9,7 +9,7 @@ foo: # @foo .result i32 # BB#0: # %entry i32.mul $push0=, $1, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -23,7 +23,7 @@ bar: # @bar .result i32 # BB#0: # %entry i32.mul $push0=, $1, $0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end1: .size bar, .Lfunc_end1-bar diff --git a/test/torture-s/va-arg-1.c.s b/test/torture-s/va-arg-1.c.s index b5698dd02..0587b0c6f 100644 --- a/test/torture-s/va-arg-1.c.s +++ b/test/torture-s/va-arg-1.c.s @@ -9,17 +9,18 @@ f: # @f .result i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push16=, __stack_pointer - i32.const $push13=, __stack_pointer - i32.load $push14=, 0($pop13) + i32.const $push16=, 0 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) i32.const $push15=, 16 i32.sub $push20=, $pop14, $pop15 - i32.store $12=, 0($pop16), $pop20 + i32.store $push24=, __stack_pointer($pop16), $pop20 + tee_local $push23=, $12=, $pop24 i32.store $push22=, 12($12), $9 tee_local $push21=, $9=, $pop22 i32.const $push0=, 4 i32.add $push1=, $pop21, $pop0 - i32.store $10=, 12($12), $pop1 + i32.store $10=, 12($pop23), $pop1 block i32.load $push2=, 0($9) i32.const $push3=, 10 @@ -40,10 +41,10 @@ f: # @f i32.load $push12=, 0($11) br_if 0, $pop12 # 0: down to label0 # BB#3: # %if.end11 - i32.const $push19=, __stack_pointer + i32.const $push19=, 0 i32.const $push17=, 16 i32.add $push18=, $12, $pop17 - i32.store $drop=, 0($pop19), $pop18 + i32.store $drop=, __stack_pointer($pop19), $pop18 return $12 .LBB0_4: # %if.then10 end_block # label0: @@ -61,12 +62,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 - i32.store $push8=, 0($pop5), $pop6 + i32.store $push8=, __stack_pointer($pop5), $pop6 tee_local $push7=, $1=, $pop8 i32.const $push0=, 0 i32.store $0=, 8($pop7), $pop0 diff --git a/test/torture-s/va-arg-10.c.s b/test/torture-s/va-arg-10.c.s index bc7ff2ba3..8b81a13e7 100644 --- a/test/torture-s/va-arg-10.c.s +++ b/test/torture-s/va-arg-10.c.s @@ -31,30 +31,30 @@ fap: # @fap .param i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push15=, __stack_pointer - i32.const $push12=, __stack_pointer - i32.load $push13=, 0($pop12) + i32.const $push15=, 0 + i32.const $push12=, 0 + i32.load $push13=, __stack_pointer($pop12) i32.const $push14=, 16 i32.sub $push19=, $pop13, $pop14 - i32.store $push22=, 0($pop15), $pop19 + i32.store $push22=, __stack_pointer($pop15), $pop19 tee_local $push21=, $3=, $pop22 i32.store $drop=, 12($pop21), $2 i32.load $push0=, 12($3) i32.store $drop=, 8($3), $pop0 block - i32.call $push1=, strlen@FUNCTION, $1 + i32.call $push2=, strlen@FUNCTION, $1 i32.const $push20=, 16 - i32.sub $push2=, $pop20, $0 - i32.ne $push3=, $pop1, $pop2 + i32.sub $push1=, $pop20, $0 + i32.ne $push3=, $pop2, $pop1 br_if 0, $pop3 # 0: down to label1 # BB#1: - copy_local $2=, $1 + copy_local $0=, $1 .LBB1_2: # %while.cond # =>This Inner Loop Header: Depth=1 block loop # label3: - i32.load8_u $push24=, 0($2) - tee_local $push23=, $0=, $pop24 + i32.load8_u $push24=, 0($0) + tee_local $push23=, $2=, $pop24 i32.eqz $push41=, $pop23 br_if 2, $pop41 # 2: down to label2 # BB#3: # %while.body @@ -72,9 +72,9 @@ fap: # @fap # BB#4: # %to_hex.exit # in Loop: Header=BB1_2 Depth=1 i32.const $push31=, 1 - i32.add $2=, $2, $pop31 + i32.add $0=, $0, $pop31 i32.load8_u $push6=, .L.str($4) - i32.eq $push7=, $0, $pop6 + i32.eq $push7=, $2, $pop6 br_if 0, $pop7 # 0: up to label3 # BB#5: # %if.then4 end_loop # label4: @@ -87,18 +87,18 @@ fap: # @fap block loop # label6: i32.load8_u $push33=, 0($1) - tee_local $push32=, $2=, $pop33 + tee_local $push32=, $0=, $pop33 i32.eqz $push42=, $pop32 br_if 2, $pop42 # 2: down to label5 # BB#8: # %while.body8 # in Loop: Header=BB1_7 Depth=1 i32.load $push39=, 8($3) - tee_local $push38=, $0=, $pop39 + tee_local $push38=, $2=, $pop39 i32.const $push37=, 4 i32.add $push8=, $pop38, $pop37 i32.store $drop=, 8($3), $pop8 - i32.load $push36=, 0($0) - tee_local $push35=, $0=, $pop36 + i32.load $push36=, 0($2) + tee_local $push35=, $2=, $pop36 i32.const $push34=, 16 i32.ge_u $push9=, $pop35, $pop34 br_if 3, $pop9 # 3: down to label1 @@ -106,8 +106,8 @@ fap: # @fap # in Loop: Header=BB1_7 Depth=1 i32.const $push40=, 1 i32.add $1=, $1, $pop40 - i32.load8_u $push10=, .L.str($0) - i32.eq $push11=, $2, $pop10 + i32.load8_u $push10=, .L.str($2) + i32.eq $push11=, $0, $pop10 br_if 0, $pop11 # 0: up to label6 # BB#10: # %if.then16 end_loop # label7: @@ -115,10 +115,10 @@ fap: # @fap unreachable .LBB1_11: # %while.end18 end_block # label5: - i32.const $push18=, __stack_pointer + i32.const $push18=, 0 i32.const $push16=, 16 i32.add $push17=, $3, $pop16 - i32.store $drop=, 0($pop18), $pop17 + i32.store $drop=, __stack_pointer($pop18), $pop17 return .LBB1_12: # %if.then.i25 end_block # label1: @@ -137,20 +137,20 @@ f0: # @f0 .local i32 # BB#0: # %entry i32.const $push1=, 0 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $2=, $pop11 i32.store $push0=, 12($pop10), $1 call fap@FUNCTION, $pop1, $0, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $2, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end2: .size f0, .Lfunc_end2-f0 @@ -164,20 +164,20 @@ f1: # @f1 .local i32 # BB#0: # %entry i32.const $push1=, 1 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $3=, $pop11 i32.store $push0=, 12($pop10), $2 call fap@FUNCTION, $pop1, $1, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $3, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end3: .size f1, .Lfunc_end3-f1 @@ -191,20 +191,20 @@ f2: # @f2 .local i32 # BB#0: # %entry i32.const $push1=, 2 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $4=, $pop11 i32.store $push0=, 12($pop10), $3 call fap@FUNCTION, $pop1, $2, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $4, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end4: .size f2, .Lfunc_end4-f2 @@ -218,20 +218,20 @@ f3: # @f3 .local i32 # BB#0: # %entry i32.const $push1=, 3 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $5=, $pop11 i32.store $push0=, 12($pop10), $4 call fap@FUNCTION, $pop1, $3, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $5, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end5: .size f3, .Lfunc_end5-f3 @@ -245,20 +245,20 @@ f4: # @f4 .local i32 # BB#0: # %entry i32.const $push1=, 4 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $6=, $pop11 i32.store $push0=, 12($pop10), $5 call fap@FUNCTION, $pop1, $4, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $6, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end6: .size f4, .Lfunc_end6-f4 @@ -272,20 +272,20 @@ f5: # @f5 .local i32 # BB#0: # %entry i32.const $push1=, 5 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $7=, $pop11 i32.store $push0=, 12($pop10), $6 call fap@FUNCTION, $pop1, $5, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $7, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end7: .size f5, .Lfunc_end7-f5 @@ -299,20 +299,20 @@ f6: # @f6 .local i32 # BB#0: # %entry i32.const $push1=, 6 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $8=, $pop11 i32.store $push0=, 12($pop10), $7 call fap@FUNCTION, $pop1, $6, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $8, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end8: .size f6, .Lfunc_end8-f6 @@ -326,20 +326,20 @@ f7: # @f7 .local i32 # BB#0: # %entry i32.const $push1=, 7 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $9=, $pop11 i32.store $push0=, 12($pop10), $8 call fap@FUNCTION, $pop1, $7, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $9, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end9: .size f7, .Lfunc_end9-f7 @@ -353,20 +353,20 @@ f8: # @f8 .local i32 # BB#0: # %entry i32.const $push1=, 8 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $10=, $pop11 i32.store $push0=, 12($pop10), $9 call fap@FUNCTION, $pop1, $8, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $10, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end10: .size f8, .Lfunc_end10-f8 @@ -380,20 +380,20 @@ f9: # @f9 .local i32 # BB#0: # %entry i32.const $push1=, 9 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $11=, $pop11 i32.store $push0=, 12($pop10), $10 call fap@FUNCTION, $pop1, $9, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $11, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end11: .size f9, .Lfunc_end11-f9 @@ -407,20 +407,20 @@ f10: # @f10 .local i32 # BB#0: # %entry i32.const $push1=, 10 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $12=, $pop11 i32.store $push0=, 12($pop10), $11 call fap@FUNCTION, $pop1, $10, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $12, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end12: .size f10, .Lfunc_end12-f10 @@ -434,20 +434,20 @@ f11: # @f11 .local i32 # BB#0: # %entry i32.const $push1=, 11 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $13=, $pop11 i32.store $push0=, 12($pop10), $12 call fap@FUNCTION, $pop1, $11, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $13, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end13: .size f11, .Lfunc_end13-f11 @@ -461,20 +461,20 @@ f12: # @f12 .local i32 # BB#0: # %entry i32.const $push1=, 12 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $14=, $pop11 i32.store $push0=, 12($pop10), $13 call fap@FUNCTION, $pop1, $12, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $14, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end14: .size f12, .Lfunc_end14-f12 @@ -488,20 +488,20 @@ f13: # @f13 .local i32 # BB#0: # %entry i32.const $push1=, 13 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $15=, $pop11 i32.store $push0=, 12($pop10), $14 call fap@FUNCTION, $pop1, $13, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $15, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end15: .size f13, .Lfunc_end15-f13 @@ -515,20 +515,20 @@ f14: # @f14 .local i32 # BB#0: # %entry i32.const $push1=, 14 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $16=, $pop11 i32.store $push0=, 12($pop10), $15 call fap@FUNCTION, $pop1, $14, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $16, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end16: .size f14, .Lfunc_end16-f14 @@ -542,20 +542,20 @@ f15: # @f15 .local i32 # BB#0: # %entry i32.const $push1=, 15 - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push9=, $pop3, $pop4 - i32.store $push11=, 0($pop5), $pop9 + i32.store $push11=, __stack_pointer($pop5), $pop9 tee_local $push10=, $17=, $pop11 i32.store $push0=, 12($pop10), $16 call fap@FUNCTION, $pop1, $15, $pop0 - i32.const $push8=, __stack_pointer + i32.const $push8=, 0 i32.const $push6=, 16 i32.add $push7=, $17, $pop6 - i32.store $drop=, 0($pop8), $pop7 - return + i32.store $drop=, __stack_pointer($pop8), $pop7 + # fallthrough-return .endfunc .Lfunc_end17: .size f15, .Lfunc_end17-f15 @@ -568,12 +568,12 @@ main: # @main .result i32 .local i64, i64, i64, i64, i64, i64, i64, i32, i64, i64, i64, i64, i64, i64, i32 # BB#0: # %entry - i32.const $push84=, __stack_pointer - i32.const $push81=, __stack_pointer - i32.load $push82=, 0($pop81) + i32.const $push84=, 0 + i32.const $push81=, 0 + i32.load $push82=, __stack_pointer($pop81) i32.const $push83=, 640 i32.sub $push199=, $pop82, $pop83 - i32.store $push237=, 0($pop84), $pop199 + i32.store $push237=, __stack_pointer($pop84), $pop199 tee_local $push236=, $14=, $pop237 i32.const $push85=, 576 i32.add $push86=, $pop236, $pop85 diff --git a/test/torture-s/va-arg-11.c.s b/test/torture-s/va-arg-11.c.s index d32ec83f6..9b24b38f1 100644 --- a/test/torture-s/va-arg-11.c.s +++ b/test/torture-s/va-arg-11.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 32 i32.sub $push10=, $pop7, $pop8 - i32.store $push12=, 0($pop9), $pop10 + i32.store $push12=, __stack_pointer($pop9), $pop10 tee_local $push11=, $1=, $pop12 i32.const $push0=, 16 i32.add $push1=, $pop11, $pop0 @@ -44,19 +44,20 @@ foo: # @foo .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 - i32.sub $2=, $pop6, $pop7 + i32.sub $push11=, $pop6, $pop7 + tee_local $push10=, $2=, $pop11 i32.store $push9=, 12($2), $1 tee_local $push8=, $1=, $pop9 i32.const $push0=, 20 i32.add $push1=, $pop8, $pop0 - i32.store $drop=, 12($2), $pop1 + i32.store $drop=, 12($pop10), $pop1 i32.const $push2=, 16 i32.add $push3=, $1, $pop2 i32.load $push4=, 0($pop3) - return $pop4 + # fallthrough-return: $pop4 .endfunc .Lfunc_end1: .size foo, .Lfunc_end1-foo diff --git a/test/torture-s/va-arg-12.c.s b/test/torture-s/va-arg-12.c.s index 4985d5aa5..412b0b766 100644 --- a/test/torture-s/va-arg-12.c.s +++ b/test/torture-s/va-arg-12.c.s @@ -6,49 +6,50 @@ .type f,@function f: # @f .param f64, f64, f64, f64, f64, f64, f64, f64, f64, i32 - .local i32, f64, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) - i32.const $push17=, 16 - i32.sub $push22=, $pop16, $pop17 - i32.store $10=, 0($pop18), $pop22 - i32.const $push0=, 7 - i32.add $push1=, $9, $pop0 - i32.const $push2=, -8 - i32.and $push24=, $pop1, $pop2 - tee_local $push23=, $12=, $pop24 - f64.load $11=, 0($pop23) - i32.store $drop=, 12($10), $9 - i32.const $push3=, 8 - i32.add $push4=, $12, $pop3 - i32.store $9=, 12($10), $pop4 + i32.const $push22=, 0 + i32.const $push19=, 0 + i32.load $push20=, __stack_pointer($pop19) + i32.const $push21=, 16 + i32.sub $push26=, $pop20, $pop21 + i32.store $push30=, __stack_pointer($pop22), $pop26 + tee_local $push29=, $12=, $pop30 + i32.store $push0=, 12($12), $9 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push28=, $pop2, $pop3 + tee_local $push27=, $9=, $pop28 + i32.const $push4=, 8 + i32.add $push5=, $pop27, $pop4 + i32.store $10=, 12($pop29), $pop5 block - f64.const $push5=, 0x1.4p3 - f64.ne $push6=, $11, $pop5 - br_if 0, $pop6 # 0: down to label0 + f64.load $push6=, 0($9) + f64.const $push7=, 0x1.4p3 + f64.ne $push8=, $pop6, $pop7 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.end - f64.load $11=, 0($9) - i32.const $push7=, 16 - i32.add $push8=, $12, $pop7 - i32.store $9=, 12($10), $pop8 - f64.const $push9=, 0x1.6p3 - f64.ne $push10=, $11, $pop9 - br_if 0, $pop10 # 0: down to label0 + i32.const $push9=, 16 + i32.add $push10=, $9, $pop9 + i32.store $11=, 12($12), $pop10 + f64.load $push11=, 0($10) + f64.const $push12=, 0x1.6p3 + f64.ne $push13=, $pop11, $pop12 + br_if 0, $pop13 # 0: down to label0 # BB#2: # %if.end6 - f64.load $11=, 0($9) - i32.const $push11=, 24 - i32.add $push12=, $12, $pop11 - i32.store $drop=, 12($10), $pop12 - f64.const $push13=, 0x0p0 - f64.ne $push14=, $11, $pop13 - br_if 0, $pop14 # 0: down to label0 + i32.const $push14=, 24 + i32.add $push15=, $9, $pop14 + i32.store $drop=, 12($12), $pop15 + f64.load $push16=, 0($11) + f64.const $push17=, 0x0p0 + f64.ne $push18=, $pop16, $pop17 + br_if 0, $pop18 # 0: down to label0 # BB#3: # %if.end11 - i32.const $push21=, __stack_pointer - i32.const $push19=, 16 - i32.add $push20=, $10, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.const $push25=, 0 + i32.const $push23=, 16 + i32.add $push24=, $12, $pop23 + i32.store $drop=, __stack_pointer($pop25), $pop24 return .LBB0_4: # %if.then10 end_block # label0: @@ -66,12 +67,12 @@ main: # @main .result i32 .local f64, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 32 i32.sub $push10=, $pop7, $pop8 - i32.store $push12=, 0($pop9), $pop10 + i32.store $push12=, __stack_pointer($pop9), $pop10 tee_local $push11=, $1=, $pop12 i32.const $push0=, 16 i32.add $push1=, $pop11, $pop0 diff --git a/test/torture-s/va-arg-13.c.s b/test/torture-s/va-arg-13.c.s index 56f9587af..de8af7eb2 100644 --- a/test/torture-s/va-arg-13.c.s +++ b/test/torture-s/va-arg-13.c.s @@ -31,22 +31,22 @@ test: # @test .local i32 # BB#0: # %entry block - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push19=, 0($pop10), $pop14 + i32.store $push19=, __stack_pointer($pop10), $pop14 tee_local $push18=, $2=, $pop19 i32.store $push17=, 4($pop18), $1 tee_local $push16=, $1=, $pop17 - i32.load $push2=, 0($pop16) + i32.load $push1=, 0($pop16) i32.const $push15=, 1234 - i32.ne $push3=, $pop2, $pop15 - br_if 0, $pop3 # 0: down to label1 + i32.ne $push2=, $pop1, $pop15 + br_if 0, $pop2 # 0: down to label1 # BB#1: # %dummy.exit - i32.const $push1=, 4 - i32.or $push0=, $2, $pop1 + i32.const $push3=, 4 + i32.or $push0=, $2, $pop3 i32.store $drop=, 0($pop0), $1 i32.load $push4=, 4($2) i32.load $push5=, 0($pop4) @@ -54,10 +54,10 @@ test: # @test i32.ne $push6=, $pop5, $pop20 br_if 0, $pop6 # 0: down to label1 # BB#2: # %dummy.exit15 - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $2, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB1_3: # %if.then.i14 end_block # label1: @@ -75,12 +75,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 - i32.store $push8=, 0($pop5), $pop6 + i32.store $push8=, __stack_pointer($pop5), $pop6 tee_local $push7=, $0=, $pop8 i32.const $push0=, 1234 i32.store $drop=, 0($pop7), $pop0 diff --git a/test/torture-s/va-arg-14.c.s b/test/torture-s/va-arg-14.c.s index 7539709b3..af5b3104d 100644 --- a/test/torture-s/va-arg-14.c.s +++ b/test/torture-s/va-arg-14.c.s @@ -6,103 +6,104 @@ .type vat,@function vat: # @vat .param i32, i32 - .local i32, i32 + .local i32 # BB#0: # %entry - i32.const $push31=, __stack_pointer - i32.const $push28=, __stack_pointer - i32.load $push29=, 0($pop28) - i32.const $push30=, 16 - i32.sub $push35=, $pop29, $pop30 - i32.store $push40=, 0($pop31), $pop35 - tee_local $push39=, $3=, $pop40 - i32.store $2=, 8($pop39), $1 - i32.load $1=, 8($3) - i32.store $drop=, 12($3), $0 + i32.const $push32=, 0 + i32.const $push29=, 0 + i32.load $push30=, __stack_pointer($pop29) + i32.const $push31=, 16 + i32.sub $push36=, $pop30, $pop31 + i32.store $push43=, __stack_pointer($pop32), $pop36 + tee_local $push42=, $2=, $pop43 + i32.store $drop=, 12($pop42), $0 + i32.const $push41=, 0 + i32.store $push0=, global($pop41), $1 + i32.store $push1=, 8($2), $pop0 + i32.store $1=, 12($2), $pop1 + i32.load $push40=, 8($2) + tee_local $push39=, $0=, $pop40 i32.const $push38=, 4 - i32.add $push3=, $1, $pop38 - i32.store $drop=, 8($3), $pop3 - i32.const $push37=, 0 - i32.store $push0=, global($pop37), $2 - i32.store $0=, 12($3), $pop0 + i32.add $push4=, $pop39, $pop38 + i32.store $drop=, 8($2), $pop4 block - i32.load $push4=, 0($1) - i32.const $push36=, 1 - i32.ne $push5=, $pop4, $pop36 - br_if 0, $pop5 # 0: down to label0 + i32.load $push5=, 0($0) + i32.const $push37=, 1 + i32.ne $push6=, $pop5, $pop37 + br_if 0, $pop6 # 0: down to label0 # BB#1: # %if.end - i32.const $push46=, 0 - i32.const $push45=, 0 - i32.load $push44=, global($pop45) - tee_local $push43=, $1=, $pop44 - i32.const $push42=, 4 - i32.add $push6=, $pop43, $pop42 - i32.store $drop=, global($pop46), $pop6 - i32.load $push7=, 0($1) - i32.const $push41=, 1 - i32.ne $push8=, $pop7, $pop41 - br_if 0, $pop8 # 0: down to label0 + i32.const $push49=, 0 + i32.const $push48=, 0 + i32.load $push47=, global($pop48) + tee_local $push46=, $0=, $pop47 + i32.const $push45=, 4 + i32.add $push7=, $pop46, $pop45 + i32.store $drop=, global($pop49), $pop7 + i32.load $push8=, 0($0) + i32.const $push44=, 1 + i32.ne $push9=, $pop8, $pop44 + br_if 0, $pop9 # 0: down to label0 # BB#2: # %if.end7 - i32.load $push50=, 12($3) - tee_local $push49=, $1=, $pop50 - i32.const $push48=, 4 - i32.add $push9=, $pop49, $pop48 - i32.store $drop=, 12($3), $pop9 - i32.load $push10=, 0($1) - i32.const $push47=, 1 - i32.ne $push11=, $pop10, $pop47 - br_if 0, $pop11 # 0: down to label0 + i32.load $push53=, 12($2) + tee_local $push52=, $0=, $pop53 + i32.const $push51=, 4 + i32.add $push10=, $pop52, $pop51 + i32.store $drop=, 12($2), $pop10 + i32.load $push11=, 0($0) + i32.const $push50=, 1 + i32.ne $push12=, $pop11, $pop50 + br_if 0, $pop12 # 0: down to label0 # BB#3: # %if.end12 - i32.store $push55=, 8($3), $0 - tee_local $push54=, $1=, $pop55 - i32.const $push53=, 4 - i32.add $push12=, $pop54, $pop53 - i32.store $drop=, 8($3), $pop12 - i32.const $push52=, 0 - i32.store $push1=, 12($3), $1 - i32.store $push2=, global($pop52), $pop1 - i32.load $push13=, 0($pop2) - i32.const $push51=, 1 - i32.ne $push14=, $pop13, $pop51 - br_if 0, $pop14 # 0: down to label0 + i32.const $push58=, 0 + i32.store $push2=, global($pop58), $1 + i32.store $push3=, 12($2), $pop2 + i32.store $push57=, 8($2), $pop3 + tee_local $push56=, $0=, $pop57 + i32.const $push55=, 4 + i32.add $push13=, $pop56, $pop55 + i32.store $drop=, 8($2), $pop13 + i32.load $push14=, 0($0) + i32.const $push54=, 1 + i32.ne $push15=, $pop14, $pop54 + br_if 0, $pop15 # 0: down to label0 # BB#4: # %if.end19 - i32.const $push60=, 0 - i32.load $push15=, global($pop60) - i32.store $push59=, 8($3), $pop15 - tee_local $push58=, $1=, $pop59 - i32.const $push57=, 4 - i32.add $push16=, $pop58, $pop57 - i32.store $drop=, 8($3), $pop16 - i32.load $push17=, 0($1) - i32.const $push56=, 1 - i32.ne $push18=, $pop17, $pop56 - br_if 0, $pop18 # 0: down to label0 + i32.const $push63=, 0 + i32.load $push16=, global($pop63) + i32.store $push62=, 8($2), $pop16 + tee_local $push61=, $0=, $pop62 + i32.const $push60=, 4 + i32.add $push17=, $pop61, $pop60 + i32.store $drop=, 8($2), $pop17 + i32.load $push18=, 0($0) + i32.const $push59=, 1 + i32.ne $push19=, $pop18, $pop59 + br_if 0, $pop19 # 0: down to label0 # BB#5: # %if.end25 - i32.const $push19=, 0 - i32.const $push65=, 0 - i32.load $push64=, global($pop65) - tee_local $push63=, $1=, $pop64 - i32.const $push62=, 4 - i32.add $push20=, $pop63, $pop62 - i32.store $drop=, global($pop19), $pop20 - i32.load $push21=, 0($1) - i32.const $push61=, 1 - i32.ne $push22=, $pop21, $pop61 - br_if 0, $pop22 # 0: down to label0 + i32.const $push20=, 0 + i32.const $push68=, 0 + i32.load $push67=, global($pop68) + tee_local $push66=, $0=, $pop67 + i32.const $push65=, 4 + i32.add $push21=, $pop66, $pop65 + i32.store $drop=, global($pop20), $pop21 + i32.load $push22=, 0($0) + i32.const $push64=, 1 + i32.ne $push23=, $pop22, $pop64 + br_if 0, $pop23 # 0: down to label0 # BB#6: # %if.end31 - i32.load $push67=, 12($3) - tee_local $push66=, $1=, $pop67 - i32.const $push23=, 4 - i32.add $push24=, $pop66, $pop23 - i32.store $drop=, 12($3), $pop24 - i32.load $push25=, 0($1) - i32.const $push26=, 1 - i32.ne $push27=, $pop25, $pop26 - br_if 0, $pop27 # 0: down to label0 + i32.load $push70=, 12($2) + tee_local $push69=, $0=, $pop70 + i32.const $push24=, 4 + i32.add $push25=, $pop69, $pop24 + i32.store $drop=, 12($2), $pop25 + i32.load $push26=, 0($0) + i32.const $push27=, 1 + i32.ne $push28=, $pop26, $pop27 + br_if 0, $pop28 # 0: down to label0 # BB#7: # %if.end36 - i32.const $push34=, __stack_pointer - i32.const $push32=, 16 - i32.add $push33=, $3, $pop32 - i32.store $drop=, 0($pop34), $pop33 + i32.const $push35=, 0 + i32.const $push33=, 16 + i32.add $push34=, $2, $pop33 + i32.store $drop=, __stack_pointer($pop35), $pop34 return .LBB0_8: # %if.then35 end_block # label0: @@ -120,12 +121,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 - i32.store $push8=, 0($pop5), $pop6 + i32.store $push8=, __stack_pointer($pop5), $pop6 tee_local $push7=, $0=, $pop8 i32.const $push0=, 1 i32.store $drop=, 0($pop7), $pop0 diff --git a/test/torture-s/va-arg-15.c.s b/test/torture-s/va-arg-15.c.s index 8ad48bbed..7c9d98237 100644 --- a/test/torture-s/va-arg-15.c.s +++ b/test/torture-s/va-arg-15.c.s @@ -6,17 +6,17 @@ .type vafunction,@function vafunction: # @vafunction .param i32, i32 - .local i32, i32, f64, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push11=, __stack_pointer - i32.const $push8=, __stack_pointer - i32.load $push9=, 0($pop8) - i32.const $push10=, 16 - i32.sub $push15=, $pop9, $pop10 - i32.store $push17=, 0($pop11), $pop15 - tee_local $push16=, $6=, $pop17 - i32.store $drop=, 12($pop16), $1 - i32.const $3=, 1 + i32.const $push12=, 0 + i32.const $push9=, 0 + i32.load $push10=, __stack_pointer($pop9) + i32.const $push11=, 16 + i32.sub $push16=, $pop10, $pop11 + i32.store $push18=, __stack_pointer($pop12), $pop16 + tee_local $push17=, $3=, $pop18 + i32.store $drop=, 12($pop17), $1 + i32.const $4=, 1 .LBB0_1: # %for.body # =>This Inner Loop Header: Depth=1 block @@ -24,51 +24,52 @@ vafunction: # @vafunction loop # label2: block block - i32.const $push19=, -1 - i32.add $push1=, $3, $pop19 - i32.const $push18=, 1 - i32.and $push2=, $pop1, $pop18 + i32.const $push20=, -1 + i32.add $push1=, $4, $pop20 + i32.const $push19=, 1 + i32.and $push2=, $pop1, $pop19 br_if 0, $pop2 # 0: down to label5 # BB#2: # %if.else # in Loop: Header=BB0_1 Depth=1 - i32.const $push20=, 4 - i32.add $push0=, $1, $pop20 - i32.store $2=, 12($6), $pop0 + i32.const $push21=, 4 + i32.add $push0=, $1, $pop21 + i32.store $2=, 12($3), $pop0 i32.load $5=, 0($1) copy_local $1=, $2 - i32.eq $push6=, $3, $5 - br_if 1, $pop6 # 1: down to label4 + i32.eq $push7=, $4, $5 + br_if 1, $pop7 # 1: down to label4 br 4 # 4: down to label1 .LBB0_3: # %if.then # in Loop: Header=BB0_1 Depth=1 end_block # label5: - i32.const $push27=, 7 - i32.add $push3=, $1, $pop27 - i32.const $push26=, -8 - i32.and $push25=, $pop3, $pop26 - tee_local $push24=, $1=, $pop25 - f64.load $4=, 0($pop24) - i32.const $push23=, 8 - i32.add $push22=, $1, $pop23 - tee_local $push21=, $1=, $pop22 - i32.store $drop=, 12($6), $pop21 - f64.convert_s/i32 $push4=, $3 - f64.ne $push5=, $4, $pop4 - br_if 4, $pop5 # 4: down to label0 + i32.const $push28=, 7 + i32.add $push3=, $1, $pop28 + i32.const $push27=, -8 + i32.and $push26=, $pop3, $pop27 + tee_local $push25=, $2=, $pop26 + i32.const $push24=, 8 + i32.add $push23=, $pop25, $pop24 + tee_local $push22=, $1=, $pop23 + i32.store $drop=, 12($3), $pop22 + f64.load $push4=, 0($2) + f64.convert_s/i32 $push5=, $4 + f64.ne $push6=, $pop4, $pop5 + br_if 4, $pop6 # 4: down to label0 .LBB0_4: # %for.inc # in Loop: Header=BB0_1 Depth=1 end_block # label4: - i32.const $push29=, 1 - i32.add $3=, $3, $pop29 - i32.const $push28=, 19 - i32.lt_s $push7=, $3, $pop28 - br_if 0, $pop7 # 0: up to label2 + i32.const $push32=, 1 + i32.add $push31=, $4, $pop32 + tee_local $push30=, $4=, $pop31 + i32.const $push29=, 19 + i32.lt_s $push8=, $pop30, $pop29 + br_if 0, $pop8 # 0: up to label2 # BB#5: # %for.end end_loop # label3: - i32.const $push14=, __stack_pointer - i32.const $push12=, 16 - i32.add $push13=, $6, $pop12 - i32.store $drop=, 0($pop14), $pop13 + i32.const $push15=, 0 + i32.const $push13=, 16 + i32.add $push14=, $3, $pop13 + i32.store $drop=, __stack_pointer($pop15), $pop14 return .LBB0_6: # %if.then9 end_block # label1: @@ -90,12 +91,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push54=, __stack_pointer - i32.const $push51=, __stack_pointer - i32.load $push52=, 0($pop51) + i32.const $push54=, 0 + i32.const $push51=, 0 + i32.load $push52=, __stack_pointer($pop51) i32.const $push53=, 144 i32.sub $push55=, $pop52, $pop53 - i32.store $push57=, 0($pop54), $pop55 + i32.store $push57=, __stack_pointer($pop54), $pop55 tee_local $push56=, $0=, $pop57 i32.const $push0=, 136 i32.add $push1=, $pop56, $pop0 diff --git a/test/torture-s/va-arg-16.c.s b/test/torture-s/va-arg-16.c.s index c4a045f51..5f20f038c 100644 --- a/test/torture-s/va-arg-16.c.s +++ b/test/torture-s/va-arg-16.c.s @@ -6,16 +6,16 @@ .type vafunction,@function vafunction: # @vafunction .param f64, f64, i32 - .local i32, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push47=, __stack_pointer - i32.const $push44=, __stack_pointer - i32.load $push45=, 0($pop44) - i32.const $push46=, 16 - i32.sub $push51=, $pop45, $pop46 - i32.store $push53=, 0($pop47), $pop51 - tee_local $push52=, $4=, $pop53 - i32.store $drop=, 12($pop52), $2 + i32.const $push56=, 0 + i32.const $push53=, 0 + i32.load $push54=, __stack_pointer($pop53) + i32.const $push55=, 16 + i32.sub $push60=, $pop54, $pop55 + i32.store $push62=, __stack_pointer($pop56), $pop60 + tee_local $push61=, $5=, $pop62 + i32.store $drop=, 12($pop61), $2 block f64.const $push0=, 0x1.bcp9 f64.ne $push1=, $0, $pop0 @@ -25,88 +25,88 @@ vafunction: # @vafunction f64.ne $push3=, $1, $pop2 br_if 0, $pop3 # 0: down to label0 # BB#2: # %if.end4 - i32.load $push4=, 12($4) - i32.const $push5=, 7 - i32.add $push6=, $pop4, $pop5 + i32.load $push5=, 12($5) + i32.const $push4=, 7 + i32.add $push6=, $pop5, $pop4 i32.const $push7=, -8 - i32.and $push55=, $pop6, $pop7 - tee_local $push54=, $2=, $pop55 - f64.load $0=, 0($pop54) + i32.and $push64=, $pop6, $pop7 + tee_local $push63=, $2=, $pop64 i32.const $push8=, 8 - i32.add $push9=, $2, $pop8 - i32.store $3=, 12($4), $pop9 - f64.const $push10=, 0x1p0 - f64.ne $push11=, $0, $pop10 - br_if 0, $pop11 # 0: down to label0 + i32.add $push9=, $pop63, $pop8 + i32.store $3=, 12($5), $pop9 + f64.load $push10=, 0($2) + f64.const $push11=, 0x1p0 + f64.ne $push12=, $pop10, $pop11 + br_if 0, $pop12 # 0: down to label0 # BB#3: # %if.end7 - f64.load $0=, 0($3) - i32.const $push12=, 16 - i32.add $push13=, $2, $pop12 - i32.store $3=, 12($4), $pop13 - f64.const $push14=, 0x1p1 - f64.ne $push15=, $0, $pop14 - br_if 0, $pop15 # 0: down to label0 + i32.const $push13=, 16 + i32.add $push14=, $2, $pop13 + i32.store $4=, 12($5), $pop14 + f64.load $push15=, 0($3) + f64.const $push16=, 0x1p1 + f64.ne $push17=, $pop15, $pop16 + br_if 0, $pop17 # 0: down to label0 # BB#4: # %if.end12 - f64.load $0=, 0($3) - i32.const $push16=, 24 - i32.add $push17=, $2, $pop16 - i32.store $3=, 12($4), $pop17 - f64.const $push18=, 0x1.8p1 - f64.ne $push19=, $0, $pop18 - br_if 0, $pop19 # 0: down to label0 + i32.const $push18=, 24 + i32.add $push19=, $2, $pop18 + i32.store $3=, 12($5), $pop19 + f64.load $push20=, 0($4) + f64.const $push21=, 0x1.8p1 + f64.ne $push22=, $pop20, $pop21 + br_if 0, $pop22 # 0: down to label0 # BB#5: # %if.end17 - f64.load $0=, 0($3) - i32.const $push20=, 32 - i32.add $push21=, $2, $pop20 - i32.store $3=, 12($4), $pop21 - f64.const $push22=, 0x1p2 - f64.ne $push23=, $0, $pop22 - br_if 0, $pop23 # 0: down to label0 -# BB#6: # %if.end22 - f64.load $0=, 0($3) - i32.const $push24=, 40 - i32.add $push25=, $2, $pop24 - i32.store $3=, 12($4), $pop25 - f64.const $push26=, 0x1.4p2 - f64.ne $push27=, $0, $pop26 + i32.const $push23=, 32 + i32.add $push24=, $2, $pop23 + i32.store $4=, 12($5), $pop24 + f64.load $push25=, 0($3) + f64.const $push26=, 0x1p2 + f64.ne $push27=, $pop25, $pop26 br_if 0, $pop27 # 0: down to label0 -# BB#7: # %if.end27 - f64.load $0=, 0($3) - i32.const $push28=, 48 +# BB#6: # %if.end22 + i32.const $push28=, 40 i32.add $push29=, $2, $pop28 - i32.store $3=, 12($4), $pop29 - f64.const $push30=, 0x1.8p2 - f64.ne $push31=, $0, $pop30 - br_if 0, $pop31 # 0: down to label0 + i32.store $3=, 12($5), $pop29 + f64.load $push30=, 0($4) + f64.const $push31=, 0x1.4p2 + f64.ne $push32=, $pop30, $pop31 + br_if 0, $pop32 # 0: down to label0 +# BB#7: # %if.end27 + i32.const $push33=, 48 + i32.add $push34=, $2, $pop33 + i32.store $4=, 12($5), $pop34 + f64.load $push35=, 0($3) + f64.const $push36=, 0x1.8p2 + f64.ne $push37=, $pop35, $pop36 + br_if 0, $pop37 # 0: down to label0 # BB#8: # %if.end32 - f64.load $0=, 0($3) - i32.const $push32=, 56 - i32.add $push33=, $2, $pop32 - i32.store $3=, 12($4), $pop33 - f64.const $push34=, 0x1.cp2 - f64.ne $push35=, $0, $pop34 - br_if 0, $pop35 # 0: down to label0 + i32.const $push38=, 56 + i32.add $push39=, $2, $pop38 + i32.store $3=, 12($5), $pop39 + f64.load $push40=, 0($4) + f64.const $push41=, 0x1.cp2 + f64.ne $push42=, $pop40, $pop41 + br_if 0, $pop42 # 0: down to label0 # BB#9: # %if.end37 - f64.load $0=, 0($3) - i32.const $push36=, 64 - i32.add $push37=, $2, $pop36 - i32.store $3=, 12($4), $pop37 - f64.const $push38=, 0x1p3 - f64.ne $push39=, $0, $pop38 - br_if 0, $pop39 # 0: down to label0 + i32.const $push43=, 64 + i32.add $push44=, $2, $pop43 + i32.store $4=, 12($5), $pop44 + f64.load $push45=, 0($3) + f64.const $push46=, 0x1p3 + f64.ne $push47=, $pop45, $pop46 + br_if 0, $pop47 # 0: down to label0 # BB#10: # %if.end42 - f64.load $0=, 0($3) - i32.const $push40=, 72 - i32.add $push41=, $2, $pop40 - i32.store $drop=, 12($4), $pop41 - f64.const $push42=, 0x1.2p3 - f64.ne $push43=, $0, $pop42 - br_if 0, $pop43 # 0: down to label0 + i32.const $push48=, 72 + i32.add $push49=, $2, $pop48 + i32.store $drop=, 12($5), $pop49 + f64.load $push50=, 0($4) + f64.const $push51=, 0x1.2p3 + f64.ne $push52=, $pop50, $pop51 + br_if 0, $pop52 # 0: down to label0 # BB#11: # %if.end47 - i32.const $push50=, __stack_pointer - i32.const $push48=, 16 - i32.add $push49=, $4, $pop48 - i32.store $drop=, 0($pop50), $pop49 + i32.const $push59=, 0 + i32.const $push57=, 16 + i32.add $push58=, $5, $pop57 + i32.store $drop=, __stack_pointer($pop59), $pop58 return .LBB0_12: # %if.then46 end_block # label0: @@ -124,12 +124,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push29=, __stack_pointer - i32.const $push26=, __stack_pointer - i32.load $push27=, 0($pop26) + i32.const $push29=, 0 + i32.const $push26=, 0 + i32.load $push27=, __stack_pointer($pop26) i32.const $push28=, 80 i32.sub $push30=, $pop27, $pop28 - i32.store $push32=, 0($pop29), $pop30 + i32.store $push32=, __stack_pointer($pop29), $pop30 tee_local $push31=, $0=, $pop32 i32.const $push0=, 64 i32.add $push1=, $pop31, $pop0 diff --git a/test/torture-s/va-arg-17.c.s b/test/torture-s/va-arg-17.c.s index 41e89c639..323ccc993 100644 --- a/test/torture-s/va-arg-17.c.s +++ b/test/torture-s/va-arg-17.c.s @@ -6,97 +6,98 @@ .type vafunction,@function vafunction: # @vafunction .param i32, i32 - .local i32, f64, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push42=, __stack_pointer - i32.const $push39=, __stack_pointer - i32.load $push40=, 0($pop39) - i32.const $push41=, 16 - i32.sub $push46=, $pop40, $pop41 - i32.store $2=, 0($pop42), $pop46 - i32.const $push0=, 7 - i32.add $push1=, $1, $pop0 - i32.const $push2=, -8 - i32.and $push48=, $pop1, $pop2 - tee_local $push47=, $4=, $pop48 - f64.load $3=, 0($pop47) - i32.store $drop=, 12($2), $1 - i32.const $push3=, 8 - i32.add $push4=, $4, $pop3 - i32.store $1=, 12($2), $pop4 + i32.const $push52=, 0 + i32.const $push49=, 0 + i32.load $push50=, __stack_pointer($pop49) + i32.const $push51=, 16 + i32.sub $push56=, $pop50, $pop51 + i32.store $push60=, __stack_pointer($pop52), $pop56 + tee_local $push59=, $4=, $pop60 + i32.store $push0=, 12($4), $1 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push58=, $pop2, $pop3 + tee_local $push57=, $1=, $pop58 + i32.const $push4=, 8 + i32.add $push5=, $pop57, $pop4 + i32.store $2=, 12($pop59), $pop5 block - f64.const $push5=, 0x1p0 - f64.ne $push6=, $3, $pop5 - br_if 0, $pop6 # 0: down to label0 + f64.load $push6=, 0($1) + f64.const $push7=, 0x1p0 + f64.ne $push8=, $pop6, $pop7 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.end - f64.load $3=, 0($1) - i32.const $push7=, 16 - i32.add $push8=, $4, $pop7 - i32.store $1=, 12($2), $pop8 - f64.const $push9=, 0x1p1 - f64.ne $push10=, $3, $pop9 - br_if 0, $pop10 # 0: down to label0 + i32.const $push9=, 16 + i32.add $push10=, $1, $pop9 + i32.store $3=, 12($4), $pop10 + f64.load $push11=, 0($2) + f64.const $push12=, 0x1p1 + f64.ne $push13=, $pop11, $pop12 + br_if 0, $pop13 # 0: down to label0 # BB#2: # %if.end6 - f64.load $3=, 0($1) - i32.const $push11=, 24 - i32.add $push12=, $4, $pop11 - i32.store $1=, 12($2), $pop12 - f64.const $push13=, 0x1.8p1 - f64.ne $push14=, $3, $pop13 - br_if 0, $pop14 # 0: down to label0 -# BB#3: # %if.end11 - f64.load $3=, 0($1) - i32.const $push15=, 32 - i32.add $push16=, $4, $pop15 - i32.store $1=, 12($2), $pop16 - f64.const $push17=, 0x1p2 - f64.ne $push18=, $3, $pop17 + i32.const $push14=, 24 + i32.add $push15=, $1, $pop14 + i32.store $2=, 12($4), $pop15 + f64.load $push16=, 0($3) + f64.const $push17=, 0x1.8p1 + f64.ne $push18=, $pop16, $pop17 br_if 0, $pop18 # 0: down to label0 +# BB#3: # %if.end11 + i32.const $push19=, 32 + i32.add $push20=, $1, $pop19 + i32.store $3=, 12($4), $pop20 + f64.load $push21=, 0($2) + f64.const $push22=, 0x1p2 + f64.ne $push23=, $pop21, $pop22 + br_if 0, $pop23 # 0: down to label0 # BB#4: # %if.end16 - f64.load $3=, 0($1) - i32.const $push19=, 40 - i32.add $push20=, $4, $pop19 - i32.store $1=, 12($2), $pop20 - f64.const $push21=, 0x1.4p2 - f64.ne $push22=, $3, $pop21 - br_if 0, $pop22 # 0: down to label0 + i32.const $push24=, 40 + i32.add $push25=, $1, $pop24 + i32.store $2=, 12($4), $pop25 + f64.load $push26=, 0($3) + f64.const $push27=, 0x1.4p2 + f64.ne $push28=, $pop26, $pop27 + br_if 0, $pop28 # 0: down to label0 # BB#5: # %if.end21 - f64.load $3=, 0($1) - i32.const $push23=, 48 - i32.add $push24=, $4, $pop23 - i32.store $1=, 12($2), $pop24 - f64.const $push25=, 0x1.8p2 - f64.ne $push26=, $3, $pop25 - br_if 0, $pop26 # 0: down to label0 + i32.const $push29=, 48 + i32.add $push30=, $1, $pop29 + i32.store $3=, 12($4), $pop30 + f64.load $push31=, 0($2) + f64.const $push32=, 0x1.8p2 + f64.ne $push33=, $pop31, $pop32 + br_if 0, $pop33 # 0: down to label0 # BB#6: # %if.end26 - f64.load $3=, 0($1) - i32.const $push27=, 56 - i32.add $push28=, $4, $pop27 - i32.store $1=, 12($2), $pop28 - f64.const $push29=, 0x1.cp2 - f64.ne $push30=, $3, $pop29 - br_if 0, $pop30 # 0: down to label0 + i32.const $push34=, 56 + i32.add $push35=, $1, $pop34 + i32.store $2=, 12($4), $pop35 + f64.load $push36=, 0($3) + f64.const $push37=, 0x1.cp2 + f64.ne $push38=, $pop36, $pop37 + br_if 0, $pop38 # 0: down to label0 # BB#7: # %if.end31 - f64.load $3=, 0($1) - i32.const $push31=, 64 - i32.add $push32=, $4, $pop31 - i32.store $1=, 12($2), $pop32 - f64.const $push33=, 0x1p3 - f64.ne $push34=, $3, $pop33 - br_if 0, $pop34 # 0: down to label0 + i32.const $push39=, 64 + i32.add $push40=, $1, $pop39 + i32.store $3=, 12($4), $pop40 + f64.load $push41=, 0($2) + f64.const $push42=, 0x1p3 + f64.ne $push43=, $pop41, $pop42 + br_if 0, $pop43 # 0: down to label0 # BB#8: # %if.end36 - f64.load $3=, 0($1) - i32.const $push35=, 72 - i32.add $push36=, $4, $pop35 - i32.store $drop=, 12($2), $pop36 - f64.const $push37=, 0x1.2p3 - f64.ne $push38=, $3, $pop37 - br_if 0, $pop38 # 0: down to label0 + i32.const $push44=, 72 + i32.add $push45=, $1, $pop44 + i32.store $drop=, 12($4), $pop45 + f64.load $push46=, 0($3) + f64.const $push47=, 0x1.2p3 + f64.ne $push48=, $pop46, $pop47 + br_if 0, $pop48 # 0: down to label0 # BB#9: # %if.end41 - i32.const $push45=, __stack_pointer - i32.const $push43=, 16 - i32.add $push44=, $2, $pop43 - i32.store $drop=, 0($pop45), $pop44 + i32.const $push55=, 0 + i32.const $push53=, 16 + i32.add $push54=, $4, $pop53 + i32.store $drop=, __stack_pointer($pop55), $pop54 return .LBB0_10: # %if.then40 end_block # label0: @@ -114,12 +115,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push27=, __stack_pointer - i32.const $push24=, __stack_pointer - i32.load $push25=, 0($pop24) + i32.const $push27=, 0 + i32.const $push24=, 0 + i32.load $push25=, __stack_pointer($pop24) i32.const $push26=, 80 i32.sub $push28=, $pop25, $pop26 - i32.store $push30=, 0($pop27), $pop28 + i32.store $push30=, __stack_pointer($pop27), $pop28 tee_local $push29=, $0=, $pop30 i32.const $push0=, 64 i32.add $push1=, $pop29, $pop0 diff --git a/test/torture-s/va-arg-18.c.s b/test/torture-s/va-arg-18.c.s index ced159dc1..111bad88a 100644 --- a/test/torture-s/va-arg-18.c.s +++ b/test/torture-s/va-arg-18.c.s @@ -8,17 +8,18 @@ f: # @f .param f64, f64, f64, f64, f64, f64, f64, f64, f64, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push17=, __stack_pointer - i32.const $push14=, __stack_pointer - i32.load $push15=, 0($pop14) + i32.const $push17=, 0 + i32.const $push14=, 0 + i32.load $push15=, __stack_pointer($pop14) i32.const $push16=, 16 i32.sub $push21=, $pop15, $pop16 - i32.store $12=, 0($pop17), $pop21 + i32.store $push25=, __stack_pointer($pop17), $pop21 + tee_local $push24=, $12=, $pop25 i32.store $push23=, 12($12), $9 tee_local $push22=, $9=, $pop23 i32.const $push0=, 4 i32.add $push1=, $pop22, $pop0 - i32.store $10=, 12($12), $pop1 + i32.store $10=, 12($pop24), $pop1 block i32.load $push2=, 0($9) i32.const $push3=, 10 @@ -37,14 +38,14 @@ f: # @f i32.add $push11=, $9, $pop10 i32.store $drop=, 12($12), $pop11 i32.load $push12=, 0($11) - i32.const $push24=, 12 - i32.ne $push13=, $pop12, $pop24 + i32.const $push26=, 12 + i32.ne $push13=, $pop12, $pop26 br_if 0, $pop13 # 0: down to label0 # BB#3: # %if.end11 - i32.const $push20=, __stack_pointer + i32.const $push20=, 0 i32.const $push18=, 16 i32.add $push19=, $12, $pop18 - i32.store $drop=, 0($pop20), $pop19 + i32.store $drop=, __stack_pointer($pop20), $pop19 return .LBB0_4: # %if.then10 end_block # label0: @@ -62,12 +63,12 @@ main: # @main .result i32 .local f64, i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push7=, $pop4, $pop5 - i32.store $push9=, 0($pop6), $pop7 + i32.store $push9=, __stack_pointer($pop6), $pop7 tee_local $push8=, $1=, $pop9 i32.const $push0=, 12 i32.store $drop=, 8($pop8), $pop0 diff --git a/test/torture-s/va-arg-19.c.s b/test/torture-s/va-arg-19.c.s index 089af6c78..e3ba2356a 100644 --- a/test/torture-s/va-arg-19.c.s +++ b/test/torture-s/va-arg-19.c.s @@ -8,17 +8,18 @@ vafunction: # @vafunction .param i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push48=, __stack_pointer - i32.const $push45=, __stack_pointer - i32.load $push46=, 0($pop45) + i32.const $push48=, 0 + i32.const $push45=, 0 + i32.load $push46=, __stack_pointer($pop45) i32.const $push47=, 16 i32.sub $push52=, $pop46, $pop47 - i32.store $4=, 0($pop48), $pop52 + i32.store $push56=, __stack_pointer($pop48), $pop52 + tee_local $push55=, $4=, $pop56 i32.store $push54=, 12($4), $1 tee_local $push53=, $1=, $pop54 i32.const $push0=, 4 i32.add $push1=, $pop53, $pop0 - i32.store $2=, 12($4), $pop1 + i32.store $2=, 12($pop55), $pop1 block i32.load $push2=, 0($1) i32.const $push3=, 1 @@ -89,10 +90,10 @@ vafunction: # @vafunction i32.ne $push44=, $pop42, $pop43 br_if 0, $pop44 # 0: down to label0 # BB#9: # %if.end41 - i32.const $push51=, __stack_pointer + i32.const $push51=, 0 i32.const $push49=, 16 i32.add $push50=, $4, $pop49 - i32.store $drop=, 0($pop51), $pop50 + i32.store $drop=, __stack_pointer($pop51), $pop50 return .LBB0_10: # %if.then40 end_block # label0: @@ -110,12 +111,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push15=, __stack_pointer - i32.const $push12=, __stack_pointer - i32.load $push13=, 0($pop12) + i32.const $push15=, 0 + i32.const $push12=, 0 + i32.load $push13=, __stack_pointer($pop12) i32.const $push14=, 48 i32.sub $push16=, $pop13, $pop14 - i32.store $push18=, 0($pop15), $pop16 + i32.store $push18=, __stack_pointer($pop15), $pop16 tee_local $push17=, $0=, $pop18 i32.const $push0=, 32 i32.add $push1=, $pop17, $pop0 diff --git a/test/torture-s/va-arg-2.c.s b/test/torture-s/va-arg-2.c.s index 062588478..abad792b1 100644 --- a/test/torture-s/va-arg-2.c.s +++ b/test/torture-s/va-arg-2.c.s @@ -31,12 +31,12 @@ f0: # @f0 .param i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push16=, 0($pop9), $pop13 + i32.store $push16=, __stack_pointer($pop9), $pop13 tee_local $push15=, $2=, $pop16 i32.store $drop=, 12($pop15), $1 block @@ -78,10 +78,10 @@ f0: # @f0 unreachable .LBB1_6: # %while.end end_block # label2: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $2, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB1_7: # %if.then.i end_block # label1: @@ -99,12 +99,12 @@ f1: # @f1 .param i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $3=, $pop16 i32.store $drop=, 12($pop15), $2 block @@ -146,10 +146,10 @@ f1: # @f1 unreachable .LBB2_6: # %while.end end_block # label6: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $3, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB2_7: # %if.then.i end_block # label5: @@ -167,12 +167,12 @@ f2: # @f2 .param i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $4=, $pop16 i32.store $drop=, 12($pop15), $3 block @@ -214,10 +214,10 @@ f2: # @f2 unreachable .LBB3_6: # %while.end end_block # label10: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $4, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB3_7: # %if.then.i end_block # label9: @@ -235,12 +235,12 @@ f3: # @f3 .param i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $5=, $pop16 i32.store $drop=, 12($pop15), $4 block @@ -282,10 +282,10 @@ f3: # @f3 unreachable .LBB4_6: # %while.end end_block # label14: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $5, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB4_7: # %if.then.i end_block # label13: @@ -303,12 +303,12 @@ f4: # @f4 .param i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $6=, $pop16 i32.store $drop=, 12($pop15), $5 block @@ -350,10 +350,10 @@ f4: # @f4 unreachable .LBB5_6: # %while.end end_block # label18: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $6, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB5_7: # %if.then.i end_block # label17: @@ -371,12 +371,12 @@ f5: # @f5 .param i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $7=, $pop16 i32.store $drop=, 12($pop15), $6 block @@ -418,10 +418,10 @@ f5: # @f5 unreachable .LBB6_6: # %while.end end_block # label22: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $7, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB6_7: # %if.then.i end_block # label21: @@ -439,12 +439,12 @@ f6: # @f6 .param i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $8=, $pop16 i32.store $drop=, 12($pop15), $7 block @@ -486,10 +486,10 @@ f6: # @f6 unreachable .LBB7_6: # %while.end end_block # label26: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $8, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB7_7: # %if.then.i end_block # label25: @@ -507,12 +507,12 @@ f7: # @f7 .param i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $9=, $pop16 i32.store $drop=, 12($pop15), $8 block @@ -554,10 +554,10 @@ f7: # @f7 unreachable .LBB8_6: # %while.end end_block # label30: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $9, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB8_7: # %if.then.i end_block # label29: @@ -575,12 +575,12 @@ f8: # @f8 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $10=, $pop16 i32.store $drop=, 12($pop15), $9 block @@ -622,10 +622,10 @@ f8: # @f8 unreachable .LBB9_6: # %while.end end_block # label34: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $10, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB9_7: # %if.then.i end_block # label33: @@ -643,12 +643,12 @@ f9: # @f9 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $11=, $pop16 i32.store $drop=, 12($pop15), $10 block @@ -690,10 +690,10 @@ f9: # @f9 unreachable .LBB10_6: # %while.end end_block # label38: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $11, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB10_7: # %if.then.i end_block # label37: @@ -711,12 +711,12 @@ f10: # @f10 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $12=, $pop16 i32.store $drop=, 12($pop15), $11 block @@ -758,10 +758,10 @@ f10: # @f10 unreachable .LBB11_6: # %while.end end_block # label42: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $12, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB11_7: # %if.then.i end_block # label41: @@ -779,12 +779,12 @@ f11: # @f11 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $13=, $pop16 i32.store $drop=, 12($pop15), $12 block @@ -826,10 +826,10 @@ f11: # @f11 unreachable .LBB12_6: # %while.end end_block # label46: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $13, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB12_7: # %if.then.i end_block # label45: @@ -847,12 +847,12 @@ f12: # @f12 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push16=, 0($pop9), $pop13 + i32.store $push16=, __stack_pointer($pop9), $pop13 tee_local $push15=, $14=, $pop16 i32.store $drop=, 12($pop15), $13 block @@ -894,10 +894,10 @@ f12: # @f12 unreachable .LBB13_6: # %while.end end_block # label50: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $14, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB13_7: # %if.then.i end_block # label49: @@ -915,12 +915,12 @@ f13: # @f13 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $15=, $pop16 i32.store $drop=, 12($pop15), $14 block @@ -962,10 +962,10 @@ f13: # @f13 unreachable .LBB14_6: # %while.end end_block # label54: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $15, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB14_7: # %if.then.i end_block # label53: @@ -983,12 +983,12 @@ f14: # @f14 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $push16=, 0($pop10), $pop14 + i32.store $push16=, __stack_pointer($pop10), $pop14 tee_local $push15=, $16=, $pop16 i32.store $drop=, 12($pop15), $15 block @@ -1030,10 +1030,10 @@ f14: # @f14 unreachable .LBB15_6: # %while.end end_block # label58: - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $16, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB15_7: # %if.then.i end_block # label57: @@ -1051,12 +1051,12 @@ f15: # @f15 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push16=, 0($pop9), $pop13 + i32.store $push16=, __stack_pointer($pop9), $pop13 tee_local $push15=, $17=, $pop16 i32.store $drop=, 12($pop15), $16 block @@ -1098,10 +1098,10 @@ f15: # @f15 unreachable .LBB16_6: # %while.end end_block # label62: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $17, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB16_7: # %if.then.i end_block # label61: @@ -1119,12 +1119,12 @@ main: # @main .result i32 .local i64, i64, i64, i64, i64, i64, i64, i32, i64, i64, i64, i64, i64, i64, i32 # BB#0: # %entry - i32.const $push84=, __stack_pointer - i32.const $push81=, __stack_pointer - i32.load $push82=, 0($pop81) + i32.const $push84=, 0 + i32.const $push81=, 0 + i32.load $push82=, __stack_pointer($pop81) i32.const $push83=, 640 i32.sub $push199=, $pop82, $pop83 - i32.store $push237=, 0($pop84), $pop199 + i32.store $push237=, __stack_pointer($pop84), $pop199 tee_local $push236=, $14=, $pop237 i32.const $push85=, 576 i32.add $push86=, $pop236, $pop85 diff --git a/test/torture-s/va-arg-20.c.s b/test/torture-s/va-arg-20.c.s index fe1e874a2..813cabbd3 100644 --- a/test/torture-s/va-arg-20.c.s +++ b/test/torture-s/va-arg-20.c.s @@ -32,29 +32,30 @@ foo: # @foo .type bar,@function bar: # @bar .param i32, i32, i32 - .local i32, i64 + .local i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) - i32.const $push8=, 16 - i32.sub $push13=, $pop7, $pop8 - i32.store $3=, 0($pop9), $pop13 - i32.const $push0=, 7 - i32.add $push1=, $2, $pop0 - i32.const $push2=, -8 - i32.and $push3=, $pop1, $pop2 - i64.load $4=, 0($pop3) - i32.store $drop=, 12($3), $2 block - i64.const $push4=, 16 - i64.ne $push5=, $4, $pop4 - br_if 0, $pop5 # 0: down to label1 -# BB#1: # %foo.exit - i32.const $push12=, __stack_pointer + i32.const $push11=, 0 + i32.const $push8=, 0 + i32.load $push9=, __stack_pointer($pop8) i32.const $push10=, 16 - i32.add $push11=, $3, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.sub $push15=, $pop9, $pop10 + i32.store $push17=, __stack_pointer($pop11), $pop15 + tee_local $push16=, $3=, $pop17 + i32.store $push0=, 12($pop16), $2 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push4=, $pop2, $pop3 + i64.load $push5=, 0($pop4) + i64.const $push6=, 16 + i64.ne $push7=, $pop5, $pop6 + br_if 0, $pop7 # 0: down to label1 +# BB#1: # %foo.exit + i32.const $push14=, 0 + i32.const $push12=, 16 + i32.add $push13=, $3, $pop12 + i32.store $drop=, __stack_pointer($pop14), $pop13 return .LBB1_2: # %if.then.i end_block # label1: @@ -72,12 +73,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 - i32.store $push10=, 0($pop5), $pop6 + i32.store $push10=, __stack_pointer($pop5), $pop6 tee_local $push9=, $0=, $pop10 i64.const $push0=, 16 i64.store $drop=, 0($pop9), $pop0 diff --git a/test/torture-s/va-arg-21.c.s b/test/torture-s/va-arg-21.c.s index 3761276c8..14b2dc1cf 100644 --- a/test/torture-s/va-arg-21.c.s +++ b/test/torture-s/va-arg-21.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push5=, __stack_pointer - i32.const $push2=, __stack_pointer - i32.load $push3=, 0($pop2) + i32.const $push5=, 0 + i32.const $push2=, 0 + i32.load $push3=, __stack_pointer($pop2) i32.const $push4=, 16 i32.sub $push6=, $pop3, $pop4 - i32.store $push8=, 0($pop5), $pop6 + i32.store $push8=, __stack_pointer($pop5), $pop6 tee_local $push7=, $0=, $pop8 i32.const $push0=, .L.str.1 i32.store $drop=, 0($pop7), $pop0 diff --git a/test/torture-s/va-arg-22.c.s b/test/torture-s/va-arg-22.c.s index 417c520f5..bc0879e25 100644 --- a/test/torture-s/va-arg-22.c.s +++ b/test/torture-s/va-arg-22.c.s @@ -8,40 +8,41 @@ bar: # @bar .param i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push1=, 0 - i32.load $2=, bar.lastc($pop1) + i32.const $push0=, 0 + i32.load $3=, bar.lastc($pop0) block block - i32.const $push16=, 0 - i32.load $push15=, bar.lastn($pop16) - tee_local $push14=, $3=, $pop15 - i32.eq $push2=, $pop14, $0 - br_if 0, $pop2 # 0: down to label1 + i32.const $push15=, 0 + i32.load $push14=, bar.lastn($pop15) + tee_local $push13=, $2=, $pop14 + i32.eq $push1=, $pop13, $0 + br_if 0, $pop1 # 0: down to label1 # BB#1: # %if.then - i32.ne $push3=, $2, $3 - br_if 1, $pop3 # 1: down to label0 + i32.ne $push2=, $3, $2 + br_if 1, $pop2 # 1: down to label0 # BB#2: # %if.end - i32.const $2=, 0 + i32.const $3=, 0 i32.const $push18=, 0 + i32.store $drop=, bar.lastn($pop18), $0 i32.const $push17=, 0 - i32.store $push0=, bar.lastc($pop18), $pop17 - i32.store $drop=, bar.lastn($pop0), $0 + i32.const $push16=, 0 + i32.store $drop=, bar.lastc($pop17), $pop16 .LBB0_3: # %if.end3 end_block # label1: - i32.const $push4=, 3 - i32.shl $push5=, $0, $pop4 - i32.xor $push6=, $2, $pop5 - i32.const $push7=, 24 - i32.shl $push8=, $pop6, $pop7 + i32.const $push3=, 3 + i32.shl $push4=, $0, $pop3 + i32.xor $push5=, $3, $pop4 + i32.const $push6=, 24 + i32.shl $push7=, $pop5, $pop6 i32.const $push19=, 24 - i32.shr_s $push9=, $pop8, $pop19 - i32.ne $push10=, $pop9, $1 - br_if 0, $pop10 # 0: down to label0 + i32.shr_s $push8=, $pop7, $pop19 + i32.ne $push9=, $pop8, $1 + br_if 0, $pop9 # 0: down to label0 # BB#4: # %if.end8 - i32.const $push13=, 0 - i32.const $push11=, 1 - i32.add $push12=, $2, $pop11 - i32.store $drop=, bar.lastc($pop13), $pop12 + i32.const $push12=, 0 + i32.const $push10=, 1 + i32.add $push11=, $3, $pop10 + i32.store $drop=, bar.lastc($pop12), $pop11 return .LBB0_5: # %if.then7 end_block # label0: @@ -57,14 +58,16 @@ bar: # @bar .type foo,@function foo: # @foo .param i32, i32 - .local i32, i32, i32, i32, i32, i32, i64, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push407=, __stack_pointer - i32.const $push404=, __stack_pointer - i32.load $push405=, 0($pop404) - i32.const $push406=, 352 - i32.sub $push481=, $pop405, $pop406 - i32.store $5=, 0($pop407), $pop481 + i32.const $push551=, 0 + i32.const $push548=, 0 + i32.load $push549=, __stack_pointer($pop548) + i32.const $push550=, 352 + i32.sub $push621=, $pop549, $pop550 + i32.store $6=, __stack_pointer($pop551), $pop621 + block + block block block block @@ -72,1366 +75,1615 @@ foo: # @foo block block block - i32.const $push33=, 21 - i32.ne $push34=, $0, $pop33 - br_if 0, $pop34 # 0: down to label8 + i32.const $push43=, 21 + i32.ne $push44=, $0, $pop43 + br_if 0, $pop44 # 0: down to label10 # BB#1: # %if.end - i32.store $push486=, 4($5), $1 - tee_local $push485=, $10=, $pop486 - i32.const $push35=, 4 - i32.add $push36=, $pop485, $pop35 - i32.store $drop=, 4($5), $pop36 - i32.const $push37=, 0 - i32.load $0=, bar.lastc($pop37) - i32.load8_s $1=, 0($10) + i32.store $push626=, 4($6), $1 + tee_local $push625=, $2=, $pop626 + i32.const $push45=, 4 + i32.add $push46=, $pop625, $pop45 + i32.store $drop=, 4($6), $pop46 + i32.const $push47=, 0 + i32.load $0=, bar.lastc($pop47) + i32.load8_s $1=, 0($2) block - i32.const $push484=, 0 - i32.load $push483=, bar.lastn($pop484) - tee_local $push482=, $6=, $pop483 - i32.const $push38=, 1 - i32.eq $push39=, $pop482, $pop38 - br_if 0, $pop39 # 0: down to label9 + i32.const $push624=, 0 + i32.load $push623=, bar.lastn($pop624) + tee_local $push622=, $7=, $pop623 + i32.const $push48=, 1 + i32.eq $push49=, $pop622, $pop48 + br_if 0, $pop49 # 0: down to label11 # BB#2: # %if.then.i - i32.ne $push40=, $0, $6 - br_if 1, $pop40 # 1: down to label8 + i32.ne $push50=, $0, $7 + br_if 1, $pop50 # 1: down to label10 # BB#3: # %if.end.i i32.const $0=, 0 - i32.const $push489=, 0 - i32.const $push41=, 1 - i32.store $drop=, bar.lastn($pop489), $pop41 - i32.const $push488=, 0 - i32.const $push487=, 0 - i32.store $drop=, bar.lastc($pop488), $pop487 + i32.const $push629=, 0 + i32.const $push51=, 1 + i32.store $drop=, bar.lastn($pop629), $pop51 + i32.const $push628=, 0 + i32.const $push627=, 0 + i32.store $drop=, bar.lastc($pop628), $pop627 .LBB1_4: # %if.end3.i - end_block # label9: - i32.const $push42=, 24 - i32.shl $push43=, $0, $pop42 - i32.const $push491=, 24 - i32.shr_s $push44=, $pop43, $pop491 - i32.const $push490=, 8 - i32.xor $push45=, $pop44, $pop490 - i32.ne $push46=, $pop45, $1 - br_if 0, $pop46 # 0: down to label8 + end_block # label11: + i32.const $push52=, 24 + i32.shl $push53=, $0, $pop52 + i32.const $push631=, 24 + i32.shr_s $push54=, $pop53, $pop631 + i32.const $push630=, 8 + i32.xor $push55=, $pop54, $pop630 + i32.ne $push56=, $pop55, $1 + br_if 0, $pop56 # 0: down to label10 # BB#5: # %if.then.i314 - i32.const $push493=, 0 - i32.const $push47=, 1 - i32.add $push48=, $0, $pop47 - i32.store $drop=, bar.lastc($pop493), $pop48 - i32.const $push492=, 8 - i32.add $push13=, $10, $pop492 - i32.store $1=, 4($5), $pop13 - br_if 0, $0 # 0: down to label8 + i32.const $push633=, 0 + i32.const $push57=, 1 + i32.add $push58=, $0, $pop57 + i32.store $drop=, bar.lastc($pop633), $pop58 + i32.const $push632=, 8 + i32.add $push3=, $2, $pop632 + i32.store $1=, 4($6), $pop3 + br_if 0, $0 # 0: down to label10 # BB#6: # %if.end3.i321 - i32.const $push49=, 4 - i32.add $push50=, $10, $pop49 - i32.load16_u $0=, 0($pop50):p2align=0 - i32.const $push496=, 0 - i32.const $push51=, 2 - i32.store $drop=, bar.lastn($pop496), $pop51 - i32.const $push495=, 0 - i32.const $push494=, 0 - i32.store $drop=, bar.lastc($pop495), $pop494 - i32.const $push52=, 255 - i32.and $push53=, $0, $pop52 - i32.const $push54=, 16 - i32.ne $push55=, $pop53, $pop54 - br_if 0, $pop55 # 0: down to label8 + i32.const $push59=, 4 + i32.add $push60=, $2, $pop59 + i32.load16_u $0=, 0($pop60):p2align=0 + i32.const $push636=, 0 + i32.const $push61=, 2 + i32.store $drop=, bar.lastn($pop636), $pop61 + i32.const $push635=, 0 + i32.const $push634=, 0 + i32.store $drop=, bar.lastc($pop635), $pop634 + i32.const $push62=, 255 + i32.and $push63=, $0, $pop62 + i32.const $push64=, 16 + i32.ne $push65=, $pop63, $pop64 + br_if 0, $pop65 # 0: down to label10 # BB#7: # %if.end3.i321.1 - i32.const $push497=, 0 - i32.const $push56=, 1 - i32.store $drop=, bar.lastc($pop497), $pop56 - i32.const $push57=, 65280 - i32.and $push58=, $0, $pop57 - i32.const $push59=, 4352 - i32.ne $push60=, $pop58, $pop59 - br_if 0, $pop60 # 0: down to label8 + i32.const $push637=, 0 + i32.const $push66=, 1 + i32.store $drop=, bar.lastc($pop637), $pop66 + i32.const $push67=, 65280 + i32.and $push68=, $0, $pop67 + i32.const $push69=, 4352 + i32.ne $push70=, $pop68, $pop69 + br_if 0, $pop70 # 0: down to label10 # BB#8: # %if.end3.i335 - i32.const $push62=, 12 - i32.add $push63=, $10, $pop62 - i32.store $drop=, 4($5), $pop63 - i32.const $push501=, 0 - i32.const $push61=, 2 - i32.store $push0=, bar.lastc($pop501), $pop61 - i32.add $push65=, $1, $pop0 - i32.load8_u $0=, 0($pop65) - i32.load16_u $push64=, 0($1):p2align=0 - i32.store16 $drop=, 344($5), $pop64 - i32.store8 $drop=, 346($5), $0 - i32.load8_u $0=, 344($5) - i32.const $push500=, 0 - i32.const $push66=, 3 - i32.store $drop=, bar.lastn($pop500), $pop66 - i32.const $push499=, 0 - i32.const $push498=, 0 - i32.store $drop=, bar.lastc($pop499), $pop498 - i32.const $push67=, 24 - i32.ne $push68=, $0, $pop67 - br_if 6, $pop68 # 6: down to label2 + i32.const $push71=, 12 + i32.add $push72=, $2, $pop71 + i32.store $drop=, 4($6), $pop72 + i32.load16_u $push73=, 0($1):p2align=0 + i32.store16 $drop=, 344($6), $pop73 + i32.const $push74=, 2 + i32.add $push75=, $1, $pop74 + i32.load8_u $push76=, 0($pop75) + i32.store8 $drop=, 346($6), $pop76 + i32.load8_u $0=, 344($6) + i32.const $push639=, 0 + i32.const $push638=, 0 + i32.store $push0=, bar.lastc($pop639), $pop638 + i32.const $push77=, 3 + i32.store $drop=, bar.lastn($pop0), $pop77 + i32.const $push78=, 24 + i32.ne $push79=, $0, $pop78 + br_if 8, $pop79 # 8: down to label2 # BB#9: # %if.end3.i335.1 - i32.load8_u $0=, 345($5) - i32.const $push502=, 0 - i32.const $push69=, 1 - i32.store $drop=, bar.lastc($pop502), $pop69 - i32.const $push70=, 25 - i32.ne $push71=, $0, $pop70 - br_if 6, $pop71 # 6: down to label2 + i32.const $push640=, 0 + i32.const $push80=, 1 + i32.store $drop=, bar.lastc($pop640), $pop80 + i32.load8_u $push82=, 345($6) + i32.const $push81=, 25 + i32.ne $push83=, $pop82, $pop81 + br_if 8, $pop83 # 8: down to label2 # BB#10: # %if.end3.i335.2 - i32.load8_u $0=, 346($5) - i32.const $push503=, 0 - i32.const $push72=, 2 - i32.store $drop=, bar.lastc($pop503), $pop72 - i32.const $push73=, 26 - i32.ne $push74=, $0, $pop73 - br_if 6, $pop74 # 6: down to label2 + i32.const $push641=, 0 + i32.const $push84=, 2 + i32.store $drop=, bar.lastc($pop641), $pop84 + i32.load8_u $push86=, 346($6) + i32.const $push85=, 26 + i32.ne $push87=, $pop86, $pop85 + br_if 8, $pop87 # 8: down to label2 # BB#11: # %if.end3.i349 - i32.const $push76=, 0 - i32.const $push75=, 3 - i32.store $drop=, bar.lastc($pop76), $pop75 - i32.const $push77=, 16 - i32.add $push14=, $10, $pop77 - i32.store $1=, 4($5), $pop14 - i32.const $push78=, 12 - i32.add $push79=, $10, $pop78 - i32.load $0=, 0($pop79):p2align=0 - i32.const $push506=, 0 - i32.const $push80=, 4 - i32.store $drop=, bar.lastn($pop506), $pop80 - i32.const $push505=, 0 - i32.const $push504=, 0 - i32.store $6=, bar.lastc($pop505), $pop504 - i32.const $push81=, 255 - i32.and $push82=, $0, $pop81 - i32.const $push83=, 32 - i32.ne $push84=, $pop82, $pop83 - br_if 5, $pop84 # 5: down to label3 + i32.const $push88=, 16 + i32.add $push4=, $2, $pop88 + i32.store $1=, 4($6), $pop4 + i32.const $push89=, 12 + i32.add $push90=, $2, $pop89 + i32.load $0=, 0($pop90):p2align=0 + i32.const $push92=, 0 + i32.const $push91=, 4 + i32.store $drop=, bar.lastn($pop92), $pop91 + i32.const $push643=, 0 + i32.const $push642=, 0 + i32.store $7=, bar.lastc($pop643), $pop642 + i32.const $push93=, 255 + i32.and $push94=, $0, $pop93 + i32.const $push95=, 32 + i32.ne $push96=, $pop94, $pop95 + br_if 7, $pop96 # 7: down to label3 # BB#12: # %if.end3.i349.1 - i32.const $push85=, 1 - i32.store $drop=, bar.lastc($6), $pop85 - i32.const $push86=, 65280 - i32.and $push87=, $0, $pop86 - i32.const $push88=, 8448 - i32.ne $push89=, $pop87, $pop88 - br_if 5, $pop89 # 5: down to label3 + i32.const $push97=, 1 + i32.store $drop=, bar.lastc($7), $pop97 + i32.const $push98=, 65280 + i32.and $push99=, $0, $pop98 + i32.const $push100=, 8448 + i32.ne $push101=, $pop99, $pop100 + br_if 7, $pop101 # 7: down to label3 # BB#13: # %if.end3.i349.2 - i32.const $push507=, 0 - i32.const $push90=, 2 - i32.store $drop=, bar.lastc($pop507), $pop90 - i32.const $push91=, 16711680 - i32.and $push92=, $0, $pop91 - i32.const $push93=, 2228224 - i32.ne $push94=, $pop92, $pop93 - br_if 5, $pop94 # 5: down to label3 + i32.const $push644=, 0 + i32.const $push102=, 2 + i32.store $drop=, bar.lastc($pop644), $pop102 + i32.const $push103=, 16711680 + i32.and $push104=, $0, $pop103 + i32.const $push105=, 2228224 + i32.ne $push106=, $pop104, $pop105 + br_if 7, $pop106 # 7: down to label3 # BB#14: # %if.end3.i349.3 - i32.const $push508=, 0 - i32.const $push95=, 3 - i32.store $drop=, bar.lastc($pop508), $pop95 - i32.const $push96=, -16777216 - i32.and $push97=, $0, $pop96 - i32.const $push98=, 587202560 - i32.ne $push99=, $pop97, $pop98 - br_if 5, $pop99 # 5: down to label3 + i32.const $push645=, 0 + i32.const $push107=, 3 + i32.store $drop=, bar.lastc($pop645), $pop107 + i32.const $push108=, -16777216 + i32.and $push109=, $0, $pop108 + i32.const $push110=, 587202560 + i32.ne $push111=, $pop109, $pop110 + br_if 7, $pop111 # 7: down to label3 # BB#15: # %if.end3.i363 - i32.const $push100=, 24 - i32.add $push15=, $10, $pop100 - i32.store $6=, 4($5), $pop15 - i32.const $push102=, 4 - i32.add $push103=, $1, $pop102 - i32.load8_u $0=, 0($pop103) - i32.load $push101=, 0($1):p2align=0 - i32.store $drop=, 336($5), $pop101 - i32.store8 $drop=, 340($5), $0 - i32.load8_u $0=, 336($5) - i32.const $push104=, 0 - i32.const $push105=, 5 - i32.store $drop=, bar.lastn($pop104), $pop105 - i32.const $push510=, 0 - i32.const $push509=, 0 - i32.store $1=, bar.lastc($pop510), $pop509 - i32.const $push106=, 40 - i32.ne $push107=, $0, $pop106 - br_if 4, $pop107 # 4: down to label4 + i32.const $push112=, 24 + i32.add $push5=, $2, $pop112 + i32.store $7=, 4($6), $pop5 + i32.load $push113=, 0($1):p2align=0 + i32.store $drop=, 336($6), $pop113 + i32.const $push114=, 4 + i32.add $push115=, $1, $pop114 + i32.load8_u $push116=, 0($pop115) + i32.store8 $drop=, 340($6), $pop116 + i32.load8_u $0=, 336($6) + i32.const $push117=, 0 + i32.const $push648=, 0 + i32.store $push647=, bar.lastc($pop117), $pop648 + tee_local $push646=, $1=, $pop647 + i32.const $push118=, 5 + i32.store $drop=, bar.lastn($pop646), $pop118 + i32.const $push119=, 40 + i32.ne $push120=, $0, $pop119 + br_if 6, $pop120 # 6: down to label4 # BB#16: # %if.end3.i363.1 - i32.load8_u $0=, 337($5) - i32.const $push108=, 1 - i32.store $drop=, bar.lastc($1), $pop108 - i32.const $push109=, 41 - i32.ne $push110=, $0, $pop109 - br_if 4, $pop110 # 4: down to label4 + i32.const $push121=, 1 + i32.store $drop=, bar.lastc($1), $pop121 + i32.load8_u $push123=, 337($6) + i32.const $push122=, 41 + i32.ne $push124=, $pop123, $pop122 + br_if 6, $pop124 # 6: down to label4 # BB#17: # %if.end3.i363.2 - i32.load8_u $0=, 338($5) - i32.const $push511=, 0 - i32.const $push111=, 2 - i32.store $drop=, bar.lastc($pop511), $pop111 - i32.const $push112=, 42 - i32.ne $push113=, $0, $pop112 - br_if 4, $pop113 # 4: down to label4 + i32.const $push649=, 0 + i32.const $push125=, 2 + i32.store $drop=, bar.lastc($pop649), $pop125 + i32.load8_u $push127=, 338($6) + i32.const $push126=, 42 + i32.ne $push128=, $pop127, $pop126 + br_if 6, $pop128 # 6: down to label4 # BB#18: # %if.end3.i363.3 - i32.load8_u $0=, 339($5) - i32.const $push512=, 0 - i32.const $push114=, 3 - i32.store $drop=, bar.lastc($pop512), $pop114 - i32.const $push115=, 43 - i32.ne $push116=, $0, $pop115 - br_if 4, $pop116 # 4: down to label4 + i32.const $push650=, 0 + i32.const $push129=, 3 + i32.store $drop=, bar.lastc($pop650), $pop129 + i32.load8_u $push131=, 339($6) + i32.const $push130=, 43 + i32.ne $push132=, $pop131, $pop130 + br_if 6, $pop132 # 6: down to label4 # BB#19: # %if.end3.i363.4 - i32.load8_u $0=, 340($5) - i32.const $push513=, 0 - i32.const $push117=, 4 - i32.store $1=, bar.lastc($pop513), $pop117 - i32.const $push118=, 44 - i32.ne $push119=, $0, $pop118 - br_if 4, $pop119 # 4: down to label4 + i32.const $push651=, 0 + i32.const $push133=, 4 + i32.store $1=, bar.lastc($pop651), $pop133 + i32.load8_u $push135=, 340($6) + i32.const $push134=, 44 + i32.ne $push136=, $pop135, $pop134 + br_if 6, $pop136 # 6: down to label4 # BB#20: # %if.end3.i377 - i32.const $push120=, 32 - i32.add $push16=, $10, $pop120 - i32.store $0=, 4($5), $pop16 - i32.add $push122=, $6, $1 - i32.load16_u $1=, 0($pop122):p2align=0 - i32.load $push121=, 0($6):p2align=0 - i32.store $drop=, 328($5), $pop121 - i32.store16 $drop=, 332($5), $1 - i32.load8_u $1=, 328($5) - i32.const $push516=, 0 - i32.const $push123=, 6 - i32.store $drop=, bar.lastn($pop516), $pop123 - i32.const $push515=, 0 - i32.const $push514=, 0 - i32.store $drop=, bar.lastc($pop515), $pop514 - i32.const $push124=, 48 - i32.ne $push125=, $1, $pop124 - br_if 3, $pop125 # 3: down to label5 + i32.const $push137=, 32 + i32.add $push6=, $2, $pop137 + i32.store $0=, 4($6), $pop6 + i32.load $push138=, 0($7):p2align=0 + i32.store $drop=, 328($6), $pop138 + i32.add $push139=, $7, $1 + i32.load16_u $push140=, 0($pop139):p2align=0 + i32.store16 $drop=, 332($6), $pop140 + i32.load8_u $1=, 328($6) + i32.const $push653=, 0 + i32.const $push652=, 0 + i32.store $push1=, bar.lastc($pop653), $pop652 + i32.const $push141=, 6 + i32.store $drop=, bar.lastn($pop1), $pop141 + i32.const $push142=, 48 + i32.ne $push143=, $1, $pop142 + br_if 5, $pop143 # 5: down to label5 # BB#21: # %if.end3.i377.1 - i32.load8_u $1=, 329($5) - i32.const $push517=, 0 - i32.const $push126=, 1 - i32.store $drop=, bar.lastc($pop517), $pop126 - i32.const $push127=, 49 - i32.ne $push128=, $1, $pop127 - br_if 3, $pop128 # 3: down to label5 + i32.const $push654=, 0 + i32.const $push144=, 1 + i32.store $drop=, bar.lastc($pop654), $pop144 + i32.load8_u $push146=, 329($6) + i32.const $push145=, 49 + i32.ne $push147=, $pop146, $pop145 + br_if 5, $pop147 # 5: down to label5 # BB#22: # %if.end3.i377.2 - i32.load8_u $1=, 330($5) - i32.const $push518=, 0 - i32.const $push129=, 2 - i32.store $drop=, bar.lastc($pop518), $pop129 - i32.const $push130=, 50 - i32.ne $push131=, $1, $pop130 - br_if 3, $pop131 # 3: down to label5 + i32.const $push655=, 0 + i32.const $push148=, 2 + i32.store $drop=, bar.lastc($pop655), $pop148 + i32.load8_u $push150=, 330($6) + i32.const $push149=, 50 + i32.ne $push151=, $pop150, $pop149 + br_if 5, $pop151 # 5: down to label5 # BB#23: # %if.end3.i377.3 - i32.load8_u $1=, 331($5) - i32.const $push519=, 0 - i32.const $push132=, 3 - i32.store $drop=, bar.lastc($pop519), $pop132 - i32.const $push133=, 51 - i32.ne $push134=, $1, $pop133 - br_if 3, $pop134 # 3: down to label5 + i32.const $push656=, 0 + i32.const $push152=, 3 + i32.store $drop=, bar.lastc($pop656), $pop152 + i32.load8_u $push154=, 331($6) + i32.const $push153=, 51 + i32.ne $push155=, $pop154, $pop153 + br_if 5, $pop155 # 5: down to label5 # BB#24: # %if.end3.i377.4 - i32.load8_u $1=, 332($5) - i32.const $push520=, 0 - i32.const $push135=, 4 - i32.store $drop=, bar.lastc($pop520), $pop135 - i32.const $push136=, 52 - i32.ne $push137=, $1, $pop136 - br_if 3, $pop137 # 3: down to label5 + i32.const $push657=, 0 + i32.const $push156=, 4 + i32.store $drop=, bar.lastc($pop657), $pop156 + i32.load8_u $push158=, 332($6) + i32.const $push157=, 52 + i32.ne $push159=, $pop158, $pop157 + br_if 5, $pop159 # 5: down to label5 # BB#25: # %if.end3.i377.5 - i32.load8_u $1=, 333($5) - i32.const $push521=, 0 - i32.const $push138=, 5 - i32.store $drop=, bar.lastc($pop521), $pop138 - i32.const $push139=, 53 - i32.ne $push140=, $1, $pop139 - br_if 3, $pop140 # 3: down to label5 + i32.const $push658=, 0 + i32.const $push160=, 5 + i32.store $drop=, bar.lastc($pop658), $pop160 + i32.load8_u $push162=, 333($6) + i32.const $push161=, 53 + i32.ne $push163=, $pop162, $pop161 + br_if 5, $pop163 # 5: down to label5 # BB#26: # %if.end3.i391 - i32.const $push141=, 40 - i32.add $push142=, $10, $pop141 - i32.store $drop=, 4($5), $pop142 - i32.const $push144=, 6 - i32.add $push145=, $0, $pop144 - i32.load8_u $1=, 0($pop145) - i32.const $push146=, 4 - i32.add $push147=, $0, $pop146 - i32.load16_u $6=, 0($pop147):p2align=0 - i32.load $push143=, 0($0):p2align=0 - i32.store $drop=, 320($5), $pop143 - i32.store8 $drop=, 326($5), $1 - i32.store16 $drop=, 324($5), $6 - i32.load8_u $0=, 320($5) - i32.const $push524=, 0 - i32.const $push148=, 7 - i32.store $drop=, bar.lastn($pop524), $pop148 - i32.const $push523=, 0 - i32.const $push522=, 0 - i32.store $drop=, bar.lastc($pop523), $pop522 - i32.const $push149=, 56 - i32.ne $push150=, $0, $pop149 - br_if 2, $pop150 # 2: down to label6 + i32.const $push164=, 40 + i32.add $push165=, $2, $pop164 + i32.store $drop=, 4($6), $pop165 + i32.load $push166=, 0($0):p2align=0 + i32.store $drop=, 320($6), $pop166 + i32.const $push167=, 6 + i32.add $push168=, $0, $pop167 + i32.load8_u $push169=, 0($pop168) + i32.store8 $drop=, 326($6), $pop169 + i32.const $push170=, 4 + i32.add $push171=, $0, $pop170 + i32.load16_u $push172=, 0($pop171):p2align=0 + i32.store16 $drop=, 324($6), $pop172 + i32.load8_u $0=, 320($6) + i32.const $push660=, 0 + i32.const $push659=, 0 + i32.store $push2=, bar.lastc($pop660), $pop659 + i32.const $push173=, 7 + i32.store $drop=, bar.lastn($pop2), $pop173 + i32.const $push174=, 56 + i32.ne $push175=, $0, $pop174 + br_if 4, $pop175 # 4: down to label6 # BB#27: # %if.end3.i391.1 - i32.load8_u $0=, 321($5) - i32.const $push525=, 0 - i32.const $push151=, 1 - i32.store $drop=, bar.lastc($pop525), $pop151 - i32.const $push152=, 57 - i32.ne $push153=, $0, $pop152 - br_if 2, $pop153 # 2: down to label6 + i32.const $push661=, 0 + i32.const $push176=, 1 + i32.store $drop=, bar.lastc($pop661), $pop176 + i32.load8_u $push178=, 321($6) + i32.const $push177=, 57 + i32.ne $push179=, $pop178, $pop177 + br_if 4, $pop179 # 4: down to label6 # BB#28: # %if.end3.i391.2 - i32.load8_u $0=, 322($5) - i32.const $push526=, 0 - i32.const $push154=, 2 - i32.store $drop=, bar.lastc($pop526), $pop154 - i32.const $push155=, 58 - i32.ne $push156=, $0, $pop155 - br_if 2, $pop156 # 2: down to label6 + i32.const $push662=, 0 + i32.const $push180=, 2 + i32.store $drop=, bar.lastc($pop662), $pop180 + i32.load8_u $push182=, 322($6) + i32.const $push181=, 58 + i32.ne $push183=, $pop182, $pop181 + br_if 4, $pop183 # 4: down to label6 # BB#29: # %if.end3.i391.3 - i32.load8_u $0=, 323($5) - i32.const $push527=, 0 - i32.const $push157=, 3 - i32.store $drop=, bar.lastc($pop527), $pop157 - i32.const $push158=, 59 - i32.ne $push159=, $0, $pop158 - br_if 2, $pop159 # 2: down to label6 + i32.const $push663=, 0 + i32.const $push184=, 3 + i32.store $drop=, bar.lastc($pop663), $pop184 + i32.load8_u $push186=, 323($6) + i32.const $push185=, 59 + i32.ne $push187=, $pop186, $pop185 + br_if 4, $pop187 # 4: down to label6 # BB#30: # %if.end3.i391.4 - i32.load8_u $0=, 324($5) - i32.const $push528=, 0 - i32.const $push160=, 4 - i32.store $drop=, bar.lastc($pop528), $pop160 - i32.const $push161=, 60 - i32.ne $push162=, $0, $pop161 - br_if 2, $pop162 # 2: down to label6 + i32.const $push664=, 0 + i32.const $push188=, 4 + i32.store $drop=, bar.lastc($pop664), $pop188 + i32.load8_u $push190=, 324($6) + i32.const $push189=, 60 + i32.ne $push191=, $pop190, $pop189 + br_if 4, $pop191 # 4: down to label6 # BB#31: # %if.end3.i391.5 - i32.load8_u $0=, 325($5) - i32.const $push529=, 0 - i32.const $push163=, 5 - i32.store $drop=, bar.lastc($pop529), $pop163 - i32.const $push164=, 61 - i32.ne $push165=, $0, $pop164 - br_if 2, $pop165 # 2: down to label6 + i32.const $push665=, 0 + i32.const $push192=, 5 + i32.store $drop=, bar.lastc($pop665), $pop192 + i32.load8_u $push194=, 325($6) + i32.const $push193=, 61 + i32.ne $push195=, $pop194, $pop193 + br_if 4, $pop195 # 4: down to label6 # BB#32: # %if.end3.i391.6 - i32.load8_u $0=, 326($5) - i32.const $push530=, 0 - i32.const $push166=, 6 - i32.store $drop=, bar.lastc($pop530), $pop166 - i32.const $push167=, 62 - i32.ne $push168=, $0, $pop167 - br_if 2, $pop168 # 2: down to label6 + i32.const $push666=, 0 + i32.const $push196=, 6 + i32.store $drop=, bar.lastc($pop666), $pop196 + i32.load8_u $push198=, 326($6) + i32.const $push197=, 62 + i32.ne $push199=, $pop198, $pop197 + br_if 4, $pop199 # 4: down to label6 # BB#33: # %if.end3.i405 - i32.const $push172=, 40 - i32.add $push173=, $10, $pop172 - i64.load $8=, 0($pop173):p2align=0 - i32.const $push170=, 0 - i32.const $push169=, 7 - i32.store $drop=, bar.lastc($pop170), $pop169 - i64.store $drop=, 312($5), $8 - i32.load8_s $0=, 312($5) - i32.const $push533=, 0 - i32.const $push174=, 8 - i32.store $drop=, bar.lastn($pop533), $pop174 - i32.const $push171=, 48 - i32.add $push17=, $10, $pop171 - i32.store $6=, 4($5), $pop17 - i32.const $push532=, 0 - i32.const $push531=, 0 - i32.store $1=, bar.lastc($pop532), $pop531 - i32.const $push175=, 64 - i32.ne $push176=, $0, $pop175 - br_if 1, $pop176 # 1: down to label7 + i32.const $push201=, 0 + i32.const $push200=, 7 + i32.store $drop=, bar.lastc($pop201), $pop200 + i32.const $push669=, 0 + i32.const $push202=, 8 + i32.store $drop=, bar.lastn($pop669), $pop202 + i32.const $push203=, 48 + i32.add $push7=, $2, $pop203 + i32.store $0=, 4($6), $pop7 + i32.const $push204=, 40 + i32.add $push205=, $2, $pop204 + i64.load $push206=, 0($pop205):p2align=0 + i64.store $drop=, 312($6), $pop206 + i32.const $push668=, 0 + i32.const $push667=, 0 + i32.store $1=, bar.lastc($pop668), $pop667 + i32.load8_s $push208=, 312($6) + i32.const $push207=, 64 + i32.ne $push209=, $pop208, $pop207 + br_if 3, $pop209 # 3: down to label7 # BB#34: # %if.end3.i405.1 - i32.load8_s $9=, 313($5) - i32.const $push28=, 1 - i32.store $0=, bar.lastc($1), $pop28 - i32.const $push177=, 65 - i32.ne $push178=, $9, $pop177 - br_if 1, $pop178 # 1: down to label7 + i32.const $push36=, 1 + i32.store $1=, bar.lastc($1), $pop36 + i32.load8_s $push211=, 313($6) + i32.const $push210=, 65 + i32.ne $push212=, $pop211, $pop210 + br_if 3, $pop212 # 3: down to label7 # BB#35: # %if.end3.i405.2 - i32.load8_s $1=, 314($5) - i32.const $push537=, 0 - i32.add $push536=, $0, $0 - tee_local $push535=, $0=, $pop536 - i32.store $9=, bar.lastc($pop537), $pop535 - i32.const $push534=, 64 - i32.or $push179=, $0, $pop534 - i32.ne $push180=, $1, $pop179 - br_if 1, $pop180 # 1: down to label7 + i32.const $push673=, 0 + i32.add $push37=, $1, $1 + i32.store $push672=, bar.lastc($pop673), $pop37 + tee_local $push671=, $1=, $pop672 + i32.const $push670=, 64 + i32.or $push213=, $pop671, $pop670 + i32.load8_s $push214=, 314($6) + i32.ne $push215=, $pop213, $pop214 + br_if 3, $pop215 # 3: down to label7 # BB#36: # %if.end3.i405.3 - i32.const $push544=, 0 - i32.const $push543=, 1 - i32.add $push29=, $9, $pop543 - i32.store $push542=, bar.lastc($pop544), $pop29 - tee_local $push541=, $0=, $pop542 - i32.const $push540=, 24 - i32.shl $push182=, $pop541, $pop540 - i32.const $push539=, 24 - i32.shr_s $push183=, $pop182, $pop539 - i32.const $push538=, 64 - i32.xor $push184=, $pop183, $pop538 - i32.load8_s $push181=, 315($5) - i32.ne $push185=, $pop184, $pop181 - br_if 1, $pop185 # 1: down to label7 + i32.const $push680=, 0 + i32.const $push679=, 1 + i32.add $push38=, $1, $pop679 + i32.store $push678=, bar.lastc($pop680), $pop38 + tee_local $push677=, $1=, $pop678 + i32.const $push676=, 24 + i32.shl $push216=, $pop677, $pop676 + i32.const $push675=, 24 + i32.shr_s $push217=, $pop216, $pop675 + i32.const $push674=, 64 + i32.xor $push218=, $pop217, $pop674 + i32.load8_s $push219=, 315($6) + i32.ne $push220=, $pop218, $pop219 + br_if 3, $pop220 # 3: down to label7 # BB#37: # %if.end3.i405.4 - i32.load8_s $1=, 316($5) - i32.const $push551=, 0 - i32.const $push550=, 1 - i32.add $push549=, $0, $pop550 - tee_local $push548=, $0=, $pop549 - i32.store $9=, bar.lastc($pop551), $pop548 - i32.const $push547=, 24 - i32.shl $push186=, $0, $pop547 - i32.const $push546=, 24 - i32.shr_s $push187=, $pop186, $pop546 - i32.const $push545=, 64 - i32.xor $push188=, $pop187, $pop545 - i32.ne $push189=, $1, $pop188 - br_if 1, $pop189 # 1: down to label7 + i32.const $push687=, 0 + i32.const $push686=, 1 + i32.add $push39=, $1, $pop686 + i32.store $push685=, bar.lastc($pop687), $pop39 + tee_local $push684=, $1=, $pop685 + i32.const $push683=, 24 + i32.shl $push221=, $pop684, $pop683 + i32.const $push682=, 24 + i32.shr_s $push222=, $pop221, $pop682 + i32.const $push681=, 64 + i32.xor $push223=, $pop222, $pop681 + i32.load8_s $push224=, 316($6) + i32.ne $push225=, $pop223, $pop224 + br_if 3, $pop225 # 3: down to label7 # BB#38: # %if.end3.i405.5 - i32.const $push558=, 0 - i32.const $push557=, 1 - i32.add $push30=, $9, $pop557 - i32.store $push556=, bar.lastc($pop558), $pop30 - tee_local $push555=, $0=, $pop556 - i32.const $push554=, 24 - i32.shl $push191=, $pop555, $pop554 - i32.const $push553=, 24 - i32.shr_s $push192=, $pop191, $pop553 - i32.const $push552=, 64 - i32.xor $push193=, $pop192, $pop552 - i32.load8_s $push190=, 317($5) - i32.ne $push194=, $pop193, $pop190 - br_if 1, $pop194 # 1: down to label7 + i32.const $push694=, 0 + i32.const $push693=, 1 + i32.add $push40=, $1, $pop693 + i32.store $push692=, bar.lastc($pop694), $pop40 + tee_local $push691=, $1=, $pop692 + i32.const $push690=, 24 + i32.shl $push226=, $pop691, $pop690 + i32.const $push689=, 24 + i32.shr_s $push227=, $pop226, $pop689 + i32.const $push688=, 64 + i32.xor $push228=, $pop227, $pop688 + i32.load8_s $push229=, 317($6) + i32.ne $push230=, $pop228, $pop229 + br_if 3, $pop230 # 3: down to label7 # BB#39: # %if.end3.i405.6 - i32.load8_s $1=, 318($5) - i32.const $push565=, 0 - i32.const $push564=, 1 - i32.add $push563=, $0, $pop564 - tee_local $push562=, $0=, $pop563 - i32.store $9=, bar.lastc($pop565), $pop562 - i32.const $push561=, 24 - i32.shl $push195=, $0, $pop561 - i32.const $push560=, 24 - i32.shr_s $push196=, $pop195, $pop560 - i32.const $push559=, 64 - i32.xor $push197=, $pop196, $pop559 - i32.ne $push198=, $1, $pop197 - br_if 1, $pop198 # 1: down to label7 + i32.const $push701=, 0 + i32.const $push700=, 1 + i32.add $push41=, $1, $pop700 + i32.store $push699=, bar.lastc($pop701), $pop41 + tee_local $push698=, $1=, $pop699 + i32.const $push697=, 24 + i32.shl $push231=, $pop698, $pop697 + i32.const $push696=, 24 + i32.shr_s $push232=, $pop231, $pop696 + i32.const $push695=, 64 + i32.xor $push233=, $pop232, $pop695 + i32.load8_s $push234=, 318($6) + i32.ne $push235=, $pop233, $pop234 + br_if 3, $pop235 # 3: down to label7 # BB#40: # %if.end3.i405.7 - i32.const $push572=, 0 - i32.const $push571=, 1 - i32.add $push31=, $9, $pop571 - i32.store $push570=, bar.lastc($pop572), $pop31 - tee_local $push569=, $0=, $pop570 - i32.const $push568=, 24 - i32.shl $push200=, $pop569, $pop568 - i32.const $push567=, 24 - i32.shr_s $push201=, $pop200, $pop567 - i32.const $push566=, 64 - i32.xor $push202=, $pop201, $pop566 - i32.load8_s $push199=, 319($5) - i32.ne $push203=, $pop202, $pop199 - br_if 1, $pop203 # 1: down to label7 -# BB#41: # %bar.exit408.7 - i32.const $push578=, 0 - i32.const $push577=, 1 - i32.add $push576=, $0, $pop577 - tee_local $push575=, $0=, $pop576 - i32.store $drop=, bar.lastc($pop578), $pop575 - i32.const $push204=, 60 - i32.add $push32=, $10, $pop204 - i32.store $2=, 4($5), $pop32 + i32.const $push707=, 0 + i32.const $push706=, 1 + i32.add $push42=, $1, $pop706 + i32.store $push705=, bar.lastc($pop707), $pop42 + tee_local $push704=, $1=, $pop705 + i32.const $push236=, 24 + i32.shl $push237=, $pop704, $pop236 + i32.const $push703=, 24 + i32.shr_s $push238=, $pop237, $pop703 + i32.const $push702=, 64 + i32.xor $push239=, $pop238, $pop702 + i32.load8_s $push240=, 319($6) + i32.ne $push241=, $pop239, $pop240 + br_if 3, $pop241 # 3: down to label7 +# BB#41: # %for.body104 + i32.const $push242=, 0 + i32.const $push713=, 1 + i32.add $push712=, $1, $pop713 + tee_local $push711=, $7=, $pop712 + i32.store $8=, bar.lastc($pop242), $pop711 i32.const $1=, 8 - i32.const $push208=, 4 - i32.add $push209=, $6, $pop208 - i32.load $9=, 0($pop209):p2align=0 - i32.load $7=, 0($6):p2align=0 - i32.const $push411=, 296 - i32.add $push412=, $5, $pop411 - i32.const $push574=, 8 - i32.add $push207=, $pop412, $pop574 - i32.const $push573=, 8 - i32.add $push205=, $6, $pop573 - i32.load8_u $push206=, 0($pop205) - i32.store8 $drop=, 0($pop207), $pop206 - i32.store $drop=, 300($5), $9 - i32.store $drop=, 296($5), $7 - i32.const $9=, 8 - i32.const $6=, 0 -.LBB1_42: # %for.body104 - # =>This Inner Loop Header: Depth=1 - loop # label10: - i32.const $push413=, 296 - i32.add $push414=, $5, $pop413 - i32.add $push210=, $pop414, $6 - i32.load8_s $7=, 0($pop210) + i32.const $push555=, 296 + i32.add $push556=, $6, $pop555 + i32.const $push710=, 8 + i32.add $push245=, $pop556, $pop710 + i32.const $push709=, 8 + i32.add $push243=, $0, $pop709 + i32.load8_u $push244=, 0($pop243) + i32.store8 $drop=, 0($pop245), $pop244 + i32.const $push246=, 60 + i32.add $push8=, $2, $pop246 + i32.store $9=, 4($6), $pop8 + i32.load $push247=, 0($0):p2align=0 + i32.store $drop=, 296($6), $pop247 + i32.const $push248=, 4 + i32.add $push249=, $0, $pop248 + i32.load $push250=, 0($pop249):p2align=0 + i32.store $drop=, 300($6), $pop250 + i32.load8_s $0=, 296($6) block - i32.const $push579=, 9 - i32.eq $push211=, $9, $pop579 - br_if 0, $pop211 # 0: down to label12 -# BB#43: # %if.then.i412 - # in Loop: Header=BB1_42 Depth=1 - i32.ne $push212=, $0, $9 - br_if 3, $pop212 # 3: down to label8 -# BB#44: # %if.end.i414 - # in Loop: Header=BB1_42 Depth=1 - i32.const $0=, 0 + i32.const $push708=, 0 + br_if 0, $pop708 # 0: down to label12 +# BB#42: # %if.then.i412 + i32.const $push251=, 8 + i32.ne $push252=, $8, $pop251 + br_if 1, $pop252 # 1: down to label10 +# BB#43: # %if.end.i414 i32.const $1=, 9 - i32.const $push582=, 0 - i32.const $push581=, 0 - i32.store $push1=, bar.lastc($pop582), $pop581 - i32.const $push580=, 9 - i32.store $drop=, bar.lastn($pop1), $pop580 -.LBB1_45: # %if.end3.i419 - # in Loop: Header=BB1_42 Depth=1 + i32.const $7=, 0 + i32.const $push717=, 0 + i32.const $push716=, 9 + i32.store $drop=, bar.lastn($pop717), $pop716 + i32.const $push715=, 0 + i32.const $push714=, 0 + i32.store $drop=, bar.lastc($pop715), $pop714 +.LBB1_44: # %if.end3.i419 end_block # label12: - i32.const $push585=, 24 - i32.shl $push213=, $0, $pop585 - i32.const $push584=, 24 - i32.shr_s $push214=, $pop213, $pop584 - i32.const $push583=, 72 - i32.xor $push215=, $pop214, $pop583 - i32.ne $push216=, $pop215, $7 - br_if 2, $pop216 # 2: down to label8 -# BB#46: # %bar.exit422 - # in Loop: Header=BB1_42 Depth=1 - i32.const $push589=, 1 - i32.add $0=, $0, $pop589 - i32.const $push588=, 0 - i32.store $drop=, bar.lastc($pop588), $0 - i32.const $push587=, 1 - i32.add $6=, $6, $pop587 - i32.const $9=, 9 - i32.const $push586=, 9 - i32.lt_s $push217=, $6, $pop586 - br_if 0, $pop217 # 0: up to label10 -# BB#47: # %for.end110 - end_loop # label11: - i32.const $push218=, 72 - i32.add $push18=, $10, $pop218 - i32.store $4=, 4($5), $pop18 - i32.const $push223=, 4 - i32.add $push224=, $2, $pop223 - i32.load $6=, 0($pop224):p2align=0 - i32.load $9=, 0($2):p2align=0 - i32.const $push415=, 280 - i32.add $push416=, $5, $pop415 - i32.const $push219=, 8 - i32.add $push222=, $pop416, $pop219 - i32.const $push590=, 8 - i32.add $push220=, $2, $pop590 - i32.load16_u $push221=, 0($pop220):p2align=0 - i32.store16 $drop=, 0($pop222), $pop221 - i32.store $drop=, 284($5), $6 - i32.store $drop=, 280($5), $9 - copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_48: # %for.body116 - # =>This Inner Loop Header: Depth=1 - loop # label13: - i32.const $push417=, 280 - i32.add $push418=, $5, $pop417 - i32.add $push225=, $pop418, $6 - i32.load8_s $7=, 0($pop225) + i32.const $push720=, 24 + i32.shl $push253=, $7, $pop720 + i32.const $push719=, 24 + i32.shr_s $push254=, $pop253, $pop719 + i32.const $push718=, 72 + i32.xor $push255=, $pop254, $pop718 + i32.ne $push256=, $pop255, $0 + br_if 2, $pop256 # 2: down to label8 +# BB#45: # %if.end3.i419.1 + i32.const $push727=, 0 + i32.const $push726=, 1 + i32.add $push28=, $7, $pop726 + i32.store $push725=, bar.lastc($pop727), $pop28 + tee_local $push724=, $0=, $pop725 + i32.const $push723=, 24 + i32.shl $push257=, $pop724, $pop723 + i32.const $push722=, 24 + i32.shr_s $push258=, $pop257, $pop722 + i32.const $push721=, 72 + i32.xor $push259=, $pop258, $pop721 + i32.load8_s $push260=, 297($6) + i32.ne $push261=, $pop259, $pop260 + br_if 2, $pop261 # 2: down to label8 +# BB#46: # %if.end3.i419.2 + i32.const $push734=, 0 + i32.const $push733=, 1 + i32.add $push29=, $0, $pop733 + i32.store $push732=, bar.lastc($pop734), $pop29 + tee_local $push731=, $0=, $pop732 + i32.const $push730=, 24 + i32.shl $push262=, $pop731, $pop730 + i32.const $push729=, 24 + i32.shr_s $push263=, $pop262, $pop729 + i32.const $push728=, 72 + i32.xor $push264=, $pop263, $pop728 + i32.load8_s $push265=, 298($6) + i32.ne $push266=, $pop264, $pop265 + br_if 2, $pop266 # 2: down to label8 +# BB#47: # %if.end3.i419.3 + i32.const $push741=, 0 + i32.const $push740=, 1 + i32.add $push30=, $0, $pop740 + i32.store $push739=, bar.lastc($pop741), $pop30 + tee_local $push738=, $0=, $pop739 + i32.const $push737=, 24 + i32.shl $push267=, $pop738, $pop737 + i32.const $push736=, 24 + i32.shr_s $push268=, $pop267, $pop736 + i32.const $push735=, 72 + i32.xor $push269=, $pop268, $pop735 + i32.load8_s $push270=, 299($6) + i32.ne $push271=, $pop269, $pop270 + br_if 2, $pop271 # 2: down to label8 +# BB#48: # %if.end3.i419.4 + i32.const $push748=, 0 + i32.const $push747=, 1 + i32.add $push31=, $0, $pop747 + i32.store $push746=, bar.lastc($pop748), $pop31 + tee_local $push745=, $0=, $pop746 + i32.const $push744=, 24 + i32.shl $push272=, $pop745, $pop744 + i32.const $push743=, 24 + i32.shr_s $push273=, $pop272, $pop743 + i32.const $push742=, 72 + i32.xor $push274=, $pop273, $pop742 + i32.load8_s $push275=, 300($6) + i32.ne $push276=, $pop274, $pop275 + br_if 2, $pop276 # 2: down to label8 +# BB#49: # %if.end3.i419.5 + i32.const $push755=, 0 + i32.const $push754=, 1 + i32.add $push32=, $0, $pop754 + i32.store $push753=, bar.lastc($pop755), $pop32 + tee_local $push752=, $0=, $pop753 + i32.const $push751=, 24 + i32.shl $push277=, $pop752, $pop751 + i32.const $push750=, 24 + i32.shr_s $push278=, $pop277, $pop750 + i32.const $push749=, 72 + i32.xor $push279=, $pop278, $pop749 + i32.load8_s $push280=, 301($6) + i32.ne $push281=, $pop279, $pop280 + br_if 2, $pop281 # 2: down to label8 +# BB#50: # %if.end3.i419.6 + i32.const $push762=, 0 + i32.const $push761=, 1 + i32.add $push33=, $0, $pop761 + i32.store $push760=, bar.lastc($pop762), $pop33 + tee_local $push759=, $0=, $pop760 + i32.const $push758=, 24 + i32.shl $push282=, $pop759, $pop758 + i32.const $push757=, 24 + i32.shr_s $push283=, $pop282, $pop757 + i32.const $push756=, 72 + i32.xor $push284=, $pop283, $pop756 + i32.load8_s $push285=, 302($6) + i32.ne $push286=, $pop284, $pop285 + br_if 2, $pop286 # 2: down to label8 +# BB#51: # %if.end3.i419.7 + i32.const $push769=, 0 + i32.const $push768=, 1 + i32.add $push34=, $0, $pop768 + i32.store $push767=, bar.lastc($pop769), $pop34 + tee_local $push766=, $0=, $pop767 + i32.const $push765=, 24 + i32.shl $push287=, $pop766, $pop765 + i32.const $push764=, 24 + i32.shr_s $push288=, $pop287, $pop764 + i32.const $push763=, 72 + i32.xor $push289=, $pop288, $pop763 + i32.load8_s $push290=, 303($6) + i32.ne $push291=, $pop289, $pop290 + br_if 2, $pop291 # 2: down to label8 +# BB#52: # %if.end3.i419.8 + i32.const $push775=, 0 + i32.const $push774=, 1 + i32.add $push35=, $0, $pop774 + i32.store $push773=, bar.lastc($pop775), $pop35 + tee_local $push772=, $0=, $pop773 + i32.const $push292=, 24 + i32.shl $push293=, $pop772, $pop292 + i32.const $push771=, 24 + i32.shr_s $push294=, $pop293, $pop771 + i32.const $push770=, 72 + i32.xor $push295=, $pop294, $pop770 + i32.load8_s $push296=, 304($6) + i32.ne $push297=, $pop295, $pop296 + br_if 2, $pop297 # 2: down to label8 +# BB#53: # %for.body116 + i32.const $push299=, 0 + i32.const $push298=, 1 + i32.add $push779=, $0, $pop298 + tee_local $push778=, $0=, $pop779 + i32.store $8=, bar.lastc($pop299), $pop778 + i32.const $push557=, 280 + i32.add $push558=, $6, $pop557 + i32.const $push300=, 8 + i32.add $push303=, $pop558, $pop300 + i32.const $push777=, 8 + i32.add $push301=, $9, $pop777 + i32.load16_u $push302=, 0($pop301):p2align=0 + i32.store16 $drop=, 0($pop303), $pop302 + i32.const $push776=, 72 + i32.add $push9=, $2, $pop776 + i32.store $7=, 4($6), $pop9 + i32.load $push304=, 0($9):p2align=0 + i32.store $drop=, 280($6), $pop304 + i32.const $push305=, 4 + i32.add $push306=, $9, $pop305 + i32.load $push307=, 0($pop306):p2align=0 + i32.store $drop=, 284($6), $pop307 + i32.load8_s $9=, 280($6) block - i32.const $push591=, 10 - i32.eq $push226=, $9, $pop591 - br_if 0, $pop226 # 0: down to label15 -# BB#49: # %if.then.i426 - # in Loop: Header=BB1_48 Depth=1 - i32.ne $push227=, $0, $9 - br_if 3, $pop227 # 3: down to label8 -# BB#50: # %if.end.i428 - # in Loop: Header=BB1_48 Depth=1 - i32.const $0=, 0 + i32.const $push308=, 10 + i32.eq $push309=, $1, $pop308 + br_if 0, $pop309 # 0: down to label13 +# BB#54: # %if.then.i426 + i32.ne $push310=, $8, $1 + br_if 1, $pop310 # 1: down to label10 +# BB#55: # %if.end.i428 i32.const $1=, 10 - i32.const $push594=, 0 - i32.const $push593=, 0 - i32.store $push2=, bar.lastc($pop594), $pop593 - i32.const $push592=, 10 - i32.store $drop=, bar.lastn($pop2), $pop592 -.LBB1_51: # %if.end3.i433 - # in Loop: Header=BB1_48 Depth=1 - end_block # label15: - i32.const $push597=, 24 - i32.shl $push228=, $0, $pop597 - i32.const $push596=, 24 - i32.shr_s $push229=, $pop228, $pop596 - i32.const $push595=, 80 - i32.xor $push230=, $pop229, $pop595 - i32.ne $push231=, $pop230, $7 - br_if 2, $pop231 # 2: down to label8 -# BB#52: # %bar.exit436 - # in Loop: Header=BB1_48 Depth=1 - i32.const $push601=, 1 - i32.add $0=, $0, $pop601 - i32.const $push600=, 0 - i32.store $drop=, bar.lastc($pop600), $0 - i32.const $push599=, 1 - i32.add $6=, $6, $pop599 - i32.const $9=, 10 - i32.const $push598=, 10 - i32.lt_s $push232=, $6, $pop598 - br_if 0, $pop232 # 0: up to label13 -# BB#53: # %for.end122 - end_loop # label14: - i32.const $push419=, 264 - i32.add $push420=, $5, $pop419 - i32.const $push234=, 10 - i32.add $push237=, $pop420, $pop234 - i32.const $push603=, 10 - i32.add $push235=, $4, $pop603 - i32.load8_u $push236=, 0($pop235) - i32.store8 $drop=, 0($pop237), $pop236 - i32.const $push233=, 84 - i32.add $push19=, $10, $pop233 - i32.store $2=, 4($5), $pop19 - i32.const $push242=, 4 - i32.add $push243=, $4, $pop242 - i32.load $6=, 0($pop243):p2align=0 - i32.load $9=, 0($4):p2align=0 - i32.const $push421=, 264 - i32.add $push422=, $5, $pop421 - i32.const $push238=, 8 - i32.add $push241=, $pop422, $pop238 - i32.const $push602=, 8 - i32.add $push239=, $4, $pop602 - i32.load16_u $push240=, 0($pop239):p2align=0 - i32.store16 $drop=, 0($pop241), $pop240 - i32.store $drop=, 268($5), $6 - i32.store $drop=, 264($5), $9 + i32.const $0=, 0 + i32.const $push783=, 0 + i32.const $push782=, 10 + i32.store $drop=, bar.lastn($pop783), $pop782 + i32.const $push781=, 0 + i32.const $push780=, 0 + i32.store $drop=, bar.lastc($pop781), $pop780 +.LBB1_56: # %if.end3.i433 + end_block # label13: + i32.const $push786=, 24 + i32.shl $push311=, $0, $pop786 + i32.const $push785=, 24 + i32.shr_s $push312=, $pop311, $pop785 + i32.const $push784=, 80 + i32.xor $push313=, $pop312, $pop784 + i32.ne $push314=, $pop313, $9 + br_if 1, $pop314 # 1: down to label9 +# BB#57: # %if.end3.i433.1 + i32.const $push793=, 0 + i32.const $push792=, 1 + i32.add $push18=, $0, $pop792 + i32.store $push791=, bar.lastc($pop793), $pop18 + tee_local $push790=, $0=, $pop791 + i32.const $push789=, 24 + i32.shl $push315=, $pop790, $pop789 + i32.const $push788=, 24 + i32.shr_s $push316=, $pop315, $pop788 + i32.const $push787=, 80 + i32.xor $push317=, $pop316, $pop787 + i32.load8_s $push318=, 281($6) + i32.ne $push319=, $pop317, $pop318 + br_if 1, $pop319 # 1: down to label9 +# BB#58: # %if.end3.i433.2 + i32.const $push800=, 0 + i32.const $push799=, 1 + i32.add $push19=, $0, $pop799 + i32.store $push798=, bar.lastc($pop800), $pop19 + tee_local $push797=, $0=, $pop798 + i32.const $push796=, 24 + i32.shl $push320=, $pop797, $pop796 + i32.const $push795=, 24 + i32.shr_s $push321=, $pop320, $pop795 + i32.const $push794=, 80 + i32.xor $push322=, $pop321, $pop794 + i32.load8_s $push323=, 282($6) + i32.ne $push324=, $pop322, $pop323 + br_if 1, $pop324 # 1: down to label9 +# BB#59: # %if.end3.i433.3 + i32.const $push807=, 0 + i32.const $push806=, 1 + i32.add $push20=, $0, $pop806 + i32.store $push805=, bar.lastc($pop807), $pop20 + tee_local $push804=, $0=, $pop805 + i32.const $push803=, 24 + i32.shl $push325=, $pop804, $pop803 + i32.const $push802=, 24 + i32.shr_s $push326=, $pop325, $pop802 + i32.const $push801=, 80 + i32.xor $push327=, $pop326, $pop801 + i32.load8_s $push328=, 283($6) + i32.ne $push329=, $pop327, $pop328 + br_if 1, $pop329 # 1: down to label9 +# BB#60: # %if.end3.i433.4 + i32.const $push814=, 0 + i32.const $push813=, 1 + i32.add $push21=, $0, $pop813 + i32.store $push812=, bar.lastc($pop814), $pop21 + tee_local $push811=, $0=, $pop812 + i32.const $push810=, 24 + i32.shl $push330=, $pop811, $pop810 + i32.const $push809=, 24 + i32.shr_s $push331=, $pop330, $pop809 + i32.const $push808=, 80 + i32.xor $push332=, $pop331, $pop808 + i32.load8_s $push333=, 284($6) + i32.ne $push334=, $pop332, $pop333 + br_if 1, $pop334 # 1: down to label9 +# BB#61: # %if.end3.i433.5 + i32.const $push821=, 0 + i32.const $push820=, 1 + i32.add $push22=, $0, $pop820 + i32.store $push819=, bar.lastc($pop821), $pop22 + tee_local $push818=, $0=, $pop819 + i32.const $push817=, 24 + i32.shl $push335=, $pop818, $pop817 + i32.const $push816=, 24 + i32.shr_s $push336=, $pop335, $pop816 + i32.const $push815=, 80 + i32.xor $push337=, $pop336, $pop815 + i32.load8_s $push338=, 285($6) + i32.ne $push339=, $pop337, $pop338 + br_if 1, $pop339 # 1: down to label9 +# BB#62: # %if.end3.i433.6 + i32.const $push828=, 0 + i32.const $push827=, 1 + i32.add $push23=, $0, $pop827 + i32.store $push826=, bar.lastc($pop828), $pop23 + tee_local $push825=, $0=, $pop826 + i32.const $push824=, 24 + i32.shl $push340=, $pop825, $pop824 + i32.const $push823=, 24 + i32.shr_s $push341=, $pop340, $pop823 + i32.const $push822=, 80 + i32.xor $push342=, $pop341, $pop822 + i32.load8_s $push343=, 286($6) + i32.ne $push344=, $pop342, $pop343 + br_if 1, $pop344 # 1: down to label9 +# BB#63: # %if.end3.i433.7 + i32.const $push835=, 0 + i32.const $push834=, 1 + i32.add $push24=, $0, $pop834 + i32.store $push833=, bar.lastc($pop835), $pop24 + tee_local $push832=, $0=, $pop833 + i32.const $push831=, 24 + i32.shl $push345=, $pop832, $pop831 + i32.const $push830=, 24 + i32.shr_s $push346=, $pop345, $pop830 + i32.const $push829=, 80 + i32.xor $push347=, $pop346, $pop829 + i32.load8_s $push348=, 287($6) + i32.ne $push349=, $pop347, $pop348 + br_if 1, $pop349 # 1: down to label9 +# BB#64: # %if.end3.i433.8 + i32.const $push842=, 0 + i32.const $push841=, 1 + i32.add $push25=, $0, $pop841 + i32.store $push840=, bar.lastc($pop842), $pop25 + tee_local $push839=, $0=, $pop840 + i32.const $push838=, 24 + i32.shl $push350=, $pop839, $pop838 + i32.const $push837=, 24 + i32.shr_s $push351=, $pop350, $pop837 + i32.const $push836=, 80 + i32.xor $push352=, $pop351, $pop836 + i32.load8_s $push353=, 288($6) + i32.ne $push354=, $pop352, $pop353 + br_if 1, $pop354 # 1: down to label9 +# BB#65: # %if.end3.i433.9 + i32.const $push849=, 0 + i32.const $push848=, 1 + i32.add $push26=, $0, $pop848 + i32.store $push847=, bar.lastc($pop849), $pop26 + tee_local $push846=, $0=, $pop847 + i32.const $push845=, 24 + i32.shl $push355=, $pop846, $pop845 + i32.const $push844=, 24 + i32.shr_s $push356=, $pop355, $pop844 + i32.const $push843=, 80 + i32.xor $push357=, $pop356, $pop843 + i32.load8_s $push358=, 289($6) + i32.ne $push359=, $pop357, $pop358 + br_if 1, $pop359 # 1: down to label9 +# BB#66: # %bar.exit436.9 + i32.const $push855=, 0 + i32.const $push854=, 1 + i32.add $push853=, $0, $pop854 + tee_local $push852=, $0=, $pop853 + i32.store $drop=, bar.lastc($pop855), $pop852 + i32.const $push559=, 264 + i32.add $push560=, $6, $pop559 + i32.const $push360=, 10 + i32.add $push363=, $pop560, $pop360 + i32.const $push851=, 10 + i32.add $push361=, $7, $pop851 + i32.load8_u $push362=, 0($pop361) + i32.store8 $drop=, 0($pop363), $pop362 + i32.const $push561=, 264 + i32.add $push562=, $6, $pop561 + i32.const $push364=, 8 + i32.add $push367=, $pop562, $pop364 + i32.const $push850=, 8 + i32.add $push365=, $7, $pop850 + i32.load16_u $push366=, 0($pop365):p2align=0 + i32.store16 $drop=, 0($pop367), $pop366 + i32.const $push368=, 84 + i32.add $push27=, $2, $pop368 + i32.store $3=, 4($6), $pop27 + i32.const $push369=, 4 + i32.add $push370=, $7, $pop369 + i32.load $push371=, 0($pop370):p2align=0 + i32.store $drop=, 268($6), $pop371 + i32.load $push372=, 0($7):p2align=0 + i32.store $drop=, 264($6), $pop372 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_54: # %for.body128 + i32.const $7=, 0 +.LBB1_67: # %for.body128 # =>This Inner Loop Header: Depth=1 - loop # label16: - i32.const $push423=, 264 - i32.add $push424=, $5, $pop423 - i32.add $push244=, $pop424, $6 - i32.load8_s $7=, 0($pop244) + loop # label14: + i32.const $push563=, 264 + i32.add $push564=, $6, $pop563 + i32.add $push374=, $pop564, $7 + i32.load8_s $8=, 0($pop374) block - i32.const $push604=, 11 - i32.eq $push245=, $9, $pop604 - br_if 0, $pop245 # 0: down to label18 -# BB#55: # %if.then.i440 - # in Loop: Header=BB1_54 Depth=1 - i32.ne $push246=, $0, $9 - br_if 3, $pop246 # 3: down to label8 -# BB#56: # %if.end.i442 - # in Loop: Header=BB1_54 Depth=1 - i32.const $0=, 0 + i32.const $push856=, 11 + i32.eq $push373=, $9, $pop856 + br_if 0, $pop373 # 0: down to label16 +# BB#68: # %if.then.i440 + # in Loop: Header=BB1_67 Depth=1 + i32.ne $push375=, $0, $9 + br_if 3, $pop375 # 3: down to label10 +# BB#69: # %if.end.i442 + # in Loop: Header=BB1_67 Depth=1 i32.const $1=, 11 - i32.const $push607=, 0 - i32.const $push606=, 0 - i32.store $push3=, bar.lastc($pop607), $pop606 - i32.const $push605=, 11 - i32.store $drop=, bar.lastn($pop3), $pop605 -.LBB1_57: # %if.end3.i447 - # in Loop: Header=BB1_54 Depth=1 - end_block # label18: - i32.const $push610=, 24 - i32.shl $push247=, $0, $pop610 - i32.const $push609=, 24 - i32.shr_s $push248=, $pop247, $pop609 - i32.const $push608=, 88 - i32.xor $push249=, $pop248, $pop608 - i32.ne $push250=, $pop249, $7 - br_if 2, $pop250 # 2: down to label8 -# BB#58: # %bar.exit450 - # in Loop: Header=BB1_54 Depth=1 - i32.const $push614=, 1 - i32.add $0=, $0, $pop614 - i32.const $push613=, 0 - i32.store $drop=, bar.lastc($pop613), $0 - i32.const $push612=, 1 - i32.add $6=, $6, $pop612 + i32.const $0=, 0 + i32.const $push860=, 0 + i32.const $push859=, 11 + i32.store $drop=, bar.lastn($pop860), $pop859 + i32.const $push858=, 0 + i32.const $push857=, 0 + i32.store $drop=, bar.lastc($pop858), $pop857 +.LBB1_70: # %if.end3.i447 + # in Loop: Header=BB1_67 Depth=1 + end_block # label16: + i32.const $push863=, 24 + i32.shl $push376=, $0, $pop863 + i32.const $push862=, 24 + i32.shr_s $push377=, $pop376, $pop862 + i32.const $push861=, 88 + i32.xor $push378=, $pop377, $pop861 + i32.ne $push379=, $pop378, $8 + br_if 2, $pop379 # 2: down to label10 +# BB#71: # %bar.exit450 + # in Loop: Header=BB1_67 Depth=1 + i32.const $push871=, 0 + i32.const $push870=, 1 + i32.add $push869=, $0, $pop870 + tee_local $push868=, $0=, $pop869 + i32.store $drop=, bar.lastc($pop871), $pop868 i32.const $9=, 11 - i32.const $push611=, 11 - i32.lt_s $push251=, $6, $pop611 - br_if 0, $pop251 # 0: up to label16 -# BB#59: # %for.end134 - end_loop # label17: - i32.const $push616=, 96 - i32.add $push20=, $10, $pop616 - i32.store $4=, 4($5), $pop20 - i32.const $push256=, 4 - i32.add $push257=, $2, $pop256 - i32.load $6=, 0($pop257):p2align=0 - i32.load $9=, 0($2):p2align=0 - i32.const $push425=, 248 - i32.add $push426=, $5, $pop425 - i32.const $push252=, 8 - i32.add $push255=, $pop426, $pop252 - i32.const $push615=, 8 - i32.add $push253=, $2, $pop615 - i32.load $push254=, 0($pop253):p2align=0 - i32.store $drop=, 0($pop255), $pop254 - i32.store $drop=, 252($5), $6 - i32.store $drop=, 248($5), $9 + i32.const $push867=, 1 + i32.add $push866=, $7, $pop867 + tee_local $push865=, $7=, $pop866 + i32.const $push864=, 11 + i32.lt_s $push380=, $pop865, $pop864 + br_if 0, $pop380 # 0: up to label14 +# BB#72: # %for.end134 + end_loop # label15: + i32.const $push565=, 248 + i32.add $push566=, $6, $pop565 + i32.const $push381=, 8 + i32.add $push384=, $pop566, $pop381 + i32.const $push873=, 8 + i32.add $push382=, $3, $pop873 + i32.load $push383=, 0($pop382):p2align=0 + i32.store $drop=, 0($pop384), $pop383 + i32.const $push872=, 96 + i32.add $push10=, $2, $pop872 + i32.store $5=, 4($6), $pop10 + i32.const $push385=, 4 + i32.add $push386=, $3, $pop385 + i32.load $push387=, 0($pop386):p2align=0 + i32.store $drop=, 252($6), $pop387 + i32.load $push388=, 0($3):p2align=0 + i32.store $drop=, 248($6), $pop388 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_60: # %for.body140 + i32.const $7=, 0 +.LBB1_73: # %for.body140 # =>This Inner Loop Header: Depth=1 - loop # label19: - i32.const $push427=, 248 - i32.add $push428=, $5, $pop427 - i32.add $push258=, $pop428, $6 - i32.load8_s $7=, 0($pop258) + loop # label17: + i32.const $push567=, 248 + i32.add $push568=, $6, $pop567 + i32.add $push390=, $pop568, $7 + i32.load8_s $8=, 0($pop390) block - i32.const $push617=, 12 - i32.eq $push259=, $9, $pop617 - br_if 0, $pop259 # 0: down to label21 -# BB#61: # %if.then.i454 - # in Loop: Header=BB1_60 Depth=1 - i32.ne $push260=, $0, $9 - br_if 3, $pop260 # 3: down to label8 -# BB#62: # %if.end.i456 - # in Loop: Header=BB1_60 Depth=1 - i32.const $0=, 0 + i32.const $push874=, 12 + i32.eq $push389=, $9, $pop874 + br_if 0, $pop389 # 0: down to label19 +# BB#74: # %if.then.i454 + # in Loop: Header=BB1_73 Depth=1 + i32.ne $push391=, $0, $9 + br_if 3, $pop391 # 3: down to label10 +# BB#75: # %if.end.i456 + # in Loop: Header=BB1_73 Depth=1 i32.const $1=, 12 - i32.const $push620=, 0 - i32.const $push619=, 0 - i32.store $push4=, bar.lastc($pop620), $pop619 - i32.const $push618=, 12 - i32.store $drop=, bar.lastn($pop4), $pop618 -.LBB1_63: # %if.end3.i461 - # in Loop: Header=BB1_60 Depth=1 - end_block # label21: - i32.const $push623=, 24 - i32.shl $push261=, $0, $pop623 - i32.const $push622=, 24 - i32.shr_s $push262=, $pop261, $pop622 - i32.const $push621=, 96 - i32.xor $push263=, $pop262, $pop621 - i32.ne $push264=, $pop263, $7 - br_if 2, $pop264 # 2: down to label8 -# BB#64: # %bar.exit464 - # in Loop: Header=BB1_60 Depth=1 - i32.const $push627=, 1 - i32.add $0=, $0, $pop627 - i32.const $push626=, 0 - i32.store $drop=, bar.lastc($pop626), $0 - i32.const $push625=, 1 - i32.add $6=, $6, $pop625 + i32.const $0=, 0 + i32.const $push878=, 0 + i32.const $push877=, 12 + i32.store $drop=, bar.lastn($pop878), $pop877 + i32.const $push876=, 0 + i32.const $push875=, 0 + i32.store $drop=, bar.lastc($pop876), $pop875 +.LBB1_76: # %if.end3.i461 + # in Loop: Header=BB1_73 Depth=1 + end_block # label19: + i32.const $push881=, 24 + i32.shl $push392=, $0, $pop881 + i32.const $push880=, 24 + i32.shr_s $push393=, $pop392, $pop880 + i32.const $push879=, 96 + i32.xor $push394=, $pop393, $pop879 + i32.ne $push395=, $pop394, $8 + br_if 2, $pop395 # 2: down to label10 +# BB#77: # %bar.exit464 + # in Loop: Header=BB1_73 Depth=1 + i32.const $push889=, 0 + i32.const $push888=, 1 + i32.add $push887=, $0, $pop888 + tee_local $push886=, $0=, $pop887 + i32.store $drop=, bar.lastc($pop889), $pop886 i32.const $9=, 12 - i32.const $push624=, 12 - i32.lt_s $push265=, $6, $pop624 - br_if 0, $pop265 # 0: up to label19 -# BB#65: # %for.end146 - end_loop # label20: - i32.const $push429=, 232 - i32.add $push430=, $5, $pop429 - i32.const $push267=, 12 - i32.add $push270=, $pop430, $pop267 - i32.const $push629=, 12 - i32.add $push268=, $4, $pop629 - i32.load8_u $push269=, 0($pop268) - i32.store8 $drop=, 0($pop270), $pop269 - i32.const $push266=, 112 - i32.add $push21=, $10, $pop266 - i32.store $2=, 4($5), $pop21 - i32.const $push275=, 4 - i32.add $push276=, $4, $pop275 - i32.load $6=, 0($pop276):p2align=0 - i32.load $9=, 0($4):p2align=0 - i32.const $push431=, 232 - i32.add $push432=, $5, $pop431 - i32.const $push271=, 8 - i32.add $push274=, $pop432, $pop271 - i32.const $push628=, 8 - i32.add $push272=, $4, $pop628 - i32.load $push273=, 0($pop272):p2align=0 - i32.store $drop=, 0($pop274), $pop273 - i32.store $drop=, 236($5), $6 - i32.store $drop=, 232($5), $9 + i32.const $push885=, 1 + i32.add $push884=, $7, $pop885 + tee_local $push883=, $7=, $pop884 + i32.const $push882=, 12 + i32.lt_s $push396=, $pop883, $pop882 + br_if 0, $pop396 # 0: up to label17 +# BB#78: # %for.end146 + end_loop # label18: + i32.const $push569=, 232 + i32.add $push570=, $6, $pop569 + i32.const $push397=, 12 + i32.add $push400=, $pop570, $pop397 + i32.const $push891=, 12 + i32.add $push398=, $5, $pop891 + i32.load8_u $push399=, 0($pop398) + i32.store8 $drop=, 0($pop400), $pop399 + i32.const $push571=, 232 + i32.add $push572=, $6, $pop571 + i32.const $push401=, 8 + i32.add $push404=, $pop572, $pop401 + i32.const $push890=, 8 + i32.add $push402=, $5, $pop890 + i32.load $push403=, 0($pop402):p2align=0 + i32.store $drop=, 0($pop404), $pop403 + i32.const $push405=, 112 + i32.add $push11=, $2, $pop405 + i32.store $3=, 4($6), $pop11 + i32.const $push406=, 4 + i32.add $push407=, $5, $pop406 + i32.load $push408=, 0($pop407):p2align=0 + i32.store $drop=, 236($6), $pop408 + i32.load $push409=, 0($5):p2align=0 + i32.store $drop=, 232($6), $pop409 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_66: # %for.body152 + i32.const $7=, 0 +.LBB1_79: # %for.body152 # =>This Inner Loop Header: Depth=1 - loop # label22: - i32.const $push433=, 232 - i32.add $push434=, $5, $pop433 - i32.add $push277=, $pop434, $6 - i32.load8_s $7=, 0($pop277) + loop # label20: + i32.const $push573=, 232 + i32.add $push574=, $6, $pop573 + i32.add $push411=, $pop574, $7 + i32.load8_s $8=, 0($pop411) block - i32.const $push630=, 13 - i32.eq $push278=, $9, $pop630 - br_if 0, $pop278 # 0: down to label24 -# BB#67: # %if.then.i468 - # in Loop: Header=BB1_66 Depth=1 - i32.ne $push279=, $0, $9 - br_if 3, $pop279 # 3: down to label8 -# BB#68: # %if.end.i470 - # in Loop: Header=BB1_66 Depth=1 - i32.const $0=, 0 + i32.const $push892=, 13 + i32.eq $push410=, $9, $pop892 + br_if 0, $pop410 # 0: down to label22 +# BB#80: # %if.then.i468 + # in Loop: Header=BB1_79 Depth=1 + i32.ne $push412=, $0, $9 + br_if 3, $pop412 # 3: down to label10 +# BB#81: # %if.end.i470 + # in Loop: Header=BB1_79 Depth=1 i32.const $1=, 13 - i32.const $push633=, 0 - i32.const $push632=, 0 - i32.store $push5=, bar.lastc($pop633), $pop632 - i32.const $push631=, 13 - i32.store $drop=, bar.lastn($pop5), $pop631 -.LBB1_69: # %if.end3.i475 - # in Loop: Header=BB1_66 Depth=1 - end_block # label24: - i32.const $push636=, 24 - i32.shl $push280=, $0, $pop636 - i32.const $push635=, 24 - i32.shr_s $push281=, $pop280, $pop635 - i32.const $push634=, 104 - i32.xor $push282=, $pop281, $pop634 - i32.ne $push283=, $pop282, $7 - br_if 2, $pop283 # 2: down to label8 -# BB#70: # %bar.exit478 - # in Loop: Header=BB1_66 Depth=1 - i32.const $push640=, 1 - i32.add $0=, $0, $pop640 - i32.const $push639=, 0 - i32.store $drop=, bar.lastc($pop639), $0 - i32.const $push638=, 1 - i32.add $6=, $6, $pop638 + i32.const $0=, 0 + i32.const $push896=, 0 + i32.const $push895=, 13 + i32.store $drop=, bar.lastn($pop896), $pop895 + i32.const $push894=, 0 + i32.const $push893=, 0 + i32.store $drop=, bar.lastc($pop894), $pop893 +.LBB1_82: # %if.end3.i475 + # in Loop: Header=BB1_79 Depth=1 + end_block # label22: + i32.const $push899=, 24 + i32.shl $push413=, $0, $pop899 + i32.const $push898=, 24 + i32.shr_s $push414=, $pop413, $pop898 + i32.const $push897=, 104 + i32.xor $push415=, $pop414, $pop897 + i32.ne $push416=, $pop415, $8 + br_if 2, $pop416 # 2: down to label10 +# BB#83: # %bar.exit478 + # in Loop: Header=BB1_79 Depth=1 + i32.const $push907=, 0 + i32.const $push906=, 1 + i32.add $push905=, $0, $pop906 + tee_local $push904=, $0=, $pop905 + i32.store $drop=, bar.lastc($pop907), $pop904 i32.const $9=, 13 - i32.const $push637=, 13 - i32.lt_s $push284=, $6, $pop637 - br_if 0, $pop284 # 0: up to label22 -# BB#71: # %for.end158 - end_loop # label23: - i32.const $push435=, 216 - i32.add $push436=, $5, $pop435 - i32.const $push286=, 12 - i32.add $push289=, $pop436, $pop286 - i32.const $push642=, 12 - i32.add $push287=, $2, $pop642 - i32.load16_u $push288=, 0($pop287):p2align=0 - i32.store16 $drop=, 0($pop289), $pop288 - i32.const $push285=, 128 - i32.add $push22=, $10, $pop285 - i32.store $4=, 4($5), $pop22 - i32.const $push294=, 4 - i32.add $push295=, $2, $pop294 - i32.load $6=, 0($pop295):p2align=0 - i32.load $9=, 0($2):p2align=0 - i32.const $push437=, 216 - i32.add $push438=, $5, $pop437 - i32.const $push290=, 8 - i32.add $push293=, $pop438, $pop290 - i32.const $push641=, 8 - i32.add $push291=, $2, $pop641 - i32.load $push292=, 0($pop291):p2align=0 - i32.store $drop=, 0($pop293), $pop292 - i32.store $drop=, 220($5), $6 - i32.store $drop=, 216($5), $9 + i32.const $push903=, 1 + i32.add $push902=, $7, $pop903 + tee_local $push901=, $7=, $pop902 + i32.const $push900=, 13 + i32.lt_s $push417=, $pop901, $pop900 + br_if 0, $pop417 # 0: up to label20 +# BB#84: # %for.end158 + end_loop # label21: + i32.const $push575=, 216 + i32.add $push576=, $6, $pop575 + i32.const $push418=, 12 + i32.add $push421=, $pop576, $pop418 + i32.const $push909=, 12 + i32.add $push419=, $3, $pop909 + i32.load16_u $push420=, 0($pop419):p2align=0 + i32.store16 $drop=, 0($pop421), $pop420 + i32.const $push577=, 216 + i32.add $push578=, $6, $pop577 + i32.const $push422=, 8 + i32.add $push425=, $pop578, $pop422 + i32.const $push908=, 8 + i32.add $push423=, $3, $pop908 + i32.load $push424=, 0($pop423):p2align=0 + i32.store $drop=, 0($pop425), $pop424 + i32.const $push426=, 128 + i32.add $push12=, $2, $pop426 + i32.store $5=, 4($6), $pop12 + i32.const $push427=, 4 + i32.add $push428=, $3, $pop427 + i32.load $push429=, 0($pop428):p2align=0 + i32.store $drop=, 220($6), $pop429 + i32.load $push430=, 0($3):p2align=0 + i32.store $drop=, 216($6), $pop430 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_72: # %for.body164 + i32.const $7=, 0 +.LBB1_85: # %for.body164 # =>This Inner Loop Header: Depth=1 - loop # label25: - i32.const $push439=, 216 - i32.add $push440=, $5, $pop439 - i32.add $push296=, $pop440, $6 - i32.load8_s $7=, 0($pop296) + loop # label23: + i32.const $push579=, 216 + i32.add $push580=, $6, $pop579 + i32.add $push432=, $pop580, $7 + i32.load8_s $8=, 0($pop432) block - i32.const $push643=, 14 - i32.eq $push297=, $9, $pop643 - br_if 0, $pop297 # 0: down to label27 -# BB#73: # %if.then.i482 - # in Loop: Header=BB1_72 Depth=1 - i32.ne $push298=, $0, $9 - br_if 3, $pop298 # 3: down to label8 -# BB#74: # %if.end.i484 - # in Loop: Header=BB1_72 Depth=1 - i32.const $0=, 0 + i32.const $push910=, 14 + i32.eq $push431=, $9, $pop910 + br_if 0, $pop431 # 0: down to label25 +# BB#86: # %if.then.i482 + # in Loop: Header=BB1_85 Depth=1 + i32.ne $push433=, $0, $9 + br_if 3, $pop433 # 3: down to label10 +# BB#87: # %if.end.i484 + # in Loop: Header=BB1_85 Depth=1 i32.const $1=, 14 - i32.const $push646=, 0 - i32.const $push645=, 0 - i32.store $push6=, bar.lastc($pop646), $pop645 - i32.const $push644=, 14 - i32.store $drop=, bar.lastn($pop6), $pop644 -.LBB1_75: # %if.end3.i489 - # in Loop: Header=BB1_72 Depth=1 - end_block # label27: - i32.const $push649=, 24 - i32.shl $push299=, $0, $pop649 - i32.const $push648=, 24 - i32.shr_s $push300=, $pop299, $pop648 - i32.const $push647=, 112 - i32.xor $push301=, $pop300, $pop647 - i32.ne $push302=, $pop301, $7 - br_if 2, $pop302 # 2: down to label8 -# BB#76: # %bar.exit492 - # in Loop: Header=BB1_72 Depth=1 - i32.const $push653=, 1 - i32.add $0=, $0, $pop653 - i32.const $push652=, 0 - i32.store $drop=, bar.lastc($pop652), $0 - i32.const $push651=, 1 - i32.add $6=, $6, $pop651 + i32.const $0=, 0 + i32.const $push914=, 0 + i32.const $push913=, 14 + i32.store $drop=, bar.lastn($pop914), $pop913 + i32.const $push912=, 0 + i32.const $push911=, 0 + i32.store $drop=, bar.lastc($pop912), $pop911 +.LBB1_88: # %if.end3.i489 + # in Loop: Header=BB1_85 Depth=1 + end_block # label25: + i32.const $push917=, 24 + i32.shl $push434=, $0, $pop917 + i32.const $push916=, 24 + i32.shr_s $push435=, $pop434, $pop916 + i32.const $push915=, 112 + i32.xor $push436=, $pop435, $pop915 + i32.ne $push437=, $pop436, $8 + br_if 2, $pop437 # 2: down to label10 +# BB#89: # %bar.exit492 + # in Loop: Header=BB1_85 Depth=1 + i32.const $push925=, 0 + i32.const $push924=, 1 + i32.add $push923=, $0, $pop924 + tee_local $push922=, $0=, $pop923 + i32.store $drop=, bar.lastc($pop925), $pop922 i32.const $9=, 14 - i32.const $push650=, 14 - i32.lt_s $push303=, $6, $pop650 - br_if 0, $pop303 # 0: up to label25 -# BB#77: # %for.end170 - end_loop # label26: - i32.const $push309=, 12 - i32.add $push310=, $4, $pop309 - i32.load16_u $6=, 0($pop310):p2align=0 - i32.const $push441=, 200 - i32.add $push442=, $5, $pop441 - i32.const $push305=, 14 - i32.add $push308=, $pop442, $pop305 - i32.const $push656=, 14 - i32.add $push306=, $4, $pop656 - i32.load8_u $push307=, 0($pop306) - i32.store8 $drop=, 0($pop308), $pop307 - i32.const $push443=, 200 - i32.add $push444=, $5, $pop443 - i32.const $push655=, 12 - i32.add $push311=, $pop444, $pop655 - i32.store16 $drop=, 0($pop311), $6 - i32.const $push304=, 144 - i32.add $push23=, $10, $pop304 - i32.store $2=, 4($5), $pop23 - i32.const $push316=, 4 - i32.add $push317=, $4, $pop316 - i32.load $6=, 0($pop317):p2align=0 - i32.load $9=, 0($4):p2align=0 - i32.const $push445=, 200 - i32.add $push446=, $5, $pop445 - i32.const $push312=, 8 - i32.add $push315=, $pop446, $pop312 - i32.const $push654=, 8 - i32.add $push313=, $4, $pop654 - i32.load $push314=, 0($pop313):p2align=0 - i32.store $drop=, 0($pop315), $pop314 - i32.store $drop=, 204($5), $6 - i32.store $drop=, 200($5), $9 + i32.const $push921=, 1 + i32.add $push920=, $7, $pop921 + tee_local $push919=, $7=, $pop920 + i32.const $push918=, 14 + i32.lt_s $push438=, $pop919, $pop918 + br_if 0, $pop438 # 0: up to label23 +# BB#90: # %for.end170 + end_loop # label24: + i32.const $push581=, 200 + i32.add $push582=, $6, $pop581 + i32.const $push439=, 14 + i32.add $push442=, $pop582, $pop439 + i32.const $push928=, 14 + i32.add $push440=, $5, $pop928 + i32.load8_u $push441=, 0($pop440) + i32.store8 $drop=, 0($pop442), $pop441 + i32.const $push583=, 200 + i32.add $push584=, $6, $pop583 + i32.const $push443=, 12 + i32.add $push446=, $pop584, $pop443 + i32.const $push927=, 12 + i32.add $push444=, $5, $pop927 + i32.load16_u $push445=, 0($pop444):p2align=0 + i32.store16 $drop=, 0($pop446), $pop445 + i32.const $push585=, 200 + i32.add $push586=, $6, $pop585 + i32.const $push447=, 8 + i32.add $push450=, $pop586, $pop447 + i32.const $push926=, 8 + i32.add $push448=, $5, $pop926 + i32.load $push449=, 0($pop448):p2align=0 + i32.store $drop=, 0($pop450), $pop449 + i32.const $push451=, 144 + i32.add $push13=, $2, $pop451 + i32.store $3=, 4($6), $pop13 + i32.const $push452=, 4 + i32.add $push453=, $5, $pop452 + i32.load $push454=, 0($pop453):p2align=0 + i32.store $drop=, 204($6), $pop454 + i32.load $push455=, 0($5):p2align=0 + i32.store $drop=, 200($6), $pop455 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_78: # %for.body176 + i32.const $7=, 0 +.LBB1_91: # %for.body176 # =>This Inner Loop Header: Depth=1 - loop # label28: - i32.const $push447=, 200 - i32.add $push448=, $5, $pop447 - i32.add $push318=, $pop448, $6 - i32.load8_s $7=, 0($pop318) + loop # label26: + i32.const $push587=, 200 + i32.add $push588=, $6, $pop587 + i32.add $push457=, $pop588, $7 + i32.load8_s $8=, 0($pop457) block - i32.const $push657=, 15 - i32.eq $push319=, $9, $pop657 - br_if 0, $pop319 # 0: down to label30 -# BB#79: # %if.then.i496 - # in Loop: Header=BB1_78 Depth=1 - i32.ne $push320=, $0, $9 - br_if 3, $pop320 # 3: down to label8 -# BB#80: # %if.end.i498 - # in Loop: Header=BB1_78 Depth=1 - i32.const $0=, 0 + i32.const $push929=, 15 + i32.eq $push456=, $9, $pop929 + br_if 0, $pop456 # 0: down to label28 +# BB#92: # %if.then.i496 + # in Loop: Header=BB1_91 Depth=1 + i32.ne $push458=, $0, $9 + br_if 3, $pop458 # 3: down to label10 +# BB#93: # %if.end.i498 + # in Loop: Header=BB1_91 Depth=1 i32.const $1=, 15 - i32.const $push660=, 0 - i32.const $push659=, 0 - i32.store $push7=, bar.lastc($pop660), $pop659 - i32.const $push658=, 15 - i32.store $drop=, bar.lastn($pop7), $pop658 -.LBB1_81: # %if.end3.i503 - # in Loop: Header=BB1_78 Depth=1 - end_block # label30: - i32.const $push663=, 24 - i32.shl $push321=, $0, $pop663 - i32.const $push662=, 24 - i32.shr_s $push322=, $pop321, $pop662 - i32.const $push661=, 120 - i32.xor $push323=, $pop322, $pop661 - i32.ne $push324=, $pop323, $7 - br_if 2, $pop324 # 2: down to label8 -# BB#82: # %bar.exit506 - # in Loop: Header=BB1_78 Depth=1 - i32.const $push667=, 1 - i32.add $0=, $0, $pop667 - i32.const $push666=, 0 - i32.store $drop=, bar.lastc($pop666), $0 - i32.const $push665=, 1 - i32.add $6=, $6, $pop665 + i32.const $0=, 0 + i32.const $push933=, 0 + i32.const $push932=, 15 + i32.store $drop=, bar.lastn($pop933), $pop932 + i32.const $push931=, 0 + i32.const $push930=, 0 + i32.store $drop=, bar.lastc($pop931), $pop930 +.LBB1_94: # %if.end3.i503 + # in Loop: Header=BB1_91 Depth=1 + end_block # label28: + i32.const $push936=, 24 + i32.shl $push459=, $0, $pop936 + i32.const $push935=, 24 + i32.shr_s $push460=, $pop459, $pop935 + i32.const $push934=, 120 + i32.xor $push461=, $pop460, $pop934 + i32.ne $push462=, $pop461, $8 + br_if 2, $pop462 # 2: down to label10 +# BB#95: # %bar.exit506 + # in Loop: Header=BB1_91 Depth=1 + i32.const $push944=, 0 + i32.const $push943=, 1 + i32.add $push942=, $0, $pop943 + tee_local $push941=, $0=, $pop942 + i32.store $drop=, bar.lastc($pop944), $pop941 i32.const $9=, 15 - i32.const $push664=, 15 - i32.lt_s $push325=, $6, $pop664 - br_if 0, $pop325 # 0: up to label28 -# BB#83: # %for.end182 - end_loop # label29: - i32.const $push449=, 184 - i32.add $push450=, $5, $pop449 - i32.const $push327=, 12 - i32.add $push330=, $pop450, $pop327 - i32.const $push669=, 12 - i32.add $push328=, $2, $pop669 - i32.load $push329=, 0($pop328):p2align=0 - i32.store $drop=, 0($pop330), $pop329 - i32.const $push326=, 160 - i32.add $push24=, $10, $pop326 - i32.store $3=, 4($5), $pop24 - i32.const $push335=, 4 - i32.add $push336=, $2, $pop335 - i32.load $6=, 0($pop336):p2align=0 - i32.load $9=, 0($2):p2align=0 - i32.const $push451=, 184 - i32.add $push452=, $5, $pop451 - i32.const $push331=, 8 - i32.add $push334=, $pop452, $pop331 - i32.const $push668=, 8 - i32.add $push332=, $2, $pop668 - i32.load $push333=, 0($pop332):p2align=0 - i32.store $drop=, 0($pop334), $pop333 - i32.store $drop=, 188($5), $6 - i32.store $drop=, 184($5), $9 + i32.const $push940=, 1 + i32.add $push939=, $7, $pop940 + tee_local $push938=, $7=, $pop939 + i32.const $push937=, 15 + i32.lt_s $push463=, $pop938, $pop937 + br_if 0, $pop463 # 0: up to label26 +# BB#96: # %for.end182 + end_loop # label27: + i32.const $push589=, 184 + i32.add $push590=, $6, $pop589 + i32.const $push464=, 12 + i32.add $push467=, $pop590, $pop464 + i32.const $push946=, 12 + i32.add $push465=, $3, $pop946 + i32.load $push466=, 0($pop465):p2align=0 + i32.store $drop=, 0($pop467), $pop466 + i32.const $push591=, 184 + i32.add $push592=, $6, $pop591 + i32.const $push468=, 8 + i32.add $push471=, $pop592, $pop468 + i32.const $push945=, 8 + i32.add $push469=, $3, $pop945 + i32.load $push470=, 0($pop469):p2align=0 + i32.store $drop=, 0($pop471), $pop470 + i32.const $push472=, 160 + i32.add $push14=, $2, $pop472 + i32.store $4=, 4($6), $pop14 + i32.const $push473=, 4 + i32.add $push474=, $3, $pop473 + i32.load $push475=, 0($pop474):p2align=0 + i32.store $drop=, 188($6), $pop475 + i32.load $push476=, 0($3):p2align=0 + i32.store $drop=, 184($6), $pop476 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_84: # %for.body188 + i32.const $7=, 0 +.LBB1_97: # %for.body188 # =>This Inner Loop Header: Depth=1 - loop # label31: - i32.const $push453=, 184 - i32.add $push454=, $5, $pop453 - i32.add $push337=, $pop454, $6 - i32.load8_s $7=, 0($pop337) + loop # label29: + i32.const $push593=, 184 + i32.add $push594=, $6, $pop593 + i32.add $push478=, $pop594, $7 + i32.load8_s $8=, 0($pop478) block - i32.const $push670=, 16 - i32.eq $push338=, $9, $pop670 - br_if 0, $pop338 # 0: down to label33 -# BB#85: # %if.then.i510 - # in Loop: Header=BB1_84 Depth=1 - i32.ne $push339=, $0, $9 - br_if 3, $pop339 # 3: down to label8 -# BB#86: # %if.end.i512 - # in Loop: Header=BB1_84 Depth=1 - i32.const $0=, 0 + i32.const $push947=, 16 + i32.eq $push477=, $9, $pop947 + br_if 0, $pop477 # 0: down to label31 +# BB#98: # %if.then.i510 + # in Loop: Header=BB1_97 Depth=1 + i32.ne $push479=, $0, $9 + br_if 3, $pop479 # 3: down to label10 +# BB#99: # %if.end.i512 + # in Loop: Header=BB1_97 Depth=1 i32.const $1=, 16 - i32.const $push673=, 0 - i32.const $push672=, 0 - i32.store $push8=, bar.lastc($pop673), $pop672 - i32.const $push671=, 16 - i32.store $drop=, bar.lastn($pop8), $pop671 -.LBB1_87: # %if.end3.i517 - # in Loop: Header=BB1_84 Depth=1 - end_block # label33: - i32.const $push676=, 24 - i32.shl $push340=, $0, $pop676 - i32.const $push675=, -2147483648 - i32.xor $push341=, $pop340, $pop675 - i32.const $push674=, 24 - i32.shr_s $push342=, $pop341, $pop674 - i32.ne $push343=, $pop342, $7 - br_if 2, $pop343 # 2: down to label8 -# BB#88: # %bar.exit520 - # in Loop: Header=BB1_84 Depth=1 - i32.const $push680=, 1 - i32.add $0=, $0, $pop680 - i32.const $push679=, 0 - i32.store $drop=, bar.lastc($pop679), $0 - i32.const $push678=, 1 - i32.add $6=, $6, $pop678 + i32.const $0=, 0 + i32.const $push951=, 0 + i32.const $push950=, 16 + i32.store $drop=, bar.lastn($pop951), $pop950 + i32.const $push949=, 0 + i32.const $push948=, 0 + i32.store $drop=, bar.lastc($pop949), $pop948 +.LBB1_100: # %if.end3.i517 + # in Loop: Header=BB1_97 Depth=1 + end_block # label31: + i32.const $push954=, 24 + i32.shl $push480=, $0, $pop954 + i32.const $push953=, -2147483648 + i32.xor $push481=, $pop480, $pop953 + i32.const $push952=, 24 + i32.shr_s $push482=, $pop481, $pop952 + i32.ne $push483=, $pop482, $8 + br_if 2, $pop483 # 2: down to label10 +# BB#101: # %bar.exit520 + # in Loop: Header=BB1_97 Depth=1 + i32.const $push962=, 0 + i32.const $push961=, 1 + i32.add $push960=, $0, $pop961 + tee_local $push959=, $0=, $pop960 + i32.store $drop=, bar.lastc($pop962), $pop959 i32.const $9=, 16 - i32.const $push677=, 16 - i32.lt_s $push344=, $6, $pop677 - br_if 0, $pop344 # 0: up to label31 -# BB#89: # %for.end194 - end_loop # label32: - i32.const $push345=, 192 - i32.add $push25=, $10, $pop345 - i32.store $4=, 4($5), $pop25 - i32.const $push455=, 152 - i32.add $push456=, $5, $pop455 - i32.const $push681=, 31 - i32.call $drop=, memcpy@FUNCTION, $pop456, $3, $pop681 + i32.const $push958=, 1 + i32.add $push957=, $7, $pop958 + tee_local $push956=, $7=, $pop957 + i32.const $push955=, 16 + i32.lt_s $push484=, $pop956, $pop955 + br_if 0, $pop484 # 0: up to label29 +# BB#102: # %for.end194 + end_loop # label30: + i32.const $push485=, 192 + i32.add $push15=, $2, $pop485 + i32.store $5=, 4($6), $pop15 + i32.const $push595=, 152 + i32.add $push596=, $6, $pop595 + i32.const $push963=, 31 + i32.call $drop=, memcpy@FUNCTION, $pop596, $4, $pop963 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_90: # %for.body200 + i32.const $7=, 0 +.LBB1_103: # %for.body200 # =>This Inner Loop Header: Depth=1 - loop # label34: - i32.const $push457=, 152 - i32.add $push458=, $5, $pop457 - i32.add $push346=, $pop458, $6 - i32.load8_s $7=, 0($pop346) + loop # label32: + i32.const $push597=, 152 + i32.add $push598=, $6, $pop597 + i32.add $push487=, $pop598, $7 + i32.load8_s $8=, 0($pop487) block - i32.const $push682=, 31 - i32.eq $push347=, $9, $pop682 - br_if 0, $pop347 # 0: down to label36 -# BB#91: # %if.then.i524 - # in Loop: Header=BB1_90 Depth=1 - i32.ne $push348=, $0, $9 - br_if 3, $pop348 # 3: down to label8 -# BB#92: # %if.end.i526 - # in Loop: Header=BB1_90 Depth=1 - i32.const $0=, 0 + i32.const $push964=, 31 + i32.eq $push486=, $9, $pop964 + br_if 0, $pop486 # 0: down to label34 +# BB#104: # %if.then.i524 + # in Loop: Header=BB1_103 Depth=1 + i32.ne $push488=, $0, $9 + br_if 3, $pop488 # 3: down to label10 +# BB#105: # %if.end.i526 + # in Loop: Header=BB1_103 Depth=1 i32.const $1=, 31 - i32.const $push685=, 0 - i32.const $push684=, 0 - i32.store $push9=, bar.lastc($pop685), $pop684 - i32.const $push683=, 31 - i32.store $drop=, bar.lastn($pop9), $pop683 -.LBB1_93: # %if.end3.i531 - # in Loop: Header=BB1_90 Depth=1 - end_block # label36: - i32.const $push688=, 24 - i32.shl $push349=, $0, $pop688 - i32.const $push687=, -134217728 - i32.xor $push350=, $pop349, $pop687 - i32.const $push686=, 24 - i32.shr_s $push351=, $pop350, $pop686 - i32.ne $push352=, $pop351, $7 - br_if 2, $pop352 # 2: down to label8 -# BB#94: # %bar.exit534 - # in Loop: Header=BB1_90 Depth=1 - i32.const $push692=, 1 - i32.add $0=, $0, $pop692 - i32.const $push691=, 0 - i32.store $drop=, bar.lastc($pop691), $0 - i32.const $push690=, 1 - i32.add $6=, $6, $pop690 + i32.const $0=, 0 + i32.const $push968=, 0 + i32.const $push967=, 31 + i32.store $drop=, bar.lastn($pop968), $pop967 + i32.const $push966=, 0 + i32.const $push965=, 0 + i32.store $drop=, bar.lastc($pop966), $pop965 +.LBB1_106: # %if.end3.i531 + # in Loop: Header=BB1_103 Depth=1 + end_block # label34: + i32.const $push971=, 24 + i32.shl $push489=, $0, $pop971 + i32.const $push970=, -134217728 + i32.xor $push490=, $pop489, $pop970 + i32.const $push969=, 24 + i32.shr_s $push491=, $pop490, $pop969 + i32.ne $push492=, $pop491, $8 + br_if 2, $pop492 # 2: down to label10 +# BB#107: # %bar.exit534 + # in Loop: Header=BB1_103 Depth=1 + i32.const $push979=, 0 + i32.const $push978=, 1 + i32.add $push977=, $0, $pop978 + tee_local $push976=, $0=, $pop977 + i32.store $drop=, bar.lastc($pop979), $pop976 i32.const $9=, 31 - i32.const $push689=, 31 - i32.lt_s $push353=, $6, $pop689 - br_if 0, $pop353 # 0: up to label34 -# BB#95: # %for.end206 - end_loop # label35: - i32.const $push459=, 120 - i32.add $push460=, $5, $pop459 - i32.const $push355=, 28 - i32.add $push358=, $pop460, $pop355 - i32.const $push699=, 28 - i32.add $push356=, $4, $pop699 - i32.load $push357=, 0($pop356):p2align=0 - i32.store $drop=, 0($pop358), $pop357 - i32.const $push362=, 20 - i32.add $push363=, $4, $pop362 - i32.load $6=, 0($pop363):p2align=0 - i32.const $push461=, 120 - i32.add $push462=, $5, $pop461 - i32.const $push698=, 24 - i32.add $push361=, $pop462, $pop698 - i32.const $push697=, 24 - i32.add $push359=, $4, $pop697 - i32.load $push360=, 0($pop359):p2align=0 - i32.store $drop=, 0($pop361), $pop360 - i32.const $push463=, 120 - i32.add $push464=, $5, $pop463 - i32.const $push696=, 20 - i32.add $push364=, $pop464, $pop696 - i32.store $drop=, 0($pop364), $6 - i32.const $push369=, 12 - i32.add $push370=, $4, $pop369 - i32.load $6=, 0($pop370):p2align=0 - i32.const $push465=, 120 - i32.add $push466=, $5, $pop465 - i32.const $push365=, 16 - i32.add $push368=, $pop466, $pop365 - i32.const $push695=, 16 - i32.add $push366=, $4, $pop695 - i32.load $push367=, 0($pop366):p2align=0 - i32.store $drop=, 0($pop368), $pop367 - i32.const $push467=, 120 - i32.add $push468=, $5, $pop467 - i32.const $push694=, 12 - i32.add $push371=, $pop468, $pop694 - i32.store $drop=, 0($pop371), $6 - i32.const $push354=, 224 - i32.add $push26=, $10, $pop354 - i32.store $2=, 4($5), $pop26 - i32.const $push376=, 4 - i32.add $push377=, $4, $pop376 - i32.load $6=, 0($pop377):p2align=0 - i32.load $9=, 0($4):p2align=0 - i32.const $push469=, 120 - i32.add $push470=, $5, $pop469 - i32.const $push372=, 8 - i32.add $push375=, $pop470, $pop372 - i32.const $push693=, 8 - i32.add $push373=, $4, $pop693 - i32.load $push374=, 0($pop373):p2align=0 - i32.store $drop=, 0($pop375), $pop374 - i32.store $drop=, 124($5), $6 - i32.store $drop=, 120($5), $9 + i32.const $push975=, 1 + i32.add $push974=, $7, $pop975 + tee_local $push973=, $7=, $pop974 + i32.const $push972=, 31 + i32.lt_s $push493=, $pop973, $pop972 + br_if 0, $pop493 # 0: up to label32 +# BB#108: # %for.end206 + end_loop # label33: + i32.const $push599=, 120 + i32.add $push600=, $6, $pop599 + i32.const $push494=, 28 + i32.add $push497=, $pop600, $pop494 + i32.const $push986=, 28 + i32.add $push495=, $5, $pop986 + i32.load $push496=, 0($pop495):p2align=0 + i32.store $drop=, 0($pop497), $pop496 + i32.const $push601=, 120 + i32.add $push602=, $6, $pop601 + i32.const $push985=, 24 + i32.add $push500=, $pop602, $pop985 + i32.const $push984=, 24 + i32.add $push498=, $5, $pop984 + i32.load $push499=, 0($pop498):p2align=0 + i32.store $drop=, 0($pop500), $pop499 + i32.const $push603=, 120 + i32.add $push604=, $6, $pop603 + i32.const $push501=, 20 + i32.add $push504=, $pop604, $pop501 + i32.const $push983=, 20 + i32.add $push502=, $5, $pop983 + i32.load $push503=, 0($pop502):p2align=0 + i32.store $drop=, 0($pop504), $pop503 + i32.const $push605=, 120 + i32.add $push606=, $6, $pop605 + i32.const $push505=, 16 + i32.add $push508=, $pop606, $pop505 + i32.const $push982=, 16 + i32.add $push506=, $5, $pop982 + i32.load $push507=, 0($pop506):p2align=0 + i32.store $drop=, 0($pop508), $pop507 + i32.const $push607=, 120 + i32.add $push608=, $6, $pop607 + i32.const $push509=, 12 + i32.add $push512=, $pop608, $pop509 + i32.const $push981=, 12 + i32.add $push510=, $5, $pop981 + i32.load $push511=, 0($pop510):p2align=0 + i32.store $drop=, 0($pop512), $pop511 + i32.const $push609=, 120 + i32.add $push610=, $6, $pop609 + i32.const $push513=, 8 + i32.add $push516=, $pop610, $pop513 + i32.const $push980=, 8 + i32.add $push514=, $5, $pop980 + i32.load $push515=, 0($pop514):p2align=0 + i32.store $drop=, 0($pop516), $pop515 + i32.const $push517=, 224 + i32.add $push16=, $2, $pop517 + i32.store $3=, 4($6), $pop16 + i32.const $push518=, 4 + i32.add $push519=, $5, $pop518 + i32.load $push520=, 0($pop519):p2align=0 + i32.store $drop=, 124($6), $pop520 + i32.load $push521=, 0($5):p2align=0 + i32.store $drop=, 120($6), $pop521 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_96: # %for.body212 + i32.const $7=, 0 +.LBB1_109: # %for.body212 # =>This Inner Loop Header: Depth=1 - loop # label37: - i32.const $push471=, 120 - i32.add $push472=, $5, $pop471 - i32.add $push378=, $pop472, $6 - i32.load8_s $7=, 0($pop378) + loop # label35: + i32.const $push611=, 120 + i32.add $push612=, $6, $pop611 + i32.add $push523=, $pop612, $7 + i32.load8_s $8=, 0($pop523) block - i32.const $push700=, 32 - i32.eq $push379=, $9, $pop700 - br_if 0, $pop379 # 0: down to label39 -# BB#97: # %if.then.i538 - # in Loop: Header=BB1_96 Depth=1 - i32.ne $push380=, $0, $9 - br_if 3, $pop380 # 3: down to label8 -# BB#98: # %if.end.i540 - # in Loop: Header=BB1_96 Depth=1 - i32.const $0=, 0 + i32.const $push987=, 32 + i32.eq $push522=, $9, $pop987 + br_if 0, $pop522 # 0: down to label37 +# BB#110: # %if.then.i538 + # in Loop: Header=BB1_109 Depth=1 + i32.ne $push524=, $0, $9 + br_if 3, $pop524 # 3: down to label10 +# BB#111: # %if.end.i540 + # in Loop: Header=BB1_109 Depth=1 i32.const $1=, 32 - i32.const $push703=, 0 - i32.const $push702=, 0 - i32.store $push10=, bar.lastc($pop703), $pop702 - i32.const $push701=, 32 - i32.store $drop=, bar.lastn($pop10), $pop701 -.LBB1_99: # %if.end3.i545 - # in Loop: Header=BB1_96 Depth=1 - end_block # label39: - i32.const $push705=, 24 - i32.shl $push381=, $0, $pop705 - i32.const $push704=, 24 - i32.shr_s $push382=, $pop381, $pop704 - i32.ne $push383=, $pop382, $7 - br_if 2, $pop383 # 2: down to label8 -# BB#100: # %bar.exit548 - # in Loop: Header=BB1_96 Depth=1 - i32.const $push709=, 1 - i32.add $0=, $0, $pop709 - i32.const $push708=, 0 - i32.store $drop=, bar.lastc($pop708), $0 - i32.const $push707=, 1 - i32.add $6=, $6, $pop707 + i32.const $0=, 0 + i32.const $push991=, 0 + i32.const $push990=, 32 + i32.store $drop=, bar.lastn($pop991), $pop990 + i32.const $push989=, 0 + i32.const $push988=, 0 + i32.store $drop=, bar.lastc($pop989), $pop988 +.LBB1_112: # %if.end3.i545 + # in Loop: Header=BB1_109 Depth=1 + end_block # label37: + i32.const $push993=, 24 + i32.shl $push525=, $0, $pop993 + i32.const $push992=, 24 + i32.shr_s $push526=, $pop525, $pop992 + i32.ne $push527=, $pop526, $8 + br_if 2, $pop527 # 2: down to label10 +# BB#113: # %bar.exit548 + # in Loop: Header=BB1_109 Depth=1 + i32.const $push1001=, 0 + i32.const $push1000=, 1 + i32.add $push999=, $0, $pop1000 + tee_local $push998=, $0=, $pop999 + i32.store $drop=, bar.lastc($pop1001), $pop998 i32.const $9=, 32 - i32.const $push706=, 32 - i32.lt_s $push384=, $6, $pop706 - br_if 0, $pop384 # 0: up to label37 -# BB#101: # %for.end218 - end_loop # label38: - i32.const $push385=, 260 - i32.add $push27=, $10, $pop385 - i32.store $4=, 4($5), $pop27 - i32.const $push473=, 80 - i32.add $push474=, $5, $pop473 - i32.const $push710=, 35 - i32.call $drop=, memcpy@FUNCTION, $pop474, $2, $pop710 + i32.const $push997=, 1 + i32.add $push996=, $7, $pop997 + tee_local $push995=, $7=, $pop996 + i32.const $push994=, 32 + i32.lt_s $push528=, $pop995, $pop994 + br_if 0, $pop528 # 0: up to label35 +# BB#114: # %for.end218 + end_loop # label36: + i32.const $push529=, 260 + i32.add $push17=, $2, $pop529 + i32.store $5=, 4($6), $pop17 + i32.const $push613=, 80 + i32.add $push614=, $6, $pop613 + i32.const $push1002=, 35 + i32.call $drop=, memcpy@FUNCTION, $pop614, $3, $pop1002 copy_local $9=, $1 - i32.const $6=, 0 -.LBB1_102: # %for.body224 + i32.const $7=, 0 +.LBB1_115: # %for.body224 # =>This Inner Loop Header: Depth=1 - loop # label40: - i32.const $push475=, 80 - i32.add $push476=, $5, $pop475 - i32.add $push386=, $pop476, $6 - i32.load8_s $7=, 0($pop386) + loop # label38: + i32.const $push615=, 80 + i32.add $push616=, $6, $pop615 + i32.add $push531=, $pop616, $7 + i32.load8_s $8=, 0($pop531) block - i32.const $push711=, 35 - i32.eq $push387=, $9, $pop711 - br_if 0, $pop387 # 0: down to label42 -# BB#103: # %if.then.i552 - # in Loop: Header=BB1_102 Depth=1 - i32.ne $push388=, $0, $9 - br_if 3, $pop388 # 3: down to label8 -# BB#104: # %if.end.i554 - # in Loop: Header=BB1_102 Depth=1 - i32.const $0=, 0 + i32.const $push1003=, 35 + i32.eq $push530=, $9, $pop1003 + br_if 0, $pop530 # 0: down to label40 +# BB#116: # %if.then.i552 + # in Loop: Header=BB1_115 Depth=1 + i32.ne $push532=, $0, $9 + br_if 3, $pop532 # 3: down to label10 +# BB#117: # %if.end.i554 + # in Loop: Header=BB1_115 Depth=1 i32.const $1=, 35 - i32.const $push714=, 0 - i32.const $push713=, 0 - i32.store $push11=, bar.lastc($pop714), $pop713 - i32.const $push712=, 35 - i32.store $drop=, bar.lastn($pop11), $pop712 -.LBB1_105: # %if.end3.i559 - # in Loop: Header=BB1_102 Depth=1 - end_block # label42: - i32.const $push717=, 24 - i32.shl $push389=, $0, $pop717 - i32.const $push716=, 24 - i32.shr_s $push390=, $pop389, $pop716 - i32.const $push715=, 24 - i32.xor $push391=, $pop390, $pop715 - i32.ne $push392=, $pop391, $7 - br_if 2, $pop392 # 2: down to label8 -# BB#106: # %bar.exit562 - # in Loop: Header=BB1_102 Depth=1 - i32.const $push721=, 1 - i32.add $0=, $0, $pop721 - i32.const $push720=, 0 - i32.store $drop=, bar.lastc($pop720), $0 - i32.const $push719=, 1 - i32.add $6=, $6, $pop719 + i32.const $0=, 0 + i32.const $push1007=, 0 + i32.const $push1006=, 35 + i32.store $drop=, bar.lastn($pop1007), $pop1006 + i32.const $push1005=, 0 + i32.const $push1004=, 0 + i32.store $drop=, bar.lastc($pop1005), $pop1004 +.LBB1_118: # %if.end3.i559 + # in Loop: Header=BB1_115 Depth=1 + end_block # label40: + i32.const $push1010=, 24 + i32.shl $push533=, $0, $pop1010 + i32.const $push1009=, 24 + i32.shr_s $push534=, $pop533, $pop1009 + i32.const $push1008=, 24 + i32.xor $push535=, $pop534, $pop1008 + i32.ne $push536=, $pop535, $8 + br_if 2, $pop536 # 2: down to label10 +# BB#119: # %bar.exit562 + # in Loop: Header=BB1_115 Depth=1 + i32.const $push1018=, 0 + i32.const $push1017=, 1 + i32.add $push1016=, $0, $pop1017 + tee_local $push1015=, $0=, $pop1016 + i32.store $drop=, bar.lastc($pop1018), $pop1015 i32.const $9=, 35 - i32.const $push718=, 35 - i32.lt_s $push393=, $6, $pop718 - br_if 0, $pop393 # 0: up to label40 -# BB#107: # %for.end230 - end_loop # label41: - i32.const $push394=, 332 - i32.add $push395=, $10, $pop394 - i32.store $drop=, 4($5), $pop395 - i32.const $push477=, 8 - i32.add $push478=, $5, $pop477 - i32.const $push722=, 72 - i32.call $drop=, memcpy@FUNCTION, $pop478, $4, $pop722 - i32.const $6=, 0 -.LBB1_108: # %for.body236 + i32.const $push1014=, 1 + i32.add $push1013=, $7, $pop1014 + tee_local $push1012=, $7=, $pop1013 + i32.const $push1011=, 35 + i32.lt_s $push537=, $pop1012, $pop1011 + br_if 0, $pop537 # 0: up to label38 +# BB#120: # %for.end230 + end_loop # label39: + i32.const $push538=, 332 + i32.add $push539=, $2, $pop538 + i32.store $drop=, 4($6), $pop539 + i32.const $push617=, 8 + i32.add $push618=, $6, $pop617 + i32.const $push1019=, 72 + i32.call $drop=, memcpy@FUNCTION, $pop618, $5, $pop1019 + i32.const $7=, 0 +.LBB1_121: # %for.body236 # =>This Inner Loop Header: Depth=1 - loop # label43: - i32.const $push479=, 8 - i32.add $push480=, $5, $pop479 - i32.add $push396=, $pop480, $6 - i32.load8_s $9=, 0($pop396) + loop # label41: + i32.const $push619=, 8 + i32.add $push620=, $6, $pop619 + i32.add $push541=, $pop620, $7 + i32.load8_s $9=, 0($pop541) block - i32.const $push723=, 72 - i32.eq $push397=, $1, $pop723 - br_if 0, $pop397 # 0: down to label45 -# BB#109: # %if.then.i566 - # in Loop: Header=BB1_108 Depth=1 - i32.ne $push398=, $0, $1 - br_if 3, $pop398 # 3: down to label8 -# BB#110: # %if.end.i568 - # in Loop: Header=BB1_108 Depth=1 + i32.const $push1020=, 72 + i32.eq $push540=, $1, $pop1020 + br_if 0, $pop540 # 0: down to label43 +# BB#122: # %if.then.i566 + # in Loop: Header=BB1_121 Depth=1 + i32.ne $push542=, $0, $1 + br_if 3, $pop542 # 3: down to label10 +# BB#123: # %if.end.i568 + # in Loop: Header=BB1_121 Depth=1 i32.const $0=, 0 - i32.const $push726=, 0 - i32.const $push725=, 0 - i32.store $push12=, bar.lastc($pop726), $pop725 - i32.const $push724=, 72 - i32.store $drop=, bar.lastn($pop12), $pop724 -.LBB1_111: # %if.end3.i573 - # in Loop: Header=BB1_108 Depth=1 - end_block # label45: - i32.const $push729=, 24 - i32.shl $push399=, $0, $pop729 - i32.const $push728=, 24 - i32.shr_s $push400=, $pop399, $pop728 - i32.const $push727=, 64 - i32.xor $push401=, $pop400, $pop727 - i32.ne $push402=, $pop401, $9 - br_if 2, $pop402 # 2: down to label8 -# BB#112: # %bar.exit576 - # in Loop: Header=BB1_108 Depth=1 - i32.const $push733=, 1 - i32.add $0=, $0, $pop733 - i32.const $push732=, 0 - i32.store $drop=, bar.lastc($pop732), $0 - i32.const $push731=, 1 - i32.add $6=, $6, $pop731 + i32.const $push1024=, 0 + i32.const $push1023=, 72 + i32.store $drop=, bar.lastn($pop1024), $pop1023 + i32.const $push1022=, 0 + i32.const $push1021=, 0 + i32.store $drop=, bar.lastc($pop1022), $pop1021 +.LBB1_124: # %if.end3.i573 + # in Loop: Header=BB1_121 Depth=1 + end_block # label43: + i32.const $push1027=, 24 + i32.shl $push543=, $0, $pop1027 + i32.const $push1026=, 24 + i32.shr_s $push544=, $pop543, $pop1026 + i32.const $push1025=, 64 + i32.xor $push545=, $pop544, $pop1025 + i32.ne $push546=, $pop545, $9 + br_if 2, $pop546 # 2: down to label10 +# BB#125: # %bar.exit576 + # in Loop: Header=BB1_121 Depth=1 + i32.const $push1035=, 0 + i32.const $push1034=, 1 + i32.add $push1033=, $0, $pop1034 + tee_local $push1032=, $0=, $pop1033 + i32.store $drop=, bar.lastc($pop1035), $pop1032 i32.const $1=, 72 - i32.const $push730=, 72 - i32.lt_s $push403=, $6, $pop730 - br_if 0, $pop403 # 0: up to label43 -# BB#113: # %for.end242 - end_loop # label44: - i32.const $push410=, __stack_pointer - i32.const $push408=, 352 - i32.add $push409=, $5, $pop408 - i32.store $drop=, 0($pop410), $pop409 + i32.const $push1031=, 1 + i32.add $push1030=, $7, $pop1031 + tee_local $push1029=, $7=, $pop1030 + i32.const $push1028=, 72 + i32.lt_s $push547=, $pop1029, $pop1028 + br_if 0, $pop547 # 0: up to label41 +# BB#126: # %for.end242 + end_loop # label42: + i32.const $push554=, 0 + i32.const $push552=, 352 + i32.add $push553=, $6, $pop552 + i32.store $drop=, __stack_pointer($pop554), $pop553 return -.LBB1_114: # %if.then7.i322 +.LBB1_127: # %if.then7.i322 + end_block # label10: + call abort@FUNCTION + unreachable +.LBB1_128: # %if.then7.i434 + end_block # label9: + call abort@FUNCTION + unreachable +.LBB1_129: # %if.then7.i420 end_block # label8: call abort@FUNCTION unreachable -.LBB1_115: # %if.then7.i406 +.LBB1_130: # %if.then7.i406 end_block # label7: call abort@FUNCTION unreachable -.LBB1_116: # %if.then7.i392 +.LBB1_131: # %if.then7.i392 end_block # label6: call abort@FUNCTION unreachable -.LBB1_117: # %if.then7.i378 +.LBB1_132: # %if.then7.i378 end_block # label5: call abort@FUNCTION unreachable -.LBB1_118: # %if.then7.i364 +.LBB1_133: # %if.then7.i364 end_block # label4: call abort@FUNCTION unreachable -.LBB1_119: # %if.then7.i350 +.LBB1_134: # %if.then7.i350 end_block # label3: call abort@FUNCTION unreachable -.LBB1_120: # %if.then7.i336 +.LBB1_135: # %if.then7.i336 end_block # label2: call abort@FUNCTION unreachable @@ -1445,682 +1697,685 @@ foo: # @foo .type main,@function main: # @main .result i32 - .local i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push286=, __stack_pointer - i32.const $push283=, __stack_pointer - i32.load $push284=, 0($pop283) - i32.const $push285=, 768 - i32.sub $push413=, $pop284, $pop285 - i32.store $push415=, 0($pop286), $pop413 - tee_local $push414=, $2=, $pop415 - i32.const $push28=, 4368 - i32.store16 $drop=, 760($pop414), $pop28 - i32.const $push29=, 24 - i32.store8 $drop=, 752($2), $pop29 - i32.const $push30=, 25 - i32.store8 $drop=, 753($2), $pop30 - i32.const $push31=, 26 - i32.store8 $drop=, 754($2), $pop31 - i32.const $push32=, 32 - i32.store8 $drop=, 744($2), $pop32 - i32.const $push33=, 33 - i32.store8 $drop=, 745($2), $pop33 - i32.const $push34=, 34 - i32.store8 $drop=, 746($2), $pop34 - i32.const $push35=, 35 - i32.store8 $drop=, 747($2), $pop35 - i32.const $push36=, 40 - i32.store8 $drop=, 736($2), $pop36 - i32.const $push37=, 41 - i32.store8 $drop=, 737($2), $pop37 - i32.const $push38=, 42 - i32.store8 $drop=, 738($2), $pop38 - i32.const $push39=, 43 - i32.store8 $drop=, 739($2), $pop39 - i32.const $push40=, 44 - i32.store8 $drop=, 740($2), $pop40 - i32.const $push41=, 48 - i32.store8 $drop=, 728($2), $pop41 - i32.const $push42=, 49 - i32.store8 $drop=, 729($2), $pop42 - i32.const $push43=, 50 - i32.store8 $drop=, 730($2), $pop43 - i32.const $push44=, 51 - i32.store8 $drop=, 731($2), $pop44 - i32.const $push45=, 52 - i32.store8 $drop=, 732($2), $pop45 - i32.const $push46=, 53 - i32.store8 $drop=, 733($2), $pop46 - i32.const $push47=, 56 - i32.store8 $drop=, 720($2), $pop47 - i32.const $push48=, 57 - i32.store8 $drop=, 721($2), $pop48 - i32.const $push49=, 58 - i32.store8 $drop=, 722($2), $pop49 - i32.const $push50=, 59 - i32.store8 $drop=, 723($2), $pop50 - i32.const $push51=, 60 - i32.store8 $drop=, 724($2), $pop51 - i32.const $push52=, 61 - i32.store8 $drop=, 725($2), $pop52 - i32.const $push53=, 62 - i32.store8 $drop=, 726($2), $pop53 - i32.const $push55=, 65 - i32.store8 $drop=, 713($2), $pop55 - i32.const $push56=, 66 - i32.store8 $drop=, 714($2), $pop56 - i32.const $push57=, 67 - i32.store8 $drop=, 715($2), $pop57 - i32.const $push58=, 68 - i32.store8 $drop=, 716($2), $pop58 - i32.const $push59=, 69 - i32.store8 $drop=, 717($2), $pop59 - i32.const $push60=, 70 - i32.store8 $drop=, 718($2), $pop60 - i32.const $push61=, 71 - i32.store8 $drop=, 719($2), $pop61 - i32.const $push62=, 72 - i32.store8 $drop=, 696($2), $pop62 - i32.const $push63=, 73 - i32.store8 $drop=, 697($2), $pop63 - i32.const $push64=, 74 - i32.store8 $drop=, 698($2), $pop64 - i32.const $push65=, 75 - i32.store8 $drop=, 699($2), $pop65 - i32.const $push66=, 76 - i32.store8 $drop=, 700($2), $pop66 - i32.const $push67=, 77 - i32.store8 $drop=, 701($2), $pop67 - i32.const $push68=, 78 - i32.store8 $drop=, 702($2), $pop68 - i32.const $push69=, 79 - i32.store8 $drop=, 703($2), $pop69 - i32.const $push54=, 64 - i32.store8 $push0=, 712($2), $pop54 - i32.store8 $drop=, 704($2), $pop0 - i32.const $push73=, 83 - i32.store8 $drop=, 683($2), $pop73 - i32.const $push74=, 84 - i32.store8 $drop=, 684($2), $pop74 - i32.const $push75=, 85 - i32.store8 $drop=, 685($2), $pop75 - i32.const $push76=, 86 - i32.store8 $drop=, 686($2), $pop76 - i32.const $push77=, 87 - i32.store8 $drop=, 687($2), $pop77 - i32.const $push78=, 88 - i32.store8 $push4=, 688($2), $pop78 - i32.store8 $drop=, 664($2), $pop4 - i32.const $push79=, 89 - i32.store8 $push5=, 689($2), $pop79 - i32.store8 $drop=, 665($2), $pop5 - i32.const $push80=, 90 - i32.store8 $drop=, 666($2), $pop80 - i32.const $push81=, 91 - i32.store8 $drop=, 667($2), $pop81 - i32.const $push82=, 92 - i32.store8 $drop=, 668($2), $pop82 - i32.const $push83=, 93 - i32.store8 $drop=, 669($2), $pop83 - i32.const $push84=, 94 - i32.store8 $drop=, 670($2), $pop84 - i32.const $push85=, 95 - i32.store8 $drop=, 671($2), $pop85 - i32.const $push70=, 80 - i32.store8 $push1=, 680($2), $pop70 - i32.store8 $drop=, 672($2), $pop1 - i32.const $push71=, 81 - i32.store8 $push2=, 681($2), $pop71 - i32.store8 $drop=, 673($2), $pop2 - i32.const $push72=, 82 - i32.store8 $push3=, 682($2), $pop72 - i32.store8 $drop=, 674($2), $pop3 - i32.const $push91=, 101 - i32.store8 $drop=, 653($2), $pop91 - i32.const $push92=, 102 - i32.store8 $drop=, 654($2), $pop92 - i32.const $push93=, 103 - i32.store8 $drop=, 655($2), $pop93 - i32.const $push94=, 104 - i32.store8 $push11=, 656($2), $pop94 - i32.store8 $drop=, 632($2), $pop11 - i32.const $push95=, 105 - i32.store8 $push12=, 657($2), $pop95 - i32.store8 $drop=, 633($2), $pop12 - i32.const $push96=, 106 - i32.store8 $push13=, 658($2), $pop96 - i32.store8 $drop=, 634($2), $pop13 - i32.const $push97=, 107 - i32.store8 $push14=, 659($2), $pop97 - i32.store8 $drop=, 635($2), $pop14 - i32.const $push98=, 108 - i32.store8 $drop=, 636($2), $pop98 - i32.const $push99=, 109 - i32.store8 $drop=, 637($2), $pop99 - i32.const $push100=, 110 - i32.store8 $drop=, 638($2), $pop100 - i32.const $push101=, 111 - i32.store8 $drop=, 639($2), $pop101 - i32.const $push86=, 96 - i32.store8 $push6=, 648($2), $pop86 - i32.store8 $drop=, 640($2), $pop6 - i32.const $push87=, 97 - i32.store8 $push7=, 649($2), $pop87 - i32.store8 $drop=, 641($2), $pop7 - i32.const $push88=, 98 - i32.store8 $push8=, 650($2), $pop88 - i32.store8 $drop=, 642($2), $pop8 - i32.const $push89=, 99 - i32.store8 $push9=, 651($2), $pop89 - i32.store8 $drop=, 643($2), $pop9 - i32.const $push90=, 100 - i32.store8 $push10=, 652($2), $pop90 - i32.store8 $drop=, 644($2), $pop10 - i32.const $push109=, 119 - i32.store8 $drop=, 623($2), $pop109 - i32.const $push110=, 120 - i32.store8 $push22=, 624($2), $pop110 - i32.store8 $drop=, 600($2), $pop22 - i32.const $push111=, 121 - i32.store8 $push23=, 625($2), $pop111 - i32.store8 $drop=, 601($2), $pop23 - i32.const $push112=, 122 - i32.store8 $push24=, 626($2), $pop112 - i32.store8 $drop=, 602($2), $pop24 - i32.const $push113=, 123 - i32.store8 $push25=, 627($2), $pop113 - i32.store8 $drop=, 603($2), $pop25 - i32.const $push114=, 124 - i32.store8 $push26=, 628($2), $pop114 - i32.store8 $drop=, 604($2), $pop26 - i32.const $push115=, 125 - i32.store8 $push27=, 629($2), $pop115 - i32.store8 $drop=, 605($2), $pop27 - i32.const $push116=, 126 - i32.store8 $drop=, 606($2), $pop116 - i32.const $push117=, 127 - i32.store8 $drop=, 607($2), $pop117 - i32.const $push102=, 112 - i32.store8 $push15=, 616($2), $pop102 - i32.store8 $drop=, 608($2), $pop15 - i32.const $push103=, 113 - i32.store8 $push16=, 617($2), $pop103 - i32.store8 $drop=, 609($2), $pop16 - i32.const $push104=, 114 - i32.store8 $push17=, 618($2), $pop104 - i32.store8 $drop=, 610($2), $pop17 - i32.const $push105=, 115 - i32.store8 $push18=, 619($2), $pop105 - i32.store8 $drop=, 611($2), $pop18 - i32.const $push106=, 116 - i32.store8 $push19=, 620($2), $pop106 - i32.store8 $drop=, 612($2), $pop19 - i32.const $push107=, 117 - i32.store8 $push20=, 621($2), $pop107 - i32.store8 $drop=, 613($2), $pop20 - i32.const $push108=, 118 - i32.store8 $push21=, 622($2), $pop108 - i32.store8 $drop=, 614($2), $pop21 - i32.const $push118=, 128 - i32.store8 $drop=, 584($2), $pop118 - i32.const $push119=, 129 - i32.store8 $drop=, 585($2), $pop119 - i32.const $push120=, 130 - i32.store8 $drop=, 586($2), $pop120 - i32.const $push121=, 131 - i32.store8 $drop=, 587($2), $pop121 - i32.const $push122=, 132 - i32.store8 $drop=, 588($2), $pop122 - i32.const $push123=, 133 - i32.store8 $drop=, 589($2), $pop123 - i32.const $push124=, 134 - i32.store8 $drop=, 590($2), $pop124 - i32.const $push125=, 135 - i32.store8 $drop=, 591($2), $pop125 - i32.const $push126=, 136 - i32.store8 $drop=, 592($2), $pop126 - i32.const $push127=, 137 - i32.store8 $drop=, 593($2), $pop127 - i32.const $push128=, 138 - i32.store8 $drop=, 594($2), $pop128 - i32.const $push129=, 139 - i32.store8 $drop=, 595($2), $pop129 - i32.const $push130=, 140 - i32.store8 $drop=, 596($2), $pop130 - i32.const $push131=, 141 - i32.store8 $drop=, 597($2), $pop131 - i32.const $push132=, 142 - i32.store8 $drop=, 598($2), $pop132 - i32.const $push133=, 143 - i32.store8 $drop=, 599($2), $pop133 - i32.const $1=, 0 + i32.const $push258=, 0 + i32.const $push255=, 0 + i32.load $push256=, __stack_pointer($pop255) + i32.const $push257=, 768 + i32.sub $push385=, $pop256, $pop257 + i32.store $push387=, __stack_pointer($pop258), $pop385 + tee_local $push386=, $12=, $pop387 + i32.const $push0=, 4368 + i32.store16 $drop=, 760($pop386), $pop0 + i32.const $push1=, 24 + i32.store8 $drop=, 752($12), $pop1 + i32.const $push2=, 25 + i32.store8 $drop=, 753($12), $pop2 + i32.const $push3=, 26 + i32.store8 $drop=, 754($12), $pop3 + i32.const $push4=, 32 + i32.store8 $drop=, 744($12), $pop4 + i32.const $push5=, 33 + i32.store8 $drop=, 745($12), $pop5 + i32.const $push6=, 34 + i32.store8 $drop=, 746($12), $pop6 + i32.const $push7=, 40 + i32.store8 $drop=, 736($12), $pop7 + i32.const $push8=, 35 + i32.store8 $drop=, 747($12), $pop8 + i32.const $push9=, 41 + i32.store8 $drop=, 737($12), $pop9 + i32.const $push10=, 42 + i32.store8 $drop=, 738($12), $pop10 + i32.const $push11=, 43 + i32.store8 $drop=, 739($12), $pop11 + i32.const $push12=, 48 + i32.store8 $drop=, 728($12), $pop12 + i32.const $push13=, 44 + i32.store8 $drop=, 740($12), $pop13 + i32.const $push14=, 49 + i32.store8 $drop=, 729($12), $pop14 + i32.const $push15=, 50 + i32.store8 $drop=, 730($12), $pop15 + i32.const $push16=, 51 + i32.store8 $drop=, 731($12), $pop16 + i32.const $push17=, 52 + i32.store8 $drop=, 732($12), $pop17 + i32.const $push18=, 56 + i32.store8 $drop=, 720($12), $pop18 + i32.const $push19=, 53 + i32.store8 $drop=, 733($12), $pop19 + i32.const $push20=, 57 + i32.store8 $drop=, 721($12), $pop20 + i32.const $push21=, 58 + i32.store8 $drop=, 722($12), $pop21 + i32.const $push22=, 59 + i32.store8 $drop=, 723($12), $pop22 + i32.const $push23=, 60 + i32.store8 $drop=, 724($12), $pop23 + i32.const $push24=, 61 + i32.store8 $drop=, 725($12), $pop24 + i32.const $push25=, 62 + i32.store8 $drop=, 726($12), $pop25 + i32.const $push26=, 64 + i32.store8 $13=, 712($12), $pop26 + i32.const $push27=, 65 + i32.store8 $drop=, 713($12), $pop27 + i32.const $push28=, 66 + i32.store8 $drop=, 714($12), $pop28 + i32.const $push29=, 67 + i32.store8 $drop=, 715($12), $pop29 + i32.const $push30=, 68 + i32.store8 $drop=, 716($12), $pop30 + i32.const $push31=, 69 + i32.store8 $drop=, 717($12), $pop31 + i32.const $push32=, 70 + i32.store8 $drop=, 718($12), $pop32 + i32.const $push33=, 71 + i32.store8 $drop=, 719($12), $pop33 + i32.const $push34=, 72 + i32.store8 $drop=, 696($12), $pop34 + i32.const $push35=, 73 + i32.store8 $drop=, 697($12), $pop35 + i32.const $push36=, 74 + i32.store8 $drop=, 698($12), $pop36 + i32.const $push37=, 75 + i32.store8 $drop=, 699($12), $pop37 + i32.const $push38=, 76 + i32.store8 $drop=, 700($12), $pop38 + i32.const $push39=, 77 + i32.store8 $drop=, 701($12), $pop39 + i32.const $push40=, 78 + i32.store8 $drop=, 702($12), $pop40 + i32.const $push41=, 79 + i32.store8 $drop=, 703($12), $pop41 + i32.store8 $drop=, 704($12), $13 + i32.const $push42=, 80 + i32.store8 $13=, 680($12), $pop42 + i32.const $push43=, 81 + i32.store8 $11=, 681($12), $pop43 + i32.const $push44=, 82 + i32.store8 $0=, 682($12), $pop44 + i32.const $push45=, 83 + i32.store8 $drop=, 683($12), $pop45 + i32.const $push46=, 84 + i32.store8 $drop=, 684($12), $pop46 + i32.const $push47=, 85 + i32.store8 $drop=, 685($12), $pop47 + i32.const $push48=, 86 + i32.store8 $drop=, 686($12), $pop48 + i32.const $push49=, 87 + i32.store8 $drop=, 687($12), $pop49 + i32.const $push50=, 88 + i32.store8 $1=, 688($12), $pop50 + i32.const $push51=, 89 + i32.store8 $2=, 689($12), $pop51 + i32.store8 $drop=, 664($12), $1 + i32.store8 $drop=, 665($12), $2 + i32.const $push52=, 90 + i32.store8 $drop=, 666($12), $pop52 + i32.const $push53=, 91 + i32.store8 $drop=, 667($12), $pop53 + i32.const $push54=, 92 + i32.store8 $drop=, 668($12), $pop54 + i32.const $push55=, 93 + i32.store8 $drop=, 669($12), $pop55 + i32.const $push56=, 94 + i32.store8 $drop=, 670($12), $pop56 + i32.const $push57=, 95 + i32.store8 $drop=, 671($12), $pop57 + i32.store8 $drop=, 672($12), $13 + i32.store8 $drop=, 673($12), $11 + i32.store8 $drop=, 674($12), $0 + i32.const $push58=, 96 + i32.store8 $13=, 648($12), $pop58 + i32.const $push59=, 97 + i32.store8 $11=, 649($12), $pop59 + i32.const $push60=, 98 + i32.store8 $0=, 650($12), $pop60 + i32.const $push61=, 99 + i32.store8 $1=, 651($12), $pop61 + i32.const $push62=, 100 + i32.store8 $2=, 652($12), $pop62 + i32.const $push63=, 101 + i32.store8 $drop=, 653($12), $pop63 + i32.const $push64=, 102 + i32.store8 $drop=, 654($12), $pop64 + i32.const $push65=, 103 + i32.store8 $drop=, 655($12), $pop65 + i32.const $push66=, 104 + i32.store8 $3=, 656($12), $pop66 + i32.const $push67=, 105 + i32.store8 $4=, 657($12), $pop67 + i32.const $push68=, 106 + i32.store8 $5=, 658($12), $pop68 + i32.const $push69=, 107 + i32.store8 $6=, 659($12), $pop69 + i32.store8 $drop=, 632($12), $3 + i32.store8 $drop=, 633($12), $4 + i32.store8 $drop=, 634($12), $5 + i32.store8 $drop=, 635($12), $6 + i32.const $push70=, 108 + i32.store8 $drop=, 636($12), $pop70 + i32.const $push71=, 109 + i32.store8 $drop=, 637($12), $pop71 + i32.const $push72=, 110 + i32.store8 $drop=, 638($12), $pop72 + i32.const $push73=, 111 + i32.store8 $drop=, 639($12), $pop73 + i32.store8 $drop=, 640($12), $13 + i32.store8 $drop=, 641($12), $11 + i32.store8 $drop=, 642($12), $0 + i32.store8 $drop=, 643($12), $1 + i32.store8 $drop=, 644($12), $2 + i32.const $push74=, 112 + i32.store8 $13=, 616($12), $pop74 + i32.const $push75=, 113 + i32.store8 $11=, 617($12), $pop75 + i32.const $push76=, 114 + i32.store8 $0=, 618($12), $pop76 + i32.const $push77=, 115 + i32.store8 $1=, 619($12), $pop77 + i32.const $push78=, 116 + i32.store8 $2=, 620($12), $pop78 + i32.const $push79=, 117 + i32.store8 $3=, 621($12), $pop79 + i32.const $push80=, 118 + i32.store8 $4=, 622($12), $pop80 + i32.const $push81=, 119 + i32.store8 $drop=, 623($12), $pop81 + i32.const $push82=, 120 + i32.store8 $5=, 624($12), $pop82 + i32.const $push83=, 121 + i32.store8 $6=, 625($12), $pop83 + i32.const $push84=, 122 + i32.store8 $7=, 626($12), $pop84 + i32.const $push85=, 123 + i32.store8 $8=, 627($12), $pop85 + i32.const $push86=, 124 + i32.store8 $9=, 628($12), $pop86 + i32.const $push87=, 125 + i32.store8 $10=, 629($12), $pop87 + i32.store8 $drop=, 600($12), $5 + i32.store8 $drop=, 601($12), $6 + i32.store8 $drop=, 602($12), $7 + i32.store8 $drop=, 603($12), $8 + i32.store8 $drop=, 604($12), $9 + i32.store8 $drop=, 605($12), $10 + i32.const $push88=, 126 + i32.store8 $drop=, 606($12), $pop88 + i32.const $push89=, 127 + i32.store8 $drop=, 607($12), $pop89 + i32.store8 $drop=, 608($12), $13 + i32.store8 $drop=, 609($12), $11 + i32.store8 $drop=, 610($12), $0 + i32.store8 $drop=, 611($12), $1 + i32.store8 $drop=, 612($12), $2 + i32.store8 $drop=, 613($12), $3 + i32.store8 $drop=, 614($12), $4 + i32.const $push90=, 128 + i32.store8 $drop=, 584($12), $pop90 + i32.const $push91=, 129 + i32.store8 $drop=, 585($12), $pop91 + i32.const $push92=, 130 + i32.store8 $drop=, 586($12), $pop92 + i32.const $push93=, 131 + i32.store8 $drop=, 587($12), $pop93 + i32.const $push94=, 132 + i32.store8 $drop=, 588($12), $pop94 + i32.const $push95=, 133 + i32.store8 $drop=, 589($12), $pop95 + i32.const $push96=, 134 + i32.store8 $drop=, 590($12), $pop96 + i32.const $push97=, 135 + i32.store8 $drop=, 591($12), $pop97 + i32.const $push98=, 136 + i32.store8 $drop=, 592($12), $pop98 + i32.const $push99=, 137 + i32.store8 $drop=, 593($12), $pop99 + i32.const $push100=, 138 + i32.store8 $drop=, 594($12), $pop100 + i32.const $push101=, 139 + i32.store8 $drop=, 595($12), $pop101 + i32.const $push102=, 140 + i32.store8 $drop=, 596($12), $pop102 + i32.const $push103=, 141 + i32.store8 $drop=, 597($12), $pop103 + i32.const $push104=, 142 + i32.store8 $drop=, 598($12), $pop104 + i32.const $push105=, 143 + i32.store8 $drop=, 599($12), $pop105 + i32.const $13=, 0 .LBB2_1: # %for.body180 # =>This Inner Loop Header: Depth=1 - loop # label46: - i32.const $push287=, 552 - i32.add $push288=, $2, $pop287 - i32.add $push135=, $pop288, $1 - i32.const $push418=, 248 - i32.xor $push134=, $1, $pop418 - i32.store8 $drop=, 0($pop135), $pop134 - i32.const $push417=, 1 - i32.add $1=, $1, $pop417 - i32.const $push416=, 31 - i32.ne $push136=, $1, $pop416 - br_if 0, $pop136 # 0: up to label46 + loop # label44: + i32.const $push259=, 552 + i32.add $push260=, $12, $pop259 + i32.add $push107=, $pop260, $13 + i32.const $push392=, 248 + i32.xor $push106=, $13, $pop392 + i32.store8 $drop=, 0($pop107), $pop106 + i32.const $push391=, 1 + i32.add $push390=, $13, $pop391 + tee_local $push389=, $13=, $pop390 + i32.const $push388=, 31 + i32.ne $push108=, $pop389, $pop388 + br_if 0, $pop108 # 0: up to label44 # BB#2: # %for.body191.preheader - end_loop # label47: - i32.const $push137=, 50462976 - i32.store $drop=, 520($2), $pop137 - i32.const $push138=, 1284 - i32.store16 $drop=, 524($2), $pop138 - i32.const $push139=, 151521030 - i32.store $drop=, 526($2):p2align=1, $pop139 - i32.const $push140=, 2826 - i32.store16 $drop=, 530($2), $pop140 - i32.const $push141=, 3340 - i32.store16 $drop=, 532($2), $pop141 - i32.const $push142=, 14 - i32.store8 $drop=, 534($2), $pop142 - i32.const $push143=, 15 - i32.store8 $drop=, 535($2), $pop143 - i32.const $push144=, 16 - i32.store8 $drop=, 536($2), $pop144 - i32.const $push145=, 17 - i32.store8 $drop=, 537($2), $pop145 - i32.const $push146=, 18 - i32.store8 $drop=, 538($2), $pop146 - i32.const $push147=, 19 - i32.store8 $drop=, 539($2), $pop147 - i32.const $push148=, 20 - i32.store8 $drop=, 540($2), $pop148 - i32.const $push149=, 21 - i32.store8 $drop=, 541($2), $pop149 - i32.const $push150=, 22 - i32.store8 $drop=, 542($2), $pop150 - i32.const $push151=, 23 - i32.store8 $drop=, 543($2), $pop151 - i32.const $push153=, 25 - i32.store8 $drop=, 545($2), $pop153 - i32.const $push154=, 26 - i32.store8 $drop=, 546($2), $pop154 - i32.const $push155=, 27 - i32.store8 $drop=, 547($2), $pop155 - i32.const $push156=, 28 - i32.store8 $drop=, 548($2), $pop156 - i32.const $push157=, 29 - i32.store8 $drop=, 549($2), $pop157 - i32.const $push158=, 30 - i32.store8 $drop=, 550($2), $pop158 - i32.const $push159=, 31 - i32.store8 $drop=, 551($2), $pop159 - i32.const $push152=, 24 - i32.store8 $0=, 544($2), $pop152 - i32.const $1=, 0 + end_loop # label45: + i32.const $push109=, 50462976 + i32.store $drop=, 520($12), $pop109 + i32.const $push110=, 1284 + i32.store16 $drop=, 524($12), $pop110 + i32.const $push111=, 151521030 + i32.store $drop=, 526($12):p2align=1, $pop111 + i32.const $push112=, 2826 + i32.store16 $drop=, 530($12), $pop112 + i32.const $push113=, 3340 + i32.store16 $drop=, 532($12), $pop113 + i32.const $push114=, 14 + i32.store8 $drop=, 534($12), $pop114 + i32.const $push115=, 15 + i32.store8 $drop=, 535($12), $pop115 + i32.const $push116=, 16 + i32.store8 $drop=, 536($12), $pop116 + i32.const $push117=, 17 + i32.store8 $drop=, 537($12), $pop117 + i32.const $push118=, 18 + i32.store8 $drop=, 538($12), $pop118 + i32.const $push119=, 19 + i32.store8 $drop=, 539($12), $pop119 + i32.const $push120=, 20 + i32.store8 $drop=, 540($12), $pop120 + i32.const $push121=, 21 + i32.store8 $drop=, 541($12), $pop121 + i32.const $push122=, 22 + i32.store8 $drop=, 542($12), $pop122 + i32.const $push123=, 23 + i32.store8 $drop=, 543($12), $pop123 + i32.const $push124=, 24 + i32.store8 $11=, 544($12), $pop124 + i32.const $push125=, 25 + i32.store8 $drop=, 545($12), $pop125 + i32.const $push126=, 26 + i32.store8 $drop=, 546($12), $pop126 + i32.const $push127=, 27 + i32.store8 $drop=, 547($12), $pop127 + i32.const $push128=, 28 + i32.store8 $drop=, 548($12), $pop128 + i32.const $push129=, 29 + i32.store8 $drop=, 549($12), $pop129 + i32.const $push130=, 30 + i32.store8 $drop=, 550($12), $pop130 + i32.const $push131=, 31 + i32.store8 $drop=, 551($12), $pop131 + i32.const $13=, 0 .LBB2_3: # %for.body202 # =>This Inner Loop Header: Depth=1 - loop # label48: - i32.const $push289=, 480 - i32.add $push290=, $2, $pop289 - i32.add $push161=, $pop290, $1 - i32.xor $push160=, $1, $0 - i32.store8 $drop=, 0($pop161), $pop160 - i32.const $push420=, 1 - i32.add $1=, $1, $pop420 - i32.const $push419=, 35 - i32.ne $push162=, $1, $pop419 - br_if 0, $pop162 # 0: up to label48 + loop # label46: + i32.const $push261=, 480 + i32.add $push262=, $12, $pop261 + i32.add $push133=, $pop262, $13 + i32.xor $push132=, $13, $11 + i32.store8 $drop=, 0($pop133), $pop132 + i32.const $push396=, 1 + i32.add $push395=, $13, $pop396 + tee_local $push394=, $13=, $pop395 + i32.const $push393=, 35 + i32.ne $push134=, $pop394, $pop393 + br_if 0, $pop134 # 0: up to label46 # BB#4: # %for.body213.preheader - end_loop # label49: - i32.const $1=, 0 + end_loop # label47: + i32.const $13=, 0 .LBB2_5: # %for.body213 # =>This Inner Loop Header: Depth=1 - loop # label50: - i32.const $push291=, 408 - i32.add $push292=, $2, $pop291 - i32.add $push164=, $pop292, $1 - i32.const $push423=, 64 - i32.xor $push163=, $1, $pop423 - i32.store8 $drop=, 0($pop164), $pop163 - i32.const $push422=, 1 - i32.add $1=, $1, $pop422 - i32.const $push421=, 72 - i32.ne $push165=, $1, $pop421 - br_if 0, $pop165 # 0: up to label50 + loop # label48: + i32.const $push263=, 408 + i32.add $push264=, $12, $pop263 + i32.add $push136=, $pop264, $13 + i32.const $push401=, 64 + i32.xor $push135=, $13, $pop401 + i32.store8 $drop=, 0($pop136), $pop135 + i32.const $push400=, 1 + i32.add $push399=, $13, $pop400 + tee_local $push398=, $13=, $pop399 + i32.const $push397=, 72 + i32.ne $push137=, $pop398, $pop397 + br_if 0, $pop137 # 0: up to label48 # BB#6: # %for.end220 - end_loop # label51: - i32.const $push166=, 404 - i32.add $push167=, $2, $pop166 - i32.load8_u $push168=, 754($2) - i32.store8 $drop=, 0($pop167), $pop168 - i32.load16_u $push169=, 760($2) - i32.store16 $drop=, 406($2), $pop169 - i32.load16_u $push170=, 752($2) - i32.store16 $drop=, 402($2), $pop170 - i32.load $push171=, 744($2) - i32.store $drop=, 396($2), $pop171 - i32.const $push293=, 388 - i32.add $push294=, $2, $pop293 - i32.const $push172=, 4 - i32.add $push173=, $pop294, $pop172 - i32.load8_u $push174=, 740($2) - i32.store8 $drop=, 0($pop173), $pop174 - i32.load $push175=, 736($2) - i32.store $drop=, 388($2), $pop175 - i32.const $push295=, 380 - i32.add $push296=, $2, $pop295 - i32.const $push455=, 4 - i32.add $push176=, $pop296, $pop455 - i32.load16_u $push177=, 732($2) - i32.store16 $drop=, 0($pop176), $pop177 - i32.load $push178=, 728($2) - i32.store $drop=, 380($2), $pop178 - i32.const $push179=, 378 - i32.add $push180=, $2, $pop179 - i32.load8_u $push181=, 726($2) - i32.store8 $drop=, 0($pop180), $pop181 - i32.const $push297=, 372 - i32.add $push298=, $2, $pop297 - i32.const $push454=, 4 - i32.add $push182=, $pop298, $pop454 - i32.load16_u $push183=, 724($2) - i32.store16 $drop=, 0($pop182), $pop183 - i32.load $push184=, 720($2) - i32.store $drop=, 372($2), $pop184 - i64.load $push185=, 712($2) - i64.store $drop=, 364($2):p2align=2, $pop185 - i32.const $push301=, 352 - i32.add $push302=, $2, $pop301 - i32.const $push186=, 8 - i32.add $push187=, $pop302, $pop186 - i32.const $push299=, 696 - i32.add $push300=, $2, $pop299 - i32.const $push453=, 8 - i32.add $push188=, $pop300, $pop453 - i32.load8_u $push189=, 0($pop188) - i32.store8 $drop=, 0($pop187), $pop189 - i64.load $push190=, 696($2) - i64.store $drop=, 352($2):p2align=2, $pop190 - i32.const $push305=, 340 - i32.add $push306=, $2, $pop305 - i32.const $push452=, 8 - i32.add $push191=, $pop306, $pop452 - i32.const $push303=, 680 - i32.add $push304=, $2, $pop303 - i32.const $push451=, 8 - i32.add $push192=, $pop304, $pop451 - i32.load16_u $push193=, 0($pop192) - i32.store16 $drop=, 0($pop191), $pop193 - i64.load $push194=, 680($2) - i64.store $drop=, 340($2):p2align=2, $pop194 - i32.const $push309=, 328 - i32.add $push310=, $2, $pop309 - i32.const $push195=, 10 - i32.add $push196=, $pop310, $pop195 - i32.const $push307=, 664 - i32.add $push308=, $2, $pop307 - i32.const $push450=, 10 - i32.add $push197=, $pop308, $pop450 - i32.load8_u $push198=, 0($pop197) - i32.store8 $drop=, 0($pop196), $pop198 - i32.const $push313=, 328 - i32.add $push314=, $2, $pop313 - i32.const $push449=, 8 - i32.add $push199=, $pop314, $pop449 - i32.const $push311=, 664 - i32.add $push312=, $2, $pop311 - i32.const $push448=, 8 - i32.add $push200=, $pop312, $pop448 - i32.load16_u $push201=, 0($pop200) - i32.store16 $drop=, 0($pop199), $pop201 - i64.load $push202=, 664($2) - i64.store $drop=, 328($2):p2align=2, $pop202 - i32.const $push317=, 316 - i32.add $push318=, $2, $pop317 - i32.const $push447=, 8 - i32.add $push203=, $pop318, $pop447 - i32.const $push315=, 648 - i32.add $push316=, $2, $pop315 - i32.const $push446=, 8 - i32.add $push204=, $pop316, $pop446 - i32.load $push205=, 0($pop204) - i32.store $drop=, 0($pop203), $pop205 - i64.load $push206=, 648($2) - i64.store $drop=, 316($2):p2align=2, $pop206 - i32.const $push321=, 300 - i32.add $push322=, $2, $pop321 - i32.const $push207=, 12 - i32.add $push208=, $pop322, $pop207 - i32.const $push319=, 632 - i32.add $push320=, $2, $pop319 - i32.const $push445=, 12 - i32.add $push209=, $pop320, $pop445 - i32.load8_u $push210=, 0($pop209) - i32.store8 $drop=, 0($pop208), $pop210 - i32.const $push325=, 300 - i32.add $push326=, $2, $pop325 - i32.const $push444=, 8 - i32.add $push211=, $pop326, $pop444 - i32.const $push323=, 632 - i32.add $push324=, $2, $pop323 - i32.const $push443=, 8 - i32.add $push212=, $pop324, $pop443 - i32.load $push213=, 0($pop212) - i32.store $drop=, 0($pop211), $pop213 - i64.load $push214=, 632($2) - i64.store $drop=, 300($2):p2align=2, $pop214 - i32.const $push329=, 284 - i32.add $push330=, $2, $pop329 - i32.const $push442=, 12 - i32.add $push215=, $pop330, $pop442 - i32.const $push327=, 616 - i32.add $push328=, $2, $pop327 - i32.const $push441=, 12 - i32.add $push216=, $pop328, $pop441 - i32.load16_u $push217=, 0($pop216) - i32.store16 $drop=, 0($pop215), $pop217 - i32.const $push333=, 284 - i32.add $push334=, $2, $pop333 - i32.const $push440=, 8 - i32.add $push218=, $pop334, $pop440 - i32.const $push331=, 616 - i32.add $push332=, $2, $pop331 - i32.const $push439=, 8 - i32.add $push219=, $pop332, $pop439 - i32.load $push220=, 0($pop219) - i32.store $drop=, 0($pop218), $pop220 - i64.load $push221=, 616($2) - i64.store $drop=, 284($2):p2align=2, $pop221 - i32.const $push337=, 268 - i32.add $push338=, $2, $pop337 - i32.const $push222=, 14 - i32.add $push223=, $pop338, $pop222 - i32.const $push335=, 600 - i32.add $push336=, $2, $pop335 - i32.const $push438=, 14 - i32.add $push224=, $pop336, $pop438 - i32.load8_u $push225=, 0($pop224) - i32.store8 $drop=, 0($pop223), $pop225 - i32.const $push341=, 268 - i32.add $push342=, $2, $pop341 - i32.const $push437=, 12 - i32.add $push226=, $pop342, $pop437 - i32.const $push339=, 600 - i32.add $push340=, $2, $pop339 - i32.const $push436=, 12 - i32.add $push227=, $pop340, $pop436 - i32.load16_u $push228=, 0($pop227) - i32.store16 $drop=, 0($pop226), $pop228 - i32.const $push345=, 268 - i32.add $push346=, $2, $pop345 - i32.const $push435=, 8 - i32.add $push229=, $pop346, $pop435 - i32.const $push343=, 600 - i32.add $push344=, $2, $pop343 - i32.const $push434=, 8 - i32.add $push230=, $pop344, $pop434 - i32.load $push231=, 0($pop230) - i32.store $drop=, 0($pop229), $pop231 - i64.load $push232=, 600($2) - i64.store $drop=, 268($2):p2align=2, $pop232 - i32.const $push349=, 252 - i32.add $push350=, $2, $pop349 - i32.const $push433=, 8 - i32.add $push233=, $pop350, $pop433 - i32.const $push347=, 584 - i32.add $push348=, $2, $pop347 - i32.const $push432=, 8 - i32.add $push234=, $pop348, $pop432 - i64.load $push235=, 0($pop234) - i64.store $drop=, 0($pop233):p2align=2, $pop235 - i64.load $push236=, 584($2) - i64.store $drop=, 252($2):p2align=2, $pop236 - i32.const $push351=, 221 - i32.add $push352=, $2, $pop351 - i32.const $push353=, 552 - i32.add $push354=, $2, $pop353 - i32.const $push237=, 31 - i32.call $drop=, memcpy@FUNCTION, $pop352, $pop354, $pop237 - i32.const $push357=, 188 - i32.add $push358=, $2, $pop357 - i32.const $push238=, 24 - i32.add $push239=, $pop358, $pop238 - i32.const $push355=, 520 - i32.add $push356=, $2, $pop355 - i32.const $push431=, 24 - i32.add $push240=, $pop356, $pop431 - i64.load $push241=, 0($pop240) - i64.store $drop=, 0($pop239):p2align=2, $pop241 - i32.const $push361=, 188 - i32.add $push362=, $2, $pop361 - i32.const $push242=, 16 - i32.add $push243=, $pop362, $pop242 - i32.const $push359=, 520 - i32.add $push360=, $2, $pop359 - i32.const $push430=, 16 - i32.add $push244=, $pop360, $pop430 - i64.load $push245=, 0($pop244) - i64.store $drop=, 0($pop243):p2align=2, $pop245 - i32.const $push365=, 188 - i32.add $push366=, $2, $pop365 + end_loop # label49: + i32.const $push138=, 404 + i32.add $push139=, $12, $pop138 + i32.load8_u $push140=, 754($12) + i32.store8 $drop=, 0($pop139), $pop140 + i32.load16_u $push141=, 760($12) + i32.store16 $drop=, 406($12), $pop141 + i32.load16_u $push142=, 752($12) + i32.store16 $drop=, 402($12), $pop142 + i32.load $push143=, 744($12) + i32.store $drop=, 396($12), $pop143 + i32.const $push265=, 388 + i32.add $push266=, $12, $pop265 + i32.const $push144=, 4 + i32.add $push145=, $pop266, $pop144 + i32.load8_u $push146=, 740($12) + i32.store8 $drop=, 0($pop145), $pop146 + i32.load $push147=, 736($12) + i32.store $drop=, 388($12), $pop147 + i32.const $push267=, 380 + i32.add $push268=, $12, $pop267 + i32.const $push433=, 4 + i32.add $push148=, $pop268, $pop433 + i32.load16_u $push149=, 732($12) + i32.store16 $drop=, 0($pop148), $pop149 + i32.load $push150=, 728($12) + i32.store $drop=, 380($12), $pop150 + i32.const $push151=, 378 + i32.add $push152=, $12, $pop151 + i32.load8_u $push153=, 726($12) + i32.store8 $drop=, 0($pop152), $pop153 + i32.const $push269=, 372 + i32.add $push270=, $12, $pop269 + i32.const $push432=, 4 + i32.add $push154=, $pop270, $pop432 + i32.load16_u $push155=, 724($12) + i32.store16 $drop=, 0($pop154), $pop155 + i32.load $push156=, 720($12) + i32.store $drop=, 372($12), $pop156 + i64.load $push157=, 712($12) + i64.store $drop=, 364($12):p2align=2, $pop157 + i32.const $push271=, 352 + i32.add $push272=, $12, $pop271 + i32.const $push158=, 8 + i32.add $push159=, $pop272, $pop158 + i32.const $push273=, 696 + i32.add $push274=, $12, $pop273 + i32.const $push431=, 8 + i32.add $push160=, $pop274, $pop431 + i32.load8_u $push161=, 0($pop160) + i32.store8 $drop=, 0($pop159), $pop161 + i64.load $push162=, 696($12) + i64.store $drop=, 352($12):p2align=2, $pop162 + i32.const $push275=, 340 + i32.add $push276=, $12, $pop275 + i32.const $push430=, 8 + i32.add $push163=, $pop276, $pop430 + i32.const $push277=, 680 + i32.add $push278=, $12, $pop277 i32.const $push429=, 8 - i32.add $push246=, $pop366, $pop429 - i32.const $push363=, 520 - i32.add $push364=, $2, $pop363 - i32.const $push428=, 8 - i32.add $push247=, $pop364, $pop428 - i64.load $push248=, 0($pop247) - i64.store $drop=, 0($pop246):p2align=2, $pop248 - i64.load $push249=, 520($2) - i64.store $drop=, 188($2):p2align=2, $pop249 - i32.const $push367=, 153 - i32.add $push368=, $2, $pop367 - i32.const $push369=, 480 - i32.add $push370=, $2, $pop369 - i32.const $push250=, 35 - i32.call $drop=, memcpy@FUNCTION, $pop368, $pop370, $pop250 - i32.const $push371=, 81 - i32.add $push372=, $2, $pop371 - i32.const $push373=, 408 - i32.add $push374=, $2, $pop373 - i32.const $push251=, 72 - i32.call $drop=, memcpy@FUNCTION, $pop372, $pop374, $pop251 - i32.const $push252=, 76 - i32.add $push253=, $2, $pop252 - i32.const $push375=, 81 - i32.add $push376=, $2, $pop375 - i32.store $drop=, 0($pop253), $pop376 - i32.const $push427=, 72 - i32.add $push254=, $2, $pop427 - i32.const $push377=, 153 - i32.add $push378=, $2, $pop377 - i32.store $drop=, 0($pop254), $pop378 - i32.const $push255=, 68 - i32.add $push256=, $2, $pop255 - i32.const $push379=, 188 - i32.add $push380=, $2, $pop379 - i32.store $drop=, 0($pop256), $pop380 - i32.const $push257=, 64 - i32.add $push258=, $2, $pop257 - i32.const $push381=, 221 - i32.add $push382=, $2, $pop381 - i32.store $drop=, 0($pop258), $pop382 - i32.const $push259=, 60 - i32.add $push260=, $2, $pop259 - i32.const $push383=, 252 - i32.add $push384=, $2, $pop383 - i32.store $drop=, 0($pop260), $pop384 - i32.const $push261=, 56 - i32.add $push262=, $2, $pop261 - i32.const $push385=, 268 - i32.add $push386=, $2, $pop385 - i32.store $drop=, 0($pop262), $pop386 - i32.const $push263=, 52 - i32.add $push264=, $2, $pop263 - i32.const $push387=, 284 - i32.add $push388=, $2, $pop387 - i32.store $drop=, 0($pop264), $pop388 - i32.const $push265=, 48 - i32.add $push266=, $2, $pop265 - i32.const $push389=, 300 - i32.add $push390=, $2, $pop389 - i32.store $drop=, 0($pop266), $pop390 - i32.const $push267=, 44 - i32.add $push268=, $2, $pop267 - i32.const $push391=, 316 - i32.add $push392=, $2, $pop391 - i32.store $drop=, 0($pop268), $pop392 - i32.const $push269=, 40 - i32.add $push270=, $2, $pop269 - i32.const $push393=, 328 - i32.add $push394=, $2, $pop393 - i32.store $drop=, 0($pop270), $pop394 - i32.const $push271=, 36 - i32.add $push272=, $2, $pop271 - i32.const $push395=, 340 - i32.add $push396=, $2, $pop395 - i32.store $drop=, 0($pop272), $pop396 - i32.const $push273=, 32 - i32.add $push274=, $2, $pop273 - i32.const $push397=, 352 - i32.add $push398=, $2, $pop397 - i32.store $drop=, 0($pop274), $pop398 - i32.const $push275=, 28 - i32.add $push276=, $2, $pop275 - i32.const $push399=, 364 - i32.add $push400=, $2, $pop399 - i32.store $drop=, 0($pop276), $pop400 - i32.const $push426=, 24 - i32.add $push277=, $2, $pop426 - i32.const $push401=, 372 - i32.add $push402=, $2, $pop401 - i32.store $drop=, 0($pop277), $pop402 - i32.const $push278=, 20 - i32.add $push279=, $2, $pop278 - i32.const $push403=, 380 - i32.add $push404=, $2, $pop403 - i32.store $drop=, 0($pop279), $pop404 - i32.const $push425=, 16 - i32.add $push280=, $2, $pop425 - i32.const $push405=, 388 - i32.add $push406=, $2, $pop405 - i32.store $drop=, 0($pop280), $pop406 + i32.add $push164=, $pop278, $pop429 + i32.load16_u $push165=, 0($pop164) + i32.store16 $drop=, 0($pop163), $pop165 + i64.load $push166=, 680($12) + i64.store $drop=, 340($12):p2align=2, $pop166 + i32.const $push279=, 328 + i32.add $push280=, $12, $pop279 + i32.const $push167=, 10 + i32.add $push168=, $pop280, $pop167 + i32.const $push281=, 664 + i32.add $push282=, $12, $pop281 + i32.const $push428=, 10 + i32.add $push169=, $pop282, $pop428 + i32.load8_u $push170=, 0($pop169) + i32.store8 $drop=, 0($pop168), $pop170 + i32.const $push283=, 328 + i32.add $push284=, $12, $pop283 + i32.const $push427=, 8 + i32.add $push171=, $pop284, $pop427 + i32.const $push285=, 664 + i32.add $push286=, $12, $pop285 + i32.const $push426=, 8 + i32.add $push172=, $pop286, $pop426 + i32.load16_u $push173=, 0($pop172) + i32.store16 $drop=, 0($pop171), $pop173 + i64.load $push174=, 664($12) + i64.store $drop=, 328($12):p2align=2, $pop174 + i32.const $push287=, 316 + i32.add $push288=, $12, $pop287 + i32.const $push425=, 8 + i32.add $push175=, $pop288, $pop425 + i32.const $push289=, 648 + i32.add $push290=, $12, $pop289 i32.const $push424=, 8 - i32.store $drop=, 0($2), $pop424 - i32.const $push407=, 396 - i32.add $push408=, $2, $pop407 - i32.store $drop=, 12($2), $pop408 - i32.const $push409=, 402 - i32.add $push410=, $2, $pop409 - i32.store $drop=, 8($2), $pop410 - i32.const $push411=, 406 - i32.add $push412=, $2, $pop411 - i32.store $drop=, 4($2), $pop412 - i32.const $push281=, 21 - call foo@FUNCTION, $pop281, $2 - i32.const $push282=, 0 - call exit@FUNCTION, $pop282 + i32.add $push176=, $pop290, $pop424 + i32.load $push177=, 0($pop176) + i32.store $drop=, 0($pop175), $pop177 + i64.load $push178=, 648($12) + i64.store $drop=, 316($12):p2align=2, $pop178 + i32.const $push291=, 300 + i32.add $push292=, $12, $pop291 + i32.const $push179=, 12 + i32.add $push180=, $pop292, $pop179 + i32.const $push293=, 632 + i32.add $push294=, $12, $pop293 + i32.const $push423=, 12 + i32.add $push181=, $pop294, $pop423 + i32.load8_u $push182=, 0($pop181) + i32.store8 $drop=, 0($pop180), $pop182 + i32.const $push295=, 300 + i32.add $push296=, $12, $pop295 + i32.const $push422=, 8 + i32.add $push183=, $pop296, $pop422 + i32.const $push297=, 632 + i32.add $push298=, $12, $pop297 + i32.const $push421=, 8 + i32.add $push184=, $pop298, $pop421 + i32.load $push185=, 0($pop184) + i32.store $drop=, 0($pop183), $pop185 + i64.load $push186=, 632($12) + i64.store $drop=, 300($12):p2align=2, $pop186 + i32.const $push299=, 284 + i32.add $push300=, $12, $pop299 + i32.const $push420=, 12 + i32.add $push187=, $pop300, $pop420 + i32.const $push301=, 616 + i32.add $push302=, $12, $pop301 + i32.const $push419=, 12 + i32.add $push188=, $pop302, $pop419 + i32.load16_u $push189=, 0($pop188) + i32.store16 $drop=, 0($pop187), $pop189 + i32.const $push303=, 284 + i32.add $push304=, $12, $pop303 + i32.const $push418=, 8 + i32.add $push190=, $pop304, $pop418 + i32.const $push305=, 616 + i32.add $push306=, $12, $pop305 + i32.const $push417=, 8 + i32.add $push191=, $pop306, $pop417 + i32.load $push192=, 0($pop191) + i32.store $drop=, 0($pop190), $pop192 + i64.load $push193=, 616($12) + i64.store $drop=, 284($12):p2align=2, $pop193 + i32.const $push307=, 268 + i32.add $push308=, $12, $pop307 + i32.const $push194=, 14 + i32.add $push195=, $pop308, $pop194 + i32.const $push309=, 600 + i32.add $push310=, $12, $pop309 + i32.const $push416=, 14 + i32.add $push196=, $pop310, $pop416 + i32.load8_u $push197=, 0($pop196) + i32.store8 $drop=, 0($pop195), $pop197 + i32.const $push311=, 268 + i32.add $push312=, $12, $pop311 + i32.const $push415=, 12 + i32.add $push198=, $pop312, $pop415 + i32.const $push313=, 600 + i32.add $push314=, $12, $pop313 + i32.const $push414=, 12 + i32.add $push199=, $pop314, $pop414 + i32.load16_u $push200=, 0($pop199) + i32.store16 $drop=, 0($pop198), $pop200 + i32.const $push315=, 268 + i32.add $push316=, $12, $pop315 + i32.const $push413=, 8 + i32.add $push201=, $pop316, $pop413 + i32.const $push317=, 600 + i32.add $push318=, $12, $pop317 + i32.const $push412=, 8 + i32.add $push202=, $pop318, $pop412 + i32.load $push203=, 0($pop202) + i32.store $drop=, 0($pop201), $pop203 + i64.load $push204=, 600($12) + i64.store $drop=, 268($12):p2align=2, $pop204 + i32.const $push319=, 252 + i32.add $push320=, $12, $pop319 + i32.const $push411=, 8 + i32.add $push205=, $pop320, $pop411 + i32.const $push321=, 584 + i32.add $push322=, $12, $pop321 + i32.const $push410=, 8 + i32.add $push206=, $pop322, $pop410 + i64.load $push207=, 0($pop206) + i64.store $drop=, 0($pop205):p2align=2, $pop207 + i64.load $push208=, 584($12) + i64.store $drop=, 252($12):p2align=2, $pop208 + i32.const $push323=, 221 + i32.add $push324=, $12, $pop323 + i32.const $push325=, 552 + i32.add $push326=, $12, $pop325 + i32.const $push209=, 31 + i32.call $drop=, memcpy@FUNCTION, $pop324, $pop326, $pop209 + i32.const $push327=, 188 + i32.add $push328=, $12, $pop327 + i32.const $push210=, 24 + i32.add $push211=, $pop328, $pop210 + i32.const $push329=, 520 + i32.add $push330=, $12, $pop329 + i32.const $push409=, 24 + i32.add $push212=, $pop330, $pop409 + i64.load $push213=, 0($pop212) + i64.store $drop=, 0($pop211):p2align=2, $pop213 + i32.const $push331=, 188 + i32.add $push332=, $12, $pop331 + i32.const $push214=, 16 + i32.add $push215=, $pop332, $pop214 + i32.const $push333=, 520 + i32.add $push334=, $12, $pop333 + i32.const $push408=, 16 + i32.add $push216=, $pop334, $pop408 + i64.load $push217=, 0($pop216) + i64.store $drop=, 0($pop215):p2align=2, $pop217 + i32.const $push335=, 188 + i32.add $push336=, $12, $pop335 + i32.const $push407=, 8 + i32.add $push218=, $pop336, $pop407 + i32.const $push337=, 520 + i32.add $push338=, $12, $pop337 + i32.const $push406=, 8 + i32.add $push219=, $pop338, $pop406 + i64.load $push220=, 0($pop219) + i64.store $drop=, 0($pop218):p2align=2, $pop220 + i64.load $push221=, 520($12) + i64.store $drop=, 188($12):p2align=2, $pop221 + i32.const $push339=, 153 + i32.add $push340=, $12, $pop339 + i32.const $push341=, 480 + i32.add $push342=, $12, $pop341 + i32.const $push222=, 35 + i32.call $drop=, memcpy@FUNCTION, $pop340, $pop342, $pop222 + i32.const $push343=, 81 + i32.add $push344=, $12, $pop343 + i32.const $push345=, 408 + i32.add $push346=, $12, $pop345 + i32.const $push223=, 72 + i32.call $drop=, memcpy@FUNCTION, $pop344, $pop346, $pop223 + i32.const $push224=, 76 + i32.add $push225=, $12, $pop224 + i32.const $push347=, 81 + i32.add $push348=, $12, $pop347 + i32.store $drop=, 0($pop225), $pop348 + i32.const $push226=, 68 + i32.add $push227=, $12, $pop226 + i32.const $push349=, 188 + i32.add $push350=, $12, $pop349 + i32.store $drop=, 0($pop227), $pop350 + i32.const $push228=, 64 + i32.add $push229=, $12, $pop228 + i32.const $push351=, 221 + i32.add $push352=, $12, $pop351 + i32.store $drop=, 0($pop229), $pop352 + i32.const $push230=, 60 + i32.add $push231=, $12, $pop230 + i32.const $push353=, 252 + i32.add $push354=, $12, $pop353 + i32.store $drop=, 0($pop231), $pop354 + i32.const $push232=, 56 + i32.add $push233=, $12, $pop232 + i32.const $push355=, 268 + i32.add $push356=, $12, $pop355 + i32.store $drop=, 0($pop233), $pop356 + i32.const $push234=, 52 + i32.add $push235=, $12, $pop234 + i32.const $push357=, 284 + i32.add $push358=, $12, $pop357 + i32.store $drop=, 0($pop235), $pop358 + i32.const $push236=, 48 + i32.add $push237=, $12, $pop236 + i32.const $push359=, 300 + i32.add $push360=, $12, $pop359 + i32.store $drop=, 0($pop237), $pop360 + i32.const $push238=, 44 + i32.add $push239=, $12, $pop238 + i32.const $push361=, 316 + i32.add $push362=, $12, $pop361 + i32.store $drop=, 0($pop239), $pop362 + i32.const $push240=, 40 + i32.add $push241=, $12, $pop240 + i32.const $push363=, 328 + i32.add $push364=, $12, $pop363 + i32.store $drop=, 0($pop241), $pop364 + i32.const $push242=, 36 + i32.add $push243=, $12, $pop242 + i32.const $push365=, 340 + i32.add $push366=, $12, $pop365 + i32.store $drop=, 0($pop243), $pop366 + i32.const $push244=, 32 + i32.add $push245=, $12, $pop244 + i32.const $push367=, 352 + i32.add $push368=, $12, $pop367 + i32.store $drop=, 0($pop245), $pop368 + i32.const $push246=, 28 + i32.add $push247=, $12, $pop246 + i32.const $push369=, 364 + i32.add $push370=, $12, $pop369 + i32.store $drop=, 0($pop247), $pop370 + i32.const $push405=, 24 + i32.add $push248=, $12, $pop405 + i32.const $push371=, 372 + i32.add $push372=, $12, $pop371 + i32.store $drop=, 0($pop248), $pop372 + i32.const $push249=, 20 + i32.add $push250=, $12, $pop249 + i32.const $push373=, 380 + i32.add $push374=, $12, $pop373 + i32.store $drop=, 0($pop250), $pop374 + i32.const $push404=, 16 + i32.add $push251=, $12, $pop404 + i32.const $push375=, 388 + i32.add $push376=, $12, $pop375 + i32.store $drop=, 0($pop251), $pop376 + i32.const $push403=, 8 + i32.store $drop=, 0($12), $pop403 + i32.const $push402=, 72 + i32.add $push252=, $12, $pop402 + i32.const $push377=, 153 + i32.add $push378=, $12, $pop377 + i32.store $drop=, 0($pop252), $pop378 + i32.const $push379=, 396 + i32.add $push380=, $12, $pop379 + i32.store $drop=, 12($12), $pop380 + i32.const $push381=, 402 + i32.add $push382=, $12, $pop381 + i32.store $drop=, 8($12), $pop382 + i32.const $push383=, 406 + i32.add $push384=, $12, $pop383 + i32.store $drop=, 4($12), $pop384 + i32.const $push253=, 21 + call foo@FUNCTION, $pop253, $12 + i32.const $push254=, 0 + call exit@FUNCTION, $pop254 unreachable .endfunc .Lfunc_end2: diff --git a/test/torture-s/va-arg-23.c.s b/test/torture-s/va-arg-23.c.s index 2a0900092..46b12c6a0 100644 --- a/test/torture-s/va-arg-23.c.s +++ b/test/torture-s/va-arg-23.c.s @@ -8,17 +8,18 @@ foo: # @foo .param i32, i32, i32, i32, i32, i32, i32, i32 .local i32 # BB#0: # %entry - i32.const $push10=, __stack_pointer - i32.const $push7=, __stack_pointer - i32.load $push8=, 0($pop7) + i32.const $push10=, 0 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) i32.const $push9=, 16 i32.sub $push14=, $pop8, $pop9 - i32.store $8=, 0($pop10), $pop14 + i32.store $push18=, __stack_pointer($pop10), $pop14 + tee_local $push17=, $8=, $pop18 i32.store $push16=, 12($8), $7 tee_local $push15=, $7=, $pop16 i32.const $push1=, 4 i32.add $push2=, $pop15, $pop1 - i32.store $drop=, 12($8), $pop2 + i32.store $drop=, 12($pop17), $pop2 block i32.const $push3=, 1 i32.ne $push4=, $6, $pop3 @@ -29,10 +30,10 @@ foo: # @foo i32.ne $push6=, $pop0, $pop5 br_if 0, $pop6 # 0: down to label0 # BB#2: # %if.end - i32.const $push13=, __stack_pointer + i32.const $push13=, 0 i32.const $push11=, 16 i32.add $push12=, $8, $pop11 - i32.store $drop=, 0($pop13), $pop12 + i32.store $drop=, __stack_pointer($pop13), $pop12 return .LBB0_3: # %if.then end_block # label0: @@ -50,26 +51,27 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.const $push4=, __stack_pointer - i32.load $push5=, 0($pop4) + i32.const $push7=, 0 + i32.const $push4=, 0 + i32.load $push5=, __stack_pointer($pop4) i32.const $push6=, 32 i32.sub $push13=, $pop5, $pop6 - i32.store $0=, 0($pop7), $pop13 + i32.store $push15=, __stack_pointer($pop7), $pop13 + tee_local $push14=, $0=, $pop15 i64.load $push0=, 24($0) - i64.store $drop=, 16($0):p2align=2, $pop0 + i64.store $drop=, 16($pop14):p2align=2, $pop0 i32.const $push1=, 2 i32.store $drop=, 0($0), $pop1 i32.const $push11=, 16 i32.add $push12=, $0, $pop11 i32.const $push2=, 1 call foo@FUNCTION, $0, $0, $0, $0, $0, $pop12, $pop2, $0 - i32.const $push10=, __stack_pointer + i32.const $push10=, 0 i32.const $push8=, 32 i32.add $push9=, $0, $pop8 - i32.store $drop=, 0($pop10), $pop9 + i32.store $drop=, __stack_pointer($pop10), $pop9 i32.const $push3=, 0 - return $pop3 + # fallthrough-return: $pop3 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/va-arg-24.c.s b/test/torture-s/va-arg-24.c.s index e8137fd0a..e5d770593 100644 --- a/test/torture-s/va-arg-24.c.s +++ b/test/torture-s/va-arg-24.c.s @@ -8,12 +8,12 @@ main: # @main .result i32 .local i64, i64, i64, i64, i32, i64, i64, i64, i32 # BB#0: # %entry - i32.const $push29=, __stack_pointer - i32.const $push26=, __stack_pointer - i32.load $push27=, 0($pop26) + i32.const $push29=, 0 + i32.const $push26=, 0 + i32.load $push27=, __stack_pointer($pop26) i32.const $push28=, 288 i32.sub $push72=, $pop27, $pop28 - i32.store $push84=, 0($pop29), $pop72 + i32.store $push84=, __stack_pointer($pop29), $pop72 tee_local $push83=, $8=, $pop84 i32.const $push30=, 240 i32.add $push31=, $pop83, $pop30 @@ -153,114 +153,91 @@ varargs0: # @varargs0 .param i32, i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push27=, __stack_pointer - i32.const $push24=, __stack_pointer - i32.load $push25=, 0($pop24) - i32.const $push26=, 64 - i32.sub $push33=, $pop25, $pop26 - i32.store $push39=, 0($pop27), $pop33 - tee_local $push38=, $6=, $pop39 - i32.store $drop=, 60($pop38), $1 - i32.load $push37=, 60($6) - tee_local $push36=, $1=, $pop37 - i32.const $push35=, 4 - i32.add $push1=, $pop36, $pop35 - i32.store $drop=, 60($6), $pop1 - i32.load $4=, 0($1) - i32.const $push2=, 8 - i32.add $push3=, $1, $pop2 - i32.store $drop=, 60($6), $pop3 - i32.load $5=, 4($1) - i32.store $drop=, 20($6), $4 - i32.store $drop=, 24($6), $5 - i32.const $push4=, 12 - i32.add $push5=, $1, $pop4 - i32.store $drop=, 60($6), $pop5 - i32.load $4=, 8($1) - i32.const $push6=, 16 - i32.add $push7=, $1, $pop6 - i32.store $drop=, 60($6), $pop7 - i32.load $5=, 12($1) - i32.const $push8=, 20 - i32.add $push9=, $1, $pop8 - i32.store $drop=, 60($6), $pop9 - i32.load $2=, 16($1) - i32.const $push10=, 24 - i32.add $push11=, $1, $pop10 - i32.store $drop=, 60($6), $pop11 - i32.load $3=, 20($1) - i32.store $drop=, 28($6), $4 - i32.store $drop=, 32($6), $5 - i32.store $drop=, 36($6), $2 - i32.store $drop=, 40($6), $3 - i32.const $push12=, 28 + i32.const $push22=, 0 + i32.const $push19=, 0 + i32.load $push20=, __stack_pointer($pop19) + i32.const $push21=, 64 + i32.sub $push28=, $pop20, $pop21 + i32.store $push34=, __stack_pointer($pop22), $pop28 + tee_local $push33=, $4=, $pop34 + i32.store $drop=, 60($pop33), $1 + i32.const $push1=, 0 + i32.store $2=, 16($4), $pop1 + i32.load $push32=, 60($4) + tee_local $push31=, $1=, $pop32 + i32.const $push30=, 4 + i32.add $push2=, $pop31, $pop30 + i32.store $drop=, 60($4), $pop2 + i32.load $push3=, 4($1) + i32.store $drop=, 24($4), $pop3 + i32.load $push4=, 0($1) + i32.store $drop=, 20($4), $pop4 + i32.load $push5=, 8($1) + i32.store $drop=, 28($4), $pop5 + i32.load $push6=, 12($1) + i32.store $drop=, 32($4), $pop6 + i32.load $push7=, 16($1) + i32.store $drop=, 36($4), $pop7 + i32.load $push8=, 20($1) + i32.store $drop=, 40($4), $pop8 + i32.load $push9=, 24($1) + i32.store $drop=, 44($4), $pop9 + i32.load $push10=, 28($1) + i32.store $drop=, 48($4), $pop10 + i32.load $push11=, 32($1) + i32.store $drop=, 52($4), $pop11 + i32.const $push12=, 40 i32.add $push13=, $1, $pop12 - i32.store $drop=, 60($6), $pop13 - i32.load $4=, 24($1) - i32.const $push14=, 32 - i32.add $push15=, $1, $pop14 - i32.store $drop=, 60($6), $pop15 - i32.load $5=, 28($1) - i32.const $push16=, 36 - i32.add $push17=, $1, $pop16 - i32.store $drop=, 60($6), $pop17 - i32.load $2=, 32($1) - i32.const $push18=, 40 - i32.add $push19=, $1, $pop18 - i32.store $drop=, 60($6), $pop19 - i32.load $1=, 36($1) - i32.store $drop=, 44($6), $4 - i32.store $drop=, 48($6), $5 - i32.store $drop=, 52($6), $2 - i32.store $drop=, 56($6), $1 - i32.const $push0=, 0 - i32.store $2=, 16($6), $pop0 - i32.const $push31=, 16 - i32.add $push32=, $6, $pop31 - i32.const $push34=, 4 - i32.or $4=, $pop32, $pop34 - i32.const $5=, 0 + i32.store $drop=, 60($4), $pop13 + i32.load $push14=, 36($1) + i32.store $drop=, 56($4), $pop14 + i32.const $push26=, 16 + i32.add $push27=, $4, $pop26 + i32.const $push29=, 4 + i32.or $5=, $pop27, $pop29 + i32.const $6=, 0 i32.const $1=, 0 .LBB1_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label1: block - i32.eq $push20=, $1, $5 - br_if 0, $pop20 # 0: down to label3 + i32.eq $push15=, $1, $6 + br_if 0, $pop15 # 0: down to label3 # BB#2: # %if.then.i # in Loop: Header=BB1_1 Depth=1 - i32.store $3=, 12($6), $1 - i32.store $drop=, 8($6), $5 - i32.store $drop=, 4($6), $3 - i32.const $push44=, .L.str - i32.store $drop=, 0($6), $pop44 - i32.const $push43=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop43, $6 - i32.load $push21=, errors($2) - i32.const $push42=, 1 - i32.add $push22=, $pop21, $pop42 - i32.store $drop=, errors($2), $pop22 + i32.store $3=, 12($4), $1 + i32.store $drop=, 8($4), $6 + i32.store $drop=, 4($4), $3 + i32.const $push39=, .L.str + i32.store $drop=, 0($4), $pop39 + i32.const $push38=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop38, $4 + i32.load $push16=, errors($2) + i32.const $push37=, 1 + i32.add $push17=, $pop16, $pop37 + i32.store $drop=, errors($2), $pop17 .LBB1_3: # %for.inc.i # in Loop: Header=BB1_1 Depth=1 end_block # label3: - i32.const $push45=, 10 - i32.eq $push23=, $1, $pop45 - br_if 1, $pop23 # 1: down to label2 + i32.const $push40=, 10 + i32.eq $push18=, $1, $pop40 + br_if 1, $pop18 # 1: down to label2 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB1_1 Depth=1 - i32.load $5=, 0($4) - i32.const $push41=, 1 - i32.add $1=, $1, $pop41 - i32.const $push40=, 4 - i32.add $4=, $4, $pop40 + i32.const $push36=, 1 + i32.add $1=, $1, $pop36 + i32.load $6=, 0($5) + i32.const $push35=, 4 + i32.add $push0=, $5, $pop35 + copy_local $5=, $pop0 br 0 # 0: up to label1 .LBB1_5: # %verify.exit end_loop # label2: - i32.const $push30=, __stack_pointer - i32.const $push28=, 64 - i32.add $push29=, $6, $pop28 - i32.store $drop=, 0($pop30), $pop29 - return + i32.const $push25=, 0 + i32.const $push23=, 64 + i32.add $push24=, $4, $pop23 + i32.store $drop=, __stack_pointer($pop25), $pop24 + # fallthrough-return .endfunc .Lfunc_end1: .size varargs0, .Lfunc_end1-varargs0 @@ -269,113 +246,93 @@ varargs0: # @varargs0 .type varargs1,@function varargs1: # @varargs1 .param i32, i32, i32 - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push26=, __stack_pointer - i32.const $push23=, __stack_pointer - i32.load $push24=, 0($pop23) - i32.const $push25=, 64 - i32.sub $push32=, $pop24, $pop25 - i32.store $push38=, 0($pop26), $pop32 - tee_local $push37=, $7=, $pop38 - i32.store $drop=, 60($pop37), $2 - i32.load $push36=, 60($7) - tee_local $push35=, $2=, $pop36 - i32.const $push34=, 4 - i32.add $push1=, $pop35, $pop34 - i32.store $drop=, 60($7), $pop1 - i32.load $push2=, 0($2) - i32.store $drop=, 24($7), $pop2 - i32.const $push3=, 8 - i32.add $push4=, $2, $pop3 - i32.store $drop=, 60($7), $pop4 - i32.load $5=, 4($2) - i32.const $push5=, 12 - i32.add $push6=, $2, $pop5 - i32.store $drop=, 60($7), $pop6 - i32.load $6=, 8($2) - i32.const $push7=, 16 - i32.add $push8=, $2, $pop7 - i32.store $drop=, 60($7), $pop8 - i32.load $3=, 12($2) - i32.const $push9=, 20 - i32.add $push10=, $2, $pop9 - i32.store $drop=, 60($7), $pop10 - i32.load $4=, 16($2) - i32.store $drop=, 28($7), $5 - i32.store $drop=, 32($7), $6 - i32.store $drop=, 36($7), $3 - i32.store $drop=, 40($7), $4 - i32.const $push11=, 24 + i32.const $push21=, 0 + i32.const $push18=, 0 + i32.load $push19=, __stack_pointer($pop18) + i32.const $push20=, 64 + i32.sub $push27=, $pop19, $pop20 + i32.store $push33=, __stack_pointer($pop21), $pop27 + tee_local $push32=, $4=, $pop33 + i32.store $drop=, 60($pop32), $2 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($4), $pop1 + i32.load $push31=, 60($4) + tee_local $push30=, $2=, $pop31 + i32.const $push29=, 4 + i32.add $push2=, $pop30, $pop29 + i32.store $drop=, 60($4), $pop2 + i32.load $push3=, 0($2) + i32.store $drop=, 24($4), $pop3 + i32.load $push4=, 4($2) + i32.store $drop=, 28($4), $pop4 + i32.load $push5=, 8($2) + i32.store $drop=, 32($4), $pop5 + i32.load $push6=, 12($2) + i32.store $drop=, 36($4), $pop6 + i32.load $push7=, 16($2) + i32.store $drop=, 40($4), $pop7 + i32.load $push8=, 20($2) + i32.store $drop=, 44($4), $pop8 + i32.load $push9=, 24($2) + i32.store $drop=, 48($4), $pop9 + i32.load $push10=, 28($2) + i32.store $drop=, 52($4), $pop10 + i32.const $push11=, 36 i32.add $push12=, $2, $pop11 - i32.store $drop=, 60($7), $pop12 - i32.load $5=, 20($2) - i32.const $push13=, 28 - i32.add $push14=, $2, $pop13 - i32.store $drop=, 60($7), $pop14 - i32.load $6=, 24($2) - i32.const $push15=, 32 - i32.add $push16=, $2, $pop15 - i32.store $drop=, 60($7), $pop16 - i32.load $3=, 28($2) - i32.const $push17=, 36 - i32.add $push18=, $2, $pop17 - i32.store $drop=, 60($7), $pop18 - i32.load $2=, 32($2) - i32.store $drop=, 44($7), $5 - i32.store $drop=, 48($7), $6 - i32.store $drop=, 52($7), $3 - i32.store $drop=, 56($7), $2 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($7), $pop0 - i32.const $push30=, 16 - i32.add $push31=, $7, $pop30 - i32.const $push33=, 4 - i32.or $5=, $pop31, $pop33 + i32.store $drop=, 60($4), $pop12 + i32.load $push13=, 32($2) + i32.store $drop=, 56($4), $pop13 + i32.const $push25=, 16 + i32.add $push26=, $4, $pop25 + i32.const $push28=, 4 + i32.or $5=, $pop26, $pop28 i32.const $6=, 0 i32.const $2=, 0 .LBB2_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label4: block - i32.eq $push19=, $2, $6 - br_if 0, $pop19 # 0: down to label6 + i32.eq $push14=, $2, $6 + br_if 0, $pop14 # 0: down to label6 # BB#2: # %if.then.i # in Loop: Header=BB2_1 Depth=1 - i32.store $3=, 12($7), $2 - i32.store $drop=, 8($7), $6 - i32.store $drop=, 4($7), $3 - i32.const $push45=, .L.str.2 - i32.store $drop=, 0($7), $pop45 - i32.const $push44=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop44, $7 - i32.const $push43=, 0 - i32.const $push42=, 0 - i32.load $push20=, errors($pop42) - i32.const $push41=, 1 - i32.add $push21=, $pop20, $pop41 - i32.store $drop=, errors($pop43), $pop21 + i32.store $3=, 12($4), $2 + i32.store $drop=, 8($4), $6 + i32.store $drop=, 4($4), $3 + i32.const $push40=, .L.str.2 + i32.store $drop=, 0($4), $pop40 + i32.const $push39=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop39, $4 + i32.const $push38=, 0 + i32.const $push37=, 0 + i32.load $push15=, errors($pop37) + i32.const $push36=, 1 + i32.add $push16=, $pop15, $pop36 + i32.store $drop=, errors($pop38), $pop16 .LBB2_3: # %for.inc.i # in Loop: Header=BB2_1 Depth=1 end_block # label6: - i32.const $push46=, 10 - i32.eq $push22=, $2, $pop46 - br_if 1, $pop22 # 1: down to label5 + i32.const $push41=, 10 + i32.eq $push17=, $2, $pop41 + br_if 1, $pop17 # 1: down to label5 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB2_1 Depth=1 + i32.const $push35=, 1 + i32.add $2=, $2, $pop35 i32.load $6=, 0($5) - i32.const $push40=, 1 - i32.add $2=, $2, $pop40 - i32.const $push39=, 4 - i32.add $5=, $5, $pop39 + i32.const $push34=, 4 + i32.add $push0=, $5, $pop34 + copy_local $5=, $pop0 br 0 # 0: up to label4 .LBB2_5: # %verify.exit end_loop # label5: - i32.const $push29=, __stack_pointer - i32.const $push27=, 64 - i32.add $push28=, $7, $pop27 - i32.store $drop=, 0($pop29), $pop28 - return + i32.const $push24=, 0 + i32.const $push22=, 64 + i32.add $push23=, $4, $pop22 + i32.store $drop=, __stack_pointer($pop24), $pop23 + # fallthrough-return .endfunc .Lfunc_end2: .size varargs1, .Lfunc_end2-varargs1 @@ -384,109 +341,93 @@ varargs1: # @varargs1 .type varargs2,@function varargs2: # @varargs2 .param i32, i32, i32, i32 - .local i32, i32, i32, i32, i32 + .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push24=, __stack_pointer - i32.const $push21=, __stack_pointer - i32.load $push22=, 0($pop21) - i32.const $push23=, 64 - i32.sub $push30=, $pop22, $pop23 - i32.store $push34=, 0($pop24), $pop30 - tee_local $push33=, $8=, $pop34 - i32.store $drop=, 60($pop33), $3 - i32.load $3=, 60($8) - i32.const $push1=, 2 - i32.store $drop=, 24($8), $pop1 - i32.const $push32=, 4 - i32.add $push2=, $3, $pop32 - i32.store $drop=, 60($8), $pop2 - i32.load $6=, 0($3) - i32.const $push3=, 8 - i32.add $push4=, $3, $pop3 - i32.store $drop=, 60($8), $pop4 - i32.load $7=, 4($3) - i32.const $push5=, 12 - i32.add $push6=, $3, $pop5 - i32.store $drop=, 60($8), $pop6 - i32.load $4=, 8($3) - i32.const $push7=, 16 - i32.add $push8=, $3, $pop7 - i32.store $drop=, 60($8), $pop8 - i32.load $5=, 12($3) - i32.store $drop=, 28($8), $6 - i32.store $drop=, 32($8), $7 - i32.store $drop=, 36($8), $4 - i32.store $drop=, 40($8), $5 - i32.const $push9=, 20 - i32.add $push10=, $3, $pop9 - i32.store $drop=, 60($8), $pop10 - i32.load $6=, 16($3) - i32.const $push11=, 24 + i32.const $push21=, 0 + i32.const $push18=, 0 + i32.load $push19=, __stack_pointer($pop18) + i32.const $push20=, 64 + i32.sub $push27=, $pop19, $pop20 + i32.store $push33=, __stack_pointer($pop21), $pop27 + tee_local $push32=, $5=, $pop33 + i32.store $drop=, 60($pop32), $3 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($5), $pop1 + i32.load $push31=, 60($5) + tee_local $push30=, $3=, $pop31 + i32.const $push29=, 4 + i32.add $push2=, $pop30, $pop29 + i32.store $drop=, 60($5), $pop2 + i32.const $push3=, 2 + i32.store $drop=, 24($5), $pop3 + i32.load $push4=, 0($3) + i32.store $drop=, 28($5), $pop4 + i32.load $push5=, 4($3) + i32.store $drop=, 32($5), $pop5 + i32.load $push6=, 8($3) + i32.store $drop=, 36($5), $pop6 + i32.load $push7=, 12($3) + i32.store $drop=, 40($5), $pop7 + i32.load $push8=, 16($3) + i32.store $drop=, 44($5), $pop8 + i32.load $push9=, 20($3) + i32.store $drop=, 48($5), $pop9 + i32.load $push10=, 24($3) + i32.store $drop=, 52($5), $pop10 + i32.const $push11=, 32 i32.add $push12=, $3, $pop11 - i32.store $drop=, 60($8), $pop12 - i32.load $7=, 20($3) - i32.const $push13=, 28 - i32.add $push14=, $3, $pop13 - i32.store $drop=, 60($8), $pop14 - i32.load $4=, 24($3) - i32.const $push15=, 32 - i32.add $push16=, $3, $pop15 - i32.store $drop=, 60($8), $pop16 - i32.load $3=, 28($3) - i32.store $drop=, 44($8), $6 - i32.store $drop=, 48($8), $7 - i32.store $drop=, 52($8), $4 - i32.store $drop=, 56($8), $3 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($8), $pop0 - i32.const $push28=, 16 - i32.add $push29=, $8, $pop28 - i32.const $push31=, 4 - i32.or $6=, $pop29, $pop31 + i32.store $drop=, 60($5), $pop12 + i32.load $push13=, 28($3) + i32.store $drop=, 56($5), $pop13 + i32.const $push25=, 16 + i32.add $push26=, $5, $pop25 + i32.const $push28=, 4 + i32.or $6=, $pop26, $pop28 i32.const $7=, 0 i32.const $3=, 0 .LBB3_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label7: block - i32.eq $push17=, $3, $7 - br_if 0, $pop17 # 0: down to label9 + i32.eq $push14=, $3, $7 + br_if 0, $pop14 # 0: down to label9 # BB#2: # %if.then.i # in Loop: Header=BB3_1 Depth=1 - i32.store $4=, 12($8), $3 - i32.store $drop=, 8($8), $7 - i32.store $drop=, 4($8), $4 - i32.const $push41=, .L.str.3 - i32.store $drop=, 0($8), $pop41 - i32.const $push40=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop40, $8 - i32.const $push39=, 0 + i32.store $4=, 12($5), $3 + i32.store $drop=, 8($5), $7 + i32.store $drop=, 4($5), $4 + i32.const $push40=, .L.str.3 + i32.store $drop=, 0($5), $pop40 + i32.const $push39=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop39, $5 i32.const $push38=, 0 - i32.load $push18=, errors($pop38) - i32.const $push37=, 1 - i32.add $push19=, $pop18, $pop37 - i32.store $drop=, errors($pop39), $pop19 + i32.const $push37=, 0 + i32.load $push15=, errors($pop37) + i32.const $push36=, 1 + i32.add $push16=, $pop15, $pop36 + i32.store $drop=, errors($pop38), $pop16 .LBB3_3: # %for.inc.i # in Loop: Header=BB3_1 Depth=1 end_block # label9: - i32.const $push42=, 10 - i32.eq $push20=, $3, $pop42 - br_if 1, $pop20 # 1: down to label8 + i32.const $push41=, 10 + i32.eq $push17=, $3, $pop41 + br_if 1, $pop17 # 1: down to label8 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB3_1 Depth=1 + i32.const $push35=, 1 + i32.add $3=, $3, $pop35 i32.load $7=, 0($6) - i32.const $push36=, 1 - i32.add $3=, $3, $pop36 - i32.const $push35=, 4 - i32.add $6=, $6, $pop35 + i32.const $push34=, 4 + i32.add $push0=, $6, $pop34 + copy_local $6=, $pop0 br 0 # 0: up to label7 .LBB3_5: # %verify.exit end_loop # label8: - i32.const $push27=, __stack_pointer - i32.const $push25=, 64 - i32.add $push26=, $8, $pop25 - i32.store $drop=, 0($pop27), $pop26 - return + i32.const $push24=, 0 + i32.const $push22=, 64 + i32.add $push23=, $5, $pop22 + i32.store $drop=, __stack_pointer($pop24), $pop23 + # fallthrough-return .endfunc .Lfunc_end3: .size varargs2, .Lfunc_end3-varargs2 @@ -497,104 +438,91 @@ varargs3: # @varargs3 .param i32, i32, i32, i32, i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push23=, __stack_pointer - i32.const $push20=, __stack_pointer - i32.load $push21=, 0($pop20) - i32.const $push22=, 64 - i32.sub $push29=, $pop21, $pop22 - i32.store $push33=, 0($pop23), $pop29 - tee_local $push32=, $8=, $pop33 + i32.const $push21=, 0 + i32.const $push18=, 0 + i32.load $push19=, __stack_pointer($pop18) + i32.const $push20=, 64 + i32.sub $push27=, $pop19, $pop20 + i32.store $push33=, __stack_pointer($pop21), $pop27 + tee_local $push32=, $6=, $pop33 i32.store $drop=, 60($pop32), $4 - i32.load $4=, 60($8) - i32.const $push1=, 2 - i32.store $drop=, 24($8), $pop1 - i32.const $push31=, 4 - i32.add $push3=, $4, $pop31 - i32.store $drop=, 60($8), $pop3 - i32.load $6=, 0($4) - i32.const $push4=, 8 - i32.add $push5=, $4, $pop4 - i32.store $drop=, 60($8), $pop5 - i32.load $7=, 4($4) - i32.const $push6=, 12 - i32.add $push7=, $4, $pop6 - i32.store $drop=, 60($8), $pop7 - i32.load $5=, 8($4) - i32.const $push2=, 3 - i32.store $drop=, 28($8), $pop2 - i32.store $drop=, 32($8), $6 - i32.store $drop=, 36($8), $7 - i32.store $drop=, 40($8), $5 - i32.const $push8=, 16 - i32.add $push9=, $4, $pop8 - i32.store $drop=, 60($8), $pop9 - i32.load $6=, 12($4) - i32.const $push10=, 20 - i32.add $push11=, $4, $pop10 - i32.store $drop=, 60($8), $pop11 - i32.load $7=, 16($4) - i32.const $push12=, 24 - i32.add $push13=, $4, $pop12 - i32.store $drop=, 60($8), $pop13 - i32.load $5=, 20($4) - i32.const $push14=, 28 - i32.add $push15=, $4, $pop14 - i32.store $drop=, 60($8), $pop15 - i32.load $4=, 24($4) - i32.store $drop=, 44($8), $6 - i32.store $drop=, 48($8), $7 - i32.store $drop=, 52($8), $5 - i32.store $drop=, 56($8), $4 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($8), $pop0 - i32.const $push27=, 16 - i32.add $push28=, $8, $pop27 - i32.const $push30=, 4 - i32.or $6=, $pop28, $pop30 - i32.const $7=, 0 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($6), $pop1 + i32.load $push31=, 60($6) + tee_local $push30=, $4=, $pop31 + i32.const $push29=, 4 + i32.add $push2=, $pop30, $pop29 + i32.store $drop=, 60($6), $pop2 + i32.const $push3=, 2 + i32.store $drop=, 24($6), $pop3 + i32.const $push4=, 3 + i32.store $drop=, 28($6), $pop4 + i32.load $push5=, 0($4) + i32.store $drop=, 32($6), $pop5 + i32.load $push6=, 4($4) + i32.store $drop=, 36($6), $pop6 + i32.load $push7=, 8($4) + i32.store $drop=, 40($6), $pop7 + i32.load $push8=, 12($4) + i32.store $drop=, 44($6), $pop8 + i32.load $push9=, 16($4) + i32.store $drop=, 48($6), $pop9 + i32.load $push10=, 20($4) + i32.store $drop=, 52($6), $pop10 + i32.const $push11=, 28 + i32.add $push12=, $4, $pop11 + i32.store $drop=, 60($6), $pop12 + i32.load $push13=, 24($4) + i32.store $drop=, 56($6), $pop13 + i32.const $push25=, 16 + i32.add $push26=, $6, $pop25 + i32.const $push28=, 4 + i32.or $7=, $pop26, $pop28 + i32.const $8=, 0 i32.const $4=, 0 .LBB4_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label10: block - i32.eq $push16=, $4, $7 - br_if 0, $pop16 # 0: down to label12 + i32.eq $push14=, $4, $8 + br_if 0, $pop14 # 0: down to label12 # BB#2: # %if.then.i # in Loop: Header=BB4_1 Depth=1 - i32.store $5=, 12($8), $4 - i32.store $drop=, 8($8), $7 - i32.store $drop=, 4($8), $5 + i32.store $5=, 12($6), $4 + i32.store $drop=, 8($6), $8 + i32.store $drop=, 4($6), $5 i32.const $push40=, .L.str.4 - i32.store $drop=, 0($8), $pop40 + i32.store $drop=, 0($6), $pop40 i32.const $push39=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop39, $8 + i32.call $drop=, printf@FUNCTION, $pop39, $6 i32.const $push38=, 0 i32.const $push37=, 0 - i32.load $push17=, errors($pop37) + i32.load $push15=, errors($pop37) i32.const $push36=, 1 - i32.add $push18=, $pop17, $pop36 - i32.store $drop=, errors($pop38), $pop18 + i32.add $push16=, $pop15, $pop36 + i32.store $drop=, errors($pop38), $pop16 .LBB4_3: # %for.inc.i # in Loop: Header=BB4_1 Depth=1 end_block # label12: i32.const $push41=, 10 - i32.eq $push19=, $4, $pop41 - br_if 1, $pop19 # 1: down to label11 + i32.eq $push17=, $4, $pop41 + br_if 1, $pop17 # 1: down to label11 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB4_1 Depth=1 - i32.load $7=, 0($6) i32.const $push35=, 1 i32.add $4=, $4, $pop35 + i32.load $8=, 0($7) i32.const $push34=, 4 - i32.add $6=, $6, $pop34 + i32.add $push0=, $7, $pop34 + copy_local $7=, $pop0 br 0 # 0: up to label10 .LBB4_5: # %verify.exit end_loop # label11: - i32.const $push26=, __stack_pointer - i32.const $push24=, 64 - i32.add $push25=, $8, $pop24 - i32.store $drop=, 0($pop26), $pop25 - return + i32.const $push24=, 0 + i32.const $push22=, 64 + i32.add $push23=, $6, $pop22 + i32.store $drop=, __stack_pointer($pop24), $pop23 + # fallthrough-return .endfunc .Lfunc_end4: .size varargs3, .Lfunc_end4-varargs3 @@ -605,99 +533,87 @@ varargs4: # @varargs4 .param i32, i32, i32, i32, i32, i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push21=, __stack_pointer - i32.const $push18=, __stack_pointer - i32.load $push19=, 0($pop18) - i32.const $push20=, 64 - i32.sub $push27=, $pop19, $pop20 - i32.store $push34=, 0($pop21), $pop27 - tee_local $push33=, $10=, $pop34 - i32.store $drop=, 60($pop33), $5 - i32.load $push32=, 60($10) - tee_local $push31=, $5=, $pop32 - i32.const $push1=, 4 - i32.add $push3=, $pop31, $pop1 - i32.store $drop=, 60($10), $pop3 - i32.load $7=, 0($5) - i32.const $push4=, 8 - i32.add $push5=, $5, $pop4 - i32.store $drop=, 60($10), $pop5 - i32.load $8=, 4($5) - i32.store $drop=, 36($10), $7 - i32.store $drop=, 40($10), $8 - i32.const $push6=, 12 - i32.add $push7=, $5, $pop6 - i32.store $drop=, 60($10), $pop7 - i32.load $7=, 8($5) - i32.const $push8=, 16 - i32.add $push9=, $5, $pop8 - i32.store $drop=, 60($10), $pop9 - i32.load $8=, 12($5) - i32.const $push10=, 20 + i32.const $push20=, 0 + i32.const $push17=, 0 + i32.load $push18=, __stack_pointer($pop17) + i32.const $push19=, 64 + i32.sub $push26=, $pop18, $pop19 + i32.store $push32=, __stack_pointer($pop20), $pop26 + tee_local $push31=, $8=, $pop32 + i32.store $drop=, 60($pop31), $5 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($8), $pop1 + i32.const $push2=, 4 + i32.store $push30=, 32($8), $pop2 + tee_local $push29=, $6=, $pop30 + i32.load $push28=, 60($8) + tee_local $push27=, $5=, $pop28 + i32.add $push3=, $pop29, $pop27 + i32.store $drop=, 60($8), $pop3 + i64.const $push4=, 12884901890 + i64.store $drop=, 24($8), $pop4 + i32.load $push5=, 0($5) + i32.store $drop=, 36($8), $pop5 + i32.load $push6=, 4($5) + i32.store $drop=, 40($8), $pop6 + i32.load $push7=, 8($5) + i32.store $drop=, 44($8), $pop7 + i32.load $push8=, 12($5) + i32.store $drop=, 48($8), $pop8 + i32.load $push9=, 16($5) + i32.store $drop=, 52($8), $pop9 + i32.const $push10=, 24 i32.add $push11=, $5, $pop10 - i32.store $drop=, 60($10), $pop11 - i32.load $9=, 16($5) - i32.const $push12=, 24 - i32.add $push13=, $5, $pop12 - i32.store $drop=, 60($10), $pop13 - i32.load $5=, 20($5) - i32.store $drop=, 44($10), $7 - i32.store $drop=, 48($10), $8 - i32.store $drop=, 52($10), $9 - i32.store $drop=, 56($10), $5 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($10), $pop0 - i64.const $push2=, 12884901890 - i64.store $drop=, 24($10), $pop2 - i32.const $push25=, 16 - i32.add $push26=, $10, $pop25 - i32.const $push30=, 4 - i32.store $push29=, 32($10), $pop30 - tee_local $push28=, $9=, $pop29 - i32.or $7=, $pop26, $pop28 - i32.const $8=, 0 + i32.store $drop=, 60($8), $pop11 + i32.load $push12=, 20($5) + i32.store $drop=, 56($8), $pop12 + i32.const $push24=, 16 + i32.add $push25=, $8, $pop24 + i32.or $9=, $6, $pop25 + i32.const $10=, 0 i32.const $5=, 0 .LBB5_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label13: block - i32.eq $push14=, $5, $8 - br_if 0, $pop14 # 0: down to label15 + i32.eq $push13=, $5, $10 + br_if 0, $pop13 # 0: down to label15 # BB#2: # %if.then.i # in Loop: Header=BB5_1 Depth=1 - i32.store $6=, 12($10), $5 - i32.store $drop=, 8($10), $8 - i32.store $drop=, 4($10), $6 - i32.const $push40=, .L.str.5 - i32.store $drop=, 0($10), $pop40 - i32.const $push39=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop39, $10 - i32.const $push38=, 0 - i32.const $push37=, 0 - i32.load $push15=, errors($pop37) - i32.const $push36=, 1 - i32.add $push16=, $pop15, $pop36 - i32.store $drop=, errors($pop38), $pop16 + i32.store $7=, 12($8), $5 + i32.store $drop=, 8($8), $10 + i32.store $drop=, 4($8), $7 + i32.const $push38=, .L.str.5 + i32.store $drop=, 0($8), $pop38 + i32.const $push37=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop37, $8 + i32.const $push36=, 0 + i32.const $push35=, 0 + i32.load $push14=, errors($pop35) + i32.const $push34=, 1 + i32.add $push15=, $pop14, $pop34 + i32.store $drop=, errors($pop36), $pop15 .LBB5_3: # %for.inc.i # in Loop: Header=BB5_1 Depth=1 end_block # label15: - i32.const $push41=, 10 - i32.eq $push17=, $5, $pop41 - br_if 1, $pop17 # 1: down to label14 + i32.const $push39=, 10 + i32.eq $push16=, $5, $pop39 + br_if 1, $pop16 # 1: down to label14 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB5_1 Depth=1 - i32.load $8=, 0($7) - i32.const $push35=, 1 - i32.add $5=, $5, $pop35 - i32.add $7=, $7, $9 + i32.const $push33=, 1 + i32.add $5=, $5, $pop33 + i32.load $10=, 0($9) + i32.add $push0=, $9, $6 + copy_local $9=, $pop0 br 0 # 0: up to label13 .LBB5_5: # %verify.exit end_loop # label14: - i32.const $push24=, __stack_pointer - i32.const $push22=, 64 - i32.add $push23=, $10, $pop22 - i32.store $drop=, 0($pop24), $pop23 - return + i32.const $push23=, 0 + i32.const $push21=, 64 + i32.add $push22=, $8, $pop21 + i32.store $drop=, __stack_pointer($pop23), $pop22 + # fallthrough-return .endfunc .Lfunc_end5: .size varargs4, .Lfunc_end5-varargs4 @@ -708,95 +624,87 @@ varargs5: # @varargs5 .param i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push20=, __stack_pointer - i32.const $push17=, __stack_pointer - i32.load $push18=, 0($pop17) - i32.const $push19=, 64 - i32.sub $push26=, $pop18, $pop19 - i32.store $push32=, 0($pop20), $pop26 - tee_local $push31=, $10=, $pop32 - i32.store $drop=, 60($pop31), $6 - i32.load $push30=, 60($10) - tee_local $push29=, $6=, $pop30 - i32.const $push28=, 4 - i32.add $push3=, $pop29, $pop28 - i32.store $drop=, 60($10), $pop3 - i32.load $push4=, 0($6) - i32.store $drop=, 40($10), $pop4 - i32.const $push5=, 8 - i32.add $push6=, $6, $pop5 - i32.store $drop=, 60($10), $pop6 - i32.load $8=, 4($6) - i32.const $push7=, 12 - i32.add $push8=, $6, $pop7 - i32.store $drop=, 60($10), $pop8 - i32.load $9=, 8($6) - i32.const $push9=, 16 - i32.add $push10=, $6, $pop9 - i32.store $drop=, 60($10), $pop10 - i32.load $7=, 12($6) - i32.const $push11=, 20 - i32.add $push12=, $6, $pop11 - i32.store $drop=, 60($10), $pop12 - i32.load $6=, 16($6) - i32.store $drop=, 44($10), $8 - i32.store $drop=, 48($10), $9 - i32.store $drop=, 52($10), $7 - i32.store $drop=, 56($10), $6 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($10), $pop0 - i64.const $push1=, 12884901890 - i64.store $drop=, 24($10), $pop1 - i64.const $push2=, 21474836484 - i64.store $drop=, 32($10), $pop2 - i32.const $push24=, 16 - i32.add $push25=, $10, $pop24 + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) + i32.const $push18=, 64 + i32.sub $push25=, $pop17, $pop18 + i32.store $push31=, __stack_pointer($pop19), $pop25 + tee_local $push30=, $8=, $pop31 + i32.store $drop=, 60($pop30), $6 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($8), $pop1 + i32.load $push29=, 60($8) + tee_local $push28=, $6=, $pop29 i32.const $push27=, 4 - i32.or $8=, $pop25, $pop27 - i32.const $9=, 0 + i32.add $push2=, $pop28, $pop27 + i32.store $drop=, 60($8), $pop2 + i64.const $push3=, 12884901890 + i64.store $drop=, 24($8), $pop3 + i64.const $push4=, 21474836484 + i64.store $drop=, 32($8), $pop4 + i32.load $push5=, 0($6) + i32.store $drop=, 40($8), $pop5 + i32.load $push6=, 4($6) + i32.store $drop=, 44($8), $pop6 + i32.load $push7=, 8($6) + i32.store $drop=, 48($8), $pop7 + i32.load $push8=, 12($6) + i32.store $drop=, 52($8), $pop8 + i32.const $push9=, 20 + i32.add $push10=, $6, $pop9 + i32.store $drop=, 60($8), $pop10 + i32.load $push11=, 16($6) + i32.store $drop=, 56($8), $pop11 + i32.const $push23=, 16 + i32.add $push24=, $8, $pop23 + i32.const $push26=, 4 + i32.or $9=, $pop24, $pop26 + i32.const $10=, 0 i32.const $6=, 0 .LBB6_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label16: block - i32.eq $push13=, $6, $9 - br_if 0, $pop13 # 0: down to label18 + i32.eq $push12=, $6, $10 + br_if 0, $pop12 # 0: down to label18 # BB#2: # %if.then.i # in Loop: Header=BB6_1 Depth=1 - i32.store $7=, 12($10), $6 - i32.store $drop=, 8($10), $9 - i32.store $drop=, 4($10), $7 - i32.const $push39=, .L.str.6 - i32.store $drop=, 0($10), $pop39 - i32.const $push38=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop38, $10 - i32.const $push37=, 0 + i32.store $7=, 12($8), $6 + i32.store $drop=, 8($8), $10 + i32.store $drop=, 4($8), $7 + i32.const $push38=, .L.str.6 + i32.store $drop=, 0($8), $pop38 + i32.const $push37=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop37, $8 i32.const $push36=, 0 - i32.load $push14=, errors($pop36) - i32.const $push35=, 1 - i32.add $push15=, $pop14, $pop35 - i32.store $drop=, errors($pop37), $pop15 + i32.const $push35=, 0 + i32.load $push13=, errors($pop35) + i32.const $push34=, 1 + i32.add $push14=, $pop13, $pop34 + i32.store $drop=, errors($pop36), $pop14 .LBB6_3: # %for.inc.i # in Loop: Header=BB6_1 Depth=1 end_block # label18: - i32.const $push40=, 10 - i32.eq $push16=, $6, $pop40 - br_if 1, $pop16 # 1: down to label17 + i32.const $push39=, 10 + i32.eq $push15=, $6, $pop39 + br_if 1, $pop15 # 1: down to label17 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB6_1 Depth=1 - i32.load $9=, 0($8) - i32.const $push34=, 1 - i32.add $6=, $6, $pop34 - i32.const $push33=, 4 - i32.add $8=, $8, $pop33 + i32.const $push33=, 1 + i32.add $6=, $6, $pop33 + i32.load $10=, 0($9) + i32.const $push32=, 4 + i32.add $push0=, $9, $pop32 + copy_local $9=, $pop0 br 0 # 0: up to label16 .LBB6_5: # %verify.exit end_loop # label17: - i32.const $push23=, __stack_pointer - i32.const $push21=, 64 - i32.add $push22=, $10, $pop21 - i32.store $drop=, 0($pop23), $pop22 - return + i32.const $push22=, 0 + i32.const $push20=, 64 + i32.add $push21=, $8, $pop20 + i32.store $drop=, __stack_pointer($pop22), $pop21 + # fallthrough-return .endfunc .Lfunc_end6: .size varargs5, .Lfunc_end6-varargs5 @@ -807,91 +715,87 @@ varargs6: # @varargs6 .param i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) - i32.const $push17=, 64 - i32.sub $push24=, $pop16, $pop17 - i32.store $push28=, 0($pop18), $pop24 - tee_local $push27=, $11=, $pop28 - i32.store $drop=, 60($pop27), $7 - i32.load $7=, 60($11) - i32.const $push3=, 6 - i32.store $drop=, 40($11), $pop3 + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) + i32.const $push18=, 64 + i32.sub $push25=, $pop17, $pop18 + i32.store $push31=, __stack_pointer($pop19), $pop25 + tee_local $push30=, $9=, $pop31 + i32.store $drop=, 60($pop30), $7 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($9), $pop1 + i32.load $push29=, 60($9) + tee_local $push28=, $7=, $pop29 + i32.const $push27=, 4 + i32.add $push2=, $pop28, $pop27 + i32.store $drop=, 60($9), $pop2 + i64.const $push3=, 12884901890 + i64.store $drop=, 24($9), $pop3 + i64.const $push4=, 21474836484 + i64.store $drop=, 32($9), $pop4 + i32.const $push5=, 6 + i32.store $drop=, 40($9), $pop5 + i32.load $push6=, 0($7) + i32.store $drop=, 44($9), $pop6 + i32.load $push7=, 4($7) + i32.store $drop=, 48($9), $pop7 + i32.const $push8=, 16 + i32.add $push9=, $7, $pop8 + i32.store $drop=, 60($9), $pop9 + i32.load $push10=, 8($7) + i32.store $drop=, 52($9), $pop10 + i32.load $push11=, 12($7) + i32.store $drop=, 56($9), $pop11 + i32.const $push23=, 16 + i32.add $push24=, $9, $pop23 i32.const $push26=, 4 - i32.add $push4=, $7, $pop26 - i32.store $drop=, 60($11), $pop4 - i32.load $9=, 0($7) - i32.const $push5=, 8 - i32.add $push6=, $7, $pop5 - i32.store $drop=, 60($11), $pop6 - i32.load $10=, 4($7) - i32.const $push7=, 12 - i32.add $push8=, $7, $pop7 - i32.store $drop=, 60($11), $pop8 - i32.load $8=, 8($7) - i32.const $push9=, 16 - i32.add $push10=, $7, $pop9 - i32.store $drop=, 60($11), $pop10 - i32.load $7=, 12($7) - i32.store $drop=, 44($11), $9 - i32.store $drop=, 48($11), $10 - i32.store $drop=, 52($11), $8 - i32.store $drop=, 56($11), $7 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($11), $pop0 - i64.const $push1=, 12884901890 - i64.store $drop=, 24($11), $pop1 - i64.const $push2=, 21474836484 - i64.store $drop=, 32($11), $pop2 - i32.const $push22=, 16 - i32.add $push23=, $11, $pop22 - i32.const $push25=, 4 - i32.or $9=, $pop23, $pop25 - i32.const $10=, 0 + i32.or $10=, $pop24, $pop26 + i32.const $11=, 0 i32.const $7=, 0 .LBB7_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label19: block - i32.eq $push11=, $7, $10 - br_if 0, $pop11 # 0: down to label21 + i32.eq $push12=, $7, $11 + br_if 0, $pop12 # 0: down to label21 # BB#2: # %if.then.i # in Loop: Header=BB7_1 Depth=1 - i32.store $8=, 12($11), $7 - i32.store $drop=, 8($11), $10 - i32.store $drop=, 4($11), $8 - i32.const $push35=, .L.str.7 - i32.store $drop=, 0($11), $pop35 - i32.const $push34=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop34, $11 - i32.const $push33=, 0 - i32.const $push32=, 0 - i32.load $push12=, errors($pop32) - i32.const $push31=, 1 - i32.add $push13=, $pop12, $pop31 - i32.store $drop=, errors($pop33), $pop13 + i32.store $8=, 12($9), $7 + i32.store $drop=, 8($9), $11 + i32.store $drop=, 4($9), $8 + i32.const $push38=, .L.str.7 + i32.store $drop=, 0($9), $pop38 + i32.const $push37=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop37, $9 + i32.const $push36=, 0 + i32.const $push35=, 0 + i32.load $push13=, errors($pop35) + i32.const $push34=, 1 + i32.add $push14=, $pop13, $pop34 + i32.store $drop=, errors($pop36), $pop14 .LBB7_3: # %for.inc.i # in Loop: Header=BB7_1 Depth=1 end_block # label21: - i32.const $push36=, 10 - i32.eq $push14=, $7, $pop36 - br_if 1, $pop14 # 1: down to label20 + i32.const $push39=, 10 + i32.eq $push15=, $7, $pop39 + br_if 1, $pop15 # 1: down to label20 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB7_1 Depth=1 - i32.load $10=, 0($9) - i32.const $push30=, 1 - i32.add $7=, $7, $pop30 - i32.const $push29=, 4 - i32.add $9=, $9, $pop29 + i32.const $push33=, 1 + i32.add $7=, $7, $pop33 + i32.load $11=, 0($10) + i32.const $push32=, 4 + i32.add $push0=, $10, $pop32 + copy_local $10=, $pop0 br 0 # 0: up to label19 .LBB7_5: # %verify.exit end_loop # label20: - i32.const $push21=, __stack_pointer - i32.const $push19=, 64 - i32.add $push20=, $11, $pop19 - i32.store $drop=, 0($pop21), $pop20 - return + i32.const $push22=, 0 + i32.const $push20=, 64 + i32.add $push21=, $9, $pop20 + i32.store $drop=, __stack_pointer($pop22), $pop21 + # fallthrough-return .endfunc .Lfunc_end7: .size varargs6, .Lfunc_end7-varargs6 @@ -902,87 +806,85 @@ varargs7: # @varargs7 .param i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push16=, __stack_pointer - i32.const $push13=, __stack_pointer - i32.load $push14=, 0($pop13) - i32.const $push15=, 64 - i32.sub $push22=, $pop14, $pop15 - i32.store $push28=, 0($pop16), $pop22 - tee_local $push27=, $12=, $pop28 - i32.store $drop=, 60($pop27), $8 - i32.load $push26=, 60($12) - tee_local $push25=, $8=, $pop26 - i32.const $push24=, 4 - i32.add $push4=, $pop25, $pop24 - i32.store $drop=, 60($12), $pop4 - i32.load $10=, 0($8) - i32.const $push5=, 8 - i32.add $push6=, $8, $pop5 - i32.store $drop=, 60($12), $pop6 - i32.load $11=, 4($8) + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) + i32.const $push17=, 64 + i32.sub $push24=, $pop16, $pop17 + i32.store $push30=, __stack_pointer($pop18), $pop24 + tee_local $push29=, $10=, $pop30 + i32.store $drop=, 60($pop29), $8 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($10), $pop1 + i32.load $push28=, 60($10) + tee_local $push27=, $8=, $pop28 + i32.const $push26=, 4 + i32.add $push2=, $pop27, $pop26 + i32.store $drop=, 60($10), $pop2 + i64.const $push3=, 12884901890 + i64.store $drop=, 24($10), $pop3 + i64.const $push4=, 21474836484 + i64.store $drop=, 32($10), $pop4 + i64.const $push5=, 30064771078 + i64.store $drop=, 40($10), $pop5 + i32.load $push6=, 0($8) + i32.store $drop=, 48($10), $pop6 i32.const $push7=, 12 i32.add $push8=, $8, $pop7 - i32.store $drop=, 60($12), $pop8 - i32.load $8=, 8($8) - i32.store $drop=, 48($12), $10 - i32.store $drop=, 52($12), $11 - i32.store $drop=, 56($12), $8 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($12), $pop0 - i64.const $push1=, 12884901890 - i64.store $drop=, 24($12), $pop1 - i64.const $push2=, 21474836484 - i64.store $drop=, 32($12), $pop2 - i64.const $push3=, 30064771078 - i64.store $drop=, 40($12), $pop3 - i32.const $push20=, 16 - i32.add $push21=, $12, $pop20 - i32.const $push23=, 4 - i32.or $10=, $pop21, $pop23 - i32.const $11=, 0 + i32.store $drop=, 60($10), $pop8 + i32.load $push9=, 4($8) + i32.store $drop=, 52($10), $pop9 + i32.load $push10=, 8($8) + i32.store $drop=, 56($10), $pop10 + i32.const $push22=, 16 + i32.add $push23=, $10, $pop22 + i32.const $push25=, 4 + i32.or $11=, $pop23, $pop25 + i32.const $12=, 0 i32.const $8=, 0 .LBB8_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label22: block - i32.eq $push9=, $8, $11 - br_if 0, $pop9 # 0: down to label24 + i32.eq $push11=, $8, $12 + br_if 0, $pop11 # 0: down to label24 # BB#2: # %if.then.i # in Loop: Header=BB8_1 Depth=1 - i32.store $9=, 12($12), $8 - i32.store $drop=, 8($12), $11 - i32.store $drop=, 4($12), $9 - i32.const $push35=, .L.str.8 - i32.store $drop=, 0($12), $pop35 - i32.const $push34=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop34, $12 - i32.const $push33=, 0 - i32.const $push32=, 0 - i32.load $push10=, errors($pop32) - i32.const $push31=, 1 - i32.add $push11=, $pop10, $pop31 - i32.store $drop=, errors($pop33), $pop11 + i32.store $9=, 12($10), $8 + i32.store $drop=, 8($10), $12 + i32.store $drop=, 4($10), $9 + i32.const $push37=, .L.str.8 + i32.store $drop=, 0($10), $pop37 + i32.const $push36=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop36, $10 + i32.const $push35=, 0 + i32.const $push34=, 0 + i32.load $push12=, errors($pop34) + i32.const $push33=, 1 + i32.add $push13=, $pop12, $pop33 + i32.store $drop=, errors($pop35), $pop13 .LBB8_3: # %for.inc.i # in Loop: Header=BB8_1 Depth=1 end_block # label24: - i32.const $push36=, 10 - i32.eq $push12=, $8, $pop36 - br_if 1, $pop12 # 1: down to label23 + i32.const $push38=, 10 + i32.eq $push14=, $8, $pop38 + br_if 1, $pop14 # 1: down to label23 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB8_1 Depth=1 - i32.load $11=, 0($10) - i32.const $push30=, 1 - i32.add $8=, $8, $pop30 - i32.const $push29=, 4 - i32.add $10=, $10, $pop29 + i32.const $push32=, 1 + i32.add $8=, $8, $pop32 + i32.load $12=, 0($11) + i32.const $push31=, 4 + i32.add $push0=, $11, $pop31 + copy_local $11=, $pop0 br 0 # 0: up to label22 .LBB8_5: # %verify.exit end_loop # label23: - i32.const $push19=, __stack_pointer - i32.const $push17=, 64 - i32.add $push18=, $12, $pop17 - i32.store $drop=, 0($pop19), $pop18 - return + i32.const $push21=, 0 + i32.const $push19=, 64 + i32.add $push20=, $10, $pop19 + i32.store $drop=, __stack_pointer($pop21), $pop20 + # fallthrough-return .endfunc .Lfunc_end8: .size varargs7, .Lfunc_end8-varargs7 @@ -993,84 +895,84 @@ varargs8: # @varargs8 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) - i32.const $push13=, 64 - i32.sub $push20=, $pop12, $pop13 - i32.store $push27=, 0($pop14), $pop20 - tee_local $push26=, $13=, $pop27 - i32.store $drop=, 60($pop26), $9 - i32.load $push25=, 60($13) - tee_local $push24=, $9=, $pop25 + i32.const $push16=, 0 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) + i32.const $push15=, 64 + i32.sub $push22=, $pop14, $pop15 + i32.store $push28=, __stack_pointer($pop16), $pop22 + tee_local $push27=, $11=, $pop28 + i32.store $drop=, 60($pop27), $9 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($11), $pop1 + i64.const $push2=, 12884901890 + i64.store $drop=, 24($11), $pop2 + i64.const $push3=, 21474836484 + i64.store $drop=, 32($11), $pop3 + i64.const $push4=, 30064771078 + i64.store $drop=, 40($11), $pop4 + i32.load $push26=, 60($11) + tee_local $push25=, $9=, $pop26 + i32.const $push24=, 4 + i32.add $push5=, $pop25, $pop24 + i32.store $drop=, 60($11), $pop5 + i32.const $push6=, 8 + i32.store $12=, 48($11), $pop6 + i32.load $13=, 0($9) + i32.add $push7=, $9, $12 + i32.store $drop=, 60($11), $pop7 + i32.store $drop=, 52($11), $13 + i32.load $push8=, 4($9) + i32.store $drop=, 56($11), $pop8 + i32.const $push20=, 16 + i32.add $push21=, $11, $pop20 i32.const $push23=, 4 - i32.add $push5=, $pop24, $pop23 - i32.store $drop=, 60($13), $pop5 - i32.load $11=, 0($9) - i32.const $push4=, 8 - i32.add $push6=, $9, $pop4 - i32.store $drop=, 60($13), $pop6 - i32.load $9=, 4($9) - i32.const $push22=, 8 - i32.store $drop=, 48($13), $pop22 - i32.store $drop=, 52($13), $11 - i32.store $drop=, 56($13), $9 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($13), $pop0 - i64.const $push1=, 12884901890 - i64.store $drop=, 24($13), $pop1 - i64.const $push2=, 21474836484 - i64.store $drop=, 32($13), $pop2 - i64.const $push3=, 30064771078 - i64.store $drop=, 40($13), $pop3 - i32.const $push18=, 16 - i32.add $push19=, $13, $pop18 - i32.const $push21=, 4 - i32.or $11=, $pop19, $pop21 - i32.const $12=, 0 + i32.or $12=, $pop21, $pop23 + i32.const $13=, 0 i32.const $9=, 0 .LBB9_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label25: block - i32.eq $push7=, $9, $12 - br_if 0, $pop7 # 0: down to label27 + i32.eq $push9=, $9, $13 + br_if 0, $pop9 # 0: down to label27 # BB#2: # %if.then.i # in Loop: Header=BB9_1 Depth=1 - i32.store $10=, 12($13), $9 - i32.store $drop=, 8($13), $12 - i32.store $drop=, 4($13), $10 - i32.const $push34=, .L.str.9 - i32.store $drop=, 0($13), $pop34 - i32.const $push33=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop33, $13 + i32.store $10=, 12($11), $9 + i32.store $drop=, 8($11), $13 + i32.store $drop=, 4($11), $10 + i32.const $push35=, .L.str.9 + i32.store $drop=, 0($11), $pop35 + i32.const $push34=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop34, $11 + i32.const $push33=, 0 i32.const $push32=, 0 - i32.const $push31=, 0 - i32.load $push8=, errors($pop31) - i32.const $push30=, 1 - i32.add $push9=, $pop8, $pop30 - i32.store $drop=, errors($pop32), $pop9 + i32.load $push10=, errors($pop32) + i32.const $push31=, 1 + i32.add $push11=, $pop10, $pop31 + i32.store $drop=, errors($pop33), $pop11 .LBB9_3: # %for.inc.i # in Loop: Header=BB9_1 Depth=1 end_block # label27: - i32.const $push35=, 10 - i32.eq $push10=, $9, $pop35 - br_if 1, $pop10 # 1: down to label26 + i32.const $push36=, 10 + i32.eq $push12=, $9, $pop36 + br_if 1, $pop12 # 1: down to label26 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB9_1 Depth=1 - i32.load $12=, 0($11) - i32.const $push29=, 1 - i32.add $9=, $9, $pop29 - i32.const $push28=, 4 - i32.add $11=, $11, $pop28 + i32.const $push30=, 1 + i32.add $9=, $9, $pop30 + i32.load $13=, 0($12) + i32.const $push29=, 4 + i32.add $push0=, $12, $pop29 + copy_local $12=, $pop0 br 0 # 0: up to label25 .LBB9_5: # %verify.exit end_loop # label26: - i32.const $push17=, __stack_pointer - i32.const $push15=, 64 - i32.add $push16=, $13, $pop15 - i32.store $drop=, 0($pop17), $pop16 - return + i32.const $push19=, 0 + i32.const $push17=, 64 + i32.add $push18=, $11, $pop17 + i32.store $drop=, __stack_pointer($pop19), $pop18 + # fallthrough-return .endfunc .Lfunc_end9: .size varargs8, .Lfunc_end9-varargs8 @@ -1081,79 +983,80 @@ varargs9: # @varargs9 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32, i32 # BB#0: # %entry - i32.const $push14=, __stack_pointer - i32.const $push11=, __stack_pointer - i32.load $push12=, 0($pop11) - i32.const $push13=, 64 - i32.sub $push20=, $pop12, $pop13 - i32.store $push26=, 0($pop14), $pop20 - tee_local $push25=, $14=, $pop26 - i32.store $drop=, 60($pop25), $10 - i32.load $push24=, 60($14) - tee_local $push23=, $10=, $pop24 + i32.const $push15=, 0 + i32.const $push12=, 0 + i32.load $push13=, __stack_pointer($pop12) + i32.const $push14=, 64 + i32.sub $push21=, $pop13, $pop14 + i32.store $push27=, __stack_pointer($pop15), $pop21 + tee_local $push26=, $12=, $pop27 + i32.store $drop=, 60($pop26), $10 + i64.const $push1=, 4294967296 + i64.store $drop=, 16($12), $pop1 + i64.const $push2=, 12884901890 + i64.store $drop=, 24($12), $pop2 + i64.const $push3=, 21474836484 + i64.store $drop=, 32($12), $pop3 + i64.const $push4=, 30064771078 + i64.store $drop=, 40($12), $pop4 + i64.const $push5=, 38654705672 + i64.store $drop=, 48($12), $pop5 + i32.load $push25=, 60($12) + tee_local $push24=, $10=, $pop25 + i32.const $push23=, 4 + i32.add $push6=, $pop24, $pop23 + i32.store $drop=, 60($12), $pop6 + i32.load $push7=, 0($10) + i32.store $drop=, 56($12), $pop7 + i32.const $push19=, 16 + i32.add $push20=, $12, $pop19 i32.const $push22=, 4 - i32.add $push5=, $pop23, $pop22 - i32.store $drop=, 60($14), $pop5 - i32.load $push6=, 0($10) - i32.store $drop=, 56($14), $pop6 - i64.const $push0=, 4294967296 - i64.store $drop=, 16($14), $pop0 - i64.const $push1=, 12884901890 - i64.store $drop=, 24($14), $pop1 - i64.const $push2=, 21474836484 - i64.store $drop=, 32($14), $pop2 - i64.const $push3=, 30064771078 - i64.store $drop=, 40($14), $pop3 - i64.const $push4=, 38654705672 - i64.store $drop=, 48($14), $pop4 - i32.const $push18=, 16 - i32.add $push19=, $14, $pop18 - i32.const $push21=, 4 - i32.or $12=, $pop19, $pop21 - i32.const $13=, 0 + i32.or $13=, $pop20, $pop22 + i32.const $14=, 0 i32.const $10=, 0 .LBB10_1: # %for.body.i # =>This Inner Loop Header: Depth=1 loop # label28: block - i32.eq $push7=, $10, $13 - br_if 0, $pop7 # 0: down to label30 + i32.eq $push8=, $10, $14 + br_if 0, $pop8 # 0: down to label30 # BB#2: # %if.then.i # in Loop: Header=BB10_1 Depth=1 - i32.store $11=, 12($14), $10 - i32.store $drop=, 8($14), $13 - i32.store $drop=, 4($14), $11 - i32.const $push33=, .L.str.10 - i32.store $drop=, 0($14), $pop33 - i32.const $push32=, .L.str.1 - i32.call $drop=, printf@FUNCTION, $pop32, $14 + i32.store $11=, 12($12), $10 + i32.store $drop=, 8($12), $14 + i32.store $drop=, 4($12), $11 + i32.const $push34=, .L.str.10 + i32.store $drop=, 0($12), $pop34 + i32.const $push33=, .L.str.1 + i32.call $drop=, printf@FUNCTION, $pop33, $12 + i32.const $push32=, 0 i32.const $push31=, 0 - i32.const $push30=, 0 - i32.load $push8=, errors($pop30) - i32.const $push29=, 1 - i32.add $push9=, $pop8, $pop29 - i32.store $drop=, errors($pop31), $pop9 + i32.load $push9=, errors($pop31) + i32.const $push30=, 1 + i32.add $push10=, $pop9, $pop30 + i32.store $drop=, errors($pop32), $pop10 .LBB10_3: # %for.inc.i # in Loop: Header=BB10_1 Depth=1 end_block # label30: - i32.const $push34=, 10 - i32.eq $push10=, $10, $pop34 - br_if 1, $pop10 # 1: down to label29 + i32.const $push35=, 10 + i32.eq $push11=, $10, $pop35 + br_if 1, $pop11 # 1: down to label29 # BB#4: # %for.inc.i.for.body.i_crit_edge # in Loop: Header=BB10_1 Depth=1 - i32.load $13=, 0($12) - i32.const $push28=, 1 - i32.add $10=, $10, $pop28 - i32.const $push27=, 4 - i32.add $12=, $12, $pop27 + i32.const $push29=, 1 + i32.add $10=, $10, $pop29 + i32.load $14=, 0($13) + i32.const $push28=, 4 + i32.add $push0=, $13, $pop28 + copy_local $13=, $pop0 br 0 # 0: up to label28 .LBB10_5: # %verify.exit end_loop # label29: - i32.const $push17=, __stack_pointer - i32.const $push15=, 64 - i32.add $push16=, $14, $pop15 - i32.store $drop=, 0($pop17), $pop16 - return + i32.const $push18=, 0 + i32.const $push16=, 64 + i32.add $push17=, $12, $pop16 + i32.store $drop=, __stack_pointer($pop18), $pop17 + # fallthrough-return .endfunc .Lfunc_end10: .size varargs9, .Lfunc_end10-varargs9 diff --git a/test/torture-s/va-arg-26.c.s b/test/torture-s/va-arg-26.c.s index 04ad265a6..c58b80612 100644 --- a/test/torture-s/va-arg-26.c.s +++ b/test/torture-s/va-arg-26.c.s @@ -7,24 +7,24 @@ f: # @f .param f32, f32, f32, f32, f32, f32, i32 .result f64 - .local f64, i32, i32 + .local i32 # BB#0: # %entry - i32.const $push0=, 7 - i32.add $push1=, $6, $pop0 - i32.const $push2=, -8 - i32.and $push11=, $pop1, $pop2 - tee_local $push10=, $9=, $pop11 - f64.load $7=, 0($pop10) - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) - i32.const $push7=, 16 - i32.sub $push9=, $pop6, $pop7 - tee_local $push8=, $8=, $pop9 - i32.store $drop=, 12($pop8), $6 - i32.const $push3=, 8 - i32.add $push4=, $9, $pop3 - i32.store $drop=, 12($8), $pop4 - return $7 + i32.const $push7=, 0 + i32.load $push8=, __stack_pointer($pop7) + i32.const $push9=, 16 + i32.sub $push13=, $pop8, $pop9 + tee_local $push12=, $7=, $pop13 + i32.store $push0=, 12($7), $6 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push11=, $pop2, $pop3 + tee_local $push10=, $6=, $pop11 + i32.const $push4=, 8 + i32.add $push5=, $pop10, $pop4 + i32.store $drop=, 12($pop12), $pop5 + f64.load $push6=, 0($6) + # fallthrough-return: $pop6 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f @@ -37,12 +37,12 @@ main: # @main .result i32 .local f32, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push9=, $pop6, $pop7 - i32.store $push11=, 0($pop8), $pop9 + i32.store $push11=, __stack_pointer($pop8), $pop9 tee_local $push10=, $1=, $pop11 i64.const $push0=, 4619567317775286272 i64.store $drop=, 0($pop10), $pop0 diff --git a/test/torture-s/va-arg-4.c.s b/test/torture-s/va-arg-4.c.s index 5690f2aed..6e06c52cb 100644 --- a/test/torture-s/va-arg-4.c.s +++ b/test/torture-s/va-arg-4.c.s @@ -8,12 +8,12 @@ f: # @f .param i32, i32, i32 .local i32, i32 # BB#0: # %entry - i32.const $push25=, __stack_pointer - i32.const $push22=, __stack_pointer - i32.load $push23=, 0($pop22) + i32.const $push25=, 0 + i32.const $push22=, 0 + i32.load $push23=, __stack_pointer($pop22) i32.const $push24=, 16 i32.sub $push29=, $pop23, $pop24 - i32.store $4=, 0($pop25), $pop29 + i32.store $4=, __stack_pointer($pop25), $pop29 block i32.load8_u $push0=, 0($0) i32.const $push1=, 97 @@ -54,10 +54,10 @@ f: # @f i32.load $push21=, 0($3) br_if 0, $pop21 # 0: down to label0 # BB#6: # %if.end29 - i32.const $push28=, __stack_pointer + i32.const $push28=, 0 i32.const $push26=, 16 i32.add $push27=, $4, $pop26 - i32.store $drop=, 0($pop28), $pop27 + i32.store $drop=, __stack_pointer($pop28), $pop27 return .LBB0_7: # %if.then28 end_block # label0: @@ -75,12 +75,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push15=, __stack_pointer - i32.const $push12=, __stack_pointer - i32.load $push13=, 0($pop12) + i32.const $push15=, 0 + i32.const $push12=, 0 + i32.load $push13=, __stack_pointer($pop12) i32.const $push14=, 48 i32.sub $push18=, $pop13, $pop14 - i32.store $push24=, 0($pop15), $pop18 + i32.store $push24=, __stack_pointer($pop15), $pop18 tee_local $push23=, $1=, $pop24 i32.const $push2=, 40 i32.add $push3=, $pop23, $pop2 diff --git a/test/torture-s/va-arg-5.c.s b/test/torture-s/va-arg-5.c.s index 90b461e14..066d968f5 100644 --- a/test/torture-s/va-arg-5.c.s +++ b/test/torture-s/va-arg-5.c.s @@ -7,58 +7,59 @@ va_double: # @va_double .param i32, i32 .result i32 - .local i32, f64, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push22=, __stack_pointer - i32.const $push19=, __stack_pointer - i32.load $push20=, 0($pop19) - i32.const $push21=, 16 - i32.sub $push26=, $pop20, $pop21 - i32.store $2=, 0($pop22), $pop26 - i32.const $push0=, 7 - i32.add $push1=, $1, $pop0 - i32.const $push2=, -8 - i32.and $push28=, $pop1, $pop2 - tee_local $push27=, $4=, $pop28 - f64.load $3=, 0($pop27) - i32.store $drop=, 12($2), $1 - i32.const $push3=, 8 - i32.add $push4=, $4, $pop3 - i32.store $1=, 12($2), $pop4 + i32.const $push27=, 0 + i32.const $push24=, 0 + i32.load $push25=, __stack_pointer($pop24) + i32.const $push26=, 16 + i32.sub $push31=, $pop25, $pop26 + i32.store $push35=, __stack_pointer($pop27), $pop31 + tee_local $push34=, $4=, $pop35 + i32.store $push0=, 12($4), $1 + i32.const $push1=, 7 + i32.add $push2=, $pop0, $pop1 + i32.const $push3=, -8 + i32.and $push33=, $pop2, $pop3 + tee_local $push32=, $1=, $pop33 + i32.const $push4=, 8 + i32.add $push5=, $pop32, $pop4 + i32.store $2=, 12($pop34), $pop5 block - f64.const $push5=, 0x1.921fafc8b007ap1 - f64.ne $push6=, $3, $pop5 - br_if 0, $pop6 # 0: down to label0 + f64.load $push6=, 0($1) + f64.const $push7=, 0x1.921fafc8b007ap1 + f64.ne $push8=, $pop6, $pop7 + br_if 0, $pop8 # 0: down to label0 # BB#1: # %if.end - f64.load $3=, 0($1) - i32.const $push7=, 16 - i32.add $push8=, $4, $pop7 - i32.store $1=, 12($2), $pop8 - f64.const $push9=, 0x1.5bf04577d9557p1 - f64.ne $push10=, $3, $pop9 - br_if 0, $pop10 # 0: down to label0 + i32.const $push9=, 16 + i32.add $push10=, $1, $pop9 + i32.store $3=, 12($4), $pop10 + f64.load $push11=, 0($2) + f64.const $push12=, 0x1.5bf04577d9557p1 + f64.ne $push13=, $pop11, $pop12 + br_if 0, $pop13 # 0: down to label0 # BB#2: # %if.end6 - f64.load $3=, 0($1) - i32.const $push11=, 24 - i32.add $push12=, $4, $pop11 - i32.store $1=, 12($2), $pop12 - f64.const $push13=, 0x1.1e3779131154cp1 - f64.ne $push14=, $3, $pop13 - br_if 0, $pop14 # 0: down to label0 -# BB#3: # %if.end11 - f64.load $3=, 0($1) - i32.const $push15=, 32 - i32.add $push16=, $4, $pop15 - i32.store $drop=, 12($2), $pop16 - f64.const $push17=, 0x1.12e0be1b5921ep1 - f64.ne $push18=, $3, $pop17 + i32.const $push14=, 24 + i32.add $push15=, $1, $pop14 + i32.store $2=, 12($4), $pop15 + f64.load $push16=, 0($3) + f64.const $push17=, 0x1.1e3779131154cp1 + f64.ne $push18=, $pop16, $pop17 br_if 0, $pop18 # 0: down to label0 +# BB#3: # %if.end11 + i32.const $push19=, 32 + i32.add $push20=, $1, $pop19 + i32.store $drop=, 12($4), $pop20 + f64.load $push21=, 0($2) + f64.const $push22=, 0x1.12e0be1b5921ep1 + f64.ne $push23=, $pop21, $pop22 + br_if 0, $pop23 # 0: down to label0 # BB#4: # %if.end16 - i32.const $push25=, __stack_pointer - i32.const $push23=, 16 - i32.add $push24=, $2, $pop23 - i32.store $drop=, 0($pop25), $pop24 - return $2 + i32.const $push30=, 0 + i32.const $push28=, 16 + i32.add $push29=, $4, $pop28 + i32.store $drop=, __stack_pointer($pop30), $pop29 + return $4 .LBB0_5: # %if.then15 end_block # label0: call abort@FUNCTION @@ -74,72 +75,72 @@ va_double: # @va_double va_long_double: # @va_long_double .param i32, i32 .result i32 - .local i32, i64, i64, i32 + .local i32, i32, i32 # BB#0: # %entry - i32.const $push33=, __stack_pointer - i32.const $push30=, __stack_pointer - i32.load $push31=, 0($pop30) - i32.const $push32=, 16 - i32.sub $push37=, $pop31, $pop32 - i32.store $push41=, 0($pop33), $pop37 - tee_local $push40=, $5=, $pop41 - i32.store $push0=, 12($pop40), $1 + i32.const $push41=, 0 + i32.const $push38=, 0 + i32.load $push39=, __stack_pointer($pop38) + i32.const $push40=, 16 + i32.sub $push45=, $pop39, $pop40 + i32.store $push49=, __stack_pointer($pop41), $pop45 + tee_local $push48=, $4=, $pop49 + i32.store $push0=, 12($4), $1 i32.const $push1=, 15 i32.add $push2=, $pop0, $pop1 i32.const $push3=, -16 - i32.and $push39=, $pop2, $pop3 - tee_local $push38=, $1=, $pop39 - i64.load $3=, 8($pop38) - i64.load $4=, 0($1) + i32.and $push47=, $pop2, $pop3 + tee_local $push46=, $1=, $pop47 i32.const $push4=, 16 - i32.add $push5=, $1, $pop4 - i32.store $2=, 12($5), $pop5 + i32.add $push5=, $pop46, $pop4 + i32.store $2=, 12($pop48), $pop5 block - i64.const $push7=, -7338557514379428662 - i64.const $push6=, 4611846683218194439 - i32.call $push8=, __eqtf2@FUNCTION, $4, $3, $pop7, $pop6 - br_if 0, $pop8 # 0: down to label1 + i64.load $push7=, 0($1) + i64.load $push6=, 8($1) + i64.const $push9=, -7338557514379428662 + i64.const $push8=, 4611846683218194439 + i32.call $push10=, __eqtf2@FUNCTION, $pop7, $pop6, $pop9, $pop8 + br_if 0, $pop10 # 0: down to label1 # BB#1: # %if.end - i32.const $push11=, 24 + i32.const $push11=, 32 i32.add $push12=, $1, $pop11 - i64.load $3=, 0($pop12) - i64.load $4=, 0($2) - i32.const $push9=, 32 - i32.add $push10=, $1, $pop9 - i32.store $2=, 12($5), $pop10 - i64.const $push14=, 8163791057260899163 - i64.const $push13=, 4611787105943148885 - i32.call $push15=, __eqtf2@FUNCTION, $4, $3, $pop14, $pop13 - br_if 0, $pop15 # 0: down to label1 + i32.store $3=, 12($4), $pop12 + i64.load $push16=, 0($2) + i32.const $push13=, 24 + i32.add $push14=, $1, $pop13 + i64.load $push15=, 0($pop14) + i64.const $push18=, 8163791057260899163 + i64.const $push17=, 4611787105943148885 + i32.call $push19=, __eqtf2@FUNCTION, $pop16, $pop15, $pop18, $pop17 + br_if 0, $pop19 # 0: down to label1 # BB#2: # %if.end6 - i32.const $push18=, 40 - i32.add $push19=, $1, $pop18 - i64.load $3=, 0($pop19) - i64.load $4=, 0($2) - i32.const $push16=, 48 - i32.add $push17=, $1, $pop16 - i32.store $2=, 12($5), $pop17 - i64.const $push21=, -4892607794577095924 - i64.const $push20=, 4611719242030715220 - i32.call $push22=, __eqtf2@FUNCTION, $4, $3, $pop21, $pop20 - br_if 0, $pop22 # 0: down to label1 + i32.const $push20=, 48 + i32.add $push21=, $1, $pop20 + i32.store $2=, 12($4), $pop21 + i64.load $push25=, 0($3) + i32.const $push22=, 40 + i32.add $push23=, $1, $pop22 + i64.load $push24=, 0($pop23) + i64.const $push27=, -4892607794577095924 + i64.const $push26=, 4611719242030715220 + i32.call $push28=, __eqtf2@FUNCTION, $pop25, $pop24, $pop27, $pop26 + br_if 0, $pop28 # 0: down to label1 # BB#3: # %if.end11 - i32.const $push25=, 56 - i32.add $push26=, $1, $pop25 - i64.load $3=, 0($pop26) - i64.load $4=, 0($2) - i32.const $push23=, 64 - i32.add $push24=, $1, $pop23 - i32.store $drop=, 12($5), $pop24 - i64.const $push28=, -2718666384188054750 - i64.const $push27=, 4611706774898825505 - i32.call $push29=, __eqtf2@FUNCTION, $4, $3, $pop28, $pop27 - br_if 0, $pop29 # 0: down to label1 + i32.const $push29=, 64 + i32.add $push30=, $1, $pop29 + i32.store $drop=, 12($4), $pop30 + i64.load $push34=, 0($2) + i32.const $push31=, 56 + i32.add $push32=, $1, $pop31 + i64.load $push33=, 0($pop32) + i64.const $push36=, -2718666384188054750 + i64.const $push35=, 4611706774898825505 + i32.call $push37=, __eqtf2@FUNCTION, $pop34, $pop33, $pop36, $pop35 + br_if 0, $pop37 # 0: down to label1 # BB#4: # %if.end16 - i32.const $push36=, __stack_pointer - i32.const $push34=, 16 - i32.add $push35=, $5, $pop34 - i32.store $drop=, 0($pop36), $pop35 + i32.const $push44=, 0 + i32.const $push42=, 16 + i32.add $push43=, $4, $pop42 + i32.store $drop=, __stack_pointer($pop44), $pop43 return $1 .LBB1_5: # %if.then15 end_block # label1: @@ -157,12 +158,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push30=, __stack_pointer - i32.const $push27=, __stack_pointer - i32.load $push28=, 0($pop27) + i32.const $push30=, 0 + i32.const $push27=, 0 + i32.load $push28=, __stack_pointer($pop27) i32.const $push29=, 96 i32.sub $push37=, $pop28, $pop29 - i32.store $push41=, 0($pop30), $pop37 + i32.store $push41=, __stack_pointer($pop30), $pop37 tee_local $push40=, $0=, $pop41 i32.const $push31=, 64 i32.add $push32=, $pop40, $pop31 diff --git a/test/torture-s/va-arg-6.c.s b/test/torture-s/va-arg-6.c.s index 4439f0fc5..38a816071 100644 --- a/test/torture-s/va-arg-6.c.s +++ b/test/torture-s/va-arg-6.c.s @@ -7,19 +7,20 @@ f: # @f .param i32, i32 .result i32 - .local i32, i32, i32, i64, i64, f64 + .local i32, i32, i32, i64 # BB#0: # %entry - i32.const $push54=, __stack_pointer - i32.const $push51=, __stack_pointer - i32.load $push52=, 0($pop51) - i32.const $push53=, 16 - i32.sub $push58=, $pop52, $pop53 - i32.store $4=, 0($pop54), $pop58 - i32.store $push60=, 12($4), $1 - tee_local $push59=, $1=, $pop60 + i32.const $push60=, 0 + i32.const $push57=, 0 + i32.load $push58=, __stack_pointer($pop57) + i32.const $push59=, 16 + i32.sub $push64=, $pop58, $pop59 + i32.store $push68=, __stack_pointer($pop60), $pop64 + tee_local $push67=, $4=, $pop68 + i32.store $push66=, 12($4), $1 + tee_local $push65=, $1=, $pop66 i32.const $push3=, 4 - i32.add $push0=, $pop59, $pop3 - i32.store $2=, 12($4), $pop0 + i32.add $push0=, $pop65, $pop3 + i32.store $2=, 12($pop67), $pop0 block i32.load $push4=, 0($1) i32.const $push5=, 10 @@ -29,88 +30,91 @@ f: # @f i32.const $push7=, 7 i32.add $push8=, $2, $pop7 i32.const $push9=, -8 - i32.and $push62=, $pop8, $pop9 - tee_local $push61=, $1=, $pop62 - i64.load $5=, 0($pop61) + i32.and $push70=, $pop8, $pop9 + tee_local $push69=, $1=, $pop70 i32.const $push10=, 8 - i32.add $push11=, $1, $pop10 + i32.add $push11=, $pop69, $pop10 i32.store $2=, 12($4), $pop11 - i64.const $push12=, 10000000000 - i64.ne $push13=, $5, $pop12 - br_if 0, $pop13 # 0: down to label0 + i64.load $push12=, 0($1) + i64.const $push13=, 10000000000 + i64.ne $push14=, $pop12, $pop13 + br_if 0, $pop14 # 0: down to label0 # BB#2: # %if.end6 - i32.const $push14=, 12 - i32.add $push1=, $1, $pop14 + i32.const $push15=, 12 + i32.add $push1=, $1, $pop15 i32.store $1=, 12($4), $pop1 - i32.load $push15=, 0($2) - i32.const $push16=, 11 - i32.ne $push17=, $pop15, $pop16 - br_if 0, $pop17 # 0: down to label0 + i32.load $push16=, 0($2) + i32.const $push17=, 11 + i32.ne $push18=, $pop16, $pop17 + br_if 0, $pop18 # 0: down to label0 # BB#3: # %if.end11 - i32.const $push18=, 15 - i32.add $push19=, $1, $pop18 - i32.const $push20=, -16 - i32.and $push64=, $pop19, $pop20 - tee_local $push63=, $1=, $pop64 - i64.load $5=, 8($pop63) - i64.load $6=, 0($1) - i32.const $push21=, 16 - i32.add $push22=, $1, $pop21 - i32.store $2=, 12($4), $pop22 - i64.const $push24=, -1475739525896764129 - i64.const $push23=, 4611846459164112977 - i32.call $push25=, __eqtf2@FUNCTION, $6, $5, $pop24, $pop23 - br_if 0, $pop25 # 0: down to label0 + i32.const $push19=, 15 + i32.add $push20=, $1, $pop19 + i32.const $push21=, -16 + i32.and $push72=, $pop20, $pop21 + tee_local $push71=, $1=, $pop72 + i32.const $push22=, 16 + i32.add $push23=, $pop71, $pop22 + i32.store $2=, 12($4), $pop23 + i64.load $push25=, 0($1) + i64.load $push24=, 8($1) + i64.const $push27=, -1475739525896764129 + i64.const $push26=, 4611846459164112977 + i32.call $push28=, __eqtf2@FUNCTION, $pop25, $pop24, $pop27, $pop26 + br_if 0, $pop28 # 0: down to label0 # BB#4: # %if.end16 - i32.const $push26=, 20 - i32.add $push27=, $1, $pop26 - i32.store $3=, 12($4), $pop27 - i32.load $push28=, 0($2) - i32.const $push29=, 12 - i32.ne $push30=, $pop28, $pop29 - br_if 0, $pop30 # 0: down to label0 + i32.const $push29=, 20 + i32.add $push30=, $1, $pop29 + i32.store $drop=, 12($4), $pop30 + i64.load $push74=, 0($2) + tee_local $push73=, $5=, $pop74 + i32.wrap/i64 $push31=, $pop73 + i32.const $push32=, 12 + i32.ne $push33=, $pop31, $pop32 + br_if 0, $pop33 # 0: down to label0 # BB#5: # %if.end21 - i32.const $push31=, 24 - i32.add $push32=, $1, $pop31 - i32.store $2=, 12($4), $pop32 - i32.load $push33=, 0($3) - i32.const $push34=, 13 - i32.ne $push35=, $pop33, $pop34 - br_if 0, $pop35 # 0: down to label0 -# BB#6: # %if.end26 - i64.load $5=, 0($2) - i32.const $push36=, 32 - i32.add $push37=, $1, $pop36 - i32.store $2=, 12($4), $pop37 - i64.const $push38=, 20000000000 - i64.ne $push39=, $5, $pop38 + i32.const $push34=, 24 + i32.add $push35=, $1, $pop34 + i32.store $2=, 12($4), $pop35 + i64.const $push36=, -4294967296 + i64.and $push37=, $5, $pop36 + i64.const $push38=, 55834574848 + i64.ne $push39=, $pop37, $pop38 br_if 0, $pop39 # 0: down to label0 +# BB#6: # %if.end26 + i32.const $push40=, 32 + i32.add $push41=, $1, $pop40 + i32.store $3=, 12($4), $pop41 + i64.load $push42=, 0($2) + i64.const $push43=, 20000000000 + i64.ne $push44=, $pop42, $pop43 + br_if 0, $pop44 # 0: down to label0 # BB#7: # %if.end31 - i32.const $push40=, 36 - i32.add $push2=, $1, $pop40 + i32.const $push45=, 36 + i32.add $push2=, $1, $pop45 i32.store $1=, 12($4), $pop2 - i32.load $push41=, 0($2) - i32.const $push42=, 14 - i32.ne $push43=, $pop41, $pop42 - br_if 0, $pop43 # 0: down to label0 + i32.load $push46=, 0($3) + i32.const $push47=, 14 + i32.ne $push48=, $pop46, $pop47 + br_if 0, $pop48 # 0: down to label0 # BB#8: # %if.end36 - i32.const $push44=, 7 - i32.add $push45=, $1, $pop44 - i32.const $push46=, -8 - i32.and $push66=, $pop45, $pop46 - tee_local $push65=, $1=, $pop66 - f64.load $7=, 0($pop65) - i32.const $push47=, 8 - i32.add $push48=, $1, $pop47 - i32.store $drop=, 12($4), $pop48 - f64.const $push49=, 0x1.5c28f5c28f5c3p1 - f64.ne $push50=, $7, $pop49 - br_if 0, $pop50 # 0: down to label0 + i32.const $push49=, 7 + i32.add $push50=, $1, $pop49 + i32.const $push51=, -8 + i32.and $push76=, $pop50, $pop51 + tee_local $push75=, $1=, $pop76 + i32.const $push52=, 8 + i32.add $push53=, $pop75, $pop52 + i32.store $drop=, 12($4), $pop53 + f64.load $push54=, 0($1) + f64.const $push55=, 0x1.5c28f5c28f5c3p1 + f64.ne $push56=, $pop54, $pop55 + br_if 0, $pop56 # 0: down to label0 # BB#9: # %if.end41 - i32.const $push57=, __stack_pointer - i32.const $push55=, 16 - i32.add $push56=, $4, $pop55 - i32.store $drop=, 0($pop57), $pop56 + i32.const $push63=, 0 + i32.const $push61=, 16 + i32.add $push62=, $4, $pop61 + i32.store $drop=, __stack_pointer($pop63), $pop62 return $4 .LBB0_10: # %if.then40 end_block # label0: @@ -128,12 +132,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push30=, __stack_pointer - i32.const $push27=, __stack_pointer - i32.load $push28=, 0($pop27) + i32.const $push30=, 0 + i32.const $push27=, 0 + i32.load $push28=, __stack_pointer($pop27) i32.const $push29=, 80 i32.sub $push31=, $pop28, $pop29 - i32.store $push33=, 0($pop30), $pop31 + i32.store $push33=, __stack_pointer($pop30), $pop31 tee_local $push32=, $0=, $pop33 i32.const $push0=, 64 i32.add $push1=, $pop32, $pop0 diff --git a/test/torture-s/va-arg-7.c.s b/test/torture-s/va-arg-7.c.s index 8f34cb3ca..ab6f96de3 100644 --- a/test/torture-s/va-arg-7.c.s +++ b/test/torture-s/va-arg-7.c.s @@ -8,25 +8,26 @@ debug: # @debug .param i32, i32, i32, i32, i32, i32, i32, f64, f64, f64, f64, f64, f64, f64, f64, f64, i32 .local i32, i32 # BB#0: # %entry - i32.const $push18=, __stack_pointer - i32.const $push15=, __stack_pointer - i32.load $push16=, 0($pop15) + i32.const $push18=, 0 + i32.const $push15=, 0 + i32.load $push16=, __stack_pointer($pop15) i32.const $push17=, 16 i32.sub $push22=, $pop16, $pop17 - i32.store $18=, 0($pop18), $pop22 + i32.store $push27=, __stack_pointer($pop18), $pop22 + tee_local $push26=, $18=, $pop27 i32.store $push25=, 12($18), $16 tee_local $push24=, $16=, $pop25 i32.const $push0=, 4 i32.add $push1=, $pop24, $pop0 - i32.store $17=, 12($18), $pop1 + i32.store $17=, 12($pop26), $pop1 block i32.load $push2=, 0($16) i32.const $push23=, 8 i32.ne $push3=, $pop2, $pop23 br_if 0, $pop3 # 0: down to label0 # BB#1: # %if.end - i32.const $push26=, 8 - i32.add $push4=, $16, $pop26 + i32.const $push28=, 8 + i32.add $push4=, $16, $pop28 i32.store $drop=, 12($18), $pop4 i32.load $push5=, 0($17) i32.const $push6=, 9 @@ -43,10 +44,10 @@ debug: # @debug i32.ne $push14=, $pop12, $pop13 br_if 0, $pop14 # 0: down to label0 # BB#3: # %if.end11 - i32.const $push21=, __stack_pointer + i32.const $push21=, 0 i32.const $push19=, 16 i32.add $push20=, $18, $pop19 - i32.store $drop=, 0($pop21), $pop20 + i32.store $drop=, __stack_pointer($pop21), $pop20 return .LBB0_4: # %if.then10 end_block # label0: @@ -64,12 +65,12 @@ main: # @main .result i32 .local f64, i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push7=, $pop4, $pop5 - i32.store $push9=, 0($pop6), $pop7 + i32.store $push9=, __stack_pointer($pop6), $pop7 tee_local $push8=, $1=, $pop9 i32.const $push0=, 10 i32.store $drop=, 8($pop8), $pop0 diff --git a/test/torture-s/va-arg-8.c.s b/test/torture-s/va-arg-8.c.s index be93f45e4..0b525129f 100644 --- a/test/torture-s/va-arg-8.c.s +++ b/test/torture-s/va-arg-8.c.s @@ -6,19 +6,20 @@ .type debug,@function debug: # @debug .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 - .local i32, i32, i64 + .local i32, i32 # BB#0: # %entry - i32.const $push15=, __stack_pointer - i32.const $push12=, __stack_pointer - i32.load $push13=, 0($pop12) - i32.const $push14=, 16 - i32.sub $push19=, $pop13, $pop14 - i32.store $11=, 0($pop15), $pop19 - i32.store $push21=, 12($11), $9 - tee_local $push20=, $9=, $pop21 + i32.const $push16=, 0 + i32.const $push13=, 0 + i32.load $push14=, __stack_pointer($pop13) + i32.const $push15=, 16 + i32.sub $push20=, $pop14, $pop15 + i32.store $push24=, __stack_pointer($pop16), $pop20 + tee_local $push23=, $11=, $pop24 + i32.store $push22=, 12($11), $9 + tee_local $push21=, $9=, $pop22 i32.const $push1=, 4 - i32.add $push0=, $pop20, $pop1 - i32.store $10=, 12($11), $pop0 + i32.add $push0=, $pop21, $pop1 + i32.store $10=, 12($pop23), $pop0 block i32.load $push2=, 0($9) i32.const $push3=, 10 @@ -28,20 +29,20 @@ debug: # @debug i32.const $push5=, 7 i32.add $push6=, $10, $pop5 i32.const $push7=, -8 - i32.and $push23=, $pop6, $pop7 - tee_local $push22=, $9=, $pop23 - i64.load $12=, 0($pop22) + i32.and $push26=, $pop6, $pop7 + tee_local $push25=, $9=, $pop26 i32.const $push8=, 8 - i32.add $push9=, $9, $pop8 + i32.add $push9=, $pop25, $pop8 i32.store $drop=, 12($11), $pop9 - i64.const $push10=, 20014547621496 - i64.ne $push11=, $12, $pop10 - br_if 0, $pop11 # 0: down to label0 + i64.load $push10=, 0($9) + i64.const $push11=, 20014547621496 + i64.ne $push12=, $pop10, $pop11 + br_if 0, $pop12 # 0: down to label0 # BB#2: # %if.end6 - i32.const $push18=, __stack_pointer - i32.const $push16=, 16 - i32.add $push17=, $11, $pop16 - i32.store $drop=, 0($pop18), $pop17 + i32.const $push19=, 0 + i32.const $push17=, 16 + i32.add $push18=, $11, $pop17 + i32.store $drop=, __stack_pointer($pop19), $pop18 return .LBB0_3: # %if.then5 end_block # label0: @@ -59,12 +60,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push6=, __stack_pointer - i32.const $push3=, __stack_pointer - i32.load $push4=, 0($pop3) + i32.const $push6=, 0 + i32.const $push3=, 0 + i32.load $push4=, __stack_pointer($pop3) i32.const $push5=, 16 i32.sub $push7=, $pop4, $pop5 - i32.store $push9=, 0($pop6), $pop7 + i32.store $push9=, __stack_pointer($pop6), $pop7 tee_local $push8=, $0=, $pop9 i64.const $push0=, 20014547621496 i64.store $drop=, 8($pop8), $pop0 diff --git a/test/torture-s/va-arg-9.c.s b/test/torture-s/va-arg-9.c.s index 33b558c8d..1d8d7433b 100644 --- a/test/torture-s/va-arg-9.c.s +++ b/test/torture-s/va-arg-9.c.s @@ -32,10 +32,10 @@ fap: # @fap .local i32 # BB#0: # %entry block - i32.call $push0=, strlen@FUNCTION, $1 + i32.call $push1=, strlen@FUNCTION, $1 i32.const $push6=, 16 - i32.sub $push1=, $pop6, $0 - i32.ne $push2=, $pop0, $pop1 + i32.sub $push0=, $pop6, $0 + i32.ne $push2=, $pop1, $pop0 br_if 0, $pop2 # 0: down to label1 # BB#1: .LBB1_2: # %while.cond @@ -55,10 +55,10 @@ fap: # @fap br_if 3, $pop3 # 3: down to label1 # BB#4: # %to_hex.exit # in Loop: Header=BB1_2 Depth=1 - i32.const $push13=, 4 - i32.add $2=, $2, $pop13 - i32.const $push12=, 1 - i32.add $1=, $1, $pop12 + i32.const $push13=, 1 + i32.add $1=, $1, $pop13 + i32.const $push12=, 4 + i32.add $2=, $2, $pop12 i32.load8_u $push4=, .L.str($3) i32.eq $push5=, $0, $pop4 br_if 0, $pop5 # 0: up to label3 @@ -85,12 +85,12 @@ f0: # @f0 .param i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push12=, $pop6, $pop7 - i32.store $push15=, 0($pop8), $pop12 + i32.store $push15=, __stack_pointer($pop8), $pop12 tee_local $push14=, $2=, $pop15 i32.store $drop=, 12($pop14), $1 block @@ -117,10 +117,10 @@ f0: # @f0 br_if 3, $pop2 # 3: down to label5 # BB#4: # %to_hex.exit.i # in Loop: Header=BB2_2 Depth=1 - i32.const $push22=, 4 - i32.add $1=, $1, $pop22 - i32.const $push21=, 1 - i32.add $0=, $0, $pop21 + i32.const $push22=, 1 + i32.add $0=, $0, $pop22 + i32.const $push21=, 4 + i32.add $1=, $1, $pop21 i32.load8_u $push3=, .L.str($4) i32.eq $push4=, $3, $pop3 br_if 0, $pop4 # 0: up to label7 @@ -130,10 +130,10 @@ f0: # @f0 unreachable .LBB2_6: # %fap.exit end_block # label6: - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $2, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 return .LBB2_7: # %if.then.i.i end_block # label5: @@ -151,12 +151,12 @@ f1: # @f1 .param i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $3=, $pop15 i32.store $drop=, 12($pop14), $2 block @@ -183,10 +183,10 @@ f1: # @f1 br_if 3, $pop3 # 3: down to label9 # BB#4: # %to_hex.exit.i # in Loop: Header=BB3_2 Depth=1 - i32.const $push22=, 4 - i32.add $2=, $2, $pop22 - i32.const $push21=, 1 - i32.add $1=, $1, $pop21 + i32.const $push22=, 1 + i32.add $1=, $1, $pop22 + i32.const $push21=, 4 + i32.add $2=, $2, $pop21 i32.load8_u $push4=, .L.str($5) i32.eq $push5=, $4, $pop4 br_if 0, $pop5 # 0: up to label11 @@ -196,10 +196,10 @@ f1: # @f1 unreachable .LBB3_6: # %fap.exit end_block # label10: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $3, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB3_7: # %if.then.i.i end_block # label9: @@ -217,12 +217,12 @@ f2: # @f2 .param i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $4=, $pop15 i32.store $drop=, 12($pop14), $3 block @@ -249,10 +249,10 @@ f2: # @f2 br_if 3, $pop3 # 3: down to label13 # BB#4: # %to_hex.exit.i # in Loop: Header=BB4_2 Depth=1 - i32.const $push22=, 4 - i32.add $3=, $3, $pop22 - i32.const $push21=, 1 - i32.add $2=, $2, $pop21 + i32.const $push22=, 1 + i32.add $2=, $2, $pop22 + i32.const $push21=, 4 + i32.add $3=, $3, $pop21 i32.load8_u $push4=, .L.str($6) i32.eq $push5=, $5, $pop4 br_if 0, $pop5 # 0: up to label15 @@ -262,10 +262,10 @@ f2: # @f2 unreachable .LBB4_6: # %fap.exit end_block # label14: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $4, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB4_7: # %if.then.i.i end_block # label13: @@ -283,12 +283,12 @@ f3: # @f3 .param i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $5=, $pop15 i32.store $drop=, 12($pop14), $4 block @@ -315,10 +315,10 @@ f3: # @f3 br_if 3, $pop3 # 3: down to label17 # BB#4: # %to_hex.exit.i # in Loop: Header=BB5_2 Depth=1 - i32.const $push22=, 4 - i32.add $4=, $4, $pop22 - i32.const $push21=, 1 - i32.add $3=, $3, $pop21 + i32.const $push22=, 1 + i32.add $3=, $3, $pop22 + i32.const $push21=, 4 + i32.add $4=, $4, $pop21 i32.load8_u $push4=, .L.str($7) i32.eq $push5=, $6, $pop4 br_if 0, $pop5 # 0: up to label19 @@ -328,10 +328,10 @@ f3: # @f3 unreachable .LBB5_6: # %fap.exit end_block # label18: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $5, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB5_7: # %if.then.i.i end_block # label17: @@ -349,12 +349,12 @@ f4: # @f4 .param i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $6=, $pop15 i32.store $drop=, 12($pop14), $5 block @@ -381,10 +381,10 @@ f4: # @f4 br_if 3, $pop3 # 3: down to label21 # BB#4: # %to_hex.exit.i # in Loop: Header=BB6_2 Depth=1 - i32.const $push22=, 4 - i32.add $5=, $5, $pop22 - i32.const $push21=, 1 - i32.add $4=, $4, $pop21 + i32.const $push22=, 1 + i32.add $4=, $4, $pop22 + i32.const $push21=, 4 + i32.add $5=, $5, $pop21 i32.load8_u $push4=, .L.str($8) i32.eq $push5=, $7, $pop4 br_if 0, $pop5 # 0: up to label23 @@ -394,10 +394,10 @@ f4: # @f4 unreachable .LBB6_6: # %fap.exit end_block # label22: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $6, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB6_7: # %if.then.i.i end_block # label21: @@ -415,12 +415,12 @@ f5: # @f5 .param i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $7=, $pop15 i32.store $drop=, 12($pop14), $6 block @@ -447,10 +447,10 @@ f5: # @f5 br_if 3, $pop3 # 3: down to label25 # BB#4: # %to_hex.exit.i # in Loop: Header=BB7_2 Depth=1 - i32.const $push22=, 4 - i32.add $6=, $6, $pop22 - i32.const $push21=, 1 - i32.add $5=, $5, $pop21 + i32.const $push22=, 1 + i32.add $5=, $5, $pop22 + i32.const $push21=, 4 + i32.add $6=, $6, $pop21 i32.load8_u $push4=, .L.str($9) i32.eq $push5=, $8, $pop4 br_if 0, $pop5 # 0: up to label27 @@ -460,10 +460,10 @@ f5: # @f5 unreachable .LBB7_6: # %fap.exit end_block # label26: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $7, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB7_7: # %if.then.i.i end_block # label25: @@ -481,12 +481,12 @@ f6: # @f6 .param i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $8=, $pop15 i32.store $drop=, 12($pop14), $7 block @@ -513,10 +513,10 @@ f6: # @f6 br_if 3, $pop3 # 3: down to label29 # BB#4: # %to_hex.exit.i # in Loop: Header=BB8_2 Depth=1 - i32.const $push22=, 4 - i32.add $7=, $7, $pop22 - i32.const $push21=, 1 - i32.add $6=, $6, $pop21 + i32.const $push22=, 1 + i32.add $6=, $6, $pop22 + i32.const $push21=, 4 + i32.add $7=, $7, $pop21 i32.load8_u $push4=, .L.str($10) i32.eq $push5=, $9, $pop4 br_if 0, $pop5 # 0: up to label31 @@ -526,10 +526,10 @@ f6: # @f6 unreachable .LBB8_6: # %fap.exit end_block # label30: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $8, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB8_7: # %if.then.i.i end_block # label29: @@ -547,12 +547,12 @@ f7: # @f7 .param i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $9=, $pop15 i32.store $drop=, 12($pop14), $8 block @@ -579,10 +579,10 @@ f7: # @f7 br_if 3, $pop3 # 3: down to label33 # BB#4: # %to_hex.exit.i # in Loop: Header=BB9_2 Depth=1 - i32.const $push22=, 4 - i32.add $8=, $8, $pop22 - i32.const $push21=, 1 - i32.add $7=, $7, $pop21 + i32.const $push22=, 1 + i32.add $7=, $7, $pop22 + i32.const $push21=, 4 + i32.add $8=, $8, $pop21 i32.load8_u $push4=, .L.str($11) i32.eq $push5=, $10, $pop4 br_if 0, $pop5 # 0: up to label35 @@ -592,10 +592,10 @@ f7: # @f7 unreachable .LBB9_6: # %fap.exit end_block # label34: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $9, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB9_7: # %if.then.i.i end_block # label33: @@ -613,12 +613,12 @@ f8: # @f8 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $10=, $pop15 i32.store $drop=, 12($pop14), $9 block @@ -645,10 +645,10 @@ f8: # @f8 br_if 3, $pop3 # 3: down to label37 # BB#4: # %to_hex.exit.i # in Loop: Header=BB10_2 Depth=1 - i32.const $push22=, 4 - i32.add $9=, $9, $pop22 - i32.const $push21=, 1 - i32.add $8=, $8, $pop21 + i32.const $push22=, 1 + i32.add $8=, $8, $pop22 + i32.const $push21=, 4 + i32.add $9=, $9, $pop21 i32.load8_u $push4=, .L.str($12) i32.eq $push5=, $11, $pop4 br_if 0, $pop5 # 0: up to label39 @@ -658,10 +658,10 @@ f8: # @f8 unreachable .LBB10_6: # %fap.exit end_block # label38: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $10, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB10_7: # %if.then.i.i end_block # label37: @@ -679,12 +679,12 @@ f9: # @f9 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $11=, $pop15 i32.store $drop=, 12($pop14), $10 block @@ -711,10 +711,10 @@ f9: # @f9 br_if 3, $pop3 # 3: down to label41 # BB#4: # %to_hex.exit.i # in Loop: Header=BB11_2 Depth=1 - i32.const $push22=, 4 - i32.add $10=, $10, $pop22 - i32.const $push21=, 1 - i32.add $9=, $9, $pop21 + i32.const $push22=, 1 + i32.add $9=, $9, $pop22 + i32.const $push21=, 4 + i32.add $10=, $10, $pop21 i32.load8_u $push4=, .L.str($13) i32.eq $push5=, $12, $pop4 br_if 0, $pop5 # 0: up to label43 @@ -724,10 +724,10 @@ f9: # @f9 unreachable .LBB11_6: # %fap.exit end_block # label42: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $11, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB11_7: # %if.then.i.i end_block # label41: @@ -745,12 +745,12 @@ f10: # @f10 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $12=, $pop15 i32.store $drop=, 12($pop14), $11 block @@ -777,10 +777,10 @@ f10: # @f10 br_if 3, $pop3 # 3: down to label45 # BB#4: # %to_hex.exit.i # in Loop: Header=BB12_2 Depth=1 - i32.const $push22=, 4 - i32.add $11=, $11, $pop22 - i32.const $push21=, 1 - i32.add $10=, $10, $pop21 + i32.const $push22=, 1 + i32.add $10=, $10, $pop22 + i32.const $push21=, 4 + i32.add $11=, $11, $pop21 i32.load8_u $push4=, .L.str($14) i32.eq $push5=, $13, $pop4 br_if 0, $pop5 # 0: up to label47 @@ -790,10 +790,10 @@ f10: # @f10 unreachable .LBB12_6: # %fap.exit end_block # label46: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $12, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB12_7: # %if.then.i.i end_block # label45: @@ -811,12 +811,12 @@ f11: # @f11 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $13=, $pop15 i32.store $drop=, 12($pop14), $12 block @@ -843,10 +843,10 @@ f11: # @f11 br_if 3, $pop3 # 3: down to label49 # BB#4: # %to_hex.exit.i # in Loop: Header=BB13_2 Depth=1 - i32.const $push22=, 4 - i32.add $12=, $12, $pop22 - i32.const $push21=, 1 - i32.add $11=, $11, $pop21 + i32.const $push22=, 1 + i32.add $11=, $11, $pop22 + i32.const $push21=, 4 + i32.add $12=, $12, $pop21 i32.load8_u $push4=, .L.str($15) i32.eq $push5=, $14, $pop4 br_if 0, $pop5 # 0: up to label51 @@ -856,10 +856,10 @@ f11: # @f11 unreachable .LBB13_6: # %fap.exit end_block # label50: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $13, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB13_7: # %if.then.i.i end_block # label49: @@ -877,12 +877,12 @@ f12: # @f12 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push12=, $pop6, $pop7 - i32.store $push15=, 0($pop8), $pop12 + i32.store $push15=, __stack_pointer($pop8), $pop12 tee_local $push14=, $14=, $pop15 i32.store $drop=, 12($pop14), $13 block @@ -909,10 +909,10 @@ f12: # @f12 br_if 3, $pop2 # 3: down to label53 # BB#4: # %to_hex.exit.i # in Loop: Header=BB14_2 Depth=1 - i32.const $push22=, 4 - i32.add $13=, $13, $pop22 - i32.const $push21=, 1 - i32.add $12=, $12, $pop21 + i32.const $push22=, 1 + i32.add $12=, $12, $pop22 + i32.const $push21=, 4 + i32.add $13=, $13, $pop21 i32.load8_u $push3=, .L.str($16) i32.eq $push4=, $15, $pop3 br_if 0, $pop4 # 0: up to label55 @@ -922,10 +922,10 @@ f12: # @f12 unreachable .LBB14_6: # %fap.exit end_block # label54: - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $14, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 return .LBB14_7: # %if.then.i.i end_block # label53: @@ -943,12 +943,12 @@ f13: # @f13 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $15=, $pop15 i32.store $drop=, 12($pop14), $14 block @@ -975,10 +975,10 @@ f13: # @f13 br_if 3, $pop3 # 3: down to label57 # BB#4: # %to_hex.exit.i # in Loop: Header=BB15_2 Depth=1 - i32.const $push22=, 4 - i32.add $14=, $14, $pop22 - i32.const $push21=, 1 - i32.add $13=, $13, $pop21 + i32.const $push22=, 1 + i32.add $13=, $13, $pop22 + i32.const $push21=, 4 + i32.add $14=, $14, $pop21 i32.load8_u $push4=, .L.str($17) i32.eq $push5=, $16, $pop4 br_if 0, $pop5 # 0: up to label59 @@ -988,10 +988,10 @@ f13: # @f13 unreachable .LBB15_6: # %fap.exit end_block # label58: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $15, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB15_7: # %if.then.i.i end_block # label57: @@ -1009,12 +1009,12 @@ f14: # @f14 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push9=, __stack_pointer - i32.const $push6=, __stack_pointer - i32.load $push7=, 0($pop6) + i32.const $push9=, 0 + i32.const $push6=, 0 + i32.load $push7=, __stack_pointer($pop6) i32.const $push8=, 16 i32.sub $push13=, $pop7, $pop8 - i32.store $push15=, 0($pop9), $pop13 + i32.store $push15=, __stack_pointer($pop9), $pop13 tee_local $push14=, $16=, $pop15 i32.store $drop=, 12($pop14), $15 block @@ -1041,10 +1041,10 @@ f14: # @f14 br_if 3, $pop3 # 3: down to label61 # BB#4: # %to_hex.exit.i # in Loop: Header=BB16_2 Depth=1 - i32.const $push22=, 4 - i32.add $15=, $15, $pop22 - i32.const $push21=, 1 - i32.add $14=, $14, $pop21 + i32.const $push22=, 1 + i32.add $14=, $14, $pop22 + i32.const $push21=, 4 + i32.add $15=, $15, $pop21 i32.load8_u $push4=, .L.str($18) i32.eq $push5=, $17, $pop4 br_if 0, $pop5 # 0: up to label63 @@ -1054,10 +1054,10 @@ f14: # @f14 unreachable .LBB16_6: # %fap.exit end_block # label62: - i32.const $push12=, __stack_pointer + i32.const $push12=, 0 i32.const $push10=, 16 i32.add $push11=, $16, $pop10 - i32.store $drop=, 0($pop12), $pop11 + i32.store $drop=, __stack_pointer($pop12), $pop11 return .LBB16_7: # %if.then.i.i end_block # label61: @@ -1075,12 +1075,12 @@ f15: # @f15 .param i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 .local i32, i32, i32 # BB#0: # %entry - i32.const $push8=, __stack_pointer - i32.const $push5=, __stack_pointer - i32.load $push6=, 0($pop5) + i32.const $push8=, 0 + i32.const $push5=, 0 + i32.load $push6=, __stack_pointer($pop5) i32.const $push7=, 16 i32.sub $push12=, $pop6, $pop7 - i32.store $push15=, 0($pop8), $pop12 + i32.store $push15=, __stack_pointer($pop8), $pop12 tee_local $push14=, $17=, $pop15 i32.store $drop=, 12($pop14), $16 block @@ -1107,10 +1107,10 @@ f15: # @f15 br_if 3, $pop2 # 3: down to label65 # BB#4: # %to_hex.exit.i # in Loop: Header=BB17_2 Depth=1 - i32.const $push22=, 4 - i32.add $16=, $16, $pop22 - i32.const $push21=, 1 - i32.add $15=, $15, $pop21 + i32.const $push22=, 1 + i32.add $15=, $15, $pop22 + i32.const $push21=, 4 + i32.add $16=, $16, $pop21 i32.load8_u $push3=, .L.str($19) i32.eq $push4=, $18, $pop3 br_if 0, $pop4 # 0: up to label67 @@ -1120,10 +1120,10 @@ f15: # @f15 unreachable .LBB17_6: # %fap.exit end_block # label66: - i32.const $push11=, __stack_pointer + i32.const $push11=, 0 i32.const $push9=, 16 i32.add $push10=, $17, $pop9 - i32.store $drop=, 0($pop11), $pop10 + i32.store $drop=, __stack_pointer($pop11), $pop10 return .LBB17_7: # %if.then.i.i end_block # label65: @@ -1141,12 +1141,12 @@ main: # @main .result i32 .local i64, i64, i64, i64, i64, i64, i64, i32, i64, i64, i64, i64, i64, i64, i32 # BB#0: # %entry - i32.const $push84=, __stack_pointer - i32.const $push81=, __stack_pointer - i32.load $push82=, 0($pop81) + i32.const $push84=, 0 + i32.const $push81=, 0 + i32.load $push82=, __stack_pointer($pop81) i32.const $push83=, 640 i32.sub $push199=, $pop82, $pop83 - i32.store $push237=, 0($pop84), $pop199 + i32.store $push237=, __stack_pointer($pop84), $pop199 tee_local $push236=, $14=, $pop237 i32.const $push85=, 576 i32.add $push86=, $pop236, $pop85 diff --git a/test/torture-s/va-arg-pack-1.c.s b/test/torture-s/va-arg-pack-1.c.s index 0221fdd32..8c4b02c89 100644 --- a/test/torture-s/va-arg-pack-1.c.s +++ b/test/torture-s/va-arg-pack-1.c.s @@ -7,16 +7,16 @@ foo1: # @foo1 .param i32, i32, i32 .result i32 - .local i32, i64, i64, i32, i32 + .local i32, i32, i64, i64 # BB#0: # %entry - i32.const $push81=, __stack_pointer - i32.const $push78=, __stack_pointer - i32.load $push79=, 0($pop78) - i32.const $push80=, 32 - i32.sub $push91=, $pop79, $pop80 - i32.store $push93=, 0($pop81), $pop91 - tee_local $push92=, $7=, $pop93 - i32.store $drop=, 12($pop92), $2 + i32.const $push86=, 0 + i32.const $push83=, 0 + i32.load $push84=, __stack_pointer($pop83) + i32.const $push85=, 32 + i32.sub $push96=, $pop84, $pop85 + i32.store $push98=, __stack_pointer($pop86), $pop96 + tee_local $push97=, $4=, $pop98 + i32.store $drop=, 12($pop97), $2 block i32.const $push3=, 19 i32.gt_u $push4=, $0, $pop3 @@ -26,21 +26,21 @@ foo1: # @foo1 br_if 0, $pop5 # 0: down to label0 # BB#2: # %if.end i32.const $push6=, 0 - i32.const $push94=, 0 - i32.load $push7=, cnt($pop94) + i32.const $push99=, 0 + i32.load $push7=, cnt($pop99) i32.const $push8=, 1 i32.add $push9=, $pop7, $pop8 - i32.store $push0=, cnt($pop6), $pop9 - i32.store8 $drop=, seen($0), $pop0 + i32.store8 $push0=, seen($0), $pop9 + i32.store $drop=, cnt($pop6), $pop0 i32.const $push10=, 6 i32.ne $push11=, $1, $pop10 br_if 0, $pop11 # 0: down to label0 # BB#3: # %if.end9 - i32.load $push96=, 12($7) - tee_local $push95=, $2=, $pop96 + i32.load $push101=, 12($4) + tee_local $push100=, $2=, $pop101 i32.const $push12=, 4 - i32.add $push1=, $pop95, $pop12 - i32.store $1=, 12($7), $pop1 + i32.add $push1=, $pop100, $pop12 + i32.store $1=, 12($4), $pop1 i32.load $push13=, 0($2) i32.const $push14=, 5 i32.ne $push15=, $pop13, $pop14 @@ -58,76 +58,76 @@ foo1: # @foo1 # BB#6: # %if.end13 br_if 2, $0 # 2: down to label0 # BB#7: # %sw.bb - i32.const $push45=, 8 - i32.add $push2=, $2, $pop45 - i32.store $1=, 12($7), $pop2 - i32.const $push46=, 4 - i32.add $push47=, $2, $pop46 - i32.load $push48=, 0($pop47) - i32.const $push97=, 9 - i32.ne $push49=, $pop48, $pop97 - br_if 2, $pop49 # 2: down to label0 -# BB#8: # %sw.bb - i32.const $push50=, 0 - i32.load $push44=, v1($pop50) - i32.const $push98=, 9 - i32.ne $push51=, $pop44, $pop98 + i32.const $push47=, 8 + i32.add $push2=, $2, $pop47 + i32.store $1=, 12($4), $pop2 + i32.const $push48=, 4 + i32.add $push49=, $2, $pop48 + i32.load $push50=, 0($pop49) + i32.const $push102=, 9 + i32.ne $push51=, $pop50, $pop102 br_if 2, $pop51 # 2: down to label0 +# BB#8: # %sw.bb + i32.const $push52=, 0 + i32.load $push46=, v1($pop52) + i32.const $push103=, 9 + i32.ne $push53=, $pop46, $pop103 + br_if 2, $pop53 # 2: down to label0 # BB#9: # %if.end22 - i32.const $push58=, 8 - i32.add $push59=, $1, $pop58 - i32.load $6=, 0($pop59):p2align=0 - i32.const $push85=, 16 - i32.add $push86=, $7, $pop85 + i32.const $push90=, 16 + i32.add $push91=, $4, $pop90 i32.const $push54=, 12 - i32.add $push57=, $pop86, $pop54 - i32.const $push101=, 12 - i32.add $push55=, $1, $pop101 + i32.add $push57=, $pop91, $pop54 + i32.const $push106=, 12 + i32.add $push55=, $1, $pop106 i32.load $push56=, 0($pop55):p2align=0 i32.store $drop=, 0($pop57), $pop56 - i32.const $push87=, 16 - i32.add $push88=, $7, $pop87 - i32.const $push100=, 8 - i32.add $push60=, $pop88, $pop100 - i32.store $drop=, 0($pop60), $6 - i32.const $push61=, 4 - i32.add $push62=, $1, $pop61 - i32.load $6=, 0($pop62):p2align=0 - i32.const $push52=, 24 - i32.add $push53=, $2, $pop52 - i32.store $3=, 12($7), $pop53 - i32.load $1=, 0($1):p2align=0 - i32.store $drop=, 20($7), $6 - i32.store $drop=, 16($7), $1 - i32.const $push89=, 16 - i32.add $push90=, $7, $pop89 - i32.const $push99=, v4 - i32.const $push63=, 16 - i32.call $push64=, memcmp@FUNCTION, $pop90, $pop99, $pop63 - br_if 2, $pop64 # 2: down to label0 + i32.const $push92=, 16 + i32.add $push93=, $4, $pop92 + i32.const $push58=, 8 + i32.add $push61=, $pop93, $pop58 + i32.const $push105=, 8 + i32.add $push59=, $1, $pop105 + i32.load $push60=, 0($pop59):p2align=0 + i32.store $drop=, 0($pop61), $pop60 + i32.const $push62=, 24 + i32.add $push63=, $2, $pop62 + i32.store $3=, 12($4), $pop63 + i32.const $push64=, 4 + i32.add $push65=, $1, $pop64 + i32.load $push66=, 0($pop65):p2align=0 + i32.store $drop=, 20($4), $pop66 + i32.load $push67=, 0($1):p2align=0 + i32.store $drop=, 16($4), $pop67 + i32.const $push94=, 16 + i32.add $push95=, $4, $pop94 + i32.const $push104=, v4 + i32.const $push68=, 16 + i32.call $push69=, memcmp@FUNCTION, $pop95, $pop104, $pop68 + br_if 2, $pop69 # 2: down to label0 # BB#10: # %if.end28 - i32.const $push65=, 28 - i32.add $push66=, $2, $pop65 - i32.store $1=, 12($7), $pop66 - i32.load $push67=, 0($3) - i32.const $push102=, v4 - i32.ne $push68=, $pop67, $pop102 - br_if 2, $pop68 # 2: down to label0 -# BB#11: # %if.end34 - i32.const $push70=, 32 + i32.const $push70=, 28 i32.add $push71=, $2, $pop70 - i32.store $drop=, 12($7), $pop71 + i32.store $1=, 12($4), $pop71 + i32.load $push72=, 0($3) + i32.const $push107=, v4 + i32.ne $push73=, $pop72, $pop107 + br_if 2, $pop73 # 2: down to label0 +# BB#11: # %if.end34 + i32.const $push75=, 32 + i32.add $push76=, $2, $pop75 + i32.store $drop=, 12($4), $pop76 block - i32.load $push72=, 0($1) - i32.const $push73=, 3 - i32.ne $push74=, $pop72, $pop73 - br_if 0, $pop74 # 0: down to label3 + i32.load $push77=, 0($1) + i32.const $push78=, 3 + i32.ne $push79=, $pop77, $pop78 + br_if 0, $pop79 # 0: down to label3 # BB#12: # %if.end34 - i32.const $push75=, 0 - i32.load $push69=, v2($pop75) - i32.const $push76=, 4 - i32.eq $push77=, $pop69, $pop76 - br_if 2, $pop77 # 2: down to label1 + i32.const $push80=, 0 + i32.load $push74=, v2($pop80) + i32.const $push81=, 4 + i32.eq $push82=, $pop74, $pop81 + br_if 2, $pop82 # 2: down to label1 .LBB0_13: # %if.then42 end_block # label3: call abort@FUNCTION @@ -137,48 +137,54 @@ foo1: # @foo1 i32.const $push22=, 15 i32.add $push23=, $1, $pop22 i32.const $push24=, -16 - i32.and $push104=, $pop23, $pop24 - tee_local $push103=, $2=, $pop104 - i64.load $5=, 8($pop103) - i64.load $4=, 0($2) + i32.and $push113=, $pop23, $pop24 + tee_local $push112=, $2=, $pop113 i32.const $push25=, 16 - i32.add $push26=, $2, $pop25 - i32.store $drop=, 12($7), $pop26 + i32.add $push26=, $pop112, $pop25 + i32.store $drop=, 12($4), $pop26 + i64.load $push111=, 0($2) + tee_local $push110=, $5=, $pop111 + i64.load $push109=, 8($2) + tee_local $push108=, $6=, $pop109 i64.const $push28=, 0 i64.const $push27=, 4612891083171430400 - i32.call $push29=, __netf2@FUNCTION, $4, $5, $pop28, $pop27 + i32.call $push29=, __netf2@FUNCTION, $pop110, $pop108, $pop28, $pop27 br_if 1, $pop29 # 1: down to label0 # BB#15: # %sw.bb44 i32.const $push30=, 0 i64.load $push20=, v5($pop30) - i32.const $push105=, 0 - i64.load $push21=, v5+8($pop105) - i32.call $push31=, __eqtf2@FUNCTION, $pop20, $pop21, $4, $5 + i32.const $push114=, 0 + i64.load $push21=, v5+8($pop114) + i32.call $push31=, __eqtf2@FUNCTION, $pop20, $pop21, $5, $6 br_if 1, $pop31 # 1: down to label0 # BB#16: # %if.end53 i32.const $push32=, 20 i32.add $push33=, $2, $pop32 - i32.store $1=, 12($7), $pop33 + i32.store $drop=, 12($4), $pop33 i32.const $push34=, 16 i32.add $push35=, $2, $pop34 - i32.load $push36=, 0($pop35) + i64.load $push116=, 0($pop35) + tee_local $push115=, $5=, $pop116 + i32.wrap/i64 $push36=, $pop115 i32.const $push37=, 8 i32.ne $push38=, $pop36, $pop37 br_if 1, $pop38 # 1: down to label0 # BB#17: # %if.end59 i32.const $push39=, 24 i32.add $push40=, $2, $pop39 - i32.store $drop=, 12($7), $pop40 - i32.load $push41=, 0($1) - i32.const $push42=, v2 - i32.ne $push43=, $pop41, $pop42 - br_if 1, $pop43 # 1: down to label0 + i32.store $drop=, 12($4), $pop40 + i64.const $push41=, 32 + i64.shr_u $push42=, $5, $pop41 + i32.wrap/i64 $push43=, $pop42 + i32.const $push44=, v2 + i32.ne $push45=, $pop43, $pop44 + br_if 1, $pop45 # 1: down to label0 .LBB0_18: # %sw.epilog end_block # label1: - i32.const $push84=, __stack_pointer - i32.const $push82=, 32 - i32.add $push83=, $7, $pop82 - i32.store $drop=, 0($pop84), $pop83 + i32.const $push89=, 0 + i32.const $push87=, 32 + i32.add $push88=, $4, $pop87 + i32.store $drop=, __stack_pointer($pop89), $pop88 return $0 .LBB0_19: # %sw.default end_block # label0: @@ -195,16 +201,16 @@ foo1: # @foo1 foo2: # @foo2 .param i32, i32, i32 .result i32 - .local i32, i64, i64, i32 + .local i32, i32 # BB#0: # %entry - i32.const $push72=, __stack_pointer - i32.const $push69=, __stack_pointer - i32.load $push70=, 0($pop69) - i32.const $push71=, 48 - i32.sub $push88=, $pop70, $pop71 - i32.store $push90=, 0($pop72), $pop88 - tee_local $push89=, $6=, $pop90 - i32.store $drop=, 12($pop89), $2 + i32.const $push75=, 0 + i32.const $push72=, 0 + i32.load $push73=, __stack_pointer($pop72) + i32.const $push74=, 48 + i32.sub $push91=, $pop73, $pop74 + i32.store $push93=, __stack_pointer($pop75), $pop91 + tee_local $push92=, $4=, $pop93 + i32.store $drop=, 12($pop92), $2 block i32.const $push4=, 19 i32.gt_u $push5=, $0, $pop4 @@ -214,8 +220,8 @@ foo2: # @foo2 br_if 0, $pop6 # 0: down to label4 # BB#2: # %if.end i32.const $push7=, 0 - i32.const $push91=, 0 - i32.load $push8=, cnt($pop91) + i32.const $push94=, 0 + i32.load $push8=, cnt($pop94) i32.const $push9=, 1 i32.add $push10=, $pop8, $pop9 i32.store $push0=, cnt($pop7), $pop10 @@ -239,124 +245,124 @@ foo2: # @foo2 i32.ne $push20=, $0, $pop19 br_if 1, $pop20 # 1: down to label4 # BB#6: # %sw.bb - i32.load $push23=, 12($6) - i32.const $push24=, 15 - i32.add $push25=, $pop23, $pop24 + i32.load $push24=, 12($4) + i32.const $push23=, 15 + i32.add $push25=, $pop24, $pop23 i32.const $push26=, -16 - i32.and $push94=, $pop25, $pop26 - tee_local $push93=, $2=, $pop94 - i64.load $4=, 8($pop93) - i64.load $5=, 0($2) + i32.and $push97=, $pop25, $pop26 + tee_local $push96=, $2=, $pop97 i32.const $push27=, 16 - i32.add $push1=, $2, $pop27 - i32.store $1=, 12($6), $pop1 - i64.const $push92=, 0 - i64.const $push28=, 4612891083171430400 - i32.call $push29=, __netf2@FUNCTION, $5, $4, $pop92, $pop28 - br_if 1, $pop29 # 1: down to label4 -# BB#7: # %sw.bb - i32.const $push30=, 0 - i64.load $push21=, v5($pop30) - i32.const $push96=, 0 - i64.load $push22=, v5+8($pop96) + i32.add $push1=, $pop96, $pop27 + i32.store $1=, 12($4), $pop1 + i64.load $push29=, 0($2) + i64.load $push28=, 8($2) i64.const $push95=, 0 - i64.const $push31=, 4612882287078408192 - i32.call $push32=, __eqtf2@FUNCTION, $pop21, $pop22, $pop95, $pop31 - br_if 1, $pop32 # 1: down to label4 + i64.const $push30=, 4612891083171430400 + i32.call $push31=, __netf2@FUNCTION, $pop29, $pop28, $pop95, $pop30 + br_if 1, $pop31 # 1: down to label4 +# BB#7: # %sw.bb + i32.const $push32=, 0 + i64.load $push21=, v5($pop32) + i32.const $push99=, 0 + i64.load $push22=, v5+8($pop99) + i64.const $push98=, 0 + i64.const $push33=, 4612882287078408192 + i32.call $push34=, __eqtf2@FUNCTION, $pop21, $pop22, $pop98, $pop33 + br_if 1, $pop34 # 1: down to label4 # BB#8: # %if.end16 - i32.const $push76=, 32 - i32.add $push77=, $6, $pop76 - i32.const $push103=, 12 - i32.add $push36=, $pop77, $pop103 - i32.const $push102=, 12 - i32.add $push34=, $1, $pop102 - i32.load $push35=, 0($pop34):p2align=0 - i32.store $drop=, 0($pop36), $pop35 - i32.const $push78=, 32 - i32.add $push79=, $6, $pop78 - i32.const $push101=, 8 - i32.add $push39=, $pop79, $pop101 - i32.const $push100=, 8 - i32.add $push37=, $1, $pop100 - i32.load $push38=, 0($pop37):p2align=0 - i32.store $drop=, 0($pop39), $pop38 - i32.const $push99=, 4 - i32.add $push40=, $1, $pop99 - i32.load $push41=, 0($pop40):p2align=0 - i32.store $drop=, 36($6), $pop41 - i32.const $push33=, 32 - i32.add $push2=, $2, $pop33 - i32.store $3=, 12($6), $pop2 - i32.load $push42=, 0($1):p2align=0 - i32.store $drop=, 32($6), $pop42 - i32.const $push80=, 32 - i32.add $push81=, $6, $pop80 - i32.const $push98=, v4 - i32.const $push97=, 16 - i32.call $push43=, memcmp@FUNCTION, $pop81, $pop98, $pop97 - br_if 1, $pop43 # 1: down to label4 + i32.const $push79=, 32 + i32.add $push80=, $4, $pop79 + i32.const $push106=, 12 + i32.add $push37=, $pop80, $pop106 + i32.const $push105=, 12 + i32.add $push35=, $1, $pop105 + i32.load $push36=, 0($pop35):p2align=0 + i32.store $drop=, 0($pop37), $pop36 + i32.const $push81=, 32 + i32.add $push82=, $4, $pop81 + i32.const $push104=, 8 + i32.add $push40=, $pop82, $pop104 + i32.const $push103=, 8 + i32.add $push38=, $1, $pop103 + i32.load $push39=, 0($pop38):p2align=0 + i32.store $drop=, 0($pop40), $pop39 + i32.const $push41=, 32 + i32.add $push2=, $2, $pop41 + i32.store $3=, 12($4), $pop2 + i32.const $push102=, 4 + i32.add $push42=, $1, $pop102 + i32.load $push43=, 0($pop42):p2align=0 + i32.store $drop=, 36($4), $pop43 + i32.load $push44=, 0($1):p2align=0 + i32.store $drop=, 32($4), $pop44 + i32.const $push83=, 32 + i32.add $push84=, $4, $pop83 + i32.const $push101=, v4 + i32.const $push100=, 16 + i32.call $push45=, memcmp@FUNCTION, $pop84, $pop101, $pop100 + br_if 1, $pop45 # 1: down to label4 # BB#9: # %if.end22 - i32.const $push82=, 16 - i32.add $push83=, $6, $pop82 - i32.const $push110=, 12 - i32.add $push48=, $pop83, $pop110 - i32.const $push109=, 12 - i32.add $push46=, $3, $pop109 + i32.const $push85=, 16 + i32.add $push86=, $4, $pop85 + i32.const $push113=, 12 + i32.add $push48=, $pop86, $pop113 + i32.const $push112=, 12 + i32.add $push46=, $3, $pop112 i32.load $push47=, 0($pop46):p2align=0 i32.store $drop=, 0($pop48), $pop47 - i32.const $push84=, 16 - i32.add $push85=, $6, $pop84 - i32.const $push108=, 8 - i32.add $push51=, $pop85, $pop108 - i32.const $push107=, 8 - i32.add $push49=, $3, $pop107 + i32.const $push87=, 16 + i32.add $push88=, $4, $pop87 + i32.const $push111=, 8 + i32.add $push51=, $pop88, $pop111 + i32.const $push110=, 8 + i32.add $push49=, $3, $pop110 i32.load $push50=, 0($pop49):p2align=0 i32.store $drop=, 0($pop51), $pop50 - i32.const $push106=, 4 - i32.add $push52=, $3, $pop106 - i32.load $push53=, 0($pop52):p2align=0 - i32.store $drop=, 20($6), $pop53 - i32.const $push44=, 48 - i32.add $push45=, $2, $pop44 - i32.store $1=, 12($6), $pop45 - i32.load $push54=, 0($3):p2align=0 - i32.store $drop=, 16($6), $pop54 - i32.const $push86=, 16 - i32.add $push87=, $6, $pop86 - i32.const $push105=, v4 - i32.const $push104=, 16 - i32.call $push55=, memcmp@FUNCTION, $pop87, $pop105, $pop104 - br_if 1, $pop55 # 1: down to label4 + i32.const $push52=, 48 + i32.add $push53=, $2, $pop52 + i32.store $1=, 12($4), $pop53 + i32.const $push109=, 4 + i32.add $push54=, $3, $pop109 + i32.load $push55=, 0($pop54):p2align=0 + i32.store $drop=, 20($4), $pop55 + i32.load $push56=, 0($3):p2align=0 + i32.store $drop=, 16($4), $pop56 + i32.const $push89=, 16 + i32.add $push90=, $4, $pop89 + i32.const $push108=, v4 + i32.const $push107=, 16 + i32.call $push57=, memcmp@FUNCTION, $pop90, $pop108, $pop107 + br_if 1, $pop57 # 1: down to label4 # BB#10: # %if.end31 - i32.const $push56=, 52 - i32.add $push3=, $2, $pop56 - i32.store $2=, 12($6), $pop3 - i32.load $push57=, 0($1) - i32.const $push58=, v2 - i32.ne $push59=, $pop57, $pop58 - br_if 1, $pop59 # 1: down to label4 + i32.const $push58=, 52 + i32.add $push3=, $2, $pop58 + i32.store $2=, 12($4), $pop3 + i32.load $push59=, 0($1) + i32.const $push60=, v2 + i32.ne $push61=, $pop59, $pop60 + br_if 1, $pop61 # 1: down to label4 # BB#11: # %if.end37 - i32.const $push60=, 7 - i32.add $push61=, $2, $pop60 - i32.const $push62=, -8 - i32.and $push112=, $pop61, $pop62 - tee_local $push111=, $2=, $pop112 - i64.load $4=, 0($pop111) - i32.const $push63=, 8 - i32.add $push64=, $2, $pop63 - i32.store $drop=, 12($6), $pop64 - i64.const $push65=, 16 - i64.ne $push66=, $4, $pop65 - br_if 1, $pop66 # 1: down to label4 + i32.const $push62=, 7 + i32.add $push63=, $2, $pop62 + i32.const $push64=, -8 + i32.and $push115=, $pop63, $pop64 + tee_local $push114=, $2=, $pop115 + i32.const $push65=, 8 + i32.add $push66=, $pop114, $pop65 + i32.store $drop=, 12($4), $pop66 + i64.load $push67=, 0($2) + i64.const $push68=, 16 + i64.ne $push69=, $pop67, $pop68 + br_if 1, $pop69 # 1: down to label4 .LBB1_12: # %sw.epilog end_block # label5: - i32.const $push75=, __stack_pointer - i32.const $push73=, 48 - i32.add $push74=, $6, $pop73 - i32.store $drop=, 0($pop75), $pop74 - i32.const $push67=, 8 - i32.add $push68=, $0, $pop67 - return $pop68 + i32.const $push78=, 0 + i32.const $push76=, 48 + i32.add $push77=, $4, $pop76 + i32.store $drop=, __stack_pointer($pop78), $pop77 + i32.const $push70=, 8 + i32.add $push71=, $0, $pop70 + return $pop71 .LBB1_13: # %sw.default end_block # label4: call abort@FUNCTION @@ -373,7 +379,7 @@ foo3: # @foo3 .result i32 # BB#0: # %entry i32.const $push0=, 6 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end2: .size foo3, .Lfunc_end2-foo3 @@ -384,203 +390,202 @@ foo3: # @foo3 .type main,@function main: # @main .result i32 - .local i64, i32, i32, i64, i64, i32 + .local i32, i64, i64, i32, i32 # BB#0: # %entry - i32.const $push65=, __stack_pointer - i32.const $push62=, __stack_pointer - i32.load $push63=, 0($pop62) - i32.const $push64=, 176 - i32.sub $push93=, $pop63, $pop64 - i32.store $1=, 0($pop65), $pop93 - i32.const $push107=, 0 - i32.load $2=, v1($pop107) - i32.const $push106=, 0 - i32.const $push105=, 0 - i32.load $push104=, v2($pop105) - tee_local $push103=, $5=, $pop104 - i32.const $push102=, 1 - i32.add $push1=, $pop103, $pop102 - i32.store $drop=, v2($pop106), $pop1 + i32.const $push70=, 0 + i32.const $push67=, 0 + i32.load $push68=, __stack_pointer($pop67) + i32.const $push69=, 176 + i32.sub $push98=, $pop68, $pop69 + i32.store $3=, __stack_pointer($pop70), $pop98 + i32.const $push112=, 0 + i32.const $push111=, 0 + i32.load $push1=, v1($pop111) + i32.const $push110=, 1 + i32.add $push2=, $pop1, $pop110 + i32.store $0=, v1($pop112), $pop2 + i32.const $push109=, 0 + i32.const $push108=, 0 + i32.load $push107=, v2($pop108) + tee_local $push106=, $4=, $pop107 + i32.const $push105=, 1 + i32.add $push3=, $pop106, $pop105 + i32.store $drop=, v2($pop109), $pop3 + i32.const $push5=, 172 + i32.add $push6=, $3, $pop5 + i32.const $push104=, 0 + i32.load $push4=, v4+12($pop104):p2align=0 + i32.store $drop=, 0($pop6), $pop4 + i32.const $push74=, 160 + i32.add $push75=, $3, $pop74 + i32.const $push103=, 8 + i32.add $push8=, $pop75, $pop103 + i32.const $push102=, 0 + i32.load $push7=, v4+8($pop102):p2align=0 + i32.store $drop=, 0($pop8), $pop7 + i32.const $push10=, 164 + i32.add $push11=, $3, $pop10 i32.const $push101=, 0 - i32.const $push100=, 1 - i32.add $push0=, $2, $pop100 - i32.store $2=, v1($pop101), $pop0 - i32.const $push3=, 172 - i32.add $push4=, $1, $pop3 - i32.const $push99=, 0 - i32.load $push2=, v4+12($pop99):p2align=0 - i32.store $drop=, 0($pop4), $pop2 - i32.const $push69=, 160 - i32.add $push70=, $1, $pop69 - i32.const $push98=, 8 - i32.add $push6=, $pop70, $pop98 - i32.const $push97=, 0 - i32.load $push5=, v4+8($pop97):p2align=0 - i32.store $drop=, 0($pop6), $pop5 - i32.const $push8=, 164 - i32.add $push9=, $1, $pop8 - i32.const $push96=, 0 - i32.load $push7=, v4+4($pop96):p2align=0 - i32.store $drop=, 0($pop9), $pop7 - i32.const $push95=, 0 - i32.load $push10=, v4($pop95):p2align=0 - i32.store $drop=, 160($1), $pop10 - i32.store $drop=, 144($1), $2 - i32.store $drop=, 156($1), $5 - i32.const $push11=, v4 - i32.store $drop=, 152($1), $pop11 - i32.const $push71=, 160 - i32.add $push72=, $1, $pop71 - i32.store $drop=, 148($1), $pop72 + i32.load $push9=, v4+4($pop101):p2align=0 + i32.store $drop=, 0($pop11), $pop9 + i32.const $push100=, 0 + i32.load $push12=, v4($pop100):p2align=0 + i32.store $drop=, 160($3), $pop12 + i32.store $drop=, 144($3), $0 + i32.store $drop=, 156($3), $4 + i32.const $push13=, v4 + i32.store $drop=, 152($3), $pop13 + i32.const $push76=, 160 + i32.add $push77=, $3, $pop76 + i32.store $drop=, 148($3), $pop77 block - i32.const $push94=, 0 - i32.const $push73=, 144 - i32.add $push74=, $1, $pop73 - i32.call $push12=, bar@FUNCTION, $pop94, $pop74 - br_if 0, $pop12 # 0: down to label6 + i32.const $push99=, 0 + i32.const $push78=, 144 + i32.add $push79=, $3, $pop78 + i32.call $push14=, bar@FUNCTION, $pop99, $pop79 + br_if 0, $pop14 # 0: down to label6 # BB#1: # %if.end - i32.const $push75=, 96 - i32.add $push76=, $1, $pop75 - i32.const $push116=, 0 - i64.load $push14=, v5($pop116) + i32.const $push80=, 96 + i32.add $push81=, $3, $pop80 + i32.const $push120=, 0 + i64.load $push16=, v5($pop120) + i32.const $push119=, 0 + i64.load $push15=, v5+8($pop119) + i64.const $push18=, 0 + i64.const $push17=, 4611404543450677248 + call __addtf3@FUNCTION, $pop81, $pop16, $pop15, $pop18, $pop17 + i32.const $push20=, 132 + i32.add $push21=, $3, $pop20 + i32.const $push118=, 0 + i32.load $push19=, v3($pop118) + i32.store $drop=, 0($pop21), $pop19 + i32.const $push117=, 0 + i32.const $push82=, 96 + i32.add $push83=, $3, $pop82 + i32.const $push22=, 128 + i32.add $push23=, $3, $pop22 + i32.const $push116=, 8 + i32.store $push0=, 0($pop23), $pop116 + i32.add $push24=, $pop83, $pop0 + i64.load $push25=, 0($pop24) + i64.store $1=, v5+8($pop117), $pop25 i32.const $push115=, 0 - i64.load $push13=, v5+8($pop115) - i64.const $push16=, 0 - i64.const $push15=, 4611404543450677248 - call __addtf3@FUNCTION, $pop76, $pop14, $pop13, $pop16, $pop15 - i64.load $3=, 96($1) - i32.const $push114=, 0 - i32.const $push77=, 96 - i32.add $push78=, $1, $pop77 - i32.const $push113=, 8 - i32.add $push17=, $pop78, $pop113 - i64.load $push18=, 0($pop17) - i64.store $0=, v5+8($pop114), $pop18 - i32.const $push112=, 0 - i32.load $2=, v3($pop112) - i32.const $push111=, 0 - i64.store $drop=, v5($pop111), $3 - i32.const $push19=, 132 - i32.add $push20=, $1, $pop19 - i32.store $drop=, 0($pop20), $2 - i32.const $push21=, 128 - i32.add $push22=, $1, $pop21 - i32.const $push110=, 8 - i32.store $drop=, 0($pop22), $pop110 - i64.store $drop=, 120($1), $0 - i64.store $drop=, 112($1), $3 - i32.const $push109=, 1 - i32.const $push79=, 112 - i32.add $push80=, $1, $pop79 - i32.call $push23=, bar@FUNCTION, $pop109, $pop80 - i32.const $push108=, 1 - i32.ne $push24=, $pop23, $pop108 - br_if 0, $pop24 # 0: down to label6 + i64.load $push26=, 96($3) + i64.store $2=, v5($pop115), $pop26 + i64.store $drop=, 120($3), $1 + i64.store $drop=, 112($3), $2 + i32.const $push114=, 1 + i32.const $push84=, 112 + i32.add $push85=, $3, $pop84 + i32.call $push27=, bar@FUNCTION, $pop114, $pop85 + i32.const $push113=, 1 + i32.ne $push28=, $pop27, $pop113 + br_if 0, $pop28 # 0: down to label6 # BB#2: # %if.end6 - i32.const $push119=, 2 - i32.const $push118=, 0 - i32.call $push25=, bar@FUNCTION, $pop119, $pop118 - i32.const $push117=, 2 - i32.ne $push26=, $pop25, $pop117 - br_if 0, $pop26 # 0: down to label6 -# BB#3: # %if.end10 + i32.const $push123=, 2 i32.const $push122=, 0 - i32.load $push27=, v1($pop122) + i32.call $push29=, bar@FUNCTION, $pop123, $pop122 i32.const $push121=, 2 - i32.add $push28=, $pop27, $pop121 - i32.const $push120=, 0 - i32.call $push29=, bar@FUNCTION, $pop28, $pop120 - i32.const $push30=, 19 - i32.ne $push31=, $pop29, $pop30 - br_if 0, $pop31 # 0: down to label6 + i32.ne $push30=, $pop29, $pop121 + br_if 0, $pop30 # 0: down to label6 +# BB#3: # %if.end10 + i32.const $push126=, 0 + i32.load $push31=, v1($pop126) + i32.const $push125=, 2 + i32.add $push32=, $pop31, $pop125 + i32.const $push124=, 0 + i32.call $push33=, bar@FUNCTION, $pop32, $pop124 + i32.const $push34=, 19 + i32.ne $push35=, $pop33, $pop34 + br_if 0, $pop35 # 0: down to label6 # BB#4: # %if.end14 - i32.const $push141=, 0 - i32.load $2=, v1($pop141) - i32.const $push140=, 0 - i64.load $push139=, v5($pop140) - tee_local $push138=, $3=, $pop139 + i32.const $push145=, 0 + i64.load $push144=, v5($pop145) + tee_local $push143=, $1=, $pop144 + i32.const $push142=, 0 + i64.load $push141=, v5+8($pop142) + tee_local $push140=, $2=, $pop141 + i64.const $push37=, 0 + i64.const $push36=, -4611967493404098560 + call __addtf3@FUNCTION, $3, $pop143, $pop140, $pop37, $pop36 + i32.const $push39=, 92 + i32.add $push40=, $3, $pop39 + i32.const $push139=, 0 + i32.load $push38=, v4+12($pop139):p2align=0 + i32.store $drop=, 0($pop40), $pop38 + i32.const $push86=, 80 + i32.add $push87=, $3, $pop86 + i32.const $push42=, 8 + i32.add $push43=, $pop87, $pop42 + i32.const $push138=, 0 + i32.load $push41=, v4+8($pop138):p2align=0 + i32.store $drop=, 0($pop43), $pop41 + i32.const $push45=, 84 + i32.add $push46=, $3, $pop45 i32.const $push137=, 0 - i64.load $push136=, v5+8($pop137) - tee_local $push135=, $0=, $pop136 - i64.const $push35=, 0 - i64.const $push34=, -4611967493404098560 - call __addtf3@FUNCTION, $1, $pop138, $pop135, $pop35, $pop34 - i64.load $4=, 0($1) + i32.load $push44=, v4+4($pop137):p2align=0 + i32.store $drop=, 0($pop46), $pop44 + i32.const $push136=, 0 + i32.const $push135=, 8 + i32.add $push47=, $3, $pop135 + i64.load $push48=, 0($pop47) + i64.store $drop=, v5+8($pop136), $pop48 i32.const $push134=, 0 - i32.const $push36=, 8 - i32.add $push37=, $1, $pop36 - i64.load $push38=, 0($pop37) - i64.store $drop=, v5+8($pop134), $pop38 + i64.load $push49=, 0($3) + i64.store $drop=, v5($pop134), $pop49 i32.const $push133=, 0 - i64.store $drop=, v5($pop133), $4 + i32.load $push50=, v4($pop133):p2align=0 + i32.store $drop=, 80($3), $pop50 i32.const $push132=, 0 - i32.load $5=, v3($pop132) - i32.const $push40=, 92 - i32.add $push41=, $1, $pop40 + i32.load $0=, v1($pop132) i32.const $push131=, 0 - i32.load $push39=, v4+12($pop131):p2align=0 - i32.store $drop=, 0($pop41), $pop39 - i32.const $push81=, 80 - i32.add $push82=, $1, $pop81 + i32.load $4=, v3($pop131) + i32.const $push88=, 64 + i32.add $push89=, $3, $pop88 i32.const $push130=, 8 - i32.add $push43=, $pop82, $pop130 + i32.add $push51=, $pop89, $pop130 i32.const $push129=, 0 - i32.load $push42=, v4+8($pop129):p2align=0 - i32.store $drop=, 0($pop43), $pop42 - i32.const $push45=, 84 - i32.add $push46=, $1, $pop45 + i64.load $push52=, v4+8($pop129):p2align=0 + i64.store $drop=, 0($pop51):p2align=2, $pop52 i32.const $push128=, 0 - i32.load $push44=, v4+4($pop128):p2align=0 - i32.store $drop=, 0($pop46), $pop44 - i32.const $push127=, 0 - i32.load $push47=, v4($pop127):p2align=0 - i32.store $drop=, 80($1), $pop47 - i32.const $push83=, 64 - i32.add $push84=, $1, $pop83 - i32.const $push126=, 8 - i32.add $push48=, $pop84, $pop126 - i32.const $push125=, 0 - i64.load $push49=, v4+8($pop125):p2align=0 - i64.store $drop=, 0($pop48):p2align=2, $pop49 - i32.const $push124=, 0 - i64.load $push50=, v4($pop124):p2align=0 - i64.store $drop=, 64($1):p2align=2, $pop50 - i32.const $push51=, 48 - i32.add $push52=, $1, $pop51 - i64.const $push53=, 16 - i64.store $drop=, 0($pop52), $pop53 - i32.const $push54=, 40 - i32.add $push55=, $1, $pop54 - i32.store $drop=, 0($pop55), $5 - i64.store $drop=, 16($1), $3 - i32.const $push85=, 16 - i32.add $push86=, $1, $pop85 - i32.const $push56=, 20 - i32.add $push57=, $pop86, $pop56 - i32.const $push87=, 64 - i32.add $push88=, $1, $pop87 - i32.store $drop=, 0($pop57), $pop88 - i32.const $push58=, 32 - i32.add $push59=, $1, $pop58 - i32.const $push89=, 80 - i32.add $push90=, $1, $pop89 - i32.store $drop=, 0($pop59), $pop90 - i64.store $drop=, 24($1), $0 - i32.const $push32=, 3 - i32.add $push33=, $2, $pop32 - i32.const $push91=, 16 - i32.add $push92=, $1, $pop91 - i32.call $push60=, bar@FUNCTION, $pop33, $pop92 - i32.const $push123=, 20 - i32.ne $push61=, $pop60, $pop123 - br_if 0, $pop61 # 0: down to label6 + i64.load $push53=, v4($pop128):p2align=0 + i64.store $drop=, 64($3):p2align=2, $pop53 + i32.const $push54=, 48 + i32.add $push55=, $3, $pop54 + i64.const $push56=, 16 + i64.store $drop=, 0($pop55), $pop56 + i32.const $push57=, 40 + i32.add $push58=, $3, $pop57 + i32.store $drop=, 0($pop58), $4 + i64.store $drop=, 16($3), $1 + i32.const $push90=, 16 + i32.add $push91=, $3, $pop90 + i32.const $push59=, 20 + i32.add $push60=, $pop91, $pop59 + i32.const $push92=, 64 + i32.add $push93=, $3, $pop92 + i32.store $drop=, 0($pop60), $pop93 + i32.const $push61=, 32 + i32.add $push62=, $3, $pop61 + i32.const $push94=, 80 + i32.add $push95=, $3, $pop94 + i32.store $drop=, 0($pop62), $pop95 + i64.store $drop=, 24($3), $2 + i32.const $push63=, 3 + i32.add $push64=, $0, $pop63 + i32.const $push96=, 16 + i32.add $push97=, $3, $pop96 + i32.call $push65=, bar@FUNCTION, $pop64, $pop97 + i32.const $push127=, 20 + i32.ne $push66=, $pop65, $pop127 + br_if 0, $pop66 # 0: down to label6 # BB#5: # %if.end19 - i32.const $push68=, __stack_pointer - i32.const $push66=, 176 - i32.add $push67=, $1, $pop66 - i32.store $drop=, 0($pop68), $pop67 - i32.const $push142=, 0 - return $pop142 + i32.const $push73=, 0 + i32.const $push71=, 176 + i32.add $push72=, $3, $pop71 + i32.store $drop=, __stack_pointer($pop73), $pop72 + i32.const $push146=, 0 + return $pop146 .LBB3_6: # %if.then18 end_block # label6: call abort@FUNCTION diff --git a/test/torture-s/va-arg-trap-1.c.s b/test/torture-s/va-arg-trap-1.c.s index b22d1f57f..bae3b40eb 100644 --- a/test/torture-s/va-arg-trap-1.c.s +++ b/test/torture-s/va-arg-trap-1.c.s @@ -37,12 +37,12 @@ main: # @main .result i32 .local i32 # BB#0: # %entry - i32.const $push4=, __stack_pointer - i32.const $push1=, __stack_pointer - i32.load $push2=, 0($pop1) + i32.const $push4=, 0 + i32.const $push1=, 0 + i32.load $push2=, __stack_pointer($pop1) i32.const $push3=, 16 i32.sub $push5=, $pop2, $pop3 - i32.store $push7=, 0($pop4), $pop5 + i32.store $push7=, __stack_pointer($pop4), $pop5 tee_local $push6=, $0=, $pop7 i32.const $push0=, 0 i32.store $drop=, 0($pop6), $pop0 diff --git a/test/torture-s/vfprintf-1.c.s b/test/torture-s/vfprintf-1.c.s index a481e1a8a..e3b85eab5 100644 --- a/test/torture-s/vfprintf-1.c.s +++ b/test/torture-s/vfprintf-1.c.s @@ -8,14 +8,15 @@ inner: # @inner .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push79=, __stack_pointer - i32.const $push76=, __stack_pointer - i32.load $push77=, 0($pop76) + i32.const $push79=, 0 + i32.const $push76=, 0 + i32.load $push77=, __stack_pointer($pop76) i32.const $push78=, 16 i32.sub $push83=, $pop77, $pop78 - i32.store $2=, 0($pop79), $pop83 + i32.store $push85=, __stack_pointer($pop79), $pop83 + tee_local $push84=, $2=, $pop85 i32.store $push0=, 12($2), $1 - i32.store $drop=, 8($2), $pop0 + i32.store $drop=, 8($pop84), $pop0 block block block @@ -48,14 +49,14 @@ inner: # @inner .LBB0_2: # %sw.bb end_block # label13: i32.const $push69=, 0 - i32.load $push86=, stdout($pop69) - tee_local $push85=, $0=, $pop86 + i32.load $push88=, stdout($pop69) + tee_local $push87=, $0=, $pop88 i32.const $push71=, .L.str i32.load $push70=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop85, $pop71, $pop70 - i32.const $push84=, .L.str + i32.call $drop=, vfprintf@FUNCTION, $pop87, $pop71, $pop70 + i32.const $push86=, .L.str i32.load $push72=, 8($2) - i32.call $push73=, vfprintf@FUNCTION, $0, $pop84, $pop72 + i32.call $push73=, vfprintf@FUNCTION, $0, $pop86, $pop72 i32.const $push74=, 5 i32.eq $push75=, $pop73, $pop74 br_if 11, $pop75 # 11: down to label1 @@ -65,14 +66,14 @@ inner: # @inner .LBB0_4: # %sw.bb4 end_block # label12: i32.const $push62=, 0 - i32.load $push89=, stdout($pop62) - tee_local $push88=, $0=, $pop89 + i32.load $push91=, stdout($pop62) + tee_local $push90=, $0=, $pop91 i32.const $push64=, .L.str.1 i32.load $push63=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop88, $pop64, $pop63 - i32.const $push87=, .L.str.1 + i32.call $drop=, vfprintf@FUNCTION, $pop90, $pop64, $pop63 + i32.const $push89=, .L.str.1 i32.load $push65=, 8($2) - i32.call $push66=, vfprintf@FUNCTION, $0, $pop87, $pop65 + i32.call $push66=, vfprintf@FUNCTION, $0, $pop89, $pop65 i32.const $push67=, 6 i32.eq $push68=, $pop66, $pop67 br_if 10, $pop68 # 10: down to label1 @@ -82,14 +83,14 @@ inner: # @inner .LBB0_6: # %sw.bb10 end_block # label11: i32.const $push55=, 0 - i32.load $push92=, stdout($pop55) - tee_local $push91=, $0=, $pop92 + i32.load $push94=, stdout($pop55) + tee_local $push93=, $0=, $pop94 i32.const $push57=, .L.str.2 i32.load $push56=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop91, $pop57, $pop56 - i32.const $push90=, .L.str.2 + i32.call $drop=, vfprintf@FUNCTION, $pop93, $pop57, $pop56 + i32.const $push92=, .L.str.2 i32.load $push58=, 8($2) - i32.call $push59=, vfprintf@FUNCTION, $0, $pop90, $pop58 + i32.call $push59=, vfprintf@FUNCTION, $0, $pop92, $pop58 i32.const $push60=, 1 i32.eq $push61=, $pop59, $pop60 br_if 9, $pop61 # 9: down to label1 @@ -99,30 +100,30 @@ inner: # @inner .LBB0_8: # %sw.bb16 end_block # label10: i32.const $push50=, 0 - i32.load $push95=, stdout($pop50) - tee_local $push94=, $0=, $pop95 + i32.load $push97=, stdout($pop50) + tee_local $push96=, $0=, $pop97 i32.const $push52=, .L.str.3 i32.load $push51=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop94, $pop52, $pop51 - i32.const $push93=, .L.str.3 + i32.call $drop=, vfprintf@FUNCTION, $pop96, $pop52, $pop51 + i32.const $push95=, .L.str.3 i32.load $push53=, 8($2) - i32.call $push54=, vfprintf@FUNCTION, $0, $pop93, $pop53 - i32.eqz $push117=, $pop54 - br_if 8, $pop117 # 8: down to label1 + i32.call $push54=, vfprintf@FUNCTION, $0, $pop95, $pop53 + i32.eqz $push119=, $pop54 + br_if 8, $pop119 # 8: down to label1 # BB#9: # %if.then20 call abort@FUNCTION unreachable .LBB0_10: # %sw.bb22 end_block # label9: i32.const $push43=, 0 - i32.load $push98=, stdout($pop43) - tee_local $push97=, $0=, $pop98 + i32.load $push100=, stdout($pop43) + tee_local $push99=, $0=, $pop100 i32.const $push45=, .L.str.4 i32.load $push44=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop97, $pop45, $pop44 - i32.const $push96=, .L.str.4 + i32.call $drop=, vfprintf@FUNCTION, $pop99, $pop45, $pop44 + i32.const $push98=, .L.str.4 i32.load $push46=, 8($2) - i32.call $push47=, vfprintf@FUNCTION, $0, $pop96, $pop46 + i32.call $push47=, vfprintf@FUNCTION, $0, $pop98, $pop46 i32.const $push48=, 5 i32.eq $push49=, $pop47, $pop48 br_if 7, $pop49 # 7: down to label1 @@ -132,14 +133,14 @@ inner: # @inner .LBB0_12: # %sw.bb28 end_block # label8: i32.const $push36=, 0 - i32.load $push101=, stdout($pop36) - tee_local $push100=, $0=, $pop101 + i32.load $push103=, stdout($pop36) + tee_local $push102=, $0=, $pop103 i32.const $push38=, .L.str.4 i32.load $push37=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop100, $pop38, $pop37 - i32.const $push99=, .L.str.4 + i32.call $drop=, vfprintf@FUNCTION, $pop102, $pop38, $pop37 + i32.const $push101=, .L.str.4 i32.load $push39=, 8($2) - i32.call $push40=, vfprintf@FUNCTION, $0, $pop99, $pop39 + i32.call $push40=, vfprintf@FUNCTION, $0, $pop101, $pop39 i32.const $push41=, 6 i32.eq $push42=, $pop40, $pop41 br_if 6, $pop42 # 6: down to label1 @@ -149,14 +150,14 @@ inner: # @inner .LBB0_14: # %sw.bb34 end_block # label7: i32.const $push29=, 0 - i32.load $push104=, stdout($pop29) - tee_local $push103=, $0=, $pop104 + i32.load $push106=, stdout($pop29) + tee_local $push105=, $0=, $pop106 i32.const $push31=, .L.str.4 i32.load $push30=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop103, $pop31, $pop30 - i32.const $push102=, .L.str.4 + i32.call $drop=, vfprintf@FUNCTION, $pop105, $pop31, $pop30 + i32.const $push104=, .L.str.4 i32.load $push32=, 8($2) - i32.call $push33=, vfprintf@FUNCTION, $0, $pop102, $pop32 + i32.call $push33=, vfprintf@FUNCTION, $0, $pop104, $pop32 i32.const $push34=, 1 i32.eq $push35=, $pop33, $pop34 br_if 5, $pop35 # 5: down to label1 @@ -166,30 +167,30 @@ inner: # @inner .LBB0_16: # %sw.bb40 end_block # label6: i32.const $push24=, 0 - i32.load $push107=, stdout($pop24) - tee_local $push106=, $0=, $pop107 + i32.load $push109=, stdout($pop24) + tee_local $push108=, $0=, $pop109 i32.const $push26=, .L.str.4 i32.load $push25=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop106, $pop26, $pop25 - i32.const $push105=, .L.str.4 + i32.call $drop=, vfprintf@FUNCTION, $pop108, $pop26, $pop25 + i32.const $push107=, .L.str.4 i32.load $push27=, 8($2) - i32.call $push28=, vfprintf@FUNCTION, $0, $pop105, $pop27 - i32.eqz $push118=, $pop28 - br_if 4, $pop118 # 4: down to label1 + i32.call $push28=, vfprintf@FUNCTION, $0, $pop107, $pop27 + i32.eqz $push120=, $pop28 + br_if 4, $pop120 # 4: down to label1 # BB#17: # %if.then44 call abort@FUNCTION unreachable .LBB0_18: # %sw.bb52 end_block # label5: i32.const $push10=, 0 - i32.load $push110=, stdout($pop10) - tee_local $push109=, $0=, $pop110 + i32.load $push112=, stdout($pop10) + tee_local $push111=, $0=, $pop112 i32.const $push12=, .L.str.6 i32.load $push11=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop109, $pop12, $pop11 - i32.const $push108=, .L.str.6 + i32.call $drop=, vfprintf@FUNCTION, $pop111, $pop12, $pop11 + i32.const $push110=, .L.str.6 i32.load $push13=, 8($2) - i32.call $push14=, vfprintf@FUNCTION, $0, $pop108, $pop13 + i32.call $push14=, vfprintf@FUNCTION, $0, $pop110, $pop13 i32.const $push15=, 7 i32.eq $push16=, $pop14, $pop15 br_if 3, $pop16 # 3: down to label1 @@ -199,14 +200,14 @@ inner: # @inner .LBB0_20: # %sw.bb58 end_block # label4: i32.const $push3=, 0 - i32.load $push113=, stdout($pop3) - tee_local $push112=, $0=, $pop113 + i32.load $push115=, stdout($pop3) + tee_local $push114=, $0=, $pop115 i32.const $push5=, .L.str.7 i32.load $push4=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop112, $pop5, $pop4 - i32.const $push111=, .L.str.7 + i32.call $drop=, vfprintf@FUNCTION, $pop114, $pop5, $pop4 + i32.const $push113=, .L.str.7 i32.load $push6=, 8($2) - i32.call $push7=, vfprintf@FUNCTION, $0, $pop111, $pop6 + i32.call $push7=, vfprintf@FUNCTION, $0, $pop113, $pop6 i32.const $push8=, 2 i32.eq $push9=, $pop7, $pop8 br_if 2, $pop9 # 2: down to label1 @@ -217,23 +218,23 @@ inner: # @inner .LBB0_22: # %sw.bb46 end_block # label2: i32.const $push17=, 0 - i32.load $push116=, stdout($pop17) - tee_local $push115=, $0=, $pop116 + i32.load $push118=, stdout($pop17) + tee_local $push117=, $0=, $pop118 i32.const $push19=, .L.str.5 i32.load $push18=, 12($2) - i32.call $drop=, vfprintf@FUNCTION, $pop115, $pop19, $pop18 - i32.const $push114=, .L.str.5 + i32.call $drop=, vfprintf@FUNCTION, $pop117, $pop19, $pop18 + i32.const $push116=, .L.str.5 i32.load $push20=, 8($2) - i32.call $push21=, vfprintf@FUNCTION, $0, $pop114, $pop20 + i32.call $push21=, vfprintf@FUNCTION, $0, $pop116, $pop20 i32.const $push22=, 1 i32.ne $push23=, $pop21, $pop22 br_if 1, $pop23 # 1: down to label0 .LBB0_23: # %sw.epilog end_block # label1: - i32.const $push82=, __stack_pointer + i32.const $push82=, 0 i32.const $push80=, 16 i32.add $push81=, $2, $pop80 - i32.store $drop=, 0($pop82), $pop81 + i32.store $drop=, __stack_pointer($pop82), $pop81 return .LBB0_24: # %if.then50 end_block # label0: @@ -251,12 +252,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push19=, __stack_pointer - i32.const $push16=, __stack_pointer - i32.load $push17=, 0($pop16) + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) i32.const $push18=, 112 i32.sub $push35=, $pop17, $pop18 - i32.store $1=, 0($pop19), $pop35 + i32.store $1=, __stack_pointer($pop19), $pop35 i32.const $push0=, 0 i32.const $push40=, 0 call inner@FUNCTION, $pop0, $pop40 @@ -308,11 +309,12 @@ main: # @main i32.store $0=, 0($1), $pop36 i32.const $push15=, 10 call inner@FUNCTION, $pop15, $1 - i32.const $push22=, __stack_pointer + i32.const $push22=, 0 i32.const $push20=, 112 i32.add $push21=, $1, $pop20 - i32.store $drop=, 0($pop22), $pop21 - return $0 + i32.store $drop=, __stack_pointer($pop22), $pop21 + copy_local $push41=, $0 + # fallthrough-return: $pop41 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/vfprintf-chk-1.c.s b/test/torture-s/vfprintf-chk-1.c.s index ba9aad5d1..94d658ce3 100644 --- a/test/torture-s/vfprintf-chk-1.c.s +++ b/test/torture-s/vfprintf-chk-1.c.s @@ -34,14 +34,15 @@ inner: # @inner .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push100=, __stack_pointer - i32.const $push97=, __stack_pointer - i32.load $push98=, 0($pop97) + i32.const $push100=, 0 + i32.const $push97=, 0 + i32.load $push98=, __stack_pointer($pop97) i32.const $push99=, 16 i32.sub $push104=, $pop98, $pop99 - i32.store $2=, 0($pop100), $pop104 + i32.store $push106=, __stack_pointer($pop100), $pop104 + tee_local $push105=, $2=, $pop106 i32.store $push0=, 12($2), $1 - i32.store $drop=, 8($2), $pop0 + i32.store $drop=, 8($pop105), $pop0 block i32.const $push1=, 10 i32.gt_u $push2=, $0, $pop1 @@ -72,26 +73,26 @@ inner: # @inner # 10: down to label3 .LBB1_2: # %sw.bb end_block # label13: - i32.const $push110=, 0 + i32.const $push112=, 0 i32.const $push88=, 1 - i32.store $drop=, should_optimize($pop110), $pop88 - i32.const $push109=, 0 - i32.load $push108=, stdout($pop109) - tee_local $push107=, $0=, $pop108 - i32.const $push106=, .L.str + i32.store $drop=, should_optimize($pop112), $pop88 + i32.const $push111=, 0 + i32.load $push110=, stdout($pop111) + tee_local $push109=, $0=, $pop110 + i32.const $push108=, .L.str i32.load $push89=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop107, $2, $pop106, $pop89 - i32.const $push105=, 0 - i32.load $push90=, should_optimize($pop105) - i32.eqz $push190=, $pop90 - br_if 11, $pop190 # 11: down to label1 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop109, $2, $pop108, $pop89 + i32.const $push107=, 0 + i32.load $push90=, should_optimize($pop107) + i32.eqz $push192=, $pop90 + br_if 11, $pop192 # 11: down to label1 # BB#3: # %if.end - i32.const $push113=, 0 - i32.const $push112=, 0 - i32.store $drop=, should_optimize($pop113), $pop112 - i32.const $push111=, .L.str + i32.const $push115=, 0 + i32.const $push114=, 0 + i32.store $drop=, should_optimize($pop115), $pop114 + i32.const $push113=, .L.str i32.load $push91=, 8($2) - i32.call $push92=, __vfprintf_chk@FUNCTION, $0, $2, $pop111, $pop91 + i32.call $push92=, __vfprintf_chk@FUNCTION, $0, $2, $pop113, $pop91 i32.const $push93=, 5 i32.ne $push94=, $pop92, $pop93 br_if 11, $pop94 # 11: down to label1 @@ -104,26 +105,26 @@ inner: # @inner unreachable .LBB1_6: # %sw.bb9 end_block # label12: - i32.const $push119=, 0 + i32.const $push121=, 0 i32.const $push79=, 1 - i32.store $drop=, should_optimize($pop119), $pop79 - i32.const $push118=, 0 - i32.load $push117=, stdout($pop118) - tee_local $push116=, $0=, $pop117 - i32.const $push115=, .L.str.1 + i32.store $drop=, should_optimize($pop121), $pop79 + i32.const $push120=, 0 + i32.load $push119=, stdout($pop120) + tee_local $push118=, $0=, $pop119 + i32.const $push117=, .L.str.1 i32.load $push80=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop116, $2, $pop115, $pop80 - i32.const $push114=, 0 - i32.load $push81=, should_optimize($pop114) - i32.eqz $push191=, $pop81 - br_if 10, $pop191 # 10: down to label1 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop118, $2, $pop117, $pop80 + i32.const $push116=, 0 + i32.load $push81=, should_optimize($pop116) + i32.eqz $push193=, $pop81 + br_if 10, $pop193 # 10: down to label1 # BB#7: # %if.end13 - i32.const $push122=, 0 - i32.const $push121=, 0 - i32.store $drop=, should_optimize($pop122), $pop121 - i32.const $push120=, .L.str.1 + i32.const $push124=, 0 + i32.const $push123=, 0 + i32.store $drop=, should_optimize($pop124), $pop123 + i32.const $push122=, .L.str.1 i32.load $push82=, 8($2) - i32.call $push83=, __vfprintf_chk@FUNCTION, $0, $2, $pop120, $pop82 + i32.call $push83=, __vfprintf_chk@FUNCTION, $0, $2, $pop122, $pop82 i32.const $push84=, 6 i32.ne $push85=, $pop83, $pop84 br_if 10, $pop85 # 10: down to label1 @@ -136,26 +137,26 @@ inner: # @inner unreachable .LBB1_10: # %sw.bb21 end_block # label11: - i32.const $push128=, 0 + i32.const $push130=, 0 i32.const $push71=, 1 - i32.store $0=, should_optimize($pop128), $pop71 - i32.const $push127=, 0 - i32.load $push126=, stdout($pop127) - tee_local $push125=, $1=, $pop126 - i32.const $push124=, .L.str.2 + i32.store $0=, should_optimize($pop130), $pop71 + i32.const $push129=, 0 + i32.load $push128=, stdout($pop129) + tee_local $push127=, $1=, $pop128 + i32.const $push126=, .L.str.2 i32.load $push72=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop125, $2, $pop124, $pop72 - i32.const $push123=, 0 - i32.load $push73=, should_optimize($pop123) - i32.eqz $push192=, $pop73 - br_if 9, $pop192 # 9: down to label1 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop127, $2, $pop126, $pop72 + i32.const $push125=, 0 + i32.load $push73=, should_optimize($pop125) + i32.eqz $push194=, $pop73 + br_if 9, $pop194 # 9: down to label1 # BB#11: # %if.end25 - i32.const $push131=, 0 - i32.const $push130=, 0 - i32.store $drop=, should_optimize($pop131), $pop130 - i32.const $push129=, .L.str.2 + i32.const $push133=, 0 + i32.const $push132=, 0 + i32.store $drop=, should_optimize($pop133), $pop132 + i32.const $push131=, .L.str.2 i32.load $push74=, 8($2) - i32.call $push75=, __vfprintf_chk@FUNCTION, $1, $2, $pop129, $pop74 + i32.call $push75=, __vfprintf_chk@FUNCTION, $1, $2, $pop131, $pop74 i32.ne $push76=, $pop75, $0 br_if 9, $pop76 # 9: down to label1 # BB#12: # %if.end29 @@ -167,26 +168,26 @@ inner: # @inner unreachable .LBB1_14: # %sw.bb33 end_block # label10: - i32.const $push137=, 0 + i32.const $push139=, 0 i32.const $push64=, 1 - i32.store $drop=, should_optimize($pop137), $pop64 - i32.const $push136=, 0 - i32.load $push135=, stdout($pop136) - tee_local $push134=, $0=, $pop135 - i32.const $push133=, .L.str.3 + i32.store $drop=, should_optimize($pop139), $pop64 + i32.const $push138=, 0 + i32.load $push137=, stdout($pop138) + tee_local $push136=, $0=, $pop137 + i32.const $push135=, .L.str.3 i32.load $push65=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop134, $2, $pop133, $pop65 - i32.const $push132=, 0 - i32.load $push66=, should_optimize($pop132) - i32.eqz $push193=, $pop66 - br_if 8, $pop193 # 8: down to label1 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop136, $2, $pop135, $pop65 + i32.const $push134=, 0 + i32.load $push66=, should_optimize($pop134) + i32.eqz $push195=, $pop66 + br_if 8, $pop195 # 8: down to label1 # BB#15: # %if.end37 - i32.const $push140=, 0 - i32.const $push139=, 0 - i32.store $drop=, should_optimize($pop140), $pop139 - i32.const $push138=, .L.str.3 + i32.const $push142=, 0 + i32.const $push141=, 0 + i32.store $drop=, should_optimize($pop142), $pop141 + i32.const $push140=, .L.str.3 i32.load $push67=, 8($2) - i32.call $push68=, __vfprintf_chk@FUNCTION, $0, $2, $pop138, $pop67 + i32.call $push68=, __vfprintf_chk@FUNCTION, $0, $2, $pop140, $pop67 br_if 8, $pop68 # 8: down to label1 # BB#16: # %if.end41 i32.const $push69=, 0 @@ -198,22 +199,22 @@ inner: # @inner .LBB1_18: # %sw.bb45 end_block # label9: i32.const $push55=, 0 - i32.const $push146=, 0 - i32.store $push145=, should_optimize($pop55), $pop146 - tee_local $push144=, $0=, $pop145 - i32.load $push143=, stdout($pop144) - tee_local $push142=, $1=, $pop143 - i32.const $push141=, .L.str.4 + i32.const $push148=, 0 + i32.store $push147=, should_optimize($pop55), $pop148 + tee_local $push146=, $0=, $pop147 + i32.load $push145=, stdout($pop146) + tee_local $push144=, $1=, $pop145 + i32.const $push143=, .L.str.4 i32.load $push56=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop142, $2, $pop141, $pop56 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop144, $2, $pop143, $pop56 i32.load $push57=, should_optimize($0) - i32.eqz $push194=, $pop57 - br_if 7, $pop194 # 7: down to label1 + i32.eqz $push196=, $pop57 + br_if 7, $pop196 # 7: down to label1 # BB#19: # %if.end49 i32.store $drop=, should_optimize($0), $0 - i32.const $push147=, .L.str.4 + i32.const $push149=, .L.str.4 i32.load $push58=, 8($2) - i32.call $push59=, __vfprintf_chk@FUNCTION, $1, $2, $pop147, $pop58 + i32.call $push59=, __vfprintf_chk@FUNCTION, $1, $2, $pop149, $pop58 i32.const $push60=, 5 i32.ne $push61=, $pop59, $pop60 br_if 7, $pop61 # 7: down to label1 @@ -227,22 +228,22 @@ inner: # @inner .LBB1_22: # %sw.bb57 end_block # label8: i32.const $push46=, 0 - i32.const $push153=, 0 - i32.store $push152=, should_optimize($pop46), $pop153 - tee_local $push151=, $0=, $pop152 - i32.load $push150=, stdout($pop151) - tee_local $push149=, $1=, $pop150 - i32.const $push148=, .L.str.4 + i32.const $push155=, 0 + i32.store $push154=, should_optimize($pop46), $pop155 + tee_local $push153=, $0=, $pop154 + i32.load $push152=, stdout($pop153) + tee_local $push151=, $1=, $pop152 + i32.const $push150=, .L.str.4 i32.load $push47=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop149, $2, $pop148, $pop47 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop151, $2, $pop150, $pop47 i32.load $push48=, should_optimize($0) - i32.eqz $push195=, $pop48 - br_if 6, $pop195 # 6: down to label1 + i32.eqz $push197=, $pop48 + br_if 6, $pop197 # 6: down to label1 # BB#23: # %if.end61 i32.store $drop=, should_optimize($0), $0 - i32.const $push154=, .L.str.4 + i32.const $push156=, .L.str.4 i32.load $push49=, 8($2) - i32.call $push50=, __vfprintf_chk@FUNCTION, $1, $2, $pop154, $pop49 + i32.call $push50=, __vfprintf_chk@FUNCTION, $1, $2, $pop156, $pop49 i32.const $push51=, 6 i32.ne $push52=, $pop50, $pop51 br_if 6, $pop52 # 6: down to label1 @@ -256,22 +257,22 @@ inner: # @inner .LBB1_26: # %sw.bb69 end_block # label7: i32.const $push37=, 0 - i32.const $push160=, 0 - i32.store $push159=, should_optimize($pop37), $pop160 - tee_local $push158=, $0=, $pop159 - i32.load $push157=, stdout($pop158) - tee_local $push156=, $1=, $pop157 - i32.const $push155=, .L.str.4 + i32.const $push162=, 0 + i32.store $push161=, should_optimize($pop37), $pop162 + tee_local $push160=, $0=, $pop161 + i32.load $push159=, stdout($pop160) + tee_local $push158=, $1=, $pop159 + i32.const $push157=, .L.str.4 i32.load $push38=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop156, $2, $pop155, $pop38 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop158, $2, $pop157, $pop38 i32.load $push39=, should_optimize($0) - i32.eqz $push196=, $pop39 - br_if 5, $pop196 # 5: down to label1 + i32.eqz $push198=, $pop39 + br_if 5, $pop198 # 5: down to label1 # BB#27: # %if.end73 i32.store $drop=, should_optimize($0), $0 - i32.const $push161=, .L.str.4 + i32.const $push163=, .L.str.4 i32.load $push40=, 8($2) - i32.call $push41=, __vfprintf_chk@FUNCTION, $1, $2, $pop161, $pop40 + i32.call $push41=, __vfprintf_chk@FUNCTION, $1, $2, $pop163, $pop40 i32.const $push42=, 1 i32.ne $push43=, $pop41, $pop42 br_if 5, $pop43 # 5: down to label1 @@ -285,22 +286,22 @@ inner: # @inner .LBB1_30: # %sw.bb81 end_block # label6: i32.const $push30=, 0 - i32.const $push167=, 0 - i32.store $push166=, should_optimize($pop30), $pop167 - tee_local $push165=, $0=, $pop166 - i32.load $push164=, stdout($pop165) - tee_local $push163=, $1=, $pop164 - i32.const $push162=, .L.str.4 + i32.const $push169=, 0 + i32.store $push168=, should_optimize($pop30), $pop169 + tee_local $push167=, $0=, $pop168 + i32.load $push166=, stdout($pop167) + tee_local $push165=, $1=, $pop166 + i32.const $push164=, .L.str.4 i32.load $push31=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop163, $2, $pop162, $pop31 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop165, $2, $pop164, $pop31 i32.load $push32=, should_optimize($0) - i32.eqz $push197=, $pop32 - br_if 4, $pop197 # 4: down to label1 + i32.eqz $push199=, $pop32 + br_if 4, $pop199 # 4: down to label1 # BB#31: # %if.end85 i32.store $drop=, should_optimize($0), $0 - i32.const $push168=, .L.str.4 + i32.const $push170=, .L.str.4 i32.load $push33=, 8($2) - i32.call $push34=, __vfprintf_chk@FUNCTION, $1, $2, $pop168, $pop33 + i32.call $push34=, __vfprintf_chk@FUNCTION, $1, $2, $pop170, $pop33 br_if 4, $pop34 # 4: down to label1 # BB#32: # %if.end89 i32.const $push35=, 0 @@ -312,22 +313,22 @@ inner: # @inner .LBB1_34: # %sw.bb93 end_block # label5: i32.const $push21=, 0 - i32.const $push174=, 0 - i32.store $push173=, should_optimize($pop21), $pop174 - tee_local $push172=, $0=, $pop173 - i32.load $push171=, stdout($pop172) - tee_local $push170=, $1=, $pop171 - i32.const $push169=, .L.str.5 + i32.const $push176=, 0 + i32.store $push175=, should_optimize($pop21), $pop176 + tee_local $push174=, $0=, $pop175 + i32.load $push173=, stdout($pop174) + tee_local $push172=, $1=, $pop173 + i32.const $push171=, .L.str.5 i32.load $push22=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop170, $2, $pop169, $pop22 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop172, $2, $pop171, $pop22 i32.load $push23=, should_optimize($0) - i32.eqz $push198=, $pop23 - br_if 3, $pop198 # 3: down to label1 + i32.eqz $push200=, $pop23 + br_if 3, $pop200 # 3: down to label1 # BB#35: # %if.end97 i32.store $drop=, should_optimize($0), $0 - i32.const $push175=, .L.str.5 + i32.const $push177=, .L.str.5 i32.load $push24=, 8($2) - i32.call $push25=, __vfprintf_chk@FUNCTION, $1, $2, $pop175, $pop24 + i32.call $push25=, __vfprintf_chk@FUNCTION, $1, $2, $pop177, $pop24 i32.const $push26=, 1 i32.ne $push27=, $pop25, $pop26 br_if 3, $pop27 # 3: down to label1 @@ -341,22 +342,22 @@ inner: # @inner .LBB1_38: # %sw.bb105 end_block # label4: i32.const $push12=, 0 - i32.const $push181=, 0 - i32.store $push180=, should_optimize($pop12), $pop181 - tee_local $push179=, $0=, $pop180 - i32.load $push178=, stdout($pop179) - tee_local $push177=, $1=, $pop178 - i32.const $push176=, .L.str.6 + i32.const $push183=, 0 + i32.store $push182=, should_optimize($pop12), $pop183 + tee_local $push181=, $0=, $pop182 + i32.load $push180=, stdout($pop181) + tee_local $push179=, $1=, $pop180 + i32.const $push178=, .L.str.6 i32.load $push13=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop177, $2, $pop176, $pop13 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop179, $2, $pop178, $pop13 i32.load $push14=, should_optimize($0) - i32.eqz $push199=, $pop14 - br_if 2, $pop199 # 2: down to label1 + i32.eqz $push201=, $pop14 + br_if 2, $pop201 # 2: down to label1 # BB#39: # %if.end109 i32.store $drop=, should_optimize($0), $0 - i32.const $push182=, .L.str.6 + i32.const $push184=, .L.str.6 i32.load $push15=, 8($2) - i32.call $push16=, __vfprintf_chk@FUNCTION, $1, $2, $pop182, $pop15 + i32.call $push16=, __vfprintf_chk@FUNCTION, $1, $2, $pop184, $pop15 i32.const $push17=, 7 i32.ne $push18=, $pop16, $pop17 br_if 2, $pop18 # 2: down to label1 @@ -370,36 +371,36 @@ inner: # @inner .LBB1_42: # %sw.bb117 end_block # label3: i32.const $push3=, 0 - i32.const $push188=, 0 - i32.store $push187=, should_optimize($pop3), $pop188 - tee_local $push186=, $0=, $pop187 - i32.load $push185=, stdout($pop186) - tee_local $push184=, $1=, $pop185 - i32.const $push183=, .L.str.7 + i32.const $push190=, 0 + i32.store $push189=, should_optimize($pop3), $pop190 + tee_local $push188=, $0=, $pop189 + i32.load $push187=, stdout($pop188) + tee_local $push186=, $1=, $pop187 + i32.const $push185=, .L.str.7 i32.load $push4=, 12($2) - i32.call $drop=, __vfprintf_chk@FUNCTION, $pop184, $2, $pop183, $pop4 + i32.call $drop=, __vfprintf_chk@FUNCTION, $pop186, $2, $pop185, $pop4 i32.load $push5=, should_optimize($0) - i32.eqz $push200=, $pop5 - br_if 1, $pop200 # 1: down to label1 + i32.eqz $push202=, $pop5 + br_if 1, $pop202 # 1: down to label1 # BB#43: # %if.end121 i32.store $drop=, should_optimize($0), $0 - i32.const $push189=, .L.str.7 + i32.const $push191=, .L.str.7 i32.load $push6=, 8($2) - i32.call $push7=, __vfprintf_chk@FUNCTION, $1, $2, $pop189, $pop6 + i32.call $push7=, __vfprintf_chk@FUNCTION, $1, $2, $pop191, $pop6 i32.const $push8=, 2 i32.ne $push9=, $pop7, $pop8 br_if 1, $pop9 # 1: down to label1 # BB#44: # %if.end125 i32.const $push10=, 0 i32.load $push11=, should_optimize($pop10) - i32.eqz $push201=, $pop11 - br_if 1, $pop201 # 1: down to label1 + i32.eqz $push203=, $pop11 + br_if 1, $pop203 # 1: down to label1 .LBB1_45: # %sw.epilog end_block # label2: - i32.const $push103=, __stack_pointer + i32.const $push103=, 0 i32.const $push101=, 16 i32.add $push102=, $2, $pop101 - i32.store $drop=, 0($pop103), $pop102 + i32.store $drop=, __stack_pointer($pop103), $pop102 return .LBB1_46: # %sw.default end_block # label1: @@ -417,12 +418,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push19=, __stack_pointer - i32.const $push16=, __stack_pointer - i32.load $push17=, 0($pop16) + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) i32.const $push18=, 112 i32.sub $push35=, $pop17, $pop18 - i32.store $1=, 0($pop19), $pop35 + i32.store $1=, __stack_pointer($pop19), $pop35 i32.const $push0=, 0 i32.const $push40=, 0 call inner@FUNCTION, $pop0, $pop40 @@ -474,11 +475,12 @@ main: # @main i32.store $0=, 0($1), $pop36 i32.const $push15=, 10 call inner@FUNCTION, $pop15, $1 - i32.const $push22=, __stack_pointer + i32.const $push22=, 0 i32.const $push20=, 112 i32.add $push21=, $1, $pop20 - i32.store $drop=, 0($pop22), $pop21 - return $0 + i32.store $drop=, __stack_pointer($pop22), $pop21 + copy_local $push41=, $0 + # fallthrough-return: $pop41 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/vla-dealloc-1.c.s b/test/torture-s/vla-dealloc-1.c.s index 3ff06935f..afe59675d 100644 --- a/test/torture-s/vla-dealloc-1.c.s +++ b/test/torture-s/vla-dealloc-1.c.s @@ -8,43 +8,44 @@ main: # @main .result i32 .local i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $push7=, __stack_pointer - i32.load $push9=, 0($pop7) - tee_local $push8=, $2=, $pop9 - copy_local $drop=, $pop8 - i32.const $1=, 0 + i32.const $push8=, 0 + i32.load $push10=, __stack_pointer($pop8) + tee_local $push9=, $4=, $pop10 + copy_local $drop=, $pop9 + i32.const $3=, 0 .LBB0_1: # %if.end # =>This Inner Loop Header: Depth=1 loop # label0: - i32.const $push21=, 1000 - i32.rem_s $push0=, $1, $pop21 - i32.const $push20=, 2 - i32.shl $push19=, $pop0, $pop20 - tee_local $push18=, $4=, $pop19 - i32.const $push17=, 19 - i32.add $push2=, $pop18, $pop17 - i32.const $push16=, -16 - i32.and $push3=, $pop2, $pop16 - i32.sub $push15=, $2, $pop3 - tee_local $push14=, $3=, $pop15 - copy_local $drop=, $pop14 - i32.const $push13=, 1 - i32.store $0=, 0($3), $pop13 - i32.add $push4=, $3, $4 - i32.const $push12=, 2 - i32.store $drop=, 0($pop4), $pop12 - i32.const $push11=, 0 - i32.store $drop=, p($pop11), $3 - i32.add $1=, $1, $0 - copy_local $push1=, $2 - copy_local $2=, $pop1 - i32.const $push10=, 1000000 - i32.ne $push5=, $1, $pop10 - br_if 0, $pop5 # 0: up to label0 + i32.const $push24=, 1000 + i32.rem_s $push1=, $3, $pop24 + i32.const $push23=, 2 + i32.shl $push22=, $pop1, $pop23 + tee_local $push21=, $1=, $pop22 + i32.const $push20=, 19 + i32.add $push2=, $pop21, $pop20 + i32.const $push19=, -16 + i32.and $push3=, $pop2, $pop19 + i32.sub $push18=, $4, $pop3 + tee_local $push17=, $2=, $pop18 + copy_local $drop=, $pop17 + i32.const $push16=, 1 + i32.store $0=, 0($2), $pop16 + i32.const $push15=, 0 + i32.store $push0=, p($pop15), $2 + i32.add $push5=, $pop0, $1 + i32.const $push14=, 2 + i32.store $drop=, 0($pop5), $pop14 + copy_local $push4=, $4 + copy_local $4=, $pop4 + i32.add $push13=, $3, $0 + tee_local $push12=, $3=, $pop13 + i32.const $push11=, 1000000 + i32.ne $push6=, $pop12, $pop11 + br_if 0, $pop6 # 0: up to label0 # BB#2: # %cleanup5 end_loop # label1: - i32.const $push6=, 0 - return $pop6 + i32.const $push7=, 0 + # fallthrough-return: $pop7 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main diff --git a/test/torture-s/vprintf-1.c.s b/test/torture-s/vprintf-1.c.s index a422f1d83..685994c76 100644 --- a/test/torture-s/vprintf-1.c.s +++ b/test/torture-s/vprintf-1.c.s @@ -8,14 +8,15 @@ inner: # @inner .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push68=, __stack_pointer - i32.const $push65=, __stack_pointer - i32.load $push66=, 0($pop65) + i32.const $push68=, 0 + i32.const $push65=, 0 + i32.load $push66=, __stack_pointer($pop65) i32.const $push67=, 16 i32.sub $push72=, $pop66, $pop67 - i32.store $2=, 0($pop68), $pop72 + i32.store $push74=, __stack_pointer($pop68), $pop72 + tee_local $push73=, $2=, $pop74 i32.store $push0=, 12($2), $1 - i32.store $drop=, 8($2), $pop0 + i32.store $drop=, 8($pop73), $pop0 block block block @@ -50,9 +51,9 @@ inner: # @inner i32.const $push60=, .L.str i32.load $push59=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop60, $pop59 - i32.const $push73=, .L.str + i32.const $push75=, .L.str i32.load $push61=, 8($2) - i32.call $push62=, vprintf@FUNCTION, $pop73, $pop61 + i32.call $push62=, vprintf@FUNCTION, $pop75, $pop61 i32.const $push63=, 5 i32.eq $push64=, $pop62, $pop63 br_if 11, $pop64 # 11: down to label1 @@ -64,9 +65,9 @@ inner: # @inner i32.const $push54=, .L.str.1 i32.load $push53=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop54, $pop53 - i32.const $push74=, .L.str.1 + i32.const $push76=, .L.str.1 i32.load $push55=, 8($2) - i32.call $push56=, vprintf@FUNCTION, $pop74, $pop55 + i32.call $push56=, vprintf@FUNCTION, $pop76, $pop55 i32.const $push57=, 6 i32.eq $push58=, $pop56, $pop57 br_if 10, $pop58 # 10: down to label1 @@ -78,9 +79,9 @@ inner: # @inner i32.const $push48=, .L.str.2 i32.load $push47=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop48, $pop47 - i32.const $push75=, .L.str.2 + i32.const $push77=, .L.str.2 i32.load $push49=, 8($2) - i32.call $push50=, vprintf@FUNCTION, $pop75, $pop49 + i32.call $push50=, vprintf@FUNCTION, $pop77, $pop49 i32.const $push51=, 1 i32.eq $push52=, $pop50, $pop51 br_if 9, $pop52 # 9: down to label1 @@ -92,11 +93,11 @@ inner: # @inner i32.const $push44=, .L.str.3 i32.load $push43=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop44, $pop43 - i32.const $push76=, .L.str.3 + i32.const $push78=, .L.str.3 i32.load $push45=, 8($2) - i32.call $push46=, vprintf@FUNCTION, $pop76, $pop45 - i32.eqz $push84=, $pop46 - br_if 8, $pop84 # 8: down to label1 + i32.call $push46=, vprintf@FUNCTION, $pop78, $pop45 + i32.eqz $push86=, $pop46 + br_if 8, $pop86 # 8: down to label1 # BB#9: # %if.then20 call abort@FUNCTION unreachable @@ -105,9 +106,9 @@ inner: # @inner i32.const $push38=, .L.str.4 i32.load $push37=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop38, $pop37 - i32.const $push77=, .L.str.4 + i32.const $push79=, .L.str.4 i32.load $push39=, 8($2) - i32.call $push40=, vprintf@FUNCTION, $pop77, $pop39 + i32.call $push40=, vprintf@FUNCTION, $pop79, $pop39 i32.const $push41=, 5 i32.eq $push42=, $pop40, $pop41 br_if 7, $pop42 # 7: down to label1 @@ -119,9 +120,9 @@ inner: # @inner i32.const $push32=, .L.str.4 i32.load $push31=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop32, $pop31 - i32.const $push78=, .L.str.4 + i32.const $push80=, .L.str.4 i32.load $push33=, 8($2) - i32.call $push34=, vprintf@FUNCTION, $pop78, $pop33 + i32.call $push34=, vprintf@FUNCTION, $pop80, $pop33 i32.const $push35=, 6 i32.eq $push36=, $pop34, $pop35 br_if 6, $pop36 # 6: down to label1 @@ -133,9 +134,9 @@ inner: # @inner i32.const $push26=, .L.str.4 i32.load $push25=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop26, $pop25 - i32.const $push79=, .L.str.4 + i32.const $push81=, .L.str.4 i32.load $push27=, 8($2) - i32.call $push28=, vprintf@FUNCTION, $pop79, $pop27 + i32.call $push28=, vprintf@FUNCTION, $pop81, $pop27 i32.const $push29=, 1 i32.eq $push30=, $pop28, $pop29 br_if 5, $pop30 # 5: down to label1 @@ -147,11 +148,11 @@ inner: # @inner i32.const $push22=, .L.str.4 i32.load $push21=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop22, $pop21 - i32.const $push80=, .L.str.4 + i32.const $push82=, .L.str.4 i32.load $push23=, 8($2) - i32.call $push24=, vprintf@FUNCTION, $pop80, $pop23 - i32.eqz $push85=, $pop24 - br_if 4, $pop85 # 4: down to label1 + i32.call $push24=, vprintf@FUNCTION, $pop82, $pop23 + i32.eqz $push87=, $pop24 + br_if 4, $pop87 # 4: down to label1 # BB#17: # %if.then44 call abort@FUNCTION unreachable @@ -160,9 +161,9 @@ inner: # @inner i32.const $push10=, .L.str.6 i32.load $push9=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop10, $pop9 - i32.const $push81=, .L.str.6 + i32.const $push83=, .L.str.6 i32.load $push11=, 8($2) - i32.call $push12=, vprintf@FUNCTION, $pop81, $pop11 + i32.call $push12=, vprintf@FUNCTION, $pop83, $pop11 i32.const $push13=, 7 i32.eq $push14=, $pop12, $pop13 br_if 3, $pop14 # 3: down to label1 @@ -174,9 +175,9 @@ inner: # @inner i32.const $push4=, .L.str.7 i32.load $push3=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop4, $pop3 - i32.const $push82=, .L.str.7 + i32.const $push84=, .L.str.7 i32.load $push5=, 8($2) - i32.call $push6=, vprintf@FUNCTION, $pop82, $pop5 + i32.call $push6=, vprintf@FUNCTION, $pop84, $pop5 i32.const $push7=, 2 i32.eq $push8=, $pop6, $pop7 br_if 2, $pop8 # 2: down to label1 @@ -189,18 +190,18 @@ inner: # @inner i32.const $push16=, .L.str.5 i32.load $push15=, 12($2) i32.call $drop=, vprintf@FUNCTION, $pop16, $pop15 - i32.const $push83=, .L.str.5 + i32.const $push85=, .L.str.5 i32.load $push17=, 8($2) - i32.call $push18=, vprintf@FUNCTION, $pop83, $pop17 + i32.call $push18=, vprintf@FUNCTION, $pop85, $pop17 i32.const $push19=, 1 i32.ne $push20=, $pop18, $pop19 br_if 1, $pop20 # 1: down to label0 .LBB0_23: # %sw.epilog end_block # label1: - i32.const $push71=, __stack_pointer + i32.const $push71=, 0 i32.const $push69=, 16 i32.add $push70=, $2, $pop69 - i32.store $drop=, 0($pop71), $pop70 + i32.store $drop=, __stack_pointer($pop71), $pop70 return .LBB0_24: # %if.then50 end_block # label0: @@ -218,12 +219,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push19=, __stack_pointer - i32.const $push16=, __stack_pointer - i32.load $push17=, 0($pop16) + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) i32.const $push18=, 112 i32.sub $push35=, $pop17, $pop18 - i32.store $1=, 0($pop19), $pop35 + i32.store $1=, __stack_pointer($pop19), $pop35 i32.const $push0=, 0 i32.const $push40=, 0 call inner@FUNCTION, $pop0, $pop40 @@ -275,11 +276,12 @@ main: # @main i32.store $0=, 0($1), $pop36 i32.const $push15=, 10 call inner@FUNCTION, $pop15, $1 - i32.const $push22=, __stack_pointer + i32.const $push22=, 0 i32.const $push20=, 112 i32.add $push21=, $1, $pop20 - i32.store $drop=, 0($pop22), $pop21 - return $0 + i32.store $drop=, __stack_pointer($pop22), $pop21 + copy_local $push41=, $0 + # fallthrough-return: $pop41 .endfunc .Lfunc_end1: .size main, .Lfunc_end1-main diff --git a/test/torture-s/vprintf-chk-1.c.s b/test/torture-s/vprintf-chk-1.c.s index 3a4f34e43..07c1842cb 100644 --- a/test/torture-s/vprintf-chk-1.c.s +++ b/test/torture-s/vprintf-chk-1.c.s @@ -34,14 +34,15 @@ inner: # @inner .param i32, i32 .local i32 # BB#0: # %entry - i32.const $push100=, __stack_pointer - i32.const $push97=, __stack_pointer - i32.load $push98=, 0($pop97) + i32.const $push100=, 0 + i32.const $push97=, 0 + i32.load $push98=, __stack_pointer($pop97) i32.const $push99=, 16 i32.sub $push104=, $pop98, $pop99 - i32.store $2=, 0($pop100), $pop104 + i32.store $push106=, __stack_pointer($pop100), $pop104 + tee_local $push105=, $2=, $pop106 i32.store $push0=, 12($2), $1 - i32.store $drop=, 8($2), $pop0 + i32.store $drop=, 8($pop105), $pop0 block i32.const $push1=, 10 i32.gt_u $push2=, $0, $pop1 @@ -73,19 +74,19 @@ inner: # @inner .LBB1_2: # %sw.bb end_block # label13: i32.const $push88=, 0 - i32.const $push106=, 0 - i32.store $0=, should_optimize($pop88), $pop106 - i32.const $push105=, .L.str + i32.const $push108=, 0 + i32.store $0=, should_optimize($pop88), $pop108 + i32.const $push107=, .L.str i32.load $push89=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop105, $pop89 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop107, $pop89 i32.load $push90=, should_optimize($0) - i32.eqz $push147=, $pop90 - br_if 11, $pop147 # 11: down to label1 + i32.eqz $push149=, $pop90 + br_if 11, $pop149 # 11: down to label1 # BB#3: # %if.end i32.store $drop=, should_optimize($0), $0 - i32.const $push107=, .L.str + i32.const $push109=, .L.str i32.load $push91=, 8($2) - i32.call $push92=, __vprintf_chk@FUNCTION, $2, $pop107, $pop91 + i32.call $push92=, __vprintf_chk@FUNCTION, $2, $pop109, $pop91 i32.const $push93=, 5 i32.ne $push94=, $pop92, $pop93 br_if 11, $pop94 # 11: down to label1 @@ -98,23 +99,23 @@ inner: # @inner unreachable .LBB1_6: # %sw.bb9 end_block # label12: - i32.const $push110=, 0 + i32.const $push112=, 0 i32.const $push79=, 1 - i32.store $drop=, should_optimize($pop110), $pop79 - i32.const $push109=, .L.str.1 + i32.store $drop=, should_optimize($pop112), $pop79 + i32.const $push111=, .L.str.1 i32.load $push80=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop109, $pop80 - i32.const $push108=, 0 - i32.load $push81=, should_optimize($pop108) - i32.eqz $push148=, $pop81 - br_if 10, $pop148 # 10: down to label1 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop111, $pop80 + i32.const $push110=, 0 + i32.load $push81=, should_optimize($pop110) + i32.eqz $push150=, $pop81 + br_if 10, $pop150 # 10: down to label1 # BB#7: # %if.end13 - i32.const $push113=, 0 - i32.const $push112=, 0 - i32.store $drop=, should_optimize($pop113), $pop112 - i32.const $push111=, .L.str.1 + i32.const $push115=, 0 + i32.const $push114=, 0 + i32.store $drop=, should_optimize($pop115), $pop114 + i32.const $push113=, .L.str.1 i32.load $push82=, 8($2) - i32.call $push83=, __vprintf_chk@FUNCTION, $2, $pop111, $pop82 + i32.call $push83=, __vprintf_chk@FUNCTION, $2, $pop113, $pop82 i32.const $push84=, 6 i32.ne $push85=, $pop83, $pop84 br_if 10, $pop85 # 10: down to label1 @@ -127,23 +128,23 @@ inner: # @inner unreachable .LBB1_10: # %sw.bb21 end_block # label11: - i32.const $push116=, 0 + i32.const $push118=, 0 i32.const $push71=, 1 - i32.store $0=, should_optimize($pop116), $pop71 - i32.const $push115=, .L.str.2 + i32.store $0=, should_optimize($pop118), $pop71 + i32.const $push117=, .L.str.2 i32.load $push72=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop115, $pop72 - i32.const $push114=, 0 - i32.load $push73=, should_optimize($pop114) - i32.eqz $push149=, $pop73 - br_if 9, $pop149 # 9: down to label1 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop117, $pop72 + i32.const $push116=, 0 + i32.load $push73=, should_optimize($pop116) + i32.eqz $push151=, $pop73 + br_if 9, $pop151 # 9: down to label1 # BB#11: # %if.end25 - i32.const $push119=, 0 - i32.const $push118=, 0 - i32.store $drop=, should_optimize($pop119), $pop118 - i32.const $push117=, .L.str.2 + i32.const $push121=, 0 + i32.const $push120=, 0 + i32.store $drop=, should_optimize($pop121), $pop120 + i32.const $push119=, .L.str.2 i32.load $push74=, 8($2) - i32.call $push75=, __vprintf_chk@FUNCTION, $2, $pop117, $pop74 + i32.call $push75=, __vprintf_chk@FUNCTION, $2, $pop119, $pop74 i32.ne $push76=, $pop75, $0 br_if 9, $pop76 # 9: down to label1 # BB#12: # %if.end29 @@ -155,23 +156,23 @@ inner: # @inner unreachable .LBB1_14: # %sw.bb33 end_block # label10: - i32.const $push122=, 0 + i32.const $push124=, 0 i32.const $push64=, 1 - i32.store $drop=, should_optimize($pop122), $pop64 - i32.const $push121=, .L.str.3 + i32.store $drop=, should_optimize($pop124), $pop64 + i32.const $push123=, .L.str.3 i32.load $push65=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop121, $pop65 - i32.const $push120=, 0 - i32.load $push66=, should_optimize($pop120) - i32.eqz $push150=, $pop66 - br_if 8, $pop150 # 8: down to label1 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop123, $pop65 + i32.const $push122=, 0 + i32.load $push66=, should_optimize($pop122) + i32.eqz $push152=, $pop66 + br_if 8, $pop152 # 8: down to label1 # BB#15: # %if.end37 - i32.const $push125=, 0 - i32.const $push124=, 0 - i32.store $drop=, should_optimize($pop125), $pop124 - i32.const $push123=, .L.str.3 + i32.const $push127=, 0 + i32.const $push126=, 0 + i32.store $drop=, should_optimize($pop127), $pop126 + i32.const $push125=, .L.str.3 i32.load $push67=, 8($2) - i32.call $push68=, __vprintf_chk@FUNCTION, $2, $pop123, $pop67 + i32.call $push68=, __vprintf_chk@FUNCTION, $2, $pop125, $pop67 br_if 8, $pop68 # 8: down to label1 # BB#16: # %if.end41 i32.const $push69=, 0 @@ -183,19 +184,19 @@ inner: # @inner .LBB1_18: # %sw.bb45 end_block # label9: i32.const $push55=, 0 - i32.const $push127=, 0 - i32.store $0=, should_optimize($pop55), $pop127 - i32.const $push126=, .L.str.4 + i32.const $push129=, 0 + i32.store $0=, should_optimize($pop55), $pop129 + i32.const $push128=, .L.str.4 i32.load $push56=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop126, $pop56 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop128, $pop56 i32.load $push57=, should_optimize($0) - i32.eqz $push151=, $pop57 - br_if 7, $pop151 # 7: down to label1 + i32.eqz $push153=, $pop57 + br_if 7, $pop153 # 7: down to label1 # BB#19: # %if.end49 i32.store $drop=, should_optimize($0), $0 - i32.const $push128=, .L.str.4 + i32.const $push130=, .L.str.4 i32.load $push58=, 8($2) - i32.call $push59=, __vprintf_chk@FUNCTION, $2, $pop128, $pop58 + i32.call $push59=, __vprintf_chk@FUNCTION, $2, $pop130, $pop58 i32.const $push60=, 5 i32.ne $push61=, $pop59, $pop60 br_if 7, $pop61 # 7: down to label1 @@ -209,19 +210,19 @@ inner: # @inner .LBB1_22: # %sw.bb57 end_block # label8: i32.const $push46=, 0 - i32.const $push130=, 0 - i32.store $0=, should_optimize($pop46), $pop130 - i32.const $push129=, .L.str.4 + i32.const $push132=, 0 + i32.store $0=, should_optimize($pop46), $pop132 + i32.const $push131=, .L.str.4 i32.load $push47=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop129, $pop47 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop131, $pop47 i32.load $push48=, should_optimize($0) - i32.eqz $push152=, $pop48 - br_if 6, $pop152 # 6: down to label1 + i32.eqz $push154=, $pop48 + br_if 6, $pop154 # 6: down to label1 # BB#23: # %if.end61 i32.store $drop=, should_optimize($0), $0 - i32.const $push131=, .L.str.4 + i32.const $push133=, .L.str.4 i32.load $push49=, 8($2) - i32.call $push50=, __vprintf_chk@FUNCTION, $2, $pop131, $pop49 + i32.call $push50=, __vprintf_chk@FUNCTION, $2, $pop133, $pop49 i32.const $push51=, 6 i32.ne $push52=, $pop50, $pop51 br_if 6, $pop52 # 6: down to label1 @@ -235,19 +236,19 @@ inner: # @inner .LBB1_26: # %sw.bb69 end_block # label7: i32.const $push37=, 0 - i32.const $push133=, 0 - i32.store $0=, should_optimize($pop37), $pop133 - i32.const $push132=, .L.str.4 + i32.const $push135=, 0 + i32.store $0=, should_optimize($pop37), $pop135 + i32.const $push134=, .L.str.4 i32.load $push38=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop132, $pop38 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop134, $pop38 i32.load $push39=, should_optimize($0) - i32.eqz $push153=, $pop39 - br_if 5, $pop153 # 5: down to label1 + i32.eqz $push155=, $pop39 + br_if 5, $pop155 # 5: down to label1 # BB#27: # %if.end73 i32.store $drop=, should_optimize($0), $0 - i32.const $push134=, .L.str.4 + i32.const $push136=, .L.str.4 i32.load $push40=, 8($2) - i32.call $push41=, __vprintf_chk@FUNCTION, $2, $pop134, $pop40 + i32.call $push41=, __vprintf_chk@FUNCTION, $2, $pop136, $pop40 i32.const $push42=, 1 i32.ne $push43=, $pop41, $pop42 br_if 5, $pop43 # 5: down to label1 @@ -261,19 +262,19 @@ inner: # @inner .LBB1_30: # %sw.bb81 end_block # label6: i32.const $push30=, 0 - i32.const $push136=, 0 - i32.store $0=, should_optimize($pop30), $pop136 - i32.const $push135=, .L.str.4 + i32.const $push138=, 0 + i32.store $0=, should_optimize($pop30), $pop138 + i32.const $push137=, .L.str.4 i32.load $push31=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop135, $pop31 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop137, $pop31 i32.load $push32=, should_optimize($0) - i32.eqz $push154=, $pop32 - br_if 4, $pop154 # 4: down to label1 + i32.eqz $push156=, $pop32 + br_if 4, $pop156 # 4: down to label1 # BB#31: # %if.end85 i32.store $drop=, should_optimize($0), $0 - i32.const $push137=, .L.str.4 + i32.const $push139=, .L.str.4 i32.load $push33=, 8($2) - i32.call $push34=, __vprintf_chk@FUNCTION, $2, $pop137, $pop33 + i32.call $push34=, __vprintf_chk@FUNCTION, $2, $pop139, $pop33 br_if 4, $pop34 # 4: down to label1 # BB#32: # %if.end89 i32.const $push35=, 0 @@ -285,19 +286,19 @@ inner: # @inner .LBB1_34: # %sw.bb93 end_block # label5: i32.const $push21=, 0 - i32.const $push139=, 0 - i32.store $0=, should_optimize($pop21), $pop139 - i32.const $push138=, .L.str.5 + i32.const $push141=, 0 + i32.store $0=, should_optimize($pop21), $pop141 + i32.const $push140=, .L.str.5 i32.load $push22=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop138, $pop22 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop140, $pop22 i32.load $push23=, should_optimize($0) - i32.eqz $push155=, $pop23 - br_if 3, $pop155 # 3: down to label1 + i32.eqz $push157=, $pop23 + br_if 3, $pop157 # 3: down to label1 # BB#35: # %if.end97 i32.store $drop=, should_optimize($0), $0 - i32.const $push140=, .L.str.5 + i32.const $push142=, .L.str.5 i32.load $push24=, 8($2) - i32.call $push25=, __vprintf_chk@FUNCTION, $2, $pop140, $pop24 + i32.call $push25=, __vprintf_chk@FUNCTION, $2, $pop142, $pop24 i32.const $push26=, 1 i32.ne $push27=, $pop25, $pop26 br_if 3, $pop27 # 3: down to label1 @@ -311,19 +312,19 @@ inner: # @inner .LBB1_38: # %sw.bb105 end_block # label4: i32.const $push12=, 0 - i32.const $push142=, 0 - i32.store $0=, should_optimize($pop12), $pop142 - i32.const $push141=, .L.str.6 + i32.const $push144=, 0 + i32.store $0=, should_optimize($pop12), $pop144 + i32.const $push143=, .L.str.6 i32.load $push13=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop141, $pop13 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop143, $pop13 i32.load $push14=, should_optimize($0) - i32.eqz $push156=, $pop14 - br_if 2, $pop156 # 2: down to label1 + i32.eqz $push158=, $pop14 + br_if 2, $pop158 # 2: down to label1 # BB#39: # %if.end109 i32.store $drop=, should_optimize($0), $0 - i32.const $push143=, .L.str.6 + i32.const $push145=, .L.str.6 i32.load $push15=, 8($2) - i32.call $push16=, __vprintf_chk@FUNCTION, $2, $pop143, $pop15 + i32.call $push16=, __vprintf_chk@FUNCTION, $2, $pop145, $pop15 i32.const $push17=, 7 i32.ne $push18=, $pop16, $pop17 br_if 2, $pop18 # 2: down to label1 @@ -337,33 +338,33 @@ inner: # @inner .LBB1_42: # %sw.bb117 end_block # label3: i32.const $push3=, 0 - i32.const $push145=, 0 - i32.store $0=, should_optimize($pop3), $pop145 - i32.const $push144=, .L.str.7 + i32.const $push147=, 0 + i32.store $0=, should_optimize($pop3), $pop147 + i32.const $push146=, .L.str.7 i32.load $push4=, 12($2) - i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop144, $pop4 + i32.call $drop=, __vprintf_chk@FUNCTION, $2, $pop146, $pop4 i32.load $push5=, should_optimize($0) - i32.eqz $push157=, $pop5 - br_if 1, $pop157 # 1: down to label1 + i32.eqz $push159=, $pop5 + br_if 1, $pop159 # 1: down to label1 # BB#43: # %if.end121 i32.store $drop=, should_optimize($0), $0 - i32.const $push146=, .L.str.7 + i32.const $push148=, .L.str.7 i32.load $push6=, 8($2) - i32.call $push7=, __vprintf_chk@FUNCTION, $2, $pop146, $pop6 + i32.call $push7=, __vprintf_chk@FUNCTION, $2, $pop148, $pop6 i32.const $push8=, 2 i32.ne $push9=, $pop7, $pop8 br_if 1, $pop9 # 1: down to label1 # BB#44: # %if.end125 i32.const $push10=, 0 i32.load $push11=, should_optimize($pop10) - i32.eqz $push158=, $pop11 - br_if 1, $pop158 # 1: down to label1 + i32.eqz $push160=, $pop11 + br_if 1, $pop160 # 1: down to label1 .LBB1_45: # %sw.epilog end_block # label2: - i32.const $push103=, __stack_pointer + i32.const $push103=, 0 i32.const $push101=, 16 i32.add $push102=, $2, $pop101 - i32.store $drop=, 0($pop103), $pop102 + i32.store $drop=, __stack_pointer($pop103), $pop102 return .LBB1_46: # %sw.default end_block # label1: @@ -381,12 +382,12 @@ main: # @main .result i32 .local i32, i32 # BB#0: # %entry - i32.const $push19=, __stack_pointer - i32.const $push16=, __stack_pointer - i32.load $push17=, 0($pop16) + i32.const $push19=, 0 + i32.const $push16=, 0 + i32.load $push17=, __stack_pointer($pop16) i32.const $push18=, 112 i32.sub $push35=, $pop17, $pop18 - i32.store $1=, 0($pop19), $pop35 + i32.store $1=, __stack_pointer($pop19), $pop35 i32.const $push0=, 0 i32.const $push40=, 0 call inner@FUNCTION, $pop0, $pop40 @@ -438,11 +439,12 @@ main: # @main i32.store $0=, 0($1), $pop36 i32.const $push15=, 10 call inner@FUNCTION, $pop15, $1 - i32.const $push22=, __stack_pointer + i32.const $push22=, 0 i32.const $push20=, 112 i32.add $push21=, $1, $pop20 - i32.store $drop=, 0($pop22), $pop21 - return $0 + i32.store $drop=, __stack_pointer($pop22), $pop21 + copy_local $push41=, $0 + # fallthrough-return: $pop41 .endfunc .Lfunc_end2: .size main, .Lfunc_end2-main diff --git a/test/torture-s/vrp-1.c.s b/test/torture-s/vrp-1.c.s index 4cf6f328b..2f373fece 100644 --- a/test/torture-s/vrp-1.c.s +++ b/test/torture-s/vrp-1.c.s @@ -9,12 +9,12 @@ f: # @f .result i32 # BB#0: # %entry i32.const $push4=, 1 - i32.const $push0=, -2 - i32.ne $push1=, $0, $pop0 - i32.const $push2=, 2 - i32.eq $push3=, $0, $pop2 - i32.select $push5=, $pop4, $pop1, $pop3 - return $pop5 + i32.const $push2=, -2 + i32.ne $push3=, $0, $pop2 + i32.const $push0=, 2 + i32.eq $push1=, $0, $pop0 + i32.select $push5=, $pop4, $pop3, $pop1 + # fallthrough-return: $pop5 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/vrp-2.c.s b/test/torture-s/vrp-2.c.s index 42907b396..e812daf73 100644 --- a/test/torture-s/vrp-2.c.s +++ b/test/torture-s/vrp-2.c.s @@ -24,7 +24,8 @@ f: # @f i32.ne $1=, $pop3, $pop5 .LBB0_2: # %return end_block # label0: - return $1 + copy_local $push8=, $1 + # fallthrough-return: $pop8 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/vrp-3.c.s b/test/torture-s/vrp-3.c.s index 7a16b65cd..1e22f4bd1 100644 --- a/test/torture-s/vrp-3.c.s +++ b/test/torture-s/vrp-3.c.s @@ -26,7 +26,8 @@ f: # @f i32.ne $1=, $pop6, $pop7 .LBB0_2: # %return end_block # label0: - return $1 + copy_local $push10=, $1 + # fallthrough-return: $pop10 .endfunc .Lfunc_end0: .size f, .Lfunc_end0-f diff --git a/test/torture-s/vrp-7.c.s b/test/torture-s/vrp-7.c.s index ab2938117..7fad8df79 100644 --- a/test/torture-s/vrp-7.c.s +++ b/test/torture-s/vrp-7.c.s @@ -7,18 +7,18 @@ foo: # @foo .param i32 # BB#0: # %entry - i32.const $push2=, 0 + i32.const $push4=, 0 i32.const $push9=, 0 - i32.load8_u $push3=, t($pop9) + i32.load8_u $push5=, t($pop9) i32.const $push6=, 254 - i32.and $push7=, $pop3, $pop6 + i32.and $push7=, $pop5, $pop6 i32.const $push0=, 4 i32.shr_u $push1=, $0, $pop0 - i32.const $push4=, 1 - i32.and $push5=, $pop1, $pop4 - i32.or $push8=, $pop7, $pop5 - i32.store8 $drop=, t($pop2), $pop8 - return + i32.const $push2=, 1 + i32.and $push3=, $pop1, $pop2 + i32.or $push8=, $pop7, $pop3 + i32.store8 $drop=, t($pop4), $pop8 + # fallthrough-return .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo diff --git a/test/torture-s/zero-struct-1.c.s b/test/torture-s/zero-struct-1.c.s index 06c6d7978..99bfcad41 100644 --- a/test/torture-s/zero-struct-1.c.s +++ b/test/torture-s/zero-struct-1.c.s @@ -5,21 +5,20 @@ .globl h .type h,@function h: # @h - .local i32 # BB#0: # %entry i32.const $push0=, 0 - i32.load $0=, ff($pop0) - i32.const $push8=, 0 - i32.const $push7=, 0 - i32.load $push1=, f($pop7) + i32.const $push9=, 0 + i32.load $push1=, f($pop9) i32.const $push2=, 2 i32.add $push3=, $pop1, $pop2 - i32.store $drop=, f($pop8), $pop3 - i32.const $push6=, 0 - i32.const $push5=, 2 - i32.add $push4=, $0, $pop5 - i32.store $drop=, ff($pop6), $pop4 - return + i32.store $drop=, f($pop0), $pop3 + i32.const $push8=, 0 + i32.const $push7=, 0 + i32.load $push4=, ff($pop7) + i32.const $push6=, 2 + i32.add $push5=, $pop4, $pop6 + i32.store $drop=, ff($pop8), $pop5 + # fallthrough-return .endfunc .Lfunc_end0: .size h, .Lfunc_end0-h @@ -33,28 +32,28 @@ main: # @main .local i32, i32 # BB#0: # %entry i32.const $push1=, 0 - i32.load $1=, ff($pop1) - i32.const $push12=, 0 - i32.const $push11=, 0 - i32.load $push2=, f($pop11) + i32.const $push13=, 0 + i32.load $push2=, f($pop13) i32.const $push3=, 2 i32.add $push4=, $pop2, $pop3 - i32.store $0=, f($pop12), $pop4 - i32.const $push10=, 0 - i32.const $push9=, 2 - i32.add $push0=, $1, $pop9 - i32.store $1=, ff($pop10), $pop0 + i32.store $0=, f($pop1), $pop4 + i32.const $push12=, 0 + i32.const $push11=, 0 + i32.load $push5=, ff($pop11) + i32.const $push10=, 2 + i32.add $push0=, $pop5, $pop10 + i32.store $1=, ff($pop12), $pop0 block - i32.const $push8=, y+2 - i32.ne $push5=, $0, $pop8 - br_if 0, $pop5 # 0: down to label0 -# BB#1: # %if.end - i32.const $push13=, y+2 - i32.ne $push6=, $1, $pop13 + i32.const $push9=, y+2 + i32.ne $push6=, $0, $pop9 br_if 0, $pop6 # 0: down to label0 +# BB#1: # %if.end + i32.const $push14=, y+2 + i32.ne $push7=, $1, $pop14 + br_if 0, $pop7 # 0: down to label0 # BB#2: # %if.end3 - i32.const $push7=, 0 - return $pop7 + i32.const $push8=, 0 + return $pop8 .LBB1_3: # %if.then2 end_block # label0: call abort@FUNCTION diff --git a/test/torture-s/zero-struct-2.c.s b/test/torture-s/zero-struct-2.c.s index 90f7af188..368b2dac6 100644 --- a/test/torture-s/zero-struct-2.c.s +++ b/test/torture-s/zero-struct-2.c.s @@ -12,7 +12,7 @@ one_raw_spinlock: # @one_raw_spinlock i32.const $push2=, 1 i32.add $push3=, $pop1, $pop2 i32.store $drop=, ii($pop0), $pop3 - return + # fallthrough-return .endfunc .Lfunc_end0: .size one_raw_spinlock, .Lfunc_end0-one_raw_spinlock diff --git a/test/torture-s/zerolen-1.c.s b/test/torture-s/zerolen-1.c.s index 69af121e3..bbedfead9 100644 --- a/test/torture-s/zerolen-1.c.s +++ b/test/torture-s/zerolen-1.c.s @@ -26,7 +26,7 @@ set: # @set # BB#0: # %entry i32.const $push0=, 1 i32.store16 $drop=, 0($0):p2align=0, $pop0 - return + # fallthrough-return .endfunc .Lfunc_end1: .size set, .Lfunc_end1-set diff --git a/test/torture-s/zerolen-2.c.s b/test/torture-s/zerolen-2.c.s index 314870845..6fe01b3cb 100644 --- a/test/torture-s/zerolen-2.c.s +++ b/test/torture-s/zerolen-2.c.s @@ -8,7 +8,7 @@ main: # @main .result i32 # BB#0: # %entry i32.const $push0=, 0 - return $pop0 + # fallthrough-return: $pop0 .endfunc .Lfunc_end0: .size main, .Lfunc_end0-main |