------- Comment #1 from pinskia at gcc dot gnu dot org 2009-05-20 19:01 ------- http://gcc.gnu.org/onlinedocs/gcc-4.3.0/gcc/Other-Builtins.html#Other-Builtins
Built-in Function: int32_t __builtin_bswap32 (int32_t x) Returns x with the order of the bytes reversed; for example, 0xaabbccdd becomes 0xddccbbaa. Byte here always means exactly 8 bits. Built-in Function: int64_t __builtin_bswap64 (int64_t x) Similar to __builtin_bswap32, except the argument and return types are 64-bit. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40210