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.

Reply via email to