K6 identifying

Juhani Rautiainen (jrauti@sasu1.carelian.fi)
Tue, 9 Sep 1997 19:54:37 +0300 (EET DST)

It seems that there is a way to check very precise version of K6
processor but how to implement it seems to be beyond my skills and
knowledge of x86 internals. AMD K86 BIOS and SW developers Guide
http://www.amd.com/K6/k6docs/pdf/21062e.pdf has section which speaks
about TAP instructions. IDCODE instruction seems to return value in
DIR(?) register which contains version code (incremented by AMD
manufacturing for each revision of silicon), part number and manufacturer.
Is it possible to probe these values from kernel?


Juhani Rautiainen			jrauti@iki.fi