Commit ff9078ba authored by Chen, Weiyu's avatar Chen, Weiyu Committed by gbsbuild

Update accumulator legality check for mix mode instructions

Change-Id: I9a3c66b5a61cc55558b9ac432917d93d8f510128
parent 6af9dadf
......@@ -7673,7 +7673,7 @@ bool G4_INST::canSrcBeAcc(int srcId) const
{
return false;
}
else if (getDst()->getType() == builder.getMixModeType() && src->getType() == Type_F &&
else if (getDst()->getType() == Type_HF && src->getType() == Type_F &&
dstEltSize == 2)
{
// no acc for mix mode inst with packed HF dst
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment