diff --git a/src/Functions/divide/divide.cpp b/src/Functions/divide/divide.cpp index 7676c2cb02b..5ab11df2a65 100644 --- a/src/Functions/divide/divide.cpp +++ b/src/Functions/divide/divide.cpp @@ -1,7 +1,7 @@ #include "divide.h" #include - +#if defined(__x86_64__) && !defined(ARCADIA_BUILD) namespace SSE2 { template @@ -13,6 +13,13 @@ namespace AVX2 template void divideImpl(const A * __restrict a_pos, B b, ResultType * __restrict c_pos, size_t size); } +#else +namespace Generic +{ + template + void divideImpl(const A * __restrict a_pos, B b, ResultType * __restrict c_pos, size_t size); +} +#endif template