[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] ce8d40: fpu: Bound increment for scalbn
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] ce8d40: fpu: Bound increment for scalbn |
Date: |
Tue, 17 Apr 2018 06:52:54 -0700 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: ce8d4082054519f2eaac39958edde502860a7fc6
https://github.com/qemu/qemu/commit/ce8d4082054519f2eaac39958edde502860a7fc6
Author: Richard Henderson <address@hidden>
Date: 2018-04-17 (Tue, 17 Apr 2018)
Changed paths:
M fpu/softfloat.c
Log Message:
-----------
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 <address@hidden>
Reviewed-by: Peter Maydell <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
Tested-by: Alex Bennée <address@hidden>
Signed-off-by: Peter Maydell <address@hidden>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] ce8d40: fpu: Bound increment for scalbn,
GitHub <=