The IsProcessorFeaturePresent function determines whether the specified processor feature is supported by the current computer.
Processor feature to be tested. This parameter can be one of the following values:
Value | Description |
---|---|
PF_3DNOW_INSTRUCTIONS_AVAILABLE | The 3D-Now instruction set is available. |
PF_COMPARE_EXCHANGE_DOUBLE | The compare and exchange double operation is available (Pentium, MIPS, and Alpha). |
PF_FLOATING_POINT_EMULATED |
Floating-point operations are emulated using a software emulator. This function returns true if floating-point operations are emulated; otherwise, it returns false. Windows NT 4.0: This function returns false if floating-point operations are emulated; otherwise, it returns true. This behavior is a bug that is fixed in later versions. |
PF_FLOATING_POINT_PRECISION_ERRATA | Pentium: In rare circumstances, a floating-point precision error can occur. |
PF_MMX_INSTRUCTIONS_AVAILABLE | The MMX instruction set is available. |
PF_PAE_ENABLED | The processor is PAE-enabled. |
PF_RDTSC_INSTRUCTION_AVAILABLE | The RDTSC instruction is available. |
PF_XMMI_INSTRUCTIONS_AVAILABLE | The SSE instruction set is available. |
PF_XMMI64_INSTRUCTIONS_AVAILABLE | The SSE2 instruction set is available. |
If the feature is supported, the return value is true.
If the feature is not supported, the return value is false.
Kernel Class | Tao.Platform.Windows Namespace