]> git.proxmox.com Git - mirror_qemu.git/commit
ppc: Fix emulated INFINITY and NAN conversions
authorPaul A. Clarke <pc@us.ibm.com>
Mon, 19 Aug 2019 19:19:48 +0000 (14:19 -0500)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 21 Aug 2019 07:17:39 +0000 (17:17 +1000)
commita7b7b98318f7d483e016f0f412df2b8a7dc1d636
treec746a6a0ba1e27e60daf8860625a0be1ee7f990d
parente6f1bfb21121b5aaf6f5ff339157c0d55e8b9fe2
ppc: Fix emulated INFINITY and NAN conversions

helper_todouble() was not properly converting INFINITY from 32 bit
float to 64 bit double.

(Normalized operand conversion is unchanged, other than indentation.)

Signed-off-by: Paul A. Clarke <pc@us.ibm.com>
Message-Id: <1566242388-9244-1-git-send-email-pc@us.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/fpu_helper.c