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.
Die anwesende Erfindung ist eine Methode und ein Apparat für Compileroptimierung, die die Höchstzahl der Phasencomputerregister feststellt, oder Druckpunkt. Die anwesende Erfindung verbessert die Produktivität eines Software-Entwicklers, indem sie Umwandlungszeit eines Computerprogramms verringert. Besonders, werden die Unkosten, die während der Kompilation erfordert werden, um Informationen zu suchen, um die Höchstzahl der Phasenregister festzustellen, verringert. Die anwesende Erfindung notiert die relevanten Fälle, die auf der Durchführung eines Computerprogramms, im Vergleich mit einer kompletten Geschichte der gelesenen Anweisungen bezogen werden und Schreibbefehle. Auch die anwesende Erfindung behält Informationen über die Höchstzahl der Phasenregister für jedes mögliches Fach bei, das auf der Durchführung eines Computerprogramms bezogen wird. Die anwesende Erfindung kann die erforderlichen System Betriebsmittel springen, die erfordert werden, die Höchstzahl der Phasenregister zur Zahl den Registern festzustellen, die mit der Zahl Fächern verbunden sind.