ARMv8-A System Semantics: Instruction Fetch in Relaxed Architectures
cam.issuedOnline | 2020-04-18 | |
cam.orpheus.success | Thu Nov 05 11:55:58 GMT 2020 - Embargo updated | |
dc.contributor.author | Simner, B | |
dc.contributor.author | Flur, S | |
dc.contributor.author | Pulte, C | |
dc.contributor.author | Armstrong, A | |
dc.contributor.author | Pichon-Pharabod, J | |
dc.contributor.author | Maranget, L | |
dc.contributor.author | Sewell, P | |
dc.contributor.orcid | Sewell, Peter [0000-0001-9352-1013] | |
dc.date.accessioned | 2020-02-24T14:49:37Z | |
dc.date.available | 2020-02-24T14:49:37Z | |
dc.date.issued | 2020 | |
dc.description.abstract | <jats:title>Abstract</jats:title><jats:p>Computing relies on <jats:italic>architecture specifications</jats:italic> to decouple hardware and software development. Historically these have been prose documents, with all the problems that entails, but research over the last ten years has developed rigorous and executable-as-test-oracle specifications of mainstream architecture instruction sets and “user-mode” concurrency, clarifying architectures and bringing them into the scope of programming-language semantics and verification. However, the <jats:italic>system semantics</jats:italic>, of instruction-fetch and cache maintenance, exceptions and interrupts, and address translation, remains obscure, leaving us without a solid foundation for verification of security-critical systems software.</jats:p><jats:p>In this paper we establish a robust model for one aspect of system semantics: instruction fetch and cache maintenance for ARMv8-A. Systems code relies on executing instructions that were written by data writes, e.g. in program loading, dynamic linking, JIT compilation, debugging, and OS configuration, but hardware implementations are often highly optimised, e.g. with instruction caches, linefill buffers, out-of-order fetching, branch prediction, and instruction prefetching, which can affect programmer-observable behaviour. It is essential, both for programming and verification, to abstract from such microarchitectural details as much as possible, but no more. We explore the key architecture design questions with a series of examples, discussed in detail with senior Arm staff; capture the architectural intent in operational and axiomatic semantic models, extending previous work on “user-mode” concurrency; make these models executable as test oracles for small examples; and experimentally validate them against hardware behaviour (finding a bug in one hardware device). We thereby bring these subtle issues into the mathematical domain, clarifying the architecture and enabling future work on system software verification.</jats:p> | |
dc.description.sponsorship | This work was partially supported by EPSRC grant EP/K008528/1 (REMS), ERC Advanced Grant 789108 (ELVER), an ARM iCASE award, and ARM donation funding. % This work is part of the CIFV project sponsored by the Defense Advanced Research Projects Agency (DARPA) and the Air Force Research Laboratory (AFRL), under contract FA8650-18-C-7809. The views, opinions, and/or findings contained in this paper are those of the authors and should not be interpreted as representing the official views or policies, either expressed or implied, of the Department of Defense or the U.S. Government. | |
dc.identifier.doi | 10.17863/CAM.49736 | |
dc.identifier.eissn | 1611-3349 | |
dc.identifier.isbn | 9783030449131 | |
dc.identifier.issn | 0302-9743 | |
dc.identifier.uri | https://www.repository.cam.ac.uk/handle/1810/302666 | |
dc.language.iso | eng | |
dc.publisher | Springer International Publishing | |
dc.publisher.url | http://dx.doi.org/10.1007/978-3-030-44914-8_23 | |
dc.rights | All rights reserved | |
dc.subject | 4613 Theory Of Computation | |
dc.subject | 46 Information and Computing Sciences | |
dc.subject | 4612 Software Engineering | |
dc.title | ARMv8-A System Semantics: Instruction Fetch in Relaxed Architectures | |
dc.type | Conference Object | |
dcterms.dateAccepted | 2019-12-23 | |
prism.endingPage | 655 | |
prism.publicationDate | 2020 | |
prism.publicationName | Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) | |
prism.startingPage | 626 | |
prism.volume | 12075 LNCS | |
pubs.conference-finish-date | 2020-04-30 | |
pubs.conference-name | ESOP 2020: European Symposium on Programming | |
pubs.conference-start-date | 2020-04-25 | |
pubs.funder-project-id | Engineering and Physical Sciences Research Council (EP/K008528/1) | |
pubs.funder-project-id | European Research Council (789108) | |
pubs.funder-project-id | EPSRC (2097768) | |
rioxxterms.licenseref.startdate | 2020-01-01 | |
rioxxterms.licenseref.uri | http://www.rioxx.net/licenses/all-rights-reserved | |
rioxxterms.type | Conference Paper/Proceeding/Abstract | |
rioxxterms.version | AM | |
rioxxterms.versionofrecord | 10.1007/978-3-030-44914-8_23 |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- top-camera.pdf
- Size:
- 474.42 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