Mesa (master): swr: [rasterizer] Do not define _mm256_storeu2_m128i with icc.
Vinson Lee
vlee at kemper.freedesktop.org
Sat May 28 21:27:26 UTC 2016
Module: Mesa
Branch: master
Commit: 884ac617220e4ac033061bd7313079bf5471cb58
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=884ac617220e4ac033061bd7313079bf5471cb58
Author: Vinson Lee <vlee at freedesktop.org>
Date: Wed May 25 21:09:10 2016 -0700
swr: [rasterizer] Do not define _mm256_storeu2_m128i with icc.
Fix build error with icc.
CXX libswrAVX_la-swr_clear.lo
icpc: command line warning #10006: ignoring unknown option '-Wdelete-non-virtual-dtor'
In file included from ./rasterizer/jitter/jit_api.h(31),
from swr_context.h(30),
from swr_clear.cpp(24):
./rasterizer/common/os.h(135): error: expected an identifier
void _mm256_storeu2_m128i(__m128i *hi, __m128i *lo, __m256i a)
^
Signed-off-by: Vinson Lee <vlee at freedesktop.org>
Reviewed-by: Tim Rowley <timothy.o.rowley at intel.com>
---
src/gallium/drivers/swr/rasterizer/common/os.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h
index b97b005..370c619 100644
--- a/src/gallium/drivers/swr/rasterizer/common/os.h
+++ b/src/gallium/drivers/swr/rasterizer/common/os.h
@@ -129,7 +129,7 @@ uint64_t __rdtsc()
}
#endif
-#ifndef __clang__
+#if !defined( __clang__) && !defined(__INTEL_COMPILER)
// Intrinsic not defined in gcc
static INLINE
void _mm256_storeu2_m128i(__m128i *hi, __m128i *lo, __m256i a)
More information about the mesa-commit
mailing list