]> git.proxmox.com Git - mirror_qemu.git/commit
softfloat: Fix the default qNAN for target-ppc
authorBharata B Rao <bharata@linux.vnet.ibm.com>
Tue, 10 Jan 2017 08:50:34 +0000 (14:20 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 30 Jan 2017 23:10:14 +0000 (10:10 +1100)
commit5d51eaea84899d88cb161fab3f089168e3812e9e
tree48ccef73616721919da12f024a548de9e3494160
parentc3e4293ac9fcd62d2720b10bb7d1a96805d94fed
softfloat: Fix the default qNAN for target-ppc

Currently float128_default_nan() returns 0xFFFF800000000000 in the
higher double word, but it should return 0x7FFF800000000000 which
is the correct higher double word for default qNAN on PowerPC.

Signed-off-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
fpu/softfloat-specialize.h