1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00
libcpuid/tests/intel/p2/petium-m-dothan.test
Xorg 2b8023f733
Support for hybrid CPU (#166)
* 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 since 5667e1401c

* Fix affinity_mask computation

* Define _GNU_SOURCE in configure.ac

Forgotten in 4f80964db5

* 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
2022-09-15 18:37:08 +02:00

96 lines
3.7 KiB
Text

basic_cpuid[0]=00000002 756e6547 6c65746e 49656e69
basic_cpuid[1]=000006d6 00000816 00000180 afe9f9bf
basic_cpuid[2]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[3]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[4]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[5]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[6]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[7]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[8]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[9]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[10]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[11]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[12]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[13]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[14]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[15]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[16]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[17]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[18]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[19]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[20]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[21]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[22]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[23]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[24]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[25]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[26]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[27]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[28]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[29]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[30]=02b3b001 000000f0 00000000 2c04307d
basic_cpuid[31]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[0]=80000004 00000000 00000000 00000000
ext_cpuid[1]=00000000 00000000 00000000 00000000
ext_cpuid[2]=20202020 20202020 65746e49 2952286c
ext_cpuid[3]=6e655020 6d756974 20295228 7270204d
ext_cpuid[4]=7365636f 20726f73 30362e31 007a4847
ext_cpuid[5]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[6]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[7]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[8]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[9]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[10]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[11]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[12]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[13]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[14]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[15]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[16]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[17]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[18]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[19]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[20]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[21]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[22]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[23]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[24]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[25]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[26]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[27]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[28]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[29]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[30]=02b3b001 000000f0 00000000 2c04307d
ext_cpuid[31]=02b3b001 000000f0 00000000 2c04307d
intel_fn4[0]=02b3b001 000000f0 00000000 2c04307d
intel_fn4[1]=02b3b001 000000f0 00000000 2c04307d
intel_fn4[2]=02b3b001 000000f0 00000000 2c04307d
intel_fn4[3]=02b3b001 000000f0 00000000 2c04307d
--------------------------------------------------------------------------------
x86
general
6
13
6
6
13
1
1
32
32
2048
-1
-1
8
8
8
-1
-1
64
64
64
-1
-1
64 (non-authoritative)
Pentium M (Dothan)
fpu vme de pse tsc msr mce cx8 mtrr sep pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe est tm2