[Bug target/46453] MIPS backend is not using special instructions for __builtin_bswap32

npl at chello dot at gcc-bugzilla@gcc.gnu.org
Sat Nov 13 22:52:00 GMT 2010


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.



More information about the Gcc-bugs mailing list