Patents
US 8,327,344 B2#12257045 Most CitedActiveUnited States (USPTO)Utility

Array reference safety analysis in the presence of loops with conditional control flow

9Forward Citations (#12257045 Global)
0.6/yrCitation Velocity (#12436730 Global)
1.46Citation PageRank (#23967547 Global)
42Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Mechanisms are provided for analyzing and optimizing loops with conditional control flow in source code based on array reference safety. Mechanisms are provided for analyzing blocks of the source code to identify a conditional control flow loop having loop source code specifying a total access range for an array reference. A safe access range, of the total access range of the array reference in the loop source code, is identified over which a compiler-based optimization of the loop source code can be safely applied without introducing new exception conditions. The compiler-based optimization of the loop source code is performed based on the identified safe access range to generate optimized code. The optimized code is output for generation of executable code for execution on a processor.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method, in a data processing system, for optimizing loops with conditional control flow in source code based on array reference safety, comprising: analyzing blocks of the source code to identify a conditional control flow loop having loop source code specifying a total access range for an array reference, identifying a safe access range, of the total access range of the array reference in the loop source code, over which a compiler-based optimization of the loop source code can be safely applied without introducing new exception conditions; performing the compiler-based optimization of the

Technical Overview & Description

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

References Cited — Backward Prior Art (42)

PatentTitleYearCitations
US 3,389,379 AFloating point system: single and double precision conversions196833
US 5,646,875 ADenormalization system and method of operation199730
US 5,933,650 AAlignment and ordering of vector elements for single instruction multiple data processing1999286
US 6,041,404 ADual function system and method for shuffling packed data elements2000106
US 6,317,824 B1Method and apparatus for performing integer operations in response to a result of a floating point operation200162
US 6,343,375 B1Method for optimizing array bounds checks in programs200272
US 6,446,198 B1Vectorized table lookup200274
US 2004093591 A1Method and apparatus prefetching indexed array references—37
US 2004098711 A1Method and system for dependence analysis—17
US 6,839,828 B2SIMD datapath coupled to scalar/vector/address/conditional data register file with selective subpath scalar processing mode2005182
US 2005138613 A1Method and system for code modification based on cache structure—20
US 6,924,802 B2Efficient function interpolation using SIMD vector permute functionality20059
US 2005246700 A1Compiler with cache utilization optimizations—62
US 2006031652 A1Computer system for data processing and method for the transfer of an array segment of an affine-indexed multi-dimensional array referenced in a loop nest from a first memory to a second memory—37
US 7,134,120 B2Map compiler pipelined loop structure200622
US 2007011441 A1Method and system for data-driven runtime alignment operation—54
US 2008034357 A1Method and Apparatus for Generating Data Parallel Select Operations in a Pervasively Data Parallel System—77
US 7,464,255 B1Using a shuffle unit to implement shift operations in a processor200833
US 2009037694 A1Load Misaligned Vector with Permute and Mask Insert—59
US 2009049113 A1Method and Apparatus for Implementing a Multiple Operand Vector Floating Point Summation to Scalar Function—35
US 2009172366 A1Enabling permute operations with flexible zero control—42

Non-Patent Literature (5)

  • "Intel 64 and IA-32 Architectures Software Developer's Manual, vol. 1: Basic Architecture", Intel Corporation, Sep. 2008, http://download.intel.com/design/processor/manuals/253665.pdf, 496 pages. (23 pages submitted Herewith.).
  • "Power ISA, Version 2.04", IBM Corporation, Apr. 3, 2007, accessible at http://www.power.org/resources/downloads/PowerISA-203.Public.pdf, 874 pages (21 pages submitted herewith).
  • "Synergistic Processor Unit Instruction Set Architecture, Version 1.2", IBM Corporation, Jan. 27, 2007, http://www-01.ibm.com/chips/techlib/techlib.nsf/techdocs/76CA6C7304210F3987257060006F2C44/$file/SPU-ISA-v1.2-27Jan2007 pub.pdf, 279 pages.
  • "The VIS Instruction Set, Version 1.0", Sun Microsystems Inc., A White Paper, Jun. 2002, 34 pages.
  • Bachega, Leonardo et al., "A High-Performance SIMD Floating Point Unit for BlueGene/L: Architecture, Compilation, and Algorithm Design", Proceedings of the 13th International Conference on Parallel Architecture and Compilation Techniques (PACT'04), pp. 1-12.