On 8/5/22 07:15, Lucas Mateus Castro(alqotel) wrote:
From: "Lucas Mateus Castro (alqotel)"<lucas.ara...@eldorado.org.br>

Added the possibility of recalculating a result if it overflows or
underflows, if the result overflow and the rebias bool is true then the
intermediate result should have 3/4 of the total range subtracted from
the exponent. The same for underflow but it should be added to the
exponent of the intermediate number instead.

Signed-off-by: Lucas Mateus Castro (alqotel)<lucas.ara...@eldorado.org.br>
---
  fpu/softfloat-parts.c.inc     | 21 +++++++++++++++++++--
  fpu/softfloat.c               |  2 ++
  include/fpu/softfloat-types.h |  4 ++++
  3 files changed, 25 insertions(+), 2 deletions(-)

Reviewed-by: Richard Henderson <richard.hender...@linaro.org>


r~

Reply via email to