diff options
author | Gabor Buella <gabor.buella@intel.com> | 2018-04-11 20:09:09 +0000 |
---|---|---|
committer | Gabor Buella <gabor.buella@intel.com> | 2018-04-11 20:09:09 +0000 |
commit | a052016ef2b1f0098acf61cf10df975350d1d63b (patch) | |
tree | 6648870c1652a6d9a823fc93731fbfe5f6261d6d /clang/lib/Headers/x86intrin.h | |
parent | 2ef36f3571c83650f3e1bac42c810c289851d865 (diff) | |
download | bcm5719-llvm-a052016ef2b1f0098acf61cf10df975350d1d63b.tar.gz bcm5719-llvm-a052016ef2b1f0098acf61cf10df975350d1d63b.zip |
[x86] wbnoinvd intrinsic
The WBNOINVD instruction writes back all modified
cache lines in the processor’s internal cache to main memory
but does not invalidate (flush) the internal caches.
Reviewers: craig.topper, zvi, ashlykov
Reviewed By: craig.topper
Differential Revision: https://reviews.llvm.org/D43817
llvm-svn: 329848
Diffstat (limited to 'clang/lib/Headers/x86intrin.h')
-rw-r--r-- | clang/lib/Headers/x86intrin.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/lib/Headers/x86intrin.h b/clang/lib/Headers/x86intrin.h index 31ee7b82dd5..53151f7d3be 100644 --- a/clang/lib/Headers/x86intrin.h +++ b/clang/lib/Headers/x86intrin.h @@ -88,4 +88,8 @@ #include <clzerointrin.h> #endif +#if !defined(_MSC_VER) || __has_feature(modules) || defined(__WBNOINVD__) +#include <wbnoinvdintrin.h> +#endif + #endif /* __X86INTRIN_H */ |