[x265] [PATCH 1 of 5] remove reduce register copy in FILTER_H4_w2_2 and FILTER_H4_w4_2 (update for linux build error)

Min Chen chenm003 at 163.com
Tue Oct 22 13:05:42 CEST 2013


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1382439672 -28800
# Node ID a049d7518e6b924d28307d51249a1adbfea8e794
# Parent  9245a882ccee89fc1d158b501587bac7d6e081e4
remove reduce register copy in FILTER_H4_w2_2 and FILTER_H4_w4_2 (update for linux build error)

diff -r 9245a882ccee -r a049d7518e6b source/common/x86/ipfilter8.asm
--- a/source/common/x86/ipfilter8.asm	Mon Oct 21 22:45:55 2013 -0500
+++ b/source/common/x86/ipfilter8.asm	Tue Oct 22 19:01:12 2013 +0800
@@ -56,10 +56,10 @@
 
 %macro FILTER_H4_w2_2 3
     movu        %2, [srcq - 1]
-    pshufb      %2, Tm0
+    pshufb      %2, %2, Tm0
     pmaddubsw   %2, coef2
     movu        %1, [srcq + srcstrideq - 1]
-    pshufb      %1, Tm0
+    pshufb      %1, %1, Tm0
     pmaddubsw   %1, coef2
     phaddw      %2, %1
     pmulhrsw    %2, %3
@@ -138,10 +138,10 @@
 
 %macro FILTER_H4_w4_2 3
     movu        %2, [srcq - 1]
-    pshufb      %2, Tm0
+    pshufb      %2, %2, Tm0
     pmaddubsw   %2, coef2
     movu        %1, [srcq + srcstrideq - 1]
-    pshufb      %1, Tm0
+    pshufb      %1, %1, Tm0
     pmaddubsw   %1, coef2
     phaddw      %2, %1
     pmulhrsw    %2, %3



More information about the x265-devel mailing list