Projects per year
Abstract
To manage exceptions, software relies on a key architectural guarantee, precision: that exceptions appear to execute between instructions. However, this definition, dating back over 60 years, fundamentally assumes a sequential programmers model. Modern architectures such as Arm-A with programmer-observable relaxed behaviour make such a naive definition inadequate, and it is unclear exactly what guarantees programmers have on exception entry and exit.
In this paper, we clarify the concepts needed to discuss exceptions in the relaxed-memory setting – a key aspect of precisely specifying the architectural interface between hardware and software. We explore the basic relaxed behaviour across exception boundaries, and the semantics of external aborts, using Arm-A as a representative modern architecture. We identify an important problem, present yet unexplored for decades: pinning down what it means for exceptions to be precise in a relaxed setting. We describe key phenomena that any definition should account for. We develop an axiomatic model for Arm-A precise exceptions, tooling for axiomatic model execution, and a library of tests. Finally we explore the relaxed semantics of software-generated interrupts, as used in sophisticated programming patterns, and sketch how they too could be modelled.
In this paper, we clarify the concepts needed to discuss exceptions in the relaxed-memory setting – a key aspect of precisely specifying the architectural interface between hardware and software. We explore the basic relaxed behaviour across exception boundaries, and the semantics of external aborts, using Arm-A as a representative modern architecture. We identify an important problem, present yet unexplored for decades: pinning down what it means for exceptions to be precise in a relaxed setting. We describe key phenomena that any definition should account for. We develop an axiomatic model for Arm-A precise exceptions, tooling for axiomatic model execution, and a library of tests. Finally we explore the relaxed semantics of software-generated interrupts, as used in sophisticated programming patterns, and sketch how they too could be modelled.
| Original language | English |
|---|---|
| Title of host publication | ISCA '25 |
| Subtitle of host publication | Proceedings of the 52nd Annual International Symposium on Computer Architecture |
| Place of Publication | New York, NY, USA |
| Publisher | Association for Computing Machinery (ACM) |
| Pages | 211-224 |
| Number of pages | 14 |
| ISBN (Electronic) | 9798400712616 |
| DOIs | |
| Publication status | Published - 20 Jun 2025 |
| Event | The 52nd Annual International Symposium on Computer Architecture - Waseda University, Tokyo, Japan Duration: 21 Jun 2025 → 25 Jun 2025 Conference number: 52 https://www.iscaconf.org/isca2025/ |
Publication series
| Name | Proceedings of the International Symposium on Computer Architecture |
|---|---|
| Publisher | ACM |
| ISSN (Print) | 1063-6897 |
| ISSN (Electronic) | 2575-713X |
Symposium
| Symposium | The 52nd Annual International Symposium on Computer Architecture |
|---|---|
| Abbreviated title | ISCA 2025 |
| Country/Territory | Japan |
| City | Tokyo |
| Period | 21/06/25 → 25/06/25 |
| Internet address |
Keywords / Materials (for Non-textual outputs)
- computer architecture
- relaxed memory
- exceptions and interrupts
- exception handling
- semantics
- Computer architecture
Fingerprint
Dive into the research topics of 'Precise exceptions in relaxed architectures'. Together they form a unique fingerprint.-
Copy of Secure Foundations: Verified Systems Software Above Full-Scale Integrated Semantics
Stark, I. (Principal Investigator)
1/05/24 → 30/04/29
Project: Research
-
Digital Security by Design (DSbD) Technology Platform Prototype
Stark, I. (Principal Investigator)
1/11/19 → 28/02/25
Project: Research
Cite this
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver