From 66a0dd85571e55782a199330f5f0b60d3e33e47d Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Mon, 24 Aug 2026 08:31:37 +0000 Subject: [PATCH 1/2] Improve SVE2 optimizations of SimdDescrIntCosineDistancesMxNa. Replace the 4x1 unpack GEMM and missing 4/8-bit direct tiles with unpredicated 4x4 svdot kernels, vectorized unpack of packed 4-7 bit data, and transposed B norms. Drop the previous Mx1-only fallback for depths 4 and 8, extend MxNa tests, and note the change in release 7.2.165. Co-authored-by: igor.ermolaev --- docs/2026.html | 1 + src/Simd/SimdDescrInt.h | 2 +- src/Simd/SimdDescrIntCommon.h | 102 +++++ src/Simd/SimdSve2DescrInt.cpp | 6 +- src/Simd/SimdSve2DescrIntCdd.cpp | 663 +++++++++++++++++++------------ src/Simd/SimdSve2DescrIntCdu.cpp | 317 ++++++++++----- src/Test/TestDescrInt.cpp | 3 + 7 files changed, 749 insertions(+), 345 deletions(-) diff --git a/docs/2026.html b/docs/2026.html index 3521babca5..39b8c90114 100644 --- a/docs/2026.html +++ b/docs/2026.html @@ -112,6 +112,7 @@
Improving
  • SVE2 optimizations of function GetMoments.
  • SVE2 optimizations of function GetObjectMoments.
  • SVE2 optimizations of function DescrIntCosineDistance.
  • +
  • SVE2 optimizations of function DescrIntCosineDistancesMxNa.
  • Renaming