aboutsummaryrefslogblamecommitdiffstats
path: root/library/cpp/dot_product/dot_product_sse.h
blob: 814736007d08f405c558d262cbfc223a4b07ec0b (plain) (tree)

















                                                                                   
#pragma once

#include <util/system/types.h>
#include <util/system/compiler.h>

Y_PURE_FUNCTION
i32 DotProductSse(const i8* lhs, const i8* rhs, size_t length) noexcept;

Y_PURE_FUNCTION
ui32 DotProductSse(const ui8* lhs, const ui8* rhs, size_t length) noexcept;

Y_PURE_FUNCTION
i64 DotProductSse(const i32* lhs, const i32* rhs, size_t length) noexcept;

Y_PURE_FUNCTION
float DotProductSse(const float* lhs, const float* rhs, size_t length) noexcept;

Y_PURE_FUNCTION
double DotProductSse(const double* lhs, const double* rhs, size_t length) noexcept;