This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] tree level if-conversion for vectorizer


Richard Henderson <rth@redhat.com> wrote on 01/09/2004 23:27:17:

> On Wed, Sep 01, 2004 at 11:04:00AM +0300, Ayal Zaks wrote:
> > There may be another alternative for conditional stores. If the
compiler
> > has some scratch-pad address, into which it can always store without
> > causing any trouble, we could do
> >
> >       t = (COND ? &A[i] : scratch-pad-address)
> >       *t = x
> >
> > which also applies to conditional loads.
>
> I guess you could do that, but given that we're doing all this
> for the vectorizer, is this useful at all?

You're right; if-cvt should simplify memory-access-patterns to support the
vectorizer's block loads and stores.

Ayal.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]