This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit dbf7354d98e63990e7ecfb9ec774fac6b959163e Author: Martin Storsjö <[email protected]> AuthorDate: Mon Mar 16 12:56:20 2026 +0200 Commit: Martin Storsjö <[email protected]> CommitDate: Fri Mar 20 13:16:06 2026 +0200 aarch64/inter_sme2: Remove needless backup/restore of x29/x30 The sme_entry/sme_exit macros already take care of backing up/restoring these registers. Additionally, as long as no function calls are made within the function, x30 doesn't need to be backed up at all. --- libavcodec/aarch64/vvc/inter_sme2.S | 46 ++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 26 deletions(-) diff --git a/libavcodec/aarch64/vvc/inter_sme2.S b/libavcodec/aarch64/vvc/inter_sme2.S index 093f823823..6d91b7921a 100644 --- a/libavcodec/aarch64/vvc/inter_sme2.S +++ b/libavcodec/aarch64/vvc/inter_sme2.S @@ -122,13 +122,11 @@ function ff_vvc_alf_filter_luma_8_sme2, export=1 // clip .req x5 // vb .req x6 sme_entry - stp x29, x30, [sp, #-96]! - mov x29, sp - stp x19, x20, [sp, #16] - stp x21, x22, [sp, #32] - stp x23, x24, [sp, #48] - stp x25, x26, [sp, #64] - stp x27, x28, [sp, #80] + stp x19, x20, [sp, #-80]! + stp x21, x22, [sp, #16] + stp x23, x24, [sp, #32] + stp x25, x26, [sp, #48] + stp x27, x28, [sp, #64] lsr x7, x3, #32 cnth x11 @@ -356,12 +354,11 @@ function ff_vvc_alf_filter_luma_8_sme2, export=1 add x0, x0, x2, lsl #2 b.gt 1b - ldp x19, x20, [sp, #16] - ldp x21, x22, [sp, #32] - ldp x23, x24, [sp, #48] - ldp x25, x26, [sp, #64] - ldp x27, x28, [sp, #80] - ldp x29, x30, [sp], #96 + ldp x21, x22, [sp, #16] + ldp x23, x24, [sp, #32] + ldp x25, x26, [sp, #48] + ldp x27, x28, [sp, #64] + ldp x19, x20, [sp], #80 sme_exit ret endfunc @@ -410,13 +407,11 @@ function ff_vvc_alf_filter_luma_10_sme2, export=1 mov w12, #1023 0: sme_entry - stp x29, x30, [sp, #-96]! - mov x29, sp - stp x19, x20, [sp, #16] - stp x21, x22, [sp, #32] - stp x23, x24, [sp, #48] - stp x25, x26, [sp, #64] - stp x27, x28, [sp, #80] + stp x19, x20, [sp, #-80]! + stp x21, x22, [sp, #16] + stp x23, x24, [sp, #32] + stp x25, x26, [sp, #48] + stp x27, x28, [sp, #64] lsr x7, x3, #32 cnth x11 @@ -644,12 +639,11 @@ function ff_vvc_alf_filter_luma_10_sme2, export=1 add x0, x0, x2, lsl #3 b.gt 1b - ldp x19, x20, [sp, #16] - ldp x21, x22, [sp, #32] - ldp x23, x24, [sp, #48] - ldp x25, x26, [sp, #64] - ldp x27, x28, [sp, #80] - ldp x29, x30, [sp], #96 + ldp x21, x22, [sp, #16] + ldp x23, x24, [sp, #32] + ldp x25, x26, [sp, #48] + ldp x27, x28, [sp, #64] + ldp x19, x20, [sp], #80 sme_exit ret endfunc _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
