US5075844A
Expired / Lapsed
US
⏱️ 0.0 years remaining
Paired instruction processor precise exception handling mechanism
Assignee: Hewlett Packard Development Co LP
•
Filing: 1989-05-24
•
Granted: 1991-12-24
•
Expires: 2009-05-24
Abstract
Abstract A mechanism for handling exceptions in a processor system that issues a family of more than one instruction during a single clock that utilizes the exception handling procedures developed for single instructions. The mechanism detects an exception associated with one of the instructions in the family, inhibits the data writes for the instructions in the family, flushes the pipeline, and reissues the instruction singly. The exception handling procedure for the single instruction may then be utilized.
Inventors
- 👤 Robert L. Jardine
- 👤 Shannon J. Lynch
- 👤 Philip R. Manela
- 👤 Robert W. Horst
Bibliographic Details
Application Number
—
Jurisdiction
US
Data Source
google_patents
Last Synchronized
2026-10-26 10:18
CPC Classifications
G; G06; G06F; G06F9/00; G06F9/06; G06F9/30; G06F9/38; G06F9/3861
Claims Analysis
Total Claims: 10
Claim 1
Independent Claim
232 words
In a data processor that issues a family of instructions fetched from a single sequence of instructions during a single clock and includes a pipeline for concurrently executing the family of instructions in several stages, the pipeline including a first given stage for calculating memory references and performing ALU operations and a second given stage for writing data, and with the data processor including exception handling procedures for handling exceptions resulting from the execution of a single instruction, an exception handling procedure for handling an exception that occurs during the execution of a given family or instructions issued during a single clock and prevents the execution from being completed comprising the steps of: generating an indication whether an exception, resulting from executing an instruction in the given family in the first given pipeline stage and preventing the execution from being completed, has occurred; testing said indication to detect the occurrence of an exception; inhibiting, during the second given pipeline stage, the data write associated with the execution of the given family if the presence of an exception is detected; flushing instructions from all the stages of the pipeline if the presence of an exception is detected; and reissuing a first instruction in the given family to be executed singly so that the included exception handling procedure may be utilized to handle the exception if the exception resulted from executing said first instruction.
Claim 2
Dependent Claim
232 words
In a data processor that issues a family of instructions fetched from a single sequence of instructions during a single clock and includes a pipeline for concurrently executing the family of instructions in several stages, the pipeline including a first given stage for calculating memory references and performing ALU operations and a second given stage for writing data, and with the data processor including exception handling procedures for handling exceptions resulting from the execution of a single instruction, an exception handling procedure for handling an exception that occurs during the execution of a given family or instructions issued during a single clock and prevents the execution from being completed comprising the steps of: generating an indication whether an exception, resulting from executing an instruction in the given family in the first given pipeline stage and preventing the execution from being completed, has occurred; testing said indication to detect the occurrence of an exception; inhibiting, during the second given pipeline stage, the data write associated with the execution of the given family if the presence of an exception is detected; flushing instructions from all the stages of the pipeline if the presence of an exception is detected; and reissuing a first instruction in the given family to be executed singly so that the included exception handling procedure may be utilized to handle the exception if the exception resulted from executing said first instruction.
Claim 3
Dependent Claim
34 words
The method of claim 1 wherein said step of testing includes the step of: determining whether an overflow bit has been set to indicate an arithmetic overflow exception resulting from executing an ALU instruction.
Claim 4
Dependent Claim
36 words
The method of claim 1 wherein said step of testing includes the step of: determining whether a page fault bit has been set to indicate a page fault exception resulting from executing a memory reference instruction.
Claim 5
Dependent Claim
45 words
The procedure of claim 1 wherein said step of reissuing further comprises the steps of: storing an address of each instruction in the family; singly accessing said first instruction in the family with said stored address of said first instruction; and reissuing said first instruction.
Claim 6
Dependent Claim
270 words
In a data processor that issues a family of instructions fetched from a single sequence of instructions during a single clock and includes a pipeline for concurrently executing the family of instructions in several stages, the pipeline including a first given stage for calculating memory references and performing ALU operations and a second given stage for writing data, and with the data processor including exception handling procedures for handling exceptions resulting from the execution of a single instruction, an exception handling system for handling an exception that occurs during the execution of a given family of instructions issued during a single clock and prevents the execution from being completed comprising: means for generating an indication whether an exception, resulting from executing an instruction in the given family in the first given pipeline stage and preventing the execution from being completed, has occurred; means, responsive to the output of said generating means, for testing said indication to detect the occurrence of an exception; means, responsive to output of said testing means, for inhibiting, during the second given pipeline stage, the data write associated with the execution of the given family if the presence of an exception is detected; means, responsive to the output of said testing means, for flushing instructions from all the stages of the pipeline if the presence of an exception is detected; and means, responsive to the output of said flushing means, for reissuing a first instruction in the given family to be executed singly so that the included exception handling procedure may be utilized to handle the exception if the exception resulted from executing said first instruction.
Claim 7
Dependent Claim
270 words
In a data processor that issues a family of instructions fetched from a single sequence of instructions during a single clock and includes a pipeline for concurrently executing the family of instructions in several stages, the pipeline including a first given stage for calculating memory references and performing ALU operations and a second given stage for writing data, and with the data processor including exception handling procedures for handling exceptions resulting from the execution of a single instruction, an exception handling system for handling an exception that occurs during the execution of a given family of instructions issued during a single clock and prevents the execution from being completed comprising: means for generating an indication whether an exception, resulting from executing an instruction in the given family in the first given pipeline stage and preventing the execution from being completed, has occurred; means, responsive to the output of said generating means, for testing said indication to detect the occurrence of an exception; means, responsive to output of said testing means, for inhibiting, during the second given pipeline stage, the data write associated with the execution of the given family if the presence of an exception is detected; means, responsive to the output of said testing means, for flushing instructions from all the stages of the pipeline if the presence of an exception is detected; and means, responsive to the output of said flushing means, for reissuing a first instruction in the given family to be executed singly so that the included exception handling procedure may be utilized to handle the exception if the exception resulted from executing said first instruction.
Claim 8
Dependent Claim
33 words
The system of claim 5 wherein said means for testing includes: means for testing whether an overflow bit has been set to indicate an arithmetic overflow exception resulting from executing an ALC instruction.
Claim 9
Dependent Claim
35 words
The system of claim 5 wherein said means for testing includes: means for testing whether a page fault bit has been set to indicate a page fault exception resulting from executing a memory reference instruction.
Claim 10
Dependent Claim
48 words
The system of claim 5 wherein said means for reissuing further comprises: means for storing an address of each instruction in the family; means for singly accessing said first instruction in the family with said stored address of said first instruction; and means for reissuing said first instruction.
References Cited (Backward Citations)
USPTO Annuity & Maintenance Windows
| Annuity Stage | Window Opens | Payment Deadline | Surcharge Period Until | Estimated Fee | Status |
|---|---|---|---|---|---|
| 3.5 Years (Year 4) | 1994-12-23 | 1995-06-24 | 1995-12-24 | $2000.00 | Window Closed / Lapsed |
| 7.5 Years (Year 8) | 1998-12-23 | 1999-06-24 | 1999-12-24 | $3760.00 | Window Closed / Lapsed |
| 11.5 Years (Year 12) | 2002-12-23 | 2003-06-24 | 2003-12-24 | $7700.00 | Window Closed / Lapsed |