---Andrew Pinski <[EMAIL PROTECTED]> wrote:
> <[EMAIL PROTECTED]> wrote:
> > The PPC has a very fast dcbz (data cache block zero) to clear memory,
> > and also dcbi (data cache block invalidate) which permit to have a
> > cached line caching an address without reading first the memory (when
> > yo
On Fri, Aug 1, 2008 at 9:24 AM, Etienne Lorrain
<[EMAIL PROTECTED]> wrote:
> The PPC has a very fast dcbz (data cache block zero) to clear memory,
> and also dcbi (data cache block invalidate) which permit to have a
> cached line caching an address without reading first the memory (when
> you plan
> You forgot to look at PowerPC :
>
> http://cvs.opensolaris.org/source/xref/ppc-dev/ppc-dev/usr/src/lib/libc/ppc/gen/memcpy.s
>
> is that nice and small ?
I had to clear/check the whole 256 Mbytes SDRAM on a PPC system,
and the fastest way I got (excluding DMA access) is by playing with the
laye