diff options
author | Evan Cheng <evan.cheng@apple.com> | 2008-11-12 08:14:21 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2008-11-12 08:14:21 +0000 |
commit | 3f4924efffdb4bb7af408356df86bd8cb83ab89a (patch) | |
tree | df49c6f774548c10d593600e1701b075e43fe89e | |
parent | 706329143d0cbe83684275417c514725aab773e9 (diff) |
Fix a VFP binary arithmetic instruction encoding bug.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@59116 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/ARM/ARMCodeEmitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp index e877aa707a..2fdd9ce10b 100644 --- a/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/lib/Target/ARM/ARMCodeEmitter.cpp @@ -1102,7 +1102,7 @@ void ARMCodeEmitter::emitVFPArithInstruction(const MachineInstr &MI) { // Encode Dn / Sn. if ((TID.TSFlags & ARMII::FormMask) == ARMII::VFPBinaryFrm) - Binary |= encodeVFPRn(MI, OpIdx); + Binary |= encodeVFPRn(MI, OpIdx++); if (OpIdx == TID.getNumOperands() || TID.OpInfo[OpIdx].isPredicate() || |