[Bug rtl-optimization/32283] Missed induction variable optimization

2007-12-16 Thread rakdver at gcc dot gnu dot org
--- Comment #17 from rakdver at gcc dot gnu dot org 2007-12-16 20:29 --- A possible way how to solve the problem: http://gcc.gnu.org/ml/gcc-patches/2007-12/msg00769.html -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32283

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-12-05 Thread rakdver at kam dot mff dot cuni dot cz
--- Comment #16 from rakdver at kam dot mff dot cuni dot cz 2007-12-05 16:42 --- Subject: Re: Missed induction variable optimization > Please correct me if I am wrong, but I think that optimizing out the variable > that holds number of iterations is not desirable on targets that have

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-12-05 Thread amonakov at gmail dot com
--- Comment #15 from amonakov at gmail dot com 2007-12-05 16:26 --- Zdenek, please kindly share your thoughts on concerns expressed in previous comments. The failures of number-of-iterations analysis prohibit applying modulo scheduling to many simple loops that are otherwise eligible;

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-11-27 Thread ramana dot radhakrishnan at celunite dot com
--- Comment #14 from ramana dot radhakrishnan at celunite dot com 2007-11-27 11:00 --- (In reply to comment #13) > This patch sometimes confuses loop2_doloop. On ia64 this prevents use of > countable loop branch machine idiom (br.cloop). On the example used in this > thread loop2_dolo

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-09-20 Thread amonakov at gmail dot com
--- Comment #13 from amonakov at gmail dot com 2007-09-20 16:25 --- This patch sometimes confuses loop2_doloop. On ia64 this prevents use of countable loop branch machine idiom (br.cloop). On the example used in this thread loop2_doloop complains: Loop 1 is simple: simple exit 5 ->

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-09-10 Thread dje at gcc dot gnu dot org
--- Comment #12 from dje at gcc dot gnu dot org 2007-09-10 18:29 --- Created an attachment (id=14185) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14185&action=view) postreload.c preprocessed The patch broke bootstrap on powerpc-aix, powerpc-darwin, sparc-solaris, and hpux -- pro

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-09-08 Thread rakdver at gcc dot gnu dot org
--- Comment #11 from rakdver at gcc dot gnu dot org 2007-09-08 13:19 --- Subject: Bug 32283 Author: rakdver Date: Sat Sep 8 13:18:49 2007 New Revision: 128272 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128272 Log: PR tree-optimization/32283 * tree-ssa-loop-

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-09-06 Thread rakdver at gcc dot gnu dot org
--- Comment #10 from rakdver at gcc dot gnu dot org 2007-09-06 17:57 --- I'm testing a patch. -- rakdver at gcc dot gnu dot org changed: What|Removed |Added Assi

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-09-05 Thread ramana dot radhakrishnan at celunite dot com
--- Comment #9 from ramana dot radhakrishnan at celunite dot com 2007-09-05 11:46 --- The above mentioned testcase works ok and generates auto-increments in Comment #8 . I'd still be interested in looking at why the volatile case cannot work. Adding Zdenek to the CC for this case.

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-08-24 Thread pranav dot bhandarkar at gmail dot com
--- Comment #8 from pranav dot bhandarkar at gmail dot com 2007-08-24 13:28 --- Created an attachment (id=14102) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=14102&action=view) Another testcase displaying the said behaviour IMHO, the code generated for the following can benefit

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-14 Thread pranav dot bhandarkar at gmail dot com
--- Comment #7 from pranav dot bhandarkar at gmail dot com 2007-06-14 20:50 --- I guess strength reduction should then be implemented at the RTL level ? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32283

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-13 Thread pinskia at gcc dot gnu dot org
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-06-13 17:53 --- Look at PR 17108 also. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added BugsThisDep

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-13 Thread pranav dot bhandarkar at gmail dot com
--- Comment #5 from pranav dot bhandarkar at gmail dot com 2007-06-13 12:36 --- Which RTL pass should take care of such induction variable optimization in 4.3 ? For e.g In 4.1, It was old-loop that was doing it. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32283

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-11 Thread pinskia at gcc dot gnu dot org
--- Comment #4 from pinskia at gcc dot gnu dot org 2007-06-11 18:45 --- Note this is most likely a dup of another bug which is talking about PPC. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added --

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-11 Thread pranav dot bhandarkar at gmail dot com
--- Comment #3 from pranav dot bhandarkar at gmail dot com 2007-06-11 14:33 --- (In reply to comment #2) > What if you remove the pointless 'volatile' from a? > No, removing the 'volatile' doesnt help either. The 'volatile' was because this is part of a bigger test. -- http://gcc

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-11 Thread rguenth at gcc dot gnu dot org
--- Comment #2 from rguenth at gcc dot gnu dot org 2007-06-11 14:06 --- What if you remove the pointless 'volatile' from a? -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32283

[Bug rtl-optimization/32283] Missed induction variable optimization

2007-06-11 Thread pranav dot bhandarkar at gmail dot com
--- Comment #1 from pranav dot bhandarkar at gmail dot com 2007-06-11 13:45 --- Created an attachment (id=13676) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13676&action=view) Testcase displaying the said behaviour Added testcase that exposes the problem -- http://gcc.gnu.