mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-19 03:30:27 +08:00
re PR tree-optimization/61559 (FAIL: gcc.dg/builtin-bswap-8.c on i686 with -mmovbe)
2014-12-13 Richard Biener <rguenther@suse.de> PR middle-end/61559 * match.pd: Implement bswap patterns for transforms checked by gcc.dg/builtin-bswap-8.c. From-SVN: r217464
This commit is contained in:
parent
52a1ff8bc1
commit
83633539b7
@ -1,3 +1,9 @@
|
||||
2014-12-13 Richard Biener <rguenther@suse.de>
|
||||
|
||||
PR middle-end/61559
|
||||
* match.pd: Implement bswap patterns for transforms checked by
|
||||
gcc.dg/builtin-bswap-8.c.
|
||||
|
||||
2014-11-13 Vladimir Makarov <vmakarov@redhat.com>
|
||||
|
||||
* lra.c (lra): Switch off rematerialization pass.
|
||||
|
14
gcc/match.pd
14
gcc/match.pd
@ -576,3 +576,17 @@ along with GCC; see the file COPYING3. If not see
|
||||
(simplify
|
||||
(imagpart (complex @0 @1))
|
||||
@1)
|
||||
|
||||
|
||||
/* BSWAP simplifications, transforms checked by gcc.dg/builtin-bswap-8.c. */
|
||||
(for bswap (BUILT_IN_BSWAP16 BUILT_IN_BSWAP32 BUILT_IN_BSWAP64)
|
||||
(simplify
|
||||
(bswap (bswap @0))
|
||||
@0)
|
||||
(simplify
|
||||
(bswap (bit_not (bswap @0)))
|
||||
(bit_not @0))
|
||||
(for bitop (bit_xor bit_ior bit_and)
|
||||
(simplify
|
||||
(bswap (bitop:c (bswap @0) @1))
|
||||
(bitop @0 (bswap @1)))))
|
||||
|
Loading…
x
Reference in New Issue
Block a user