[llvm] r219359 - [AVX512] Support mask register in MRMDestReg format
Adam Nemet
anemet at apple.com
Wed Oct 8 16:25:29 PDT 2014
Author: anemet
Date: Wed Oct 8 18:25:29 2014
New Revision: 219359
URL: http://llvm.org/viewvc/llvm-project?rev=219359&view=rev
Log:
[AVX512] Support mask register in MRMDestReg format
This is necessary for masking vextract*x4.
Modified:
llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp
Modified: llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp?rev=219359&r1=219358&r2=219359&view=diff
==============================================================================
--- llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp (original)
+++ llvm/trunk/utils/TableGen/X86RecognizableInstr.cpp Wed Oct 8 18:25:29 2014
@@ -592,6 +592,8 @@ void RecognizableInstr::emitInstructionS
"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
More information about the llvm-commits
mailing list