This is the mail archive of the newlib@sourceware.org mailing list for the newlib 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][AArch64] Tune memcpy


pinskia@gmail.com wrote:
> > def_fn memcpy p2align=6
> > +    prfm    PLDL1KEEP, [src]
> 
> Why keep rather than strm for the prefetches?

It improves small copies by prefetching the input immediately,  so setting
it to streaming would have an adverse effect as it claims the line will not
be used again. For huge copies the initial prefetch has no effect.

Wilco



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