Tested-by: Han, Yingya <[email protected]>

Best Regards,
Yingya
-----Original Message-----
From: Richardson, Bruce <[email protected]> 
Sent: Monday, October 12, 2020 10:52 PM
To: [email protected]
Cc: Han, YingyaX <[email protected]>; Ananyev, Konstantin 
<[email protected]>; Tu, Lijuan <[email protected]>; Richardson, 
Bruce <[email protected]>
Subject: [PATCH] build: fix memcpy behaviour regression

When testing on some x86 platforms, code compiled with meson was observed 
running at a different power-license level to that compiled with make. This is 
due to the fact that meson auto-detects the instruction sets available on the 
system and enabled AVX512 rte_memcpy when AVX512 was available, while on make, 
a build time AVX-512 flag needed to be explicitly set to enable that AVX512 
rte_memcpy code path.

In the absense of runtime path selection for rte_memcpy - which is complicated 
by it being a static inline function in a header file - we can fix this 
behaviour regression by similarly having a build-time option which must be set 
to enable the AVX-512 memcpy path.


Reply via email to