]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
Adding comment and remvoing ivdep 2033/head
authorBimba Shrestha <bimbashrestha@fb.com>
Tue, 10 Mar 2020 19:57:27 +0000 (14:57 -0500)
committerBimba Shrestha <bimbashrestha@fb.com>
Tue, 10 Mar 2020 19:57:27 +0000 (14:57 -0500)
lib/compress/zstd_fast.c

index 8d4c82b1f00eaf813ec2d1b8c6549b8fe9e94dc0..09e220b3abc0358c34dfa87f7df829fb9ee2e2b3 100644 (file)
@@ -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;