# US 9,355,068 B2 · Vector multiplication with operand base system conversion and re-conversion

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

- Number: US 9,355,068 B2
- Document ID: US9355068B2
- Status: Granted
- Kind: B2
- Application number: 13/538,499
- Filed: 2012-06-29
- Published: 2014-01-02
- Granted: 2016-05-31
- Earliest claimed: 2012-06-29
- Assignees: Intel Corporation
- Applicants: Shay Gueron; Vlad Krasnov
- Inventors: Shay Gueron; Vlad Krasnov
- Web page: https://patentgrep.com/patent/US9355068B2

## CPC

- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 7/5324: {partitioned, i.e. using repetitively a smaller parallel parallel multiplier or using an array of such smaller multipliers}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06F 9/3001: {Arithmetic instructions}
- G06F 9/30025: {Format conversion instructions, e.g. Floating-Point to Integer, decimal conversion}
- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 9/30038: {using a mask}
- G06F 9/30098: {Register arrangements}
- G06F 9/3016: {Decoding the operand specifier, e.g. specifier format}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method is described that includes performing the following with an instruction execution pipeline of a semiconductor chip. Multiplying two vectors by: receiving a vector element multiplicand and vector element multiplier expressed in a first base system; converting the vector element multiplicand and vector element multiplier into a second lower base system to form a converted vector element multiplicand and a converted vector element multiplier; multiplying with a first execution unit of the pipeline the converted vector element multiplicand and the converted vector element multiplier to form a multiplication result; accumulating in a register a portion of the multiplication result with a portion of a result of a prior multiplication of operands expressed in the second lower base system; and, converting contents of the register into the first base system.

## Claims

### Claim 1

A method comprising:
decoding a single instruction with a hardware decoder of a hardware processor; and
executing the single instruction with a hardware execution unit of the hardware processor by:
receiving a vector element multiplicand and vector element multiplier expressed in a first base system;
converting said vector element multiplicand and vector element multiplier into a second lower base system to form a converted vector element multiplicand and a converted vector element multiplier;
multiplying said converted vector element multiplicand and said converted vector element multiplier to form a multiplication result;
accumulating in a register a portion of said multiplication result with a portion of a result of a prior multiplication of operands expressed in said second lower base system; and
converting contents of said register into said first base system.

### Claim 2 (depends on 1)

The method of claim 1 wherein said first base system corresponds to a maximum digit size of 64 bits.

### Claim 3 (depends on 2)

The method of claim 2 wherein said second lower base system corresponds to a maximum digit size of 52 bits.

### Claim 4 (depends on 1)

The method of claim 1 wherein said contents of said register include a digit that is larger than said second lower base system's largest digit.

### Claim 5 (depends on 1)

The method of claim 1 wherein the executing further comprises iteratively performing multiplication and accumulation sequences to effect a complete multiplication of two vectors, and said iterative multiplication and accumulation sequences include a broadcast operation that instantiates one element of a multiplier across each of multiple elements of a vector.

### Claim 6 (depends on 5)

The method of claim 5 wherein said iterative multiplication and accumulation sequences include a shift operation that shifts elements of a multiplicand to a neighboring vector element location.

### Claim 7

A hardware processor comprising:
a hardware decoder to decode a single instruction; and
a hardware execution unit to execute the single instruction to:
receive a vector element multiplicand and vector element multiplier expressed in a first base system;
convert said vector element multiplicand and vector element multiplier into a second lower base system to form a converted vector element multiplicand and a converted vector element multiplier;
multiply said converted vector element multiplicand and said converted vector element multiplier to form a multiplication result;
accumulate in a register a portion of said multiplication result with a portion of a result of a prior multiplication of operands expressed in said second lower base system; and
convert contents of said register into said first base system.

### Claim 8 (depends on 7)

The hardware processor of claim 7 wherein said first base system corresponds to a maximum digit size of 64 bits.

### Claim 9 (depends on 8)

The hardware processor of claim 8 wherein said second lower base system corresponds to a maximum digit size of 52 bits.

### Claim 10 (depends on 7)

The hardware processor of claim 7 wherein said contents of said register include a digit that is larger than said second lower base system's largest digit.

### Claim 11 (depends on 7)

The hardware processor of claim 7 wherein said hardware execution unit is to execute the single instruction by iteratively performing multiplication and accumulation sequences to effect a complete multiplication of two vectors and said iterative multiplication and accumulation sequences include a broadcast operation that instantiates one element of a multiplier across each of multiple elements of a vector.

### Claim 12 (depends on 11)

The hardware processor of claim 11 wherein said iterative multiplication and accumulation sequences include a shift operation that shifts elements of a multiplicand to a neighboring vector element location.
