aarch64: Add ACLE feature macros for GCS

gcc/ChangeLog:

	* config/aarch64/aarch64-c.cc (aarch64_update_cpp_builtins): Define
	macros for GCS.
This commit is contained in:
Szabolcs Nagy 2024-11-14 16:15:09 +00:00 committed by Richard Sandiford
parent 89c7ebdee1
commit 5ec239f1e2

View file

@ -248,6 +248,9 @@ aarch64_update_cpp_builtins (cpp_reader *pfile)
aarch64_def_or_undef (TARGET_PAUTH, "__ARM_FEATURE_PAUTH", pfile);
aarch64_def_or_undef (TARGET_BTI, "__ARM_FEATURE_BTI", pfile);
aarch64_def_or_undef (aarch64_gcs_enabled (),
"__ARM_FEATURE_GCS_DEFAULT", pfile);
aarch64_def_or_undef (TARGET_GCS, "__ARM_FEATURE_GCS", pfile);
aarch64_def_or_undef (TARGET_I8MM, "__ARM_FEATURE_MATMUL_INT8", pfile);
aarch64_def_or_undef (TARGET_BF16_SIMD,
"__ARM_FEATURE_BF16_VECTOR_ARITHMETIC", pfile);