[PATCH] eal: fix compile failure of asm on MSVC toolchain
David Marchand
david.marchand at redhat.com
Thu Oct 26 10:43:11 CEST 2023
On Tue, Oct 17, 2023 at 4:06 PM Tyler Retzlaff
<roretzla at linux.microsoft.com> 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: c7ed1ce04704 ("eal/x86: add power intrinsics for AMD")
>
> Signed-off-by: Tyler Retzlaff <roretzla at linux.microsoft.com>
Acked-by: David Marchand <david.marchand at redhat.com>
Applied, thanks.
--
David Marchand
More information about the dev
mailing list