mirror of
https://github.com/anrieff/libcpuid
synced 2024-12-26 16:55:45 +00:00
2b8023f733
* Set CMAKE_C_FLAGS_DEBUG to display warnings during build CI workflows are reporting warnings. Adding more C flags here help to avoid that. * Add new types * Add set_cpu_affinity function * Add cpu_identify_all function * Add cpu_request_core_type function * Add cpuid_get_all_raw_data, cpuid_serialize_all_raw_data and cpuid_deserialize_all_raw_data functions * Detect hybrid architecture for Intel CPUs * Update cpuid_tool to detect all CPU logical cores * Rename tests subdirectories for Intel Core * Update all tests Since e4309a6c4bc3ad875711a1599cba01a205b3103e, new fields are reported by cpuid_tool * Add Intel Alder Lake Fix #157 * Remove convert_instlatx64.c This tool is not useful anymore because the cpuid_deserialize_raw_data_internal() function can natively parse them since5667e1401c
* Fix affinity_mask computation * Define _GNU_SOURCE in configure.ac Forgotten in4f80964db5
* Use dynamic raw array in cpu_raw_data_array_t * Add cpu_affinity_mask_t type * Improve set_cpu_affinity function - Print a warning if logical CPU number is not supported on operating system - Return a boolean value in case of success instead of an integer * Improve cpu_identify_all and cpu_request_core_type functions * Use dynamic array for cpu_types in system_id_t This commit also adds cleanups, fixes and consistency * Tests: update Ryzen 5 Matisse with all CPU cores * Add affinity_mask_str_r function and address other comments - Fixed cpuid_grow_raw_data_array and cpu_raw_data_array_t.logical_cpu_t with the correct type - Added a note about hard limit of cpu_raw_data_array_t - Fixed a typo in cpuid_deserialize_raw_data_internal * Fix build on Windows
108 lines
4.5 KiB
Text
108 lines
4.5 KiB
Text
basic_cpuid[0]=0000000d 68747541 444d4163 69746e65
|
|
basic_cpuid[1]=00630f01 00040800 3e98320b 178bfbff
|
|
basic_cpuid[2]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[3]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[4]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[5]=00000040 00000040 00000003 00000000
|
|
basic_cpuid[6]=00000000 00000000 00000001 00000000
|
|
basic_cpuid[7]=00000000 00000009 00000000 00000000
|
|
basic_cpuid[8]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[9]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[10]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[11]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[12]=00000000 00000000 00000000 00000000
|
|
basic_cpuid[13]=00000007 00000340 000003c0 40000000
|
|
basic_cpuid[14]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[15]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[16]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[17]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[18]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[19]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[20]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[21]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[22]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[23]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[24]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[25]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[26]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[27]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[28]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[29]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[30]=ffffffff ffffffff ffffffff ffffffff
|
|
basic_cpuid[31]=ffffffff ffffffff ffffffff ffffffff
|
|
ext_cpuid[0]=8000001e 68747541 444d4163 69746e65
|
|
ext_cpuid[1]=00630f01 00000000 0fabbfff 2fd3fbff
|
|
ext_cpuid[2]=20444d41 20303141 2d4f5250 30353337
|
|
ext_cpuid[3]=36522042 3031202c 6d6f4320 65747570
|
|
ext_cpuid[4]=726f4320 34207365 47362b43 00202020
|
|
ext_cpuid[5]=ff40ff18 ff40ff30 10040140 60030140
|
|
ext_cpuid[6]=64006400 64004200 08008140 00000000
|
|
ext_cpuid[7]=00000000 00000001 00000000 000027d9
|
|
ext_cpuid[8]=00003030 00001000 00004003 00000000
|
|
ext_cpuid[9]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[10]=00000001 00010000 00000000 00001cff
|
|
ext_cpuid[11]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[12]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[13]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[14]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[15]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[16]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[17]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[18]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[19]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[20]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[21]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[22]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[23]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[24]=00000000 00000000 00000000 00000000
|
|
ext_cpuid[25]=f040f018 64006400 00000000 00000000
|
|
ext_cpuid[26]=00000003 00000000 00000000 00000000
|
|
ext_cpuid[27]=000001ff 00000000 00000000 00000000
|
|
ext_cpuid[28]=00000000 80032013 00010200 e000000f
|
|
ext_cpuid[29]=ffffffff ffffffff ffffffff ffffffff
|
|
ext_cpuid[30]=00000010 00000100 00000000 00000000
|
|
ext_cpuid[31]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn4[0]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn4[1]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn4[2]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn4[3]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn4[4]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn4[5]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn4[6]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn4[7]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn11[0]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn11[1]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn11[2]=ffffffff ffffffff ffffffff ffffffff
|
|
intel_fn11[3]=ffffffff ffffffff ffffffff ffffffff
|
|
amd_fn8000001dh[0]=ffffffff ffffffff ffffffff ffffffff
|
|
amd_fn8000001dh[1]=ffffffff ffffffff ffffffff ffffffff
|
|
amd_fn8000001dh[2]=ffffffff ffffffff ffffffff ffffffff
|
|
amd_fn8000001dh[3]=ffffffff ffffffff ffffffff ffffffff
|
|
--------------------------------------------------------------------------------
|
|
x86
|
|
general
|
|
15
|
|
0
|
|
1
|
|
21
|
|
48
|
|
4
|
|
4
|
|
16
|
|
96
|
|
2048
|
|
0
|
|
-1
|
|
4
|
|
3
|
|
16
|
|
-1
|
|
-1
|
|
64
|
|
64
|
|
64
|
|
-1
|
|
-1
|
|
128 (authoritative)
|
|
Kaveri X4
|
|
fpu vme de pse tsc msr pae mce cx8 apic mtrr sep pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht pni pclmul monitor ssse3 cx16 sse4_1 sse4_2 syscall popcnt aes xsave osxsave avx mmxext nx fxsr_opt rdtscp lm lahf_lm cmp_legacy svm abm misalignsse sse4a 3dnowprefetch osvw ibs skinit wdt ts ttp tm_amd 100mhzsteps hwpstate constant_tsc xop fma3 fma4 tbm f16c cpb aperfmperf bmi1
|