Patents
US 7,624,387 B2#26650279 Most CitedExpiredUnited States (USPTO)Utility

Compiler, program product, compilation device, communication terminal device, and compilation method

4Forward Citations (#26650279 Global)
0.2/yrCitation Velocity (#30565022 Global)
1.18Citation PageRank (#33153130 Global)
17Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A complier, program product, compilation device, communication terminal device and compilation method that enables parts of a source program having a large number of executions, or parts having a high possibility of a large number of executions, to be extracted with good precision and compiled preferentially. A loop having a multi-nested structure or a single-nested structure is searched for in a main program, and another program that is being called from within this loop is detected. Additionally, a loop having a multi-nested structure or a single-nested structure is searched for in the callee program, and the total number of nests in the loops detected so far is calculated as the loop depth. In other words, the degree of multiplicity in all of the loops forming a multi-nested structure over programs having a calling relationship is calculated as the loop depth. The loop having the greatest loop depth is included in the parts to be compiled preferentially, and only the parts determined as parts to be compiled are compiled.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A program product comprising: a compiler that converts a source program into an object program, and causes a computer to execute: a multi-nested structure detection procedure that detects a multi-nested structure having a unit loop inside another unit loop, and included in the source program; a return destination address detection procedure that detects return destination addresses indicating initial addresses of destinations to which a processing returns in accordance with a final command in each unit loop constituting the multi-nested structure returns; an address overlap determination proce

Technical Overview & Description

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

References Cited — Backward Prior Art (17)

PatentTitleYearCitations
US 4,773,007 AComplier code optimization method for a source program having a first and second array definition and use statements in a loop198832
US 5,067,068 AMethod for converting an iterative loop of a source program into parellelly executable object program portions199122
US 5,146,594 AMethod of producing object program based on interprocedural dataflow analysis of a source program199241
JP H06202875 ACompiler for attaining optimization with in-line expansion—6
US 5,581,762 ACompiling apparatus having a function to analyze overlaps of memory addresses of two or more data expressions and a compiling method199637
US 5,704,053 AEfficient explicit data prefetching analysis and code generation in a low-level optimizer for inserting prefetch instructions into loops of applications1997178
US 5,764,993 AData updating method using overlap area and program converting device for converting update program in distributed-memory parallel processor199812
US 5,842,022 ALoop optimization compile processing method199857
US 6,055,371 ACompile device, compile method and recording medium for recording compiler20009
US 6,088,525 ALoop profiling by instrumentation200028
US 6,253,373 B1Tracking loop entry and exit points in a compiler200157
US 6,286,135 B1Cost-sensitive SSA-based strength reduction algorithm for a machine with predication support and segmented addresses2001172
US 2001044930 A1Loop optimization method and a compiler—17
US 6,341,371 B1System and method for optimizing program execution in a computer system2002135
US 2003120905 A1Apparatus and method for executing a nested loop program with a software pipeline loop procedure in a digital signal processor—23
US 6,842,895 B2Single instruction for multiple loops20059
US 6,988,266 B2Method of transforming variable loops into constant loops200614

Non-Patent Literature (5)

  • Bor-Ming Hsieh, "Loop Distribution with Multiple Exits", 1992, retrieved from , pp. 1-11.
  • Derek Bruening and Evelyn Duesterwald, "Exploring Optimal Compilation Unit Shapes for an Embedded Just-In-Time Compiler", Feedback-Directed and Dynamic Optimization (FDDO-3), 'Online!, Dec. 2000.
  • Ishizaki et al.,"An Algorithm for Automatic Detection of Loop Indices for Communication Overlapping",1997, Springer Berlin / Heidelberg,ISSN 0302-9743 (Print) 1611-3349 (Online), retried from , pp. 1-14.
  • John Whaley, "Partial Method Compilation using Dynamic Profile Information", ACM Sigplan Notices, ACM, Association for Computing Machinery, New York, N.Y., US, vol. 36, No. 11, Nov. 2001, pp. 166-179.
  • Matthew Arnold et al., "Adaptive Optimization in the Jalapeño JVM", Sigplan Notices, Association for Computing Machinery, New York, N.Y., US, vol. 35, No. 10, Oct. 2000, pp. 47-65.