|
From: | Richard Henderson |
Subject: | Re: [Qemu-devel] [PATCH v2 15/24] softfloat: Refactor code handling various rounding modes |
Date: | Mon, 06 Jan 2014 10:34:55 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 |
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 <address@hidden> > --- > fpu/softfloat.c | 405 > +++++++++++++++++++++++++++++++++----------------------- > 1 file changed, 241 insertions(+), 164 deletions(-) Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |