Method, apparatus and system for execution of a vector calculation instruction
OwnerKlaus Danne, Tian Yang +1inventors
InventorsKlaus Danne, Tian Yang, Frank Richter-Trautmann
Life of this patent
Estimating the term…
Abstract
Techniques and mechanisms for executing a vector instruction with a processor. In an embodiment, a vector definition instruction is executed to perform operations associated with setting a first vector as a reference vector, the operations resulting in vector multiplication information being stored in a look-up table. In another embodiment, a vector multiplication instruction is subsequently executed to perform a vector multiplication calculation based on the vector multiplication information stored in the look-up table.
Claims21
A method at a processor, the method including:
- executing a first instruction of a vector definition instruction type, the first instruction including an indication of a first vector, wherein an instruction set of the processor includes the vector definition instruction type, the executing the first instruction including:
- calculating a set of one or more values each corresponding to a different respective Boolean vector, including for each of the set of one or more values, calculating a dot product of the first vector and the corresponding Boolean vector;
- and
- storing the set of one or more values in a lookup table of the processor, wherein the stored set of one or more values is available in the lookup table for access by an execution of an instruction subsequent to execution of the first instruction.
A system comprising:
- a bus to exchange a first instruction of a vector definition instruction type, the first instruction including an indication of a first vector;
- a processor coupled to the bus, the processor including:
- a memory to store a look-up table;
- a decoder to detect the first instruction, wherein an instruction set of the processor includes the vector definition instruction type;
- and
- an execution unit to execute the first instruction, including:
- the execution unit to calculate a set of one or more values each corresponding to a different respective Boolean vector, including for each of the set of one or more values, the execution unit to calculate a dot product of the first vector and the corresponding Boolean vector;
- and
- the execution unit to store the set of one or more values in the lookup table, wherein the stored set of one or more values is available in the lookup table for access by an execution of an instruction subsequent to execution of the first instruction;
- and
- a network interface coupled to the processor, the network interface to connect the system to a network.
A processor comprising:
- a memory to store a look-up table;
- a decoder to detect a first instruction of a vector definition instruction type, the first instruction including an indication of a first vector, wherein an instruction set of the processor includes the vector definition instruction type;
- and
- an execution unit to execute the first instruction, including:
- the execution unit to calculate a set of one or more values each corresponding to a different respective Boolean vector, including for each of the set of one or more values, the execution unit to calculate a dot product of the first vector and the corresponding Boolean vector;
- and
- the execution unit to store the set of one or more values in the lookup table, wherein the stored set of one or more values is available in the lookup table for access by an execution of an instruction subsequent to execution of the first instruction.
Dependencies are inferred from the claim text.