Commit 0f8f303b by Marius Cornea Committed by H.J. Lu

Remove redundant tests

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

From-SVN: r212942
parent c9719148
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> 2014-06-10 Uros Bizjak <ubizjak@gmail.com>
* bid128_div.c (BID128_FUNCTION_ARG2): Remove unused variable 'Ql'. * bid128_div.c (BID128_FUNCTION_ARG2): Remove unused variable 'Ql'.
......
...@@ -93,10 +93,8 @@ rounding_correction (unsigned int rnd_mode, ...@@ -93,10 +93,8 @@ rounding_correction (unsigned int rnd_mode,
// exp = exp - EXP_P1; // exp = exp - EXP_P1;
unbexp = unbexp - 1; unbexp = unbexp - 1;
exp = (UINT64) (unbexp + 6176) << 49; exp = (UINT64) (unbexp + 6176) << 49;
} else { // if exp = 0 } else { // if exp = 0 the result is tiny & inexact
if (is_midpoint_lt_even || is_midpoint_lt_even || *ptrfpsf |= UNDERFLOW_EXCEPTION;
is_inexact_gt_midpoint || is_inexact_gt_midpoint) // tiny & inexact
*ptrfpsf |= UNDERFLOW_EXCEPTION;
} }
} }
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment