Patents
US 9,501,276 B2#45524343 Most CitedActiveUnited States (USPTO)Utility

Instructions and logic to vectorize conditional loops

2Forward Citations (#45524343 Global)
0.2/yrCitation Velocity (#33589567 Global)
0.85Citation PageRank (#50417519 Global)
45Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Instructions and logic provide vectorization of conditional loops. A vector expand instruction has a parameter to specify a source vector, a parameter to specify a conditions mask register, and a destination parameter to specify a destination vector to hold n consecutive vector elements, each of the plurality of n consecutive vector elements having a same variable partition size of m bytes. In response to the processor instruction, data is copied from consecutive vector elements in the source vector, and expanded into unmasked vector elements of the specified destination vector, without copying data into masked vector elements of the destination vector, wherein n varies responsive to the processor instruction executed. The source vector may be a register and the destination vector may be in memory. Some embodiments store counts of the condition decisions. Alternative embodiments may store other data, for example such as target addresses, or table offsets, or indicators of processing directives, etc.

Interactive Citation Constellation Global Citation Ranking

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

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A processor comprising: a source vector register; a destination vector register; a decode stage to decode a processor instruction specifying a vector expand operation and a data partition size; and one or more execution units, responsive to the decoded processor instruction, to: read values from each of a first plurality of n data fields of the source vector register, wherein each of the first plurality of n data fields is to store a vector element having a same variable partition size of m bytes; and copy the data from consecutive vector elements in the source vector register, into unmasked v

Technical Overview & Description

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

References Cited — Backward Prior Art (45)

PatentTitleYearCitations
JP S58214963 AVector processor—6
US 4,490,786 AVector processing unit1984129
US 4,680,730 AStorage control apparatus198767
US 4,852,049 AVector mask operation control unit198947
US 4,881,168 AVector processor with vector data compression/expansion capability1989145
US 5,206,822 AMethod and apparatus for optimized processing of sparse matrices199394
US 5,247,695 AVector processor with byte access of memory199310
EP 0,574,909 A2Vector processing device—10
US 5,495,433 AData processing circuit19962
US 5,511,210 AVector processing device using address data and mask information to generate signal that indicates which addresses are to be accessed from the main memory1996109
US 5,680,338 AMethod and system for vector processing utilizing selected vector elements199754
US 5,812,147 AInstruction methods for performing data formatting while moving data between memory and a vector register file1998121
US 5,832,288 AElement-select mechanism for a vector processor199894
US 5,887,183 AMethod and system in a data processing system for loading and storing vectors in a plurality of modes1999247
US 5,933,650 AAlignment and ordering of vector elements for single instruction multiple data processing1999286
WO 0,153,934 A1Method and apparatus for improved computer load and store operations—12
US 6,269,435 B1System and method for implementing conditional vector operations in which an input vector containing multiple operands to be used in conditional operations is divided into two or more output vectors based on a condition vector200148
US 6,308,250 B1Method and apparatus for processing a set of data values with plural processing units mask bits generated by other processing units200178
US 2002026569 A1Method and apparatus for efficient loading and storing of vectors—68
US 2002130874 A1Vector instruction set—26
US 6,591,361 B1Method and apparatus for converting data into different ordinal types200320
US 6,701,424 B1Method and apparatus for efficient loading and storing of vectors200427
US 2004066385 A1System, method and computer program product for programmable fragment processing in a graphics pipeline—29
US 2005033940 A1Processor which overrides default operand size for implicit stack pointer references and near branches—24
US 6,857,061 B1Method and apparatus for obtaining a scalar value directly from a vector register200516
US 6,922,716 B2Method and apparatus for vector processing200547
WO 2006/044978 A2Looping instructions for a single instruction, multiple data execution engine—9
US 2006101256 A1Looping instructions for a single instruction, multiple data execution engine—22

Non-Patent Literature (5)

  • Assembly Language, Mar. 26, 2010, Wikipedia, pp. 1-11 [retrieved from the internet on May 19, 2016].
  • CSE 240 Chapter 2 Bits Data Types and Operations, Jul. 2, 2010, 12 pages, [retrieved from the internet on Apr. 1, 2015], retrieved from URL .
  • CSE 240 Chapter 2 Bits Data Types and Operations, Jul. 2, 2010, 12 pages, [retrieved from the internet on Apr. 1, 2015], retrieved from URL <https://www.cis.upenn.edu/˜milom/cse240-Fall06/lectures/Ch02.pdf>.
  • Freescale Semiconductor, AltiVec(tm) Technology Programming Environments Manual, ALTIVECPEM Rev. 3, Apr. 2006, 346 pages.
  • Hennessy and Patterson, Computer Architecture A Quantitative Approach, 1996, Morgan Kaufman, Second Edition, Cover Pages and pp. 74-75.