Browse Source

register push/pop command change

64bit push/pop register command should be used. Otherwise, data will lost.
tags/v0.3.4
fengrl GitHub 7 years ago
parent
commit
2d8064174c
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 18 deletions
  1. +18
    -18
      kernel/mips64/sgemm_kernel_8x4_ps.S

+ 18
- 18
kernel/mips64/sgemm_kernel_8x4_ps.S View File

@@ -146,11 +146,11 @@
sd $21, 40($sp)
sd $22, 48($sp)

ST $f24, 56($sp)
ST $f25, 64($sp)
ST $f26, 72($sp)
ST $f27, 80($sp)
ST $f28, 88($sp)
sdc1 $f24, 56($sp)
sdc1 $f25, 64($sp)
sdc1 $f26, 72($sp)
sdc1 $f27, 80($sp)
sdc1 $f28, 88($sp)

#if defined(TRMMKERNEL)
sd $23, 96($sp)
@@ -161,10 +161,10 @@
#endif

#ifndef __64BIT__
ST $f20,120($sp)
ST $f21,128($sp)
ST $f22,136($sp)
ST $f23,144($sp)
sdc1 $f20,120($sp)
sdc1 $f21,128($sp)
sdc1 $f22,136($sp)
sdc1 $f23,144($sp)
#endif

.align 4
@@ -7766,11 +7766,11 @@
ld $21, 40($sp)
ld $22, 48($sp)

LD $f24, 56($sp)
LD $f25, 64($sp)
LD $f26, 72($sp)
LD $f27, 80($sp)
LD $f28, 88($sp)
ldc1 $f24, 56($sp)
ldc1 $f25, 64($sp)
ldc1 $f26, 72($sp)
ldc1 $f27, 80($sp)
ldc1 $f28, 88($sp)

#if defined(TRMMKERNEL)
ld $23, 96($sp)
@@ -7779,10 +7779,10 @@
#endif

#ifndef __64BIT__
LD $f20,120($sp)
LD $f21,128($sp)
LD $f22,136($sp)
LD $f23,144($sp)
ldc1 $f20,120($sp)
ldc1 $f21,128($sp)
ldc1 $f22,136($sp)
ldc1 $f23,144($sp)
#endif

daddiu $sp,$sp,STACKSIZE


Loading…
Cancel
Save