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

Piotr Stachura albert1 at autocom.pl
Sun May 27 20:15:23 CEST 2007


Dnia niedziela, 27 maja 2007, Reimar D?ffinger napisał:
> 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.
> So what do you think about attached patch? Can someone do more concise
> benchmarks?
And what exactly should be "at least not slower". I made simple 
test "-quiet -benchmark -vo null -nosound" and results are following:

w/o patch:
BENCHMARKs: VC:   9.211s VO:   2.236s A:   0.000s Sys:   0.237s =   11.684s
BENCHMARK%: VC: 78.8329% VO: 19.1350% A:  0.0000% Sys:  2.0321% = 100.0000%

w/ patch:
BENCHMARKs: VC:   9.208s VO:   4.087s A:   0.000s Sys:   0.299s =   13.594s
BENCHMARK%: VC: 67.7354% VO: 30.0667% A:  0.0000% Sys:  2.1979% = 100.0000%

Tests made on AMD64 3000+ (1.8GHz), gcc 4.1.2 and glibc 2.5.

-- 
Piotr Stachura
-------------- 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.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070527/22041a71/attachment.pgp>


More information about the MPlayer-dev-eng mailing list