2001-04-16 20:55:27 +00:00
|
|
|
#ifndef __MPLAYER_MEMCPY
|
2001-04-26 20:35:58 +00:00
|
|
|
#define __MPLAYER_MEMCPY 1
|
|
|
|
|
2001-06-15 12:42:00 +00:00
|
|
|
#include "../config.h"
|
2001-05-14 18:18:14 +00:00
|
|
|
|
2001-06-15 12:42:00 +00:00
|
|
|
#ifdef USE_FASTMEMCPY
|
|
|
|
#if defined(HAVE_MMX) || defined(HAVE_MMX2) || defined(HAVE_3DNOW) \
|
|
|
|
/* || defined(HAVE_SSE) || defined(HAVE_SSE2) */
|
2001-05-05 13:30:00 +00:00
|
|
|
#include <stddef.h>
|
2001-04-26 20:35:58 +00:00
|
|
|
|
2001-05-05 13:30:00 +00:00
|
|
|
extern void * fast_memcpy(void * to, const void * from, size_t len);
|
2001-04-12 14:40:10 +00:00
|
|
|
#define memcpy(a,b,c) fast_memcpy(a,b,c)
|
2001-04-11 20:14:49 +00:00
|
|
|
|
2001-06-15 12:42:00 +00:00
|
|
|
#endif /* HAVE_MMX/MMX2/3DNOW/SSE/SSE2 */
|
|
|
|
#endif /* USE_FASTMEMCPY */
|
2001-05-14 18:18:14 +00:00
|
|
|
#endif
|