public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/41885] New: AVR Rotate patterns do not correctly consider overlap.
@ 2009-10-31 0:29 hutchinsonandy at gcc dot gnu dot org
2009-10-31 0:38 ` [Bug target/41885] " hutchinsonandy at gcc dot gnu dot org
2010-01-08 23:02 ` hutchinsonandy at gcc dot gnu dot org
0 siblings, 2 replies; 4+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2009-10-31 0:29 UTC (permalink / raw)
To: gcc-bugs
Rotate patterns that split byte sized rotates into moves do not correctly
consider overlap of operands.
This was noted on a similar but different shift bug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39635
and detailed here
http://lists.gnu.org/archive/html/avr-gcc-list/2009-03/msg00158.html
Bug raised to reference separate testcase and fix.
--
Summary: AVR Rotate patterns do not correctly consider overlap.
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: hutchinsonandy at gcc dot gnu dot org
GCC host triplet: i486-linux-gnu
GCC target triplet: avr-*-*
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41885
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/41885] AVR Rotate patterns do not correctly consider overlap.
2009-10-31 0:29 [Bug target/41885] New: AVR Rotate patterns do not correctly consider overlap hutchinsonandy at gcc dot gnu dot org
@ 2009-10-31 0:38 ` hutchinsonandy at gcc dot gnu dot org
2010-01-08 23:02 ` hutchinsonandy at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2009-10-31 0:38 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from hutchinsonandy at gcc dot gnu dot org 2009-10-31 00:38 -------
Subject: Bug 41885
Author: hutchinsonandy
Date: Sat Oct 31 00:38:10 2009
New Revision: 153773
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=153773
Log:
PR target/41885
* gcc.target/avr/torture/pr41885.c: New test.
Added:
trunk/gcc/testsuite/gcc.target/avr/torture/pr41885.c
Modified:
trunk/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41885
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/41885] AVR Rotate patterns do not correctly consider overlap.
2009-10-31 0:29 [Bug target/41885] New: AVR Rotate patterns do not correctly consider overlap hutchinsonandy at gcc dot gnu dot org
2009-10-31 0:38 ` [Bug target/41885] " hutchinsonandy at gcc dot gnu dot org
@ 2010-01-08 23:02 ` hutchinsonandy at gcc dot gnu dot org
1 sibling, 0 replies; 4+ messages in thread
From: hutchinsonandy at gcc dot gnu dot org @ 2010-01-08 23:02 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from hutchinsonandy at gcc dot gnu dot org 2010-01-08 23:02 -------
Subject: Bug 41885
Author: hutchinsonandy
Date: Fri Jan 8 23:01:45 2010
New Revision: 155746
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155746
Log:
2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org>
PR target/41885
* avr.md (rotlqi3): Add CONST_INT_P check.
(rotlhi3): Delete.
(rotlhi3_8): Delete.
(rotlsi3): Delete.
(rotlsi3_8): Delete.
(rotlsi3_16): Delete.
(rotlsi3_24): Delete.
(rotl<mode>3): New.
(*rotw<mode>3): New.
(*rotb<mode>3): New.
*avr.c (avr_rotate_bytes): New function.
*avr-proto.h (avr_rotate_bytes): New function.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr-protos.h
trunk/gcc/config/avr/avr.c
trunk/gcc/config/avr/avr.md
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41885
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug target/41885] AVR Rotate patterns do not correctly consider overlap.
[not found] <bug-41885-4@http.gcc.gnu.org/bugzilla/>
@ 2011-07-02 17:54 ` gjl at gcc dot gnu.org
0 siblings, 0 replies; 4+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-07-02 17:54 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=41885
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |wrong-code
Status|UNCONFIRMED |RESOLVED
CC| |gjl at gcc dot gnu.org
Resolution| |FIXED
Target Milestone|--- |4.5.0
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-07-02 17:54:09 UTC ---
Fixed with Andy's patch. 4.5.0 passes the testcase.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-07-02 17:54 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-31 0:29 [Bug target/41885] New: AVR Rotate patterns do not correctly consider overlap hutchinsonandy at gcc dot gnu dot org
2009-10-31 0:38 ` [Bug target/41885] " hutchinsonandy at gcc dot gnu dot org
2010-01-08 23:02 ` hutchinsonandy at gcc dot gnu dot org
[not found] <bug-41885-4@http.gcc.gnu.org/bugzilla/>
2011-07-02 17:54 ` gjl at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).