]> git.proxmox.com Git - mirror_qemu.git/commit
target/ppc: update overflow flags for add/sub
authorNikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Mon, 27 Feb 2017 04:57:57 +0000 (10:27 +0530)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 1 Mar 2017 00:23:39 +0000 (11:23 +1100)
commitdc0ad84449a4e2f28d2cc055998cb10c1a4d89a9
tree4094849794fbf02e2db5534411686334533019e2
parent33903d0aa4191cbe7cd9e3b9019e11a2bb97aa14
target/ppc: update overflow flags for add/sub

* SO and OV reflects overflow of the 64-bit result in 64-bit mode and
  overflow of the low-order 32-bit result in 32-bit mode

* OV32 reflects overflow of the low-order 32-bit independent of the mode

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