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

Michael Niedermayer michaelni at gmx.at
Sun May 27 23:49:13 CEST 2007


Hi

On Sun, May 27, 2007 at 11:38:57PM +0200, Attila Kinali wrote:
[...]
> > this is in impressive series of bugs ...
> > 
> > if my hypothesis is correct then reimar will have some work to do ;)
> 
> BTW: is there any reason why fast_memcpy&co are not defined inline?

as fast_memcpy() isnt in a header (currently) that wont change anything
with gcc


> I even think that in the case w/o runtime cpu detection, we could
> just do a #define fast_memcpy fast_memcpy_XXX (where XXX is one of MMX,SSE...)
> and get completely rid not only of a call, but of a stack frame too.

fast_memcpy_XXX() mem2agpcpy_XXX() should be inlined by gcc (in theory)
as they are static and used just at one spot

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- 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/a8ce61bb/attachment.pgp>


More information about the MPlayer-dev-eng mailing list