The attached patch fixes the generated AVX2 assembly from thread "[PATCH] x86: hevc_mc: remove non necessary moves". With it, it is identical to what is generated without ec21721.
This should also be submitted to the x264 project, so that they can also choose a better description/title for the patch. This patch is mostly meant to check that it does fix generated assembly for other users. -- Christophe
From 018f5122d53fd0514644b86169d593c28a6924db Mon Sep 17 00:00:00 2001 From: Christophe Gisquet <christophe.gisq...@gmail.com> Date: Tue, 3 Feb 2015 13:03:48 +0100 Subject: [PATCH] x86: lavu/x264asm: fix ymm register instanciation This mimicks what is done for the other instruction sets. --- libavutil/x86/x86inc.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm index fa6a6ab..33b22cd 100644 --- a/libavutil/x86/x86inc.asm +++ b/libavutil/x86/x86inc.asm @@ -871,7 +871,7 @@ SECTION .note.GNU-stack noalloc noexec nowrite progbits %assign %%i 0 %rep num_mmregs CAT_XDEFINE m, %%i, ymm %+ %%i - CAT_XDEFINE nymm, %%i, %%i + CAT_XDEFINE nnymm, %%i, %%i %assign %%i %%i+1 %endrep INIT_CPUFLAGS %1 -- 1.9.5.msysgit.0
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel