Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
chipmunk v7.0.0 error with gcc-mips v4.8.1
.set macro
.set reorder
.end SetVerts
.size SetVerts, .-SetVerts
.align 2
.set nomips16
.set nomicromips
.ent cpPolyShapePointQuery
.type cpPolyShapePointQuery, @function
cpPolyShapePointQuery:
.frame $sp,56,$31 # vars= 0, regs= 2/12, args= 0, gp= 0
.mask 0x00030000,-52
.fmask 0xfff00000,-8
.set noreorder
.cpload $25
.set nomacro
lw $12,168($4)
addiu $sp,$sp,-56
lw $5,172($4)
sw $16,0($sp)
sll $16,$12,5
addiu $16,$16,-32
sw $6,64($sp)
sw $7,68($sp)
addu $6,$5,$16
sw $17,4($sp)
sdc1 $f28,40($sp)
sdc1 $f22,16($sp)
ldc1 $f28,0($6)
lw $7,12($6)
sdc1 $f30,48($sp)
sdc1 $f26,32($sp)
sdc1 $f24,24($sp)
sdc1 $f20,8($sp)
lw $17,80($sp)
lw $9,68($sp)
lw $8,64($sp)
ldc1 $f22,72($sp)
lw $15,164($4)
lw $14,160($4)
blez $12,$L22
lw $6,8($6)
lw $12,%got($LC1)($28)
mtc1 $0,$f30
addiu $16,$16,32
ldc1 $f0,%lo($LC1)($12)
lw $12,%got($LC3)($28)
mtc1 $0,$f31
mfc1 $3,$f22
lw $13,%lo($LC3+4)($12)
lw $12,%lo($LC3)($12)
mfc1 $11,$f30
mfc1 $10,$f31
mov.d $f10,$f30
mov.d $f24,$f30
mov.d $f26,$f30
mfc1 $2,$f23
addu $16,$5,$16
move $24,$0
li $25,1 # 0x1
$L17:
mtc1 $9,$f4
ldc1 $f6,0($5)
mtc1 $8,$f5
mtc1 $7,$f12
sub.d $f8,$f28,$f6
sub.d $f22,$f4,$f6
ldc1 $f2,8($5)
mtc1 $6,$f13
mul.d $f18,$f8,$f8
sub.d $f4,$f12,$f2
mul.d $f20,$f8,$f22
mtc1 $3,$f12
ldc1 $f14,16($5)
mtc1 $2,$f13
mov.d $f28,$f6
sub.d $f16,$f12,$f2
madd.d $f18,$f18,$f4,$f4
mul.d $f22,$f22,$f14
ldc1 $f12,24($5)
madd.d $f20,$f20,$f4,$f16
mfc1 $7,$f2
mfc1 $6,$f3
addiu $5,$5,32
madd.d $f16,$f22,$f16,$f12
div.d $f18,$f20,$f18
c.le.d $fcc0,$f16,$f10
mtc1 $13,$f16
mtc1 $12,$f17
movz $24,$25,$fcc0
c.le.d $fcc1,$f18,$f16
movf.d $f18,$f16,$fcc1
c.le.d $fcc2,$f10,$f18
mtc1 $11,$f16
movf.d $f18,$f10,$fcc2
madd.d $f6,$f6,$f18,$f8
madd.d $f18,$f2,$f18,$f4
mtc1 $9,$f2
mtc1 $3,$f8
mtc1 $8,$f3
mtc1 $2,$f9
mtc1 $10,$f17
sub.d $f4,$f2,$f6
sub.d $f2,$f8,$f18
mul.d $f4,$f4,$f4
madd.d $f4,$f4,$f2,$f2
sqrt.d $f4,$f4
c.lt.d $fcc7,$f4,$f0
c.lt.d $fcc4,$f4,$f0
c.lt.d $fcc5,$f4,$f0
c.lt.d $fcc6,$f4,$f0
c.le.d $fcc3,$f0,$f4
movt.d $f16,$f12,$fcc7
movt.d $f26,$f6,$fcc4
movf.d $f0,$f4,$fcc3
movt.d $f24,$f18,$fcc5
movt.d $f30,$f14,$fcc6
mfc1 $11,$f16
bne $5,$16,$L17
mfc1 $10,$f17
mtc1 $3,$f22
beq $24,$0,$L18
mtc1 $2,$f23
mtc1 $13,$f4
mtc1 $9,$f8
mtc1 $12,$f5
mtc1 $8,$f9
div.d $f2,$f4,$f0
sub.d $f6,$f8,$f26
sub.d $f8,$f22,$f24
mtc1 $15,$f12
mov.d $f4,$f0
mtc1 $14,$f13
mul.d $f6,$f6,$f2
mul.d $f8,$f8,$f2
madd.d $f20,$f26,$f6,$f12
madd.d $f18,$f24,$f8,$f12
$L19:
lw $2,%got($LC5)($28)
mtc1 $15,$f16
sw $4,0($17)
mtc1 $14,$f17
ldc1 $f2,%lo($LC5)($2)
sub.d $f0,$f0,$f16
sdc1 $f20,8($17)
c.lt.d $fcc0,$f2,$f4
sdc1 $f18,16($17)
bc1t $fcc0,$L27
sdc1 $f0,24($17)
$L25:
mtc1 $11,$f22
mov.d $f0,$f30
mtc1 $10,$f23
sdc1 $f0,32($17)
sdc1 $f22,40($17)
lw $16,0($sp)
lw $17,4($sp)
ldc1 $f30,48($sp)
ldc1 $f28,40($sp)
ldc1 $f26,32($sp)
ldc1 $f24,24($sp)
ldc1 $f22,16($sp)
ldc1 $f20,8($sp)
j $31
addiu $sp,$sp,56
$L18:
mtc1 $13,$f4
neg.d $f2,$f0
mtc1 $12,$f5
mtc1 $9,$f16
div.d $f8,$f4,$f2
mtc1 $8,$f17
sub.d $f10,$f22,$f24
sub.d $f6,$f16,$f26
mtc1 $15,$f12
lw $2,%got($LC5)($28)
mtc1 $14,$f13
mtc1 $15,$f16
mov.d $f4,$f0
mtc1 $14,$f17
mov.d $f0,$f2
ldc1 $f2,%lo($LC5)($2)
sub.d $f0,$f0,$f16
sw $4,0($17)
c.lt.d $fcc0,$f2,$f4
sdc1 $f0,24($17)
mul.d $f6,$f6,$f8
mul.d $f8,$f10,$f8
madd.d $f20,$f26,$f6,$f12
madd.d $f18,$f24,$f8,$f12
sdc1 $f20,8($17)
bc1f $fcc0,$L25
sdc1 $f18,16($17)
$L27:
mov.d $f22,$f8
mov.d $f0,$f6
sdc1 $f22,40($17)
sdc1 $f0,32($17)
lw $16,0($sp)
lw $17,4($sp)
ldc1 $f30,48($sp)
ldc1 $f28,40($sp)
ldc1 $f26,32($sp)
ldc1 $f24,24($sp)
ldc1 $f22,16($sp)
ldc1 $f20,8($sp)
j $31
addiu $sp,$sp,56
$L22:
lw $2,%got($LC4)($28)
mtc1 $0,$f18
ldc1 $f8,%lo($LC4)($2)
lw $2,%got($LC0)($28)
mtc1 $0,$f19
mov.d $f6,$f8
ldc1 $f0,%lo($LC0)($2)
lw $2,%got($LC1)($28)
mov.d $f20,$f18
mov.d $f30,$f18
ldc1 $f4,%lo($LC1)($2)
mfc1 $11,$f18
b $L19
mfc1 $10,$f19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.