summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/dp_tlong.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/math-emu/dp_tlong.c')
-rw-r--r--arch/mips/math-emu/dp_tlong.c13
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);
-}