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) {