A PVS based framework for validating compiler optimizations

被引:0
|
作者
Kanade, Aditya [1 ]
Sanyal, Amitabha [1 ]
Khedker, Uday [1 ]
机构
[1] Indian Inst Technol, Dept Comp Sci & Engn, Bombay 400076, Maharashtra, India
来源
SEFM 2006: FOURTH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND FORMAL METHODS, PROCEEDINGS | 2006年
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
An optimization can be specified as sequential compositions of predefined transformation. primitives. For each primitive, we can. define soundness conditions which guarantee that the transformation is semantics preserving. An optimization of a program preserves semantics, if all applications of the primitives in. the optimization satisfy their respective soundness conditions on the versions of the input program on which the), are applied. This scheme does not directly check semantic equivalence of the input and the optimized programs and is therefore amenable to automation. Automating this scheme however requires a trusted framework for simulating transformation primitives and checking their soundness conditions. In this paper, we present the design of such a framework based on PVS. We have used it for specifying and validating several optimizations viz. common subexpression elimination, optimal code placement, lazy code motion, loop invariant code motion, full and partial dead code elimination, etc.
引用
收藏
页码:108 / +
页数:2
相关论文
共 50 条
  • [1] A Framework for Formal Verification of Compiler Optimizations
    Mansky, William
    Gunter, Elsa
    INTERACTIVE THEOREM PROVING, PROCEEDINGS, 2010, 6172 : 371 - 386
  • [2] A compiler framework for speculative analysis and optimizations
    Lin, J
    Chen, T
    Hsu, WC
    Ju, RDC
    Ngai, TF
    Yew, PC
    Chan, S
    ACM SIGPLAN NOTICES, 2003, 38 (05) : 289 - 299
  • [3] An Automatic Compiler Optimizations Selection Framework for Embedded Applications
    Hung, Shih-Hao
    Tu, Chia-Heng
    Lin, Huang-Sen
    Chen, Chi-Meng
    2009 INTERNATIONAL CONFERENCE ON EMBEDDED SOFTWARE AND SYSTEMS, PROCEEDINGS, 2009, : 381 - +
  • [4] CRAFT: a framework for F90/HPF compiler optimizations
    Wu, JJ
    Chen, M
    Cowie, J
    CONCURRENCY-PRACTICE AND EXPERIENCE, 1999, 11 (10): : 529 - 569
  • [5] A compiler framework for recovery code generation in general speculative optimizations
    Lin, J
    Hsu, WC
    Yew, PC
    Ju, RDC
    Ngai, TF
    13TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURE AND COMPILATION TECHNIQUES, PROCEEDINGS, 2004, : 17 - 28
  • [6] Differential Testing of a Verification Framework for Compiler Optimizations (Case Study)
    Utting, Mark
    Webb, Brae J.
    Hayes, Ian J.
    2023 IEEE/ACM 11TH INTERNATIONAL CONFERENCE ON FORMAL METHODS IN SOFTWARE ENGINEERING, FORMALISE, 2023, : 66 - 75
  • [7] Locality-Based Optimizations in the Chapel Compiler
    Kayraklioglu, Engin
    Ronaghan, Elliot
    Ferguson, Michael P.
    Chamberlain, Bradford L.
    LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING (LCPC 2021), 2022, 13181 : 3 - 17
  • [8] COMPILER OPTIMIZATIONS FOR THE WAM
    TURK, AK
    LECTURE NOTES IN COMPUTER SCIENCE, 1986, 225 : 657 - 662
  • [9] Compiler Optimizations for OpenMP
    Doerfert, Johannes
    Finkel, Hal
    EVOLVING OPENMP FOR EVOLVING ARCHITECTURES, 2018, 11128 : 113 - 127
  • [10] GRAPHICAL VISUALIZATION OF COMPILER OPTIMIZATIONS
    BOYD, MR
    WHALLEY, DB
    JOURNAL OF PROGRAMMING LANGUAGES, 1995, 3 (02): : 69 - 94