[x265] [PATCH] filterHorizontal_p_p: sum decleared as local register

praveen at multicorewareinc.com praveen at multicorewareinc.com
Mon Aug 5 08:10:30 CEST 2013


# HG changeset patch
# User praveentiwari
# Date 1375683020 -19800
# Node ID 498d4e97c74ce5bb12a49f933969529214ac0472
# Parent  4bef3786de8b374a0936c190beaac74d7fbd465e
filterHorizontal_p_p: sum decleared as local register

diff -r 4bef3786de8b -r 498d4e97c74c source/common/vec/ipfilter8.inc
--- a/source/common/vec/ipfilter8.inc	Mon Aug 05 11:32:45 2013 +0530
+++ b/source/common/vec/ipfilter8.inc	Mon Aug 05 11:40:20 2013 +0530
@@ -749,14 +749,13 @@
     __m128i Tm5 = _mm_setr_epi8(0, 1, 2, 3, 1, 2, 3, 4, 2, 3, 4, 5, 3, 4, 5, 6);
     __m128i Tm6 = _mm_setr_epi8(4, 5, 6, 7, 5, 6, 7, 8, 6, 7, 8, 9, 7, 8, 9, 10);
 
-    __m128i sum;
-
     for (row = 0; row < height; row++)
     {
         col = 0;
         for (; col < (width - 7); col += 8)
         {
             __m128i srcCoeff = _mm_loadu_si128((__m128i*)(src + col));
+            __m128i sum;
 
             if (N == 4)
             {


More information about the x265-devel mailing list