Skip to content

Commit 0870927

Browse files
committed
Minor fix
1 parent d52102a commit 0870927

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

internal/simd/simd_avx512.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#define _mm512_movemask_epi32(a) \
1414
int(_mm512_cmpneq_epi32_mask(_mm512_setzero_si512(), _mm512_and_si512(_mm512_set1_epi32(0x80000000U), a)))
1515
#define _mm512_movemask_epi8(a) \
16-
int(_mm512_cmpneq_epi8_mask(_mm512_setzero_si512(), _mm512_and_si512(a, _mm512_set1_epi8(0x80))))
16+
int(_mm512_cmpneq_epi8_mask(_mm512_setzero_si512(), _mm512_and_si512(a, _mm512_set1_epi8((char)0x80))))
1717

1818
// https://adms-conf.org/2020-camera-ready/ADMS20_05.pdf
1919
#define _mm512_slli_si512(x, k) _mm512_alignr_epi32(x, _mm512_setzero_si512(), 16 - k)

0 commit comments

Comments
 (0)