1
mirror of https://github.com/mpv-player/mpv synced 2024-10-18 10:25:02 +02:00
mpv/cpudetect.h
pontscho f8ce675a2f amd fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2281 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-19 13:01:31 +00:00

23 lines
335 B
C

#ifdef ARCH_X86
#define CPUTYPE_I386 0
#define CPUTYPE_I486 1
#define CPUTYPE_I586 2
#define CPUTYPE_I686 3
typedef struct cpucaps_s {
int cpuType;
int hasMMX;
int hasMMX2;
int has3DNow;
int has3DNowExt;
int hasSSE;
int hasSSE2;
} CpuCaps;
extern CpuCaps gCpuCaps;
void GetCpuCaps( CpuCaps *caps);
#endif /* ARCH_X86 */