Modelling the ARMv8 architecture, operationally: Concurrency and ISA
cam.issuedOnline | 2016-01-11 | |
dc.contributor.author | Flur, S | |
dc.contributor.author | Gray, KE | |
dc.contributor.author | Pulte, C | |
dc.contributor.author | Sarkar, S | |
dc.contributor.author | Sezgin, A | |
dc.contributor.author | Maranget, L | |
dc.contributor.author | Deacon, W | |
dc.contributor.author | Sewell, P | |
dc.contributor.orcid | Sewell, Peter [0000-0001-9352-1013] | |
dc.date.accessioned | 2018-11-20T00:30:58Z | |
dc.date.available | 2018-11-20T00:30:58Z | |
dc.date.issued | 2016 | |
dc.description.abstract | Copyright is held by the owner/author(s). 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 executables. 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. | |
dc.description.sponsorship | This work was partly funded by the EPSRC Programme Grant REMS: Rigorous Engineering for Mainstream Systems, EP/K008528/1, the Scottish Funding Council (SICSA Early Career Industry Fellowship, Sarkar), an ARM iCASE award (Pulte), and ANR grant WMC (ANR-11-JS02-011, Maranget). | |
dc.identifier.doi | 10.17863/CAM.32815 | |
dc.identifier.eissn | 1558-1160 | |
dc.identifier.issn | 1523-2867 | |
dc.identifier.uri | https://www.repository.cam.ac.uk/handle/1810/285457 | |
dc.language.iso | eng | |
dc.publisher | ACM | |
dc.publisher.url | http://dx.doi.org/10.1145/2837614.2837615 | |
dc.subject | Relaxed Memory Models | |
dc.subject | semantics | |
dc.subject | ISA | |
dc.title | Modelling the ARMv8 architecture, operationally: Concurrency and ISA | |
dc.type | Article | |
dcterms.dateAccepted | 2015-12-04 | |
prism.endingPage | 621 | |
prism.issueIdentifier | 1 | |
prism.publicationDate | 2016 | |
prism.publicationName | ACM SIGPLAN Notices | |
prism.startingPage | 608 | |
prism.volume | 51 | |
pubs.funder-project-id | Engineering and Physical Sciences Research Council (EP/K008528/1) | |
pubs.funder-project-id | Engineering and Physical Sciences Research Council (EP/H027351/1) | |
pubs.funder-project-id | EPSRC (1675850) | |
rioxxterms.licenseref.startdate | 2016-04-08 | |
rioxxterms.licenseref.uri | http://www.rioxx.net/licenses/all-rights-reserved | |
rioxxterms.type | Journal Article/Review | |
rioxxterms.version | AM | |
rioxxterms.versionofrecord | 10.1145/2837614.2837615 |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- modelling-the-ARMv8.pdf
- Size:
- 338.94 KB
- Format:
- Adobe Portable Document Format
- Description:
- Accepted version
- Licence
- http://www.rioxx.net/licenses/all-rights-reserved
License bundle
1 - 1 of 1
No Thumbnail Available
- Name:
- DepositLicenceAgreementv2.1.pdf
- Size:
- 150.9 KB
- Format:
- Adobe Portable Document Format