Home
last modified time | relevance | path

Searched hist:c44027ff (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/ppc/
H A Dtranslate.cc44027ff Sun Feb 26 22:58:00 CST 2017 Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> target/ppc: add ov32 flag in divide operations

Add helper_div_compute_ov() in the int_helper for updating the overflow
flags.

For Divide Word:
SO, OV, and OV32 bits reflects overflow of the 32-bit result

For Divide DoubleWord:
SO, OV, and OV32 bits reflects overflow of the 64-bit result

Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>