summary refs log tree commit diff stats
path: root/audio/audio_int.h
diff options
context:
space:
mode:
authorPaul A. Clarke <pc@us.ibm.com>2019-08-19 16:42:16 -0500
committerDavid Gibson <david@gibson.dropbear.id.au>2019-08-21 17:17:39 +1000
commitc0e6616b6685ffdb4c5e091bc152e46e14703dd1 (patch)
tree282b52c81c9e78adb17b9a41e312d9e33867159d /audio/audio_int.h
parenta7b7b98318f7d483e016f0f412df2b8a7dc1d636 (diff)
downloadfocaccia-qemu-c0e6616b6685ffdb4c5e091bc152e46e14703dd1.tar.gz
focaccia-qemu-c0e6616b6685ffdb4c5e091bc152e46e14703dd1.zip
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: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paul 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: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'audio/audio_int.h')
0 files changed, 0 insertions, 0 deletions