OSDN Git Service

[X86] AVX512: Add disassembler support for compressed displacement
authorAdam Nemet <anemet@apple.com>
Thu, 17 Jul 2014 17:04:56 +0000 (17:04 +0000)
committerAdam Nemet <anemet@apple.com>
Thu, 17 Jul 2014 17:04:56 +0000 (17:04 +0000)
commit6ae2941874fa2d58fb6a65f618039571fdd78c87
tree7ed6eea89c35e7d81251da478d7e2178e011ef7c
parentf166cc13e21867b4fc3758239dc923c080360671
[X86] AVX512: Add disassembler support for compressed displacement

There are two parts here.  First is to modify tablegen to adjust the encoding
type ENCODING_RM with the scaling factor.

The second is to use the new encoding types to compute the correct
displacement in the decoder.

Fixes <rdar://problem/17608489>

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213281 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/Disassembler/X86Disassembler.cpp
lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp
lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h
test/MC/Disassembler/X86/avx-512.txt
utils/TableGen/X86RecognizableInstr.cpp
utils/TableGen/X86RecognizableInstr.h