diff options
Diffstat (limited to 'sysdeps/loongarch/__longjmp.S')
-rw-r--r-- | sysdeps/loongarch/__longjmp.S | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/loongarch/__longjmp.S b/sysdeps/loongarch/__longjmp.S index 4207376f5e..d6a99fcbc8 100644 --- a/sysdeps/loongarch/__longjmp.S +++ b/sysdeps/loongarch/__longjmp.S @@ -41,6 +41,7 @@ ENTRY (__longjmp) REG_L s7, a0, 11*SZREG REG_L s8, a0, 12*SZREG +#ifndef __loongarch_soft_float FREG_L $f24, a0, 13*SZREG + 0*SZFREG FREG_L $f25, a0, 13*SZREG + 1*SZFREG FREG_L $f26, a0, 13*SZREG + 2*SZFREG @@ -49,6 +50,7 @@ ENTRY (__longjmp) FREG_L $f29, a0, 13*SZREG + 5*SZFREG FREG_L $f30, a0, 13*SZREG + 6*SZFREG FREG_L $f31, a0, 13*SZREG + 7*SZFREG +#endif sltui a0,a1,1 ADD a0, a0, a1 # a0 = (a1 == 0) ? 1 : a1 |