MythTV  0.27pre
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Functions | Variables
cpu_detect_x86_gcc.cpp File Reference

Go to the source code of this file.

Functions

void disableExtensions (uint dwDisableMask)
 Disables given set of instruction extensions. See SUPPORT_... defines.
static int mm_support (void)
uint detectCPUextensions (void)
 Checks which instruction set extensions are supported by the CPU.

Variables

static uint _dwDisabledISA = 0x00

Function Documentation

void disableExtensions ( uint  dwDisableMask)

Disables given set of instruction extensions. See SUPPORT_... defines.

Definition at line 67 of file cpu_detect_x86_gcc.cpp.

static int mm_support ( void  )
static

Definition at line 93 of file cpu_detect_x86_gcc.cpp.

Referenced by detectCPUextensions().

uint detectCPUextensions ( void  )

Checks which instruction set extensions are supported by the CPU.

Returns
A bitmask of supported extensions, see SUPPORT_... defines.

Definition at line 200 of file cpu_detect_x86_gcc.cpp.

Referenced by FIRFilter::newInstance(), and soundtouch::TDStretch::newInstance().

Variable Documentation

uint _dwDisabledISA = 0x00
static

Definition at line 64 of file cpu_detect_x86_gcc.cpp.

Referenced by detectCPUextensions(), and disableExtensions().