Processor instructions for determining two minimum and two maximum values
AssigneeIntel Corporation
InventorsVinodh Gopal, James D. Guilford
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsVinodh Gopal, James D. Guilford
Estimating the term…
Processor instructions for determining two minimum and two maximum values and associated apparatus and methods. The instructions include various 2MIN instructions for determining the two smallest values among three or four input values and 2MAX instructions for determining the two largest values among three or four input values. The 2MIN instructions employ two operands, with the first operand in some of the variations storing concatenated min1 and min2 values in a first register and a scr2 comparison value or two src2 concatenated src2 values in a second register. Comparators are used to implement hardware logic for determining whether the scr2 value(s) is/are less than each of min1 and min2. Based on the hardware logic, the smallest two values among min1, min2, and src2 (or both src2 values) are stored as concatenated values in the first register. The 2MAX instructions are implemented in a similar manner, except the comparisons are whether the scr2 value(s) is/are greater than each of max1 and max2 values. 128-bit 2MIN and 2MAX SIMD instructions are also provided for processing two 64-bit data-paths in parallel.
A processor comprising:
A processor comprising:
A method for determining the smallest two values in a data set having a plurality of data elements implemented on a processor comprising hardware circuitry configured to implement an instruction set architecture (ISA) including a 2MIN instruction, wherein the 2MIN instruction has two operands in which data parameters including first and second current minimum values and at least one comparison value are loaded during execution of the 2MIN instruction, wherein the 2MIN instruction outputs two minimum values among the first and second current minimum values and the at least one comparison value, the method comprising:
A method for determining the smallest two values in a data set having a plurality of data elements implemented on a processor comprising hardware circuitry configured to implement an instruction set architecture (ISA) including a 128-bit SIMD (Single Instruction Multiple Data) instruction configured, when executed, to output a first pair of minimum values among a first set of input values including a first pair of current minimum values and a first comparison value, and a second pair of minimum values among a second set of input values including a second pair of current minimum values and a second comparison value, the method
Dependencies are inferred from the claim text.