Skip to content
Snippets Groups Projects
Commit 77ccf444 authored by Taylor Simpson's avatar Taylor Simpson
Browse files

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: default avatarTaylor Simpson <tsimpson@quicinc.com>
Message-Id: <20220210021556.9217-6-tsimpson@quicinc.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
parent 9a659903
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment