From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from esa4.mentor.iphmx.com (esa4.mentor.iphmx.com [68.232.137.252]) by sourceware.org (Postfix) with ESMTPS id 7515B393D019 for ; Wed, 28 Apr 2021 17:29:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 7515B393D019 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: ofhr8bjV3kGXL0aHbgCVs0sshPSGYoFMI252UJ+c/ynFxs+LxUx6i6yEukkYkUlNWeec+KZ6G+ Tgd5tBrP2XSJseaVg8JAD1hSHZ6eAR3hsCSWSU40/G1XKMn4MADW+XUJTkC5CNGqG4J9kHvAtJ qmuPodalp5SDw8m7DEOLxOO46qswD4tRy3Yd2sbJQNCEXdCmMO/DFKmi5gr+nV42C5jmLH1lZZ s0HeLmRRZzAh6mkWdB5fplpZOY8/yH41qSIS8Cp+F9bovJgbLFKBo29HV+aN5i6XwWGCwhjqzP QSo= X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="60767927" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa4.mentor.iphmx.com with ESMTP; 28 Apr 2021 09:29:19 -0800 IronPort-SDR: z2X9h56ZZcNDT6jimWflUXYRCJQyvfKjS/mVDvN1ZFqgHYA6QK3xPNCSCwVWfGGkgdJB9PfA5q a1/cUfK9ACUcCqgoveSbqccb7U+iJ+fsuizhibOgZ1w8jAb9T4pgcCh1KoNlpm7lVI0o+cJQCs tlvbQeoO2oe9c+pHPBgMh5WehN+OyCiCFhFod3B3IMhy3F+Tvv1JunPliv4x+kXogNRANr30WN ql8FtVhtQ/ikp7MDipti3t5js7gynWRuLfcXEWGo+Ar4qBPIvCVrQEYLAAV9V3h/zMjGiSbabl UgY= Date: Wed, 28 Apr 2021 17:29:14 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Paul Zimmermann CC: Florian Weimer , Subject: Re: use of fma In-Reply-To: Message-ID: References: <87sg3ake7i.fsf@oldenburg.str.redhat.com> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-08.mgc.mentorg.com (139.181.222.8) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-3121.7 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, SPF_HELO_PASS, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Apr 2021 17:29:21 -0000 On Wed, 28 Apr 2021, Paul Zimmermann wrote: > produced should run on any x86_64. What I suggest is a configure option > which would take advantage of all nice features available on the processor > where we compile, with no guarantee whatsoever that it runs on any other > processor. In the above case the -march=x86-64-v3 option would be added That option is CC="gcc -march=native" (you can pass CC on the configure command line, I don't see any need for a separate option for this; note that we'd like to phase out the existing --with-cpu option (which affects both sysdeps directories and compiler options) and instead purely rely on the setting of CC). -- Joseph S. Myers joseph@codesourcery.com