From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Native compiler - passing command line options to C compiler Date: Wed, 01 Sep 2021 19:04:13 +0300 Message-ID: <831r68qo3m.fsf@gnu.org> References: <83bl5fkvky.fsf@gnu.org> <87lf4gqr3q.fsf@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13469"; mail-complaints-to="usenet@ciao.gmane.io" Cc: arthur.miller@live.com, emacs-devel@gnu.org To: Alex =?utf-8?Q?Benn=C3=A9e?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 01 18:38:40 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLTG3-0003IJ-ES for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Sep 2021 18:38:39 +0200 Original-Received: from localhost ([::1]:36384 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLTG2-0007K3-A6 for ged-emacs-devel@m.gmane-mx.org; Wed, 01 Sep 2021 12:38:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59246) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLSio-0008TM-B0 for emacs-devel@gnu.org; Wed, 01 Sep 2021 12:04:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55182) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLSin-0007tX-MA; Wed, 01 Sep 2021 12:04:17 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3861 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLSim-0003w4-Km; Wed, 01 Sep 2021 12:04:17 -0400 In-Reply-To: <87lf4gqr3q.fsf@linaro.org> (message from Alex =?utf-8?Q?Benn?= =?utf-8?Q?=C3=A9e?= on Wed, 01 Sep 2021 15:58:19 +0100) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:273669 Archived-At: > From: Alex Bennée > Cc: Arthur Miller , emacs-devel@gnu.org > Date: Wed, 01 Sep 2021 15:58:19 +0100 > > > I guess -march=native is something handled by GCC itself, and here we > > don't have it? If you want to be sure, ask this question on the GCC > > list, or report as a bug to their Bugzilla. > > Shouldn't we be ensuring -march=native for all JIT code anyway? Are the > native eln files ever considered portable/packagable or will they always > be a product of the users current system? I'm not sure it's the best default. GCC defaults are better, IMO, certainly for the first release of this feature. GCC doesn't use some default without a reason.