Update of /cvsroot/mplayer/main/libvo In directory usw-pr-cvs1:/tmp/cvs-serv12897 Modified Files: fastmemcpy.h Log Message: __memcpy fix Index: fastmemcpy.h =================================================================== RCS file: /cvsroot/mplayer/main/libvo/fastmemcpy.h,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** fastmemcpy.h 2001/04/12 00:05:18 1.2 --- fastmemcpy.h 2001/04/12 00:09:57 1.3 *************** *** 9,13 **** #ifndef HAVE_MMX2 //static inline void * __memcpy(void * to, const void * from, unsigned n) ! inline static void * memcpy(void * to, const void * from, unsigned n) { int d0, d1, d2; --- 9,13 ---- #ifndef HAVE_MMX2 //static inline void * __memcpy(void * to, const void * from, unsigned n) ! inline static void * fast_memcpy(void * to, const void * from, unsigned n) { int d0, d1, d2; *************** *** 28,32 **** #else //inline static void *__memcpy_mmx2(void *to, const void *from, unsigned len) ! inline static void * memcpy(void * to, const void * from, unsigned len) { void *p; --- 28,32 ---- #else //inline static void *__memcpy_mmx2(void *to, const void *from, unsigned len) ! inline static void * fast_memcpy(void * to, const void * from, unsigned len) { void *p; *************** *** 92,98 **** * Now do the tail of the block */ ! __memcpy(to, from, len&63); return p; } #endif --- 92,100 ---- * Now do the tail of the block */ ! memcpy(to, from, len&63); return p; } #endif + + #define memcpy(a,b,c) fast_memcpy(a,b,c) _______________________________________________ Mplayer-cvslog mailing list Mplayer-cvslog@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog
participants (1)
-
GEREOFFY