This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 0096b488257cdfe9ac5acf51637c7974973e22a3
Author:     Ramiro Polla <[email protected]>
AuthorDate: Sat Jul 18 00:24:21 2026 +0200
Commit:     Ramiro Polla <[email protected]>
CommitDate: Wed Jul 22 14:07:37 2026 +0000

    swscale/aarch64/ops_asmgen: load values from exec before performing setup
    
    This changes little for the current CPS code, which has fairly simple
    setup code. But in JIT we will factor out much more code from the main
    loop into the setup section.
    
    This also frees up the register used by exec (x0) earlier on, so it may
    be reused earlier in JIT code.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Ramiro Polla <[email protected]>
---
 libswscale/aarch64/ops_asmgen.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/libswscale/aarch64/ops_asmgen.c b/libswscale/aarch64/ops_asmgen.c
index e51f174630..71d36d4f62 100644
--- a/libswscale/aarch64/ops_asmgen.c
+++ b/libswscale/aarch64/ops_asmgen.c
@@ -316,9 +316,6 @@ static void asmgen_process(SwsAArch64Context *s, 
SwsCompMask imask, SwsCompMask
     if (nsaved)
         asmgen_prologue(s, saved_regs, nsaved);
 
-    /* Setup. */
-    s->setup = rasm_get_current_node(r);
-
     /* Load values from exec. */
     RasmOp exec_in[4];
     RasmOp exec_in_bump[4];
@@ -333,6 +330,9 @@ static void asmgen_process(SwsAArch64Context *s, 
SwsCompMask imask, SwsCompMask
     LOOP(imask, i) { i_ldr(r, s->in_bump[i],  exec_in_bump[i]);     
CMTF("in_bump[%u] = exec->in_bump[%u];", i, i); }
     LOOP(omask, i) { i_ldr(r, s->out_bump[i], exec_out_bump[i]);    
CMTF("out_bump[%u] = exec->out_bump[%u];", i, i); }
 
+    /* Setup. */
+    s->setup = rasm_get_current_node(r);
+
     int first_row  = rasm_new_label(r, NULL);
     int next_row   = rasm_new_label(r, NULL);
     int next_block = rasm_new_label(r, NULL);

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to