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

Git pushed a commit to branch master
in repository ffmpeg.

commit 0edd75e150c243728bd788caeb4677d2905d094a
Author:     Georgii Zagoruiko <[email protected]>
AuthorDate: Fri Dec 19 17:52:18 2025 +0000
Commit:     Martin Storsjö <[email protected]>
CommitDate: Wed Mar 4 23:52:58 2026 +0200

    aarch64/asm.S: to support SME added macro to save/restore registers d8-d16
---
 libavutil/aarch64/asm.S | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/libavutil/aarch64/asm.S b/libavutil/aarch64/asm.S
index 9e9e11673b..04fe6286a8 100644
--- a/libavutil/aarch64/asm.S
+++ b/libavutil/aarch64/asm.S
@@ -113,6 +113,26 @@ DISABLE_SME
 DISABLE_SME_I16I64
 DISABLE_SME2
 
+#if HAVE_SME
+.macro sme_entry
+        stp             x29, x30, [sp, #-80]!
+        mov             x29, sp
+        stp             d8, d9, [sp, #16]
+        stp             d10, d11, [sp, #32]
+        stp             d12, d13, [sp, #48]
+        stp             d14, d15, [sp, #64]
+        smstart
+.endm
+
+.macro sme_exit
+        smstop
+        ldp             d8, d9, [sp, #16]
+        ldp             d10, d11, [sp, #32]
+        ldp             d12, d13, [sp, #48]
+        ldp             d14, d15, [sp, #64]
+        ldp             x29, x30, [sp], #80
+.endm
+#endif
 
 /* Support macros for
  *   - Armv8.3-A Pointer Authentication and

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

Reply via email to