#include <rtmintrin.h>
-/* FIXME: check __HLE__ as well when HLE is supported. */
+/* xtest returns non-zero if the instruction is executed within an RTM or active
+ * HLE region. */
+/* FIXME: This can be an either or for RTM/HLE. Deal with this when HLE is
+ * supported. */
static __inline__ int __attribute__((__always_inline__, __nodebug__, __target__("rtm")))
_xtest(void)
{
#include <shaintrin.h>
-/* Some intrinsics inside adxintrin.h are available only if __ADX__ defined,
- * whereas others are also available if __ADX__ undefined */
+/* Some intrinsics inside adxintrin.h are available only on processors with ADX,
+ * whereas others are also available at all times. */
#include <adxintrin.h>
#endif /* __IMMINTRIN_H */