[MPlayer-dev-eng] [RFC] disable fastmemcpy on x86-64 by default

Michael Niedermayer michaelni at gmx.at
Sun May 27 19:29:09 CEST 2007


Hi

On Sun, May 27, 2007 at 06:19:48PM +0200, Reimar D?ffinger wrote:
> Hello,
> since SSE is part of the x86-64 architecture, at least glibc makes use
> of it for its memcpy and some quick (and imprecise) tests indicate that
> it's at least not slower.

TOOLS/fastmemcpybench.c ?

either way its VERY important to not run benchmarks with uninitalized
arrays, iam mentioning that as its a very common misstake

a array as returned by malloc() will have all its 4k pages pointing
to a single zeroed 4k page and will when read have 100% cache hits
(depending on CPU) which is likely not what people want to benchmark

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I count him braver who overcomes his desires than him who conquers his
enemies for the hardest victory is over self. -- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070527/3b3280af/attachment.pgp>


More information about the MPlayer-dev-eng mailing list