Re: Loop induction variable optimization question

2013-06-20 Thread Steve Ellcey
On Thu, 2013-06-20 at 03:16 -0700, Stephen Clarke wrote: > > why (and where) did ivopts decide to move the post-increments above the > > usages in the first loop? > > It looks rather like the transformation described next to > tree-ssa-loop-ivopts.c/adjust_iv_update_pos. Yes, that looks like th

Re: Loop induction variable optimization question

2013-06-20 Thread Stephen Clarke
> why (and where) did ivopts decide to move the post-increments above the > usages in the first loop? It looks rather like the transformation described next to tree-ssa-loop-ivopts.c/adjust_iv_update_pos.

Re: Loop induction variable optimization question

2013-06-17 Thread Chung-Ju Wu
2013/6/18 Steve Ellcey : > On Mon, 2013-06-17 at 21:36 +0200, Oleg Endo wrote: > >> >> Sorry for not having an answer. I got curious, because just yesterday I >> was looking at this one >> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55190 >> and thought that this is related, although it doesn't se

Re: Loop induction variable optimization question

2013-06-17 Thread Steve Ellcey
On Mon, 2013-06-17 at 21:36 +0200, Oleg Endo wrote: > > Sorry for not having an answer. I got curious, because just yesterday I > was looking at this one > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55190 > and thought that this is related, although it doesn't seem to. > I've tried the two func

Re: Loop induction variable optimization question

2013-06-17 Thread Oleg Endo
On Mon, 2013-06-17 at 10:07 -0700, Steve Ellcey wrote: > I have a loop induction variable question involving post increment. > If I have this loop: > > [...] > My question is is: why (and where) did ivopts decide to move the > post-increments above the usages in the first loop? In my case > (MIP

Loop induction variable optimization question

2013-06-17 Thread Steve Ellcey
I have a loop induction variable question involving post increment. If I have this loop: void *memcpy_word_ptr(int * __restrict d, int * __restrict s, unsigned int n ) { int i; for(i=0; i: # d_22 = PHI # s_23 = PHI # i_24 = PHI d_10 = d_22 + 4; s_11 = s_23 + 4; _12 = *s_23; *

Re: Induction variable optimization

2006-11-05 Thread Zdenek Dvorak
Hello, > I am a M.E.Computer science student and doing project on induction variable > optimization. > > Therefore i am reading the file tree-ssa-loop-ivopts.c of gcc-4.0.2 to know > about what have implemented in that. > > Is there any other way to know about what have i

Re: Induction variable optimization

2006-11-05 Thread Revital1 Eres
[EMAIL PROTECTED] wrote on 06/11/2006 03:34:27: > Respected Sir > > I am a M.E.Computer science student and doing project on induction variable > optimization. > > Therefore i am reading the file tree-ssa-loop-ivopts.c of gcc-4.0.2 to know > about what have implemented in t

Induction variable optimization

2006-11-05 Thread h2005421
Respected Sir I am a M.E.Computer science student and doing project on induction variable optimization. Therefore i am reading the file tree-ssa-loop-ivopts.c of gcc-4.0.2 to know about what have implemented in that. Is there any other way to know about what have implemented yet and in gcc