diff options
Diffstat (limited to 'test/torture-s/regstack-1.c.s')
-rw-r--r-- | test/torture-s/regstack-1.c.s | 515 |
1 files changed, 287 insertions, 228 deletions
diff --git a/test/torture-s/regstack-1.c.s b/test/torture-s/regstack-1.c.s index 090e4a43a..a941c6d04 100644 --- a/test/torture-s/regstack-1.c.s +++ b/test/torture-s/regstack-1.c.s @@ -6,234 +6,293 @@ .type main,@function main: # @main .result i32 - .local i32, i64, i64, i32, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, 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, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 + .local i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, i64, 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, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32, i32 # BB#0: # %entry - i32.const $20=, __stack_pointer - i32.load $20=, 0($20) - i32.const $21=, 320 - i32.sub $62=, $20, $21 - i32.const $21=, __stack_pointer - i32.store $62=, 0($21), $62 - i32.const $0=, 0 - i64.load $14=, C+8($0) - i64.load $15=, C($0) - i64.load $1=, U+8($0) - i64.load $2=, U($0) - i32.const $22=, 304 - i32.add $22=, $62, $22 - call __addtf3@FUNCTION, $22, $15, $14, $2, $1 - i32.const $3=, 8 - i32.const $23=, 304 - i32.add $23=, $62, $23 - i32.add $push7=, $23, $3 - i64.load $4=, 0($pop7) - i64.load $5=, 304($62) - i64.load $6=, Y2+8($0) - i64.load $7=, Y2($0) - i32.const $24=, 192 - i32.add $24=, $62, $24 - call __multf3@FUNCTION, $24, $5, $4, $7, $6 - i32.const $25=, 192 - i32.add $25=, $62, $25 - i32.add $push8=, $25, $3 - i64.load $8=, 0($pop8) - i64.load $9=, 192($62) - i32.const $26=, 240 - i32.add $26=, $62, $26 - call __subtf3@FUNCTION, $26, $15, $14, $2, $1 - i32.const $27=, 240 - i32.add $27=, $62, $27 - i32.add $push9=, $27, $3 - i64.load $10=, 0($pop9) - i64.load $11=, 240($62) - i32.const $28=, 224 - i32.add $28=, $62, $28 - call __subtf3@FUNCTION, $28, $11, $10, $2, $1 - i32.const $29=, 224 - i32.add $29=, $62, $29 - i32.add $push10=, $29, $3 - i64.load $12=, 0($pop10) - i64.load $13=, 224($62) - i32.const $30=, 288 - i32.add $30=, $62, $30 - call __addtf3@FUNCTION, $30, $2, $1, $5, $4 - i32.const $31=, 288 - i32.add $31=, $62, $31 - i32.add $push11=, $31, $3 - i64.load $4=, 0($pop11) - i64.load $14=, Y1+8($0) - i64.load $15=, Y1($0) - i64.load $5=, 288($62) - i32.const $32=, 112 - i32.add $32=, $62, $32 - call __multf3@FUNCTION, $32, $11, $10, $15, $14 - i32.const $33=, 112 - i32.add $33=, $62, $33 - i32.add $push12=, $33, $3 - i64.load $16=, 0($pop12) - i64.load $17=, 112($62) - i32.const $34=, 272 - i32.add $34=, $62, $34 - call __addtf3@FUNCTION, $34, $5, $4, $2, $1 - i32.const $35=, 272 - i32.add $35=, $62, $35 - i32.add $push13=, $35, $3 - i64.load $10=, 0($pop13) - i64.load $11=, 272($62) - i32.const $36=, 176 - i32.add $36=, $62, $36 - call __subtf3@FUNCTION, $36, $9, $8, $11, $10 - i64.load $8=, 176($62) - i32.const $37=, 176 - i32.add $37=, $62, $37 - i32.add $push14=, $37, $3 - i64.load $push6=, 0($pop14) - i64.store $18=, X+8($0), $pop6 - i64.store $19=, X($0), $8 - i32.const $38=, 80 - i32.add $38=, $62, $38 - call __multf3@FUNCTION, $38, $13, $12, $15, $14 - i32.const $39=, 80 - i32.add $39=, $62, $39 - i32.add $push15=, $39, $3 - i64.load $8=, 0($pop15) - i64.load $9=, 80($62) - i32.const $40=, 160 - i32.add $40=, $62, $40 - call __multf3@FUNCTION, $40, $5, $4, $7, $6 - i64.load $5=, 160($62) - i32.const $41=, 160 - i32.add $41=, $62, $41 - i32.add $push16=, $41, $3 - i64.load $push1=, 0($pop16) - i64.store $4=, S+8($0), $pop1 - i64.store $discard=, S($0), $5 - i32.const $42=, 96 - i32.add $42=, $62, $42 - call __subtf3@FUNCTION, $42, $17, $16, $13, $12 - i64.load $16=, 96($62) - i32.const $43=, 96 - i32.add $43=, $62, $43 - i32.add $push17=, $43, $3 - i64.load $push0=, 0($pop17) - i64.store $17=, T+8($0), $pop0 - i64.store $discard=, T($0), $16 - i32.const $44=, 208 - i32.add $44=, $62, $44 - call __subtf3@FUNCTION, $44, $2, $1, $13, $12 - i64.load $push20=, 208($62) - i32.const $45=, 208 - i32.add $45=, $62, $45 - i32.add $push18=, $45, $3 - i64.load $push19=, 0($pop18) - i32.const $46=, 64 - i32.add $46=, $62, $46 - call __addtf3@FUNCTION, $46, $pop20, $pop19, $9, $8 - i64.load $12=, 64($62) - i32.const $47=, 64 - i32.add $47=, $62, $47 - i32.add $push21=, $47, $3 - i64.load $push5=, 0($pop21) - i64.store $8=, Y+8($0), $pop5 - i64.store $9=, Y($0), $12 - i32.const $48=, 256 - i32.add $48=, $62, $48 - call __addtf3@FUNCTION, $48, $2, $1, $11, $10 - i64.load $push24=, 256($62) - i32.const $49=, 256 - i32.add $49=, $62, $49 - i32.add $push22=, $49, $3 - i64.load $push23=, 0($pop22) - i32.const $50=, 144 - i32.add $50=, $62, $50 - call __subtf3@FUNCTION, $50, $5, $4, $pop24, $pop23 - i64.load $12=, 144($62) - i32.const $51=, 144 - i32.add $51=, $62, $51 - i32.add $push25=, $51, $3 - i64.load $push4=, 0($pop25) - i64.store $10=, Z+8($0), $pop4 - i64.store $11=, Z($0), $12 - i32.const $52=, 128 - i32.add $52=, $62, $52 - call __addtf3@FUNCTION, $52, $2, $1, $7, $6 - i64.load $push28=, 128($62) - i32.const $53=, 128 - i32.add $53=, $62, $53 - i32.add $push26=, $53, $3 - i64.load $push27=, 0($pop26) - i32.const $54=, 48 - i32.add $54=, $62, $54 - call __multf3@FUNCTION, $54, $pop28, $pop27, $15, $14 - i32.const $55=, 48 - i32.add $55=, $62, $55 - i32.add $push29=, $55, $3 - i64.load $1=, 0($pop29) - i64.load $2=, 48($62) - i32.const $56=, 16 - i32.add $56=, $62, $56 - call __multf3@FUNCTION, $56, $7, $6, $15, $14 - i32.const $57=, 16 - i32.add $57=, $62, $57 - i32.add $push30=, $57, $3 - i64.load $14=, 0($pop30) - i64.load $15=, 16($62) - i32.const $58=, 32 - i32.add $58=, $62, $58 - call __subtf3@FUNCTION, $58, $2, $1, $7, $6 - i64.load $2=, 32($62) - i32.const $59=, 32 - i32.add $59=, $62, $59 - i32.add $push31=, $59, $3 - i64.load $push2=, 0($pop31) - i64.store $12=, R+8($0), $pop2 - i64.const $1=, 0 - i64.store $13=, R($0), $2 - i64.const $push32=, -4612248968380809216 - i32.const $60=, 0 - i32.add $60=, $62, $60 - call __addtf3@FUNCTION, $60, $15, $14, $1, $pop32 - i64.load $2=, 0($62) - i32.const $61=, 0 - i32.add $61=, $62, $61 - i32.add $push33=, $61, $3 - i64.load $push3=, 0($pop33) - i64.store $14=, Y1+8($0), $pop3 - i64.store $discard=, Y1($0), $2 + i32.const $18=, __stack_pointer + i32.load $18=, 0($18) + i32.const $19=, 320 + i32.sub $58=, $18, $19 + i32.const $19=, __stack_pointer + i32.store $58=, 0($19), $58 + i32.const $push7=, 0 + i64.load $push9=, C($pop7):p2align=4 + tee_local $push122=, $2=, $pop9 + i32.const $push121=, 0 + i64.load $push8=, C+8($pop121) + tee_local $push120=, $3=, $pop8 + i32.const $push119=, 0 + i64.load $push11=, U($pop119):p2align=4 + tee_local $push118=, $17=, $pop11 + i32.const $push117=, 0 + i64.load $push10=, U+8($pop117) + tee_local $push116=, $16=, $pop10 + i32.const $20=, 304 + i32.add $20=, $58, $20 + call __addtf3@FUNCTION, $20, $pop122, $pop120, $pop118, $pop116 + i64.load $push15=, 304($58) + tee_local $push115=, $11=, $pop15 + i32.const $push12=, 8 + i32.const $21=, 304 + i32.add $21=, $58, $21 + i32.add $push13=, $21, $pop12 + i64.load $push14=, 0($pop13) + tee_local $push114=, $10=, $pop14 + i32.const $push113=, 0 + i64.load $push17=, Y2($pop113):p2align=4 + tee_local $push112=, $15=, $pop17 + i32.const $push111=, 0 + i64.load $push16=, Y2+8($pop111) + tee_local $push110=, $14=, $pop16 + i32.const $22=, 192 + i32.add $22=, $58, $22 + call __multf3@FUNCTION, $22, $pop115, $pop114, $pop112, $pop110 + i32.const $push109=, 8 + i32.const $23=, 192 + i32.add $23=, $58, $23 + i32.add $push18=, $23, $pop109 + i64.load $0=, 0($pop18) + i64.load $1=, 192($58) + i32.const $24=, 240 + i32.add $24=, $58, $24 + call __subtf3@FUNCTION, $24, $2, $3, $17, $16 + i64.load $push21=, 240($58) + tee_local $push108=, $13=, $pop21 + i32.const $push107=, 8 + i32.const $25=, 240 + i32.add $25=, $58, $25 + i32.add $push19=, $25, $pop107 + i64.load $push20=, 0($pop19) + tee_local $push106=, $12=, $pop20 + i32.const $26=, 224 + i32.add $26=, $58, $26 + call __subtf3@FUNCTION, $26, $pop108, $pop106, $17, $16 + i32.const $push105=, 8 + i32.const $27=, 224 + i32.add $27=, $58, $27 + i32.add $push22=, $27, $pop105 + i64.load $2=, 0($pop22) + i64.load $3=, 224($58) + i32.const $28=, 288 + i32.add $28=, $58, $28 + call __addtf3@FUNCTION, $28, $17, $16, $11, $10 + i32.const $push104=, 8 + i32.const $29=, 288 + i32.add $29=, $58, $29 + i32.add $push23=, $29, $pop104 + i64.load $4=, 0($pop23) + i64.load $5=, 288($58) + i32.const $push103=, 0 + i64.load $push25=, Y1($pop103):p2align=4 + tee_local $push102=, $11=, $pop25 + i32.const $push101=, 0 + i64.load $push24=, Y1+8($pop101) + tee_local $push100=, $10=, $pop24 + i32.const $30=, 112 + i32.add $30=, $58, $30 + call __multf3@FUNCTION, $30, $13, $12, $pop102, $pop100 + i32.const $push99=, 8 + i32.const $31=, 112 + i32.add $31=, $58, $31 + i32.add $push26=, $31, $pop99 + i64.load $13=, 0($pop26) + i64.load $12=, 112($58) + i32.const $32=, 272 + i32.add $32=, $58, $32 + call __addtf3@FUNCTION, $32, $5, $4, $17, $16 + i64.load $push29=, 272($58) + tee_local $push98=, $9=, $pop29 + i32.const $push97=, 8 + i32.const $33=, 272 + i32.add $33=, $58, $33 + i32.add $push27=, $33, $pop97 + i64.load $push28=, 0($pop27) + tee_local $push96=, $8=, $pop28 + i32.const $34=, 176 + i32.add $34=, $58, $34 + call __subtf3@FUNCTION, $34, $1, $0, $pop98, $pop96 + i64.load $0=, 176($58) + i32.const $push95=, 0 + i32.const $push94=, 8 + i32.const $35=, 176 + i32.add $35=, $58, $35 + i32.add $push30=, $35, $pop94 + i64.load $push6=, 0($pop30) + i64.store $6=, X+8($pop95), $pop6 + i32.const $push93=, 0 + i64.store $7=, X($pop93):p2align=4, $0 + i32.const $36=, 80 + i32.add $36=, $58, $36 + call __multf3@FUNCTION, $36, $3, $2, $11, $10 + i32.const $push92=, 8 + i32.const $37=, 80 + i32.add $37=, $58, $37 + i32.add $push31=, $37, $pop92 + i64.load $0=, 0($pop31) + i64.load $1=, 80($58) + i32.const $38=, 160 + i32.add $38=, $58, $38 + call __multf3@FUNCTION, $38, $5, $4, $15, $14 + i64.load $5=, 160($58) + i32.const $push91=, 0 + i32.const $push90=, 8 + i32.const $39=, 160 + i32.add $39=, $58, $39 + i32.add $push32=, $39, $pop90 + i64.load $push1=, 0($pop32) + i64.store $4=, S+8($pop91), $pop1 + i32.const $push89=, 0 + i64.store $discard=, S($pop89):p2align=4, $5 + i32.const $40=, 96 + i32.add $40=, $58, $40 + call __subtf3@FUNCTION, $40, $12, $13, $3, $2 + i64.load $13=, 96($58) + i32.const $push88=, 0 + i32.const $push87=, 8 + i32.const $41=, 96 + i32.add $41=, $58, $41 + i32.add $push33=, $41, $pop87 + i64.load $push0=, 0($pop33) + i64.store $12=, T+8($pop88), $pop0 + i32.const $push86=, 0 + i64.store $discard=, T($pop86):p2align=4, $13 + i32.const $42=, 208 + i32.add $42=, $58, $42 + call __subtf3@FUNCTION, $42, $17, $16, $3, $2 + i64.load $push36=, 208($58) + i32.const $push85=, 8 + i32.const $43=, 208 + i32.add $43=, $58, $43 + i32.add $push34=, $43, $pop85 + i64.load $push35=, 0($pop34) + i32.const $44=, 64 + i32.add $44=, $58, $44 + call __addtf3@FUNCTION, $44, $pop36, $pop35, $1, $0 + i64.load $2=, 64($58) + i32.const $push84=, 0 + i32.const $push83=, 8 + i32.const $45=, 64 + i32.add $45=, $58, $45 + i32.add $push37=, $45, $pop83 + i64.load $push5=, 0($pop37) + i64.store $0=, Y+8($pop84), $pop5 + i32.const $push82=, 0 + i64.store $1=, Y($pop82):p2align=4, $2 + i32.const $46=, 256 + i32.add $46=, $58, $46 + call __addtf3@FUNCTION, $46, $17, $16, $9, $8 + i64.load $push40=, 256($58) + i32.const $push81=, 8 + i32.const $47=, 256 + i32.add $47=, $58, $47 + i32.add $push38=, $47, $pop81 + i64.load $push39=, 0($pop38) + i32.const $48=, 144 + i32.add $48=, $58, $48 + call __subtf3@FUNCTION, $48, $5, $4, $pop40, $pop39 + i64.load $2=, 144($58) + i32.const $push80=, 0 + i32.const $push79=, 8 + i32.const $49=, 144 + i32.add $49=, $58, $49 + i32.add $push41=, $49, $pop79 + i64.load $push4=, 0($pop41) + i64.store $9=, Z+8($pop80), $pop4 + i32.const $push78=, 0 + i64.store $8=, Z($pop78):p2align=4, $2 + i32.const $50=, 128 + i32.add $50=, $58, $50 + call __addtf3@FUNCTION, $50, $17, $16, $15, $14 + i64.load $push44=, 128($58) + i32.const $push77=, 8 + i32.const $51=, 128 + i32.add $51=, $58, $51 + i32.add $push42=, $51, $pop77 + i64.load $push43=, 0($pop42) + i32.const $52=, 48 + i32.add $52=, $58, $52 + call __multf3@FUNCTION, $52, $pop44, $pop43, $11, $10 + i32.const $push76=, 8 + i32.const $53=, 48 + i32.add $53=, $58, $53 + i32.add $push45=, $53, $pop76 + i64.load $17=, 0($pop45) + i64.load $16=, 48($58) + i32.const $54=, 16 + i32.add $54=, $58, $54 + call __multf3@FUNCTION, $54, $15, $14, $11, $10 + i32.const $push75=, 8 + i32.const $55=, 16 + i32.add $55=, $58, $55 + i32.add $push46=, $55, $pop75 + i64.load $2=, 0($pop46) + i64.load $3=, 16($58) + i32.const $56=, 32 + i32.add $56=, $58, $56 + call __subtf3@FUNCTION, $56, $16, $17, $15, $14 + i64.load $17=, 32($58) + i32.const $push74=, 0 + i32.const $push73=, 8 + i32.const $57=, 32 + i32.add $57=, $58, $57 + i32.add $push47=, $57, $pop73 + i64.load $push2=, 0($pop47) + i64.store $16=, R+8($pop74), $pop2 + i32.const $push72=, 0 + i64.store $11=, R($pop72):p2align=4, $17 + i64.const $push71=, 0 + i64.const $push48=, -4612248968380809216 + call __addtf3@FUNCTION, $58, $3, $2, $pop71, $pop48 + i64.load $17=, 0($58) + i32.const $push70=, 0 + i32.const $push69=, 8 + i32.add $push49=, $58, $pop69 + i64.load $push3=, 0($pop49) + i64.store $2=, Y1+8($pop70), $pop3 + i32.const $push68=, 0 + i64.store $discard=, Y1($pop68):p2align=4, $17 block - i64.const $push34=, 4612354521497075712 - i32.call $push35=, __netf2@FUNCTION, $7, $6, $1, $pop34 - br_if $pop35, 0 # 0: down to label0 + i64.const $push67=, 0 + i64.const $push50=, 4612354521497075712 + i32.call $push51=, __netf2@FUNCTION, $15, $14, $pop67, $pop50 + br_if $pop51, 0 # 0: down to label0 # BB#1: # %entry - i64.const $push36=, 4613097791357452288 - i32.call $push37=, __netf2@FUNCTION, $16, $17, $1, $pop36 - br_if $pop37, 0 # 0: down to label0 + i64.const $push123=, 0 + i64.const $push52=, 4613097791357452288 + i32.call $push53=, __netf2@FUNCTION, $13, $12, $pop123, $pop52 + br_if $pop53, 0 # 0: down to label0 # BB#2: # %entry - i64.const $push38=, 4613150567915585536 - i32.call $push39=, __netf2@FUNCTION, $5, $4, $1, $pop38 - br_if $pop39, 0 # 0: down to label0 + i64.const $push124=, 0 + i64.const $push54=, 4613150567915585536 + i32.call $push55=, __netf2@FUNCTION, $5, $4, $pop124, $pop54 + br_if $pop55, 0 # 0: down to label0 # BB#3: # %entry - i64.const $push40=, 4613517804799262720 - i32.call $push41=, __netf2@FUNCTION, $13, $12, $1, $pop40 - br_if $pop41, 0 # 0: down to label0 + i64.const $push125=, 0 + i64.const $push56=, 4613517804799262720 + i32.call $push57=, __netf2@FUNCTION, $11, $16, $pop125, $pop56 + br_if $pop57, 0 # 0: down to label0 # BB#4: # %entry - i64.const $push42=, 4613503511148101632 - i32.call $push43=, __netf2@FUNCTION, $2, $14, $1, $pop42 - br_if $pop43, 0 # 0: down to label0 + i64.const $push126=, 0 + i64.const $push58=, 4613503511148101632 + i32.call $push59=, __netf2@FUNCTION, $17, $2, $pop126, $pop58 + br_if $pop59, 0 # 0: down to label0 # BB#5: # %entry - i64.const $push44=, 4613110985496985600 - i32.call $push45=, __netf2@FUNCTION, $11, $10, $1, $pop44 - br_if $pop45, 0 # 0: down to label0 + i64.const $push127=, 0 + i64.const $push60=, 4613110985496985600 + i32.call $push61=, __netf2@FUNCTION, $8, $9, $pop127, $pop60 + br_if $pop61, 0 # 0: down to label0 # BB#6: # %entry - i64.const $push46=, 4612961451915608064 - i32.call $push47=, __netf2@FUNCTION, $9, $8, $1, $pop46 - br_if $pop47, 0 # 0: down to label0 + i64.const $push128=, 0 + i64.const $push62=, 4612961451915608064 + i32.call $push63=, __netf2@FUNCTION, $1, $0, $pop128, $pop62 + br_if $pop63, 0 # 0: down to label0 # BB#7: # %entry - i64.const $push48=, 4613040616752807936 - i32.call $push49=, __eqtf2@FUNCTION, $19, $18, $1, $pop48 - br_if $pop49, 0 # 0: down to label0 + i64.const $push129=, 0 + i64.const $push64=, 4613040616752807936 + i32.call $push65=, __eqtf2@FUNCTION, $7, $6, $pop129, $pop64 + br_if $pop65, 0 # 0: down to label0 # BB#8: # %if.end - call exit@FUNCTION, $0 + i32.const $push66=, 0 + call exit@FUNCTION, $pop66 unreachable .LBB0_9: # %if.then end_block # label0: @@ -247,7 +306,7 @@ main: # @main .type C,@object .section .data.C,"aw",@progbits .globl C - .align 4 + .p2align 4 C: .int64 0 # fp128 5 .int64 4612037862148276224 @@ -257,7 +316,7 @@ C: .type U,@object .section .data.U,"aw",@progbits .globl U - .align 4 + .p2align 4 U: .int64 0 # fp128 1 .int64 4611404543450677248 @@ -267,7 +326,7 @@ U: .type Y2,@object .section .data.Y2,"aw",@progbits .globl Y2 - .align 4 + .p2align 4 Y2: .int64 0 # fp128 11 .int64 4612354521497075712 @@ -277,7 +336,7 @@ Y2: .type Y1,@object .section .data.Y1,"aw",@progbits .globl Y1 - .align 4 + .p2align 4 Y1: .int64 0 # fp128 17 .int64 4612548035543564288 @@ -287,7 +346,7 @@ Y1: .type X,@object .section .bss.X,"aw",@nobits .globl X - .align 4 + .p2align 4 X: .int64 0 # fp128 0 .int64 0 @@ -297,7 +356,7 @@ X: .type Y,@object .section .bss.Y,"aw",@nobits .globl Y - .align 4 + .p2align 4 Y: .int64 0 # fp128 0 .int64 0 @@ -307,7 +366,7 @@ Y: .type Z,@object .section .bss.Z,"aw",@nobits .globl Z - .align 4 + .p2align 4 Z: .int64 0 # fp128 0 .int64 0 @@ -317,7 +376,7 @@ Z: .type T,@object .section .bss.T,"aw",@nobits .globl T - .align 4 + .p2align 4 T: .int64 0 # fp128 0 .int64 0 @@ -327,7 +386,7 @@ T: .type R,@object .section .bss.R,"aw",@nobits .globl R - .align 4 + .p2align 4 R: .int64 0 # fp128 0 .int64 0 @@ -337,7 +396,7 @@ R: .type S,@object .section .bss.S,"aw",@nobits .globl S - .align 4 + .p2align 4 S: .int64 0 # fp128 0 .int64 0 |