INSTRUCTION AND LOGIC FOR SHIFT-SUM MULTIPLIER
First Claim
1. A processor, comprising:
- a front end including a decoder, the decoder including a first logic to identify a multiplication instruction to multiply a first number and a second number;
an execution unit including;
a second logic to execute the multiplication instruction;
a third logic to, based on the instruction, access a look-up table based on the second number to determine a plurality of shift parameters and one or more flag parameters; and
a shift-sum-multiplier (SSM) including;
a fourth logic to use the shift parameters to shift the first number to determine a plurality of partial products, and the flag parameters to determine signs of the partial products; and
a fifth logic to sum the partial products to yield a result of the multiplication instruction; and
a retirement unit including a sixth logic to retire the instruction.
1 Assignment
0 Petitions
Accused Products
Abstract
A processor includes a front end including a decoder, an execution unit including a shift-sum multiplier (SSM), and a retirement unit. The decoder includes logic identify a multiplication instruction to multiply a first number and a second number. The execution unit includes logic to, based on the instruction, access a look-up table based on the second number to determine a plurality of shift parameters and one or more flag parameters. The SSM includes logic to use the shift parameters to shift the first number to determine a plurality of partial products, and the flag parameters to determine signs of the partial products. The SSM also includes logic to sum the partial products to yield a result of the multiplication instruction.
-
Citations
20 Claims
-
1. A processor, comprising:
-
a front end including a decoder, the decoder including a first logic to identify a multiplication instruction to multiply a first number and a second number; an execution unit including; a second logic to execute the multiplication instruction; a third logic to, based on the instruction, access a look-up table based on the second number to determine a plurality of shift parameters and one or more flag parameters; and a shift-sum-multiplier (SSM) including; a fourth logic to use the shift parameters to shift the first number to determine a plurality of partial products, and the flag parameters to determine signs of the partial products; and a fifth logic to sum the partial products to yield a result of the multiplication instruction; and a retirement unit including a sixth logic to retire the instruction. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method comprising, within a processor:
-
identifying and decoding a multiplication instruction to multiply a first number and a second number; based on the instruction, accessing a look-up table based on the second number to determine a plurality of shift parameters and one or more flag parameters; and determining a plurality of partial products using the shift parameters to shift the first number and the flag parameters to determine signs of partial products; and summing the partial products to yield a result of the multiplication instruction; and retiring the instruction. - View Dependent Claims (9, 10, 11, 13)
-
-
12. The method of claim 12, further comprising includes an eighth logic to access the lookup table and retrieve the corresponding shift parameters and flag parameters based upon a value range of the second number, the value range from negative two to two.
-
14. A system comprising:
-
a front end including a decoder, the decoder including a first logic to identify a multiplication instruction to multiply a first number and a second number; an execution unit including; a second logic to execute the multiplication instruction; a third logic to, based on the instruction, access a look-up table based on the second number to determine a plurality of shift parameters and one or more flag parameters; and a shift-sum-multiplier (SSM) including; a fourth logic to use the shift parameters to shift the first number to determine a plurality of partial products, and the flag parameters to determine signs of the partial products; and a fifth logic to sum the partial products to yield a result of the multiplication instruction; and a retirement unit including a sixth logic to retire the instruction. - View Dependent Claims (15, 16, 17, 18, 19, 20)
-
Specification