foobar2000 SDK
2015-08-03
Main Page
Related Pages
Namespaces
Data Structures
Files
File List
Globals
pfc
cpuid.h
Go to the documentation of this file.
1
2
// CPUID stuff supported only on MSVC for now, irrelevant for non x86
3
#if defined(_MSC_VER) && (defined(_M_IX86) || defined(_M_X64))
4
#define PFC_HAVE_CPUID 1
5
namespace
pfc
{
6
enum
{
7
CPU_HAVE_3DNOW
= 1 << 0,
8
CPU_HAVE_3DNOW_EX
= 1 << 1,
9
CPU_HAVE_SSE
= 1 << 2,
10
CPU_HAVE_SSE2
= 1 << 3,
11
CPU_HAVE_SSE3
= 1 << 4,
12
CPU_HAVE_SSSE3
= 1 << 5,
13
CPU_HAVE_SSE41
= 1 << 6,
14
CPU_HAVE_SSE42
= 1 << 7,
15
};
16
17
bool
query_cpu_feature_set
(
unsigned
p_value);
18
};
19
#endif
20
21
#ifndef PFC_HAVE_CPUID
22
#define PFC_HAVE_CPUID 0
23
#endif
pfc::CPU_HAVE_3DNOW
Definition:
cpuid.h:7
pfc
Definition:
file_info_impl.h:22
pfc::query_cpu_feature_set
bool query_cpu_feature_set(unsigned p_value)
Definition:
cpuid.cpp:7
pfc::CPU_HAVE_3DNOW_EX
Definition:
cpuid.h:8
pfc::CPU_HAVE_SSE41
Definition:
cpuid.h:13
pfc::CPU_HAVE_SSE42
Definition:
cpuid.h:14
pfc::CPU_HAVE_SSE3
Definition:
cpuid.h:11
pfc::CPU_HAVE_SSE
Definition:
cpuid.h:9
pfc::CPU_HAVE_SSSE3
Definition:
cpuid.h:12
pfc::CPU_HAVE_SSE2
Definition:
cpuid.h:10
Generated by
1.8.11