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