summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorGabor Buella <gabor.buella@intel.com>2018-04-12 18:38:18 +0000
committerGabor Buella <gabor.buella@intel.com>2018-04-12 18:38:18 +0000
commit297c1387983d834964da80e87e084eaeca233da8 (patch)
treecfa8c2dc3ee968bbae7a37fd72655d899d92ef25 /llvm/lib
parentceecd45b4d46d4b7064a14f9778541e7da5c35b2 (diff)
downloadbcm5719-llvm-297c1387983d834964da80e87e084eaeca233da8.tar.gz
bcm5719-llvm-297c1387983d834964da80e87e084eaeca233da8.zip
[X86] Introduce LLVM wbinvd intrinsic
A previously missing intrinsic for an old instruction. Reviewers: craig.topper, echristo Reviewed By: craig.topper Differential Revision: https://reviews.llvm.org/D45312 llvm-svn: 329936
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Target/X86/X86InstrSystem.td2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/X86/X86InstrSystem.td b/llvm/lib/Target/X86/X86InstrSystem.td
index ecd871c1061..8e8d5b67048 100644
--- a/llvm/lib/Target/X86/X86InstrSystem.td
+++ b/llvm/lib/Target/X86/X86InstrSystem.td
@@ -442,7 +442,7 @@ let Defs = [EAX, EBX, ECX, EDX], Uses = [EAX, ECX] in
// Cache instructions
let SchedRW = [WriteSystem] in {
def INVD : I<0x08, RawFrm, (outs), (ins), "invd", []>, TB;
-def WBINVD : I<0x09, RawFrm, (outs), (ins), "wbinvd", []>, TB;
+def WBINVD : I<0x09, RawFrm, (outs), (ins), "wbinvd", [(int_x86_wbinvd)]>, TB;
// wbnoinvd is like wbinvd, except without invalidation
// encoding: like wbinvd + an 0xF3 prefix
OpenPOWER on IntegriCloud