# US 2015/0089191 A1 · Early Issue of Null-Predicated Operations

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

- Number: US 2015/0089191 A1
- Document ID: US20150089191A1
- Status: Published application
- Kind: A1
- Application number: 14/034,670
- Filed: 2013-09-24
- Published: 2015-03-26
- Earliest claimed: 2013-09-24
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Jeffry E. Gonion
- Web page: https://patentgrep.com/patent/US20150089191A1

## CPC

- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 9/30018: {Bit or string instructions}
- G06F 9/30038: {using a mask}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3838: {Dependency mechanisms, e.g. register scoreboarding}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In an embodiment, a processor includes an issue circuit configured to issue instruction operations for execution. The issue circuit may be configured to monitor the source operands of the instruction operations, and to issue instruction operations for which the source operands (including predicate operands, as appropriate) are resolved. Additionally, the issue circuit may be configured to detect a null predicate that indicates that none of the vector elements will be modified by a corresponding instruction operation. The issue circuit may be configured to issue the corresponding instruction operation with the null predicate even if other source operands are not yet resolved.

## Claims

### Claim 1

A processor comprising:
an issue circuit configured to issue instruction operations for execution in the processor, wherein a first instruction operation in the issue circuit has a plurality of source operands including at least one predicate from a first predicate register and one or more vectors from one or more vector registers, and wherein the issue circuit is configured to issue the first instruction operation responsive to the at least one predicate being a null predicate and wherein the issue circuit is configured to issue the first instruction operation even in the case that at least one of the dependencies on the one or more vectors is unresolved when the first instruction operation is issued.

### Claim 2 (depends on 1)

The processor as recited in claim 1 wherein the at least one predicate comprises a predicate vector having a predicate element for each element of a corresponding vector, and where the null predicate indicates that no elements of the corresponding vector are operated upon during execution of the first instruction operation.

### Claim 3 (depends on 2)

The processor as recited in claim 2 wherein the predicate register further comprises a vector attribute field storing a vector attribute, and wherein the issue circuit is configured to issue the first instruction further responsive to the vector attribute.

### Claim 4 (depends on 3)

The processor as recited in claim 3 wherein the issue circuit is configured to qualify the predicate vector with the vector attribute.

### Claim 5 (depends on 4)

The processor as recited in claim 4 wherein the issue circuit is configured to determine a number of elements in the predicate vector responsive to the vector attribute.

### Claim 6 (depends on 1)

The processor as recited in claim 1 wherein the number of elements in the predicate vector is equal to the number of elements in each of the one or more vectors.

### Claim 7 (depends on 1)

The processor as recited in claim 1 wherein a result of the first instruction operation is a zero vector, wherein the processor comprises an execution unit configured to execute the first instruction operation and configured to generate the zero vector responsive to the null predicate.

### Claim 8 (depends on 1)

The processor as recited in claim 1 wherein the first instruction operation specifies masking of a result of the first instruction operation, and wherein the issue circuit is configured to issue the first instruction operation further responsive to a destination register of the first instruction operation being resolved.

### Claim 9 (depends on 8)

The processor as recited in claim 8 further comprising an execution unit configured to execute the first instruction operation, wherein the execution unit is configured to propagate a previous value of the destination register as a result vector of the first instruction operation responsive to the null predicate vector.

### Claim 10

A processor comprising:
an issue circuit configured to issue instruction operations for execution in the processor, wherein a first instruction operation in the issue circuit includes a plurality of source operands including a first predicate vector from a first vector predicate register and one or more vectors from one or more vector registers, and wherein the issue circuit is configured to issue the first instruction operation responsive to at least one of the dependencies on the one or more vectors being unresolved and further responsive to each predicate element in the first predicate vector indicating that a corresponding vector element is inactive.

### Claim 11 (depends on 10)

The processor as recited in claim 10 wherein the first predicate vector applies to each of the one or more vectors.

### Claim 12 (depends on 11)

The processor as recited in claim 11 wherein the first instruction operation further includes a destination vector register operand, and wherein the issue circuit is configured to issue the first instruction operation further responsive to a dependency on the destination vector register being resolved.

### Claim 13 (depends on 12)

The processor as recited in claim 12 wherein the first instruction operation specifies that inactive vector elements of the destination vector register are unmodified in response to execution of the first instruction operation.

### Claim 14 (depends on 10)

The processor as recited in claim 10 wherein the first instruction operation specifies that inactive vector elements are zero in a result vector of the first instruction operation.

### Claim 15 (depends on 10)

The processor as recited in claim 10 wherein the first vector predicate register further comprises a vector attribute field storing a vector attribute, and wherein the issue circuit is configured to issue the first instruction further responsive to the vector attribute.

### Claim 16 (depends on 15)

The processor as recited in claim 15 wherein the issue circuit is configured to qualify the first predicate vector with the vector attribute.

### Claim 17 (depends on 16)

The processor as recited in claim 16 wherein the issue circuit is configured to determine a number of elements in the first predicate vector responsive to the vector attribute.

### Claim 18 (depends on 17)

The processor as recited in claim 17 wherein the number of elements in the first predicate vector is equal to the number of elements in each of the one or more vectors.

### Claim 19

A method comprising:
detecting that a predicate vector corresponding to a first instruction operation is null in an issue circuit in a processor;
issuing the first instruction operation for execution to an execution unit in the processor responsive to the detecting even though at least one source operand of the first instruction operation is not resolved.

### Claim 20 (depends on 19)

The method as recited in claim 19 further comprising executing the first instruction operation to produce a result responsive to the null predicate vector and independent of the one or more vectors.
