[Bug tree-optimization/61559] FAIL: gcc.dg/builtin-bswap-8.c on i686 with -mmovbe

ubizjak at gmail dot com gcc-bugzilla@gcc.gnu.org
Thu Sep 4 09:04:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61559

--- Comment #7 from Uroš Bizjak <ubizjak at gmail dot com> ---
(In reply to Richard Biener from comment #6)

> Seems to me we want
> 
>   (bit_xor (bswap32 @0) (bswap32 @1)) -> (bswap32 (bit_xor @0 @1))
> 
> in match-and-simplify speak.

Please note that there are some more interesting transformations involving
immediates and bit_not, as shown in builtin-bswap-8.c.


More information about the Gcc-bugs mailing list