Note that compared to __builtin_aarch64_chkfeat (x) the ACLE __chkfeat(x)
flips the bits to be more intuitive (xor the input to output).
gcc/ChangeLog:
* config/aarch64/arm_acle.h (__chkfeat): New.
#pragma GCC pop_options
+
#pragma GCC push_options
+#pragma GCC target ("+nothing")
+
+__extension__ extern __inline uint64_t
+__attribute__ ((__always_inline__, __gnu_inline__, __artificial__))
+__chkfeat (uint64_t __feat)
+{
+ return __builtin_aarch64_chkfeat (__feat) ^ __feat;
+}
+#pragma GCC pop_options
+
+
+#pragma GCC push_options
#pragma GCC target ("+nothing+crc")
__extension__ extern __inline uint32_t