This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Type yielded by TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD hook?
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: "Erich Plondke" <eplondke at gmail dot com>
- Cc: Dorit Nuzman <DORIT at il dot ibm dot com>, gcc <gcc at gcc dot gnu dot org>
- Date: Wed, 20 Sep 2006 09:26:24 +0300
- Subject: Re: Type yielded by TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD hook?
"Erich Plondke" <eplondke@gmail.com> wrote on 20/09/2006 04:09:14:
> On 9/19/06, Erich Plondke <eplondke@gmail.com> wrote:
> > On 9/19/06, Ira Rosen <IRAR@il.ibm.com> wrote:
> > > Hi,
> > >
> > > Does this patch fix the problem?
> >
> > Well... seems pretty good. I get the instruction generated from the
> > builtin, and it lives outside the body of the loop.
> >
> > GCC then moves the value out of the special register, zero extends it,
> > and moves it back into the special register uselessly. :-( But I
> > have the feeling that I have something else in my backend to blame for
> > that.
>
> Yes, it's because the special register is a QI and the PROMOTE_MODE
> macro always
> says to promote the QI to an SI.
>
> So the patch looks great! Thanks!
Great, I'll prepare a patch for the mainline then.
Ira
>
> --
> Why are ``tolerant'' people so intolerant of intolerant people?