https://gcc.gnu.org/g:a2bb4588f653148ea61913102965337c366cc79b

commit r15-5265-ga2bb4588f653148ea61913102965337c366cc79b
Author: Yury Khrustalev <yury.khrusta...@arm.com>
Date:   Thu Nov 14 16:15:07 2024 +0000

    aarch64: Add ACLE __gcs* intrinsics
    
    Add the following ACLE intrinsics:
    
     - void *__gcspr(void);
     - uint64_t __gcspopm(void);
     - void *__gcsss(void *);
    
    gcc/ChangeLog:
            * config/aarch64/arm_acle.h (__gcspr): New.
            (__gcspopm): New.
            (__gcsss): New.

Diff:
---
 gcc/config/aarch64/arm_acle.h | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/gcc/config/aarch64/arm_acle.h b/gcc/config/aarch64/arm_acle.h
index ca9aabf8ebb9..7fe61c736ed8 100644
--- a/gcc/config/aarch64/arm_acle.h
+++ b/gcc/config/aarch64/arm_acle.h
@@ -201,6 +201,15 @@ __chkfeat (uint64_t __feat)
   return __builtin_aarch64_chkfeat (__feat) ^ __feat;
 }
 
+#define __gcspr() \
+  __builtin_aarch64_gcspr ()
+
+#define __gcspopm() \
+  __builtin_aarch64_gcspopm ()
+
+#define __gcsss(__stack) \
+  __builtin_aarch64_gcsss (__stack)
+
 #pragma GCC pop_options

Reply via email to