adding vector to main loop

This commit is contained in:
Bimba Shrestha 2020-03-05 09:55:38 -08:00
parent 11c1e5c9bc
commit 4c72a1a9c2

View File

@ -80,6 +80,10 @@ ZSTD_compressBlock_fast_generic(
}
/* Main Search Loop */
#ifdef __INTEL_COMPILER
#pragma vector always
#pragma ivdep
#endif
while (ip1 < ilimit) { /* < instead of <=, because check at ip0+2 */
size_t mLength;
BYTE const* ip2 = ip0 + 2;