Re: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-05 Thread Roger Melton (rmelton)
.org >> Cc: Wathsala Wathawana Vithanage ; nd >> >> Subject: Re: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for >> 32bit ARM >> >> Considering this problem further, I don't see a way to avoid the CLANG >> compiler error with a functi

RE: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-05 Thread Wathsala Wathawana Vithanage
gt; that would work for both GNU and clang. > > Any suggestions? > > > Regards, > Roger > > > On 12/2/24 8:26 PM, Ruifeng Wang wrote: > > > +Arm folks. > > > > From: Roger Melton (rmelton)

Re: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-04 Thread Roger Melton (rmelton)
d clang. Any suggestions? Regards, Roger On 12/2/24 8:26 PM, Ruifeng Wang wrote: +Arm folks. From: Roger Melton (rmelton) <mailto:rmel...@cisco.com> Date: Tuesday, December 3, 2024 at 3:39 AM To: dev@dpdk.org<mailto:dev@dpdk.org> <mailto:dev@dpdk.org>, Ruifeng Wang <mailto

RE: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-04 Thread Wathsala Wathawana Vithanage
> > clang14 does appear to support the vcopyq_laneq_u32() intrinsic, s0 we want > to skip the conditional implementation. > > Two approaches I have tested to resolve the error are: > > 1) skip if building with clang: > > > #if !defined(__clang__) && ((defined(RTE_ARCH_ARM) && > defined(R

Re: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-03 Thread Roger Melton (rmelton)
Subject: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM Hey folks, We are building DPDK with clang14 for a 32bit armv8-a based CPU and ran into a compile error with the following from lib/eal/arm/include/rte_vect.h: #if (defined(RTE_ARCH_ARM) &&

Re: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-02 Thread Ruifeng Wang
+Arm folks. From: Roger Melton (rmelton) Date: Tuesday, December 3, 2024 at 3:39 AM To: dev@dpdk.org , Ruifeng Wang Subject: lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM Hey folks, We are building DPDK with clang14 for a 32bit armv8-a based CPU and ran into a

lib/eal/arm/include/rte_vect.h fails to compile with clang14 for 32bit ARM

2024-12-02 Thread Roger Melton (rmelton)
Hey folks, We are building DPDK with clang14 for a 32bit armv8-a based CPU and ran into a compile error with the following from lib/eal/arm/include/rte_vect.h: #if (defined(RTE_ARCH_ARM) && defined(RTE_ARCH_32)) || \ (defined(RTE_ARCH_ARM64) && RTE_CC_IS_GNU