Displaying 1 result from an estimated 1 matches for "__darwin_osswapint32".
2012 Feb 05
3
Please test new endian stuff
Hi all,
I've just pushed some changes to git repo that changes the way endian
swapping is done. In particular it does:
a) On Linux, use the bswap_*() intrinsic.
b) On Windows _byteswap_*() intrinsic.
c) Falls back to a macro for everything else.
I've tested this on 64 bit little endian Linux (x86_64) and 32 bit
bug endian Linux (powerpc).
Needs testing elsewhere.
Cheers,
Erik