Add missing #ifdef __SSE2__, fixes #3382

This commit is contained in:
heckflosse 2016-07-12 17:28:16 +02:00
parent cb5e99ef62
commit 5127e94cc9

View File

@ -6244,6 +6244,7 @@ inline std::array<T, 4> middle4of6(const std::array<T, 6>& array)
return res;
}
#ifdef __SSE2__
template<>
inline std::array<vfloat, 4> middle4of6(const std::array<vfloat, 6>& array)
{
@ -6267,6 +6268,7 @@ inline std::array<vfloat, 4> middle4of6(const std::array<vfloat, 6>& array)
return res;
}
#endif
template<typename T>
inline std::array<T, 4> middle4of6(T arg0, T arg1, T arg2, T arg3, T arg4, T arg5)