首页    期刊浏览 2024年07月06日 星期六
登录注册

文章基本信息

  • 标题:Verifying Optimizations for Concurrent Programs
  • 本地全文:下载
  • 作者:William Mansky ; Elsa L. Gunter
  • 期刊名称:OASIcs : OpenAccess Series in Informatics
  • 电子版ISSN:2190-6807
  • 出版年度:2014
  • 卷号:40
  • 页码:15-26
  • DOI:10.4230/OASIcs.WPTE.2014.15
  • 出版社:Schloss Dagstuhl -- Leibniz-Zentrum fuer Informatik
  • 摘要:While program correctness for compiled languages depends fundamentally on compiler correctness, compiler optimizations are not usually formally verified due to the effort involved, particularly in the presence of concurrency. In this paper, we present a framework for stating and reasoning about compiler optimizations and transformations on programs in the presence of relaxed memory models. The core of the framework is the PTRANS specification language, in which program transformations are expressed as rewrites on control flow graphs with temporal logic side conditions. We demonstrate our technique by verifying the correctness of a redundant store elimination optimization in a simple LLVM-like intermediate language, relying on a theorem that allows us to lift single-thread simulation relations to simulations on multithreaded programs.
  • 关键词:optimizing compilers; interactive theorem proving; program transformations; temporal logic; relaxed memory models
国家哲学社会科学文献中心版权所有