dot_product_sse.h 553 B

12345678910111213141516171819
  1. #pragma once
  2. #include <util/system/types.h>
  3. #include <util/system/compiler.h>
  4. Y_PURE_FUNCTION
  5. i32 DotProductSse(const i8* lhs, const i8* rhs, size_t length) noexcept;
  6. Y_PURE_FUNCTION
  7. ui32 DotProductSse(const ui8* lhs, const ui8* rhs, size_t length) noexcept;
  8. Y_PURE_FUNCTION
  9. i64 DotProductSse(const i32* lhs, const i32* rhs, size_t length) noexcept;
  10. Y_PURE_FUNCTION
  11. float DotProductSse(const float* lhs, const float* rhs, size_t length) noexcept;
  12. Y_PURE_FUNCTION
  13. double DotProductSse(const double* lhs, const double* rhs, size_t length) noexcept;