2 * Copyright (C) 2009 David McPaul
4 * All rights reserved. Distributed under the terms of the MIT License.
6 #ifndef __CPU_CAPABILITIES__
7 #define __CPU_CAPABILITIES__
10 #include <SupportDefs.h>
13 #define CAPABILITY_MMX 1
14 #define CAPABILITY_SSE1 2
15 #define CAPABILITY_SSE2 3
16 #define CAPABILITY_SSE3 4
17 #define CAPABILITY_SSSE3 5
18 #define CAPABILITY_SSE41 6
19 #define CAPABILITY_SSE42 7
22 class CPUCapabilities
{
35 void PrintCapabilities();
38 #if defined(__INTEL__) || defined(__x86_64__)
39 void _SetIntelCapabilities();
40 #endif // __INTEL__ || __x86_64__
45 #endif //__CPU_CAPABILITIES__