[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH v2] sparc32 : Signed integer division overflow
From: |
Richard Henderson |
Subject: |
Re: [Qemu-devel] [PATCH v2] sparc32 : Signed integer division overflow |
Date: |
Thu, 20 Mar 2014 08:54:41 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 |
On 03/19/2014 03:29 PM, Olivier Danet wrote:
> The signed integer division -0x8000_0000_0000_0000 / -1 must be handled
> separately to avoid an overflow on the QEMU host.
>
> Signed-off-by: Olivier Danet <address@hidden>
> ---
> target-sparc/helper.c | 13 ++++++++-----
> 1 file changed, 8 insertions(+), 5 deletions(-)
Reviewed-by: Richard Henderson <address@hidden>
r~