This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2.1] Use saturated arithmetic for overflow detection.
- From: Richard Henderson <rth at twiddle dot net>
- To: OndÅej BÃlka <neleai at seznam dot cz>
- Cc: "Joseph S. Myers" <joseph at codesourcery dot com>, Paul Eggert <eggert at cs dot ucla dot edu>, Mike Frysinger <vapier at gentoo dot org>, libc-alpha at sourceware dot org
- Date: Wed, 04 Dec 2013 13:15:46 +1300
- Subject: Re: [PATCH v2.1] Use saturated arithmetic for overflow detection.
- Authentication-results: sourceware.org; auth=none
- References: <20131030174502 dot GA18107 at domone dot podge> <20131030183318 dot GA18706 at domone dot podge> <20131101133126 dot GA2546 at domone dot podge> <201311300346 dot 53198 dot vapier at gentoo dot org> <20131203111604 dot GA11582 at domone dot podge> <529E182F dot 8050809 at cs dot ucla dot edu> <Pine dot LNX dot 4 dot 64 dot 1312031747580 dot 7734 at digraph dot polyomino dot org dot uk> <529E3F3E dot 4080000 at cs dot ucla dot edu> <20131203225318 dot GA17826 at domone dot podge>
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~