BZ#13926: Add __bswap_64 for non-GCC compilers

Richard Henderson rth@twiddle.net
Thu Mar 29 12:45:00 GMT 2012


On 03/28/2012 02:12 PM, Andreas Jaeger wrote:
> Would the patch be ok if do the changes that Roland suggested and use ull instead (and fix the s390 version the same)?

While "long long" might not exist, surely uint64_t does.

At which point it might be best to use "(uint64_6)0xff << N"
instead of worrying what suffix to use.


r~



More information about the Libc-alpha mailing list