projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e812a73
)
MIPS: math-emu: Remove #if 1 and dead code from its #else branch.
author
Ralf Baechle
<ralf@linux-mips.org>
Sat, 19 Apr 2014 21:01:34 +0000
(23:01 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Fri, 23 May 2014 13:11:12 +0000
(15:11 +0200)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/math-emu/dp_fint.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/math-emu/dp_fint.c
b/arch/mips/math-emu/dp_fint.c
index fa75f5dd5587bf2383121cce910300d87ad119ad..4b5ee799b4a44499506c24855a3902edd3d55493 100644
(file)
--- 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)