diff options
| author | Coby Tayree <coby.tayree@intel.com> | 2017-11-21 09:48:44 +0000 |
|---|---|---|
| committer | Coby Tayree <coby.tayree@intel.com> | 2017-11-21 09:48:44 +0000 |
| commit | 71e37cc9ffd5c1928946fb15368096c55915af01 (patch) | |
| tree | 804ac969178f50bf465d2faf0b08720957c7d542 /llvm/lib/Target/X86/X86Subtarget.h | |
| parent | 81fe14e4c32c76de0f4e5d670eedbfc6bccab75c (diff) | |
| download | bcm5719-llvm-71e37cc9ffd5c1928946fb15368096c55915af01.tar.gz bcm5719-llvm-71e37cc9ffd5c1928946fb15368096c55915af01.zip | |
[x86][icelake]vbmi2
introducing vbmi2, consisting of
vpcompress{b,w}
vpexpand{b,w}
vpsh{l,r}d{w,d,q}
vpsh{l,r}dv{w,d,q}
Differential Revision: https://reviews.llvm.org/D40206
llvm-svn: 318745
Diffstat (limited to 'llvm/lib/Target/X86/X86Subtarget.h')
| -rw-r--r-- | llvm/lib/Target/X86/X86Subtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/X86/X86Subtarget.h b/llvm/lib/Target/X86/X86Subtarget.h index 482605384af..e1711ece0c6 100644 --- a/llvm/lib/Target/X86/X86Subtarget.h +++ b/llvm/lib/Target/X86/X86Subtarget.h @@ -167,6 +167,9 @@ protected: /// Processor has VBMI instructions. bool HasVBMI; + /// Processor has VBMI2 instructions. + bool HasVBMI2; + /// Processor has Integer Fused Multiply Add bool HasIFMA; @@ -483,6 +486,7 @@ public: bool hasBMI() const { return HasBMI; } bool hasBMI2() const { return HasBMI2; } bool hasVBMI() const { return HasVBMI; } + bool hasVBMI2() const { return HasVBMI2; } bool hasIFMA() const { return HasIFMA; } bool hasRTM() const { return HasRTM; } bool hasADX() const { return HasADX; } |

