System and method for creating precise exceptions
Abstract
A method for creating precise exceptions including checkpointing an exception causing instruction. The checkpointing results in a current checkpointed state. The current checkpointed state is locked. It is determined if any of a plurality of registers require restoration to the current checkpointed state. One or more of the registers are restored to the current checkpointed state in response to the results of the determining indicating that the one or more registers require the restoring. The execution unit is restarted at the exception handler or the next sequential instruction dependent on whether traps are enabled for the exception.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 17 · Forward citations: 4.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for creating precise exceptions in an execution unit, the method comprising: checkpointing an exception causing instruction, the checkpointing resulting in a current checkpointed state; locking the current checkpointed state; determining if any of a plurality of registers require restoration to the current checkpointed state; restoring one or more of the registers to the current checkpointed state in response to the determining indicating that the one or more registers require the restoring; and restarting the execution unit at the exception handler or the next sequential instruction
- Claim 2Depends on #1
The method of claim 1 wherein the execution unit is a floating point unit.
- Claim 3Depends on #1
The method of claim 1 wherein the execution unit is a fixed point unit.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗