diff options
author | Tim Rowley <[email protected]> | 2016-05-09 18:00:26 -0600 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2016-05-19 16:26:49 -0500 |
commit | c969ef2d427dfb3940a0d6d2b853454e65f1119f (patch) | |
tree | f56d66f861d6ee80be77e46588fc8f05553e50a1 /src/gallium/drivers/swr | |
parent | da751600390b37a5ea2dd6cc07838f6a29000639 (diff) |
swr: [rasterizer core] clang override for _mm_undefined*
Not supported in older xcode versions.
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/core/utils.h b/src/gallium/drivers/swr/rasterizer/core/utils.h index 1c4780a5276..bf53c6964ee 100644 --- a/src/gallium/drivers/swr/rasterizer/core/utils.h +++ b/src/gallium/drivers/swr/rasterizer/core/utils.h @@ -174,7 +174,7 @@ void vTranspose(__m128i &row0, __m128i &row1, __m128i &row2, __m128i &row3) + __GNUC_MINOR__ * 100 \ + __GNUC_PATCHLEVEL__) -#if defined(__GNUC__) && (GCC_VERSION < 40900) +#if defined(__clang__) || (defined(__GNUC__) && (GCC_VERSION < 40900)) #define _mm_undefined_ps _mm_setzero_ps #define _mm_undefined_si128 _mm_setzero_si128 #if KNOB_SIMD_WIDTH == 8 |