Displaying 3 results from an estimated 3 matches for "endpacket".
Did you mean:
sendpacket
2015 Nov 17
2
DFAPacketzer, Hexagon and bundles with 1 instruction
I'm trying to figure out how Hexagon (I'm using it as an example for my own
VLIW) is handling bundles with 1 instruction, but I don't quite get it.
Here is the code 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.fro...
2016 Jan 20
2
a bundle with one instruction
Is there a way to place a bundle a BUNDLE instruction into a packet with
one instruction? Current code to end packet 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();
fina...
2012 Apr 19
0
[LLVMdev] Target Dependent Hexagon Packetizer patch
...>> + virtual MachineBasicBlock::iterator addToPacket(MachineInstr *MI) {
>> + MachineBasicBlock::iterator MII = MI;
>> + CurrentPacketMIs.push_back(MI);
>> + ResourceTracker->reserveResources(MI);
>> + return MII;
>> + }
>>
>> // endPacket - End the current packet.
>> - void endPacket(MachineBasicBlock *MBB, MachineInstr *I);
>> + void endPacket(MachineBasicBlock *MBB, MachineInstr *MI);
>> +
>> + // initPacketizerState - perform initialization before packetizing
>> + // an instruction. This function...