[x86] wbnoinvd intrinsic
authorGabor Buella <gabor.buella@intel.com>
Wed, 11 Apr 2018 20:09:09 +0000 (20:09 +0000)
committerGabor Buella <gabor.buella@intel.com>
Wed, 11 Apr 2018 20:09:09 +0000 (20:09 +0000)
commita052016ef2b1f0098acf61cf10df975350d1d63b
tree6648870c1652a6d9a823fc93731fbfe5f6261d6d
parent2ef36f3571c83650f3e1bac42c810c289851d865
[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
13 files changed:
clang/docs/ClangCommandLineReference.rst
clang/include/clang/Basic/BuiltinsX86.def
clang/include/clang/Driver/Options.td
clang/lib/Basic/Targets/X86.cpp
clang/lib/Basic/Targets/X86.h
clang/lib/Headers/CMakeLists.txt
clang/lib/Headers/cpuid.h
clang/lib/Headers/wbnoinvdintrin.h [new file with mode: 0644]
clang/lib/Headers/x86intrin.h
clang/test/CodeGen/builtin-wbnoinvd.c [new file with mode: 0644]
clang/test/CodeGen/builtins-x86.c
clang/test/Driver/x86-target-features.c
clang/test/Preprocessor/predefined-arch-macros.c