refactor: do some internal refactor.

This commit is contained in:
Haojun Liao 2022-11-14 14:15:48 +08:00
parent c888cbf068
commit 618b4ab881
1 changed files with 2 additions and 2 deletions

View File

@ -152,8 +152,8 @@ static void i32VectorSumAVX2(const int32_t* plist, int32_t numOfRows, SAvgRes* p
} }
// let sum up the final results // let sum up the final results
const int64_t* q = (const int64_t*)∑ const int32_t* q = (const int32_t*)∑
pRes->sum.isum += q[0] + q[1] + q[2] + q[3]; pRes->sum.isum += q[0] + q[1] + q[2] + q[3] + q[4] + q[5] + q[6] + q[7];
int32_t startIndex = rounds * bitWidth; int32_t startIndex = rounds * bitWidth;
for (int32_t j = 0; j < remainder; ++j) { for (int32_t j = 0; j < remainder; ++j) {