Modelling the ARMv8 Architecture, Operationally: Concurrency and ISA

Abstract : In this paper we develop semantics for key aspects of the ARMv8 multiprocessor architecture: the concurrency model and much of the 64-bit application-level instruction set (ISA). Our goal is to clarify what the range of architecturally allowable behaviour is, and thereby to support future work on formal verification, analysis, and testing of concurrent ARM software and hardware. Establishing such models with high confidence is intrinsically difficult: it involves capturing the vendor's architectural intent, aspects of which (especially for concurrency) have not previously been precisely defined. We therefore first develop a concurrency model with a microarchitectural flavour, abstracting from many hardware implementation concerns but still close to hardware-designer intuition. This means it can be discussed in detail with ARM architects. We then develop a more abstract model, better suited for use as an architectural specification, which we prove sound w.r.t. the first. The instruction semantics involves further difficulties, handling the mass of detail and the subtle intensional information required to interface to the concurrency model. We have a novel ISA description language, with a lightweight dependent type system, letting us do both with a rather direct representation of the ARM reference manual instruction descriptions. We build a tool from the combined semantics that lets one explore , either interactively or exhaustively, the full range of architecturally allowed behaviour, for litmus tests and (small) ELF ex-ecutables. We prove correctness of some optimisations needed for tool performance. We validate the models by discussion with ARM staff, and by comparison against ARM hardware behaviour, for ISA single-instruction tests and concurrent litmus tests.
Type de document :
Communication dans un congrès
Principles of Programming Languages 2016 (POPL 2016), Jan 2016, Saint Petersburg, United States
Liste complète des métadonnées

Littérature citée [22 références]  Voir  Masquer  Télécharger

https://hal.inria.fr/hal-01244776
Contributeur : Luc Maranget <>
Soumis le : mercredi 16 décembre 2015 - 11:25:11
Dernière modification le : mardi 5 avril 2016 - 01:09:56
Document(s) archivé(s) le : jeudi 17 mars 2016 - 12:50:33

Fichier

top.pdf
Fichiers produits par l'(les) auteur(s)

Identifiants

  • HAL Id : hal-01244776, version 1

Collections

Citation

Shaked Flur, Kathryn E. Gray, Christopher Pulte, Susmit Sarkar, Ali Sezgin, et al.. Modelling the ARMv8 Architecture, Operationally: Concurrency and ISA. Principles of Programming Languages 2016 (POPL 2016), Jan 2016, Saint Petersburg, United States. 〈hal-01244776〉

Partager

Métriques

Consultations de la notice

279

Téléchargements de fichiers

272