# US 2015/0089190 A1 · Predicate Attribute Tracker

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

- Number: US 2015/0089190 A1
- Document ID: US20150089190A1
- Status: Published application
- Kind: A1
- Application number: 14/034,640
- 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/US20150089190A1

## 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/30105: {Register structure}
- G06F 9/3013: {according to data content, e.g. floating-point registers, address registers}
- 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 a register attribute tracker configured to track one or more attributes corresponding to registers. The register attribute tracker may track the attributes associated with the registers when those registers are used as output registers of instructions that explicitly define the attributes and, if the register attribute tracker has a tracked attribute associated with an input register of an instruction that does not explicitly define the attribute, the register attribute tracker may annotate the instruction with an attribute and/or associate an attribute with the output register of the instruction in the register attribute tracker.

## Claims

### Claim 1

A processor comprising:
a register attribute tracker configured to receive instruction operations corresponding to an instruction stream, and in response to receiving a first vector instruction operation that explicitly defines a vector attribute for a vector operated upon by the processor in response to executing the first vector instruction operation, the register attribute tracker is configured to track the vector attribute with respect to an output register of the first vector instruction operation.

### Claim 2 (depends on 1)

The processor as recited in claim 1 wherein the first vector instruction operation is a predicate vector initialization instruction operation, wherein the processor is configured to initialize a predicate vector register with a predetermined vector of predicates in response to executing the predicate vector initialization instruction operation.

### Claim 3 (depends on 1)

The processor as recited in claim 1 wherein the first vector instruction operation is a memory-referencing instruction operation, wherein the processor is configured to access a memory system in response to executing the memory-referencing instruction operation.

### Claim 4 (depends on 1)

The processor as recited in claim 1 wherein the vector attribute comprises a vector element size, wherein each element of the vector is of the vector element size.

### Claim 5 (depends on 1)

The processor as recited in claim 1 wherein the vector attribute comprises a vector size, wherein a number of vector elements in the vector depends on a size of each vector element and the vector size.

### Claim 6 (depends on 1)

The processor as recited in claim 1 wherein the vector attribute comprises a partition size, wherein the vector includes a plurality of partitions, and wherein a number of vector elements in a partition of the vector having the partition size depends on a size of each vector element and the partition size.

### Claim 7 (depends on 1)

The processor as recited in claim 1 wherein the vector attribute comprises a number of elements in a vector.

### Claim 8 (depends on 1)

The processor as recited in claim 1 wherein the register attribute tracker is configured to receive a second vector instruction operation that does not explicitly define the vector attribute, wherein the second vector instruction operation has the output register of the first vector instruction operation as an input register, and wherein the second vector instruction operation has a second output register, and wherein the register attribute tracker is configured to track a second vector attribute of the second output register responsive to the tracked vector attribute associated with the input register.

### Claim 9 (depends on 8)

The processor as recited in claim 8 wherein the second vector attribute is a function of the vector attribute and a defined operation of the second vector instruction operation.

### Claim 10 (depends on 8)

The processor as recited in claim 8 wherein the second vector attribute is equal to the vector attribute.

### Claim 11 (depends on 1)

The processor as recited in claim 1 wherein the register attribute tracker is configured to receive a second vector instruction operation that does not explicitly define the vector attribute, wherein the second vector instruction operation has the output register of the first instruction operation as an input register, and wherein the register attribute tracker is configured to associate a second vector attribute with the second vector instruction operation responsive to the tracked vector attribute associated with the input register.

### Claim 12 (depends on 11)

The processor as recited in claim 11 wherein the second vector attribute is a function of the vector attribute and a defined operation of the second instruction operation.

### Claim 13 (depends on 11)

The processor as recited in claim 11 wherein the second vector attribute is equal to the vector attribute.

### Claim 14

A processor comprising:
a register attribute tracker configured to receive instruction operations corresponding to an instruction stream, and in response to receiving a first instruction operation having at least one input register with which the register attribute tracker has associated a tracked attribute, the register attribute tracker is configured to associate an output attribute to an output register of the first instruction operation based on the tracked attribute of the input register.

### Claim 15 (depends on 14)

The processor as recited in claim 14 wherein the output attribute is derived from the tracked attribute.

### Claim 16 (depends on 15)

The processor as recited in claim 15 wherein the output attribute is determined from the tracked attribute and a defined operation of the first instruction.

### Claim 17 (depends on 14)

The processor as recited in claim 14 wherein the output attribute is the same as the tracked attribute.

### Claim 18

A processor comprising:
a register attribute tracker configured to receive instruction operations corresponding to an instruction stream, and in response to receiving a first instruction operation having at least one input register with which the register attribute tracker has associated a tracked attribute, the register attribute tracker is configured to annotate the first instruction operation with the tracked attribute.

### Claim 19 (depends on 18)

The processor as recited in claim 18 further comprising an execution unit configured to execute the first instruction operation, wherein the annotated attribute controls execution of the first instruction operation in the execution unit.

### Claim 20 (depends on 19)

The processor as recited in claim 19 wherein the attribute specifies a vector element size, and wherein the execution unit is configured to interpret data operated upon in response to the first instruction operation as a vector having elements of the vector element size.
