[x265] [PATCH] asm: move constant to const-a.asm

dnyaneshwar at multicorewareinc.com dnyaneshwar at multicorewareinc.com
Wed Dec 4 08:25:36 CET 2013


# HG changeset patch
# User Dnyaneshwar G <dnyaneshwar at multicorewareinc.com>
# Date 1386140099 -19800
#      Wed Dec 04 12:24:59 2013 +0530
# Node ID 759a5eee46d38ffa0205fc1551291653086208c9
# Parent  5b95aefb3aaec8e63e6cb54998b5add7e585841f
asm: move constant to const-a.asm

diff -r 5b95aefb3aae -r 759a5eee46d3 source/common/x86/const-a.asm
--- a/source/common/x86/const-a.asm	Wed Dec 04 12:13:18 2013 +0530
+++ b/source/common/x86/const-a.asm	Wed Dec 04 12:24:59 2013 +0530
@@ -74,6 +74,12 @@
 const pd_ffff,     times 4 dd 0xffff
 const pw_ff00,     times 8 dw 0xff00
 
+const multi_2Row,  dw 1, 2, 3, 4, 1, 2, 3, 4
+const multiL,      dw 1, 2, 3, 4, 5, 6, 7, 8
+const multiH,      dw 9, 10, 11, 12, 13, 14, 15, 16
+const multiH2,     dw 17, 18, 19, 20, 21, 22, 23, 24
+const multiH3,     dw 25, 26, 27, 28, 29, 30, 31, 32
+
 const popcnt_table
 %assign x 0
 %rep 256
diff -r 5b95aefb3aae -r 759a5eee46d3 source/common/x86/intrapred8.asm
--- a/source/common/x86/intrapred8.asm	Wed Dec 04 12:13:18 2013 +0530
+++ b/source/common/x86/intrapred8.asm	Wed Dec 04 12:24:59 2013 +0530
@@ -26,12 +26,6 @@
 
 SECTION_RODATA 32
 
-multi_2Row: dw 1, 2, 3, 4, 1, 2, 3, 4
-multiL:     dw 1, 2, 3, 4, 5, 6, 7, 8
-multiH:     dw 9, 10, 11, 12, 13, 14, 15, 16
-multiH2:    dw 17, 18, 19, 20, 21, 22, 23, 24
-multiH3:    dw 25, 26, 27, 28, 29, 30, 31, 32
-
 c_trans_4x4 db 0, 4, 8, 12, 1, 5, 9, 13, 2, 6, 10, 14, 3, 7, 11, 15
 
 const ang_table
@@ -44,7 +38,12 @@
 SECTION .text
 
 cextern pw_8
+cextern multiL
+cextern multiH
+cextern multiH2
+cextern multiH3
 cextern pw_1024
+cextern multi_2Row
 
 ;-----------------------------------------------------------------------------
 ; void intra_pred_dc(pixel* above, pixel* left, pixel* dst, intptr_t dstStride, int filter)


More information about the x265-devel mailing list