Skip to content

Commit

Permalink
make vs2017 happy
Browse files Browse the repository at this point in the history
  • Loading branch information
nihui authored Aug 20, 2023
1 parent b8a8d5a commit 2bcd222
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/layer/x86/convolution_im2col_gemm_int8.h
Original file line number Diff line number Diff line change
Expand Up @@ -1042,7 +1042,8 @@ static void convolution_gemm_transB_packed_tile_int8(const Mat& AT_tile, const M

__m512i _pA0 = _mm512_cvtepi8_epi16(_pA);
_pB = _mm_cvtepi8_epi16(_pB);
__m512i _pBBBB = _mm512_broadcast_i32x4(_pB);
__m256i _pBB = _mm256_inserti128_si256(_mm256_castsi128_si256(_pB), _pB, 1);
__m512i _pBBBB = _mm512_inserti32x8(_mm512_castsi256_si512(_pBB), _pBB, 1);

// 0123012301230123 -> 00000000... 11111111... 22222222... 33333333...
__m512i _pB0 = _mm512_shuffle_epi32(_pBBBB, _MM_PERM_AAAA);
Expand Down

0 comments on commit 2bcd222

Please sign in to comment.