This is an automated email from the git hooks/post-receive script.
Git pushed a commit to branch master
in repository ffmpeg.
The following commit(s) were added to refs/heads/master by this push:
new c352a9ab02 avutil/cpu: add CPU feature detection for AArch64 CRC32 on
OpenBSD
c352a9ab02 is described below
commit c352a9ab022b945307f1ad5d35575f695a13c2ca
Author: Brad Smith <[email protected]>
AuthorDate: Thu Feb 5 22:32:36 2026 -0500
Commit: Brad Smith <[email protected]>
CommitDate: Fri Feb 6 14:24:01 2026 -0500
avutil/cpu: add CPU feature detection for AArch64 CRC32 on OpenBSD
Signed-off-by: Brad Smith <[email protected]>
---
libavutil/aarch64/cpu.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavutil/aarch64/cpu.c b/libavutil/aarch64/cpu.c
index 6733b62123..ab297595d6 100644
--- a/libavutil/aarch64/cpu.c
+++ b/libavutil/aarch64/cpu.c
@@ -103,6 +103,8 @@ static int detect_flags(void)
if (sysctl(mib, 2, &isar0, &len, NULL, 0) != -1) {
if (ID_AA64ISAR0_DP(isar0) >= ID_AA64ISAR0_DP_IMPL)
flags |= AV_CPU_FLAG_DOTPROD;
+ if (ID_AA64ISAR0_CRC32(isar0) >= ID_AA64ISAR0_CRC32_BASE)
+ flags |= AV_CPU_FLAG_ARM_CRC;
}
mib[0] = CTL_MACHDEP;
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]