This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] tree level if-conversion for vectorizer
- From: Richard Henderson <rth at redhat dot com>
- To: Ayal Zaks <ZAKS at il dot ibm dot com>
- Cc: Diego Novillo <dnovillo at redhat dot com>, Dorit Naishlos <DORIT at il dot ibm dot com>, Devang Patel <dpatel at apple dot com>, GCC Patches <gcc-patches at gcc dot gnu dot org>
- Date: Wed, 1 Sep 2004 13:27:17 -0700
- Subject: Re: [PATCH] tree level if-conversion for vectorizer
- References: <20040831063608.GA5008@redhat.com> <OFF2533005.824D0B75-ONC2256F02.002AA138-C2256F02.002C5000@il.ibm.com>
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?
r~