# US 2017/0293646 A1 · Apparatus and methods for out of order item selection and status updating

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

- Number: US 2017/0293646 A1
- Document ID: US20170293646A1
- Status: Published application
- Kind: A1
- Application number: 15/092,728
- Filed: 2016-04-07
- Published: 2017-10-12
- Earliest claimed: 2016-04-07
- Assignees: Imagination Technologies Limited
- Applicants: Imagination Technologies Limited
- Inventors: Ranjit J. Rozario; Sudhakar Ranganathan
- Web page: https://patentgrep.com/patent/US20170293646A1

## CPC

- G06F 16/2237: {Vectors, bitmaps or matrices}
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An apparatus, system, and method provide a way for tracking the age of items stored within a queue. An apparatus includes an item storage array and an array of age-tracking bits. The item storage array stores data of valid items stored in the queue. The array of age-tracking bits is associated with valid items stored in the queue. Age-tracking bits associated with a subset of items in the queue are set to a first value when the subset of items is older than other items in the queue. The younger items in the queue correspond to the age-tracking bits set to the first value. Other age-tracking bits associated with the subset of items in the queue are set to a second value when the subset of items is younger than other items in the queue. The older queue items correspond to the age-tracking bits set to the second value.

## Claims

### Claim 1

An apparatus for tracking ages of items in a queue within a processor comprising:
an item storage array configured to store data associated with valid items stored in the queue; and
an array of age-tracking bits configured to be associated with valid items stored in the queue, wherein age-tracking bits associated with a subset of items in the queue are configured to be set to a first value when the subset of items is older than other items in the queue, wherein the younger items in the queue are associated with the age-tracking bits set to the first value, wherein other age-tracking bits associated with the subset of items in the queue are configured to be set to a second value when the subset of items is younger than other items in the queue, wherein the older items in the queue are associated with the age-tracking bits set to the second value.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein the queue is configured to remove valid items from the queue that are younger than other valid items in the queue.

### Claim 3 (depends on 1)

The apparatus of claim 1 further comprising:
picker logic configured to find an oldest item in the queue based on the array of age-tracking bits.

### Claim 4 (depends on 1)

The apparatus of claim 1 wherein the subset of items is a single item stored in the queue with a plurality of other single items.

### Claim 5 (depends on 1)

The apparatus of claim 1 wherein the array of age-tracking bits further comprise:
an N by N array with rows of bits and columns of bits where N is an integer value corresponding to a number of items that the queue is configured to store.

### Claim 6 (depends on 5)

The apparatus of claim 5 wherein the item storage array further comprises:
a vertical M by N array of bits configured to store N items where M is an integer, wherein each row of bits of the array of age-tracking bits indicates whether an item stored in the same row of the item storage array is younger or older than other valid items stored in the queue.

### Claim 7 (depends on 1)

The apparatus of claim 1 further comprising:
a valid bitmask register with bits configured to be set to indicate which items in the item storage array are valid.

### Claim 8 (depends on 7)

The apparatus of claim 7 wherein the subset of items is a single item stored in the queue, and wherein when the single item is placed into the queue the valid bitmask register is at least partially copied into a row of the array of age-tracking bits associated with single item.

### Claim 9 (depends on 1)

The apparatus of claim 1 wherein the subset of items further comprises:
two or more items stored in the queue and the subset of items is stored in a first group of items within the queue.

### Claim 10 (depends on 9)

The apparatus of claim 9 further comprising:
placement logic configured to only place a first one of the subset of items into the first group of items when the group of items is empty.

### Claim 11 (depends on 10)

The apparatus of claim 10 wherein the placement logic is configured to after the first one of the subset of items is placed into the first group of items not to place a second item into other locations of the queue until the first group of items is full.

### Claim 12 (depends on 1)

The apparatus of claim 1 wherein the first value is a binary value of zero “0” and the second value is a binary value of “1”.

### Claim 13 (depends on 1)

The apparatus of claim 1 wherein the queue is implemented in a load store and unit of a processor.

### Claim 14 (depends on 13)

The apparatus of claim 13 wherein the item storage array further comprises:
locations configured to store at least portions of addresses corresponding to load and store instructions, and
match logic configured to find at least portions of addresses in the item storage array matching an address value.

### Claim 15

A method of tracking items in a queue comprising:
storing a data of particular item into an item storage array configured to store data associated with valid items stored in the queue; and
setting age-tracking bits associated with the particular item to a first value to indicate the particular item is older than other items in the queue, wherein the younger items in the queue correspond to the age-tracking bits set to the first value;
setting other age-tracking bits associated with the particular item to a second value to indicate the particular item is younger than other items in the queue, wherein the older items in the queue correspond to the age-tracking bits set to the second value, and wherein the age-tracking bits can only be one of the first value and the second value; and
determining an age of the particular item in the queue based, at least in part, on the age-tracking bits.

### Claim 16 (depends on 15)

The method of tracking items in a queue of claim 15 wherein the item storage array and the age-tracking bits associated with the particular item form one row of the queue.

### Claim 17 (depends on 16)

The method of tracking items in a queue of claim 16 wherein the setting age-tracking bits associated with the particular item are set to a first value and a second value further comprises:
copying a valid bitmask register into the one row of the queue at a time the particular item is entered into the queue, wherein the valid bitmask register indicates which items in the queue are valid.

### Claim 18 (depends on 15)

The method of tracking items in a queue of claim 15 wherein the age-tracking bits associated with the particular item in the queue form one row of a two-dimensional array of age-tracking bits, wherein each row of the array of age-tracking bits is associated with a location for storing an item in the queue and further comprising:
when removing the particular item from the queue, setting a column of age-tracking bits of the array of age-tracking bits associated with the age of the particular item to the first value.

### Claim 19 (depends on 15)

The method of tracking items in a queue of claim 15 wherein the particular item is part of a first group of items within the queue that is a subgroup of items within the queue, wherein the storing a particular item into an item storage array further comprises:
storing a particular item into an item storage array only when the first group of items completely empty.

### Claim 20 (depends on 15)

The method of tracking items in a queue of claim 15 wherein the age-tracking bits represent one of two binary values.
