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