re PR target/52076 (bloated code for setting single bits in bitfields on m68k)
authorJeff Law <law@redhat.com>
Thu, 22 Jan 2015 21:24:28 +0000 (14:24 -0700)
committerJeff Law <law@gcc.gnu.org>
Thu, 22 Jan 2015 21:24:28 +0000 (14:24 -0700)
commit5e7821eb98292742a6aa4e1495ad1ccf9832d749
tree5cc13a22d537751d7a1a6c2797a54801459e8957
parent33eaef4bf7f7b0650236c6ce2f5512344b3acbbf
re PR target/52076 (bloated code for setting single bits in bitfields on m68k)

PR target/52076
* config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
improve code density for small immediate to memory case.
(insv): Better handle bitfield assignments when the field is
being set to all ones.
* config/m68k/predicates.md (reg_or_pow2_m1_operand): New
operand predicate.

PR target/52076
* gcc.target/m68k/pr52076-1.c: New test.
* gcc.target/m68k/pr52076-2.c: New test.

From-SVN: r220015
gcc/ChangeLog
gcc/config/m68k/.m68k.md.swp [new file with mode: 0755]
gcc/config/m68k/m68k.md
gcc/config/m68k/predicates.md
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/m68k/pr52076-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/m68k/pr52076-2.c [new file with mode: 0644]