Skip to content

Commit fd4ed98

Browse files
authored
Fixup a bug where the i8 matmul was using opcode 8 which means unsigned mac (#2827)
1 parent 343b015 commit fd4ed98

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Conversion/AIEVecToLLVM/AIEVecToLLVM.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4130,7 +4130,8 @@ class MatMulOpAIE2pConversion
41304130
accIntTy.getWidth() == 32 && lhsLanes == 64 && rhsLanes == 64 &&
41314131
accLanes == 64) {
41324132
// Uses I512.I512.ACC2048 (64 lanes of i8 -> 64 lanes of i32)
4133-
return {DecodedMatMulOp::Kind::I8_8x8x8_I512_ACC2048, lhs, rhs, acc, 8};
4133+
return {DecodedMatMulOp::Kind::I8_8x8x8_I512_ACC2048, lhs, rhs, acc,
4134+
776};
41344135
}
41354136

41364137
// Check for <8x2xi16> x <2x8xi16> + <8x8xi32>

0 commit comments

Comments
 (0)