[SDL] [PATCH] Re: SDL_memcpy variants used in SDL_BlitCopy
stephane.marchesin at wanadoo.fr
Tue Sep 13 06:06:06 PDT 2005
> About MMX copying - AMD heavily optimized.
> Intel/AMD MMX routine, using in Linux sources.
> I suppose SDL should use ideas from http://grace-ist.org
> and use different AMD/Intel routines.
> simple patch for unrolling SDL_memcpyMMX loop:
Actually, for the kind of memcpy that SDL does (small blocks on average), the rolled version is faster than the unrolled one. Same goes for the "heavily optimized" memcpy that you can find on the net, these are aimed at large blocks.
More information about the SDL