URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Subversion Repositories eco32
[/] [eco32/] [trunk/] [lcc/] [alpha/] [osf/] [tst/] [struct.sbk] - Rev 4
Compare with Previous | Blame | View Log
.globl addpoint.text.text.ent addpointaddpoint:ldgp $gp,0($27)lda $sp,-64($sp).frame $sp,64,$26,48stq $17,24($sp)stq $18,32($sp).prologue 1ldl $27,-40+64($sp)ldl $25,-32+64($sp)addl $27,$25,$27stl $27,-40+64($sp)ldl $27,-36+64($sp)ldl $25,-28+64($sp)addl $27,$25,$27stl $27,-36+64($sp)lda $1,-40+64($sp)ldl $4,0($1)ldl $2,4($1)stl $4,0($16)stl $2,4($16)L.1:lda $sp,64($sp)ret.end addpoint.globl canonrect.text.ent canonrectcanonrect:ldgp $gp,0($27)lda $sp,-112($sp).mask 0x4007800,-80.frame $sp,112,$26,48stq $11,0($sp)stq $12,8($sp)stq $13,16($sp)stq $14,24($sp)stq $26,32($sp)stq $17,72($sp)stq $18,80($sp).prologue 1ldl $27,-40+112($sp)ldl $25,-32+112($sp)cmplt $27,$25,$23beq $23,L.10ldl $14,-40+112($sp)br L.11L.10:ldl $14,-32+112($sp)L.11:stl $14,-72+112($sp)ldl $27,-36+112($sp)ldl $25,-28+112($sp)cmplt $27,$25,$23beq $23,L.20ldl $13,-36+112($sp)br L.21L.20:ldl $13,-28+112($sp)L.21:stl $13,-68+112($sp)ldl $27,-40+112($sp)ldl $25,-32+112($sp)cmple $27,$25,$23bne $23,L.26ldl $12,-40+112($sp)br L.27L.26:ldl $12,-32+112($sp)L.27:stl $12,-64+112($sp)ldl $27,-36+112($sp)ldl $25,-28+112($sp)cmple $27,$25,$23bne $23,L.37ldl $11,-36+112($sp)br L.38L.37:ldl $11,-28+112($sp)L.38:stl $11,-60+112($sp)lda $1,-72+112($sp)ldl $4,0($1)ldl $2,4($1)stl $4,0($16)stl $2,4($16)ldl $4,8($1)ldl $2,12($1)stl $4,8($16)stl $2,12($16)L.5:ldq $11,0($sp)ldq $12,8($sp)ldq $13,16($sp)ldq $14,24($sp)ldq $26,32($sp)lda $sp,112($sp)ret.end canonrect.globl makepoint.text.ent makepointmakepoint:ldgp $gp,0($27)lda $sp,-64($sp).frame $sp,64,$26,48.prologue 1stl $17,-64+64($sp)stl $18,-60+64($sp)lda $1,-64+64($sp)ldl $4,0($1)ldl $2,4($1)stl $4,0($16)stl $2,4($16)L.39:lda $sp,64($sp)ret.end makepoint.globl makerect.text.ent makerectmakerect:ldgp $gp,0($27)lda $sp,-80($sp).mask 0x4000000,-80.frame $sp,80,$26,48stq $26,0($sp)stq $16,32($sp)stq $17,40($sp)stq $18,48($sp).prologue 1lda $27,-72+80($sp)lda $1,-40+80($sp)ldl $4,0($1)ldl $2,4($1)stl $4,0($27)stl $2,4($27)lda $27,-64+80($sp)lda $1,-32+80($sp)ldl $4,0($1)ldl $2,4($1)stl $4,0($27)stl $2,4($27)ldq $16,-48+80($sp)lda $1,-72+80($sp)uldq $17,0($1)uldq $18,8($1)jsr $26,canonrectldgp $gp,0($26)L.42:ldq $26,0($sp)lda $sp,80($sp)ret.end makerect.globl ptinrect.text.ent ptinrectptinrect:ldgp $gp,0($27)lda $sp,-80($sp).mask 0x4004000,-72.frame $sp,80,$26,48stq $14,0($sp)stq $26,8($sp)stq $16,32($sp)stq $17,40($sp)stq $18,48($sp).prologue 1ldl $27,-48+80($sp)ldl $25,-40+80($sp)cmplt $27,$25,$23bne $23,L.53ldl $25,-32+80($sp)cmplt $27,$25,$23beq $23,L.53ldl $27,-44+80($sp)ldl $25,-36+80($sp)cmplt $27,$25,$23bne $23,L.53ldl $27,-44+80($sp)ldl $25,-28+80($sp)cmplt $27,$25,$23beq $23,L.53lda $14,1br L.54L.53:mov $31,$14L.54:mov $14,$0L.45:ldq $14,0($sp)ldq $26,8($sp)lda $sp,80($sp)ret.end ptinrect.sdata.globl y.align 0y:.byte 97.byte 98.byte 0.globl odd.text.text.ent oddodd:ldgp $gp,0($27)lda $sp,-80($sp).mask 0x4000000,-80.frame $sp,80,$26,48stq $26,0($sp)stq $16,32($sp).prologue 1lda $27,-59+80($sp)lda $1,-48+80($sp)ldb $4,0($1)ldb $2,1($1)stb $4,0($27)stb $2,1($27)ldb $4,2($1)stb $4,2($27)lda $16,L.56lda $17,-59+80($sp)jsr $26,printfldgp $gp,0($26)mov $31,$0L.55:ldq $26,0($sp)lda $sp,80($sp)ret.end odd.rdata.align 2L.58:.long 0x0.long 0x0.align 2L.59:.long 0x140.long 0x140.align 2L.60:.long 0xffffffff.long 0xffffffff.long 0x1.long 0x1.long 0x14.long 0x12c.long 0x1f4.long 0x190.globl main.text.text.ent mainmain:ldgp $gp,0($27)lda $sp,-176($sp).mask 0x4004000,-168.frame $sp,176,$26,48stq $14,0($sp)stq $26,8($sp).prologue 1lda $27,-120+176($sp)lda $1,L.58ldl $4,0($1)ldl $2,4($1)stl $4,0($27)stl $2,4($27)lda $27,-128+176($sp)lda $1,L.59ldl $4,0($1)ldl $2,4($1)stl $4,0($27)stl $2,4($27)lda $27,-88+176($sp)lda $1,L.60addq $1,32,$1addq $27,32,$3L.76:addq $1,-8,$1addq $3,-8,$3ldl $4,0($1)ldl $2,4($1)stl $4,0($3)stl $2,4($3)cmpult $27,$3,$23bne $23,L.76lda $16,-136+176($sp)lda $27,-10mov $27,$17mov $27,$18jsr $26,makepointldgp $gp,0($26)lda $16,-144+176($sp)lda $1,-128+176($sp)uldq $17,0($1)lda $1,-136+176($sp)uldq $18,0($1)jsr $26,addpointldgp $gp,0($26)lda $16,-152+176($sp)lda $27,10mov $27,$17mov $27,$18jsr $26,makepointldgp $gp,0($26)lda $16,-160+176($sp)lda $1,-120+176($sp)uldq $17,0($1)lda $1,-152+176($sp)uldq $18,0($1)jsr $26,addpointldgp $gp,0($26)lda $16,-104+176($sp)lda $1,-144+176($sp)uldq $17,0($1)lda $1,-160+176($sp)uldq $18,0($1)jsr $26,makerectldgp $gp,0($26)mov $31,$14br L.64L.61:lda $16,-112+176($sp)sll $14,8*(8-4),$27sra $27,8*(8-4),$27sll $27,3,$27lda $25,-88+176($sp)addq $27,$25,$25ldl $17,($25)lda $25,-84+176($sp)addq $27,$25,$27ldl $18,($27)jsr $26,makepointldgp $gp,0($26)lda $16,L.65sll $14,8*(8-4),$27sra $27,8*(8-4),$27sll $27,3,$27lda $25,-88+176($sp)addq $27,$25,$27ldl $17,($27)ldl $18,-108+176($sp)jsr $26,printfldgp $gp,0($26)lda $1,-112+176($sp)uldq $16,0($1)lda $1,-104+176($sp)uldq $17,0($1)uldq $18,8($1)jsr $26,ptinrectldgp $gp,0($26)cmpeq $0,$31,$23beq $23,L.68lda $16,L.70jsr $26,printfldgp $gp,0($26)L.68:lda $16,L.71ldl $17,-104+176($sp)ldl $18,-100+176($sp)ldl $19,-96+176($sp)ldl $20,-92+176($sp)jsr $26,printfldgp $gp,0($26)L.62:lda $14,1($14)L.64:mov $14,$27lda $25,4cmpult $27,$25,$23bne $23,L.61lda $1,yuldq $16,0($1)jsr $26,oddldgp $gp,0($26)mov $31,$16jsr $26,exitldgp $gp,0($26)mov $31,$0L.57:ldq $14,0($sp)ldq $26,8($sp)lda $sp,176($sp)ret.end main.rdata.align 0L.71:.byte 119.byte 105.byte 116.byte 104.byte 105.byte 110.byte 32.byte 91.byte 37.byte 100.byte 44.byte 37.byte 100.byte 59.byte 32.byte 37.byte 100.byte 44.byte 37.byte 100.byte 93.byte 10.byte 0.align 0L.70:.byte 110.byte 111.byte 116.byte 32.byte 0.align 0L.65:.byte 40.byte 37.byte 100.byte 44.byte 37.byte 100.byte 41.byte 32.byte 105.byte 115.byte 32.byte 0.align 0L.56:.byte 37.byte 115.byte 10.byte 0
