/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|*                                                                            *|
|* Pseudo-instruction MC lowering Source Fragment                             *|
|*                                                                            *|
|* Automatically generated file, do not edit!                                 *|
|*                                                                            *|
\*===----------------------------------------------------------------------===*/

bool MipsAsmPrinter::
lowerPseudoInstExpansion(const MachineInstr *MI, MCInst &Inst) {
  Inst.clear();
  switch (MI->getOpcode()) {
  default: return false;
  case Mips::AND_V_D_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::AND_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::AND_V_H_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::AND_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::AND_V_W_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::AND_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::B: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BEQ);
    // Operand: rs
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: rt
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: offset
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::BAL_BR: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BGEZAL);
    // Operand: rs
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: offset
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::BAL_BR_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BGEZAL_MM);
    // Operand: rs
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: offset
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::BSEL_D_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BSEL_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wd_in
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(3), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::BSEL_FD_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BSEL_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wd_in
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(3), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::BSEL_FW_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BSEL_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wd_in
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(3), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::BSEL_H_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BSEL_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wd_in
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(3), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::BSEL_W_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BSEL_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wd_in
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(3), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::B_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BEQ_MM);
    // Operand: rs
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: rt
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: offset
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::FABS_D: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::FMAX_A_D);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::FABS_W: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::FMAX_A_W);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::JALR64Pseudo: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JALR);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::RA));
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::JALRHB64Pseudo: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JALR_HB64);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::RA_64));
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::JALRHBPseudo: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JALR_HB);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::RA));
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::JALRPseudo: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JALR);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::RA));
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::JAL_MMR6: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BALC_MMR6);
    // Operand: offset
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::NOP: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::SLL);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: rt
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: shamt
    Inst.addOperand(MCOperand::createImm(0));
    break;
  }
  case Mips::NOR_V_D_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::NOR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::NOR_V_H_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::NOR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::NOR_V_W_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::NOR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::OR_V_D_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::OR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::OR_V_H_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::OR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::OR_V_W_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::OR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoCMPU_EQ_QB: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::CMPU_EQ_QB);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoCMPU_LE_QB: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::CMPU_LE_QB);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoCMPU_LT_QB: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::CMPU_LT_QB);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoCMP_EQ_PH: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::CMP_EQ_PH);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoCMP_LE_PH: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::CMP_LE_PH);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoCMP_LT_PH: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::CMP_LT_PH);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoDMULT: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::DMULT);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoDMULTu: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::DMULTu);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoDSDIV: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::DSDIV);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoDUDIV: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::DUDIV);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndirectBranch: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndirectBranch64: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR64);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndirectBranch64R6: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JALR64);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::ZERO_64));
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndirectBranchR6: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JALR);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndirectBranch_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_MM);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndirectBranch_MMR6: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JRC16_MMR6);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndirectHazardBranch: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_HB);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndirectHazardBranch64: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_HB64);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndrectHazardBranch64R6: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_HB64_R6);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoIndrectHazardBranchR6: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_HB_R6);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMADD: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MADD);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMADDU: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MADDU);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMADDU_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MADDU);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMADD_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MADD);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMSUB: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MSUB);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMSUBU: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MSUBU);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMSUBU_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MSUBU);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMSUB_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MSUB);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMULT: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MULT);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMULT_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MULT);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMULTu: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MULTu);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoMULTu_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::MULTu);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoPICK_PH: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::PICK_PH);
    // Operand: rd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rs
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(3), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoPICK_QB: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::PICK_QB);
    // Operand: rd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rs
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(3), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoSDIV: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::SDIV);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::PseudoUDIV: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::UDIV);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::SDIV_MM_Pseudo: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::SDIV_MM);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALL: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::J);
    // Operand: target
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALL64R6REG: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JALR64);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::ZERO_64));
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLHB64R6REG: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_HB64_R6);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLHBR6REG: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_HB_R6);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLR6REG: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JALR);
    // Operand: rd
    Inst.addOperand(MCOperand::createReg(Mips::ZERO));
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLREG: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLREG64: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR64);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLREGHB: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_HB);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLREGHB64: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JR_HB64);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLREG_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JRC16_MM);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALLREG_MMR6: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::JRC16_MM);
    // Operand: rs
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALL_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::J_MM);
    // Operand: target
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TAILCALL_MMR6: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BC_MMR6);
    // Operand: offset
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::TRAP: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BREAK);
    // Operand: code_1
    Inst.addOperand(MCOperand::createImm(0));
    // Operand: code_2
    Inst.addOperand(MCOperand::createImm(0));
    break;
  }
  case Mips::TRAP_MM: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::BREAK_MM);
    // Operand: code_1
    Inst.addOperand(MCOperand::createImm(0));
    // Operand: code_2
    Inst.addOperand(MCOperand::createImm(0));
    break;
  }
  case Mips::UDIV_MM_Pseudo: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::UDIV_MM);
    // Operand: rs
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: rt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::XOR_V_D_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::XOR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::XOR_V_H_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::XOR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  case Mips::XOR_V_W_PSEUDO: {
    MCOperand MCOp;
    Inst.setOpcode(Mips::XOR_V);
    // Operand: wd
    lowerOperand(MI->getOperand(0), MCOp);
    Inst.addOperand(MCOp);
    // Operand: ws
    lowerOperand(MI->getOperand(1), MCOp);
    Inst.addOperand(MCOp);
    // Operand: wt
    lowerOperand(MI->getOperand(2), MCOp);
    Inst.addOperand(MCOp);
    break;
  }
  }
  return true;
}

