PATCH: Add bits/byteswap-16.h and use GCC builtin 32/64-bit bswap
H.J. Lu
hjl.tools@gmail.com
Fri Apr 6 20:28:00 GMT 2012
On Fri, Apr 6, 2012 at 12:57 PM, Roland McGrath <roland@hack.frob.com> wrote:
> You ignored my feedback about "16bit" in comments.
>
>> +/* Macros to swap the order of bytes in 16bit integer values.
> ^
>> + Copyright (C) 2012 Free Software Foundation, Inc.
> ^ excess space here
>
> This is too much churn at once. First do a change that just splits out
> byteswap-16.h and nothing else. Then we can look at the rest.
>
The updated patch is at
http://sourceware.org/git/?p=glibc.git;a=patch;h=8b89aff0004899a676c3eff0b7ab82519fc8d99a
Thanks.
--
H.J.
More information about the Libc-alpha
mailing list