Displaying 2 results from an estimated 2 matches for "dmfc1tdd".
2012 Oct 06
2
[LLVMdev] Pairing Registers on a Target Similar to Mips?
...n expansion:
void MipsExpandPseudo::ExpandCopyF64(MachineBasicBlock& MBB,
MachineBasicBlock::iterator
I) {
unsigned DstReg = I->getOperand(0).getReg();
unsigned SrcReg = I->getOperand(1).getReg();
const MCInstrDesc& Dmfc1Tdd = TII->get(MIPS::DMFC1);
DebugLoc dl = I->getDebugLoc();
const uint16_t* SubReg =
TM.getRegisterInfo()->getSubRegisters(SrcReg);
BuildMI(MBB, I, dl, Dmfc1Tdd, DstReg).addReg(*SubReg);
}
Finally, I want to add the rule to ISelLowering to actually use these
rules. U...
2012 Oct 09
0
[LLVMdev] Pairing Registers on a Target Similar to Mips?
...psExpandPseudo::ExpandCopyF64(MachineBasicBlock& MBB,
> MachineBasicBlock::iterator
> I) {
> unsigned DstReg = I->getOperand(0).getReg();
> unsigned SrcReg = I->getOperand(1).getReg();
> const MCInstrDesc& Dmfc1Tdd = TII->get(MIPS::DMFC1);
>
> DebugLoc dl = I->getDebugLoc();
> const uint16_t* SubReg =
> TM.getRegisterInfo()->getSubRegisters(SrcReg);
>
> BuildMI(MBB, I, dl, Dmfc1Tdd, DstReg).addReg(*SubReg);
> }
>
>
If I understand correctly what you ar...