swr/rast: Fix build warnings when using the Intel compiler
authorTim Rowley <timothy.o.rowley@intel.com>
Thu, 29 Jun 2017 22:22:05 +0000 (17:22 -0500)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 13 Jul 2017 13:47:10 +0000 (08:47 -0500)
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp

index 1964ef4..07775e7 100644 (file)
@@ -293,7 +293,7 @@ namespace SIMDImpl
         using __mmask16 = uint16_t;
 #endif
 
-#if SIMD_ARCH >= SIMD_ARCH_AVX512
+#if defined(__INTEL_COMPILER) || (SIMD_ARCH >= SIMD_ARCH_AVX512)
 #define SIMD_ALIGNMENT_BYTES 64
 #else
 #define SIMD_ALIGNMENT_BYTES 32