summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/dp_flong.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/dp_flong.c
parent1bc3320d954183031bd3dc1dac36858c3c96e0b3 (diff)
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/dp_flong.c')
-rw-r--r--arch/mips/math-emu/dp_flong.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/math-emu/dp_flong.c b/arch/mips/math-emu/dp_flong.c
index 915072d82c20..fb5eeaadf253 100644
--- a/arch/mips/math-emu/dp_flong.c
+++ b/arch/mips/math-emu/dp_flong.c
@@ -67,11 +67,3 @@ union ieee754dp ieee754dp_flong(s64 x)
}
DPNORMRET1(xs, xe, xm, "dp_flong", x);
}
-
-union ieee754dp ieee754dp_fulong(u64 u)
-{
- if ((s64) u < 0)
- return ieee754dp_add(ieee754dp_1e63(),
- ieee754dp_flong(u & ~(1ULL << 63)));
- return ieee754dp_flong(u);
-}