This is an automated email from the git hooks/post-receive script. Git pushed a commit to branch master in repository ffmpeg.
commit 34784c89bf44e5cc27a786eeca05c6073a7cfb39 Author: Martin Storsjö <[email protected]> AuthorDate: Fri Oct 10 16:45:08 2025 +0300 Commit: Andreas Rheinhardt <[email protected]> CommitDate: Sun Jan 4 15:49:30 2026 +0100 configure: Support aarch64 arch_extension with a different name than the feature This allows naming the ffmpeg wide feature with a different (more elaborate) name than the raw cpu extension as it is spelled in the ".arch_extension" directives. --- configure | 23 ++++++++++++++++------- 1 file changed, 16 insertions(+), 7 deletions(-) diff --git a/configure b/configure index 017760c5e6..b8e920127c 100755 --- a/configure +++ b/configure @@ -1205,11 +1205,12 @@ check_arch_level(){ enabled tested_arch_level && as_arch_level="$level" } -check_archext_insn(){ - log check_archext_insn "$@" +check_archext_name_insn(){ + log check_archext_name_insn "$@" feature="$1" - instr="$2" - instr2="$3" + archext="$2" + instr="$3" + instr2="$4" # Check if the assembly is accepted in inline assembly. check_inline_asm ${feature}_inline "\"$instr \n\t $instr2\"" # We don't check if the instruction is supported out of the box by the @@ -1220,9 +1221,9 @@ check_archext_insn(){ enabled as_arch_directive && arch_directive=".arch $as_arch_level" || arch_directive="" - # Test if the assembler supports the .arch_extension $feature directive. - arch_extension_directive=".arch_extension $feature" - test_as <<EOF && enable as_archext_${feature}_directive || arch_extension_directive="" + # Test if the assembler supports the .arch_extension $archext directive. + arch_extension_directive=".arch_extension $archext" + test_as <<EOF && enable as_archext_${archext}_directive || arch_extension_directive="" $arch_directive $arch_extension_directive EOF @@ -1237,6 +1238,14 @@ $instr2 EOF } +check_archext_insn(){ + log check_archext_insn "$@" + feature="$1" + instr="$2" + instr2="$3" + check_archext_name_insn "$feature" "$feature" "$instr" "$instr2" +} + check_x86asm(){ log check_x86asm "$@" name=$1 _______________________________________________ ffmpeg-cvslog mailing list -- [email protected] To unsubscribe send an email to [email protected]
