# US 2016/0253179 A1 · Concurrent execution of heterogeneous vector instructions

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

- Number: US 2016/0253179 A1
- Document ID: US20160253179A1
- Status: Published application
- Kind: A1
- Application number: 15/154,381
- Filed: 2016-05-13
- Published: 2016-09-01
- Earliest claimed: 2013-05-29
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Jeffry E. Gonion
- Web page: https://patentgrep.com/patent/US20160253179A1

## CPC

- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 8/445: {Exploiting fine grain parallelism, i.e. parallelism at instruction level (run-time instruction scheduling G06F9/3836)}
- G06F 9/30021: {Compare instructions, e.g. Greater-Than, Equal-To, MINMAX}
- 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/30043: {LOAD or STORE instructions; Clear instruction}
- G06F 9/30072: {to perform conditional operations, e.g. using predicates or guards}
- G06F 9/30192: {according to data descriptor, e.g. dynamic data typing}
- G06F 9/3822: {Parallel decoding, e.g. parallel decode units}
- G06F 9/3853: {of compound instructions}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processor may include a vector functional unit that supports concurrent operations on multiple data elements of a maximum element size. The functional unit may also support concurrent execution of multiple distinct vector program instructions, where the multiple vector instructions each operate on multiple data elements of less than the maximum element size.

## Claims

### Claim at position 1

-20. (canceled)

### Claim 21

A processor, comprising:
an instruction issue unit configured to issue vector program instructions for execution, where each vector program instruction operates on one or more vectors, each vector including a plurality of data elements, wherein each vector program instruction operates on one of a plurality of possible element sizes, wherein the plurality of possible element sizes includes a maximum element size; and
a functional unit configured to execute a single instance of a given vector program instruction that operates on the maximum element size;
wherein the functional unit is further configured to concurrently execute a plurality of vector program instructions that each operate on an element size that is less than the maximum element size;
wherein for at least two of the plurality of vector program instructions that each operate on an element size that is less than the maximum element size, the at least two vector program instructions: implement different computational operations, execute with different latencies, operate on data elements of different sizes, execute in different subunits of the functional unit, or any combination thereof; and
wherein a maximum number of data elements per vector on which the functional unit is configured to concurrently operate is independent of a number of vector program instructions the functional unit is configured to concurrently execute.

### Claim 22 (depends on 21)

The processor of claim 21, wherein the vector program instructions are defined according to the Macroscalar instruction set architecture.

### Claim 23 (depends on 21)

The processor of claim 21, wherein the different subunits of the functional unit include at least an integer subunit and a floating-point subunit.

### Claim 24 (depends on 21)

The processor of claim 21, wherein a number of data elements on which the functional unit is configured to concurrently operate is a constant that is independent of data element size.

### Claim 25 (depends on 21)

The processor of claim 21, wherein for a particular one of the plurality of vector program instructions, an element size is encoded within the particular vector program instruction.

### Claim 26 (depends on 21)

The processor of claim 21, wherein for a particular one of the plurality of vector program instructions, an element size is encoded within a predicate corresponding to the particular vector program instruction or to an operand of the particular vector program instruction.

### Claim 27 (depends on 21)

The processor of claim 21, wherein the at least two of the plurality of vector program instructions include one vector program instruction that operates on data elements having one half of the maximum element size and two vector program instructions that each operate on data elements having one quarter of the maximum element size.

### Claim 28

A method, comprising:
performing, by a processor:
issuing vector program instructions for execution, where each vector program instruction operates on one or more vectors, each vector including a plurality of data elements, wherein each vector program instruction operates on one of a plurality of possible element sizes, wherein the plurality of possible element sizes includes a maximum element size;
for a single instance of a given vector program instruction that operates on the maximum element size, concurrently operating on a plurality of data elements of the given vector program instruction having the maximum element size;
for two or more vector program instructions that each operate on an element size that is less than the maximum element size, concurrently operating on data elements of the two or more vector program instructions that operate on less than the maximum element size;
wherein the two or more vector program instructions: implement different computational operations, execute with different latencies, operate on data elements of different sizes, execute in different subunits of a functional unit, or any combination thereof; and
wherein a maximum number of data elements per vector on which concurrent operation can be performed is independent of a number of vector program instructions that are concurrently executable.

### Claim 29 (depends on 28)

The method of claim 28, wherein the vector program instructions are defined according to the Macroscalar instruction set architecture.

### Claim 30 (depends on 28)

The method of claim 28, wherein a number of data elements on which concurrent operation is performed is a constant that is independent of data element size.

### Claim 31 (depends on 28)

The method of claim 28, wherein for a particular one of the vector program instructions, an element size is encoded within the particular vector program instruction.

### Claim 32 (depends on 28)

The method of claim 28, wherein for a particular one of the vector program instructions, an element size is encoded within a predicate corresponding to the particular vector program instruction or to an operand of the particular vector program instruction.

### Claim 33 (depends on 28)

The method of claim 28, wherein the two or more of the plurality of vector program instructions include one vector program instruction that operates on data elements having one half of the maximum element size and two vector program instructions that each operate on data elements having one quarter of the maximum element size.

### Claim 34

A system, comprising:
a memory; and
a processor coupled to the memory, wherein the processor comprises:
an instruction issue unit configured to issue vector program instructions for execution, where each vector program instruction operates on one or more vectors, each vector including a plurality of data elements, wherein each vector program instruction operates on one of a plurality of possible element sizes, wherein the plurality of possible element sizes includes a maximum element size; and
a functional unit configured to execute a single instance of a given vector program instruction that operates on the maximum element size;
wherein the functional unit is further configured to concurrently execute a plurality of vector program instructions that each operate on an element size that is less than the maximum element size;
wherein for at least two of the plurality of vector program instructions that each operate on an element size that is less than the maximum element size, the at least two vector program instructions: implement different computational operations, execute with different latencies, operate on data elements of different sizes, execute in different subunits of the functional unit, or any combination thereof; and
wherein a maximum number of data elements per vector on which the functional unit is configured to concurrently operate is independent of a number of vector program instructions the functional unit is configured to concurrently execute.

### Claim 35 (depends on 34)

The system of claim 34, wherein the vector program instructions are defined according to the Macroscalar instruction set architecture.

### Claim 36 (depends on 34)

The system of claim 34, wherein the different subunits of the functional unit include at least an integer subunit and a floating-point subunit.

### Claim 37 (depends on 34)

The system of claim 34, wherein a number of data elements on which the functional unit is configured to concurrently operate is a constant that is independent of data element size.

### Claim 38 (depends on 34)

The system of claim 34, wherein for a particular one of the plurality of vector program instructions, an element size is encoded within the particular vector program instruction.

### Claim 39 (depends on 34)

The system of claim 34, wherein for a particular one of the plurality of vector program instructions, an element size is encoded within a predicate corresponding to the particular vector program instruction or to an operand of the particular vector program instruction.

### Claim 40 (depends on 34)

The system of claim 34, wherein the at least two of the plurality of vector program instructions include one vector program instruction that operates on data elements having one half of the maximum element size and two vector program instructions that each operate on data elements having one quarter of the maximum element size.
