# US 9,354,891 B2 · Increasing macroscalar instruction level parallelism

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

- Number: US 9,354,891 B2
- Document ID: US9354891B2
- Status: Granted
- Kind: B2
- Application number: 13/904,660
- Filed: 2013-05-29
- Published: 2014-12-04
- Granted: 2016-05-31
- Earliest claimed: 2013-05-29
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Jeffry E. Gonion
- Web page: https://patentgrep.com/patent/US9354891B2

## 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 1

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 receive a single instance of a given vector program instruction that operates on the maximum element size, and to concurrently operate on a plurality of data elements of the given vector program instruction having the maximum element size;
wherein the functional unit is further configured to concurrently receive a plurality of vector program instructions that each operate on an element size that is less than the maximum element size, and to concurrently operate on data elements of two or more of the plurality of vector program instructions that operate on less than the maximum element size, such that the plurality of vector program instructions share execution resources of the functional unit that would be underutilized by execution of a single vector program instruction that operates on less than the maximum element size; 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 2 (depends on 1)

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

### Claim 3 (depends on 1)

The processor of claim 1, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions implement different computational operations.

### Claim 4 (depends on 1)

The processor of claim 1, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions execute with different latencies.

### Claim 5 (depends on 1)

The processor of claim 1, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions operate on data elements of different sizes.

### Claim 6 (depends on 1)

The processor of claim 1, wherein the functional unit comprises a plurality of subunits, and wherein at least two of the two or more of the plurality of vector program instructions having less than the maximum element size execute in different subunits.

### Claim 7 (depends on 6)

The processor of claim 6, wherein the plurality of subunits includes at least an integer subunit and a floating-point subunit.

### Claim 8

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 a plurality of vector program instructions that each operate on an element size that is less than the maximum element size, concurrently operating on data elements of two or more of the plurality of vector program instructions that operate on less than the maximum element size, such that the plurality of vector program instructions share execution resources of a functional unit that would be underutilized by execution of a single vector program instruction that operates on less than the maximum element size;
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 9 (depends on 8)

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

### Claim 10 (depends on 8)

The method of claim 8, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions implement different computational operations.

### Claim 11 (depends on 8)

The method of claim 8, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions execute with different latencies.

### Claim 12 (depends on 8)

The method of claim 8, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions operate on data elements of different sizes.

### Claim 13 (depends on 8)

The method of claim 8, wherein the vector program instructions are issued to a functional unit comprises a plurality of subunits, and wherein at least two of the two or more of the plurality of vector program instructions having less than the maximum element size execute in different subunits.

### Claim 14

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 receive a single instance of a given vector program instruction that operates on the maximum element size, and to concurrently operate on a plurality of data elements of the given vector program instruction having the maximum element size;
wherein the functional unit is further configured to concurrently receive a plurality of vector program instructions that each operate on an element size that is less than the maximum element size, and to concurrently operate on data elements of two or more of the plurality of vector program instructions that operate on less than the maximum element size, such that the plurality of vector program instructions share execution resources of the functional unit that would be underutilized by execution of a single vector program instruction that operates on less than the maximum element size; 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 15 (depends on 14)

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

### Claim 16 (depends on 14)

The system of claim 14, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions implement different computational operations.

### Claim 17 (depends on 14)

The system of claim 14, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions execute with different latencies.

### Claim 18 (depends on 14)

The system of claim 14, wherein for at least two of the two or more of the plurality of vector program instructions having less than the maximum element size, the at least two vector program instructions operate on data elements of different sizes.

### Claim 19 (depends on 14)

The system of claim 14, wherein the functional unit comprises a plurality of subunits, and wherein at least two of the two or more of the plurality of vector program instructions having less than the maximum element size execute in different subunits.

### Claim 20 (depends on 19)

The system of claim 19, wherein the plurality of subunits includes at least an integer subunit and a floating-point subunit.
