diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-25 02:29:50 +0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 17:11:14 +0400 |
commit | dfbf42b844a5f307bd66716da65f01be9107bc0b (patch) | |
tree | 99da96f3c2faeb7ec202c681fe98d3a1f8f8ce40 /arch/mips/math-emu/dp_tlong.c | |
parent | 1bc3320d954183031bd3dc1dac36858c3c96e0b3 (diff) | |
download | linux-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/dp_tlong.c')
-rw-r--r-- | arch/mips/math-emu/dp_tlong.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/math-emu/dp_tlong.c b/arch/mips/math-emu/dp_tlong.c index 2653b6eac689..b9a43a2d4b36 100644 --- a/arch/mips/math-emu/dp_tlong.c +++ b/arch/mips/math-emu/dp_tlong.c @@ -110,16 +110,3 @@ s64 ieee754dp_tlong(union ieee754dp x) else return xm; } - - -u64 ieee754dp_tulong(union ieee754dp x) -{ - union ieee754dp hb = ieee754dp_1e63(); - - /* what if x < 0 ?? */ - if (ieee754dp_lt(x, hb)) - return (u64) ieee754dp_tlong(x); - - return (u64) ieee754dp_tlong(ieee754dp_sub(x, hb)) | - (1ULL << 63); -} |