Fixed two CPUID auto-cache detection problems reported by Guillaume Laurent:
- Some Intel cases were missing, giving spurious warnings such as:
--18114-- warning: Unknown Intel cache config value (0x50), ignoring
- The 0x40 case was wrong... its meaning depends on whether you have a P6
core ("no L2 cache present") or a P4 core ("no L3 cache present").
Damn wretched Intel CPUID format.
I was unwittingly assuming P6 cores which meant that P4 cores reporting
no L3 got this bogus warning:
--18114-- warning: L2 cache not installed, ignore L2 results.
So I now don't do anything for that case, and detect a missing L2 cache
by checking if its set by any of the other entries.
Turns out neither was affecting the results, but better to get rid of them
anyway.
Guillaume tested the changes for me so hopefully they work.