mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-13 23:00:33 +00:00
Fix the non-MC encoding of pkhbt and pkhtb.
Patch by Stephen Hines. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131045 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
701529b248
commit
33c110e602
@ -1372,6 +1372,12 @@ void ARMCodeEmitter::emitMiscArithInstruction(const MachineInstr &MI) {
|
||||
// Set the conditional execution predicate
|
||||
Binary |= II->getPredicate(&MI) << ARMII::CondShift;
|
||||
|
||||
// PKH instructions are finished at this point
|
||||
if (TID.Opcode == ARM::PKHBT || TID.Opcode == ARM::PKHTB) {
|
||||
emitWordLE(Binary);
|
||||
return;
|
||||
}
|
||||
|
||||
unsigned OpIdx = 0;
|
||||
|
||||
// Encode Rd
|
||||
|
Loading…
x
Reference in New Issue
Block a user