This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 27a90f6ad4c62f1bbbc6cf74e78f4a5e0c9ccd37 Author: Andreas Rheinhardt <[email protected]> AuthorDate: Mon Jul 27 22:44:21 2026 +0200 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Thu Jul 30 23:31:33 2026 +0200 avcodec/x86/h264_intrapred: Reduce number of regs in pred4x4_tm_vp8_8 Avoids saving and restoring volatile xmm registers on Windows; no change in benchmarks here (on Unix64). Signed-off-by: Andreas Rheinhardt <[email protected]> --- libavcodec/x86/h264_intrapred.asm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/libavcodec/x86/h264_intrapred.asm b/libavcodec/x86/h264_intrapred.asm index d6b0335c54..a78a0b0e92 100644 --- a/libavcodec/x86/h264_intrapred.asm +++ b/libavcodec/x86/h264_intrapred.asm @@ -1699,24 +1699,24 @@ cglobal pred4x4_tm_vp8_8, 3,6,4 RET INIT_XMM ssse3 -cglobal pred4x4_tm_vp8_8, 3,3,8 +cglobal pred4x4_tm_vp8_8, 3,3,6 sub r0, r2 - movq m6, [tm_shuf] - pxor m1, m1 + movq m1, [tm_shuf] movd m0, [r0] - punpcklbw m0, m1 - movd m7, [r0-4] - pshufb m7, m6 + movd m5, [r0-4] lea r1, [r0+r2*2] + pxor m4, m4 + punpcklbw m0, m4 + pshufb m5, m1 movd m2, [r0+r2*1-4] movd m3, [r0+r2*2-4] movd m4, [r1+r2*1-4] + psubw m0, m5 movd m5, [r1+r2*2-4] - pshufb m2, m6 - pshufb m3, m6 - pshufb m4, m6 - pshufb m5, m6 - psubw m0, m7 + pshufb m2, m1 + pshufb m3, m1 + pshufb m4, m1 + pshufb m5, m1 paddw m2, m0 paddw m3, m0 paddw m4, m0 _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
