diff options
author | Vinson Lee <[email protected]> | 2016-05-25 21:09:10 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2016-05-28 14:26:54 -0700 |
commit | 884ac617220e4ac033061bd7313079bf5471cb58 (patch) | |
tree | b323dfb9141bc779522bad7674ff3594634ace79 /src | |
parent | df210ff24dbdf9d3459061196e28dd37223c0cc5 (diff) |
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 <[email protected]>
Reviewed-by: Tim Rowley <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/common/os.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/common/os.h b/src/gallium/drivers/swr/rasterizer/common/os.h index b97b0051738..370c619eef1 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) |