Skip to content

Commit

Permalink
f
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui committed Dec 4, 2024
1 parent 6a48a9e commit 9a8d97c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layer/x86/gemm_int8.h
Original file line number Diff line number Diff line change
Expand Up @@ -18422,7 +18422,7 @@ static void gemm_transB_packed_tile_int8(const Mat& AT_tile, const Mat& BT_tile,
if (max_kk >= 4)
{
__m256i _w_shift0 = _mm256_loadu_si256((const __m256i*)pA);
__m256i _w_shift1 = _mm256_permute4x64_epi64(_w_shift0, _MM_SHUFFLE(0, 1, 2, 3));
__m256i _w_shift1 = _mm256_shuffle_epi32(_w_shift0, _MM_SHUFFLE(1, 0, 3, 2));
_sum0 = _mm256_sub_epi32(_sum0, _w_shift0);
_sum1 = _mm256_sub_epi32(_sum1, _w_shift0);
_sum2 = _mm256_sub_epi32(_sum2, _w_shift1);
Expand Down

0 comments on commit 9a8d97c

Please sign in to comment.