Mercurial > mplayer.hg
comparison libvo/fastmemcpy.h @ 1131:30e6a115a088
cosmetic changes and sse/sse included
author | al3x |
---|---|
date | Fri, 15 Jun 2001 12:42:00 +0000 |
parents | dc6cdb87229a |
children | 8db59073127e |
comparison
equal
deleted
inserted
replaced
1130:a95cedf133c1 | 1131:30e6a115a088 |
---|---|
1 #ifndef __MPLAYER_MEMCPY | 1 #ifndef __MPLAYER_MEMCPY |
2 #define __MPLAYER_MEMCPY 1 | 2 #define __MPLAYER_MEMCPY 1 |
3 | 3 |
4 #include "../config.h" | |
5 | |
4 #ifdef USE_FASTMEMCPY | 6 #ifdef USE_FASTMEMCPY |
5 | 7 #if defined(HAVE_MMX) || defined(HAVE_MMX2) || defined(HAVE_3DNOW) \ |
6 #if defined( HAVE_MMX2 ) || defined( HAVE_3DNOW ) || defined( HAVE_MMX ) | 8 /* || defined(HAVE_SSE) || defined(HAVE_SSE2) */ |
7 #include <stddef.h> | 9 #include <stddef.h> |
8 | 10 |
9 extern void * fast_memcpy(void * to, const void * from, size_t len); | 11 extern void * fast_memcpy(void * to, const void * from, size_t len); |
10 #define memcpy(a,b,c) fast_memcpy(a,b,c) | 12 #define memcpy(a,b,c) fast_memcpy(a,b,c) |
11 | 13 |
14 #endif /* HAVE_MMX/MMX2/3DNOW/SSE/SSE2 */ | |
15 #endif /* USE_FASTMEMCPY */ | |
12 #endif | 16 #endif |
13 | |
14 #endif | |
15 | |
16 #endif |