Remove redundant tests

PR libgcc/61685
	* bid128_fma.c (rounding_correction): Remove redundant tests.

From-SVN: r212942
This commit is contained in:
Marius Cornea 2014-07-23 14:27:55 +00:00 committed by H.J. Lu
parent c971914821
commit 0f8f303baf
2 changed files with 7 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2014-07-23 Marius Cornea <marius.cornea@intel.com>
PR libgcc/61685
* bid128_fma.c (rounding_correction): Remove redundant tests.
2014-06-10 Uros Bizjak <ubizjak@gmail.com>
* bid128_div.c (BID128_FUNCTION_ARG2): Remove unused variable 'Ql'.

View File

@ -93,10 +93,8 @@ rounding_correction (unsigned int rnd_mode,
// exp = exp - EXP_P1;
unbexp = unbexp - 1;
exp = (UINT64) (unbexp + 6176) << 49;
} else { // if exp = 0
if (is_midpoint_lt_even || is_midpoint_lt_even ||
is_inexact_gt_midpoint || is_inexact_gt_midpoint) // tiny & inexact
*ptrfpsf |= UNDERFLOW_EXCEPTION;
} else { // if exp = 0 the result is tiny & inexact
*ptrfpsf |= UNDERFLOW_EXCEPTION;
}
}
} else {