Re: GCC's data dependence analyse may inaccuracy

2009-12-14 Thread Jianzhang Peng
In previous a[],b[],c[] are global arrays, while they are local arrays,GCC works well. Thanks 2009/12/14 Revital1 Eres : > Hello, > >> I unroll the following code one times in a gimpile pass. > > Can you please post the flags you used and the full test? > I can try to reproduce this. > > Thanks,

Re: GCC's data dependence analyse may inaccuracy

2009-12-14 Thread Richard Guenther
On Mon, Dec 14, 2009 at 2:08 PM, Revital1 Eres wrote: > Hello, > >> I unroll the following code one times in a gimpile pass. > > Can you please post the flags you used and the full test? > I can try to reproduce this. insn 53 (set (mem/s:SF (reg:SI 234 [ ivtmp.51 ]) (reg:SF 245)) //reg245->a[i]

Re: GCC's data dependence analyse may inaccuracy

2009-12-14 Thread Revital1 Eres
Hello, > I unroll the following code one times in a gimpile pass. Can you please post the flags you used and the full test? I can try to reproduce this. Thanks, Revital

GCC's data dependence analyse may inaccuracy

2009-12-13 Thread Jianzhang Peng
Hi, I unroll the following code one times in a gimpile pass. for(i=0; i< N ; i++) a[i] = b[i] + c[i]; And then I create the loops's ddg using build_intra_loop_deps ( ) in an RTL pass; I found the data dependence information: insn 54 TRUE_DEPENDENCE insn 53. insn 50 (set (reg:SF 243) (mem/s