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

Git pushed a commit to branch master
in repository ffmpeg.

commit d34ed6ce404bf4a6e73a8a9f9e36c0029e275c3a
Author:     Ramiro Polla <[email protected]>
AuthorDate: Sun Jul 19 18:23:37 2026 +0200
Commit:     Ramiro Polla <[email protected]>
CommitDate: Wed Jul 22 14:07:37 2026 +0000

    swscale/aarch64/ops_asmgen: use and/orr arrangement specifier helpers from 
rasm
    
    This way, we don't depend on the RasmOp having been correctly reshaped
    prior to being used.
    
    Sponsored-by: Sovereign Tech Fund
    Signed-off-by: Ramiro Polla <[email protected]>
---
 libswscale/aarch64/ops_asmgen.c | 10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

diff --git a/libswscale/aarch64/ops_asmgen.c b/libswscale/aarch64/ops_asmgen.c
index 09bf8f95a1..6a526da07e 100644
--- a/libswscale/aarch64/ops_asmgen.c
+++ b/libswscale/aarch64/ops_asmgen.c
@@ -684,9 +684,8 @@ static void asmgen_op_unpack(SwsAArch64Context *s, const 
SwsAArch64OpImplParams
     }
 
     /* Apply masks. */
-    reshape_all_vectors(s, 16, 1);
-    LOOP_MASK_BWD      (p, i) { i_and(r, vl[i], vl[i], vt[mask_idx[i]]); 
CMTF("vl[%u] &= 0x%x;", i, mask_val[i]); }
-    LOOP_MASK_BWD_VH(s, p, i) { i_and(r, vh[i], vh[i], vt[mask_idx[i]]); 
CMTF("vh[%u] &= 0x%x;", i, mask_val[i]); }
+    LOOP_MASK_BWD      (p, i) { i_and16b(r, vl[i], vl[i], vt[mask_idx[i]]); 
CMTF("vl[%u] &= 0x%x;", i, mask_val[i]); }
+    LOOP_MASK_BWD_VH(s, p, i) { i_and16b(r, vh[i], vh[i], vt[mask_idx[i]]); 
CMTF("vh[%u] &= 0x%x;", i, mask_val[i]); }
 }
 
 /*********************************************************************/
@@ -716,12 +715,11 @@ static void asmgen_op_pack(SwsAArch64Context *s, const 
SwsAArch64OpImplParams *p
     LOOP_VH(s, offset_mask, i) { i_shl(r, vh[i], vh[i], IMM(offsets[i])); 
CMTF("vh[%u] <<= %u;", i, offsets[i]); }
 
     /* Combine components. */
-    reshape_all_vectors(s, 16, 1);
     LOOP_MASK      (p, i) {
         if (i != 0) {
-            i_orr    (r, vl[0], vl[0], vl[i]); CMTF("vl[0] |= vl[%u];", i);
+            i_orr16b    (r, vl[0], vl[0], vl[i]); CMTF("vl[0] |= vl[%u];", i);
             if (s->use_vh) {
-                i_orr(r, vh[0], vh[0], vh[i]); CMTF("vh[0] |= vh[%u];", i);
+                i_orr16b(r, vh[0], vh[0], vh[i]); CMTF("vh[0] |= vh[%u];", i);
             }
         }
     }

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

Reply via email to