diff options
author | Rich Felker <dalias@aerifal.cx> | 2016-01-20 02:07:59 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2016-01-20 02:07:59 +0000 |
commit | af21a82ccc8687aa16e85def7db95efeae4cf72e (patch) | |
tree | 6b34bd5b507fe4076ce3c3f4556cad3d860a2a95 /src/fenv/mips | |
parent | 4b9a08f29303661e9680fc1ee1569daa25df7d50 (diff) | |
download | musl-af21a82ccc8687aa16e85def7db95efeae4cf72e.tar.gz musl-af21a82ccc8687aa16e85def7db95efeae4cf72e.tar.bz2 musl-af21a82ccc8687aa16e85def7db95efeae4cf72e.tar.xz musl-af21a82ccc8687aa16e85def7db95efeae4cf72e.zip |
switch arm, sh, and mips fenv asm from .sub system to .S files
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 |