re PR target/25111 ([m68k] bset is not used for A = 1 << (B & 31) on ColdFire)
authorJeff Law <law@redhat.com>
Sat, 19 Nov 2016 17:52:04 +0000 (10:52 -0700)
committerJeff Law <law@gcc.gnu.org>
Sat, 19 Nov 2016 17:52:04 +0000 (10:52 -0700)
commit636a9a890073af7540e9dc1e96ec180dcb42e50e
tree6bb4b9009d9f2d285b77183175577ae4cde50a76
parente8fe0e46170419bfe47bbaf381e38e7ddc525ef6
re PR target/25111 ([m68k] bset is not used for A = 1 << (B & 31) on ColdFire)

PR target/25111
* config/m68k/m68k.md (bsetdreg): New pattern.
(bchgdreg, bclrdreg): Likewise.

PR target/25111
* gcc.target/m68k/pr25111.c: New test.

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