Relaxed exception semantics for Arm-A (extended version)
BSBen SimnerAlasdair ArmstrongThomas BauereissBrian CampbellOKOhad KammarJPJean Pichon-Pharabodand Peter Sewell
BSBen Simner
Alasdair Armstrong
Thomas Bauereiss
Brian Campbell
OKOhad Kammar
JPJean Pichon-Pharabod
and Peter Sewell
+7
This paper clarifies the semantics of exceptions in the Arm-A relaxed-memory architecture. The authors identify the central problem, previously unexplored for decades, of pinning down what it means for exceptions to be precise in a relaxed setting. They develop an axiomatic model, tooling, and a test library for Arm-A precise exceptions, and sketch how software-generated interrupts could be modelled similarly.

arXiv ·
· December 19, 2024