diff options
Diffstat (limited to 'src/gallium/drivers/swr/rasterizer/common')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/common/simdintrin.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/swr/rasterizer/common/simdintrin.h b/src/gallium/drivers/swr/rasterizer/common/simdintrin.h index 5ec1f719348..cc29b5d6a93 100644 --- a/src/gallium/drivers/swr/rasterizer/common/simdintrin.h +++ b/src/gallium/drivers/swr/rasterizer/common/simdintrin.h @@ -1002,7 +1002,7 @@ static INLINE simdscalar _simd_abs_ps(simdscalar a) INLINE UINT pdep_u32(UINT a, UINT mask) { -#if KNOB_ARCH==KNOB_ARCH_AVX2 +#if KNOB_ARCH >= KNOB_ARCH_AVX2 return _pdep_u32(a, mask); #else UINT result = 0; @@ -1035,7 +1035,7 @@ UINT pdep_u32(UINT a, UINT mask) INLINE UINT pext_u32(UINT a, UINT mask) { -#if KNOB_ARCH==KNOB_ARCH_AVX2 +#if KNOB_ARCH >= KNOB_ARCH_AVX2 return _pext_u32(a, mask); #else UINT result = 0; |