Skip to content
Commit c0e6616b authored by Paul A. Clarke's avatar Paul A. Clarke Committed by David Gibson
Browse files

ppc: Fix emulated single to double denormalized conversions



helper_todouble() was not properly converting any denormalized 32 bit
float to 64 bit double.

Fix-suggested-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarPaul A. Clarke <pc@us.ibm.com>

v2:
- Splitting patch "ppc: Three floating point fixes"; this is just one part.
- Original suggested "fix" was likely flawed.  v2 is rewritten by
  Richard Henderson (Thanks, Richard!); I reformatted the comments in a
  couple of places, compiled, and tested.
Message-Id: <1566250936-14538-1-git-send-email-pc@us.ibm.com>

Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent a7b7b983
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment