diff options
author | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2017-02-27 10:28:00 +0530 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-03-01 11:23:39 +1100 |
commit | c44027ffb91e7eb335f5a4d418906460044796b9 (patch) | |
tree | 1f014cadc4d308cc28237e4929fe290ce412141f /linux-user/main.c | |
parent | 61aa9a697a1ec9b102e86cb7ea96876e6f20afe3 (diff) | |
download | qemu-c44027ffb91e7eb335f5a4d418906460044796b9.tar.gz |
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>
Diffstat (limited to 'linux-user/main.c')
0 files changed, 0 insertions, 0 deletions