# US 2022/0035636 A1 · Instruction dispatch routing

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

- Number: US 2022/0035636 A1
- Document ID: US20220035636A1
- Status: Published application
- Kind: A1
- Application number: 16/945,404
- Filed: 2020-07-31
- Published: 2022-02-03
- Earliest claimed: 2020-07-31
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Eric Mark Schwarz; Brian W. Thompto; Kurt A. Feiste; Michael Joseph Genden; Dung Q. Nguyen; Susan E. Eisen
- Web page: https://patentgrep.com/patent/US20220035636A1

## CPC

- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/3856: {Reordering of instructions, e.g. using queues or age tags}
- G06F 9/30036: {Instructions to perform operations on packed data, e.g. vector, tile or matrix operations}
- G06F 9/3802: {Instruction prefetching}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method of instruction dispatch routing comprises receiving an instruction for dispatch to one of a plurality of issue queues; determining a priority status of the instruction; selecting a rotation order based on the priority status, wherein a first rotation order is associated with priority instructions and a second rotation order, different from the first rotation order, is associated with non-priority instructions; selecting an issue queue of the plurality of issue queues based on the selected rotation order; and dispatching the instruction to the selected issue queue.

## Claims

### Claim 1

A method comprising:
receiving an instruction for dispatch to one of a plurality of issue queues;
determining a priority status of the instruction, wherein an instruction type designated as priority is determined based on historical data of instructions types dispatched in previous cycles;
selecting a rotation order based on the priority status, wherein a first rotation order is associated with priority instructions and a second rotation order, different from the first rotation order, is associated with non-priority instructions;
selecting an issue queue of the plurality of issue queues based on the selected rotation order; and
dispatching the instruction to the selected issue queue.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining the priority status of the instruction includes checking a bit corresponding to the instruction in a vector received from an instruction fetch unit.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining the priority status of the instruction is based on an instruction type of the instruction;
wherein one instruction type is designated as priority and at least one instruction type is designated as non-priority;
wherein the first rotation order is adjusted to begin at a next issue queue in the first rotation order after a last used issue queue for the instruction type designated as priority; and
wherein the second rotation order is adjusted to be opposite to the first rotation order.

### Claim 4 (depends on 3)

The method of claim 3, wherein the instruction type designated as priority is determined dynamically from cycle to cycle.

### Claim 5

(canceled)

### Claim 6 (depends on 1)

The method of claim 1, wherein each issue queue has 2 slots; and
wherein selecting the issue queue includes selecting the issue queue and slot based on the selected rotation order.

### Claim 7 (depends on 1)

The method of claim 1, wherein dispatching the instruction to the selected issue queue further comprises:
determining that the selected issue queue is busy; and
waiting for the selected issue queue to become available in response to determining that the selected issue queue is busy.

### Claim 8 (depends on 1)

The method of claim 1, wherein dispatching the instruction to the selected issue queue further comprises:
determining that the selected issue queue is busy;
selecting a next issue queue based on the selected rotation order in response to determining that the selected issue queue is busy; and
dispatching the instruction to the next issue queue.

### Claim 9

A method comprising:
receiving a plurality of instructions in a cycle, the plurality of instructions including one or more instructions designated as resource intensive and one or more instructions designated as non-resource intensive;
dispatching each of the one or more instructions designated as resource intensive to a respective one of a plurality of issue queues according to a first rotation order; and
dispatching each of the one or more instructions designated as non-resource intensive to a respective one of the plurality of issue queues according to a second rotation order opposite to the first rotation order.

### Claim 10 (depends on 9)

The method of claim 9, further comprising tracking a position in the first rotation order and a position in the second rotation order for use in a subsequent cycle.

### Claim 11 (depends on 9)

The method of claim 9, wherein the plurality of issue queues are divided into a first group and a second group operating independently of the first group; and
wherein each of the first group and the second group is associated with both a respective first rotation order for resource intensive instructions and a respective second rotation order non-resource intensive instructions.

### Claim 12 (depends on 9)

The method of claim 9, wherein at least two of the plurality of instructions are paired instructions;
wherein the method further comprises pairing each of the non-paired instructions with another non-paired instruction; and
wherein dispatching each of the one or more instructions designated as resource intensive comprises dispatching each of the one or more instructions designated as resource intensive together with another of the plurality of instructions according to the first rotation order; and
wherein dispatching each of the one or more instructions designated as non-resource intensive comprises dispatching each of the one or more instructions designated as non-resource intensive paired with another non-resource intensive instruction according to the second rotation order.

### Claim 13

A processor comprising:
an instruction fetch unit;
a dispatch unit communicatively coupled to the instruction fetch unit; and
a plurality of issue queues communicatively coupled to the dispatch unit;
wherein the dispatch unit is configured to:
receive a plurality of instructions from the instruction fetch unit;
determine a respective priority status for each of the plurality of instructions, wherein the instruction fetch unit is configured to determine an instruction type designated as priority based on historical data of instruction types dispatched in previous cycles;
select a rotation order for each of the plurality of instructions based on the respective priority status, wherein a first rotation order is associated with priority instructions and a second rotation order, different from the first rotation order, is associated with non-priority instructions;
select a respective issue queue of the plurality of issue queues for each of the plurality of instructions based on the respective selected rotation order; and
dispatch each of the plurality of instruction to the respective selected issue queue.

### Claim 14 (depends on 13)

The processor of claim 13, wherein the dispatch unit is configured to determine the priority status of each of the plurality of instructions by checking a bit corresponding to each instruction in a vector received from the instruction fetch unit.

### Claim 15 (depends on 13)

The processor of claim 13, wherein the instruction fetch unit is configured to determine the respective priority status of each instruction based on a respective instruction type of each instruction.

### Claim 16 (depends on 15)

The processor of claim 15, wherein the instruction fetch unit is configured to determine an instruction type designated as priority dynamically from cycle to cycle.

### Claim 17

(canceled)

### Claim 18 (depends on 13)

The processor of claim 13, wherein each issue queue of the plurality of issue queues has 2 slots; and
wherein select the respective issue queue of the plurality of issue queues for each of the plurality of instructions includes selecting the respective issue queue and slot based on the respective selected rotation order.

### Claim 19 (depends on 13)

The processor of claim 13, wherein the dispatch unit is further configured to determine that the respective selected issue queue for a given one of the plurality of instructions is busy and to wait to dispatch the given one of the plurality of instructions until the respective selected issue queue becomes available.

### Claim 20 (depends on 13)

The processor of claim 13, wherein the dispatch unit is further configured to determine that the respective selected issue queue for a given one of the plurality of instructions is busy, to select a next issue queue based on the respective selected rotation order in response to determining that the respective selected issue queue is busy, and to dispatch the given one of the plurality of instructions to the next issue queue.

### Claim 21

A computer system comprising:
a memory configured to store program code; and
a processor communicatively coupled to the memory and configured to execute the program code, wherein the processor comprises:
an instruction fetch unit;
a dispatch unit communicatively coupled to the instruction fetch unit; and
a plurality of issue queues communicatively coupled to the dispatch unit;
wherein the dispatch unit is configured to:
receive a plurality of instructions in a cycle, the plurality of instructions including one or more instructions designated as resource intensive and one or more instructions designated as non-resource intensive;
dispatch each of the one or more instructions designated as resource intensive to a respective one of the plurality of issue queues according to a first rotation order; and
dispatch each of the one or more instructions designated as non-resource intensive to a respective one of the plurality of issue queues according to a second rotation order opposite to the first rotation order.

### Claim 22 (depends on 21)

The computer system of claim 21, wherein the dispatch unit is further configured to track a position in the first rotation order and a position in the second rotation order for use in a subsequent cycle.

### Claim 23 (depends on 21)

The computer system of claim 21, wherein the plurality of issue queues are divided into a first group and a second group operating independently of the first group; and
wherein each of the first group and the second group is associated with both a respective first rotation order for resource intensive instructions and a respective second rotation order non-resource intensive instructions.

### Claim 24 (depends on 21)

The computer system of claim 21, wherein at least two of the plurality of instructions are paired instructions;
wherein the dispatch unit is further configured to dispatch the plurality of instructions in pairs such that each of the one or more instructions designated as resource intensive is dispatched together with another of the plurality of instructions according to the first rotation order and each of the one or more instructions designated as non-resource intensive that is paired with another instruction designated as non-resource intensive is dispatched according to the second rotation order.

### Claim 25 (depends on 21)

The computer system of claim 21, wherein the instruction fetch unit is configured to dynamically determine an instruction type designated as resource intensive for each cycle.
