# US 2026/0211617 A1 · Multiplying two wide-word integer values

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0211617 A1
- Document ID: US20260211617A1
- Status: Published application
- Kind: A1
- Application number: 19/066,680
- Filed: 2025-02-28
- Published: 2026-07-23
- Earliest claimed: 2025-01-23
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Silvia Melitta Mueller; Manoj Kumar; DEBAPRIYA CHATTERJEE; Thomas Szabo; Daniel Fallnich
- Web page: https://patentgrep.com/patent/US20260211617A1

## CPC

- G06F 7/4915: {Multiplying; Dividing (G06F7/492, G06F7/498 take precedence)}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer implemented method of multiplying two wide-word integer values, the method comprising: multiplying two or more limbs of a first integer value with two or more limbs of a second integer value to create one or more partial products; summing one or more partial products of a same radix value resulting in one or more partial sums, wherein the one or more partial sums are stored in a target vector register; indicating by an additional operand, opcode, immediate or another register, which of the one or more partial products participate in forming the one or more partial sums; performing all of the above steps by a single instruction in a computer hardware circuit.

## Claims

### Claim 1

A computer implemented method of multiplying two wide-word integer values represented in a Reduced-Radix Representation using a Redundant Number System arithmetic, wherein each integer value is stored in a set of source vector registers as two or more limbs per vector register, the method comprising:
multiplying two or more limbs of the first integer value with two or more limbs of the second integer value to create one or more partial products;
summing one or more partial products of a same radix value resulting in one or more partial sums, wherein the one or more partial sums are stored in a target vector register;
indicating by an additional operand, opcode, immediate or another register, which of the one or more partial products participate in forming the one or more partial sums;
performing all of the above steps by a single instruction in a computer hardware circuit.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
indicating by an additional operand, opcode, immediate or another register, which of the one or more partial products are doubled before being summed up with another one of the one or more partial products of the same radix value.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the one or more partial products are selectively doubled and/or disabled before being summed up.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the one or more partial products or an addend are selectively doubled before being summed up.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the one or more partial products comprise a first partial product and a second partial product, wherein the first partial product or an addend are selectively doubled, wherein the second partial product is disabled before being summed up.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the one or more partial sums are formed by summing the one or more partial products of the same radix value being stored in a set of target vector registers, the method further comprising:
extracting different subsets of bits of the two or more partial sums;
shifting the extracted subsets of bits to align the radix values;
adding the shifted extracted subsets of bits to produce a sum which is then stored in a target vector register;
computing the partial sums by a single instruction in the computer hardware circuit.

### Claim 7 (depends on 6)

The method according to claim 6, wherein three partial sums are merged into at least one sum, wherein two partial sums are merged into the highest radix sums and lowest radix sums each.

### Claim 8 (depends on 7)

The method according to claim 7, wherein two of the three partial sums are shifted in the target vector register for aligning the radix values.

### Claim 9

A computer implemented method of multiplying two wide-word integer values represented in a Reduced-Radix Representation using a Redundant Number System arithmetic, wherein each integer value is stored in a set of source vector registers as two or more limbs per vector register, the method comprising:
multiplying two or more limbs of the first integer value with two or more limbs of the second integer value to create one or more partial products;
summing the one or more of the partial products of a same radix value resulting in one or more partial sums, wherein the one or more partial sums thus formed are stored in a target vector register;
indicating by an additional operand, opcode, immediate or another register, which of the one or more partial products are doubled before being summed up with another one of the one or more partial products of the same radix value;
performing all of the above steps by a single instruction in a computer hardware circuit.

### Claim 10 (depends on 9)

The method according to claim 9, wherein the one or more partial products are selectively doubled and/or disabled before being summed up.

### Claim 11 (depends on 9)

The method according to claim 9, wherein the one or more partial products or an addend are selectively doubled before being summed up.

### Claim 12 (depends on 9)

The method according to claim 9, wherein the one or more partial products comprise a first partial product and a second partial product, wherein the first partial product or an addend are selectively doubled, wherein the second partial product is disabled before being summed up.

### Claim 13 (depends on 6)

The method according to claim 6, wherein sums are rebased by adding high order bits to a next higher radix limb when too many carry bits are accumulated.

### Claim 14 (depends on 13)

The method according to claim 13, wherein rebasing the sums is combined with addition and/or reduction operations.

### Claim 15 (depends on 9)

The method according to claim 9, wherein at least one of the one or more partial products are scaled by a factor of two.

### Claim 16

A computer implemented method of multiplying two wide-word integer values represented in a non-Reduced-Radix Representation, wherein successive subsets of bits of a binary representation of a wide integer are stored in different source vector registers, the method comprising:
multiplying all words of the first integer value obtained from a first source vector register with corresponding words of the second integer value obtained from a second source vector register to create one or more partial products;
shifting the one or more of the partial products to align a radix value;
adding the shifted partial products to a result;
storing the result, the result being up to two vector registers wide, in two target vector registers;
performing all of the above steps by one instruction or by two instructions, a first instruction to store a first part of the result in a first target vector register and a second instruction to store a second part of the result in a second target vector register.

### Claim 17 (depends on 16)

The method according to claim 16, further comprising:
multiplying all words of the first integer value obtained from the first source vector register with a corresponding word of the second integer value obtained from the second source vector register to create the one or more partial products;
shifting the one or more of the partial products to align the radix value;
adding the shifted partial products to the result;
storing the result, the result being up to two vector registers wide, in two target vector registers;
performing all of the above steps by one instruction or by two instructions, the first instruction to store the first part of the result in the first target vector register and the second instruction to store the second part of the result in the second target vector register.

### Claim 18 (depends on 16)

The method according to claim 16, wherein an addend for adding to the product of the two wide-word integer values is enabled by an immediate bit.

### Claim 19

A computer hardware circuit for execution of at least one instruction for performing the method of multiplying two wide-word integer values represented in a Reduced-Radix Representation using a Redundant Number System arithmetic, at least comprising
source vector registers for input of the two wide-word integer values and an addend,
two multiplier units adapted for computation of at least two partial products,
two adder units adapted for adding the partial products and the addend,
four multiplexer units adapted for implementing shifts of partial sums and the addend,
two adder units adapted for computing a partial sum,
a target vector register for storing the partial sum.

### Claim 20 (depends on 19)

The computer hardware circuit according to claim 19, wherein the computation of the partial products and the addition of the addend is split into high parts and low parts.

### Claim 21 (depends on 19)

The computer hardware circuit according to claim 19, wherein two multiplexer units of the four multiplexer units for shifting the addend are fed by a low addend part of the addend and a high addend part of the addend, the two multiplexer units being coupled to the two adder units and
the other two multiplexer units of the four multiplexer units are coupled between the two adder units for adding the partial products and the addend and the two adder units for computing the sum.

### Claim 22

A computer hardware circuit for execution of at least one instruction for performing the method of multiplying two wide-word integer values represented in a non-Reduced-Radix Representation, at least comprising
source vector registers for input of the two wide-word integer values and an addend,
two multiplier units adapted for computation of at least two partial products,
two adder units for adding the partial products and the addend,
a multiplexer unit adapted for selecting a first part of the result,
two adder units adapted for computing the result and carry bits,
a gating function and a multiplexer unit adapted for selecting the result and carry bits,
a target vector register for storing the result.

### Claim 23 (depends on 22)

The computer hardware circuit according to claim 22, wherein the computation of the partial products and the addition of the addend is split into high parts and low parts.

### Claim 24 (depends on 22)

The computer hardware circuit according to claim 22, wherein the gating function and the multiplexer for selecting the result and carry bits are coupled between the two adder units for computing the result and carry bits and a target vector register.
