[PATCH v2.1] Use saturated arithmetic for overflow detection.

Richard Henderson rth@twiddle.net
Wed Dec 4 00:16:00 GMT 2013


On 12/04/2013 11:53 AM, Ondřej Bílka wrote:
> On Tue, Dec 03, 2013 at 12:29:50PM -0800, Paul Eggert wrote:
>> On 12/03/2013 09:53 AM, Joseph S. Myers wrote:
>>> Even for the normal case where one argument is constant?
>>
>> I suppose you're right, it may be better to do that case inline.
>> Something like this, say:
>>
>> #define HAVE___INT128 1  /* This should be configured.  */
>>
> Richard, a quick googling found your patch for qemu. Ok to adapt that?
> 
> http://lists.nongnu.org/archive/html/qemu-devel/2013-01/msg05387.html
>  
> 

Adapt what, the configure fragment?  Sure.
Otherwise I can't see what would apply to glibc...


r~



More information about the Libc-alpha mailing list