Update comments on HLE, RTM, and ADX support for intrinsics.

llvm-svn: 239925
This commit is contained in:
Eric Christopher 2015-06-17 18:42:03 +00:00
parent df7c69952b
commit 29b78091e7
1 changed files with 6 additions and 3 deletions

View File

@ -136,7 +136,10 @@ _writegsbase_u64(unsigned long long __V)
#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)
{
@ -145,8 +148,8 @@ _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 */