×

Exception mechanism for a computer

  • US 6,934,832 B1
  • Filed: 09/21/2000
  • Issued: 08/23/2005
  • Est. Priority Date: 01/18/2000
  • Status: Active Grant
First Claim
Patent Images

1. The computer, comprising:

  • a multi-stage execution pipeline;

    an instruction decoder designed;

    to decode instructions of a complex instruction set for execution by the pipeline, the instruction set being architecturally exposed for execution by user-state programs stored in a main memory of the computer, the instruction set having variable-length instructions and many instructions having multiple side-effects and a potential to raise multiple exceptions, for at least some instructions of the complex instruction set, to issue two or more instructions in a second internal form into the execution pipeline;

    to generate information descriptive of instructions to be executed by the pipeline, and to store the information into non-pipelined processor registers of the computer, to determine whether instructions will complete in the pipeline, and to abstain from writing descriptive information into the processor registers for instructions following an instruction determined not to complete;

    the pipeline being designed to recognize an exception occurring in an instruction after an earlier side-effect of the instruction has been architecturally committed and before a later side of the instruction is architecturally committed, and thereupon, to architecturally expose in the processor registers information describing a processor state of the computer, including an intra-instruction program counter value, and to transfer execution to an exception handler; and

    pipeline resumption circuitry effective after completion of the software exception handler to resume execution of the excepted program based on the information in the processor registers;

    the processor registers of the computer being designed to architecturally expose sufficient information about the state of the excepted instruction that the transfer and resume are effected without saving processor state to the main memory.

View all claims
  • 3 Assignments
Timeline View
Assignment View
    ×
    ×