Repair of mis-predicted load values
Abstract
When fetching a load value for a load instruction results in a cache miss, the load instruction and any load-dependent instructions may be speculatively executed with a predicted load value and retired before the missing cache line is retrieved and the actual load value is determined. By storing the predicted load value in a table, when the actual load value is determined it may be compared with the predicted load value from the table. If the predicted load value was incorrect, the load and load-dependent instructions may be re-executed with the actual load value. A compiler may determine which load instructions are highly predictable and likely to result in cache misses, and designate only those load instructions for speculative execution.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 2 · Forward citations: 10.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
An apparatus, comprising: execution logic to execute a load instruction with a predicted load value; and a storage structure having a first field to store the predicted load value, the storage structure to be used in repairing a mis-prediction of the predicted load value after a cache miss caused by a request of an actual load value.
- Claim 2Depends on #1
The apparatus of claim 1 , wherein: the execution logic is to execute the load instruction with the actual load value responsive to a cache hit caused by execution of the load instruction.
- Claim 3Depends on #1
The apparatus of claim 1 , wherein: the storage structure includes a miss status holding register.
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (10 of 10 total)
References Cited — Backward Prior Art (2)
Non-Patent Literature (5)
- Chao-Ying Fu, Matthew D. Jennings, Sergei Y. Larin, Thomas M. Conte, Software-Only Value Speculation Scheduling, Department of Electric & Computer Engineering, North Carolina State University, Raleigh, NC., pp. 1-23.
- Chao-Ying Fu, Matthew D. Jennings, Sergei Y. Larin, Thomas M. Conte, Value Speculation Scheduling for High Performance Processors, Department of Electric & Computer Engineering, North Carolina State University, Raleigh, NC., pp.-10.
- David Kroft, Lockup-Free Instruction Fetch/Prefetch Cache Organization, Control Data Canada, Ltd., Canadian Development Division, Mississauga, Ontario, Canada, 1981, pp. 195-201, IEEE.
- Huiyang Zhou, Chao-Ying Fu, Eric Rotenberg, Thomas M. Conte, A Study of Value Speculative Execution and Misspeculation Recovery in Superscalar Microprocessors, Department of Electric & Computer Engineering, North Carolina State University, pp.-23.
- Nakra et al., "Value Prediction in VLIW Machines", Proceedings of the 26th Annual International Conference on Computer Architecture, IEEE, 1999, pp. 258-269.*