[ovs-dev] [PATCH] acinclude.m4: Define ARM vector instructions for cgcc.

Ilya Maximets i.maximets at ovn.org
Tue Nov 26 12:41:50 UTC 2019


On 22.11.2019 11:30, Ilya Maximets wrote:
> We need to define __ARM_NEON, __ARM_NEON__ or __ARM_FEATURE_SIMD32
> depending on the compiler and its version in order to make sparse happy
> while checking DPDK headers on ARM.  This also will allow us to check
> same vectorized code that we're building.
> 
> Reported-by: Lance Yang <Lance.Yang at arm.com>
> Signed-off-by: Ilya Maximets <i.maximets at ovn.org>
> ---

It turned out this doesn't really work with GCC, because NEON vector types
are GCC built-in types and sparse doesn't have support for them.

More details here:
https://mail.openvswitch.org/pipermail/ovs-dev/2019-November/365165.html

Best regards, Ilya Maximets.


More information about the dev mailing list