Checkpointing of register file
Abstract
The invention performs an extra read from a register of a register file prior to writing to that register. The data from the extra read is stored in a buffer (e.g., another register file). After a “checkpoint” period, a check is made as to whether any data errors have occurred; if there are no errors, the buffer is flushed and processing continues per normal; if there are errors, the register file is rewritten with contents from the buffer and the program counter is reset to the prior checkpoint, wherein after processing re-executes program instructions from the last checkpoint. The checkpointing period may be defined by the memory size of the buffer; typically that buffer has a fraction of the memory capacity of the register file, since a flush occurs at every checkpoint. The register file of the invention may utilize an extra read port with the register file to perform the extra read. The extra read may occur for every write to the register file; alternatively, the extra read may occur for a subset of the writes to the register file.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 34.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method for recovering from data errors within a processor, comprising the steps of: for each cycle of the processor, storing a copy of data from at least one, but not all, registers of a register file within a buffer if new data architected to the registers and if the cycle is not a checkpoint cycle; checking for data errors within the processor if the cycle is a checkpoint cycle; and restoring the data from the buffer to the register file in the event of data errors.
- Claim 2Depends on #1
A method of claim 1 , further comprising loading the new data to the registers after the step of storing.
- Claim 3Depends on #1
A method of claim 1 , further comprising loading the new data to the registers concurrently with the step of storing.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗