This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Auto-vectorization with gcj
- From: Andrew Haley <aph at redhat dot com>
- To: Andrew Pinski <pinskia at physics dot uc dot edu>
- Cc: gcc mailing list <gcc at gcc dot gnu dot org>, Dietmar Lippold <dietmar dot lippold at informatik dot uni-stuttgart dot de>, java at gcc dot gnu dot org
- Date: Mon, 16 May 2005 10:00:58 +0100
- Subject: Re: Auto-vectorization with gcj
- References: <200505150957.LAA16344@isis.informatik.uni-stuttgart.de><17031.8036.31587.593741@cuddles.pink><1ec01014316a3fe622ff26360d65c76d@physics.uc.edu><44d9c6f16220eb620b2e5d99c122b120@physics.uc.edu>
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.