[Bug target/52076] bloated code for setting single bits in bitfields on m68k
law at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jan 22 21:25:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52076
--- Comment #2 from Jeffrey A. Law <law at gcc dot gnu.org> ---
Author: law
Date: Thu Jan 22 21:24:28 2015
New Revision: 220015
URL: https://gcc.gnu.org/viewcvs?rev=220015&root=gcc&view=rev
Log:
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.
Added:
trunk/gcc/config/m68k/.m68k.md.swp (with props)
trunk/gcc/testsuite/gcc.target/m68k/pr52076-1.c
trunk/gcc/testsuite/gcc.target/m68k/pr52076-2.c
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/m68k/m68k.md
trunk/gcc/config/m68k/predicates.md
trunk/gcc/testsuite/ChangeLog
Propchange: trunk/gcc/config/m68k/.m68k.md.swp
('svn:executable' added)
More information about the Gcc-bugs
mailing list