From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v3] mk: gcc -march support for intel processors code names Date: Wed, 12 Oct 2016 16:20:57 +0200 Message-ID: <1953473.MFf4IE27Lk@xps13> References: <1471875574-29807-1-git-send-email-reshma.pattan@intel.com> <2355225.oGVz1zBJsg@xps13> <3AEA2BF9852C6F48A459DA490692831F010AE5D3@IRSMSX109.ger.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Pattan, Reshma" Return-path: Received: from mail-lf0-f49.google.com (mail-lf0-f49.google.com [209.85.215.49]) by dpdk.org (Postfix) with ESMTP id C8CEA558B for ; Wed, 12 Oct 2016 16:21:01 +0200 (CEST) Received: by mail-lf0-f49.google.com with SMTP id b81so77198473lfe.1 for ; Wed, 12 Oct 2016 07:21:01 -0700 (PDT) In-Reply-To: <3AEA2BF9852C6F48A459DA490692831F010AE5D3@IRSMSX109.ger.corp.intel.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-10-12 13:38, Pattan, Reshma: > From: Thomas Monjalon [mailto:thomas.monjalon@6wind.com] > > 2016-10-10 22:33, Reshma Pattan: > > > The GCC 4.9 -march option supports the intel code names for > > > processors, for example -march=silvermont, -march=broadwell. > > > The RTE_MACHINE config flag can be used to pass code name to the > > > compiler as -march flag. > > > > > > Signed-off-by: Reshma Pattan > > > > Applied, thanks > > > > How the -march=broadwell option will work with icc and clang? > > Clang does support broadwell option. > And I do have Icc version" icc (ICC) 16.0.3 20160415" which doesn't support code names. > > Any other info you are explicitly looking for? Yes, why are we still supporting ICC? Clearly this patch does not care about ICC. Note that it is not an acceptance blocker but it would be interesting to have some news of ICC from time to time, regarding supported archs and performance of the generated code.