Patents
US 8,196,124 B2#18579409 Most CitedActiveUnited States (USPTO)Utility

SIMD code generation in the presence of optimized misaligned data reorganization

6Forward Citations (#18579409 Global)
0.4/yrCitation Velocity (#18798908 Global)
1.38Citation PageRank (#26166328 Global)
33Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Loop code is generated to execute on Single-Instruction Multiple-Datapath (SIMD) architectures, where the loop operates on datatypes having different lengths. Further, a preferred embodiment of the present invention includes a novel technique to efficiently realign or shift arbitrary streams to an arbitrary offset, regardless whether the alignments or offsets are known at the compile time or not. This technique enables the application of advanced alignment optimizations to runtime alignment. This allows sequential loop code operating on datatypes of disparate length to be transformed (“simdized”) into optimized SIMD code through a fully automated process.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A computer program product stored on a computer storage media, the computer storage media containing instructions for execution by a computer, which, when executed by the computer, cause the computer to implement a method comprising: identifying a loop, which includes original operations, iterating over a plurality of continuous streams of memory in a stride-one fashion; generating a data reorganization graph from the loop, wherein the data reorganization graph tracks an absolute alignment of data for the plurality of continuous streams of memory, and wherein the data reorganization graph incl

Technical Overview & Description

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

References Cited — Backward Prior Art (33)

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,481,746 AVector shift functional unit for successively shifting operands stored in a vector register by corresponding shift counts stored in another vector register199654
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
US 2003204840 A1Apparatus and method for one-pass profiling to concurrently generate a frequency profile and a stride profile to enable data prefetching in irregular programs—98
US 2004001066 A1Apparatus and method for vectorization of detected saturation and clipping operations in serial code loops of a source program—32
US 2004003381 A1Compiler program and compilation processing method—82
US 2004006667 A1Apparatus and method for implementing adjacent, non-unit stride memory access patterns utilizing SIMD instructions—72
US 2004025150 A1Compiler, compiler apparatus and compilation method—49
US 2004098709 A1Method, apparatus, and computer program for generating SIMD instruction sequence—44
US 2005097301 A1Vectorization in a SIMdD DSP architecture—41

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.
  • AltiVec™ Technology Programming Interface Manual, 1999, 262 pages.
  • Arafeh, Bassel R., "Vectorization and parallelization interactive assistant," 1988, ACM, pp. 573-577.
  • Bik et al., "Automatic Intra-Register Vectorization for the Intel Architecture," International Journal of Parallel Programming, vol. 30, No. 2, Apr. 2002 (p. 65-98).