[x265] [PATCH 3 of 4] asm: correct constant name pw_0_15 -> pw_0_7

Min Chen chenm003 at 163.com
Fri Nov 20 23:00:50 CET 2015


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1447975779 21600
# Node ID c303685732c784a11665218ca24643b769638511
# Parent  e34ca00c2dcd814fe0259404c0abb575136e64e0
asm: correct constant name pw_0_15 -> pw_0_7
---
 source/common/x86/const-a.asm     |    2 +-
 source/common/x86/pixel-util8.asm |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff -r e34ca00c2dcd -r c303685732c7 source/common/x86/const-a.asm
--- a/source/common/x86/const-a.asm	Thu Nov 19 17:29:36 2015 -0600
+++ b/source/common/x86/const-a.asm	Thu Nov 19 17:29:39 2015 -0600
@@ -98,7 +98,7 @@
                             times  4 dw 0
 const pw_pixel_max,         times 16 dw ((1 << BIT_DEPTH)-1)
 
-const pw_0_15,              times  2 dw   0,   1,   2,   3,   4,   5,   6,   7
+const pw_0_7,               times  2 dw   0,   1,   2,   3,   4,   5,   6,   7
 const pw_ppppmmmm,          times  1 dw   1,   1,   1,   1,  -1,  -1,  -1,  -1
 const pw_ppmmppmm,          times  1 dw   1,   1,  -1,  -1,   1,   1,  -1,  -1
 const pw_pmpmpmpm,          times 16 dw   1,  -1,   1,  -1,   1,  -1,   1,  -1
diff -r e34ca00c2dcd -r c303685732c7 source/common/x86/pixel-util8.asm
--- a/source/common/x86/pixel-util8.asm	Thu Nov 19 17:29:36 2015 -0600
+++ b/source/common/x86/pixel-util8.asm	Thu Nov 19 17:29:39 2015 -0600
@@ -56,7 +56,7 @@
 SECTION .text
 
 cextern pw_1
-cextern pw_0_15
+cextern pw_0_7
 cextern pb_1
 cextern pb_128
 cextern pw_00ff
@@ -1563,7 +1563,7 @@
     movd        m0, r6d
     pshuflw     m0, m0, 0
     punpcklqdq  m0, m0
-    pcmpgtw     m0, [pw_0_15]
+    pcmpgtw     m0, [pw_0_7]
 
 .loopH:
     mov         r6d, r4d
@@ -1721,7 +1721,7 @@
     pshuflw                   m0, m0, 0
     punpcklqdq                m0, m0
     vinserti128               m0, m0, xm0, 1
-    pcmpgtw                   m0, [pw_0_15]
+    pcmpgtw                   m0, [pw_0_7]
 
 .loopH:
     mov                       r6d, r4d



More information about the x265-devel mailing list