OSDN Git Service

[X86] Adding vpopcntd and vpopcntq instructions
authorOren Ben Simhon <oren.ben.simhon@intel.com>
Thu, 25 May 2017 13:45:23 +0000 (13:45 +0000)
committerOren Ben Simhon <oren.ben.simhon@intel.com>
Thu, 25 May 2017 13:45:23 +0000 (13:45 +0000)
commitf3cb5d6f7f2229ececada861eaf9c96b06cb53d2
tree5d6fdd313d4623b69a0955b0c14e6abdf77f03fa
parentac73777f2eb8594a067cc2c9d36cdfec9b925c08
[X86] Adding vpopcntd and vpopcntq instructions

AVX512_VPOPCNTDQ is a new feature set that was published by Intel.
The patch represents the LLVM side of the addition of two new intrinsic based instructions (vpopcntd and vpopcntq).

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@303858 91177308-0d34-0410-b5e6-96231b3b80d8
17 files changed:
lib/Support/Host.cpp
lib/Target/X86/X86.td
lib/Target/X86/X86ISelLowering.cpp
lib/Target/X86/X86InstrAVX512.td
lib/Target/X86/X86InstrInfo.cpp
lib/Target/X86/X86InstrInfo.td
lib/Target/X86/X86Subtarget.cpp
lib/Target/X86/X86Subtarget.h
test/CodeGen/X86/avx512vpopcntdq-intrinsics.ll [new file with mode: 0644]
test/CodeGen/X86/vector-popcnt-128.ll
test/CodeGen/X86/vector-popcnt-256.ll
test/CodeGen/X86/vector-popcnt-512.ll
test/CodeGen/X86/vector-tzcnt-128.ll
test/CodeGen/X86/vector-tzcnt-256.ll
test/CodeGen/X86/vector-tzcnt-512.ll
test/MC/Disassembler/X86/avx-512.txt
test/MC/X86/x86-64-avx512vpopcntdq.s [new file with mode: 0644]