about summary refs log tree commit diff
path: root/src/tools/miri/genmc-sys
AgeCommit message (Collapse)AuthorLines
2025-09-18Add GenMC estimation mode. Improve error handling and output printing.Patrick-6-11/+89
2025-09-12Implement more features for GenMC modePatrick-6-27/+153
- Handling Compare-Exchange operations. - Limitation: Compare-Exchange currently ignores possibility of spurious failures. - Limitation: Compare-Exchange failure memory ordering is ignored. - Upgrade compare-exchange success ordering to avoid reporting non-existent bugs. - Add warnings for GenMC mode for unsupported features. - Add a lot of tests, including translation of GenMC litmus tests and Loom tests. - Cleanup
2025-09-07Implement more features for GenMC modePatrick-6-20/+202
- Support for atomic fences. - Support for atomic read-modify-write (RMW). - Add tests using RMW and fences. - Add options: - to disable weak memory effects in GenMC mode. - to print GenMC execution graphs. - to print GenMC output message. - Fix GenMC full rebuild issue and run configure step when commit changes. - Do cleanup. Co-authored-by: Ralf Jung <post@ralfj.de>
2025-09-03Merge pull request #4506 from Patrick-6/miri-genmc-mvpRalf Jung-122/+1067
Add minimal functionality for using GenMC mode
2025-09-03Implement basic support for running Miri with GenMC.Patrick-6-122/+1067
- Implement memory allocation compatible with GenMC. - Extract address generator struct from Miri's allocator. - Support thread creation and joining. - Support atomic load and store. - Support scheduling through GenMC. - Add tests for GenMC mode. - Add clang-format file for C++ code in Miri. - Update genmc-sys crate license to MIT/Apache to match GenMC dependency. - Add documentation for GenMC mode. Note: this commit depends on changes to GenMC not yet upstreamed to its official repository. Co-authored-by: Ralf Jung <post@ralfj.de>
2025-07-28Reduce required cc crate version.Patrick-6-2/+4
2025-07-27various minor adjustmentsRalf Jung-9/+8
2025-07-27Add support for building and linking against genmcPatrick-6-0/+410