Caching run-time variables in optimized code
Abstract
In one embodiment, the present invention includes a method for emitting a live range statement into a program for a memory variable to be cached during run-time that has at least one simulation state variable if the memory variable is dynamically mapped, and defining the simulation state variable at a first execution path of the program. In such manner, the program may be optimized using the live range statement and the simulation state variable. Also, a debugger may use the simulation state variables in obtaining and displaying the memory variable from a cache.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 6 · Forward citations: 12.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented compiler optimization method for generating an optimized program, the method comprising: generating an optimized code segment from a source code segment that accesses a variable having a variable-memory off-set, the optimized code segment allocating a virtual memory address to the variable, the virtual memory address mapping a memory address to a cache, the mapping linking the virtual memory address to execution dependent memory information that remains uncertain until program execution; inserting a live range statement corresponding to the variable into the optimized co
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (12 of 12 total)
References Cited — Backward Prior Art (6)
Non-Patent Literature (5)
- Adiletta, Matthew and Mark Rosenbluth, Debra Bernstein, Gilbert Wolrich, and Hugh Wilkinson. The Next Generation of Intel IXP Network Processors. Intel Technology Journal: Network Processors, vol. 6, issue 3. Aug. 15, 2002. pp. 9-16. http://developer.intel.com/technology/itj/2002/volume06issue03/vol
- Adl-Tabatabai, Ali-Reza and Thomas Gross. Source-Level Debugging of Scalar Optimized Code. ACM SIGPLAN Symp. on Programming Language Design and Implementation. May 1996. pp. 33-43.
- Advanced Software Development Tools for Intel IXP2XXX Network Processors. Intel Corporation White Papers. Oct. 2003. pp. 1-13. http://www.intel.com/design/network/papers/25413901.pdf.
- Bowman et al., "Decreasing Process Memory Requirements by Overlapping Program Portions", 1998, IEEE, pp. 1-10.
- Chi et al., "Unified Management of Registers and Cache Using Liveness and Cache Bypass", 1989, ACM, pp. 344-355.