We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 68f83c8 commit 404a1f3Copy full SHA for 404a1f3
kernel/mips64/scal.S
@@ -39,15 +39,16 @@
39
#define ASSEMBLER
40
#include "common.h"
41
42
-#define N $4
+#define N $4
43
44
-#define X $8
+#define X $8
45
#define INCX $9
46
47
-#define I $2
+#define I $2
48
#define TEMP $3
49
50
-#define XX $5
+#define XX $5
51
+#define DUMMY2 $6
52
53
#define ALPHA $f15
54
@@ -73,14 +74,14 @@
73
74
blez N, .L999
75
dsll INCX, INCX, BASE_SHIFT
76
- CMPEQ $fcc0, ALPHA, a1
77
- NOP
+ CMPEQ $fcc0, ALPHA, a1
78
+ LDARG DUMMY2, 8($sp)
79
- bc1f $fcc0, .L50
80
+ bc1f $fcc0, .L50
81
+ dsll DUMMY2, DUMMY2, BASE_SHIFT
82
- bc1t $fcc0, .L50
83
+ beq DUMMY2, TEMP, .L50 // If dummy2 == 1, do not directly copy 0
84
+ NOP
85
86
bne INCX, TEMP, .L20
87
dsra I, N, 3
0 commit comments