[Mplayer-cvslog] CVS: main/libvo fastmemcpy.h,1.7,1.8

Zoltan Ponekker pontscho at users.sourceforge.net
Wed Apr 18 22:44:18 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv28619/libvo

Modified Files:
	fastmemcpy.h 
Log Message:
replace "movsl..." to small_memcpy

Index: fastmemcpy.h
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/fastmemcpy.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** fastmemcpy.h	2001/04/16 21:08:05	1.7
--- fastmemcpy.h	2001/04/18 20:44:16	1.8
***************
*** 127,149 ****
  	 *	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)
  
  #endif
--- 127,136 ----
  	 *	Now do the tail of the block
  	 */
  	small_memcpy(to, from, len);
  	return p;
  }
  #define memcpy(a,b,c) fast_memcpy(a,b,c)
+ 
+ #undef small_memcpy
  
  #endif


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list