302 articles – 345 Notices  [english version]
HAL : hal-00524715, version 1

Fiche concise  Récupérer au format
Certifying cost annotations in compilers
Amadio R. M., Ayache N., Régis-Gianas Y., Saillard R.
Rapport de recherche - http://hal.archives-ouvertes.fr/hal-00524715
Rapport de recherche
Informatique/Langage de programmation
Certifying cost annotations in compilers
Roberto M. Amadio () 1, Nicolas Ayache 1, 2, Yann Régis-Gianas 1, 2, Ronan Saillard 1, 2
1 :  Preuves, Programmes et Systèmes (PPS)
http://www.pps.jussieu.fr
CNRS : UMR7126 – Université Paris VII - Paris Diderot
Université Denis Diderot 2 Place Jussieu - case 7014 75005 PARIS
France
2 :  PI.R2 (INRIA Paris - Rocquencourt)
INRIA – Université Paris VII - Paris Diderot – CNRS : UMR7126
France
We discuss the problem of building a compiler which can lift in a provably correct way pieces of information on the execution cost of the object code to cost annotations on the source code. To this end, we need a clear and flexible picture of: (i) the meaning of cost annotations, (ii) the method to prove them sound and precise, and (iii) the way such proofs can be composed. We propose a so-called labelling approach to these three questions. As a first step, we examine its application to a toy compiler. This formal study suggests that the labelling approach has good compositionality and scalability properties. In order to provide further evidence for this claim, we report our successful experience in implementing and testing the labelling approach on top of a prototype compiler written in OCAML for (a large fragment of) the C language.
Anglais
01/10/2010

Certified compilation. Worst case execution time.

Certified Complexity (CerCo), Project FP7-ICT-2009-C-243881
Acronyme Certified Complexity (CerCo), Project FP7-ICT-2009-C-243881
Liste des fichiers attachés à ce document : 
TEX
ccac-hal.tex(148.7 KB)
PDF
ccac-hal.pdf(300.8 KB)
PS
ccac-hal.ps(1002 KB)