# US 2025/0094173 A1 · Processor with out-of-order completion

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

- Number: US 2025/0094173 A1
- Document ID: US20250094173A1
- Status: Published application
- Kind: A1
- Application number: 18/493,750
- Filed: 2023-10-24
- Published: 2025-03-20
- Earliest claimed: 2023-09-14
- Assignees: Apple Inc.
- Applicants: Apple Inc.
- Inventors: Alon YAAKOV
- Web page: https://patentgrep.com/patent/US20250094173A1

## CPC

- G06F 9/3836: {Instruction issuing, e.g. dynamic instruction scheduling or out of order instruction execution}
- G06F 9/30196: {using decoder, e.g. decoder per instruction set, adaptable or programmable decoders}
- G06F 9/3838: {Dependency mechanisms, e.g. register scoreboarding}
- G06F 9/3851: {from multiple instruction streams, e.g. multistreaming}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processor circuit that allows for out-of-order completion of instructions is disclosed. A processor circuit may fetch multiple instructions from a memory circuit. As individual instructions are fetched, the processor circuits checks for any hazards associated with the fetched instructions. Once it has been determined that there are no hazards for a particular instruction, it is issued to one of multiple execution circuits in the processor circuit. The processor circuit can complete instructions in an order in which the instructions finish execution by updating its architectural state with corresponding results of the instructions.

## Claims

### Claim 1

An apparatus, comprising:
an instruction memory circuit configured to store a plurality of instructions;
a plurality of execution circuits; and
a program sequencer circuit configured to:
fetch the plurality of instructions from the instruction memory circuit in a program order; and
issue a particular instruction to a particular execution circuit in response to a determination that there are no hazards associated with the particular instruction; and
wherein the particular execution circuit is configured to complete the particular instruction prior to a completion of a different instruction of the plurality of instructions that was issued to a different execution circuit of the plurality of execution circuits prior to when the particular instruction was issued to the particular execution circuit.

### Claim 2 (depends on 1)

The apparatus of claim 1, further comprising a plurality of register circuits corresponding to the plurality of execution circuits and, wherein to complete the particular instruction, the particular execution circuit is further configured to write a result generated by executing the particular instruction to a particular register circuit of the plurality of register circuits corresponding to the particular execution circuit.

### Claim 3 (depends on 1)

The apparatus of claim 1, wherein the program sequencer circuit is further configured to delay issuing a given instruction of the plurality of instructions in response to a determination that the given instruction has at least one associated hazard.

### Claim 4 (depends on 3)

The apparatus of claim 3, wherein the at least one associated hazard includes a read-after-write hazard.

### Claim 5 (depends on 1)

The apparatus of claim 1, wherein the particular execution circuit includes a plurality of execution sub-circuits, wherein to issue the particular instruction, the program sequencer circuit is further configured to issue the particular instruction to a first execution sub-circuit of the plurality of execution sub-circuits, and wherein the program sequencer circuit is further configured to issue a given instruction of the plurality of instructions to a second execution sub-circuit of the plurality of executions sub-circuits prior to issuing the particular instruction, and wherein the second execution sub-circuit is configured to complete the given instruction prior to a completion of the particular instruction.

### Claim 6 (depends on 1)

The apparatus of claim 1, wherein to issue the particular instruction, the program sequencer circuit is further configured to:
perform a decode operation on the particular instruction; and
select the particular execution circuit from the plurality of execution circuits using a result of the decode operation.

### Claim 7

A method, comprising:
fetching, by a processor circuit, a plurality of instructions from a memory circuit;
issuing, by the processor circuit, one or more instructions of the plurality of instructions to corresponding ones of a plurality of execution circuits included in the processor circuit in response to determining there are no pending hazards for the one or more instructions; and
completing, by the processor circuit, the one or more instructions prior to completing a different instruction of the plurality of instructions, wherein the different instruction was issued to a different execution circuit of the plurality of execution circuits prior to when the one or more instructions were issued to the corresponding ones of the plurality of execution circuits.

### Claim 8 (depends on 7)

The method of claim 7, wherein the processor circuit further includes a plurality of register circuits corresponding to the plurality of execution circuits, and wherein completing the one or more instructions includes writing, by the processor circuit, corresponding results generated by executing the one or more instructions to at least one register circuit of the plurality of register circuits.

### Claim 9 (depends on 7)

The method of claim 7, wherein a given execution circuit of the corresponding ones of the plurality of execution circuits includes a plurality of execution sub-circuits, and wherein issuing the one or more instructions includes issuing a given instruction of the one or more instructions to a first execution sub-circuit of the plurality of execution sub-circuits.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
issuing, by the processor circuit, a particular instruction of the plurality of instructions to a second sub-execution circuit of the plurality of execution sub-circuits after issuing the given instruction to the first execution sub-circuit; and
completing, by the processor circuit, the particular instruction prior to completing the given instruction.

### Claim 11 (depends on 7)

The method of claim 7, further comprising:
in response to fetching a given instruction of the plurality of instructions, performing a hazard check operation on the given instruction; and
delaying issuing the given instruction using a result of the hazard check operation.

### Claim 12 (depends on 11)

The method of claim 11, further comprising delaying issuing the given instruction in response to determining that there is a read-after-write hazard associated with the given instruction.

### Claim 13 (depends on 7)

The method of claim 7, wherein issuing the one or more instructions includes:
performing a decode operation on the one or more instructions; and
selecting the corresponding ones of the plurality of execution circuits using a result of the decode operation.

### Claim 14

An apparatus, comprising:
a memory circuit configured to store a plurality of instructions; and
a plurality of processor cores including a particular processor core configured to:
fetch the plurality of instructions from the memory circuit;
issue, to a particular execution circuit of a plurality of execution circuits included in the particular processor core, a particular instruction of the plurality of instructions in response to determining that there are no pending hazards for the particular instruction; and
complete the particular instruction prior to completing a different instruction of the plurality of instructions, wherein the different instruction was issued to a different execution circuit of the plurality of execution circuits prior to when the particular instruction was issued to the particular execution circuit.

### Claim 15 (depends on 14)

The apparatus of claim 14, wherein the particular processor core further includes a plurality of register circuits corresponding to the plurality of execution circuits, and wherein to complete the particular instruction, the particular processor core is further configured to write a result generated by executing the particular instruction to a particular register circuit of the plurality of register circuits corresponding to the particular execution circuit.

### Claim 16 (depends on 14)

The apparatus of claim 14, wherein the particular execution circuit includes a plurality of execution sub-circuits, and wherein to issue the particular instruction, the particular processor core is further configured to issue the particular instruction to a first execution sub-circuit of the plurality of execution sub-circuits.

### Claim 17 (depends on 16)

The apparatus of claim 16, wherein the particular processor core is further configured to:
issue a given instruction of the plurality of instructions to a second execution sub-circuit of the plurality of execution sub-circuits after issuing the particular instruction to the first execution sub-circuit; and
complete the given instruction prior to completing the particular instruction.

### Claim 18 (depends on 14)

The apparatus of claim 14, wherein the particular processor core is further configured to:
in response to fetching a given instruction of the plurality of instructions, perform a hazard check operation on the given instruction; and
delay issuing the given instruction using a result of the hazard check operation.

### Claim 19 (depends on 18)

The apparatus of claim 18, wherein the particular processor core is further configured to delay issuing the given instruction in response to a determination that there is a read-after-write hazard associated with the given instruction.

### Claim 20 (depends on 14)

The apparatus of claim 14, wherein to issue the particular instruction, the particular processor core is further configured to:
perform a decode operation on the particular instruction; and
select the particular execution circuit from the plurality of execution circuits using a result of the decode operation.
