Browse Source

mips64: Fixed numpy CI failure

tags/v0.3.28^2
gxw 2 years ago
parent
commit
34b80ce03f
1 changed files with 5 additions and 4 deletions
  1. +5
    -4
      kernel/mips64/scal.S

+ 5
- 4
kernel/mips64/scal.S View File

@@ -48,6 +48,7 @@
#define TEMP $3 #define TEMP $3


#define XX $5 #define XX $5
#define DUMMY2 $6


#define ALPHA $f15 #define ALPHA $f15


@@ -73,13 +74,13 @@
blez N, .L999 blez N, .L999
dsll INCX, INCX, BASE_SHIFT dsll INCX, INCX, BASE_SHIFT


CMPEQ $fcc0, ALPHA, a1
NOP
CMPEQ $fcc0, ALPHA, a1
LDARG DUMMY2, 8($sp)


bc1f $fcc0, .L50 bc1f $fcc0, .L50
NOP
dsll DUMMY2, DUMMY2, BASE_SHIFT


bc1t $fcc0, .L50
beq DUMMY2, TEMP, .L50 // If dummy2 == 1, do not directly copy 0
NOP NOP


bne INCX, TEMP, .L20 bne INCX, TEMP, .L20


Loading…
Cancel
Save