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: 0 · Forward citations: 2.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method of compiling a software program, comprising: identifying a delinquent memory instruction based on information in an intermediate representation of a source code, the intermediate representation generated by a compiler during initial compilation of the source code; and modifying a main thread binary file, by a compiler without user intervention, during an additional compiler pass of the source code, to include additional instructions, wherein the additional instructions provide for performing speculative precomputation of a memory address associated with the delinquent memory instructi
- Claim 2Depends on #1
The method of claim 1 , wherein: modifying the main thread binary file further comprises: identifying a spawning point in a main thread binary file; a
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (2 of 2 total)
References Cited — Backward Prior Art (0)
No backward patent references recorded.
Non-Patent Literature (2)
- Collins et al., "Dynamic Speculative Precomputation", In Proceedings of the 34th International Symposium on Computer Architecutre, Dec. 2001.
- Collins et al., "Speculative Precomputation: Long-range Prefetching of Delinquent Loads", In Proceedings of the 28th International Symposium on Computer Architecutre, Jul. 2001.