commit | 3f4924efffdb4bb7af408356df86bd8cb83ab89a | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Wed Nov 12 08:14:21 2008 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Wed Nov 12 08:14:21 2008 +0000 |
tree | df49c6f774548c10d593600e1701b075e43fe89e | |
parent | 706329143d0cbe83684275417c514725aab773e9 [diff] [blame] |
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
diff --git a/lib/Target/ARM/ARMCodeEmitter.cpp b/lib/Target/ARM/ARMCodeEmitter.cpp index e877aa7..2fdd9ce 100644 --- a/lib/Target/ARM/ARMCodeEmitter.cpp +++ b/lib/Target/ARM/ARMCodeEmitter.cpp
@@ -1102,7 +1102,7 @@ // 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() ||