Skip to content

Commit 6e2681f

Browse files
jgu222Zuul
authored andcommitted
Fixed incorrect comments
Change-Id: I2de5c54fc87f6344f9bdfbf68d80641bcd90d8b3
1 parent 4a9ef8a commit 6e2681f

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

visa/SendFusion.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1196,7 +1196,7 @@ void SendFusion::createDMask(G4_BB* bb, INST_LIST_ITER InsertBeforePos)
11961196
//
11971197
// (W) and (1|M0) r11.0<1>:ud ce0.0<0;1,0>:ud DMaskUD
11981198
// (W) mov (2|M0) r12.0<1>:ub r11.0<0;1,0>:ub
1199-
// (W) mov (1|M0) f0.0<1>:uw 0:ud r12.0<1>:uw
1199+
// (W) mov (1|M0) f0.0<1>:uw r12.0<1>:uw
12001200
//
12011201
// where DMaskUD is computed in createDMask. Note that those instructions are
12021202
// right before the location of first send fusion, not in the begining of BB
@@ -1221,9 +1221,6 @@ void SendFusion::createFlagPerBB(G4_BB* bb, INST_LIST_ITER InsertBeforePos)
12211221
G4_DstRegRegion* flag = Builder->createDstRegRegion(
12221222
Direct, flagVar, 0, 0, 1, Type_UW);
12231223

1224-
// (W) mov (1|M0) WAce0:uw, 0
1225-
// cmp (16|M5) (eq)WAce0 r0:uw r0:uw
1226-
// (W) mov(1|M0) dstPixelMaskRgn:uw WAce0:uw
12271224
G4_INST* I0 = Builder->createMov(1, flag,
12281225
Builder->createImm(0, Type_UW), InstOpt_WriteEnable, false);
12291226
bb->insert(InsertBeforePos, I0);

0 commit comments

Comments
 (0)