http://gcc.gnu.org/bugzilla/show_bug.cgi?id=46453
--- Comment #1 from npl at chello dot at 2010-11-13 22:41:08 UTC --- Created attachment 22388 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22388 Partial patch inplementing 32 and 64 bit bswaps. diffed against gcc 4.5.1 Well, I went ahead and wrote a patch that adds support for the 32 and 64 bit bswap-builtins. Im not sure if this is the best way to do it and I dont know enough to tackle the 16bit bswaps.