计算机科学 > 程序设计语言
[提交于 2025年9月10日]
标题:Towards Verified Compilation of Floating-point Optimization in Scientific Computing Programs
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Scientific computing programs often undergo aggressive compiler optimization to achieve high performance and efficient resource utilization. While performance is critical, we also need to ensure that these optimizations are correct. In this paper, we focus on a specific class of optimizations, floating-point optimizations, notably due to fast math, at the LLVM IR level. We present a preliminary work, which leverages the Verified LLVM framework in the Rocq theorem prover, to prove the correctness of Fused-Multiply-Add (FMA) optimization for a basic block implementing the arithmetic expression $a * b + c$ . We then propose ways to extend this preliminary results by adding more program features and fast math floating-point optimizations.
提交历史
来自:Mohit Tekriwal[v1] 2025年9月10日 星期三 21:27:35 UTC