Commit 7f73f94c15 for freeswitch.com

commit 7f73f94c15e200e8b176c8d63a164d6815ea111e
Author: Andrey Volk <andywolk@gmail.com>
Date:   Sat Oct 31 13:28:55 2026 +0300

    [libyuv] Fix build with GCC

    HammingDistance_AVX512VNNI clobbers k1 but lacks the
    LIBYUV_TARGET_AVX512VNNI attribute that its siblings use, so GCC on
    x86_64 fails with "the register 'k1' cannot be clobbered in 'asm' for
    the current target".

    ARGBAlphaBlendRow_SVE_SC uses "mov z25.s, #0x01010101", which the GNU
    assembler rejects as an invalid replicated MOV immediate. Use the
    equivalent "mov z25.b, #1", which sets the same value and is accepted
    by both GNU as and LLVM.

diff --git a/libs/libyuv/include/libyuv/row_sve.h b/libs/libyuv/include/libyuv/row_sve.h
index 7faf57db84..da7620d410 100644
--- a/libs/libyuv/include/libyuv/row_sve.h
+++ b/libs/libyuv/include/libyuv/row_sve.h
@@ -2484,7 +2484,7 @@ static inline void ARGBAlphaBlendRow_SVE_SC(const uint8_t* src_argb0,
       "cntw     %x[vl]                                  \n"
       "ptrue    p0.b                                    \n"
       "mov      z24.h, #1                               \n"
-      "mov      z25.s, #0x01010101                      \n"
+      "mov      z25.b, #1                               \n"
       "mov      z26.s, #0x00ffffff                      \n"
       "subs     %w[width], %w[width], %w[vl], lsl #1    \n"
       "b.lt     2f                                      \n"
diff --git a/libs/libyuv/source/compare_gcc.cc b/libs/libyuv/source/compare_gcc.cc
index 5828ceaa7b..ede75ff6e0 100644
--- a/libs/libyuv/source/compare_gcc.cc
+++ b/libs/libyuv/source/compare_gcc.cc
@@ -458,6 +458,7 @@ uint32_t HammingDistance_AVX512BW(const uint8_t* src_a,
 #ifdef HAS_HAMMINGDISTANCE_AVX512VNNI
 // Process 64 bytes per loop and the remainder of 1 to 63 bytes with masked
 // loads that read zeros, accumulating byte popcounts with vpdpbusd.
+LIBYUV_TARGET_AVX512VNNI
 uint32_t HammingDistance_AVX512VNNI(const uint8_t* src_a,
                                     const uint8_t* src_b,
                                     int count) {