计算机科学 > 程序设计语言
[提交于 2018年8月29日]
标题:Memory Consistency Models using Constraints
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Memory consistency models (MCMs) are at the heart of concurrent programming. They represent the behaviour of concurrent programs at the chip level. To test these models small program snippets called litmus test are generated, which show allowed or forbidden behaviour of different MCMs. This paper is showcasing the use of constraint programming to automate the generation and testing of litmus tests for memory consistency models. We produce a few exemplary case studies for two MCMs, namely Sequential Consistency and Total Store Order. These studies demonstrate the flexibility of constrains programming in this context and lay foundation to the direct verification of MCMs against the software facing cache coherence protocols.
提交历史
来自:Ruth Hoffmann[v1] 2018年8月29日 星期三 15:04:58 UTC