2019
DOI: 10.1145/3290382
|View full text |Cite
|
Sign up to set email alerts
|

Bridging the gap between programming languages and hardware weak memory models

Abstract: We develop a new intermediate weak memory model, IMM, as a way of modularizing the proofs of correctness of compilation from concurrent programming languages with weak memory consistency semantics to mainstream multi-core architectures, such as POWER and ARM. We use IMM to prove the correctness of compilation from the promising semantics of Kang et al. to POWER (thereby correcting and improving their result) and ARMv7, as well as to the recently revised ARMv8 model. Our results are mechanized in Coq, and to th… Show more

Help me understand this report
View preprint versions

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

0
66
0
4

Year Published

2019
2019
2021
2021

Publication Types

Select...
5
3

Relationship

3
5

Authors

Journals

citations
Cited by 51 publications
(70 citation statements)
references
References 30 publications
(49 reference statements)
0
66
0
4
Order By: Relevance
“…As a result, PS cannot produce the outcome a = c = 1, which in turn means that its intended compilation to ARMv8 is unsound. To restore soundness of compilation from PS to ARMv8, Podkopaev et al [2019] insert a dmb.ld fence after every atomic update.…”
Section: Relating Weakest and Weakestmo To The Promising Semanticsmentioning
confidence: 99%
See 2 more Smart Citations
“…As a result, PS cannot produce the outcome a = c = 1, which in turn means that its intended compilation to ARMv8 is unsound. To restore soundness of compilation from PS to ARMv8, Podkopaev et al [2019] insert a dmb.ld fence after every atomic update.…”
Section: Relating Weakest and Weakestmo To The Promising Semanticsmentioning
confidence: 99%
“…Proving the correctness of the intended optimal mappings from weakestmo to the full PowerPC model and to ARMv7, as well as to the ARMv8-Flat model [Pulte et al 2018], is left for future work. To carry out these proofs, we intend to compile via the recent IMM model of Podkopaev et al [2019], from which compilation results to multiple architectures have been developed.…”
Section: Mapping From Weakestmo To X86 Powerpc and Armv7mentioning
confidence: 99%
See 1 more Smart Citation
“…We have begun to see a new generation of models with the explicit aim of disallowing out-ofthin-air while preserving efficient compilation schemes Pichon-Pharabod and Sewell 2016;Podkopaev et al 2018]. As these models become more mature, it may be possible to use aspects of them to disallow our out-of-thin-air executions.…”
Section: Related Workmentioning
confidence: 99%
“…Understanding the details of these dependencies is not necessary for understanding the PARMv8 persistency semantics. We refer the reader to [Podkopaev et al 2019] for the details of how these dependencies are computed for a given program.…”
Section: The Persistent Armv8 Model (Parmv8)mentioning
confidence: 99%