diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-19 21:01:34 (GMT) |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 13:11:12 (GMT) |
commit | 08f1faa02ae5e513b10d6e44967a22dc20307158 (patch) | |
tree | 10cf169e66f69431ff61bde1e43546d16ca274c6 /arch/mips/math-emu | |
parent | e812a73932dc0b294c30858ba215305b81391c3c (diff) | |
download | linux-08f1faa02ae5e513b10d6e44967a22dc20307158.tar.xz |
MIPS: math-emu: Remove #if 1 and dead code from its #else branch.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/math-emu')
-rw-r--r-- | arch/mips/math-emu/dp_fint.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/mips/math-emu/dp_fint.c b/arch/mips/math-emu/dp_fint.c index fa75f5d..4b5ee79 100644 --- a/arch/mips/math-emu/dp_fint.c +++ b/arch/mips/math-emu/dp_fint.c @@ -51,7 +51,6 @@ union ieee754dp ieee754dp_fint(int x) xm = x; } -#if 1 /* normalize - result can never be inexact or overflow */ xe = DP_MBITS; while ((xm >> DP_MBITS) == 0) { @@ -59,15 +58,6 @@ union ieee754dp ieee754dp_fint(int x) xe--; } return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); -#else - /* normalize */ - xe = DP_MBITS + 3; - while ((xm >> (DP_MBITS + 3)) == 0) { - xm <<= 1; - xe--; - } - DPNORMRET1(xs, xe, xm, "fint", x); -#endif } union ieee754dp ieee754dp_funs(unsigned int u) |