[Bug target/39635] [avr] integer wrong code bug

2009-09-13 Thread hutchinsonandy at aim dot com


--- Comment #5 from hutchinsonandy at aim dot com  2009-09-13 16:14 ---
It looks like most of AVR shift/rotates are messed up.
For the case we where we have non constant shifts, the peephole may grab a
scratch register. In this case it look like it grabs one that is free
afterwards and not before. Hence overlap issue

The rotate split pattern problem is different as noted in message links. .  In
this case it is not apparent why the split is used for only different
source/destination registers. If the split were constrained so that src=dest
the overlap would be much easily to handle and it would seemingly produce
better code for the common case where src=dest.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39635



[Bug target/39635] [avr] integer wrong code bug

2009-04-07 Thread eric dot weddington at atmel dot com


--- Comment #4 from eric dot weddington at atmel dot com  2009-04-07 15:18 
---
This looks like a duplicate of bug #39386.

*** This bug has been marked as a duplicate of 39386 ***


-- 

eric dot weddington at atmel dot com changed:

   What|Removed |Added

 Status|UNCONFIRMED |RESOLVED
  Component|c   |target
 Resolution||DUPLICATE


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39635