Commit 8ab5b5f6 authored by James Zern's avatar James Zern Committed by Yi Luo
Browse files

sad_highbd_avx2: avoid _mm256_set1_epi64x w/x86 vs2013

this version has the prototype, but will fail at link time

Change-Id: I67a11c2b131313ebb9380aece988cd7805223cbe
parent 5680a01d
......@@ -704,7 +704,12 @@ unsigned int aom_highbd_sad128x128_avg_avx2(const uint8_t *src, int src_stride,
static INLINE void get_4d_sad_from_mm256_epi32(const __m256i *v,
uint32_t *res) {
__m256i u0, u1, u2, u3;
#if defined(_MSC_VER) && defined(_M_IX86) && _MSC_VER < 1900
const __m256i mask = _mm256_setr_epi32(UINT32_MAX, 0, UINT32_MAX, 0,
UINT32_MAX, 0, UINT32_MAX, 0);
const __m256i mask = _mm256_set1_epi64x(UINT32_MAX);
__m128i sad;
// 8 32-bit summation
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment