aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/math-emu/dp_fint.c
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2014-04-24 18:29:50 -0400
committerRalf Baechle <ralf@linux-mips.org>2014-05-23 09:11:14 -0400
commitdfbf42b844a5f307bd66716da65f01be9107bc0b (patch)
tree99da96f3c2faeb7ec202c681fe98d3a1f8f8ce40 /arch/mips/math-emu/dp_fint.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_fint.c')
-rw-r--r--arch/mips/math-emu/dp_fint.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/math-emu/dp_fint.c b/arch/mips/math-emu/dp_fint.c
index 196a010ff09d..98b9d6a14027 100644
--- a/arch/mips/math-emu/dp_fint.c
+++ b/arch/mips/math-emu/dp_fint.c
@@ -59,11 +59,3 @@ union ieee754dp ieee754dp_fint(int x)
59 } 59 }
60 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); 60 return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT);
61} 61}
62
63union ieee754dp ieee754dp_funs(unsigned int u)
64{
65 if ((int) u < 0)
66 return ieee754dp_add(ieee754dp_1e31(),
67 ieee754dp_fint(u & ~(1 << 31)));
68 return ieee754dp_fint(u);
69}