计算机科学 > 程序设计语言
[提交于 2018年2月16日]
标题:Compositional Verification of Compiler Optimisations on Relaxed Memory
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:A valid compiler optimisation transforms a block in a program without introducing new observable behaviours to the program as a whole. Deciding which optimisations are valid can be difficult, and depends closely on the semantic model of the programming language. Axiomatic relaxed models, such as C++11, present particular challenges for determining validity, because such models allow subtle effects of a block transformation to be observed by the rest of the program. In this paper we present a denotational theory that captures optimisation validity on an axiomatic model corresponding to a fragment of C++11. Our theory allows verifying an optimisation compositionally, by considering only the block it transforms instead of the whole program. Using this property, we realise the theory in the first push-button tool that can verify real-world optimisations under an axiomatic memory model.
提交历史
来自:Alexey Gotsman[v1] 2018年2月16日 星期五 12:58:12 UTC