# A formalisation of the SPARC TSO memory model for multi-core machine   code

**Authors:** Zhe Hou, David Sanan, Alwen Tiu, Yang Liu, Jin Song Dong

arXiv: 1906.11203 · 2019-06-27

## TL;DR

This paper formalizes the SPARC TSO memory model within Isabelle/HOL, providing both axiomatic and operational models to aid verification of multi-core processors in critical applications.

## Contribution

It introduces the first mechanised SPARC TSO memory model with both axiomatic and operational forms, validated through proofs and case studies.

## Key findings

- Operational model is sound and complete with respect to the axiomatic model
- Formal models facilitate verification of multi-core SPARC processors
- Case studies demonstrate practical applicability

## Abstract

SPARC processors have many applications in mission-critical industries such as aviation and space engineering. Hence, it is important to provide formal frameworks that facilitate the verification of hardware and software that run on or interface with these processors. This paper presents the first mechanised SPARC Total Store Ordering (TSO) memory model which operates on top of an abstract model of the SPARC Instruction Set Architecture (ISA) for multi-core processors. Both models are specified in the theorem prover Isabelle/HOL. We formalise two TSO memory models: one is an adaptation of the axiomatic SPARC TSO model, the other is a novel operational TSO model which is suitable for verifying execution results. We prove that the operational model is sound and complete with respect to the axiomatic model. Finally, we give verification examples with two case studies drawn from the SPARCv9 manual.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/1906.11203/full.md

## Figures

5 figures with captions in the complete paper: https://tomesphere.com/paper/1906.11203/full.md

## References

34 references — full list in the complete paper: https://tomesphere.com/paper/1906.11203/full.md

---
Source: https://tomesphere.com/paper/1906.11203