Re: [PATCH] eal: fix compile failure of asm on MSVC toolchain

2023-10-26 Thread David Marchand
On Tue, Oct 17, 2023 at 4:06 PM Tyler Retzlaff wrote: > > Most MSVC targets do not support inline asm and __MWAITX__ is a GCC > implementation detail. Use a test of defined(RTE_TOOLCHAIN_MSVC) to > avoid conditional compilation of inline asm and instead use intrinsics > instead. > > Fixes: c7ed1ce

[PATCH] eal: fix compile failure of asm on MSVC toolchain

2023-10-17 Thread Tyler Retzlaff
Most MSVC targets do not support inline asm and __MWAITX__ is a GCC implementation detail. Use a test of defined(RTE_TOOLCHAIN_MSVC) to avoid conditional compilation of inline asm and instead use intrinsics instead. Fixes: c7ed1ce04704 ("eal/x86: add power intrinsics for AMD") Cc: sivaprasad.tumm.