Publications

Detailed Information

Sequential reasoning for optimizing compilers under weak memory concurrency

Cited 0 time in Web of Science Cited 3 time in Scopus
Authors

Cho, Minki; Lee, Sung-Hwan; Lee, Dongjae; Hur, Chung-Kil; Lahav, Ori

Issue Date
2022-06
Publisher
Association for Computing Machinery
Citation
Proceedings of the ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), pp.213-228
Abstract
© 2022 ACM.We formally show that sequential reasoning is adequate and sufficient for establishing soundness of various compiler optimizations under weakly consistent shared-memory concurrency. Concretely, we introduce a sequential model and show that behavioral refinement in that model entails contextual refinement in the Promising Semantics model, extended with non-atomic accesses for non-racy code. This is the first work to achieve such result for a full-fledged model with a variety of C11-style concurrency features. Central to our model is the lifting of the common data-race-freedom assumption, which allows us to validate irrelevant load introduction, a transformation that is commonly performed by compilers. As a proof of concept, we develop an optimizer for a toy concurrent language, and certify it (in Coq) while relying solely on the sequential model. We believe that the proposed approach provides useful means for compiler developers and validators, as well as a solid foundation for the development of certified optimizing compilers for weakly consistent shared-memory concurrency.
URI
https://hdl.handle.net/10371/184804
DOI
https://doi.org/10.1145/3519939.3523718
Files in This Item:
There are no files associated with this item.
Appears in Collections:

Altmetrics

Item View & Download Count

  • mendeley

Items in S-Space are protected by copyright, with all rights reserved, unless otherwise indicated.

Share