Searched refs:registers (Results 1 – 4 of 4) sorted by relevance
98 void check_cpuid(int leaf, int sub_leaf, int registers[4]) { in check_cpuid()100 __cpuidex(registers, leaf, sub_leaf); in check_cpuid()121 registers[0] = reg_eax; in check_cpuid()122 registers[1] = reg_ebx; in check_cpuid()123 registers[2] = reg_ecx; in check_cpuid()124 registers[3] = reg_edx; in check_cpuid()134 int registers[4] = {0}; in detect_cpu_features() local137 check_cpuid(7, 0, registers); in detect_cpu_features()138 cpu_features.rtm_enabled = (registers[1] & rtm_ebx_mask) != 0; in detect_cpu_features()139 cpu_features.waitpkg_enabled = (registers[2] & waitpkg_ecx_mask) != 0; in detect_cpu_features()
16 registers for the previous logical thread that it was executing, and17 load its registers for the next logical thread that it runs.
41 process. Since the CPU timer registers are *not* valid across threads on
83 to the compiler that the values can be held in registers instead of84 memory. If the values are too large to fit in registers, or have