qimageblitz
BlitzCPUInfo Class Reference
This class determines what extensions the computer's CPU supports. More...
#include <blitzcpu.h>
Public Types | |
| enum | Extension { MMX = 1 << 0, IntegerSSE = 1 << 1, SSE = 1 << 2, SSE2 = 1 << 3, AMD3DNOW = 1 << 4, AMD3DNOW2 = 1 << 5, AltiVec = 1 << 6 } |
Static Public Member Functions | |
| static bool | haveExtension (unsigned int extension) |
Detailed Description
This class determines what extensions the computer's CPU supports.
These include MMX, SSE, 3dnow, and AltiVec. If you don't write assembler code you probably can ignore this class.
CPU features identification
Definition at line 58 of file blitzcpu.h.
Member Enumeration Documentation
Definition at line 60 of file blitzcpu.h.
Member Function Documentation
| bool BlitzCPUInfo::haveExtension | ( | unsigned int | extension | ) | [static] |
Returns true if the CPU supports the given extension.
Definition at line 176 of file blitzcpu.cpp.
The documentation for this class was generated from the following files:
KDE 4.4 API Reference