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?