Proceedings of the Institute for System Programming of the RAS
RUS  ENG    JOURNALS   PEOPLE   ORGANISATIONS   CONFERENCES   SEMINARS   VIDEO LIBRARY   PACKAGE AMSBIB  
General information
Latest issue
Archive

Search papers
Search references

RSS
Latest issue
Current issues
Archive issues
What is RSS



Proceedings of ISP RAS:
Year:
Volume:
Issue:
Page:
Find






Personal entry:
Login:
Password:
Save password
Enter
Forgotten password?
Register


Proceedings of the Institute for System Programming of the RAS, 2019, Volume 31, Issue 5, Pages 63–78
DOI: https://doi.org/10.15514/ISPRAS-2019-31(5)-4
(Mi tisp453)
 

This article is cited in 1 scientific paper (total in 1 paper)

Compilation of OCaml memory model into Power

E. S. Namakonovab, A. V. Podkopaevcda

a JetBrains Research
b Saint Petersburg State University
c Max Planck Institute for Software Systems
d National Research University "Higher School of Economics", Moscow
Full-text PDF (759 kB) Citations (1)
References:
Abstract: The development of memory models aimed at solving various concurrency problems is an active research topic. One such model is the OCaml memory model (OCamlMM), which allows to mitigate undefined behavior caused by data races. To use this model in practice one has to prove the correctness of its compilation into mainstream CPU architectures. At the moment, it is done for x86 and ARM but not for Power.One way to prove the correctness of compilation of OCamlMM into the Power model is to develop a compilation scheme from OCamlMM into the Intermediate Memory Model (IMM). It would be sufficient since there already exists a compilation scheme from IMM to the Power model. In this paper, the compilation scheme from OCamlMM into IMM is presented and proved to be correct. Memory fences and compare-and-swap instructions are used to permit only behavior allowed by OCamlMM. The resulting compilation scheme gives a correct compilation scheme from OCamlMM to the Power model. Moreover, when a compilation scheme from IMM into another CPU architecture will be developed, such an approach would immediately give a correct scheme of compilation of OCamlMM into that architecture.
Keywords: weak memory models, compilation correctness, concurrency, OCaml memory model, IMM.
Document Type: Article
Language: Russian
Citation: E. S. Namakonov, A. V. Podkopaev, “Compilation of OCaml memory model into Power”, Proceedings of ISP RAS, 31:5 (2019), 63–78
Citation in format AMSBIB
\Bibitem{NamPod19}
\by E.~S.~Namakonov, A.~V.~Podkopaev
\paper Compilation of OCaml memory model into Power
\jour Proceedings of ISP RAS
\yr 2019
\vol 31
\issue 5
\pages 63--78
\mathnet{http://mi.mathnet.ru/tisp453}
\crossref{https://doi.org/10.15514/ISPRAS-2019-31(5)-4}
Linking options:
  • https://www.mathnet.ru/eng/tisp453
  • https://www.mathnet.ru/eng/tisp/v31/i5/p63
  • This publication is cited in the following 1 articles:
    Citing articles in Google Scholar: Russian citations, English citations
    Related articles in Google Scholar: Russian articles, English articles
    Proceedings of the Institute for System Programming of the RAS
     
      Contact us:
     Terms of Use  Registration to the website  Logotypes © Steklov Mathematical Institute RAS, 2025