This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 251b43db69db2bb1d935bd4ad1f20b58473bbec7 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Fri Aug 7 17:49:23 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Sun Aug 9 17:28:25 2026 +0200 avcodec/x86/diracdsp: Avoid push+pop of xmm register Reviewed-by: Lynne <[email protected]> Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/x86/diracdsp.asm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libavcodec/x86/diracdsp.asm b/libavcodec/x86/diracdsp.asm index 1267cd6c98..9a6e1d4354 100644 --- a/libavcodec/x86/diracdsp.asm +++ b/libavcodec/x86/diracdsp.asm @@ -37,21 +37,21 @@ SECTION .text mov%6 m5, %4 mova m4, %1 mova %2, m5 - punpcklbw %1, m7 - punpcklbw m5, m7 - punpckhbw m4, m7 - punpckhbw %2, m7 + punpcklbw %1, m6 + punpcklbw m5, m6 + punpckhbw m4, m6 + punpckhbw %2, m6 paddw %1, m5 paddw %2, m4 %endmacro INIT_XMM sse2 ; ff_dirac_hpel_filter_v_sse2(uint8_t *dst, const uint8_t *src, ptrdiff_t stride, int width); -cglobal dirac_hpel_filter_v, 4,6,8, dst, src, stride, width, src0, stridex3 +cglobal dirac_hpel_filter_v, 4,6,7, dst, src, stride, width, src0, stridex3 mov src0q, srcq lea stridex3q, [3*strideq] sub src0q, stridex3q - pxor m7, m7 + pxor m6, m6 .loop: ; 7*(src[0] + src[1]) UNPACK_ADD m0, m1, [srcq], [srcq + strideq], a,a @@ -91,9 +91,9 @@ cglobal dirac_hpel_filter_v, 4,6,8, dst, src, stride, width, src0, stridex3 RET ; ff_dirac_hpel_filter_h_sse2(uint8_t *dst, const uint8_t *src, int width); -cglobal dirac_hpel_filter_h, 3,3,8, dst, src, width +cglobal dirac_hpel_filter_h, 3,3,7, dst, src, width dec widthd - pxor m7, m7 + pxor m6, m6 and widthd, ~(mmsize-1) .loop: ; 7*(src[0] + src[1]) _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
