changeset 9583:6c3b6a58d2ef

alasm-avx2: align pw_1024 global constant
author Praveen Tiwari <praveen@multicorewareinc.com>
date Thu, 26 Feb 2015 16:24:18 +0530
parents 561f387182df
children 14422b2e59a4
files source/common/x86/const-a.asm source/common/x86/intrapred8.asm
diffstat 2 files changed, 10 insertions(+-), 9 deletions(-) [+]
line wrap: on
line diff
--- a/source/common/x86/const-a.asm	Thu Feb 26 15:39:32 2015 +0530
+++ b/source/common/x86/const-a.asm	Thu Feb 26 16:24:18 2015 +0530
@@ -6,7 +6,7 @@
 ;* Authors: Loren Merritt <lorenm@u.washington.edu>
 ;*          Fiona Glaser <fiona@x264.com>
 ;*          Min Chen <chenm003@163.com> <min.chen@multicorewareinc.com>
-;*
+;*          Praveen Kumar Tiwari <praveen@multicorewareinc.com>
 ;* This program is free software; you can redistribute it and/or modify
 ;* it under the terms of the GNU General Public License as published by
 ;* the Free Software Foundation; either version 2 of the License, or
@@ -40,6 +40,7 @@ const pw_256,      times 16 dw 256
 const pw_257,      times 16 dw 257
 const pw_512,      times 16 dw 512
 const pw_1023,     times 8  dw 1023
+ALIGN 32
 const pw_1024,     times 16 dw 1024
 const pw_4096,     times 16 dw 4096
 const pw_00ff,     times 16 dw 0x00ff
--- a/source/common/x86/intrapred8.asm	Thu Feb 26 15:39:32 2015 +0530
+++ b/source/common/x86/intrapred8.asm	Thu Feb 26 16:24:18 2015 +0530
@@ -32141,7 +32141,7 @@ cglobal all_angs_pred_32x32, 3,7,8, 0-4
 ;-----------------------------------------------------------------------------------------
 INIT_YMM avx2
 cglobal intra_pred_ang8_3, 3,4,5
-    movu              m3, [pw_1024]
+    mova              m3, [pw_1024]
     vbroadcasti128    m0, [r2 + 17]
 
     pshufb            m1, m0, [c_ang8_src1_9_2_10]
@@ -32186,7 +32186,7 @@ cglobal intra_pred_ang8_3, 3,4,5
 
 INIT_YMM avx2
 cglobal intra_pred_ang8_33, 3,4,5
-    movu              m3, [pw_1024]
+    mova              m3, [pw_1024]
     vbroadcasti128    m0, [r2 + 1]
 
     pshufb            m1, m0, [c_ang8_src1_9_2_10]
@@ -32221,7 +32221,7 @@ cglobal intra_pred_ang8_33, 3,4,5
 
 INIT_YMM avx2
 cglobal intra_pred_ang8_4, 3,4,5
-    movu              m3, [pw_1024]
+    mova              m3, [pw_1024]
     vbroadcasti128    m0, [r2 + 17]
 
     pshufb            m1, m0, [c_ang8_src1_9_2_10]
@@ -32266,7 +32266,7 @@ cglobal intra_pred_ang8_4, 3,4,5
 
 INIT_YMM avx2
 cglobal intra_pred_ang8_32, 3,4,5
-    movu              m3, [pw_1024]
+    mova              m3, [pw_1024]
     vbroadcasti128    m0, [r2 + 1]
 
     pshufb            m1, m0, [c_ang8_src1_9_2_10]
@@ -32302,7 +32302,7 @@ cglobal intra_pred_ang8_32, 3,4,5
 
 INIT_YMM avx2
 cglobal intra_pred_ang8_5, 3, 4, 5
-    movu              m3, [pw_1024]
+    mova              m3, [pw_1024]
     vbroadcasti128    m0, [r2 + 17]
 
     pshufb            m1, m0, [c_ang8_src1_9_2_10]
@@ -32347,7 +32347,7 @@ cglobal intra_pred_ang8_5, 3, 4, 5
 
 INIT_YMM avx2
 cglobal intra_pred_ang8_31, 3, 4, 5
-    movu              m3, [pw_1024]
+    mova              m3, [pw_1024]
     vbroadcasti128    m0, [r2 + 1]
 
     pshufb            m1, m0, [c_ang8_src1_9_2_10]
@@ -32383,7 +32383,7 @@ cglobal intra_pred_ang8_31, 3, 4, 5
 
 INIT_YMM avx2
 cglobal intra_pred_ang8_6, 3, 4, 5
-    movu              m3, [pw_1024]
+    mova              m3, [pw_1024]
     vbroadcasti128    m0, [r2 + 17]
 
     pshufb            m1, m0, [c_ang8_src1_9_1_9]
@@ -32428,7 +32428,7 @@ cglobal intra_pred_ang8_6, 3, 4, 5
 
 INIT_YMM avx2
 cglobal intra_pred_ang8_30, 3, 4, 5
-    movu              m3, [pw_1024]
+    mova              m3, [pw_1024]
     vbroadcasti128    m0, [r2 + 1]
 
     pshufb            m1, m0, [c_ang8_src1_9_1_9]