Skip to content

Commit 6e1c55c

Browse files
weiyu-chensys_zuul
authored andcommitted
(2nd try) make sure we split all SIMD16 mix mode instructions, not just the ones with HF/F destination
Change-Id: I68e4effb91f012b97a7c1f811b5d5ed7270631b7
1 parent d2c6440 commit 6e1c55c

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

visa/HWConformity.cpp

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7385,11 +7385,7 @@ void HWConformity::fixMixedHFInst(G4_BB* bb)
73857385
if (getGenxPlatform() >= GENX_CHV)
73867386
{
73877387
// no SIMD16 mix mode instruction
7388-
dst = inst->getDst();
7389-
bool isDstPackedHForF =
7390-
(dst->getType() == builder.getMixModeType() && dst->getHorzStride() == 1) ||
7391-
dst->getType() == Type_F;
7392-
if (inst->getExecSize() > 8 && isDstPackedHForF)
7388+
if (inst->getExecSize() > builder.getNativeExecSize() && inst->isMixedMode())
73937389
{
73947390
evenlySplitInst(instIter, bb, false);
73957391
//instruction was split, and new instruction inserted before

0 commit comments

Comments
 (0)