diff options
author | Archibald Elliott <archibald.elliott@arm.com> | 2023-03-15 10:38:11 +0000 |
---|---|---|
committer | Archibald Elliott <archibald.elliott@arm.com> | 2023-03-15 11:03:53 +0000 |
commit | cb7fb737858cdfdc90406f9675c8470ea98417ed (patch) | |
tree | 242973401f272203b17bc893685f889652c0f911 /clang/unittests/libclang/LibclangTest.cpp | |
parent | 536f35ea62c62d9b28444b33d173d5f556945c90 (diff) | |
download | llvm-cb7fb737858cdfdc90406f9675c8470ea98417ed.zip llvm-cb7fb737858cdfdc90406f9675c8470ea98417ed.tar.gz llvm-cb7fb737858cdfdc90406f9675c8470ea98417ed.tar.bz2 |
[AArch64] Assembly Support for FEAT_GCS/FEAT_CHK
This implements support for two new 2022 A-profile extensions:
- FEAT_CHK - Check Feature Status Extension
- FEAT_GCS - Guarded Control Stacks
FEAT_CHK is mandatory from armv8.0-a, but is in the hint space so
there's no clang command-line flag for it, and we only print the hint as
`chkfeat x16` at v8.9a and above, to be compatible when using a
non-integrated assembler that might not yet know about the extension.
FEAT_GCS is optional from armv9.4-a onwards. It is enabled using `+gcs`
in a clang `-march=` or `-mcpu=` option string, or using a
`.arch_extension gcs` assembly directive.
This patch includes changes by Ties Stuij, Tomas Matheson, and Keith
Walker.
Differential Revision: https://reviews.llvm.org/D145563
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
0 files changed, 0 insertions, 0 deletions