Page 1 of 1

What are test registers?

Posted: Wed Nov 08, 2017 8:41 am
by Coconut9
I have read about test registers tr0-tr7 but their usage is nowhere! What they are doing?

Re: What are test registers?

Posted: Wed Nov 08, 2017 9:13 am
by Brendan
Hi,
ARISTOS wrote:I have read about test registers tr0-tr7 but their usage is nowhere! What they are doing?
These registers existed on 80486 CPUs (and nothing else), and were used to allow CPU's cache to be tested for hardware faults.

Older CPUs (80386 and older) didn't have cache built into the CPU and didn't support the registers. For newer CPUs (Pentium and later) Intel removed these registers, and for some and not others (e.g. Pentium II but not Pentium) implemented cache testing as model specific registers instead.


Cheers,

Brendan