Claims
- 1. An apparatus for testing a computer microarchitecture, comprising:
means for providing reprogrammed microcode, comprising:
means for reprogramming microcode; means for storing reprogrammed microcode, comprising:
microcode related to one or more macroinstructions, and reprogrammed test microcode for testing the computer microarchitecture, wherein the reprogrammed test microcode comprises a sequence of microinstructions executed to test the computer microarchitecture; and means for sequencing the sequence of microinstructions and producing an address for the reprogrammed test microcode.
- 2. The apparatus of claim 1, further comprising:
a dispatcher that receives the sequence of microinstructions and provides outputs; and execution units that receive the outputs and execute microinstructions.
- 3. The apparatus of claim 1, wherein the computer microarchitecture supports multiple instruction sets.
- 4. The apparatus of claim 1, wherein the apparatus is implemented as a software model.
- 5. The apparatus of claim 4, wherein the software model is implemented on a computer-readable medium.
- 6. The apparatus of claim 1, wherein the means for sequencing comprises a macroinstruction to microinstruction mapper that maps macroinstructions into sequences of microinstructions.
- 7. A method for testing a computer microarchitecture, comprising:
reprogramming microcode for storage in a microcode storage; designating a macroinstruction for execution, wherein the execution initiates a test sequence comprising the reprogrammed microcode; receiving inputs corresponding to one or more of entry points and computer state information; and producing an address for the reprogrammed microcode.
- 8. The method of claim 7, further comprising:
providing the reprogrammed microcode to a dispatcher; and dispatching the reprogrammed microcode to specified execution units for execution of the microinstruction.
- 9. The method of claim 7, wherein the computer microarchitecture supports multiple instruction sets.
- 10. A method for conducting a test of a computer microarchitecture, comprising:
mapping a macroinstruction to a particular sequence of microinstructions; replacing the particular sequence of microinstructions with an arbitrary set of microinstructions, wherein the arbitrary set of microinstructions comprises the test; receiving inputs corresponding to one or more of entry points and computer state information; and producing an address for the arbitrary set of microinstructions.
- 11. The method of claim 10, wherein the computer microarchitecture supports multiple instruction sets.
- 12. The method of claim 10, further comprising issuing the macroinstruction to execute the test microinstructions.
- 13. A computer readable medium comprising code for conducting a test of a computer microarchitecture, the code implementing the steps of:
mapping a macroinstruction to a particular sequence of microinstructions; replacing the particular sequence of microinstructions with an arbitrary set of microinstructions, wherein the arbitrary set of microinstructions comprises the test; receiving inputs corresponding to one or more of entry points and computer state information; and producing an address for the arbitrary set of microinstructions.
- 14. The computer readable medium of claim 13, wherein the steps further comprise issuing the microinstruction to execute the test microinstructions.
CROSS REFERENCE TO RELATED APPLICATION(S)
[0001] This application is a continuation of application Ser. No. 09/496,367, filed Feb. 2, 2003, entitled “Method and Apparatus for Testing Microarchitectural Features By Using Tests Written In Microcode,” now U.S. Pat. No. ______ , which is hereby incorporated by reference.
Continuations (1)
|
Number |
Date |
Country |
Parent |
09496367 |
Feb 2000 |
US |
Child |
10662383 |
Sep 2003 |
US |