comparison libvo/aclib_template.c @ 5662:663ca5050f7e

prefer prefetchnta if its available
author michael
date Wed, 17 Apr 2002 19:11:52 +0000
parents 4dcc7af65eec
children 113d66d78967
comparison
equal deleted inserted replaced
5661:42e002c565cf 5662:663ca5050f7e
102 #endif 102 #endif
103 103
104 #undef PREFETCH 104 #undef PREFETCH
105 #undef EMMS 105 #undef EMMS
106 106
107 #ifdef HAVE_3DNOW 107 #ifdef HAVE_MMX2
108 #define PREFETCH "prefetchnta"
109 #elif defined ( HAVE_3DNOW )
108 #define PREFETCH "prefetch" 110 #define PREFETCH "prefetch"
109 #elif defined ( HAVE_MMX2 )
110 #define PREFETCH "prefetchnta"
111 #else 111 #else
112 #define PREFETCH "/nop" 112 #define PREFETCH "/nop"
113 #endif 113 #endif
114 114
115 /* On K6 femms is faster of emms. On K7 femms is directly mapped on emms. */ 115 /* On K6 femms is faster of emms. On K7 femms is directly mapped on emms. */