qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH v2 05/12] Hexagon (target/hexagon) properly handle denorm in


From: Richard Henderson
Subject: Re: [PATCH v2 05/12] Hexagon (target/hexagon) properly handle denorm in arch_sf_recip_common
Date: Fri, 11 Feb 2022 11:54:14 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 2/10/22 13:15, Taylor Simpson wrote:
The arch_sf_recip_common function was calling float32_getexp which
adjusts for denorm, but the we actually need the raw exponent bits.

This function is called from 3 instructions
     sfrecipa
     sffixupn
     sffixupd

Test cases added to tests/tcg/hexagon/fpstuff.c

Signed-off-by: Taylor Simpson<tsimpson@quicinc.com>
---
  target/hexagon/fma_emu.h    |  6 ++++-
  target/hexagon/arch.c       |  6 ++---
  tests/tcg/hexagon/fpstuff.c | 44 ++++++++++++++++++++++++++++++++++---
  3 files changed, 49 insertions(+), 7 deletions(-)

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

r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]