Mercurial > mplayer.hg
changeset 513:aec3cad1e41a
replace "movsl..." to small_memcpy
author | pontscho |
---|---|
date | Wed, 18 Apr 2001 20:44:16 +0000 |
parents | 5cc44d8c20f2 |
children | 4a8e05985649 |
files | libvo/fastmemcpy.h |
diffstat | 1 files changed, 2 insertions(+), 15 deletions(-) [+] |
line wrap: on
line diff
--- a/libvo/fastmemcpy.h Wed Apr 18 20:39:04 2001 +0000 +++ b/libvo/fastmemcpy.h Wed Apr 18 20:44:16 2001 +0000 @@ -126,26 +126,13 @@ /* * Now do the tail of the block */ -#if 0 small_memcpy(to, from, len); -#else - __asm__ __volatile__ ( - "shrl $1,%%ecx\n" - "jnc 1f\n" - "movsb\n" - "1:\n" - "shrl $1,%%ecx\n" - "jnc 2f\n" - "movsw\n" - "2:\n" - "rep ; movsl\n" - ::"D" (to), "S" (from),"c" (len) - : "memory"); -#endif return p; } #define memcpy(a,b,c) fast_memcpy(a,b,c) +#undef small_memcpy + #endif #endif