This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/36609] AVR wrong code using incorrect RTL for test reversal pattern
- From: "hutchinsonandy at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 8 Sep 2008 22:26:54 -0000
- Subject: [Bug target/36609] AVR wrong code using incorrect RTL for test reversal pattern
- References: <bug-36609-16013@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2008-09-08 22:26 -------
Subject: Bug 36609
Author: hutchinsonandy
Date: Mon Sep 8 22:25:42 2008
New Revision: 140124
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=140124
Log:
PR target/36609
* config/avr/avr.c (avr_reorg): Create RTL for reversed compare with zero.
* config/avr/avr.md (QISI) : Define mode iterator.
(negated_tst<mode>) : Redefine as split using mode macro.
(reversed_tstqi): Define insn as reversed compare with zero.
(reversed_tsthi): Ditto.
(reversed_tstsi): Ditto.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36609