Skip to main content

Alive-FP: Automated Verification of Floating Point Based Peephole Optimizations in LLVM

Author(s): Menendez, David; Nagarakatte, Santosh; Gupta, Aarti

Download
To refer to this page use: http://arks.princeton.edu/ark:/88435/pr1cv6g
Full metadata record
DC FieldValueLanguage
dc.contributor.authorMenendez, David-
dc.contributor.authorNagarakatte, Santosh-
dc.contributor.authorGupta, Aarti-
dc.date.accessioned2021-10-08T19:46:54Z-
dc.date.available2021-10-08T19:46:54Z-
dc.date.issued2016en_US
dc.identifier.citationMenendez, David, Santosh Nagarakatte, and Aarti Gupta. "Alive-FP: Automated Verification of Floating Point Based Peephole Optimizations in LLVM." In International Static Analysis Symposium (2016): pp. 317-337. doi:10.1007/978-3-662-53413-7_16en_US
dc.identifier.issn0302-9743-
dc.identifier.urihttps://www.cs.rutgers.edu/~santosh.nagarakatte/papers/alive-fp-sas16.pdf-
dc.identifier.urihttp://arks.princeton.edu/ark:/88435/pr1cv6g-
dc.description.abstractPeephole optimizations optimize and canonicalize code to enable other optimizations but are error-prone. Our prior research on Alive, a domain-specific language for specifying LLVM’s peephole optimizations, automatically verifies the correctness of integer-based peephole optimizations and generates C++ code for use within LLVM. This paper proposes Alive-FP, an automated verification framework for floating point based peephole optimizations in LLVM. Alive-FP handles a class of floating point optimizations and fast-math optimizations involving signed zeros, not-a-number, and infinities, which do not result in loss of accuracy. This paper provides multiple encodings for various floating point operations to account for the various kinds of undefined behavior and under-specification in the LLVM’s language reference manual. We have translated all optimizations that belong to this category into Alive-FP. In this process, we have discovered seven wrong optimizations in LLVM.en_US
dc.format.extent317 - 337en_US
dc.language.isoen_USen_US
dc.relation.ispartofInternational Static Analysis Symposiumen_US
dc.rightsAuthor's manuscripten_US
dc.titleAlive-FP: Automated Verification of Floating Point Based Peephole Optimizations in LLVMen_US
dc.typeConference Articleen_US
dc.identifier.doi10.1007/978-3-662-53413-7_16-
dc.identifier.eissn1611-3349-
pu.type.symplectichttp://www.symplectic.co.uk/publications/atom-terms/1.0/conference-proceedingen_US

Files in This Item:
File Description SizeFormat 
AutoVerifFloatingPointPeepholeOptimization.pdf352.87 kBAdobe PDFView/Download


Items in OAR@Princeton are protected by copyright, with all rights reserved, unless otherwise indicated.