summaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/sp_tlong.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-25 00:29:50 +0200
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 15:11:14 +0200
commitdfbf42b844a5f307bd66716da65f01be9107bc0b (patch)
tree99da96f3c2faeb7ec202c681fe98d3a1f8f8ce40 /arch/mips/math-emu/sp_tlong.c
parent1bc3320d954183031bd3dc1dac36858c3c96e0b3 (diff)
downloadlinux-0-day-dfbf42b844a5f307bd66716da65f01be9107bc0b.tar.gz
linux-0-day-dfbf42b844a5f307bd66716da65f01be9107bc0b.tar.xz
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_tlong.c')
-rw-r--r--arch/mips/math-emu/sp_tlong.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/math-emu/sp_tlong.c b/arch/mips/math-emu/sp_tlong.c
index e979aa757079d..346cbad4a1aef 100644
--- a/arch/mips/math-emu/sp_tlong.c
+++ b/arch/mips/math-emu/sp_tlong.c
@@ -107,16 +107,3 @@ s64 ieee754sp_tlong(union ieee754sp x)
else
return xm;
}
-
-
-u64 ieee754sp_tulong(union ieee754sp x)
-{
- union ieee754sp hb = ieee754sp_1e63();
-
- /* what if x < 0 ?? */
- if (ieee754sp_lt(x, hb))
- return (u64) ieee754sp_tlong(x);
-
- return (u64) ieee754sp_tlong(ieee754sp_sub(x, hb)) |
- (1ULL << 63);
-}