first commit
This commit is contained in:
9
third_party/opus/cmake/cpu_info_by_c.c
vendored
Normal file
9
third_party/opus/cmake/cpu_info_by_c.c
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
#include <cpuid.h>
|
||||
int main() {
|
||||
unsigned int CPUInfo0;
|
||||
unsigned int CPUInfo1;
|
||||
unsigned int CPUInfo2;
|
||||
unsigned int CPUInfo3;
|
||||
unsigned int InfoType;
|
||||
return __get_cpuid_count(InfoType, 0, &CPUInfo0, &CPUInfo1, &CPUInfo2, &CPUInfo3);
|
||||
}
|
||||
Reference in New Issue
Block a user