[AVX512] Support mask register in MRMDestReg format

This is necessary for masking vextract*x4.

llvm-svn: 219359
This commit is contained in:
Adam Nemet 2014-10-08 23:25:29 +00:00
parent 52bb6cfad6
commit 5068d0f8e8
1 changed files with 2 additions and 0 deletions

View File

@ -592,6 +592,8 @@ void RecognizableInstr::emitInstructionSpecifier() {
"Unexpected number of operands for MRMDestRegFrm");
HANDLE_OPERAND(rmRegister)
if (HasEVEX_K)
HANDLE_OPERAND(writemaskRegister)
if (HasVEX_4V)
// FIXME: In AVX, the register below becomes the one encoded