arXiv · 1906.11203
A formalisation of the SPARC TSO memory model for multi-core machine code
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.
Explore related subjects
Keep this discovery
Zhe Hou, David Sanan, Alwen Tiu, Yang Liu, Jin Song Dong. 2019-06-24. A formalisation of the SPARC TSO memory model for multi-core machine code. https://arxiv.org/abs/1906.11203
Cite the original work for its findings. Save a collection to share your selection of sources.