On 01/06/2014 05:11 AM, Peter Maydell wrote:
> Refactor the code in various functions which calculates rounding
> increments given the current rounding mode, so that instead of a
> set of nested if statements we have a simple switch statement.
> This will give us a clean place to add the case for the new
> tiesAway rounding mode.
> 
> Signed-off-by: Peter Maydell <peter.mayd...@linaro.org>
> ---
>  fpu/softfloat.c | 405 
> +++++++++++++++++++++++++++++++++-----------------------
>  1 file changed, 241 insertions(+), 164 deletions(-)

Reviewed-by: Richard Henderson <r...@twiddle.net>


r~

Reply via email to