Global Information Lookup Global Information

Test register information


A test register, in the Intel 80386 and Intel 80486 processor, was a register used by the processor, usually to do a self-test. Most of these registers were undocumented, and used by specialized software. The test registers were named TR3 to TR7. Regular programs don't usually require these registers to work. With the Pentium, the test registers were replaced by a variety of model-specific registers (MSRs).[1]

In the 80386, two test registers, TR6 and TR7, were provided for the purpose of TLB testing. TR6 was the test command register, and TR7 was the test data register. The 80486 provided three additional registers, TR3, TR4 and TR5, for testing of the L1 cache. TR3 was a data register, TR4 was an address register and TR5 was a command register. These registers were accessed by variants of the MOV instruction. A test register may either be the source operand or the destination operand. The MOV instructions are defined in both real-address mode and protected mode. The test registers are privileged resources. In protected mode, the MOV instructions that access them can only be executed at privilege level 0. An attempt to read or write the test registers when executing at any other privilege level causes a general protection exception. Also, those instructions generate invalid opcode exception on most CPUs newer than 80486.

The instruction is encoded in two ways, depending on the flow of data. Moving data from a general purpose register into a test register is encoded as 0F 26 /r (with r/m being the GPR, and reg being the test register). Moving data the other way (i.e. from the test register into a general purpose register) is encoded as 0F 24 /r (with r/m being the GPR, and reg being the test register).[2] Only register-register moves are allowed; memory forms of the ModR/M byte are undefined. In other words, the mod field (the two MSBs) must be set to 1.

The test registers and/or associated opcodes were supported in the following x86 processors:

Processors Cache Test Registers TLB Test Registers
TR0 TR1 TR2 TR3 TR4 TR5 TR6 TR7
Intel 386 (all models) No No undoc[a] Yes
Intel 486 (all models) No Yes Yes
AMD 386 (all models)
AMD Élan SC3xx
No No ? Yes[4]
AMD 486 (all models)
AMD 5x86
AMD Élan SC4xx,SC5xx
No Yes[5] Yes
NexGen Nx586 No No Yes[6]
Cyrix[b] 486 (all models[c])
Cyrix 5x86
No Yes[8] Yes
Cyrix 6x86 No undoc[d] Yes Yes (VSPM)[e]
Cyrix 6x86MX, MII
VIA Cyrix III[f]
No Yes (scratchpad)[g] Yes
Cyrix MediaGX
NatSemi Geode GX
No Yes[14] Yes
NatSemi Geode GX2
AMD Geode GX, LX
TR0-TR7 registers present as 32-bit read/write data registers
without any cache/TLB test functionality.[15]
IDT WinChip (all models) Registers not present. The MOV TRx opcodes can be enabled
with the WinChip's FCR.EMOVTR[16] bit, but will act as NOPs.
Intel Quark X1000 No Yes[17] Yes
  1. ^ On the Intel 386, the TR4 and TR5 registers have been reported to act as undocumented read-only registers returning a data item related to instruction prefetch.[3]
  2. ^ Cyrix manufacturing partner CPU models from IBM, TI and ST also all supported the same test registers as their corresponding Cyrix-branded CPU models.
  3. ^ SoCs based on the Cyrix-derived ST486 CPU core also supported the same set of test registers as the Cyrix 486 - such SoCs include e.g. STPC Atlas and ZFMicro ZFx86.[7]
  4. ^ On the Cyrix 6x86, the TR1 and TR2 registers could be enabled by setting bit 6 of Cyrix configuration register 30h. These registers are not documented, but example code using them has been published by Cyrix.[9]
  5. ^ On the Cyrix 6x86, the TR6 and TR7 registers could be used not only to test the TLB, but also to configure the processor's VSPM (Variable-Size Paging Mechanism).[10] The VSPM was a 4-entry[11] software TLB with a per-entry mask to support all power-of-2 page sizes from to bytes. It was present in the Cyrix 6x86 only - it was removed in 6x86MX and later processors.
  6. ^ "Joshua" core only. "Samuel" core variants of Cyrix III did not support the TRx test registers.
  7. ^ On the 6x86MX, MII, and "Joshua" Cyrix III processors, the TR3-TR5 registers could be used not just to test the L1 cache but also to lock individual L1 cache-lines to specific addresses for scratchpad memory use.[12][13]
  1. ^ Intel, Pentium® Processor Family Developer’s Manual, order no. 241428-005, 1997, section 16.1.2, page 442 - provides a list of Pentium MSRs that provide the same functionality as the 386/486 TRx registers.
  2. ^ Introduction to the 80386 Including the 80386 Data Sheet. Intel. April 1986. p. 122.
  3. ^ Robert Collins, Move Special Registers, archived on 5 Jun 1997.
  4. ^ AMD, Am386 Microprocessors Data Book, 1992, pages 21 and 151
  5. ^ AMD, Am486® Microprocessor Software User’s Manual, rev.1, 1994, section 1.59, p. 82
  6. ^ NexGen, Nx586™ Processor and Nx587™ Numerics Processor Databook, 8 July 1993, page 116
  7. ^ ZFMicro, ZFx86 Data Book 1.0 Rev D, 5 June 2006, page 101
  8. ^ Cyrix, Cx486DLC Microprocessor Data Sheet, order no. 94706-01, May 1992, section 2.3.2.6, p.37
  9. ^ Cyrix, 6x86 BIOS Writer’s Guide, revision 4.1, 29 July 1996, page 43.
  10. ^ Cyrix, 6x86 Processor data book, order no. 94175-01, March 1996, section 2.6.5, p. 74
  11. ^ Linux kernel archive, Re: Cyrix 6x86 Patch.., 4 Nov 1996
  12. ^ Cyrix, 6x86MX Processor Data Book, order no. 94329-00, 15 July 1997, section 2.13.1.1, page 87
  13. ^ VIA-Cyrix Corp., Cyrix III Processor Data Book, v1.0, 25 January 2000, section 2.9.1.1, page 86
  14. ^ Cyrix, MediaGX Processor Data Book, rev 2.0, 29 October 1998, section 3.3.2.4, p.59
  15. ^ AMD, Geode™ LX Processors Data Book, publication ID: 33234H, February 2009, section 8.3.4.3, p.648
  16. ^ IDT, WinChip C6 Processor Data Sheet, section A.2, p.79
  17. ^ Intel, Quark SOC X1000 Core Developer's Manual, order no. 329679-001, October 2013, appendix B, page 296

and 23 Related for: Test register information

Request time (Page generated in 0.9904 seconds.)

Test register

Last Update:

test register, in the Intel 80386 and Intel 80486 processor, was a register used by the processor, usually to do a self-test. Most of these registers...

Word Count : 870

Control register

Last Update:

instructions. General-purpose register Test register Model-specific register Debug register Flag byte Status register IBM never shipped the 360/64 or...

Word Count : 1634

JTAG

Last Update:

interface connects to an on-chip Test Access Port (TAP) that implements a stateful protocol to access a set of test registers that present chip logic levels...

Word Count : 7005

Rorschach test

Last Update:

The Rorschach test is a projective psychological test in which subjects' perceptions of inkblots are recorded and then analyzed using psychological interpretation...

Word Count : 10778

X86

Last Update:

64-bit only), debug registers (DR0 through 3, plus 6 and 7), test registers (TR3 through 7; 80486 only), and model-specific registers (MSRs, appearing with...

Word Count : 10710

Malaysian University English Test

Last Update:

Candidates for this test must register at their respective schools/institutions. For private candidates and other candidates, they can register at any State...

Word Count : 858

Registered Tax Return Preparer Test

Last Update:

The Registered Tax Return Preparer Test was a test produced by the U.S. Internal Revenue Service (IRS). Until the program was suspended in January 2013...

Word Count : 1484

Index register

Last Update:

another register) to form the "effective" address of the actual data (operand). Special instructions are typically provided to test the index register and...

Word Count : 1581

Occupational English Test

Last Update:

overseas-trained healthcare professionals seeking to register and practise in an English-speaking environment. The test is recognised by organisations around the...

Word Count : 1660

Status register

Last Update:

program performing multiple-word addition can test whether a single-word addition of registers overflowed by testing whether the sum is lower than an operand:...

Word Count : 804

Processor register

Last Update:

memory into registers where they are used for arithmetic operations, bitwise operations, and other operations, and are manipulated or tested by machine...

Word Count : 1532

X86 debug register

Last Update:

x86 architecture, a debug register is a register used by a processor for program debugging. There are six debug registers, named DR0...DR7, with DR4...

Word Count : 1229

Advanced Vector Extensions

Last Update:

2017. AVX uses sixteen YMM registers to perform a single instruction on multiple pieces of data (see SIMD). Each YMM register can hold and do simultaneous...

Word Count : 4323

Stennis Space Center

Last Update:

(May 15, 1984). National Register of Historic Places Inventory-Nomination: Rocket Propulsion Test Complex / A-1/A-2 B-1/B-2 Test Stands (pdf) (Report)....

Word Count : 5128

Maharashtra Health and Technical Common Entrance Test

Last Update:

The MHT-CET or Common Entrance Test is an annual entrance exam conducted by the Government of Maharashtra. It is conducted by the Directorate of Technical...

Word Count : 325

DNA paternity testing

Last Update:

paternity testing is the use of DNA profiles to determine whether an individual is the biological parent of another individual. Paternity testing can be...

Word Count : 3683

Bit Test

Last Update:

instruction stands for Bit Test and was added to the x86 instruction set with the 80386 processor. BT copies a bit from a given register to the carry flag. Example:...

Word Count : 190

Common Admission Test

Last Update:

The Common Admission Test (CAT) is a computer based test for admission in graduate management programs. The test consists of three sections: Verbal Ability...

Word Count : 1460

Boundary scan

Last Update:

connected together to form the external boundary scan shift register (BSR), and combined with JTAG Test Access Port (TAP) controller support comprising four...

Word Count : 1381

MOT test

Last Update:

The MOT test (or simply MOT) is an annual test of vehicle safety, roadworthiness aspects and exhaust emissions required in the United Kingdom for most...

Word Count : 3633

Hydrostatic test

Last Update:

A hydrostatic test is a way in which pressure vessels such as pipelines, plumbing, gas cylinders, boilers and fuel tanks can be tested for strength and...

Word Count : 1682

Hadamard test

Last Update:

In quantum computation, the Hadamard test is a method used to create a random variable whose expected value is the expected real part R e ⟨ ψ | U | ψ ⟩...

Word Count : 726

Testing the waters

Last Update:

In the United States, the phrase testing the waters is used to describe someone who is exploring the feasibility of becoming a candidate for political...

Word Count : 342

PDF Search Engine © AllGlobal.net