# US 10,956,160 B2 · Method and apparatus for a multi-level reservation station with instruction recirculation

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

- Number: US 10,956,160 B2
- Document ID: US10956160B2
- Status: Granted
- Kind: B2
- Application number: 16/367,171
- Filed: 2019-03-27
- Published: 2020-10-01
- Granted: 2021-03-23
- Earliest claimed: 2019-03-27
- Assignees: Intel Corporation
- Applicants: Intel Corporation
- Inventors: Mark Dechene; Srikanth Srinivasan; Matthew Merten; Ammon Christiansen
- Web page: https://patentgrep.com/patent/US10956160B2

## CPC

- G06F 9/30145: {Instruction analysis, e.g. decoding, instruction word fields}
- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/22: Microcontrol or microprogram arrangements
- G06F 9/3814: {Implementation provisions of instruction buffers, e.g. prefetch buffer; banks}
- G06F 9/3838: {Dependency mechanisms, e.g. register scoreboarding}
- G06F 9/3856: {Reordering of instructions, e.g. using queues or age tags}
- G06F 9/4881: {Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processor and method are described for a multi-level reservation station. For example, one embodiment of an apparatus comprises: execution circuitry comprising a plurality of functional units to execute a plurality of operations; a reservation station comprising a plurality of entries to store a corresponding plurality of operations to be executed on one or more of the functional units, the reservation station comprising: a first RS level to hold a first subset of the plurality of operations which are ready for execution by one or more functional units or which are expected to be ready for execution by the functional units; a second RS level to hold a second subset of the plurality of operations which are not expected to be ready for execution by the functional units; operation evaluation circuitry to evaluate operations in the first RS level and, responsive to identifying one or more operations which are not expected to be ready for execution, to cause the one or more operations to be moved from the first RS level to the second RS level.

## Claims

### Claim 1

An apparatus comprising:
execution circuitry comprising a plurality of functional units to execute a plurality of operations;
a reservation station comprising a plurality of entries to store a corresponding plurality of operations to be executed on one or more of the functional units, the reservation station comprising:
a first RS level to hold a first subset of the plurality of operations which are ready for execution by one or more functional units or which are expected to be ready for execution by the functional units;
a second RS level to hold a second subset of the plurality of operations which are not expected to be ready for execution by the functional units; and
operation evaluation circuitry to evaluate operations in the first RS level and, responsive to identifying one or more operations which are not expected to be ready for execution, to cause the one or more operations to be moved from the first RS level to the second RS level.

### Claim 2 (depends on 1)

The apparatus of claim 1 wherein an operation is expected to be ready for execution if one or more sources of the operation are expected to be ready within a specified number of processor cycles or within other specified duration.

### Claim 3 (depends on 1)

The apparatus of claim 1 wherein the second RS level comprises an entry for each operation, arranged based on an order in which the operations were stored into the second RS level.

### Claim 4 (depends on 3)

The apparatus of claim 3 wherein each entry comprises one or more bits, each bit associated with a source required to perform the corresponding operation, wherein a bit is set to a first value to indicate that a corresponding source is available and the bit is set to a second value to indicate that the corresponding source is not available.

### Claim 5 (depends on 4)

The apparatus of claim 4 wherein an operation is to be moved to the first RS level when the one or more bits are all set to the first value.

### Claim 6 (depends on 4)

The apparatus of claim 4 wherein the sources comprise registers and/or operands required by an operation.

### Claim 7 (depends on 4)

The apparatus of claim 4 further comprising:
bit update circuitry to change a first plurality of bits from the second value to the first value upon detecting that a first source has become available, each bit of the first plurality to be changed in a different entry associated with a different operation dependent on the first source.

### Claim 8 (depends on 1)

The apparatus of claim 1 wherein the operations comprise microoperations, the apparatus further comprising:
a decoder to decode instructions fetched from memory, the decoder to generate one or more microoperations responsive to decoding each instruction.

### Claim 9 (depends on 8)

The apparatus of claim 8 further comprising:
a scheduler to read operations from the first RS level and schedule execution of the operations by one or more of the functional units.

### Claim 10 (depends on 9)

The apparatus of claim 9 further comprising:
a dispatcher to dispatch each operation for execution by one of the functional units.

### Claim 11 (depends on 1)

The apparatus of claim 1 wherein the first RS level comprises different storage and processing characteristics than the second RS level.

### Claim 12 (depends on 11)

The apparatus of claim 11 wherein the first RS level operates at a relatively higher performance level and consumes more power per operation than the second RS level.

### Claim 13 (depends on 12)

The apparatus of claim 12 wherein the operation evaluation circuitry is to set a poison bit in each entry in the first RS level associated with each operation not expected to be ready for execution, each poison bit to cause each associated operation to be moved from the first RS level to the second RS level.

### Claim 14

A method comprising:
receiving a plurality of operations at a reservation station (RS) having a first RS level and a second RS level;
storing in the first RS level a first subset of the plurality of operations which are ready for execution by one or more functional units or which are expected to be ready for execution by the functional units;
storing in the second RS level a second subset of the plurality of operations which are not expected to be ready for execution by the functional units; and
evaluating operations in the first RS level and, responsive to identifying one or more operations which are not expected to be ready for execution, to cause the one or more operations to be moved from the first RS level to the second RS level.

### Claim 15 (depends on 14)

The method of claim 14 wherein an operation is expected to be ready for execution if one or more sources of the operation are expected to be ready within a specified number of cycles or other specified duration.

### Claim 16 (depends on 14)

The method of claim 14 wherein the second RS level comprises an entry for each operation, arranged based on an order in which the operations were stored into the second RS level.

### Claim 17 (depends on 16)

The method of claim 16 wherein each entry comprises one or more bits, each bit associated with a source required for the associated operation, wherein a bit is set to a first value to indicate that a corresponding source is available and the bit is set to a second value to indicate that the corresponding source is not available.

### Claim 18 (depends on 17)

The method of claim 17 further comprising:
moving an operation back to the first RS level from the second RS level when the one or more bits are all set to the first value.

### Claim 19 (depends on 17)

The method of claim 17 wherein the sources comprise registers required by an operation.

### Claim 20 (depends on 17)

The method of claim 17 further comprising:
changing a first plurality of bits from the second value to the first value upon detecting that a first source has become available, each bit of the first plurality to be changed in a different entry associated with a different operation dependent on the first source.

### Claim 21 (depends on 14)

The method of claim 14 wherein the operations comprise microoperations, the method further comprising:
decoding instructions fetched from memory and responsively generating one or more microoperations responsive to decoding each instruction.

### Claim 22 (depends on 21)

The method of claim 21 further comprising:
reading operations from the first RS level; and
scheduling execution of the operations by one or more of the functional units.

### Claim 23 (depends on 22)

The method of claim 22 further comprising:
dispatching each operation for execution by one of the functional units.

### Claim 24

A non-transitory machine-readable medium having program code stored thereon which, when executed by a machine, causes the machine to perform the operations of:
receiving a plurality of operations at a reservation station (RS) having a first RS level and a second RS level;
storing in the first RS level a first subset of the plurality of operations which are ready for execution by one or more functional units or which are expected to be ready for execution by the functional units;
storing in the second RS level a second subset of the plurality of operations which are not expected to be ready for execution by the functional units; and
evaluating operations in the first RS level and, responsive to identifying one or more operations which are not expected to be ready for execution, to cause the one or more operations to be moved from the first RS level to the second RS level.

### Claim 25 (depends on 24)

The non-transitory machine-readable medium of claim 24 wherein an operation is expected to be ready for execution if one or more sources of the operation are expected to be ready within a specified number of cycles or other specified duration.

### Claim 26 (depends on 24)

The non-transitory machine-readable medium of claim 24 wherein the second RS level comprises an entry for each operation, arranged based on an order in which the operations were stored into the second RS level.

### Claim 27 (depends on 26)

The non-transitory machine-readable medium of claim 26 wherein each entry comprises one or more bits, each bit associated with a source required for the associated operation, wherein a bit is set to a first value to indicate that a corresponding source is available and the bit is set to a second value to indicate that the corresponding source is not available.

### Claim 28 (depends on 24)

The non-transitory machine-readable medium of claim 24 further comprising program code to cause the machine to perform the operations of:
moving an operation back to the first RS level from the second RS level when the one or more bits are all set to the first value.

### Claim 29 (depends on 27)

The non-transitory machine-readable medium of claim 27 wherein the sources comprise registers required by an operation.

### Claim 30 (depends on 27)

The non-transitory machine-readable medium of claim 27 further comprising program code to cause the machine to perform the operations of:
changing a first plurality of bits from the second value to the first value upon detecting that a first source has become available, each bit of the first plurality to be changed in a different entry associated with a different operation dependent on the first source.

### Claim 31 (depends on 24)

The non-transitory machine-readable medium of claim 24 wherein the operations comprise microoperations, the machine-readable medium further comprising program code to cause the machine to perform the operations of:
decoding instructions fetched from memory and responsively generating one or more microoperations responsive to decoding each instruction.

### Claim 32 (depends on 31)

The non-transitory machine-readable medium of claim 31 further comprising program code to cause the machine to perform the operations of:
reading operations from the first RS level; and
scheduling execution of the operations by one or more of the functional units.

### Claim 33 (depends on 32)

The non-transitory machine-readable medium of claim 32 further comprising program code to cause the machine to perform the operations of:
dispatching each operation for execution by one of the functional.
