Fused modular multiply and add operation
AssigneeInternational Business Machines Corporation
InventorRajat Rao
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorRajat Rao
Estimating the term…
A computer-implemented method includes receiving performing a fused modular multiply and add operation to compute d=((a*b)+c) % p, wherein a, b, and c, are provided as a set of operands. A first multiply-and-accumulate unit computes a binary multiplication to compute a*b. A second multiply-and-accumulate unit computes a first intermediate result by updating a result of the binary multiplication using p. An accumulator of a third multiply-and-accumulate unit is initialized with c. The third multiply-and-accumulate unit computes a second intermediate result using the first intermediate result and c. An adder unit subtracts a portion of the second intermediate result from a portion of the result of the binary multiplication. The output of the adder is provided as a result of the fused modular multiply and add operation.
A computer-implemented method comprising:
A system comprising:
A computer program product comprising a computer-readable memory that has computer-executable instructions stored thereupon, the computer-executable instructions when executed by a processor cause the processor to perform a method for performing a fused modular multiply and add operation to compute d=((a*b)+c) % p, wherein a, b, and c are provided as operands, and wherein performing the fused modular multiply and add operation comprises:
Dependencies are inferred from the claim text.