This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/52624] missing __builtin_bswap16


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624

--- Comment #7 from Uros Bizjak <ubizjak at gmail dot com> 2012-03-22 09:56:18 UTC ---
(In reply to comment #6)

> I think that the builtin should be expanded into a rotate (left or right) if
> they are available.  On x86 this works out of the box since the rotates are
> there.

Please note that the rotate is split back into bswap, so we can avoid rotate by
using "xchg %rh, %rl" on P4.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]