[PD] array copy speed test

Tim Blechmann TimBlechmann at gmx.net
Tue Aug 1 15:31:14 CEST 2006


> The cachelines and prefetch don't change for SIMD, so that will be the
> limitation on blocks outside of L1 and L2.  Copying memory is
> inefficient no matter what the code is since it doesn't really do any
> work on the data.  

not sure ...
http://itdp.fh-biergarten.de/~itdp/html/mplayer-dev-eng/2003-01/msg00190.html

> The basic calls like memcpy() should have CPU specific code on every
> platform (Windows seems a little suspect though).  In some cases where
> the data is not in a single linear array memcpy() might not be the
> most efficient way to copy, but in general it is hard to beat. 

well, memcpy is not optimized for:
- chunks of 128bit
- aligned memory ...

cheers ... tim

--
tim at klingt.org    ICQ: 96771783
http://www.mokabar.tk

After one look at this planet any visitor from outer space would say
"I want to see the manager."
  William S. Burroughs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20060801/8b39b4c3/attachment.pgp>


More information about the Pd-list mailing list