diff options
Diffstat (limited to 'src/fenv/mips')
-rw-r--r-- | src/fenv/mips/fenv-sf.c | 3 | ||||
-rw-r--r-- | src/fenv/mips/fenv.S (renamed from src/fenv/mips/fenv.s) | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/fenv/mips/fenv-sf.c b/src/fenv/mips/fenv-sf.c new file mode 100644 index 00000000..4aa3dbf1 --- /dev/null +++ b/src/fenv/mips/fenv-sf.c @@ -0,0 +1,3 @@ +#ifdef __mips_soft_float +#include "../fenv.c" +#endif diff --git a/src/fenv/mips/fenv.s b/src/fenv/mips/fenv.S index 62828212..a5cb1f58 100644 --- a/src/fenv/mips/fenv.s +++ b/src/fenv/mips/fenv.S @@ -1,3 +1,5 @@ +#ifndef __mips_soft_float + .set noreorder .global feclearexcept @@ -65,3 +67,5 @@ fesetenv: 1: ctc1 $5, $31 jr $ra li $2, 0 + +#endif |