[x265] [PATCH] asm: remove tab_c_526336, it is duplicate to pd_526336

Min Chen chenm003 at 163.com
Tue Apr 28 12:43:41 CEST 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1430217813 -28800
# Node ID 1b4a524443cbbba02a64fe979f848a8a1f1a0b1f
# Parent  ed448198ce3d22c95a78c2e4b68070abca577822
asm: remove tab_c_526336, it is duplicate to pd_526336
---
 source/common/x86/ipfilter8.asm |   22 ++++++++++------------
 1 files changed, 10 insertions(+), 12 deletions(-)

diff -r ed448198ce3d -r 1b4a524443cb source/common/x86/ipfilter8.asm
--- a/source/common/x86/ipfilter8.asm	Mon Apr 27 13:59:08 2015 -0500
+++ b/source/common/x86/ipfilter8.asm	Tue Apr 28 18:43:33 2015 +0800
@@ -59,8 +59,6 @@
 
 tab_Cm:    db 0, 2, 1, 3, 0, 2, 1, 3, 0, 2, 1, 3, 0, 2, 1, 3
 
-tab_c_526336:   times 4 dd 8192*64+2048
-
 pd_526336:      times 8 dd 8192*64+2048
 
 tab_ChromaCoeff: db  0, 64,  0,  0
@@ -3157,10 +3155,10 @@
 
 ; Round and Saturate
 %macro FILTER_HV8_END 4 ; output in [1, 3]
-    paddd       %1, [tab_c_526336]
-    paddd       %2, [tab_c_526336]
-    paddd       %3, [tab_c_526336]
-    paddd       %4, [tab_c_526336]
+    paddd       %1, [pd_526336]
+    paddd       %2, [pd_526336]
+    paddd       %3, [pd_526336]
+    paddd       %4, [pd_526336]
     psrad       %1, 12
     psrad       %2, 12
     psrad       %3, 12
@@ -13571,7 +13569,7 @@
     lea       r6, [tab_LumaCoeffV + r4]
 %endif
 
-    mova      m7, [tab_c_526336]
+    mova      m7, [pd_526336]
 
     mov       dword [rsp], %2/4
 .loopH:
@@ -13744,7 +13742,7 @@
     lea       r6, [tab_ChromaCoeffV + r4]
 %endif
 
-    mova      m6, [tab_c_526336]
+    mova      m6, [pd_526336]
 
     mov       dword [rsp], %2/4
 
@@ -13871,7 +13869,7 @@
     lea       r5, [tab_ChromaCoeffV + r4]
 %endif
 
-    mova      m5, [tab_c_526336]
+    mova      m5, [pd_526336]
 
     mov       r4d, (%2/4)
 
@@ -13923,7 +13921,7 @@
     lea        r5, [tab_ChromaCoeffV + r4]
 %endif
 
-    mova       m4, [tab_c_526336]
+    mova       m4, [pd_526336]
 
     movq       m0, [r0]
     movq       m1, [r0 + r1]
@@ -13975,7 +13973,7 @@
     lea       r6, [tab_ChromaCoeffV + r4]
 %endif
 
-    mova      m6, [tab_c_526336]
+    mova      m6, [pd_526336]
 
     mov       r4d, %2/4
 
@@ -14087,7 +14085,7 @@
     lea       r5, [tab_ChromaCoeffV + r4]
 %endif
 
-    mova      m7, [tab_c_526336]
+    mova      m7, [pd_526336]
 
     mov       r4d, %2/2
 .loopH:



More information about the x265-devel mailing list