diff options
author | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-12-23 15:54:51 +0100 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@college-de-france.fr> | 2020-12-26 18:44:28 +0100 |
commit | c50680bb86564fe61db61e6140a418ccc7d36677 (patch) | |
tree | 58f8731421325939c93546df3c9046fbf96a051e /aarch64/Archi.v | |
parent | 73551e058a850297bc72924a69b39affcfa49dfa (diff) | |
download | compcert-kvx-c50680bb86564fe61db61e6140a418ccc7d36677.tar.gz compcert-kvx-c50680bb86564fe61db61e6140a418ccc7d36677.zip |
AArch64: macOS port
This commit adds support for macOS (and probably iOS) running on
AArch64 / ARM 64-bit / "Apple silicon" processors.
Diffstat (limited to 'aarch64/Archi.v')
-rw-r--r-- | aarch64/Archi.v | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/aarch64/Archi.v b/aarch64/Archi.v index 42500e70..91e91673 100644 --- a/aarch64/Archi.v +++ b/aarch64/Archi.v @@ -85,6 +85,10 @@ Global Opaque ptr64 big_endian splitlong fma_order fma_invalid_mul_is_nan float_of_single_preserves_sNaN. -(** Whether to generate position-independent code or not *) +(** Which ABI to implement *) -Parameter pic_code: unit -> bool. +Inductive abi_kind: Type := + | AAPCS64 (**r ARM's standard as used in Linux and other ELF platforms *) + | Apple. (**r the variant used in macOS and iOS *) + +Parameter abi: abi_kind. |