# US 2022/0291926 A1 · Systems, methods, and apparatuses for tile store

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

- Number: US 2022/0291926 A1
- Document ID: US20220291926A1
- Status: Published application
- Kind: A1
- Application number: 17/706,413
- Filed: 2022-03-28
- Published: 2022-09-15
- Earliest claimed: 2017-03-20
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Robert VALENTINE; Menachem ADELMAN; Elmoustapha OULD-AHMED-VALL; Bret L. TOLL; Milind B. GIRKAR; Zeev SPERBER; Mark J. CHARNEY; Rinat RAPPOPORT; Jesus CORBAL; Stanislav SHWARTSMAN; Igor YANOVER; Alexander F. HEINECKE; Barukh ZIV; Dan BAUM; Yuri GEBIL
- Web page: https://patentgrep.com/patent/US20220291926A1

## CPC

- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 7/485: Adding; Subtracting {(G06F7/4833, G06F7/4836 take precedence)}
- G06F 7/4876: {Multiplying}
- G06F 7/5443: {Sum of products (for applications thereof, see the relevant places, e.g. G06F17/10, H03H17/00)}
- G06F 7/762: {having at least two separately controlled rearrangement levels, e.g. multistage interconnection networks (G06F7/764 - G06F7/768 take precedence)}
- G06F 9/3001: {Arithmetic instructions}
- G06F 9/30014: {with variable precision}
- G06F 9/30032: {Movement instructions, e.g. MOVE, SHIFT, ROTATE, SHUFFLE}
- G06F 9/30038: {using a mask}
- G06F 9/30043: {LOAD or STORE instructions; Clear instruction}
- G06F 9/30109: {having multiple operands in a single register}
- G06F 9/30112: {comprising data of variable length}
- G06F 9/30134: {Register stacks; shift registers}
- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/30149: {of variable length instructions}
- G06F 9/3016: {Decoding the operand specifier, e.g. specifier format}
- G06F 9/30185: {according to one or more bits in the instruction, e.g. prefix, sub-opcode}
- G06F 9/30196: {using decoder, e.g. decoder per instruction set, adaptable or programmable decoders}
- G06F 9/3818: {Decoding for concurrent execution}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3861: {Recovery, e.g. branch miss-prediction, exception handling (error detection or correction G06F11/00)}
- G06F 12/0207: {with multidimensional access, e.g. row/column, matrix}
- G06F 17/16: Matrix or vector computation {, e.g. matrix-matrix or matrix-vector multiplication, matrix factorization (matrix transposition G06F7/78)}
- G06F 2212/454: Vector or matrix data
- G06F 2212/455: Image or video data
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Embodiments detailed herein relate to matrix operations. In particular, the loading of a matrix (tile) from memory. For example, support for a loading instruction is described in at least a form of decode circuitry to decode an instruction having fields for an opcode, a source matrix operand identifier, and destination memory information, and execution circuitry to execute the decoded instruction to store each data element of configured rows of the identified source matrix operand to memory based on the destination memory information

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

An apparatus comprising:
programmable configuration storage to store configuration information for a matrix, the configuration information including a first value corresponding to a number of rows for the matrix, a second value corresponding to a number of columns for the matrix, and a start row value corresponding to a row of the matrix at which to restart execution of a matrix store instruction;
decode circuitry to decode the matrix store instruction, the matrix store instruction having a first operand to reference one or more memory addresses and a second operand to specify one or more registers; and
execution circuitry, coupled to the programmable configuration storage and the decode circuitry, the execution circuitry to perform one or more operations corresponding to the matrix store instruction, including storing the matrix, from the one or more registers specified by the second operand, to the one or more memory addresses referenced by the first operand.

### Claim 22 (depends on 21)

The apparatus of claim 21, further comprising a tile register including the one or more registers.

### Claim 23 (depends on 21)

The apparatus of claim 21, wherein the programmable configuration storage comprises one or more physical registers.

### Claim 24 (depends on 22)

The apparatus of claim 22, wherein the tile register is one of a plurality of tile registers, each of the plurality of tile registers to store one of a plurality of matrices, and the configuration information is to include a plurality of pairs of values, each of the plurality of pairs of values corresponding to a number of rows and a number of columns for one of the plurality of matrices.

### Claim 25 (depends on 24)

The apparatus of claim 24, wherein the plurality of matrix instructions also includes a configuration instruction to load the configuration information from one or more memory locations referenced by one or more operands of the configuration instruction.

### Claim 26 (depends on 25)

The apparatus of claim 25, wherein the configuration information also includes a palette identifier to identify a palette including the plurality of matrices.

### Claim 27 (depends on 25)

The apparatus of claim 25, wherein the execution circuitry is also to perform at least one matrix operation using a pair of matrices from a pair of tile registers of the plurality of tile registers.

### Claim 28 (depends on 27)

The apparatus of claim 27, wherein the execution circuitry comprises a fused multiply-add grid to perform the at least one matrix operation.

### Claim 29 (depends on 21)

The apparatus of claim 21, wherein the apparatus is at least one core coupled to at least one accelerator, the at least one accelerator comprising the execution circuitry.

### Claim 30 (depends on 29)

The apparatus of claim 29, wherein the at least one core comprises the decode circuitry.

### Claim 31 (depends on 21)

The apparatus of claim 21, wherein the apparatus is at least one core comprising the decode circuitry and the execution circuitry.

### Claim 32 (depends on 21)

The apparatus of claim 21, further comprising a memory controller to retrieve the configuration information from the one or more memory locations.

### Claim 33 (depends on 21)

The apparatus of claim 21, wherein the apparatus is a processor.

### Claim 34 (depends on 21)

The apparatus of claim 21, wherein the apparatus is a system on a chip (SoC).

### Claim 35

A method comprising:
storing, in programmable configuration storage, configuration information for a matrix, the configuration information including a first value corresponding to a number of rows for the matrix, a second value corresponding to a number of columns for the matrix, and a start row value corresponding to a row of the matrix at which to restart execution of a matrix store instruction;
decoding the matrix store instruction, the matrix store instruction having a first operand to reference one or more memory addresses and a second operand to specify one or more registers;
performing one or more operations corresponding to the matrix store instruction, including storing the matrix, from the one or more registers specified by the second operand, to the one or more memory addresses referenced by the first operand.

### Claim 36 (depends on 35)

The method of claim 35, wherein storing configuration information for the matrix is performed in response to a configuration instruction, the configuration instruction having one or more operands to indicate one or more memory locations from which to store the configuration information.

### Claim 37 (depends on 36)

The method of claim 36, wherein the configuration information also includes a palette identifier to identify a palette including a plurality of matrices, further comprising:
decoding a second matrix instruction; and
performing at least one matrix operation corresponding to the second matrix instruction, the at least one matrix operation using a pair of matrices of the plurality of matrices.

### Claim 38

A non-transitory machine-readable medium storing a plurality of matrix instructions, including a matrix store instruction which, when executed by a machine, causes the machine to perform a method comprising:
identifying one or more memory addresses referenced by a first operand of the matrix load instruction;
identifying one or more registers in the machine, specified by a second operand of the matrix load instruction;
storing a matrix, from the one or more registers specified by the second operand, to the one or more memory addresses referenced by the first operand, wherein indices of elements of the matrix are based, at least in part, on configuration information including a first value corresponding to a number of rows for the matrix, a second value corresponding to a number of columns for the matrix, and a start row value corresponding to a row of the matrix at which to restart execution of at least one of the plurality of matrix instructions.

### Claim 39 (depends on 38)

The non-transitory machine-readable medium of claim 38, wherein the plurality of matrix instructions also includes a configuration instruction which, when executed by the machine, causes the machine to store the configuration information in configuration storage in the machine, from one or more memory locations referenced by one or more operands of the configuration instruction.

### Claim 40 (depends on 38)

The non-transitory machine-readable medium of claim 38, wherein the configuration information also includes a palette identifier to identify a palette including a plurality of matrices, and plurality of matrix instructions also includes a second matrix instruction which, when executed by the machine, causes the machine to perform at least one matrix operation using pair of matrices of the plurality of matrices.
