[FFmpeg-cvslog] avutil/x86: reenable ff_update_lls_avx()

Michael Niedermayer git at videolan.org
Tue Jul 2 12:14:12 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul  2 11:58:08 2013 +0200| [a478e99a603f2abf3b65bc96176af7b278555035] | committer: Michael Niedermayer

avutil/x86: reenable ff_update_lls_avx()

The bug has been fixed in c8b920a9b7fa534a6141695ace4e8c2dfcd56cee by Loren Merritt

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a478e99a603f2abf3b65bc96176af7b278555035
---

 libavutil/x86/lls.asm    |    2 +-
 libavutil/x86/lls_init.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/x86/lls.asm b/libavutil/x86/lls.asm
index 481044f..769befb 100644
--- a/libavutil/x86/lls.asm
+++ b/libavutil/x86/lls.asm
@@ -125,7 +125,7 @@ cglobal update_lls, 2,5,8, ctx, var, i, j, covar2
 .ret:
     REP_RET
 
-%if HAVE_AVX_EXTERNAL && 0
+%if HAVE_AVX_EXTERNAL
 INIT_YMM avx
 cglobal update_lls, 3,6,8, ctx, var, count, i, j, count2
     %define covarq ctxq
diff --git a/libavutil/x86/lls_init.c b/libavutil/x86/lls_init.c
index eb57042..181ca38 100644
--- a/libavutil/x86/lls_init.c
+++ b/libavutil/x86/lls_init.c
@@ -35,7 +35,7 @@ av_cold void ff_init_lls_x86(LLSModel *m)
         if (m->indep_count >= 4)
             m->evaluate_lls = ff_evaluate_lls_sse2;
     }
-    if (EXTERNAL_AVX(cpu_flags) && 0) {
+    if (EXTERNAL_AVX(cpu_flags)) {
         m->update_lls = ff_update_lls_avx;
     }
 }



More information about the ffmpeg-cvslog mailing list