This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Auto-vectorization with gcj
Andrew Pinski writes:
>
> On May 15, 2005, at 10:33 AM, Andrew Pinski wrote:
> > The multiple exit comes bounds checking (which VRP does not remove
> > still
> > because we don't pull out a load of the length).
> >
> > If we add -fno-bounds-checks, we get:
> > Test.java:7: note: not vectorized: too many BBs in loop.
> > Test.java:11: note: not vectorized: too many BBs in loop.
> > Test.java:6: note: vectorized 0 loops in function.
> >
> > And this is because we have a label in the loop (and the tree CFG
> > does not remove user labels, maybe setting DECL_ARTIFICIAL on the
> > labels will fix this fully).
>
> After working around that problem,
A patch to do that is pre-approved.
Thanks,
Andrew.