diff options
| author | Peter Maydell | 2014-01-07 18:19:12 +0100 |
|---|---|---|
| committer | Peter Maydell | 2014-01-08 20:07:22 +0100 |
| commit | dc355b764de890e1b5872d0b402dccfd9a9b5286 (patch) | |
| tree | 4aa85328708f90d546e9d1fdf324d27725a1477f /include/fpu | |
| parent | softfloat: Add float16 <=> float64 conversion functions (diff) | |
| download | qemu-dc355b764de890e1b5872d0b402dccfd9a9b5286.tar.gz qemu-dc355b764de890e1b5872d0b402dccfd9a9b5286.tar.xz qemu-dc355b764de890e1b5872d0b402dccfd9a9b5286.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 'include/fpu')
0 files changed, 0 insertions, 0 deletions
