Supervector test fixes

This commit is contained in:
apostolos
2021-07-19 10:23:11 +03:00
committed by Konstantinos Margaritis
parent ae6bc52076
commit 6f88ecac44
4 changed files with 30 additions and 16 deletions

View File

@@ -890,7 +890,7 @@ template <>
really_inline typename SuperVector<64>::movemask_type SuperVector<64>::movemask(void)const
{
m512_t msb = SuperVector<64>::dup_u8(0x80);
m512_t mask = msb | *this;
m512_t mask = msb & *this;
return _mm512_cmpeq_epi8_mask(mask.u.v512[0],msb.u.v512[0]);
}