mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-10 23:29:46 +00:00
MIPS: math-emu: Remove #if 1 and dead code from its #else branch.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
e812a73932
commit
08f1faa02a
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user