[X86] Introduce cldemote instruction
authorGabor Buella <gabor.buella@intel.com>
Fri, 13 Apr 2018 07:35:08 +0000 (07:35 +0000)
committerGabor Buella <gabor.buella@intel.com>
Fri, 13 Apr 2018 07:35:08 +0000 (07:35 +0000)
commit604be4424bdc2ad62a386ad656ea287e1adde05f
tree3cee2e03a33c8755623a1e1145d0245b1814dfc6
parent8293161712e68ff966d5dbfb623c5e33d96331f0
[X86] Introduce cldemote instruction

Hint to hardware to move the cache line containing the
address to a more distant level of the cache without
writing back to memory.

Reviewers: craig.topper, zvi

Reviewed By: craig.topper

Differential Revision: https://reviews.llvm.org/D45256

llvm-svn: 329992
llvm/include/llvm/IR/IntrinsicsX86.td
llvm/lib/Support/Host.cpp
llvm/lib/Target/X86/X86.td
llvm/lib/Target/X86/X86InstrInfo.td
llvm/lib/Target/X86/X86Subtarget.cpp
llvm/lib/Target/X86/X86Subtarget.h
llvm/test/CodeGen/X86/cldemote-intrinsic.ll [new file with mode: 0644]
llvm/test/MC/Disassembler/X86/x86-32.txt
llvm/test/MC/Disassembler/X86/x86-64.txt
llvm/test/MC/X86/x86-32-coverage.s
llvm/test/MC/X86/x86-64.s