From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: Re: [PATCH 1/3] eal/x86: run-time dispatch over memcpy Date: Wed, 30 Aug 2017 11:00:40 -0700 Message-ID: <20170830110040.20b037e6@xeon-e3> References: <1503626773-184682-1-git-send-email-xiaoyun.li@intel.com> <1503626773-184682-2-git-send-email-xiaoyun.li@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: bruce.richardson@intel.com, dev@dpdk.org, wenzhuo.lu@intel.com, zhihong.wang@intel.com, qi.z.zhang@intel.com To: Xiaoyun Li Return-path: Received: from mail-pg0-f52.google.com (mail-pg0-f52.google.com [74.125.83.52]) by dpdk.org (Postfix) with ESMTP id 6018F2BAF for ; Wed, 30 Aug 2017 20:00:43 +0200 (CEST) Received: by mail-pg0-f52.google.com with SMTP id b8so21916312pgn.5 for ; Wed, 30 Aug 2017 11:00:43 -0700 (PDT) In-Reply-To: <1503626773-184682-2-git-send-email-xiaoyun.li@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" On Fri, 25 Aug 2017 10:06:11 +0800 Xiaoyun Li 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 Recent versions of GCC also have better ways to handle this.