register push/pop command change
64bit push/pop register command should be used. Otherwise, data will lost.
This commit is contained in:
parent
76a66eaac8
commit
2d8064174c
|
@ -146,11 +146,11 @@
|
||||||
sd $21, 40($sp)
|
sd $21, 40($sp)
|
||||||
sd $22, 48($sp)
|
sd $22, 48($sp)
|
||||||
|
|
||||||
ST $f24, 56($sp)
|
sdc1 $f24, 56($sp)
|
||||||
ST $f25, 64($sp)
|
sdc1 $f25, 64($sp)
|
||||||
ST $f26, 72($sp)
|
sdc1 $f26, 72($sp)
|
||||||
ST $f27, 80($sp)
|
sdc1 $f27, 80($sp)
|
||||||
ST $f28, 88($sp)
|
sdc1 $f28, 88($sp)
|
||||||
|
|
||||||
#if defined(TRMMKERNEL)
|
#if defined(TRMMKERNEL)
|
||||||
sd $23, 96($sp)
|
sd $23, 96($sp)
|
||||||
|
@ -161,10 +161,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __64BIT__
|
#ifndef __64BIT__
|
||||||
ST $f20,120($sp)
|
sdc1 $f20,120($sp)
|
||||||
ST $f21,128($sp)
|
sdc1 $f21,128($sp)
|
||||||
ST $f22,136($sp)
|
sdc1 $f22,136($sp)
|
||||||
ST $f23,144($sp)
|
sdc1 $f23,144($sp)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
.align 4
|
.align 4
|
||||||
|
@ -7766,11 +7766,11 @@
|
||||||
ld $21, 40($sp)
|
ld $21, 40($sp)
|
||||||
ld $22, 48($sp)
|
ld $22, 48($sp)
|
||||||
|
|
||||||
LD $f24, 56($sp)
|
ldc1 $f24, 56($sp)
|
||||||
LD $f25, 64($sp)
|
ldc1 $f25, 64($sp)
|
||||||
LD $f26, 72($sp)
|
ldc1 $f26, 72($sp)
|
||||||
LD $f27, 80($sp)
|
ldc1 $f27, 80($sp)
|
||||||
LD $f28, 88($sp)
|
ldc1 $f28, 88($sp)
|
||||||
|
|
||||||
#if defined(TRMMKERNEL)
|
#if defined(TRMMKERNEL)
|
||||||
ld $23, 96($sp)
|
ld $23, 96($sp)
|
||||||
|
@ -7779,10 +7779,10 @@
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __64BIT__
|
#ifndef __64BIT__
|
||||||
LD $f20,120($sp)
|
ldc1 $f20,120($sp)
|
||||||
LD $f21,128($sp)
|
ldc1 $f21,128($sp)
|
||||||
LD $f22,136($sp)
|
ldc1 $f22,136($sp)
|
||||||
LD $f23,144($sp)
|
ldc1 $f23,144($sp)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
daddiu $sp,$sp,STACKSIZE
|
daddiu $sp,$sp,STACKSIZE
|
||||||
|
|
Loading…
Reference in New Issue