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


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~


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