Re: gcc will become the best optimizing x86 compiler -> PPC case

2008-08-06 Thread Etienne Lorrain
---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

Re: gcc will become the best optimizing x86 compiler -> PPC case

2008-08-02 Thread Andrew Pinski
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

Re: gcc will become the best optimizing x86 compiler -> PPC case

2008-08-01 Thread Etienne Lorrain
> 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