]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc: fmadd check for excp independently
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Sat, 4 Mar 2017 14:02:07 +0000 (19:32 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Mon, 6 Mar 2017 02:17:28 +0000 (13:17 +1100)
commit806c9d71abbcd283c0a6d8250e5a6db951ba9494
tree0c187924a2a06797fa6a4ce5d7abd12ecbe22673
parent17b7c39e275ecacae1416bc164189d6ddd116c57
target/ppc: fmadd check for excp independently

Current order of checking does not confirm with the spec
(ISA 3.0: MultiplyAddDP page-469). Change the order and make them
independent of each other.

For example: a = infinity, b = zero, c = SNaN, this should set both
VXIMZ and VXNAN

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
target/ppc/fpu_helper.c