Method and apparatus for performing register file checkpointing to support speculative execution within a processor
Abstract
One embodiment of the present invention provides a system that performs register file checkpointing to support speculative execution within a processor. During operation, the system commences speculative execution of a program from a point of speculation, at which the outcome of a long latency instruction is speculatively predicted. During this speculative execution, registers are updated by checkpointing an old value of the register, if the register has not already been checkpointed, and then updating the architectural state of the register with the new value. In this way, only registers that are updated during the speculative execution are checkpointed, instead of checkpointing all of the architectural registers prior to commencing speculative execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 16.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for performing register file checkpointing to support speculative execution within a processor, comprising: commencing speculative execution of a program from a point of speculation, at which the outcome of a long latency instruction is speculatively predicted; wherein updating a register with a new value during the speculative execution involves, checkpointing an old value of the register when the register has not already been checkpointed, wherein checkpointing the old value of the register involves: determining if the register has already been checkpointed by examining a checkpoint
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗