Skip to content

Commit ecd9aab

Browse files
committed
[main] Add Guarded Control Stack feature test macros
1 parent e215858 commit ecd9aab

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

main/acle.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1646,6 +1646,15 @@ mechanisms such as function attributes.
16461646
Pointer Authentication extension (FEAT_PAuth_LR) are available on the target.
16471647
It is undefined otherwise.
16481648

1649+
### Guarded Control Stack
1650+
1651+
`__ARM_FEATURE_GCS_DEFAULT` is defined to `1` if the code generation is
1652+
compatible with enabling the Guarded Control Stack (GCS) extension based
1653+
protection. It is undefined otherwise.
1654+
1655+
`__ARM_FEATURE_GCS` is defined to `1` if the Guarded Control Stack (GCS)
1656+
extension is available on the target. It is undefined otherwise.
1657+
16491658
### Large System Extensions
16501659

16511660
`__ARM_FEATURE_ATOMICS` is defined if the Large System Extensions introduced in
@@ -2341,6 +2350,8 @@ be found in [[BA]](#BA).
23412350
| [`__ARM_FEATURE_FMA`](#fused-multiply-accumulate-fma) | Floating-point fused multiply-accumulate | 1 |
23422351
| [`__ARM_FEATURE_FP16_FML`](#fp16-fml-extension) | FP16 FML extension (Arm v8.4-A, optional Armv8.2-A, Armv8.3-A) | 1 |
23432352
| [`__ARM_FEATURE_FRINT`](#availability-of-armv8.5-a-floating-point-rounding-intrinsics) | Floating-point rounding extension (Arm v8.5-A) | 1 |
2353+
| [`__ARM_FEATURE_GCS`](#guarded-control-stack) | Guarded Control Stack | 1 |
2354+
| [`__ARM_FEATURE_GCS_DEFAULT`](#guarded-control-stack) | Guarded Control Stack protection can be enabled | 1 |
23442355
| [`__ARM_FEATURE_IDIV`](#hardware-integer-divide) | Hardware Integer Divide | 1 |
23452356
| [`__ARM_FEATURE_JCVT`](#javascript-floating-point-conversion) | Javascript conversion (ARMv8.3-A) | 1 |
23462357
| [`__ARM_FEATURE_LDREX`](#ldrexstrex) *(Deprecated)* | Load/store exclusive instructions | 0x0F |

0 commit comments

Comments
 (0)