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
关键词
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 compiler framework for speculative analysis and optimizations
    Lin, J
    Chen, T
    Hsu, WC
    Ju, RDC
    Ngai, TF
    Yew, PC
    Chan, S
    [J]. ACM SIGPLAN NOTICES, 2003, 38 (05) : 289 - 299
  • [2] A Framework for Formal Verification of Compiler Optimizations
    Mansky, William
    Gunter, Elsa
    [J]. INTERACTIVE THEOREM PROVING, PROCEEDINGS, 2010, 6172 : 371 - 386
  • [3] An Automatic Compiler Optimizations Selection Framework for Embedded Applications
    Hung, Shih-Hao
    Tu, Chia-Heng
    Lin, Huang-Sen
    Chen, Chi-Meng
    [J]. 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
    [J]. CONCURRENCY-PRACTICE AND EXPERIENCE, 1999, 11 (10): : 529 - 569
  • [5] Differential Testing of a Verification Framework for Compiler Optimizations (Case Study)
    Utting, Mark
    Webb, Brae J.
    Hayes, Ian J.
    [J]. 2023 IEEE/ACM 11TH INTERNATIONAL CONFERENCE ON FORMAL METHODS IN SOFTWARE ENGINEERING, FORMALISE, 2023, : 66 - 75
  • [6] A compiler framework for recovery code generation in general speculative optimizations
    Lin, J
    Hsu, WC
    Yew, PC
    Ju, RDC
    Ngai, TF
    [J]. 13TH INTERNATIONAL CONFERENCE ON PARALLEL ARCHITECTURE AND COMPILATION TECHNIQUES, PROCEEDINGS, 2004, : 17 - 28
  • [7] Locality-Based Optimizations in the Chapel Compiler
    Kayraklioglu, Engin
    Ronaghan, Elliot
    Ferguson, Michael P.
    Chamberlain, Bradford L.
    [J]. LANGUAGES AND COMPILERS FOR PARALLEL COMPUTING (LCPC 2021), 2022, 13181 : 3 - 17
  • [8] Compiler Optimizations for OpenMP
    Doerfert, Johannes
    Finkel, Hal
    [J]. EVOLVING OPENMP FOR EVOLVING ARCHITECTURES, 2018, 11128 : 113 - 127
  • [9] COMPILER OPTIMIZATIONS FOR THE WAM
    TURK, AK
    [J]. LECTURE NOTES IN COMPUTER SCIENCE, 1986, 225 : 657 - 662
  • [10] Phase Directed Compiler Optimizations
    Jain, Era
    Roy, Subhajit
    [J]. PROCEEDINGS OF 2016 IEEE 23RD INTERNATIONAL CONFERENCE ON HIGH PERFORMANCE COMPUTING (HIPC), 2016, : 270 - 279