Combining static and dynamic compilation to remove delinquent loads
Abstract
A method for combined static and dynamic compilation of program code to remove delinquent loads can include statically compiling source code into executable code with instrumented sections each being suspected of including a delinquent load, and also into a separate intermediate language representation with annotated portions each corresponding to one of the instrumented sections. The method also can include executing the instrumented sections repeatedly and monitoring cache misses for each execution. Finally, the method can include dynamically recompiling selected ones of the instrumented sections using corresponding ones of the annotated portions of the separate intermediate language representation only after a threshold number of executions of the selected ones of the instrumented sections, each recompilation include a pre-fetch directive at a pre-fetch distances tuned to avoid the delinquent load.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 23 · Forward citations: 6.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for combined static and dynamic compilation of program code to remove delinquent loads, the method comprising: statically compiling source code into executable code with instrumented sections each being suspected of including a delinquent load, and also into a separate intermediate language representation with annotated portions each corresponding to one of the instrumented sections; executing the instrumented sections repeatedly and monitoring cache misses for each execution; and, dynamically recompiling selected ones of the instrumented sections using corresponding ones of the annot
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (6 of 6 total)
References Cited — Backward Prior Art (23)
Non-Patent Literature (5)
- Lu, Jiwei, et al.; "Design and Implementation of a Lightweight Dynamic Optimization System"; Journal of Instruction-Level Parallelism 6; pp. 1-24; 2004.
- Nanri, Takeshi, et al.; "Using Cache Optimizing Compiler for Managing Software Cache on Distributed Shared Memory System"; IEEE; 1997.
- Panait, Vlad-Mihai, et al.; "Static Identification of Delinquent Loads"; International Symposium on Code Generation and Optimization; 2004.
- Title: Load redundancy removal through instruction reuse author: Jun Yang et al, source: IEEE, dated:Aug. 6, 2002.
- Title: Static identification of delinquent loads, author: Panait, V.-M et al , source: IEEE, dated: Mar. 20, 2004.