From 4c185dd3b3348912a8809c1f13f713763263e505 Mon Sep 17 00:00:00 2001 From: Tim Rowley Date: Thu, 29 Jun 2017 17:22:05 -0500 Subject: swr/rast: Fix build warnings when using the Intel compiler Reviewed-by: Bruce Cherniak --- src/gallium/drivers/swr/rasterizer/common/simdlib_types.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3