← Back to Patent Explorer
US5237700A Expired / Lapsed US ⏱️ 0.0 years remaining

Exception handling processor for handling first and second level exceptions with reduced exception latency

Assignee: Advanced Micro Devices Inc
•
Filing: 1990-03-21
•
Granted: 1993-08-17
•
Expires: 2010-03-21
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract There is disclosed an improved processor having improved exception handling capability. The processor processes instructions in order through a plurality of serial stages. A first set of registers continuously tracks each instruction as they are advanced from stage to stage. An exception handler processes first level exception conditions and precludes updating of the first set of registers when it processes first level exception conditions to permit the processor to restart at the point of a first level exception condition. A second set of registers continuously trans the instruction in tandem with the first set of registers, but is updatable during the processing of first level exception conditions by the exception handler. Monitor means processes second level exception conditions occurring in the exception handler and precludes the second set of registers from being updated when it processes the second level exception conditions to permit the exception handler to restart from the point of the occurrence of a second level exception condition.

Inventors

  • 👤 William M. Johnson
  • 👤 Michael D. Goddard
  • 👤 Tim Olson

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-10-30 23:47
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/07; G06F11/14; G06F11/1402; G06F11/1415; G06F9/00; G06F9/06; G06F9/30; G06F9/38; G06F9/3861; G06F9/3863

Claims Analysis

Total Claims: 17
Claim 1
Independent Claim 335 words
An improved processor comprising: normal program means for serially processing instructions in order through a plurality of serial stages; first means coupled to said normal program means for tracking each instruction in process according to its respective process stage, said first means being updatable as each said instruction being processed advances to the next said stage; exception handler means coupled to said normal program means for processing first level exception processing instructions through said plurality of stages for processing first level exception conditions occurring in said normal program means, said exception handler means also being coupled to said first means to preclude said first means from being updated when said exception handler means processes said first level exception conditions to permit said normal program means to restart the processing of said instructions in process from the point of the occurrence of said first level exception condition after the processing of a first level exception condition is completed; second means coupled to said exception handler means for tracking, in tandem with said first means, each instruction in process in said normal program means according to its respective process stage, said second means being updatable in tandem with said first means, and said second means also being updatable during the processing of a first level exception condition by said exception handler means for tracking each said first level exception processing instruction in process according to its respective process stage; and monitor means coupled to said exception handler means for processing second level exception processing instructions for processing second level exception conditions occurring in said exception handler means, said monitor means also being coupled to said second means to preclude said second means from being updated when said monitor means processes said second level exception conditions to permit said exception handler means to restart the processing of said first level exception processing instructions in process from the point of the occurrence of said second level exception condition after the processing of a second level exception condition is completed.
Claim 2
Dependent Claim 335 words
An improved processor comprising: normal program means for serially processing instructions in order through a plurality of serial stages; first means coupled to said normal program means for tracking each instruction in process according to its respective process stage, said first means being updatable as each said instruction being processed advances to the next said stage; exception handler means coupled to said normal program means for processing first level exception processing instructions through said plurality of stages for processing first level exception conditions occurring in said normal program means, said exception handler means also being coupled to said first means to preclude said first means from being updated when said exception handler means processes said first level exception conditions to permit said normal program means to restart the processing of said instructions in process from the point of the occurrence of said first level exception condition after the processing of a first level exception condition is completed; second means coupled to said exception handler means for tracking, in tandem with said first means, each instruction in process in said normal program means according to its respective process stage, said second means being updatable in tandem with said first means, and said second means also being updatable during the processing of a first level exception condition by said exception handler means for tracking each said first level exception processing instruction in process according to its respective process stage; and monitor means coupled to said exception handler means for processing second level exception processing instructions for processing second level exception conditions occurring in said exception handler means, said monitor means also being coupled to said second means to preclude said second means from being updated when said monitor means processes said second level exception conditions to permit said exception handler means to restart the processing of said first level exception processing instructions in process from the point of the occurrence of said second level exception condition after the processing of a second level exception condition is completed.
Claim 3
Dependent Claim 20 words
A processor as defined in claim 1 wherein said plurality of serial stages includes fetch, decode, execute and write-back stages.
Claim 4
Dependent Claim 17 words
A processor as defined in claim 2 wherein said first means comprises a first set of registers.
Claim 5
Dependent Claim 34 words
A processor as defined in claim 3 wherein said first set of registers include decode, execute, and write-back registers for storing an address of each instruction in process according to its respective process stage.
Claim 6
Dependent Claim 17 words
A processor as defined in claim 4 wherein said second means comprises a second set of registers.
Claim 7
Dependent Claim 35 words
A processor as defined in claim 5 wherein said second set of registers include decode, execute, and write-back registers for also storing an address of each instruction in process according to its respective process stage.
Claim 8
Dependent Claim 28 words
A processor as defined in claim 6 further including storage means coupled to said monitor means for providing said monitor means with said second level exception processing instructions.
Claim 9
Dependent Claim 41 words
A processor as defined in claim 6 further including storage means for storing a multiple-bit word indicative of the current state of said processor, said storage means being coupled to said normal program means, said exception handler, and said monitor means.
Claim 10
Dependent Claim 53 words
A processor as defined in claim 8 wherein said multiple-bit word includes an exception handler bit, said exception handler bit being set when said exception handler processes a first level exception condition and wherein said first set of registers are responsive to said exception handler bit being set to preclude further updating thereof.
Claim 11
Dependent Claim 32 words
A processor as defined in claim 9 wherein said multiple-bit word further includes a monitor mode bit, said monitor mode bit being set upon the occurrence of a second level exception condition.
Claim 12
Dependent Claim 52 words
A processor as defined in claim 10 wherein said multiple-bit word further includes a freeze bit, wherein said freeze bit is set when said monitor means processes a second level exception condition, and wherein said second set of registers are responsive to said freeze bit being set to preclude further updating thereof.
Claim 13
Dependent Claim 15 words
A processor as defined in claim 7 wherein said storage means is a read-only memory.
Claim 14
Dependent Claim 42 words
A processor as defined in claim 7 further including a third register coupled to said monitor means for storing a multiple-bit word indicative of the cause of said second level exception condition and for providing said monitor means with said multiple-bit word.
Claim 15
Dependent Claim 30 words
A processor as defined in claim 7 wherein said monitor means is arranged to obtain said second level exception processing instructions from said storage means responsive to said multiple-bit word.
Claim 16
Dependent Claim 387 words
An improved processor comprising: normal program means for serially processing instructions in order through serial fetch, decode, execute, and write-back stages; a first set of decode, execute and write-back program registers coupled to said normal program means for storing the address of each instruction in process according to its respective process stage, said registers being updatable as each said instruction being processed advances to the next said stage; exception handler means coupled to said normal program means for processing first level exception processing instructions through said fetch, decode, execute, and write-back stages for processing first level exception conditions occurring in said normal program means, said exception handler means also being coupled to said first set of decode, execute, and write-back registers to preclude said first set of registers from being updated when said exception handler means processes said first level exception condition to permit said normal program means to restart the processing of said instructions in process from the point of the occurrence of said first level exception condition after the processing of a first level exception condition is completed; a second set of decode, execute and write-back registers coupled to said exception handler means for storing, in tandem with said first set of registers, the address of each instruction in process in said normal program means according to its respective process stage, said second set of registers being updatable in tandem, with said first set of registers, and said second set of registers also being updatable during the processing of a first level exception condition by said exception handler means for storing the address of each said first level exception processing instruction in process according to its respective process stage; and monitor means coupled to said exception handler means for processing second level exception processing instructions for processing second level exception conditions occurring in said exception handler means, said monitor means also being coupled to said second set of decode, execute and write-back registers to preclude said second set of registers from being updated when said monitor means processes said second level exception conditions to permit said exception handler means to restart the processing od said first level exception processing instructions in process from the point of the occurrence of said second level exception condition after the processing of a second level exception condition is completed.
Claim 17
Dependent Claim 387 words
An improved processor comprising: normal program means for serially processing instructions in order through serial fetch, decode, execute, and write-back stages; a first set of decode, execute and write-back program registers coupled to said normal program means for storing the address of each instruction in process according to its respective process stage, said registers being updatable as each said instruction being processed advances to the next said stage; exception handler means coupled to said normal program means for processing first level exception processing instructions through said fetch, decode, execute, and write-back stages for processing first level exception conditions occurring in said normal program means, said exception handler means also being coupled to said first set of decode, execute, and write-back registers to preclude said first set of registers from being updated when said exception handler means processes said first level exception condition to permit said normal program means to restart the processing of said instructions in process from the point of the occurrence of said first level exception condition after the processing of a first level exception condition is completed; a second set of decode, execute and write-back registers coupled to said exception handler means for storing, in tandem with said first set of registers, the address of each instruction in process in said normal program means according to its respective process stage, said second set of registers being updatable in tandem, with said first set of registers, and said second set of registers also being updatable during the processing of a first level exception condition by said exception handler means for storing the address of each said first level exception processing instruction in process according to its respective process stage; and monitor means coupled to said exception handler means for processing second level exception processing instructions for processing second level exception conditions occurring in said exception handler means, said monitor means also being coupled to said second set of decode, execute and write-back registers to preclude said second set of registers from being updated when said monitor means processes said second level exception conditions to permit said exception handler means to restart the processing od said first level exception processing instructions in process from the point of the occurrence of said second level exception condition after the processing of a second level exception condition is completed.

References Cited (Backward Citations)

GB1495729A Cited
US4631659A Cited
US4809157A Cited
US4992934A Cited
US5095426A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 1996-08-16 1997-02-15 1997-08-17 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2000-08-16 2001-02-15 2001-08-17 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2004-08-16 2005-02-15 2005-08-17 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag