AUTOMATIC VERIFICATION OF OPTIMIZATION OF HIGH LEVEL CONSTRUCTS USING TEST VECTORS
A method for automatic verification of optimization of high level constructs includes generating a first executable code by compiling a computer program that includes a high level construct. The compiling includes generating a first set of machine instructions for the high level construct and storin...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | A method for automatic verification of optimization of high level constructs includes generating a first executable code by compiling a computer program that includes a high level construct. The compiling includes generating a first set of machine instructions for the high level construct and storing compile-time information for the high level construct. The method further includes optimizing the first executable code which includes converting the first executable code into an intermediate language representation. The optimization further includes generating a second executable code. For this, the method includes generating a second set of machine instructions for the high level construct from the intermediate language representation. If the behavior of the first set of machine instructions and the second set of machine instructions matches, the second set of machine instructions is included in the second executable code, otherwise the first set of machine instructions is included.
L'invention concerne un procédé de vérification automatique d'optimisation de constructions de haut niveau consistant à générer un premier code exécutable en compilant un programme informatique qui comprend une construction de haut niveau. La compilation consiste à générer un premier ensemble d'instructions de machine pour la construction de haut niveau, ainsi qu'à stocker des informations temporelles de compilation pour la construction de haut niveau. Le procédé consiste également à optimiser le premier code exécutable qui consiste à convertir le premier code exécutable en une représentation en langage intermédiaire. L'optimisation consiste également à générer un second code exécutable. Pour cela, le procédé consiste à générer un second ensemble d'instructions de machine pour la construction de haut niveau à partir de la représentation en langage intermédiaire. Si les comportements du premier ensemble d'instructions de machine et du second ensemble d'instructions de machine correspondent, le second ensemble d'instructions de machine est inclus dans le second code exécutable, sinon le premier ensemble d'instructions de machine est inclus. |
---|