Patents
US 8,136,103 B2#17363728 Most CitedActiveUnited States (USPTO)Utility

Combining static and dynamic compilation to remove delinquent loads

6Forward Citations (#17363728 Global)
0.4/yrCitation Velocity (#18712087 Global)
1.74Citation PageRank (#18077072 Global)
23Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

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)

  1. 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 ↗

References Cited — Backward Prior Art (23)

PatentTitleYearCitations
US 5,752,014 AAutomatic selection of branch prediction methodology for subsequent branch instruction based on outcome of previous branch prediction199860
US 6,115,809 ACompiling strong and weak branching behavior instruction blocks to separate caches for dynamic and static prediction200087
US 2002144245 A1Static compilation of instrumentation code for debugging support—67
US 2003126590 A1System and method for dynamic data-type checking—105
US 2003145314 A1Method of efficient dynamic data cache prefetch insertion—131
US 6,622,300 B1Dynamic optimization of computer programs using code-rewriting kernal module200397
US 2004054990 A1Post-pass binary adaptation for software-based speculative precomputation—55
US 2004158825 A1Cache controller computer system and method for program recompilation—6
US 2005027941 A1Method and apparatus for affinity-guided speculative helper threads in chip multiprocessors—69
US 2005086653 A1Compiler apparatus—40
US 2005138329 A1Methods and apparatus to dynamically insert prefetch instructions based on garbage collector analysis and layout of objects—23
US 6,941,257 B2Hierarchical processing of simulation model events200516
US 6,959,435 B2Compiler-directed speculative approach to resolve performance-degrading long latency events in an application200524
US 6,966,057 B2Static compilation of instrumentation code for debugging support200551
US 6,968,546 B2Debugging support using dynamic re-compilation200565
US 2006048120 A1Fine-grained software-directed data prefetching using integrated high-level and low-level code analysis optimizations—35
US 7,158,924 B2Dynamic loading of C-API HDL model instrumentation200718
US 2007226703 A1Binary code instrumentation to reduce effective memory latency—24
US 2008163180 A1Dynamic discovery of data segments within instrumented code—5
US 7,577,947 B2Methods and apparatus to dynamically insert prefetch instructions based on garbage collector analysis and layout of objects20094
US 7,730,470 B2Binary code instrumentation to reduce effective memory latency20109
US 7,844,801 B2Method and apparatus for affinity-guided speculative helper threads in chip multiprocessors20102
US 7,954,094 B2Method for improving performance of executable code201151

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.