[x265] [PATCH 2 of 3] asm: remove interp4_hps_shuf, it is duplicate to interp4_hpp_shuf

Min Chen chenm003 at 163.com
Tue Apr 28 14:24:21 CEST 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1430223841 -28800
# Node ID 4e5b677bac8e4277d473dc48c6bd104a08c9f925
# Parent  026fb0813d04383f92f1ebd61025e0f7940db666
asm: remove interp4_hps_shuf, it is duplicate to interp4_hpp_shuf
---
 source/common/x86/ipfilter8.asm |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff -r 026fb0813d04 -r 4e5b677bac8e source/common/x86/ipfilter8.asm
--- a/source/common/x86/ipfilter8.asm	Tue Apr 28 20:23:56 2015 +0800
+++ b/source/common/x86/ipfilter8.asm	Tue Apr 28 20:24:01 2015 +0800
@@ -286,8 +286,6 @@
 
 const interp8_hps_shuf,     dd 0, 4, 1, 5, 2, 6, 3, 7
 
-const interp4_hps_shuf,     times 2 db 0, 1, 2, 3, 1, 2, 3, 4, 8, 9, 10, 11, 9, 10, 11, 12
-
 SECTION .text
 
 cextern pb_128
@@ -22365,7 +22363,7 @@
     movhps             xm2,            [r0 + r6]
 
     vinserti128        m1,             m1,          xm2,          1
-    pshufb             m1,             [interp4_hps_shuf]
+    pshufb             m1,             [interp4_hpp_shuf]
     pmaddubsw          m1,             m0
     pmaddwd            m1,             [pw_1]
     vextracti128       xm2,            m1,          1
@@ -22387,7 +22385,7 @@
     movhps             xm1,            [r0 + r1]
     movq               xm2,            [r0 + r1 * 2]
     vinserti128        m1,             m1,          xm2,          1
-    pshufb             m1,             [interp4_hps_shuf]
+    pshufb             m1,             [interp4_hpp_shuf]
     pmaddubsw          m1,             m0
     pmaddwd            m1,             [pw_1]
     vextracti128       xm2,            m1,          1
@@ -22418,7 +22416,7 @@
     sub               r0,             r1
 
 .label
-    mova              m4,            [interp4_hps_shuf]
+    mova              m4,            [interp4_hpp_shuf]
     mova              m5,            [pw_1]
     dec               r0
     lea               r4,            [r1 * 3]



More information about the x265-devel mailing list