Post-pass binary adaptation for software-based speculative precomputation
Abstract
The latencies associated with cache misses or other long-latency instructions in a main thread are decreased through the use of a simultaneous helper thread. The helper thread is a speculative prefetch thread to perform a memory prefetch for the main thread. The instructions for the helper thread are dynamically incorporated into the main thread binary during post-pass operation of a compiler.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 8 · Forward citations: 9.
Claims (3 — 1 Independent, 2 Dependent)
- Claim 1Independent Claim
A method comprising: identifying a delinquent instruction during an automated compiler pass of a software program; identifying an initial slice for the delinquent instruction during the compiler pass; automatically generating an execution slice based on the initial slice during the compiler pass; and automatically generating, during the compiler pass, an enhanced binary file that contains the execution slice.
- Claim 2Depends on #1
The method of claim 1 , wherein: automatically generating the enhanced binary file further comprises: automatically identifying a spawning point in a main thread binary file; and automatically embedding a trigger at the spawning point, the trigger corresponding to the execution slice.
- Claim 3Depends on #1
The method of claim 1 , wherein: automatically generating the enhanced binary file further comprises automatically incorporating the
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (9 of 9 total)
References Cited — Backward Prior Art (8)
Non-Patent Literature (5)
- "Dynamic Speculative Precomputation", Jamison D. Collins et al. In Proceedings of the 34th International Symposium on Microarchitecture, Dec. 2001.
- "Speculative Precomputation: Long-range Prefetching of Delinquent Loads", Jamison D. Collins et al. In Proceedings of the 28th International Symposium on Computer Architecture, Jul. 2001.
- A. Moshovos, D. Pnevmatikatos, A. Baniasadi, Slice-Processors: An Implementation of Operation-Based Prediction, in International Conference on Supercomputing, Jun. 2001, pp. 14.
- A. Roth and G. Sohi, Speculative Data-Driven Multithreading, in 7th IEEE High-Performance Computer Architecture, Jan. 2001, pp. 37-48.
- A. V. Goldberg and R. E. Tarjan, A New Approach to the Maximum-Flow Problem, in Journal of the Association for Computing Machinery, Oct. 1988, vol. 35, No. 4, pp. 921-940.