qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 1/6] target/arm: Fix SVE signed division vs x86


From: Richard Henderson
Subject: Re: [Qemu-devel] [PATCH 1/6] target/arm: Fix SVE signed division vs x86 overflow exception
Date: Fri, 29 Jun 2018 07:43:29 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0

On 06/29/2018 02:10 AM, Peter Maydell wrote:
> Suggested revised comment text:
> 
> /* We must avoid the C undefined behaviour cases: division by
>  * zero and signed division of INT_MIN by -1. Both of these
>  * have architecturally defined required results for Arm.
>  * We special case all signed divisions by -1 to avoid having
>  * to deduce the minimum integer for the type involved.
>  */
> 
> ?

I'm happy with that.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]