Lines Matching refs:cpu_info
31 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
36 : "=a"(cpu_info[0]), "=D"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo()
42 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
47 : "=a"(cpu_info[0]), "=&r"(cpu_info[1]), "=c"(cpu_info[2]), in GetCPUInfo()
48 "=d"(cpu_info[3]) in GetCPUInfo()
52 static WEBP_INLINE void GetCPUInfo(int cpu_info[4], int info_type) { in GetCPUInfo()
55 : "=a"(cpu_info[0]), "=b"(cpu_info[1]), "=c"(cpu_info[2]), "=d"(cpu_info[3]) in GetCPUInfo()
121 int cpu_info[4]; in x86CPUInfo() local
125 GetCPUInfo(cpu_info, 0); in x86CPUInfo()
126 max_cpuid_value = cpu_info[0]; in x86CPUInfo()
133 is_intel = (cpu_info[1] == VENDOR_ID_INTEL_EBX && in x86CPUInfo()
134 cpu_info[2] == VENDOR_ID_INTEL_ECX && in x86CPUInfo()
135 cpu_info[3] == VENDOR_ID_INTEL_EDX); // genuine Intel? in x86CPUInfo()
138 GetCPUInfo(cpu_info, 1); in x86CPUInfo()
140 return !!(cpu_info[3] & (1 << 26)); in x86CPUInfo()
143 return !!(cpu_info[2] & (1 << 0)); in x86CPUInfo()
146 if (is_intel && (cpu_info[2] & (1 << 9))) { // SSSE3? in x86CPUInfo()
147 return CheckSlowModel(cpu_info[0]); in x86CPUInfo()
153 return !!(cpu_info[2] & (1 << 19)); in x86CPUInfo()
157 if ((cpu_info[2] & 0x18000000) == 0x18000000) { in x86CPUInfo()
164 GetCPUInfo(cpu_info, 7); in x86CPUInfo()
165 return !!(cpu_info[1] & (1 << 5)); in x86CPUInfo()