Patents
US 8,677,337 B2#22031886 Most CitedActiveUnited States (USPTO)Utility

Static profitability control for speculative automatic parallelization

5Forward Citations (#22031886 Global)
0.4/yrCitation Velocity (#19405631 Global)
1.27Citation PageRank (#29439327 Global)
18Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A compilation method and mechanism for parallelizing program code. A method for compilation includes analyzing source code and identifying candidate code for parallelization. Having identified one or more suitable candidates, the profitability of parallelizing the candidate code is determined. If the profitability determination meets a predetermined criteria, then the candidate code may be parallelized. If, however, the profitability determination does not meet the predetermined criteria, then the candidate code may not be parallelized. Candidate code may comprises a loop, and determining profitability of parallelization may include computing a probability of transaction failure for the loop. Additionally, a determination of an execution time of a parallelized version of the loop is made. If the determined execution time is less than an execution time of a non-parallelized version of said loop by at least a given amount, then the loop may be parallelized. If the determined execution time is not less than an execution time of a non-parallelized version of said loop by at least a given amount, then the loop may not be parallelized.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 18 · Forward citations: 5.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method for compilation comprising: analyzing source code; identifying candidate code for parallelization, wherein said candidate code comprises a loop; determining a profitability of parallelizing the candidate code, wherein determining the profitability comprises: computing an execution time of a parallelized version of the loop without executing a parallelized version of the loop; and computing an execution time of a non-parallelized version of the loop; parallelizing the loop, in response to determining the execution time of a parallelized version of the loop is less than the execution ti

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (18)

PatentTitleYearCitations
US 6,651,246 B1Loop allocation for optimizing compilers2003135
US 6,654,954 B1Computer system, program product and method utilizing executable file with alternate program code attached as a file attribute2003119
US 2004049667 A1Method of patching compiled and linked program code comprising instructions which are grouped into bundles—54
US 6,880,045 B2Multi-processor computer system with transactional memory200565
US 2005097509 A1Methods and products for processing loop nests—32
US 6,938,130 B2Method and apparatus for delaying interfering accesses from other threads during transactional program execution200590
US 2006026580 A1Method and related system of dynamic compiler resolution—20
US 2006026575 A1Method and system of adaptive dynamic compiler resolution—20
US 2007050762 A1Build optimizer tool for efficient management of software builds for mobile devices—95
US 2007169057 A1Mechanism to restrict parallelization of loops—46
US 7,395,531 B2Framework for efficient code generation using loop peeling for SIMD loop code with multiple misaligned statements200836
US 2008163185 A1Delay-load optimizer—38
US 7,426,724 B2Optimized chaining of vertex and fragment programs200851
US 7,530,069 B2Program parallelizing apparatus, program parallelizing method, and program parallelizing program200932
US 7,543,282 B2Method and apparatus for selectively executing different executable code versions which are optimized in different ways200942
US 7,818,729 B1Automated safe secure techniques for eliminating undefined behavior in computer software2010107
US 7,853,934 B2Hot-swapping a dynamic code generator201026
US 8,046,745 B2Method to examine the execution and performance of parallel threads in parallel programming201111

Non-Patent Literature (5)

  • "ACME: Adaptive Compilation Made Efficient", Cooper, et al., Jul. 2005, pp. 69-77, http://delivery.acm.org/10.1145/1070000/1065921/p69-cooper.pdf.
  • "Compiler Optimization of Embedded Applications for an Adaptive SoC Architecture", Hardnett, et al., Oct. 2006, pp. 312-322, http://delivery.acm.org/10.1145/1180000/1176798/p312-hardnett.pdf.
  • "Design and Evaluation of Dynamic Optimizations for a Java Just-in-Time Compiler", Suganuma, et al., Jul. 2005, pp. 732-785, http://delivery.acm.org/10.1145/1080000/1075386/p732-suganuma.pdf.
  • "Dynamic Code Management: Improving Whole Program Code Locality in Managed Runtimes", Huang, et al., Jun. 2006, pp. 133-143, http://delivery.acm.org/10.1145/1140000/1134779/p133-huang.pdf.
  • Damron, P., et al; "Hybrid Transactional Memory"; ASPLOS XII; San Jose, CA (2006); http://www.princeton.edu/~asplos06/tprogram.html.