This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/52076] bloated code for setting single bits in bitfields on m68k
- From: "schwab at linux-m68k dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Feb 2012 11:15:57 +0000
- Subject: [Bug target/52076] bloated code for setting single bits in bitfields on m68k
- Auto-submitted: auto-generated
- References: <bug-52076-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52076
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> 2012-02-01 11:15:57 UTC ---
gcc 4.1 and before generate or.b #-128,(%a0) instead of bfins. As a
consequence of this they also generate moveq.l #4,%d0 instead of move.b, but
never shorten the write.