mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Clean up debug printing of ARM shifted operands.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144836 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
053e69ad57
commit
efed3d1f58
@ -1946,18 +1946,15 @@ void ARMOperand::print(raw_ostream &OS) const {
|
||||
break;
|
||||
case k_ShiftedRegister:
|
||||
OS << "<so_reg_reg "
|
||||
<< RegShiftedReg.SrcReg
|
||||
<< ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(RegShiftedReg.ShiftImm))
|
||||
<< ", " << RegShiftedReg.ShiftReg << ", "
|
||||
<< ARM_AM::getSORegOffset(RegShiftedReg.ShiftImm)
|
||||
<< ">";
|
||||
<< RegShiftedReg.SrcReg << " "
|
||||
<< ARM_AM::getShiftOpcStr(RegShiftedReg.ShiftTy)
|
||||
<< " " << RegShiftedReg.ShiftReg << ">";
|
||||
break;
|
||||
case k_ShiftedImmediate:
|
||||
OS << "<so_reg_imm "
|
||||
<< RegShiftedImm.SrcReg
|
||||
<< ARM_AM::getShiftOpcStr(ARM_AM::getSORegShOp(RegShiftedImm.ShiftImm))
|
||||
<< ", " << ARM_AM::getSORegOffset(RegShiftedImm.ShiftImm)
|
||||
<< ">";
|
||||
<< RegShiftedImm.SrcReg << " "
|
||||
<< ARM_AM::getShiftOpcStr(RegShiftedImm.ShiftTy)
|
||||
<< " #" << RegShiftedImm.ShiftImm << ">";
|
||||
break;
|
||||
case k_RotateImmediate:
|
||||
OS << "<ror " << " #" << (RotImm.Imm * 8) << ">";
|
||||
|
Loading…
Reference in New Issue
Block a user