> > This commit adds extra checks around the AVX-512 vpopcnt instruction
> > enabling, ensuring that in the function where the ISA is enabled the
> > compiler has also indicated its support for the ISA. This is achieved
> > by checking the __AVX512VPOPCNTDQ__ define, which the compiler sets if
> > it is capable of handling the vpopcnt instruction.
> >
> > If the compiler is not capable of handling vpopcnt, we fall back to
> > the emulated vpopcnt implementation.
> >
> > Reported-by: Ian Stokes <[email protected]>
> > Signed-off-by: Harry van Haaren <[email protected]>
> >
> > ---
> >
> > Based on a very old system with GCC 7, an issue was identified
> > where the compiler doesn't support the vpopcnt ISA, and resulted
> > in compilation failures.
> 
> Ping on this patch, would be good to get integrated on 2.16 and master to
> ensure Gcc7 builds correctly.

Thanks, tested OK, applied to mast and branch 2.16

Regards
Ian

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to