summary refs log tree commit diff stats
path: root/hw/net/virtio-net.c
diff options
context:
space:
mode:
authorTaylor Simpson <tsimpson@quicinc.com>2022-02-09 18:15:49 -0800
committerTaylor Simpson <tsimpson@quicinc.com>2022-03-12 09:14:22 -0800
commit77ccf44453a83e17cc830df700cc072f6bcf6a71 (patch)
treed9a8eb468926fa6f1796833b857b19058e24264a /hw/net/virtio-net.c
parent9a65990326cd59f28323714d72073515091383c9 (diff)
downloadfocaccia-qemu-77ccf44453a83e17cc830df700cc072f6bcf6a71.tar.gz
focaccia-qemu-77ccf44453a83e17cc830df700cc072f6bcf6a71.zip
Hexagon (target/hexagon) properly handle denorm in arch_sf_recip_common
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>
Message-Id: <20220210021556.9217-6-tsimpson@quicinc.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/net/virtio-net.c')
0 files changed, 0 insertions, 0 deletions