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-08 19:07:22 +0000 |
commit | dc355b764de890e1b5872d0b402dccfd9a9b5286 (patch) | |
tree | 4aa85328708f90d546e9d1fdf324d27725a1477f /target-cris | |
parent | 14c9a07eb9cae3d3bc1d39cc8815dd88337ce07a (diff) |
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 'target-cris')
0 files changed, 0 insertions, 0 deletions