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 #5 from Uros Bizjak <ubizjak at gmail dot com> 2012-03-22 07:51:20 UTC ---
(In reply to comment #4)
> I think that it should be available on all architectures, like the 32-bit and
> 64-bit flavors.  And, for x86, you don't really need to add new patterns.

I agree.

Regarding new patterns - we need at least named expander, and the existing ones
are strict_low_part types. They model the fact that higpart of the register is
preserved, so ideal to implement bswap32.

Can you please take the middle-end part of the generic implementation?


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