This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v2 9/10] Tilera (and Linux asm-generic) support for glibc
(Narrowing cc's.)
On 11/11/2011 1:09 PM, Roland McGrath wrote:
>> 2011-11-09 Chris Metcalf <cmetcalf@tilera.com>
>>
>> * bits/byteswap.h (__bswap*): Use __builtin_bswap for gcc 4.3 and
>> above. Improves code generation for gcc 4.3 and 4.4 compilers
>> without bswap pattern detection.
> [...] This seems reasonable if some GCC folks can confirm that 4.3 and later
> produce optimal code for __builtin_bswap{32,64} on all machines.
Just to close the loop on this, I'm retracting this patch, and will stick with
the original proposal to have a tile-specific bits/byteswap.h.
It's sufficiently unclear that it will benefit all other architectures with
gcc 4.3 and 4.4, and since it's irrelevant for gcc 4.5 and above, it doesn't
seem worth pushing.
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com