aboutsummaryrefslogtreecommitdiff
path: root/include/fpu
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2014-01-07 17:19:12 +0000
committerPeter Maydell <peter.maydell@linaro.org>2014-01-08 19:07:22 +0000
commitdc355b764de890e1b5872d0b402dccfd9a9b5286 (patch)
tree4aa85328708f90d546e9d1fdf324d27725a1477f /include/fpu
parent14c9a07eb9cae3d3bc1d39cc8815dd88337ce07a (diff)
downloadqemu-dc355b764de890e1b5872d0b402dccfd9a9b5286.zip
qemu-dc355b764de890e1b5872d0b402dccfd9a9b5286.tar.gz
qemu-dc355b764de890e1b5872d0b402dccfd9a9b5286.tar.bz2
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