diff options
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) | |||
110 | else | 110 | else |
111 | return xm; | 111 | return xm; |
112 | } | 112 | } |
113 | |||
114 | |||
115 | u64 ieee754dp_tulong(union ieee754dp x) | ||
116 | { | ||
117 | union ieee754dp hb = ieee754dp_1e63(); | ||
118 | |||
119 | /* what if x < 0 ?? */ | ||
120 | if (ieee754dp_lt(x, hb)) | ||
121 | return (u64) ieee754dp_tlong(x); | ||
122 | |||
123 | return (u64) ieee754dp_tlong(ieee754dp_sub(x, hb)) | | ||
124 | (1ULL << 63); | ||
125 | } | ||