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: [RFC] Don't schedule prefetch INSNs


Hi,

> >Do you mean this within the same basic block?  Prefetching something that 
> >will
> >be accessed in the same basic block is probably not very profitable (unless
> >the block is huge).
> 
> It will be worthwhile if the basic block is a loop body. It might make 
> sense to prefetch something used in the next loop iteration. Actually 
> that's what I am trying to do for memcpys.

in that case, the placement of the prefetch inside the loop body is
more or less irrelevant, no?

Zdenek


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