diff --git a/libavutil/x86/lls.asm b/libavutil/x86/lls.asm index fac56b295a..59398b4867 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 +%if HAVE_AVX_EXTERNAL && 0 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 6437be958c..0c7b75d07c 100644 --- a/libavutil/x86/lls_init.c +++ b/libavutil/x86/lls_init.c @@ -32,7 +32,7 @@ av_cold void ff_init_lls_x86(LLSModel *m) if (EXTERNAL_SSE2(cpu_flags)) { m->update_lls = ff_update_lls_sse2; } - if (EXTERNAL_AVX(cpu_flags)) { + if (EXTERNAL_AVX(cpu_flags) && 0) { m->update_lls = ff_update_lls_avx; } }