From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v2] mk: gcc -march support for intel processors code names Date: Mon, 10 Oct 2016 16:25:40 +0200 Message-ID: <2578548.bj2dOLfXoi@xps13> References: <57EB30E0.30106@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org To: "Liu, Yong" , reshma.pattan@intel.com Return-path: Received: from mail-lf0-f47.google.com (mail-lf0-f47.google.com [209.85.215.47]) by dpdk.org (Postfix) with ESMTP id ECA762BA6 for ; Mon, 10 Oct 2016 16:25:43 +0200 (CEST) Received: by mail-lf0-f47.google.com with SMTP id b81so128203550lfe.1 for ; Mon, 10 Oct 2016 07:25:43 -0700 (PDT) In-Reply-To: <57EB30E0.30106@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-09-28 10:54, Liu, Yong: > Tested-by: Yong Liu > FangFang Wei [...] > Description: Build test on different distributions > Command / instruction: > Verify build pass on listed distributions. > > OS GCC Kernel > Ubuntu 16.04 5.4.0 4.4.0-36-generic > Fedora23 5.3.1 4.2.3-300 > Fedora24 6.1.1 4.6.4-301 > Ubuntu 12.04 4.6.3 3.8.0-29 > Ubuntu 12.04 i686 4.6.3 3.8.0-29 > Ubuntu 14.04 4.8.4 3.16.0-30 > Ubuntu 14.04 i686 4.8.4 3.16.0-30 > Fedora18 4.7.2 3.6.10-4 > Fedora18 i686 4.7.2 3.6.10-4 > Fedora20 4.8.2 3.15.6-200 > Fedora20 i686 4.8.3 3.11.0 > Suse11SP2 4.5.1 3.0.13-0.2 > Suse12SP3 4.7.2 3.7.10-1.1 > RHEL7.0 4.8.2 3.10.0-123 > RHEL7.2 4.8.5 3.10.0-327 > CentOS7.0 4.8.5 3.10.0-327 > FreeBSD10.0 4.8.4 10.0-RELEASE > FreeBSD10.3 4.8.5 10.3-RELEASE I do not understand this test. This patch is dropping a lot of optimizations with compilers older than 4.9 ! Why not recommend GCC 4.9 and keep the graceful degradation for older versions, at least for one more year, even if it is not optimal for newer architectures?