shithub: libvpx

Download patch

ref: e7cf9fd4446ed93ca91e18b5440f1f005a5228a9
parent: de3bea6683ed4d43bd5f308fad1852ef5fea9bd8
parent: 64220915dc0af86f29a8e52c0c3ede6d83539a5e
author: James Zern <jzern@google.com>
date: Tue Aug 7 17:53:17 EDT 2018

Merge "vpx_highbd_d153_predictor_4x4_sse2: reduce load size"

--- a/vpx_dsp/x86/highbd_intrapred_intrin_sse2.c
+++ b/vpx_dsp/x86/highbd_intrapred_intrin_sse2.c
@@ -460,7 +460,8 @@
   const int J = left[1];
   const int K = left[2];
   const int L = left[3];
-  const __m128i XXXXXABC = _mm_loadu_si128((const __m128i *)(above - 5));
+  const __m128i XXXXXABC = _mm_castps_si128(
+      _mm_loadh_pi(_mm_setzero_ps(), (const __m64 *)(above - 1)));
   const __m128i LXXXXABC = _mm_insert_epi16(XXXXXABC, L, 0);
   const __m128i LKXXXABC = _mm_insert_epi16(LXXXXABC, K, 1);
   const __m128i LKJXXABC = _mm_insert_epi16(LKXXXABC, J, 2);