[PATCH 09/10] test: add workaround for __builtin_constant_p in test_memcpy_perf

Stephen Hemminger stephen at networkplumber.org
Tue Feb 11 23:13:05 CET 2025


On Tue, 11 Feb 2025 14:02:05 -0800
Andre Muezerie <andremue at linux.microsoft.com> wrote:

> There's no MSVC equivalent for compiler extension __builtin_constant_p,
> so a workaround is needed.
> 
> Signed-off-by: Andre Muezerie <andremue at linux.microsoft.com>

Prefer that __rte_constant worked on all platforms,
but template code is hard to maintain.


More information about the dev mailing list