hottub.patents
US 12,481,503 B2#3385146 Most CitedActiveUnited States (USPTO)Utility

Vector maximum and minimum with indexing

0Forward Citations (#3385146 Global)
0.0/yrCitation Velocity (#3385146 Global)
0.00Citation PageRank (#3385146 Global)
13Prior Art Cited
8Claims (1 Indep. · 7 Dep.)
0Drawings / Sheets

Abstract

A method to compare first and second source data in a processor in response to a vector maximum with indexing instruction includes specifying first and second source registers containing first and second source data, a destination register storing compared data, and a predicate register. Each of the registers includes a plurality of lanes. The method includes executing the instruction by, for each lane in the first and second source register, comparing a value in the lane of the first source register to a value in the corresponding lane of the second source register to identify a maximum value, storing the maximum value in a corresponding lane of the destination register, asserting a corresponding lane of the predicate register if the maximum value is from the first source register, and de-asserting the corresponding lane of the predicate register if the maximum value is from the second source register.

Interactive Citation Constellation Global Citation Ranking

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

Claims (8 — 1 Independent, 7 Dependent)

  1. Claim 1Independent Claim

    A device, comprising: a first register configured to store a first set of values; a second register configured to store a second set of values; and a functional unit configured to: receive an instruction specifying the first register and the second register; based on the instruction, for each value of the first set of values and a corresponding value of the second set of values, compare the value of the first set of values to the corresponding value of the second set of values; identify one of the value of the first set of values and the corresponding value of the second set of values based the comparison; and store a value in a predicate register to indicate whether the identified value is from the first set of values or the second set of values; and perform an operation associated with the first set of values and the second set of values based on the values of the predicate register.

  2. Claim 2Depends on #1

    The device of claim 1, wherein the instruction specifies a maximum sorting operation, and wherein the identified value is a greater of the value of the first set of values and the corresponding value of the second set of values.

  3. Claim 3Depends on #1

    The device of claim 1, wherein the instruction specifies a minimum sorting operation, and wherein the identified value is a lesser of the value of the first set of values and the corresponding value of the second set of values.

  4. Claim 4Depends on #1

    The device of claim 1, comprising: a set of functional units including the functional unit, wherein the instruction specifies the functional unit.

  5. Claim 5Depends on #1

    The device of claim 1, wherein the instruction specifies whether the first set of values and the second set of values are signed or unsigned values.

  6. Claim 6Depends on #1

    The device of claim 1, wherein the instruction specifies the predicate register.

  7. Claim 7Depends on #1

    The device of claim 1, wherein the functional unit is further configured to: for each value of the first set of values and the corresponding value of the second set of values, store the identified value in the second register.

  8. Claim 8Depends on #1

    The device of claim 1, wherein the functional unit is further configured to: for each value of the first set of values and the corresponding value of the second set of values, store the identified value in a third register that is different from the first register and the second register.

Technical Overview & Description

CROSS-REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent application Ser. No. 18/191,066, filed Mar. 28, 2023, which is a continuation of U.S. patent application Ser. No. 17/215,013, filed Mar. 29, 2021, now U.S. Pat. No. 11,614,940, issued Mar. 28, 2023, which is a continuation of U.S. patent application Ser. No. 16/422,501, filed May 24, 2019, now U.S. Pat. No. 10,963,252, issued Mar. 30, 2021, all of which are hereby incorporated herein by reference in their entireties. BACKGROUND Modern digital signal processors (DSP) face multiple challenges. DSPs may frequently execute software that requires sorting functions to be carried out. Sorting functions may require identifying minimum or maximum values in an array of values and, in certain cases, the position or index of an identified minimum or maximum value in the array. Multiple instructions may be required to identify the minimum or maximum value as well as its position, which increases instruction overhead due to the frequent, repetitive nature of sorting functions carried out by the DSP. SUMMARY In accordance with at least one example of the disclosure, a method to compare first and second source data in a processor in response to a vector maximum or minimum with indexing instruction includes specifying first and second source registers containing first and second source data, a destination register storing compared data, and a predicate register. Each of the registers includes a plurality of lanes. The method includes executing the instruction by, for each lane in the first and second source register, comparing a value in the lane of the first source register to a value in the corresponding lane of the second source register to identify a maximum or minimum value, storing the maximum or minimum value in a corresponding lane of the destination register, asserting a corresponding lane of the predicate register if the maximum or minimum value is from the first source register, and

Cited By — Indexed Forward Citations (0 of 0 total)

No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.

References Cited — Backward Prior Art (13)

PatentTitleYearCitations

Non-Patent Literature (1)

  • Design of High Performance Digital Signal Processor, Yan Wei, Gong Youmin, Microprocessors, No. 4, year: 2004.