slide_sse.c(20,51): warning C4244: 'function': conversion from 'unsigned int' to 'short', possible loss of data
slide_avx.c(21,54): warning C4244: 'function': conversion from 'unsigned int' to 'short', possible loss of data
Pos *p;
unsigned n;
unsigned wsize = s->w_size;
- const __m256i zmm_wsize = _mm256_set1_epi16(wsize);
+ const __m256i zmm_wsize = _mm256_set1_epi16((uint16_t)wsize);
n = s->hash_size;
p = &s->head[n] - 16;
Pos *p;
unsigned n;
unsigned wsize = s->w_size;
- const __m128i xmm_wsize = _mm_set1_epi16(wsize);
+ const __m128i xmm_wsize = _mm_set1_epi16((uint16_t)wsize);
n = s->hash_size;
p = &s->head[n] - 8;