mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
Update for feedback from Jim.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@138642 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
0f9d34c71d
commit
1af7f7291d
@ -2319,13 +2319,13 @@ static DecodeStatus DecodeThumbAddSpecialReg(llvm::MCInst &Inst, uint16_t Insn,
|
||||
CHECK(S, DecodetGPRRegisterClass(Inst, dst, Address, Decoder));
|
||||
|
||||
switch(Inst.getOpcode()) {
|
||||
default:
|
||||
return Fail;
|
||||
case ARM::tADR:
|
||||
break;
|
||||
break; // tADR does not explicitly represent the PC as an oeprand.
|
||||
case ARM::tADDrSPi:
|
||||
Inst.addOperand(MCOperand::CreateReg(ARM::SP));
|
||||
break;
|
||||
default:
|
||||
return Fail;
|
||||
}
|
||||
|
||||
Inst.addOperand(MCOperand::CreateImm(imm));
|
||||
|
Loading…
Reference in New Issue
Block a user