From mboxrd@z Thu Jan 1 00:00:00 1970 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=networkplumber-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=XnRss18cNblHdSgEQzsNGcfUqV4ai+5/epkoI36dha8=; b=0y2rMBLdQpy7QLI3Hfw+CDvj8k7o++rctOTwKhd48DQXCISv0iTXzi+YmkRzW0TlcX PaY5Txj8khdm9ys4uVbQVLBlNxgEE3A2kfb9eaYDVtzvKLAAsnAApiTXpXDf+vzAvWyE U2Ep00OOJFdVAuBJ2C/Ypty7g/E61gfiaNkPbrBmFCnSj5R3psxSNyYtHqgzcOr0lNR0 61n5AZEmj3V9NZANF256huWos/qmdccq0Bqa539k1CWnNFjR0+KoyxHHTbPz4tucbBcV /nM6RP5BwDwj/lkFWCV2vE0uEWIenE7LBUdM60TPfEqAumi1H7oqDp/ZiNvi/B5AkgLs CcGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=XnRss18cNblHdSgEQzsNGcfUqV4ai+5/epkoI36dha8=; b=DmJ7pcJZQ5t7E1y8GeQNCQD/RDXvBpomrIwz/ZgZ+RU4i4q5zLys6FZRm0xyKa9Cgb fni7sNN7VsLnkq7xqstZn0n8WPum4MY72rv1ms9Jnad7lIrAOiudwqcrxVInWKnHe1qm jcua9nx2tF0mYEApZG/vzhJUmv6ZDaguODFjJXXefrxw20tNpLABBwASVMY0Gc5MblYU lfdBngNDOqxdcRv0MBdP6t2IIjglos9Hc/Z30Vh2CeyJCKqrX86zfVh7FmqnqgIR/dkO TpMLQmQyMHmguxEDIyuui82s8m/pt84arBuOjEPzOfdKVlfgVD8jtUa73zGAkAD8PisV tUaA== X-Gm-Message-State: AHYfb5gNDijr3/sB0IfzpMdatPCmtS4/dhS7ZdBcvoxnqMd2VESRQKhK +dFdKlWrMthgcYcJ2Gen8g== X-Received: by 10.84.194.228 with SMTP id h91mr2914931pld.397.1504116042557; Wed, 30 Aug 2017 11:00:42 -0700 (PDT) Received: from xeon-e3 (76-14-207-240.or.wavecable.com. [76.14.207.240]) by smtp.gmail.com with ESMTPSA id c9sm10149010pfe.155.2017.08.30.11.00.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Wed, 30 Aug 2017 11:00:42 -0700 (PDT) Date: Wed, 30 Aug 2017 11:00:40 -0700 From: Stephen Hemminger To: Xiaoyun Li Cc: bruce.richardson@intel.com, dev@dpdk.org, wenzhuo.lu@intel.com, zhihong.wang@intel.com, qi.z.zhang@intel.com Message-ID: <20170830110040.20b037e6@xeon-e3> In-Reply-To: <1503626773-184682-2-git-send-email-xiaoyun.li@intel.com> 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 Subject: Re: [dpdk-dev] [PATCH 1/3] eal/x86: run-time dispatch over memcpy X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2017 18:00:43 -0000 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.