From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56327) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cfu8p-0000xw-Cn for qemu-devel@nongnu.org; Mon, 20 Feb 2017 15:01:00 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cfu8l-0003ew-Bd for qemu-devel@nongnu.org; Mon, 20 Feb 2017 15:00:59 -0500 Sender: Richard Henderson References: <1487585521-19445-1-git-send-email-nikunj@linux.vnet.ibm.com> <1487585521-19445-10-git-send-email-nikunj@linux.vnet.ibm.com> From: Richard Henderson Message-ID: <5dc4d32e-cc1f-82c2-9215-49c428035b0b@twiddle.net> Date: Tue, 21 Feb 2017 07:00:47 +1100 MIME-Version: 1.0 In-Reply-To: <1487585521-19445-10-git-send-email-nikunj@linux.vnet.ibm.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v1 09/10] target/ppc: add ov32 flag in divide operations List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Nikunj A Dadhania , qemu-ppc@nongnu.org, david@gibson.dropbear.id.au Cc: qemu-devel@nongnu.org, bharata@linux.vnet.ibm.com 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 > --- > target/ppc/int_helper.c | 49 ++++++++++++++++--------------------------------- > target/ppc/translate.c | 6 ++++-- > 2 files changed, 20 insertions(+), 35 deletions(-) Reviewed-by: Richard Henderson r~