Determining maximum number of live registers by recording relevant events of the execution of a computer program
AssigneeHewlett-Packard Development Company, L.P.
InventorsRobert C. Kunz, Peter J. Dahl
Life of this patent
Estimating the term…
Loading patent…
AssigneeHewlett-Packard Development Company, L.P.
InventorsRobert C. Kunz, Peter J. Dahl
Estimating the term…
The present invention is a method and apparatus for compiler optimization that determines the maximum number of live computer registers, or pressure point. The present invention improves the productivity of a software developer by reducing compilation time of a computer program. More particularly, the overhead required during compilation to search information to determine the maximum number of live registers is reduced. The present invention records the relevant events related to the execution of a computer program, as opposed to a comprehensive history of the read instructions and write instructions. Also, the present invention maintains information about the maximum number of live registers for any partition related to the execution of a computer program. The present invention may bound the required system resources required to determine the maximum number of live registers to the number of registers associated with the number of partitions.
A method for determining the maximum number of live registers in a computer system, said computer system having an executing computer program having at least one instruction that accesses said registers, said method including the steps of:
An article of manufacture comprising a program storage medium having computer readable program code embodied therein for determining the maximum number of live registers in a computer system, said computer system having an executing computer program having at least one instruction that accesses said registers, wherein a read instruction is included in said instructions, said live registers being associated with said read instruction, and wherein events in said computer program are associated with said instructions, thereby associating said accessed registers with said events and said partition, comprising:
Dependencies are inferred from the claim text.