This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/54815] [avr] missed optimization with operations with constant operands
- From: "gjl at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 08 Oct 2012 08:32:56 +0000
- Subject: [Bug other/54815] [avr] missed optimization with operations with constant operands
- Auto-submitted: auto-generated
- References: <bug-54815-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54815
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2012-10-08 08:32:56 UTC ---
Author: gjl
Date: Mon Oct 8 08:32:46 2012
New Revision: 192198
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192198
Log:
PR target/54815
* config/avr/avr.md (*add<mode>3, add<mode>3, addpsi3): Make
constraint alternative "r,0,r" slighly more expensive.
(sub<mode>3,
(andqi3, andhi3, andpsi3, andsi3): Ditto.
(iorqi3, iorhi3, iorpsi3, iorsi3): Ditto.
(xorhi3, xorpsi3, xorsi3): Ditto.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.md