Allocation method, apparatus, and program for managing architectural registers and physical registers using mapping tables
AssigneeInternational Business Machines Corporation
InventorKazuaki Ishizaki
Life of this patent
Estimating the term…
Loading patent…
AssigneeInternational Business Machines Corporation
InventorKazuaki Ishizaki
Estimating the term…
An allocation system and a method for allocating an architectural register in a system having one or more mapping tables. When the allocation system detects a plurality of available architectural registers to an allocation target virtual register, it identifies adjacent instructions to all instructions having the allocation target virtual register in its destination operand, counts the number of uses of the architectural register appearing in the destination operand for each architectural register, summing the number of uses for each architectural register for each entry group in one or more mapping tables having the same assignment rule for correlations with the architectural registers, calculating the total of the numbers of uses of entries for each entry group, and allocating the architectural register to the allocation target virtual register such that the total of the numbers of uses of entries for each entry group approaches uniformity.
A computer-implemented method for allocating an architectural register in a computer, wherein the computer includes a processor having an at least one or more mapping tables that manage relations between a plurality of architectural registers and a plurality of physical registers, the method comprising:
A computer program product for allocating an architectural register, the computer program product comprising a non-transitory computer readable storage medium having program instructions embodied therewith which, when executed, cause a computer device to perform the steps of a method comprising:
An allocation system for allocating an architectural register, the allocation system comprising:
Dependencies are inferred from the claim text.