Vectorized sorted-set intersection using conflict-detection SIMD instructions
AssigneeOracle International Corporation
InventorsBenjamin Schlegel, Pit Fender, Matthias Brantner, Hassan Chafi
Life of this patent
Estimating the term…
Abstract
Vectorized sorted-set intersection is performed using conflict-detection single instruction, multiple data (SIMD) instructions. A first ordered subset of values of a first ordered set of distinct values and a second ordered subset of values of a second ordered set of distinct values is loaded into a register. A first value in the register that matches another value in the register (i.e., common values) is identified by performing an SIMD instruction. The first value is then stored in a result set representing a merge-sort result set between the first ordered set of distinct values and the second ordered set of distinct values.
Claims20
A method, comprising:
- loading into a register a first ordered subset of distinct values of a first ordered set of distinct values and a second ordered subset of distinct values of a second ordered set of distinct values;
- performing a single instruction, multiple data (SIMD) operation that identifies a first value in the register that matches another value in the register;
- storing the first value in a result set representing a merge-sort result set between the first ordered set of distinct values and the second ordered set of distinct values.
One or more non-transitory storage media storing sequences of instructions which, when executed by one or more processors, cause:
- loading into a register a first ordered subset of distinct values of a first ordered set of distinct values and a second ordered subset of distinct values of a second ordered set of distinct values;
- performing a single instruction, multiple data (SIMD) operation that identifies a first value in the register that matches another value in the register;
- storing the first value in a result set representing a merge-sort result set between the first ordered set of distinct values and the second ordered set of distinct values.
Dependencies are inferred from the claim text.