summaryrefslogtreecommitdiff
path: root/arch/mips/math-emu/sp_tint.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/mips/math-emu/sp_tint.c')
-rw-r--r--arch/mips/math-emu/sp_tint.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/math-emu/sp_tint.c b/arch/mips/math-emu/sp_tint.c
index 709f6bcd490b..690cb5b4cfa8 100644
--- a/arch/mips/math-emu/sp_tint.c
+++ b/arch/mips/math-emu/sp_tint.c
@@ -110,16 +110,3 @@ int ieee754sp_tint(union ieee754sp x)
else
return xm;
}
-
-
-unsigned int ieee754sp_tuns(union ieee754sp x)
-{
- union ieee754sp hb = ieee754sp_1e31();
-
- /* what if x < 0 ?? */
- if (ieee754sp_lt(x, hb))
- return (unsigned) ieee754sp_tint(x);
-
- return (unsigned) ieee754sp_tint(ieee754sp_sub(x, hb)) |
- ((unsigned) 1 << 31);
-}