Fused modular multiply and add operation
Abstract
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.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 10 · Forward citations: 0.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A computer-implemented method comprising: receiving, by a processing unit, an instruction to perform 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; computing, by a first multiply-and-accumulate unit, a binary multiplication to compute a*b; computing, by a second multiply-and-accumulate unit, a first intermediate result by updating a result of the binary multiplication using p; initializing an accumulator of a third multiply-and-accumulate unit with c; computing, by the third multiply-and-accumulate unit, a second in
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (10)
Non-Patent Literature (4)
- Fortin et al., “High performance SIMD modular arithmetic for polynomial evaluation,” Concurrency and Coomputation: Practice and Experience, vol. 33, No. 16, Apr. 23, 2020, pp. 1-24.
- International Search Report and Written Opinion; Mailed: Dec. 22, 2022; Application No. PCT/CN2022/124644; Filed: Oct. 11, 2022; 9 pages.
- Monagan et al., “High performance SIMD modular arithmetic for polynomial evaluation,” arXiv.2004.11571v1, Apr. 2020, pp. 1-24.
- Shukla et al., “Hardware Optimizations for Crypto Implementations,” 20th International Symposium on VLSI Design and Test, May 27, 2016, pp. 1-10.