[dpdk-dev] [PATCH 1/3] eal/x86: run-time dispatch over memcpy

Stephen Hemminger stephen at networkplumber.org
Wed Aug 30 20:00:40 CEST 2017


On Fri, 25 Aug 2017 10:06:11 +0800
Xiaoyun Li <xiaoyun.li at intel.com> wrote:

> This patch dynamically selects functions of memcpy at run-time based
> on CPU flags that current machine supports. This patch uses function
> pointers which are bind to the relative functions at constrctor time.
> To make AVX512 instructions pass compilation, enable the switch in
> makefile.
> 
> Signed-off-by: Xiaoyun Li <xiaoyun.li at intel.com>

Recent versions of GCC also have better ways to handle this.



More information about the dev mailing list