Speculative finish of instruction execution in a processor core
First Claim
1. A method of data processing, comprising:
- tracking high latency operations of a processor core in entries of a data structure associated with an execution unit of a processor core;
in the execution unit, prior to completion of a high latency operation tracked by an entry of the data structure, speculatively finishing execution of an instruction dependent on the high latency operation, wherein the speculatively finishing includes reporting an identifier of the entry to completion logic of the processor core and freeing a resource in an execution pipeline of the execution unit utilized by the instruction;
the completion logic recording a dependence of the instruction on the high latency operation and committing an execution result of the instruction to an architected state of the processor core only after successful completion of the high latency operation; and
in response to unsuccessful completion of the high latency operation;
the completion logic flushing the instruction without committing the execution result to the architected state; and
the processor core reissuing the instruction with an indication that speculative finishing of the instruction is inhibited.
1 Assignment
0 Petitions
Accused Products
Abstract
In a processor core, high latency operations are tracked in entries of a data structure associated with an execution unit of the processor core. In the execution unit, execution of an instruction dependent on a high latency operation tracked by an entry of the data structure is speculatively finished prior to completion of the high latency operation. Speculatively finishing the instruction includes reporting an identifier of the entry to completion logic of the processor core and removing the instruction from an execution pipeline of the execution unit. The completion logic records dependence of the instruction on the high latency operation and commits execution results of the instruction to an architected state of the processor only after successful completion of the high latency operation.
47 Citations
6 Claims
-
1. A method of data processing, comprising:
-
tracking high latency operations of a processor core in entries of a data structure associated with an execution unit of a processor core; in the execution unit, prior to completion of a high latency operation tracked by an entry of the data structure, speculatively finishing execution of an instruction dependent on the high latency operation, wherein the speculatively finishing includes reporting an identifier of the entry to completion logic of the processor core and freeing a resource in an execution pipeline of the execution unit utilized by the instruction; the completion logic recording a dependence of the instruction on the high latency operation and committing an execution result of the instruction to an architected state of the processor core only after successful completion of the high latency operation; and in response to unsuccessful completion of the high latency operation; the completion logic flushing the instruction without committing the execution result to the architected state; and the processor core reissuing the instruction with an indication that speculative finishing of the instruction is inhibited. - View Dependent Claims (2, 3, 4, 5, 6)
-
Specification