|
@@ -19,6 +19,9 @@
|
|
#include <asm/asmmacro-64.h>
|
|
#include <asm/asmmacro-64.h>
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
+/* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */
|
|
|
|
+#undef fp
|
|
|
|
+
|
|
/*
|
|
/*
|
|
* Helper macros for generating raw instruction encodings.
|
|
* Helper macros for generating raw instruction encodings.
|
|
*/
|
|
*/
|
|
@@ -105,6 +108,7 @@
|
|
.macro fpu_save_16odd thread
|
|
.macro fpu_save_16odd thread
|
|
.set push
|
|
.set push
|
|
.set mips64r2
|
|
.set mips64r2
|
|
|
|
+ .set fp=64
|
|
SET_HARDFLOAT
|
|
SET_HARDFLOAT
|
|
sdc1 $f1, THREAD_FPR1(\thread)
|
|
sdc1 $f1, THREAD_FPR1(\thread)
|
|
sdc1 $f3, THREAD_FPR3(\thread)
|
|
sdc1 $f3, THREAD_FPR3(\thread)
|
|
@@ -163,6 +167,7 @@
|
|
.macro fpu_restore_16odd thread
|
|
.macro fpu_restore_16odd thread
|
|
.set push
|
|
.set push
|
|
.set mips64r2
|
|
.set mips64r2
|
|
|
|
+ .set fp=64
|
|
SET_HARDFLOAT
|
|
SET_HARDFLOAT
|
|
ldc1 $f1, THREAD_FPR1(\thread)
|
|
ldc1 $f1, THREAD_FPR1(\thread)
|
|
ldc1 $f3, THREAD_FPR3(\thread)
|
|
ldc1 $f3, THREAD_FPR3(\thread)
|
|
@@ -234,9 +239,6 @@
|
|
.endm
|
|
.endm
|
|
|
|
|
|
#ifdef TOOLCHAIN_SUPPORTS_MSA
|
|
#ifdef TOOLCHAIN_SUPPORTS_MSA
|
|
-/* preprocessor replaces the fp in ".set fp=64" with $30 otherwise */
|
|
|
|
-#undef fp
|
|
|
|
-
|
|
|
|
.macro _cfcmsa rd, cs
|
|
.macro _cfcmsa rd, cs
|
|
.set push
|
|
.set push
|
|
.set mips32r2
|
|
.set mips32r2
|