Summary: | AVR wrong code using incorrect RTL for test reversal pattern | ||
---|---|---|---|
Product: | gcc | Reporter: | Andy Hutchinson <hutchinsonandy> |
Component: | target | Assignee: | Not yet assigned to anyone <unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | eric.weddington, gcc-bugs |
Priority: | P3 | ||
Version: | 4.4.0 | ||
Target Milestone: | 4.4.0 | ||
Host: | i686-pc-cygwin | Target: | avr-unknown-none |
Build: | i686-pc-cygwin | Known to work: | |
Known to fail: | Last reconfirmed: | ||
Attachments: | Patch to target files |
Description
Andy Hutchinson
2008-06-23 22:52:24 UTC
Created attachment 15945 [details] Patch to target files http://gcc.gnu.org/ml/gcc-patches/2008-07/msg00391.html 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 4.4 fixed. |