This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52624] missing __builtin_bswap16
- From: "ebotcazou at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 22 Mar 2012 10:04:44 +0000
- Subject: [Bug target/52624] missing __builtin_bswap16
- Auto-submitted: auto-generated
- References: <bug-52624-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52624
--- Comment #8 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-03-22 10:04:44 UTC ---
> Please note that the rotate is split back into bswap, so we can avoid rotate by
> using "xchg %rh, %rl" on P4.
Sure, 16-bit rotates are already emitted as xchg when appropriate.