diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2018-04-16 16:53:28 -1000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2018-04-17 14:52:38 +0100 |
commit | ce8d4082054519f2eaac39958edde502860a7fc6 (patch) | |
tree | 67a7121204daef2a5b8fac2ce6145c72ac3739f1 /version.rc | |
parent | 1b2503fcf7b5932c5a3779ca2ceb92bd403c4ee7 (diff) |
fpu: Bound increment for scalbn
Without bounding the increment, we can overflow exp either here
in scalbn_decomposed or when adding the bias in round_canonical.
This can result in e.g. underflowing to 0 instead of overflowing
to infinity.
The old softfloat code did bound the increment.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'version.rc')
0 files changed, 0 insertions, 0 deletions