RE: [PATCH v2 2/5] eal: only use numbers as align parameters for MSVC

2025-02-26 Thread Konstantin Ananyev
> -Original Message- > From: Andre Muezerie > Sent: Wednesday, February 26, 2025 1:07 AM > To: andre...@linux.microsoft.com > Cc: dev@dpdk.org > Subject: [PATCH v2 2/5] eal: only use numbers as align parameters for MSVC > > After the instruction set updates

Re: [PATCH v2 2/5] eal: only use numbers as align parameters for MSVC

2025-02-26 Thread Bruce Richardson
On Tue, Feb 25, 2025 at 05:06:53PM -0800, Andre Muezerie wrote: > After the instruction set updates for MSVC the error below popped up: > > ..\lib\eal\x86\include\rte_vect.h(82): error C2059: syntax error: '(' > > The issue is that MSVC does not allow __rte_aligned(RTE_X86_ZMM_SIZE). > It only ac

[PATCH v2 2/5] eal: only use numbers as align parameters for MSVC

2025-02-25 Thread Andre Muezerie
After the instruction set updates for MSVC the error below popped up: ..\lib\eal\x86\include\rte_vect.h(82): error C2059: syntax error: '(' The issue is that MSVC does not allow __rte_aligned(RTE_X86_ZMM_SIZE). It only accepts numbers that are power of 2. So, even though RTE_X86_ZMM_SIZE represen