From 43fc88f44358d659c2d07c58710d131d370545e6 Mon Sep 17 00:00:00 2001 From: Bimba Shrestha Date: Tue, 10 Mar 2020 14:57:27 -0500 Subject: [PATCH] Adding comment and remvoing ivdep --- lib/compress/zstd_fast.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/compress/zstd_fast.c b/lib/compress/zstd_fast.c index 8d4c82b1f..09e220b3a 100644 --- a/lib/compress/zstd_fast.c +++ b/lib/compress/zstd_fast.c @@ -81,8 +81,11 @@ ZSTD_compressBlock_fast_generic( /* Main Search Loop */ #ifdef __INTEL_COMPILER + /* From intel 'The vector pragma indicates that the loop should be + * vectorized if it is legal to do so'. Can be used together with + * #pragma ivdep (but have opted to exclude that because intel + * warns against using it).*/ #pragma vector always - #pragma ivdep #endif while (ip1 < ilimit) { /* < instead of <=, because check at ip0+2 */ size_t mLength; -- 2.47.2