ARM-software / abi-aa

Application Binary Interface for the Arm® Architecture
Other
938 stars 188 forks source link

[ATOMICSABI64]: Alpha Draft of Atomics ABI #256

Closed lukeg101 closed 1 month ago

lukeg101 commented 6 months ago

atomicsabi64.pdf This is the Alpha draft of the ABI for the "C/C++ Atomics Application Binary Interface Standard for the Arm® 64-bit Architecture"

This document describes the C/C++ Atomics Application Binary Interface for the Arm 64-bit architecture.

This document concerns the valid mappings from C/C++ Atomic Operations to sequences of A64 instructions. This document does not support Armv7.

For matters concerning the memory model, please consult §B2 of the Arm Architecture Reference Manual.

We focus only on a subset of the C11 atomic operations and their mapping to A64 instructions at the time of writing.

More atomics will be added.

Co-Authored with Wilco Dijkstra (@Wilco1).

lukeg101 commented 6 months ago

@stuij @smithp35 @Wilco1

lukeg101 commented 5 months ago

Apologies for my delay folks, I think I've addressed everything here now with the new version atomicsabi64.pdf

On the footnote front, I had to use a * in a table above the main table of mappings, since the default [1]_ syntax moves the footnote all the way to the bottom of the document itself.