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 bb20c33 commit 3d0bdf4Copy full SHA for 3d0bdf4
libcpu/mips/common/stackframe.h
@@ -22,7 +22,9 @@
22
#ifdef RT_USING_FPU
23
/* Ensure CU1 (FPU) is enabled */
24
MFC0 v1, CP0_STATUS
25
- ori v1, ST0_CU1
+ lui t1, %hi(ST0_CU1)
26
+ addiu t1, t1, %lo(ST0_CU1)
27
+ or v1, v1, t1
28
MTC0 v1, CP0_STATUS
29
SSNOP
30
cfc1 v1, fcr31
@@ -125,11 +127,13 @@
125
127
126
128
129
130
131
132
133
134
135
LONG_L v1, PT_FPU_FCSR31(sp)
- ctc1 v1, fcsr31
136
+ ctc1 v1, fcr31
137
l.d $f0, PT_FPU_R0(sp)
138
l.d $f2, PT_FPU_R2(sp)
139
l.d $f4, PT_FPU_R4(sp)
0 commit comments