Fix a VFP binary arithmetic instruction encoding bug.

llvm-svn: 59116
This commit is contained in:
Evan Cheng 2008-11-12 08:14:21 +00:00
parent d95377341b
commit 052f20d3b1
1 changed files with 1 additions and 1 deletions

View File

@ -1102,7 +1102,7 @@ void ARMCodeEmitter::emitVFPArithInstruction(const MachineInstr &MI) {
// Encode Dn / Sn. // Encode Dn / Sn.
if ((TID.TSFlags & ARMII::FormMask) == ARMII::VFPBinaryFrm) if ((TID.TSFlags & ARMII::FormMask) == ARMII::VFPBinaryFrm)
Binary |= encodeVFPRn(MI, OpIdx); Binary |= encodeVFPRn(MI, OpIdx++);
if (OpIdx == TID.getNumOperands() || if (OpIdx == TID.getNumOperands() ||
TID.OpInfo[OpIdx].isPredicate() || TID.OpInfo[OpIdx].isPredicate() ||