X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fnnue%2Flayers%2Fsimd.h;h=22c51980eccd5de5b253b91609377d38df418c08;hb=b4ad3a3c4b68f9c8736f444aeb3364f833247fdc;hp=381e7a68f8eeab8595092119329b5023e06aa795;hpb=037ef3e18dc7f5455cc671995ae38d5b4d1fce4a;p=stockfish diff --git a/src/nnue/layers/simd.h b/src/nnue/layers/simd.h index 381e7a68..22c51980 100644 --- a/src/nnue/layers/simd.h +++ b/src/nnue/layers/simd.h @@ -346,6 +346,19 @@ namespace Stockfish::Simd { #endif +#if defined (USE_NEON_DOTPROD) + + [[maybe_unused]] static void dotprod_m128_add_dpbusd_epi32x2( + int32x4_t& acc, + int8x16_t a0, int8x16_t b0, + int8x16_t a1, int8x16_t b1) { + + acc = vdotq_s32(acc, a0, b0); + acc = vdotq_s32(acc, a1, b1); + } + +#endif + #if defined (USE_NEON) [[maybe_unused]] static int neon_m128_reduce_add_epi32(int32x4_t s) {