search for: mifirst

Displaying 3 results from an estimated 3 matches for "mifirst".

Did you mean: mfirst
2015 Nov 17
2
DFAPacketzer, Hexagon and bundles with 1 instruction
...de that I have for a endPacket // endPacket - End the current packet, bundle packet instructions and reset // DFA state. void VLIWPacketizerList::endPacket(MachineBasicBlock *MBB, MachineInstr *MI) { if (CurrentPacketMIs.size() > 1) { MachineInstr *MIFirst = CurrentPacketMIs.front(); finalizeBundle(*MBB, MIFirst, MI); } CurrentPacketMIs.clear(); ResourceTracker->clearResources(); } Based on this, it looks like packets with one instruction are not finalized (finalizeBundle is the one which inserts a BUNDLE instruction). So what happens w...
2016 Jan 20
2
a bundle with one instruction
...doesn't handle this case: // endPacket - End the current packet, bundle packet instructions and reset // DFA state. void VLIWPacketizerList::endPacket(MachineBasicBlock *MBB, MachineInstr *MI) { if (CurrentPacketMIs.size() > 1) { MachineInstr *MIFirst = CurrentPacketMIs.front(); finalizeBundle(*MBB, MIFirst, MI); } CurrentPacketMIs.clear(); ResourceTracker->clearResources(); } My initial idea was to simply add a NOP instruction to the CurrentPacketMIs, but it is proving to be more difficult than I thought. Would anyone care to help...
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...A state. >> void VLIWPacketizerList::endPacket(MachineBasicBlock *MBB, >> - MachineInstr *I) { >> + MachineInstr *MI) { >> if (CurrentPacketMIs.size()> 1) { >> MachineInstr *MIFirst = CurrentPacketMIs.front(); >> - finalizeBundle(*MBB, MIFirst, I); >> + finalizeBundle(*MBB, MIFirst, MI); >> } >> CurrentPacketMIs.clear(); >> ResourceTracker->clearResources(); >> @@ -181,31 +157,36 @@ void VLIWPacketizerList::endPacket(Mac...