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

Git pushed a commit to branch master
in repository ffmpeg.

commit d4e5c08e18b9fb2e263fddf22d2f673934fa066b
Author:     Martin Storsjö <[email protected]>
AuthorDate: Tue Oct 7 15:28:36 2025 +0300
Commit:     Andreas Rheinhardt <[email protected]>
CommitDate: Sun Jan 4 15:49:30 2026 +0100

    configure: Use a different aarch64 feature in Clang workaround
    
    We use a dummy aarch64 feature to work around an issue in older
    Clang, where an .arch line such as ".arch armv8.2-a" doesn't take
    effect immediately, while one like ".arch armv8.2-a+feature" works.
    
    Previously, we used "crc" for this dummy feature to add (as an
    old feature that would be supported widely by old toolchains).
    But as we may want to actually use crc features and detect whether
    they are supported, we may want to switch to another feature.
    
    Use the "fp" feature instead, for the purposes of this extra
    feature in the .arch lines. (The "fp" feature indicates floating
    point support, which is implicitly part of the baseline feature
    set anyway.)
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index ed460543b7..017760c5e6 100755
--- a/configure
+++ b/configure
@@ -6451,10 +6451,10 @@ if enabled aarch64; then
         # also had a bug (https://github.com/llvm/llvm-project/issues/32220)
         # causing a plain ".arch <level>" to not have any effect unless it
         # had an extra "+<feature>" included - but it was activated on the next
-        # ".arch_extension" directive. Check if we can include "+crc" as dummy
+        # ".arch_extension" directive. Check if we can include "+fp" as dummy
         # feature to make the .arch directive behave as expected and take
         # effect right away.
-        check_arch_level "${as_arch_level}+crc"
+        check_arch_level "${as_arch_level}+fp"
     fi
 
     enabled armv8 && check_insn armv8 'prfm   pldl1strm, [x0]'

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

Reply via email to