Mercurial > mplayer.hg
comparison cpudetect.h @ 2268:72ff2179d396
cpu detect code by Eric Anholt <eanholt@gladstone.uoregon.edu>
author | arpi |
---|---|
date | Fri, 19 Oct 2001 00:40:19 +0000 |
parents | |
children | b318387bfeda |
comparison
equal
deleted
inserted
replaced
2267:3df32dabe98c | 2268:72ff2179d396 |
---|---|
1 #ifdef ARCH_X86 | |
2 | |
3 #define CPUTYPE_I386 0 | |
4 #define CPUTYPE_I486 1 | |
5 #define CPUTYPE_I586 2 | |
6 | |
7 typedef struct cpucaps_s { | |
8 int cpuType; | |
9 int hasMMX; | |
10 int hasMMX2; | |
11 int has3DNow; | |
12 int has3DNowExt; | |
13 int hasSSE; | |
14 int hasSSE2; | |
15 } CpuCaps; | |
16 | |
17 extern CpuCaps gCpuCaps; | |
18 | |
19 void GetCpuCaps( CpuCaps *caps); | |
20 | |
21 #endif /* ARCH_X86 */ |