[x265] [PATCH 1 of 3] asm: replace constant table tab_c_128 by pb_128

Min Chen chenm003 at 163.com
Thu Oct 30 23:46:52 CET 2014


# HG changeset patch
# User Min Chen <chenm003 at 163.com>
# Date 1414709169 25200
# Node ID 9e7492b19f481d124ff72d2da3623a50e59608e1
# Parent  de28d1b07e6f9ca1db9da455931e1ea252c948c0
asm: replace constant table tab_c_128 by pb_128

diff -r de28d1b07e6f -r 9e7492b19f48 source/common/x86/ipfilter8.asm
--- a/source/common/x86/ipfilter8.asm	Thu Oct 30 13:09:57 2014 -0500
+++ b/source/common/x86/ipfilter8.asm	Thu Oct 30 15:46:09 2014 -0700
@@ -123,13 +123,13 @@
                   times 8 db 58, -10
                   times 8 db 4, -1
 
-tab_c_128:      times 16 db 0x80
 tab_c_64_n64:   times 8 db 64, -64
 
 
 SECTION .text
 
 cextern idct4_shuf1
+cextern pb_128
 cextern pw_1
 cextern pw_512
 cextern pw_2000
@@ -3190,7 +3190,7 @@
     mov         r4d, r4m
 
     ; load constant
-    mova        m4, [tab_c_128]
+    mova        m4, [pb_128]
     mova        m5, [tab_c_64_n64]
 
 .loopH:
@@ -3959,7 +3959,7 @@
     mov         r4d, r4m
 
     ; load constant
-    mova        m2, [tab_c_128]
+    mova        m2, [pb_128]
     mova        m3, [tab_c_64_n64]
 
 .loopH:



More information about the x265-devel mailing list