Give feedback

How would you rate this Learning Path?

Review frequently asked questions

AI-assisted

These FAQs were drafted with an approved AI-assisted workflow and reviewed by Arm contributors before publication. Human technical review remains part of the process so the final page reflects engineering rigor, accuracy, and Arm editorial standards.

Close
?
Which architecture should I target when I write the litmus test?
Use AArch64 for the MP litmus test. Configure your tools and hardware runs for the same architecture.
Why might Litmus7 not observe an outcome that Herd7 permits?
Herd7 evaluates outcomes against the formal memory model, while Litmus7 runs the test on hardware. A compliant Arm CPU can exhibit stronger ordering than the formal model, and a finite run can miss rare outcomes. Increasing the iteration count improves your chances of observing rare outcomes but doesn’t guarantee that every permitted outcome will occur.
How do I know I’m ready to move from Herd7 to Litmus7 on hardware?
Run the test in Herd7 and review the outcomes permitted by the formal model. After you can reproduce and interpret the outcomes, run the same test with Litmus7 on Arm hardware to compare behavior.
Which instructions should I use to demonstrate acquire-release ordering?
Use LDAR for load-acquire and STLR for store-release. Compare the examples to see how these instructions enforce acquire-release ordering.
How can I increase the chance of observing rare outcomes with Litmus7?
Increase the iteration count with the -s option. For example, run litmus7 ./test.litmus -s 5000000 to execute five million iterations instead of the default one million.

Share

Tell others about this Learning Path.

Return to Servers and Cloud Computing