Patents
US 7,367,026 B2#6850612 Most CitedExpiredUnited States (USPTO)Utility

Framework for integrated intra- and inter-loop aggregation of contiguous memory accesses for SIMD vectorization

14Forward Citations (#6850612 Global)
0.8/yrCitation Velocity (#9553388 Global)
2.78Citation PageRank (#8579926 Global)
27Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

A method, computer program product, and information handling system for generating loop code to execute on Single-Instruction Multiple-Datapath (SIMD) architectures, where the loop contains multiple non-stride-one memory accesses that operate over a contiguous stream of memory is disclosed. A preferred embodiment identifies groups of isomorphic statements within a loop body where the isomorphic statements operate over a contiguous stream of memory over the iteration of the loop. Those identified statements are then converted into virtual-length vector operations. Next, the hardware's available vector length is used to determine a number of virtual-length vectors to aggregate into a single vector operation for each iteration of the loop. Finally, the aggregated, vectorized loop code is converted into SIMD operations.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer program product stored on a computer storage medium, the computer storage medium containing instructions for execution by a computer, which, when executed by the computer, cause the computer to implement a method of generating code, the method comprising: identifying a loop within a piece of program code; identifying, within a body of the loop, a plurality of isomorphic statements having adjacent memory accesses; transforming the plurality of isomorphic statements into one or more vector operations; calculating a blocking factor n, wherein the blocking factor n is calculated as a qu

Technical Overview & Description

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

References Cited — Backward Prior Art (27)

PatentTitleYearCitations
US 4,710,872 AMethod for vectorizing and executing on an SIMD machine outer loops in the presence of recurrent inner loops198779
US 5,247,645 ADynamic memory mapper which supports interleaving across 2N +1, 2.sup.NN -1 number of banks for reducing contention during nonunit stride accesses199348
US 5,349,665 ACompiler vectorizing system199430
US 5,440,687 ACommunication protocol for handling arbitrarily varying data strides in a distributed processing environment199549
US 5,522,074 AVectorization system for vectorizing loop containing condition induction variables199632
US 5,802,375 AOuter loop vectorization1998102
US 5,933,650 AAlignment and ordering of vector elements for single instruction multiple data processing1999286
US 5,996,057 AData processing system and method of permutation with replication within a vector register file1999127
US 6,113,650 ACompiler for optimization in generating instruction sequence and compiling method2000109
US 6,202,141 B1Method and apparatus for performing vector operation using separate multiplication on odd and even data elements of source vectors200139
US 6,266,758 B1Alignment and ordering of vector elements for single instruction multiple data processing2001130
US 6,334,176 B1Method and apparatus for generating an alignment control vector2001134
US 6,484,255 B1Selective writing of data elements from packed data based upon a mask using predication200259
US 6,550,059 B1Method for generating optimized vector instructions from high level programming languages200358
US 2003120889 A1Unaligned memory operands—40
US 2003167460 A1Processor instruction set simulation power estimation method—196

Non-Patent Literature (5)

  • Allen et al., "Automatic Translation of FORTRAN Programs to Vector Form," ACM Transactions on Programming Languages and Systems, v. 9, No. 4, Oct. 1987, p. 491-542.
  • AltiVec(TM) Technology Programming Interface Manual, 1999, 262 pages.
  • Arafeh, Bassel R., "Vectorization and parallelization interactive assistant," 1988, ACM, p. 573-577.
  • Bik et al., "Automatic Intra-Register Vectorizatoin for the Intel Architecture," International Journal of Parallel Programming, vol. 30, No. 2, Apr. 2002 (p. 65-98).
  • Chatterjee et al., "Modeling Data-Parallel Programs with the Alignment-Distribution Graph," 6<SUP>th </SUP>Annual Workshop on Languages and Compliers for Parallelism, Aug. 1993, 28 pages.