www.pudn.com > DirectDraw.rar > cpuid.h, change:2007-05-08,size:784b


#ifndef _CPUID_H_ 
#define _CPUID_H_ 
 
#define XVID_CPU_FORCE    (1<<31) /* force passed cpu flags */ 
#define XVID_CPU_ASM      (1<< 7) /* native assembly */ 
/* ARCH_IS_IA32 */ 
#define XVID_CPU_MMX      (1<< 0) /*       mmx : pentiumMMX,k6 */ 
#define XVID_CPU_MMXEXT   (1<< 1) /*   mmx-ext : pentium2, athlon */ 
#define XVID_CPU_SSE      (1<< 2) /*       sse : pentium3, athlonXP */ 
#define XVID_CPU_SSE2     (1<< 3) /*      sse2 : pentium4, athlon64 */ 
#define XVID_CPU_3DNOW    (1<< 4) /*     3dnow : k6-2 */ 
#define XVID_CPU_3DNOWEXT (1<< 5) /* 3dnow-ext : athlon */ 
#define XVID_CPU_TSC      (1<< 6) /*       tsc : Pentium */ 
 
#ifdef __cplusplus 
extern "C"{ 
#endif 
/* detect cpu flags  */ 
unsigned int detect_cpu_flags(void); 
#ifdef __cplusplus 
} 
#endif 
#endif