Markus Lehtonen
98fd07b117
cpu: ignore unknown cpuid flags on non-x86
...
Avoid trying to create empty "cpu-cpuid." labels for cpuid flags that we
don't have a description for.
2022-10-17 17:09:36 +03:00
Yaakov Selkowitz
cba7ad6552
cpu: document canonical sources of supported CPU flags
2022-10-14 14:07:02 -04:00
Yaakov Selkowitz
ebebea55c3
cpu: add POWER10 CPU flags
2022-10-14 14:07:02 -04:00
Markus Lehtonen
03bf94a8ad
source/cpu: implement FeatureSource
...
Convert the cpu source to do feature discovery and creation of feature
labels separately.
Move cpuidutils from source/internal to the source/cpu package. Change
the cpuid custom rule to utilize GetFeatures of the cpu source.
Also, add minimalist unit test.
2021-11-11 18:33:40 +02:00
Mikko Ylinen
109da6c980
source/cpu: move cpuid code to a shared internal package
...
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
2020-09-14 10:32:04 +03:00
Markus Lehtonen
1a2f54367e
source/cpu: mangle through gofmt
2020-05-19 14:28:07 +03:00
Yaakov Selkowitz
81494f1883
source/cpu: add IBM Power CPU support to cpuid
2019-08-28 07:53:10 -04:00