diff options
| author | Peter Maydell <peter.maydell@linaro.org> | 2014-01-07 17:19:12 +0000 |
|---|---|---|
| committer | Peter Maydell <peter.maydell@linaro.org> | 2014-01-07 19:18:08 +0000 |
| commit | 01a0b83cdb1c29a0066cfee3445a34280b3ac03a (patch) | |
| tree | fdf22a99eab7e7207e58b359aa67f30cd62205e6 /util/qemu-progress.c | |
| parent | 7b378119bd67609f25bd78b714d0fab922600f40 (diff) | |
| download | focaccia-qemu-01a0b83cdb1c29a0066cfee3445a34280b3ac03a.tar.gz focaccia-qemu-01a0b83cdb1c29a0066cfee3445a34280b3ac03a.zip | |
softfloat: Refactor code handling various rounding modes
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.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'util/qemu-progress.c')
0 files changed, 0 insertions, 0 deletions