From 213a7cda1fc775b26f94013982f252c08e57d15e Mon Sep 17 00:00:00 2001 From: Gabor Buella Date: Mon, 23 Apr 2018 20:00:59 +0000 Subject: [X86] movdiri and movdir64b instructions Reviewers: craig.topper llvm-svn: 330638 --- llvm/lib/Target/X86/X86Subtarget.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'llvm/lib/Target/X86/X86Subtarget.h') diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index 59b0f0578f7..996eb01d503 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -209,6 +209,12 @@ protected: /// Processor has Cache Line Demote instruction bool HasCLDEMOTE; + /// Processor has MOVDIRI instruction (direct store integer). + bool HasMOVDIRI; + + /// Processor has MOVDIR64B instruction (direct store 64 bytes). + bool HasMOVDIR64B; + /// Processor has Prefetch with intent to Write instruction bool HasPREFETCHWT1; @@ -582,6 +588,8 @@ public: bool hasMWAITX() const { return HasMWAITX; } bool hasCLZERO() const { return HasCLZERO; } bool hasCLDEMOTE() const { return HasCLDEMOTE; } + bool hasMOVDIRI() const { return HasMOVDIRI; } + bool hasMOVDIR64B() const { return HasMOVDIR64B; } bool isSHLDSlow() const { return IsSHLDSlow; } bool isPMULLDSlow() const { return IsPMULLDSlow; } bool isUnalignedMem16Slow() const { return IsUAMem16Slow; } -- cgit v1.2.3