The _cpuidex intrinsic sets the value of the ECX register to subfunction_id before it generates the cpuid instruction. The _cpuid intrinsic clears the ECX register before calling the cpuid instruction. The information returned with various values of function_id is processor-dependent. The information returned has a different meaning depending on the value passed as the function_id parameter. This intrinsic stores the supported features and CPU information returned by the cpuid instruction in cpuInfo, an array of four 32-bit integers that's filled with the values of the EAX, EBX, ECX, and EDX registers (in that order). An additional code that specifies information to retrieve, passed in ECX. A code that specifies the information to retrieve, passed in EAX. An array of four integers that contains the information returned in EAX, EBX, ECX, and EDX about supported features of the CPU. This instruction queries the processor for information about supported features and the CPU type. Generates the cpuid instruction that is available on x86 and 圆4.
0 Comments
Leave a Reply. |