# US 10,956,168 B2 · Post completion execution in an out-of-order processor design

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

- Number: US 10,956,168 B2
- Document ID: US10956168B2
- Status: Granted
- Kind: B2
- Application number: 16/296,621
- Filed: 2019-03-08
- Published: 2020-09-10
- Granted: 2021-03-23
- Earliest claimed: 2019-03-08
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Avery Francois; Christian Jacobi; Gregory William Alexander
- Web page: https://patentgrep.com/patent/US10956168B2

## CPC

- G06F 9/3856: {Reordering of instructions, e.g. using queues or age tags}
- G06F 9/3867: {using instruction pipelines}
- G06F 9/30181: {Instruction operation extension or modification}
- 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 9/3854: {Instruction completion, e.g. retiring, committing or graduating}
- G06F 9/3858: {Result writeback, i.e. updating the architectural state or memory}
- G06F 9/3869: {Implementation aspects, e.g. pipeline latches; pipeline synchronisation and clocking}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer data processing system includes an instruction pipeline having a front end and a back end, a decoding and dispatch unit to dispatch a current instruction; and a pipeline by-pass unit to invoke an out-of-order pipeline by-pass operation. The pipeline by-pass unit by-passes a section of the instruction pipeline such that the current instruction architecturally completes before initiating instruction execution. The computer data processing system further includes a post-completion execution unit that executes the current instruction after the current instruction architecturally completes.

## Claims

### Claim 1

A computer-implemented method for controlling an order of an instruction pipeline of an out-of-order data processing system, the method comprising:
establishing an instruction pipeline including a front end and a back end;
dispatching a current instruction;
performing a dependency handling operation to control issuance of at least one dependent instruction that is younger than the current instruction;
invoking an out-of-order pipeline by-pass operation;
by-passing a section of the instruction pipeline such that the current instruction architecturally completes before initiating instruction execution; and
executing, via a post-completion execution unit, the current instruction after the current instruction architecturally completes.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, further comprising:
writing execution information into a data structure at dispatch time;
reading the data structure at completion time; and
transferring the read execution information to the post-completion execution unit.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein executing the current instruction includes performing a modular arithmetic operation.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein executing the current instruction includes accessing a register that is larger than a general purpose register (GPR).

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein the dependency handling operation comprises:
inserting a dummy instruction between the current instruction undergoing post-completion and the at least one dependent instruction in response to meeting an instruction cycle condition; and
performing the dependency handling operation based at least in part on the dummy instruction.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, further comprising omitting the dummy instruction between the current instruction undergoing post-completion and the at least one dependent instruction in response to missing an instruction cycle condition; and
performing the dependency handling operation without using the dummy instruction.

### Claim 7

A computer program product to control an electronic device to control an order of an instruction pipeline of an out-of-order data processing system, the computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by an electronic computer processor to control the electronic device to perform operations comprising:
establishing an instruction pipeline including a front end and a back end;
dispatching a current instruction;
performing a dependency handling operation to control issuance of at least one dependent instruction that is younger than the current instruction;
invoking an out-of-order pipeline by-pass operation;
by-passing a section of the instruction pipeline such that the current instruction architecturally completes before initiating instruction execution; and
executing the current instruction after the current instruction architecturally completes.

### Claim 8 (depends on 7)

The computer program product of claim 7, wherein executing the current instruction includes performing a modular arithmetic operation.

### Claim 9 (depends on 7)

The computer program product of claim 7, wherein executing the current instruction includes accessing a register that is larger than a general purpose register (GPR).

### Claim 10 (depends on 7)

The computer program product of claim 7, wherein the dependency handling operation comprises:
inserting a dummy instruction between the current instruction undergoing post-completion and the at least one dependent instruction in response to meeting an instruction cycle condition; and
performing the dependency handling operation based at least in part on the dummy instruction.

### Claim 11 (depends on 10)

The computer program product of claim 10, wherein the dependency handling operation further comprises:
omitting the dummy instruction between the current instruction undergoing post-completion and the at least one dependent instruction in response to missing the instruction cycle condition; and
performing the dependency handling operation without using the dummy instruction.

### Claim 12

A computer data processing system comprising:
an instruction pipeline including a front end and a back end;
a decoding and dispatch unit configured to dispatch a current instruction;
a multi-threaded out-of-order superscalar microprocessor configured to perform a dependency handling operation to control issuance of at least one dependent instruction that is younger than the current instruction; and
a pipeline by-pass unit configured to invoke an out-of-order pipeline by-pass operation configured to by-pass a section of the instruction pipeline such that the current instruction architecturally completes before initiating instruction execution;
a post-completion execution unit configured to execute the current instruction after the current instruction architecturally completes.

### Claim 13 (depends on 12)

The computer data processing system of claim 12, wherein by-passing a section of the instruction pipeline further comprises routing the instruction pipeline directly from a dispatch stage located in the front end to an in-order completion stage located in the back end.

### Claim 14 (depends on 12)

The computer data processing system of claim 12, wherein the post-completion execution unit executes the current instruction in response to performing a modular arithmetic operation.

### Claim 15 (depends on 12)

The computer data processing system of claim 12, wherein the dependency handling operation comprises:
inserting, via the multi-threaded out-of-order superscalar microprocessor, a dummy instruction between the current instruction undergoing post-completion and the at least one dependent instruction in response to meeting an instruction cycle condition; and
performing the dependency handling operation based at least in part on the dummy instruction.

### Claim 16 (depends on 15)

The computer data processing system of claim 15, wherein the dependency handling operation further comprises omitting the dummy instruction between the current instruction undergoing post-completion and the at least one dependent instruction in response to missing an instruction cycle condition; and
performing the dependency handling operation without using the dummy instruction.
