Techniques for identifying instructions for decode-time instruction optimization grouping in view of cache boundaries
First Claim
1. A processor, comprising:
- a processor core; and
a memory coupled to the processor core, wherein the processor core is configured to;
examine instructions in an instruction stream of the processor to determine properties of the instructions;
in response to an instruction in the instruction stream being a boundary instruction that is a last instruction before a cache boundary, determining a last property of the last instruction;
in response to another instruction in the instruction stream being a boundary instruction that is a first instruction after the cache boundary, determining a first property of the first instruction; and
indicating the last property of the last instruction and the first property of the first instruction to facilitate decode-time instruction optimization grouping of the last instruction and the first instruction in a single decode-time instruction optimization group.
1 Assignment
0 Petitions
Accused Products
Abstract
A technique for processing instructions includes examining instructions in an instruction stream of a processor to determine properties of the instructions. The properties indicate whether the instructions may belong in an instruction sequence subject to decode-time instruction optimization (DTIO). Whether the properties of multiple ones of the instructions are compatible for inclusion within an instruction sequence of a same group is determined. The instructions with compatible ones of the properties are grouped into a first instruction group. The instructions of the first instruction group are decoded subsequent to formation of the first instruction group. Whether the first instruction group actually includes a DTIO sequence is verified based on the decoding. Based on the verifying, DTIO is performed on the instructions of the first instruction group or is not performed on the instructions of the first instruction group.
45 Citations
10 Claims
-
1. A processor, comprising:
-
a processor core; and a memory coupled to the processor core, wherein the processor core is configured to; examine instructions in an instruction stream of the processor to determine properties of the instructions; in response to an instruction in the instruction stream being a boundary instruction that is a last instruction before a cache boundary, determining a last property of the last instruction; in response to another instruction in the instruction stream being a boundary instruction that is a first instruction after the cache boundary, determining a first property of the first instruction; and indicating the last property of the last instruction and the first property of the first instruction to facilitate decode-time instruction optimization grouping of the last instruction and the first instruction in a single decode-time instruction optimization group. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data processing system, comprising:
-
a processor; and a memory coupled to the processor, wherein the processor is configured to; examine instructions in an instruction stream of the processor to determine properties of the instructions; in response to an instruction in the instruction stream not being a boundary instruction, indicating whether adjacent ones of the instructions should be grouped in a same decode-time instruction optimization group based on the properties, wherein the boundary instruction is a last instruction before a cache boundary or a first instruction after the cache boundary; in response to an instruction in the instruction stream being the last instruction, determining a last property of the last instruction; in response to another instruction in the instruction stream being the first instruction, determining a first property of the first instruction; and indicating the last property of the last instruction and the first property of the first instruction to facilitate decode-time instruction optimization grouping of the last instruction and the first instruction in a single decode-time instruction optimization group. - View Dependent Claims (9, 10)
-
Specification