Displaying 1 result from an estimated 1 matches for "c6963c4".
Did you mean:
696344
2015 Apr 23
0
[PATCH] mips: setjmp: allow working with fpxx/fp64 abi
...mips.com/wiki/MIPS_O32_ABI_-_FR0_and_FR1_Interlinking
Signed-off-by: James Cowgill <james410 at cowgill.org.uk>
---
usr/klibc/arch/mips/setjmp.S | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/usr/klibc/arch/mips/setjmp.S b/usr/klibc/arch/mips/setjmp.S
index 68eed19..c6963c4 100644
--- a/usr/klibc/arch/mips/setjmp.S
+++ b/usr/klibc/arch/mips/setjmp.S
@@ -29,6 +29,14 @@ LEAF(setjmp)
sw s8, 40(a0)
sw ra, 44(a0)
cfc1 t0,$31
+#if __mips_fpr == 0 || __mips_fpr == 64
+ sdc1 $f20,48(a0)
+ sdc1 $f22,56(a0)
+ sdc1 $f24,64(a0)
+ sdc1 $f26,72(a0)
+ sdc1 $f28,80(a0)
+ sdc1 $...