Determining and predicting affiliated registers based on dynamic runtime control flow analysis
AssigneeInternational Business Machines Corporation
InventorsMichael K. Gschwind, Valentina Salapura
Life of this patent
Estimating the term…
Abstract
A determination is made as to whether an instruction is an affiliation-creating instruction that provides an affiliation between a plurality of registers. Based on determining the instruction is an affiliation-creating instruction, an affiliation is specified. Further, a branch instruction is obtained. The branch instruction is separated from the instruction by one or more instructions. Based on the branch instruction and specifying the affiliation, processing is performed.
Claims15
A computer program product for facilitating processing within a computing environment, the computer program product comprising:
- a computer readable storage medium readable by a processing circuit and storing instructions for performing a method comprising:
- obtaining an instruction;
- determining whether the instruction is an affiliation-creating instruction that provides an affiliation between a plurality of registers indicating a corresponding plurality of different storage locations;
- specifying an affiliation, based on determining the instruction is an affiliation-creating instruction;
- obtaining a branch instruction, the branch instruction being separated from the instruction by one or more instructions;
- and
- performing processing, based on decoding the branch instruction and on having specified the affiliation, wherein the plurality of registers comprise a first register and an affiliated register that is affiliated with the first register as indicated by the specified affiliation, and wherein the performing processing comprises storing a predicted address to the first register and, based on the specified affiliation, to the affiliated register.
A computer system for facilitating processing within a computing environment, the computer system comprising:
- a memory;
- and
- a processor in communication with the memory, wherein the computer system is configured to perform a method, said method comprising:
- obtaining an instruction;
- determining whether the instruction is an affiliation-creating instruction that provides an affiliation between a plurality of registers indicating a corresponding plurality of different storage locations;
- specifying an affiliation, based on determining the instruction is an affiliation-creating instruction;
- obtaining a branch instruction, the branch instruction being separated from the instruction by one or more instructions;
- and
- performing processing, based on decoding the branch instruction and on having specified the affiliation, wherein the plurality of registers comprise a first register and an affiliated register that is affiliated with the first register as indicated by the specified affiliation, and wherein the performing processing comprises storing a predicted address to the first register and, based on the specified affiliation, to the affiliated register.
Dependencies are inferred from the claim text.