Formally Verified Loop-Invariant Code Motion and Assorted Optimizations - Archive ouverte HAL
Article Dans Une Revue ACM Transactions on Embedded Computing Systems (TECS) Année : 2022

Formally Verified Loop-Invariant Code Motion and Assorted Optimizations

David Monniaux
Cyril Six

Résumé

We present an approach for implementing a formally certified loop-invariant code motion optimization by composing an unrolling pass and a formally certified yet efficient global subexpression elimination. This approach is lightweight: each pass comes with a simple and independent proof of correctness. Experiments show the approach significantly narrows the performance gap between the CompCert certified compiler and state-of-the-art optimizing compilers. Our static analysis employs an efficient yet verified hashed set structure, resulting in fast compilation.
Fichier principal
Vignette du fichier
CSE3_TECS_article.pdf (386.89 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-03628646 , version 1 (04-04-2022)

Identifiants

Citer

David Monniaux, Cyril Six. Formally Verified Loop-Invariant Code Motion and Assorted Optimizations. ACM Transactions on Embedded Computing Systems (TECS), 2022, 22 (1), pp.#3 1-27. ⟨10.1145/3529507⟩. ⟨hal-03628646⟩
81 Consultations
335 Téléchargements

Altmetric

Partager

More