From: Tim Rowley Date: Thu, 29 Jun 2017 22:22:05 +0000 (-0500) Subject: swr/rast: Fix build warnings when using the Intel compiler X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4c185dd3b3348912a8809c1f13f713763263e505;p=mesa.git swr/rast: Fix build warnings when using the Intel compiler Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp b/src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp index 1964ef47027..07775e7b83f 100644 --- a/src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp +++ b/src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp @@ -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