Fixed build with gcc-8

This commit is contained in:
Alexey Milovidov 2019-03-04 00:07:38 +03:00
parent efe3d53894
commit 084586a958

View File

@ -166,7 +166,7 @@ inline bool memequal16(const void * a, const void * b)
/** Compare memory region to zero */ /** Compare memory region to zero */
inline bool memoryIsZeroSmallAllowOverflow15(const void * data, size_t size) inline bool memoryIsZeroSmallAllowOverflow15(const void * data, size_t size)
{ {
__m128 zero16 = _mm_setzero_ps(); const __m128 zero16 = _mm_setzero_si128();
for (size_t offset = 0; offset < size; offset += 16) for (size_t offset = 0; offset < size; offset += 16)
{ {