Go home now Header Background Image
Search
Submission Procedure
share: |
 
Follow us
 
 
 
 
Volume 9 / Issue 3

available in:   PDF (274 kB) PS (252 kB)
 
get:  
Similar Docs BibTeX   Write a comment
  
get:  
Links into Future
 
DOI:   10.3217/jucs-009-03-0223

 

VOC: A Methodology for the Translation Validation of OptimizingCompilers

Lenore Zuck (New York University, United States)

Amir Pnueli (Weizmann Institute of Science, Israel and New York University, USA)

Yi Fang (New York University, USA)

Benjamin Goldberg (New York University, USA)

Abstract: There is a growing awareness, both in industry and academia, of the crucial role of formally verifying the translation from high-level source-code into low-level object code that is typically performed by an optimizing compiler. Formally verifying an optimizing compiler, as one would verify any other large program, is not feasible due to its size, ongoing evolution and modification, and, possibly, proprietary considerations. Translation validation is a novel approach that offers an alternative to the verification of translators in general and compilers in particular: Rather than verifying the compiler itself, one constructs a validation tool which, after every run of the compiler, formally confirms that the target code produced in the run is a correct translation of the source program. The paper presents voc, a methodology for the translation validation of optimizing compilers. We distinguish between structure preserving optimizations, for which we establish a simulation relation between the source and target code based on computational induction, and structure modifying optimizations, for which we develop specialized permutation rules. The paper also describes voc-64 - a prototype translation validator tool that automatically produces verification conditions for the global optimizations of the SGI Pro-64 compiler.

Keywords: SGI Pro-64, global optimizations, optimizing compilers, permutation rules, translation validation, verification conditions, voc-64

Categories: D.2.4, D.3.4, I.6.4