re PR target/25128 ([m68k] Suboptimal comparisons against 65536)
authorJeff Law <law@redhat.com>
Mon, 21 Nov 2016 18:19:12 +0000 (11:19 -0700)
committerJeff Law <law@gcc.gnu.org>
Mon, 21 Nov 2016 18:19:12 +0000 (11:19 -0700)
commit83ad4fac5aaba0075ce2f5fd395e49802b4cdb22
tree7a235a6bbe655c0e1d8bebe8db79fe91034fa581
parent207a08cdd1b2566b1aecbe93c44fa1490af71842
re PR target/25128 ([m68k] Suboptimal comparisons against 65536)

PR target/25128
* config/m68k/predicates.md (swap_peephole_relational_operator): New
predicate.
* config/m68k/m68k.md (relational tests against 65535/65536): New
peephole2.

PR target/25128
* gcc.target/m68k/pr25128.c: New test.

From-SVN: r242676
gcc/ChangeLog
gcc/config/m68k/m68k.md
gcc/config/m68k/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/m68k/pr25128.c [new file with mode: 0644]