Lines Matching defs:cpuid_info

66 	struct cpuid_values cpuid_info;
69 __libc_get_cpuid(4, (uint_t *)&cpuid_info, cache_index);
71 cache_type = cpuid_info.eax & 0x1f;
87 cache_level = (cpuid_info.eax >> 0x5) & 0x7;
88 line_size = (cpuid_info.ebx & 0xfff) + 1;
89 partitions = ((cpuid_info.ebx >> 12) & 0x3ff) + 1;
90 ways = ((cpuid_info.ebx >> 22) & 0x3ff) + 1;
91 sets = cpuid_info.ecx + 1;
120 struct cpuid_values cpuid_info;
124 cpuid_info.eax = 0;
125 __libc_get_cpuid(0x80000000, (uint_t *)&cpuid_info, -1);
126 maxeax = cpuid_info.eax;
129 __libc_get_cpuid(0x80000005, (uint_t *)&cpuid_info, -1);
130 l1_cache_size = ((cpuid_info.ecx >> 24) & 0xff) * 1024;
134 __libc_get_cpuid(0x80000006, (uint_t *)&cpuid_info, -1);
135 l2_cache_size = ((cpuid_info.ecx >> 16) & 0xffff) * 1024;
136 l3_cache_size = ((cpuid_info.edx >> 18) & 0x3fff) * 512 * 1024;
148 __libc_get_cpuid(0x80000008, (uint_t *)&cpuid_info, -1);
149 ncores = (cpuid_info.ecx & 0xff) + 1;
174 struct cpuid_values cpuid_info;
176 __libc_get_cpuid(0, &cpuid_info, 0);
181 if ((cpuid_info.ebx == 0x68747541) && /* Auth */
182 (cpuid_info.edx == 0x69746e65) && /* enti */
183 (cpuid_info.ecx == 0x444d4163)) { /* cAMD */
191 if ((cpuid_info.ebx != 0x756e6547) || /* Genu */
192 (cpuid_info.edx != 0x49656e69) || /* ineI */
193 (cpuid_info.ecx != 0x6c65746e)) { /* ntel */
208 if (cpuid_info.eax >= 4) {
214 __libc_get_cpuid(1, &cpuid_info, 0);
215 if (cpuid_info.ecx & CPUID_INTC_ECX_SSE4_2) {
218 if (cpuid_info.ecx & CPUID_INTC_ECX_SSE4_1) {
221 if (cpuid_info.ecx & CPUID_INTC_ECX_SSSE3) {
224 if (cpuid_info.ecx & CPUID_INTC_ECX_SSE3) {
227 if (cpuid_info.edx & CPUID_INTC_EDX_SSE2) {