Formal Verification of an SSA-based Middle-end for CompCert

Abstract : CompCert is a formally verified compiler that generates compact and efficient PowerPC, ARM and x86 code for a large and realistic subset of the C language. However, CompCert foregoes using Static Single Assignment (SSA), an intermediate representation that allows for writing simpler and faster optimizers, and that is used by many compilers. In fact, it has remained an open problem to verify formally an SSA-based compiler middle-end. We report on a formally verified, SSA-based, middle-end for CompCert. Our middle-end performs conversion from CompCert intermediate form to SSA form, optimization of SSA programs, including Global Value Numbering, and transforming out of SSA to intermediate form. In addition to provide the first formally verified SSA-based middle-end, we address two problems raised by Leroy in 2009: giving a simple and intuitive formal semantics to SSA, and leveraging the global properties of SSA to reason locally about program optimizations.
Type de document :
Rapport
[University works] 2011
Liste complète des métadonnées

Littérature citée [35 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/inria-00634702
Contributeur : Delphine Demange <>
Soumis le : mardi 2 avril 2013 - 00:13:53
Dernière modification le : mercredi 16 mai 2018 - 11:23:28
Document(s) archivé(s) le : dimanche 2 avril 2017 - 22:57:49

Fichier

BDPreport.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : inria-00634702, version 3

Citation

Gilles Barthe, Delphine Demange, David Pichardie. Formal Verification of an SSA-based Middle-end for CompCert. [University works] 2011. 〈inria-00634702v3〉

Partager

Métriques

Consultations de la notice

917

Téléchargements de fichiers

578