diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-25 00:29:50 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 15:11:14 +0200 |
commit | dfbf42b844a5f307bd66716da65f01be9107bc0b (patch) | |
tree | 99da96f3c2faeb7ec202c681fe98d3a1f8f8ce40 /arch/mips/math-emu/sp_flong.c | |
parent | MIPS: math-emu: Remove unused ieee754sp_bestnan() and ieee754dp_bestnan(). (diff) | |
download | linux-dfbf42b844a5f307bd66716da65f01be9107bc0b.tar.xz linux-dfbf42b844a5f307bd66716da65f01be9107bc0b.zip |
MIPS: math-emu: Remove unused code.
Shrinks the FPU emulator by 4528 bytes.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu/sp_flong.c')
-rw-r--r-- | arch/mips/math-emu/sp_flong.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/mips/math-emu/sp_flong.c b/arch/mips/math-emu/sp_flong.c index 65c7e7e67b60..b26c155cc3e6 100644 --- a/arch/mips/math-emu/sp_flong.c +++ b/arch/mips/math-emu/sp_flong.c @@ -67,12 +67,3 @@ union ieee754sp ieee754sp_flong(s64 x) } SPNORMRET1(xs, xe, xm, "sp_flong", x); } - - -union ieee754sp ieee754sp_fulong(u64 u) -{ - if ((s64) u < 0) - return ieee754sp_add(ieee754sp_1e63(), - ieee754sp_flong(u & ~(1ULL << 63))); - return ieee754sp_flong(u); -} |