OSDN Git Service

[X86][AVX] Extend hasVEX_WPrefix bit to accept WIG value (W Ignore) + update all...
authorAyman Musa <ayman.musa@intel.com>
Mon, 20 Feb 2017 08:27:54 +0000 (08:27 +0000)
committerAyman Musa <ayman.musa@intel.com>
Mon, 20 Feb 2017 08:27:54 +0000 (08:27 +0000)
commit5cb227868c1652a0b8c6f0601bafe3c1620a2a07
treee40a0a414a5f8a91c476fff7c09ef61f7d7b2bd8
parent1fe7ec3f8ecd628544fb8709fb6a47108b184c63
[X86][AVX] Extend hasVEX_WPrefix bit to accept WIG value (W Ignore) + update all AVX instructions with the new value.

Add WIG value to all of AVX instructions which ignore the W-bit in their encoding, instead of giving them the default value of 0.
This patch is needed for a follow up work on EVEX2VEX pass (replacing EVEX encoded instructions with their corresponding VEX version when possible).

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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295643 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrFormats.td
lib/Target/X86/X86InstrSSE.td
utils/TableGen/X86RecognizableInstr.cpp
utils/TableGen/X86RecognizableInstr.h