Skip to content

Error in Packet4l definition

Summary

https://gitlab.com/libeigen/eigen/-/blob/master/Eigen/src/Core/arch/AVX/PacketMath.h#L1135

In line 1135 of file Eigen/src/Core/arch/AVX/PacketMath.h Packet4l is used, even if it is not defined. There is missing the query #ifdef EIGEN_VECTORIZE_AVX2 as in line 43.

Environment

  • Operating System : Windows 10
  • Architecture : x64
  • Eigen Version : 3.4.9
  • Compiler Version : MSVC
  • Vector Extension : SSE/AVX/NEON ...

Anything else that might help

  • Have a plan to fix this issue.
#ifdef EIGEN_VECTORIZE_AVX2
template<> EIGEN_STRONG_INLINE Packet4d  psignbit(const Packet4d& a)  { return _mm256_castsi256_pd(parithmetic_shift_right<63>((Packet4l)_mm256_castpd_si256(a))); }
#endif