public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/50446] New: [avr] Implement rotate patterns with offset 1
@ 2011-09-18 12:37 gjl at gcc dot gnu.org
2011-09-18 13:08 ` [Bug target/50446] " gjl at gcc dot gnu.org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-09-18 12:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50446
Bug #: 50446
Summary: [avr] Implement rotate patterns with offset 1
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: enhancement
Priority: P3
Component: target
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gjl@gcc.gnu.org
CC: eric.weddington@atmel.com
Target: avr
GCC tries rotate patterns, e.g. I see combiner try to match against rotate.
Rotate by one is easy to implement on AVR, so add these patterns/insns.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/50446] [avr] Implement rotate patterns with offset 1
2011-09-18 12:37 [Bug target/50446] New: [avr] Implement rotate patterns with offset 1 gjl at gcc dot gnu.org
@ 2011-09-18 13:08 ` gjl at gcc dot gnu.org
2011-09-18 13:11 ` gjl at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-09-18 13:08 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50446
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P4
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-09-18
Target Milestone|--- |4.7.0
Ever Confirmed|0 |1
Known to fail| |4.6.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/50446] [avr] Implement rotate patterns with offset 1
2011-09-18 12:37 [Bug target/50446] New: [avr] Implement rotate patterns with offset 1 gjl at gcc dot gnu.org
2011-09-18 13:08 ` [Bug target/50446] " gjl at gcc dot gnu.org
@ 2011-09-18 13:11 ` gjl at gcc dot gnu.org
2011-09-23 10:18 ` gjl at gcc dot gnu.org
2011-09-23 11:05 ` gjl at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-09-18 13:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50446
--- Comment #1 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-09-18 12:36:59 UTC ---
Created attachment 25310
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=25310
rotate.c
Some test cases
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/50446] [avr] Implement rotate patterns with offset 1
2011-09-18 12:37 [Bug target/50446] New: [avr] Implement rotate patterns with offset 1 gjl at gcc dot gnu.org
2011-09-18 13:08 ` [Bug target/50446] " gjl at gcc dot gnu.org
2011-09-18 13:11 ` gjl at gcc dot gnu.org
@ 2011-09-23 10:18 ` gjl at gcc dot gnu.org
2011-09-23 11:05 ` gjl at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-09-23 10:18 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50446
--- Comment #2 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-09-23 10:14:26 UTC ---
Author: gjl
Date: Fri Sep 23 10:14:23 2011
New Revision: 179116
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=179116
Log:
PR target/50446
* config/avr/avr.md (rotlqi3): Support all offsets 0..7.
(rotlqi3_4): Turn insn into expander.
(*rotlqi3): New insn.
(rotlhi3, rotlsi3): Support rotate left/right by 1.
(*rotlhi2.1, *rotlhi2.15): New insns.
(*rotlsi2.1, *rotlsi2.31): New insns.
* config/avr/constraints.md (C03, C05, C06, C07): New constraints.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/avr/avr.md
trunk/gcc/config/avr/constraints.md
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug target/50446] [avr] Implement rotate patterns with offset 1
2011-09-18 12:37 [Bug target/50446] New: [avr] Implement rotate patterns with offset 1 gjl at gcc dot gnu.org
` (2 preceding siblings ...)
2011-09-23 10:18 ` gjl at gcc dot gnu.org
@ 2011-09-23 11:05 ` gjl at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: gjl at gcc dot gnu.org @ 2011-09-23 11:05 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50446
Georg-Johann Lay <gjl at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #3 from Georg-Johann Lay <gjl at gcc dot gnu.org> 2011-09-23 10:17:11 UTC ---
Closed for 4.7 milestone.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-09-23 10:18 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-18 12:37 [Bug target/50446] New: [avr] Implement rotate patterns with offset 1 gjl at gcc dot gnu.org
2011-09-18 13:08 ` [Bug target/50446] " gjl at gcc dot gnu.org
2011-09-18 13:11 ` gjl at gcc dot gnu.org
2011-09-23 10:18 ` gjl at gcc dot gnu.org
2011-09-23 11:05 ` 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).