This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2 9/10] Tilera (and Linux asm-generic) support for glibc


On Fri, Nov 11, 2011 at 12:41 PM, Chris Metcalf <cmetcalf@tilera.com> wrote:
> (The 16-bit swap would be done via __builtin_bswap32(x)>> Â16.)
> If it's no worse for any platform, and better for some, that's
> probably sufficient reason to make the change in glibc to use it.

It does produce worse code if the target does not implement the
patterns because the function is not inlined by default.  It produces
a call to bswapsi and bswapdi.

Thanks,
Andrew Pinski


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]