arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.01344cs.PL
收藏

简单、轻便、经过形式验证的全局通用子表达式消除和循环不变代码运动

Simple, Light, Yet Formally Verified, Global Common Subexpression Elimination and Loop-Invariant Code Motion

David Monniaux, Cyril Six

摘要:

我们提出了一种方法,通过组合展开通道和正式认证但有效的全局子表达式消除来实现正式认证的循环不变代码运动优化。这种方法是轻量级的:每一遍都有一个简单而独立的正确性证明。实验表明,该方法显着缩小了CompCert认证编译器和国家之间的性能差距。艺术优化编译器。我们的静态分析采用了一个有效的,但验证哈希集结构,导致快速编译。

英文摘要:

We present an approach for implementing a formally certified loop-invariant code motion optimization by composing an unrolling pass and a formally certified yet efficient global subexpression elimination.This approach is lightweight: each pass comes with a simple and independent proof of correctness.Experiments show the approach significantly narrows the performance gap between the CompCert certified compiler and state-of-the-art optimizing compilers.Our static analysis employs an efficient yet verified hashed set structure, resulting in fast compilation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑