mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-05 18:28:29 +00:00
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
This commit is contained in:
parent
706329143d
commit
3f4924efff
@ -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() ||
|
||||
|
Loading…
Reference in New Issue
Block a user