Skip to content
Snippets Groups Projects
Commit 7c1ec35d authored by Hugues Cassé's avatar Hugues Cassé
Browse files

etime: fix to support EXEC stage without FU.

parent ed61ca83
No related branches found
No related tags found
No related merge requests found
......@@ -188,6 +188,16 @@ void StandardXGraphBuilder::createNodes(ParExeGraph *g, ParExeSequence *seq) {
}
// EXECUTE stage => expand functional unit's pipeline
else {
// no FU
if(stage->numFus() == 0) {
ParExeNode *node = makeNode(g, *inst, *stage);
inst->setFirstFUNode(node);
inst->setLastFUNode(node);
}
// multiple FUs: select one
else {
ParExePipeline *fu = stage->findFU(inst->inst()->kind());
ParExeNode *first = nullptr, *last = nullptr;
......@@ -209,6 +219,7 @@ void StandardXGraphBuilder::createNodes(ParExeGraph *g, ParExeSequence *seq) {
}
}
}
}
g->setLastNode(last_node);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment