计算机科学 > 程序设计语言
[提交于 2016年3月30日]
标题:LifeJacket: Verifying precise floating-point optimizations in LLVM
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Optimizing floating-point arithmetic is vital because it is ubiquitous, costly, and used in compute-heavy workloads. Implementing precise optimizations correctly, however, is difficult, since developers must account for all the esoteric properties of floating-point arithmetic to ensure that their transformations do not alter the output of a program. Manual reasoning is error prone and stifles incorporation of new optimizations. We present an approach to automate reasoning about floating-point optimizations using satisfiability modulo theories (SMT) solvers. We implement the approach in LifeJacket, a system for automatically verifying precise floating-point optimizations for the LLVM assembly language. We have used LifeJacket to verify 43 LLVM optimizations and to discover eight incorrect ones, including three previously unreported problems. LifeJacket is an open source extension of the Alive system for optimization verification.
提交历史
来自:Andres Nötzli[v1] 2016年3月30日 星期三 17:46:57 UTC