diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2014-04-19 17:01:34 -0400 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2014-05-23 09:11:12 -0400 |
commit | 08f1faa02ae5e513b10d6e44967a22dc20307158 (patch) | |
tree | 10cf169e66f69431ff61bde1e43546d16ca274c6 /arch/mips/math-emu/dp_fint.c | |
parent | e812a73932dc0b294c30858ba215305b81391c3c (diff) |
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/dp_fint.c')
-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 fa75f5dd5587..4b5ee799b4a4 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) | |||
51 | xm = x; | 51 | xm = x; |
52 | } | 52 | } |
53 | 53 | ||
54 | #if 1 | ||
55 | /* normalize - result can never be inexact or overflow */ | 54 | /* normalize - result can never be inexact or overflow */ |
56 | xe = DP_MBITS; | 55 | xe = DP_MBITS; |
57 | while ((xm >> DP_MBITS) == 0) { | 56 | while ((xm >> DP_MBITS) == 0) { |
@@ -59,15 +58,6 @@ union ieee754dp ieee754dp_fint(int x) | |||
59 | xe--; | 58 | xe--; |
60 | } | 59 | } |
61 | return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); | 60 | return builddp(xs, xe + DP_EBIAS, xm & ~DP_HIDDEN_BIT); |
62 | #else | ||
63 | /* normalize */ | ||
64 | xe = DP_MBITS + 3; | ||
65 | while ((xm >> (DP_MBITS + 3)) == 0) { | ||
66 | xm <<= 1; | ||
67 | xe--; | ||
68 | } | ||
69 | DPNORMRET1(xs, xe, xm, "fint", x); | ||
70 | #endif | ||
71 | } | 61 | } |
72 | 62 | ||
73 | union ieee754dp ieee754dp_funs(unsigned int u) | 63 | union ieee754dp ieee754dp_funs(unsigned int u) |