packet_traits<Packet8i> missing some flags

Summary

packet_traits<Packet8i>::HasCmp is false for AVX, despite all the requisite functions being defined (pcmp_le , pcmp_lt, pcmp_eq). This can disable some packet ops which flag HasCmp as necessary.

Environment

AVX

Minimal Example

//show your code here

Steps to reproduce

  1. first step
  2. second step
  3. ...

What is the current bug behavior?

packet_traits inherits default_packet_traits, which defaults toHasCmp = 0.

What is the expected correct behavior?

HasCmp = 1

Relevant logs

Warning Messages

Benchmark scripts and results

Anything else that might help

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

  • [x ] Have a plan to fix this issue.