MMFilter: A CHR-Based Solver for Generation of Executions under Weak Memory Models

Abstract : With the wide expansion of multiprocessor architectures, the analysis and reasoning for programs under weak memory models has become an important concern. This work presents MMFilter, an original constraint solver for generating program behaviors respecting a particular memory model. It is implemented in Prolog using CHR (Constraint Handling Rules). The CHR formalism provides a convenient generic solution for specifying memory models. It benefits from the existing optimized implementations of CHR and can be easily extended to new models. We present MMFilter design, illustrate the encoding of memory model constraints in CHR and discuss the benefits and limitations of the proposed technique.
Complete list of metadatas

Cited literature [29 references]  Display  Hide  Download

https://hal.inria.fr/hal-01777123
Contributor : Allan Blanchard <>
Submitted on : Tuesday, April 24, 2018 - 4:11:54 PM
Last modification on : Wednesday, October 16, 2019 - 1:31:24 AM
Long-term archiving on : Wednesday, September 19, 2018 - 10:36:28 PM

File

MMFilter.pdf
Files produced by the author(s)

Identifiers

Citation

Allan Blanchard, Nikolai Kosmatov, Frédéric Loulergue. MMFilter: A CHR-Based Solver for Generation of Executions under Weak Memory Models. Computer Languages, Systems and Structures, Elsevier, 2018, 53, pp.121-142. ⟨10.1016/j.cl.2018.03.002⟩. ⟨hal-01777123⟩

Share

Metrics

Record views

380

Files downloads

76