Passer à la navigation principale Passer à la recherche Passer au contenu principal

Completeness of automatically generated instruction selectors

  • ENS Lyon

Résultats de recherche: Le chapitre dans un livre, un rapport, une anthologie ou une collectionContribution à une conférenceRevue par des pairs

Résumé

The use of tree pattern matching for instruction selection has proven very successful in modern compilers. This can be attributed to the declarative nature of tree grammar specifications, which greatly simplifies the development of fast high-quality code generators. The approach has also been adopted widely by generator tools that aim to automatically extract the instruction selector, as well as other compiler components, for application-specific instruction processors from generic processor models. A major advantage of tree pattern matching is that it is suitable for static analysis and allows to verify properties of a given specification. Completeness is an important example of such a property, in particular for automatically generated compilers. Tree automata can be used to prove that a given instruction selector specification is complete, i.e., can actually generate machine code for all possible input programs. Traditional approaches for completeness tests cannot represent dynamic checks that may disable certain matching rules during code generation. However, these dynamic checks occur very frequently in compilers targeting application-specific processors. The dynamic checks arise from hidden properties that are not captured by the terminal symbols of the tree grammar notation. We apply terminal splitting to the instruction selector specifications that are automatically derived from structural processor models to make these properties explicit. The transformed specification is then verified using a traditional completeness test. If the test fails, counter examples are presented that allow to adopt the compiler or extend the processor model accordingly.

langue originaleAnglais
titreASAP 10 - 21st IEEE International Conference on Application-Specific Systems, Architectures and Processors, Conference Proceedings
EditeurInstitute of Electrical and Electronics Engineers Inc.
Pages175-182
Nombre de pages8
ISBN (imprimé)9781424469673
Les DOIs
étatPublié - 1 janv. 2010
Modification externeOui
Evénement21st IEEE International Conference on Application-specific Systems, Architectures and Processors, ASAP 2010 - Rennes, France
Durée: 7 juil. 20109 juil. 2010

Série de publications

NomProceedings of the International Conference on Application-Specific Systems, Architectures and Processors
ISSN (imprimé)2160-0511
ISSN (Electronique)2160-052X

Une conférence

Une conférence21st IEEE International Conference on Application-specific Systems, Architectures and Processors, ASAP 2010
Pays/TerritoireFrance
La villeRennes
période7/07/109/07/10

Empreinte digitale

Examiner les sujets de recherche de « Completeness of automatically generated instruction selectors ». Ensemble, ils forment une empreinte digitale unique.

Contient cette citation