diff options
Diffstat (limited to 'test/torture-s/20021120-3.c.s')
-rw-r--r-- | test/torture-s/20021120-3.c.s | 59 |
1 files changed, 30 insertions, 29 deletions
diff --git a/test/torture-s/20021120-3.c.s b/test/torture-s/20021120-3.c.s index 259771a74..e08c0cb9f 100644 --- a/test/torture-s/20021120-3.c.s +++ b/test/torture-s/20021120-3.c.s @@ -7,39 +7,40 @@ foo: # @foo .param i32, i32, i32 .result i32 - .local i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry + i32.const $7=, __stack_pointer + i32.load $7=, 0($7) + i32.const $8=, 16 + i32.sub $10=, $7, $8 i32.const $8=, __stack_pointer - i32.load $8=, 0($8) - i32.const $9=, 16 - i32.sub $8=, $8, $9 - i32.const $9=, __stack_pointer - i32.store $8=, 0($9), $8 - i32.div_u $3=, $1, $2 + i32.store $10=, 0($8), $10 + i32.const $3=, __stack_pointer + i32.load $3=, 0($3) + i32.const $4=, 4 + i32.sub $10=, $3, $4 i32.const $4=, __stack_pointer - i32.load $4=, 0($4) - i32.const $5=, 4 - i32.sub $8=, $4, $5 + i32.store $10=, 0($4), $10 + i32.div_u $push0=, $1, $2 + i32.store $discard=, 0($10), $pop0 + i32.const $push1=, .L.str + i32.call $discard=, sprintf@FUNCTION, $0, $pop1 i32.const $5=, __stack_pointer - i32.store $8=, 0($5), $8 - i32.store $discard=, 0($8), $3 - i32.const $push0=, .L.str - i32.call $discard=, siprintf@FUNCTION, $0, $pop0 + i32.load $5=, 0($5) + i32.const $6=, 4 + i32.add $10=, $5, $6 i32.const $6=, __stack_pointer - i32.load $6=, 0($6) - i32.const $7=, 4 - i32.add $8=, $6, $7 - i32.const $7=, __stack_pointer - i32.store $8=, 0($7), $8 - i32.const $0=, 1 - i32.add $push1=, $1, $0 - i32.add $push2=, $2, $0 - i32.div_u $push3=, $pop1, $pop2 - i32.const $10=, 16 - i32.add $8=, $8, $10 - i32.const $10=, __stack_pointer - i32.store $8=, 0($10), $8 - return $pop3 + i32.store $10=, 0($6), $10 + i32.const $push2=, 1 + i32.add $push3=, $1, $pop2 + i32.const $push6=, 1 + i32.add $push4=, $2, $pop6 + i32.div_u $push5=, $pop3, $pop4 + i32.const $9=, 16 + i32.add $10=, $10, $9 + i32.const $9=, __stack_pointer + i32.store $10=, 0($9), $10 + return $pop5 .endfunc .Lfunc_end0: .size foo, .Lfunc_end0-foo @@ -69,7 +70,7 @@ main: # @main i32.const $push1=, .L.str i32.const $6=, 16 i32.add $6=, $7, $6 - i32.call $discard=, siprintf@FUNCTION, $6, $pop1 + i32.call $discard=, sprintf@FUNCTION, $6, $pop1 i32.const $2=, __stack_pointer i32.load $2=, 0($2) i32.const $3=, 4 |