1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-11-10 22:59:13 +00:00
libcpuid/tests
Veselin Georgiev 45d04a9e4a Fix P-III Celeron misdetected as plain P-III (misreport id #8)
Reported via http://libcpuid.sourceforge.net/bugreport.php
The test in particular has no brand string, which was causing the
misdetection (as is the case with a lot of other models, libcpuid
relies on accurate brand string being programmed by the BIOS in
order to do the detection).

The actual CPU was a Pentium-III based Celeron (SL54Q), but it
was detected as "Pentium III (Coppermine)".

A bit of historical trivia: for the related Tualatin models, if
the BIOS doesn't enter a brand string, there might be NO WAY to
tell a regular P-3 and a P-3 Celeron apart: P-3s have variants
with 256KiB and 512KiB L2 cache, while the Celerons are 256 KiB, so
a 256KiB regular P3 is no different than its corresponding Celeron.
Only the FSB is different, but there's no way to detect this via
CPUID.

For the Coppermines its an easier case: Celerons are always 128KiB,
and Pentia are 256KiB, so I've added this distinction in the tables.
2018-05-02 11:05:25 +03:00
..
amd DB: Add Raven Ridge APUs and Threadripper CPUs 2018-03-20 19:52:40 +01:00
intel Fix P-III Celeron misdetected as plain P-III (misreport id #8) 2018-05-02 11:05:25 +03:00
create_test.py Add a test with L4 cache (courtesy of @phprus). 2016-07-07 00:53:03 +03:00
Makefile.am When creating a tarball, include the small tests now instead of tests_stash.txt 2014-07-16 10:29:58 +03:00
run_tests.py Enforce Python 2.7 in tests 2017-03-12 09:34:26 +01:00