Second attempt at Removing special form of AddRegFrm used by FP instructions. These instructions can be handled by MRMXr instead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198276 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Craig Topper
2014-01-01 14:22:37 +00:00
parent 0cc6c9b3d9
commit 979b2cd2bc
7 changed files with 90 additions and 131 deletions

View File

@ -685,8 +685,8 @@ static bool translateOperand(MCInst &mcInst, const OperandSpecifier &operand,
case ENCODING_RO:
translateRegister(mcInst, insn.opcodeRegister);
return false;
case ENCODING_I:
return translateFPRegister(mcInst, insn.opcodeModifier);
case ENCODING_FP:
return translateFPRegister(mcInst, insn.modRM & 7);
case ENCODING_Rv:
translateRegister(mcInst, insn.opcodeRegister);
return false;