The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



CPU_FeatureSet


Unit:SDL_cpuid
Class: none
Declaration: function CPU_FeatureSet: LongInt;

The CPU_FeatureSet function returns a bit vector of 32 bits which indicate the available CPU features. The list of features for Intel type CPUs is declared in the enumerated type TCPUFeatures. In addition, the string array CPUFeatureNames contains a short description for each feature.

Hint: Please note that the CPU feature bits have been defined by various manufacturers in an incompatible way. Especially bits 16 and 24 provide conflicts.

Example: This function is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): cpuinfo



Last Update: 2023-Feb-06