Method, apparatus, and system to optimize frequently executed code and to use compiler transformation and hardware support to handle infrequently executed code
Abstract
The present invention relates to a method, apparatus, and system to optimize frequently executed code and to use compiler transformation and hardware support to handle infrequently executed code. The method includes compiling a computer program. The method further includes improving performance of the computer program by optimizing frequently executed code and using compiler transformation to handle infrequently executed code with hardware support. The method also includes storing temporarily the results produced during execution of a region to improve performance of the computer program. The method additionally includes committing the results produced when the execution of the region is completed successfully.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 4 · Forward citations: 41.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A system comprising: a compiler to compile a computer program, the compiler forming optimized code regions to improve performance of the computer program by selecting a seed block, duplicating the seed block, and growing the seed block to form a region, and by trimming blocks near a head block of the region to form a trimmed region having improved scheduling cycles; a memory to store the compiler; a central processing unit (CPU) cooperatively connected to the memory to run the compiler and to speculatively execute the optimized code regions; and a store buffer connected to the CPU to improve t
- Claim 2Depends on #1
The system of claim 1 , wherein the store buffer assists the CPU in speculatively executing the optimized code regions by temporarily storing results produced during the speculative executi
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 41 total)
References Cited — Backward Prior Art (4)
Non-Patent Literature (5)
- Calder-Feller-Eustace, Value Profiling and Optimization, Jul. 1998, UCSD Technical Report CS98-592.
- Chang-Mahlke-Hwu, Using Profile Information to Assist Classic Code Optimizations, Dec. 1991, John Wiley & Sons, Inc. Softwar-Practice & Experience, vol. 21, Issue 12, pp. 1301-1321.
- Chen-Wu, FastForward: Aggressive Compiler Optimization with Speculative Multi-threaded Support, Dec. 2000,Intel Corporation.
- Compiler-Directed Dynamic Computations Reuse: Rationale an Initial Results, by Daniel A. Connors, et al., Department of Electrical and Computer Engineering Center for Reliable And High-Performance Computing, University of Illinois, Urbana, IL 61801, Nov. 1999.
- Improving Trace Cache Effectiveness with Branch Promotion and Trace Packing, by Sanjay Jeram Patel, et al., Advanced Computer Architecture Laboratory, Department of Electrical Engineering and Computer Science, The University of Michigan, Ann Arbor, Michigan 48109-2122.