|
From: | Richard Henderson |
Subject: | Re: [Qemu-ppc] [PATCH v1 09/10] target/ppc: add ov32 flag in divide operations |
Date: | Tue, 21 Feb 2017 07:00:47 +1100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.7.0 |
On 02/20/2017 09:12 PM, Nikunj A Dadhania wrote:
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 <address@hidden> --- target/ppc/int_helper.c | 49 ++++++++++++++++--------------------------------- target/ppc/translate.c | 6 ++++-- 2 files changed, 20 insertions(+), 35 deletions(-)
Reviewed-by: Richard Henderson <address@hidden> r~
[Prev in Thread] | Current Thread | [Next in Thread] |