diff options
| author | Eric Christopher <echristo@gmail.com> | 2015-06-17 18:42:03 +0000 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2015-06-17 18:42:03 +0000 |
| commit | 29b78091e71d2490035aeee5f1cf5631dcce0033 (patch) | |
| tree | 37eb17e8e3ddcb3c741f56803f45037377453da7 /clang | |
| parent | df7c69952bd7e25993a09eccb00e206c65853874 (diff) | |
| download | bcm5719-llvm-29b78091e71d2490035aeee5f1cf5631dcce0033.tar.gz bcm5719-llvm-29b78091e71d2490035aeee5f1cf5631dcce0033.zip | |
Update comments on HLE, RTM, and ADX support for intrinsics.
llvm-svn: 239925
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/lib/Headers/immintrin.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/clang/lib/Headers/immintrin.h b/clang/lib/Headers/immintrin.h index 672afff902a..4194eb5910a 100644 --- a/clang/lib/Headers/immintrin.h +++ b/clang/lib/Headers/immintrin.h @@ -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 */ |

