Narrow-down Intel-specific #ifdef's
[alexxy/gromacs.git] / src / gromacs / simd / tests / simd_floatingpoint_util.cpp
index ee43c3cada45242f2fe5c960048e3b7ae7c7dac1..502f5f0961f5ffcc3f192048c3e38970d25737fa 100644 (file)
@@ -466,7 +466,7 @@ TEST_F(SimdFloatingpointUtilTest, transposeScatterDecrU3Overlapping)
         mem0_[j] = refmem[j] = (1000.0 + j) * (1.0 + 100 * GMX_REAL_EPS);
     }
 
-#    ifdef __INTEL_COMPILER // Bug in (at least) 19u1 and 18u5 (03424712)
+#    if defined(__INTEL_COMPILER) && (__INTEL_COMPILER < 2021) // Bug in (at least) 19u1 and 18u5 (03424712)
 #        pragma novector
 #    endif
     for (std::size_t j = 0; j < GMX_SIMD_REAL_WIDTH; j++)