Received: (at 44238) by debbugs.gnu.org; 26 Oct 2020 13:40:53 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 26 09:40:53 2020 Received: from localhost ([127.0.0.1]:38903 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kX2k0-0000QH-T3 for submit <at> debbugs.gnu.org; Mon, 26 Oct 2020 09:40:53 -0400 Received: from mab.sdf.org ([205.166.94.33]:55708 helo=ma.sdf.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <akrl@HIDDEN>) id 1kX2jz-0000Q5-3d for 44238 <at> debbugs.gnu.org; Mon, 26 Oct 2020 09:40:51 -0400 Received: from akrl by ma.sdf.org with local (Exim 4.92) (envelope-from <akrl@HIDDEN>) id 1kX2jw-0003ev-Tc; Mon, 26 Oct 2020 13:40:48 +0000 From: Andrea Corallo <akrl@HIDDEN> To: Andrew Whatson <whatson@HIDDEN> Subject: Re: bug#44238: 28.0.50; [feature/native-comp] Build trampolines for FULL_AOT builds References: <CAPE069f4CRAD7L0UzOPjMR+mLebetqKOgG45JC51_GyCONuUrA@HIDDEN> Date: Mon, 26 Oct 2020 13:40:48 +0000 In-Reply-To: <CAPE069f4CRAD7L0UzOPjMR+mLebetqKOgG45JC51_GyCONuUrA@HIDDEN> (Andrew Whatson's message of "Mon, 26 Oct 2020 22:20:51 +1000") Message-ID: <xjf1rhlgl5r.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 44238 Cc: 44238 <at> debbugs.gnu.org X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -1.0 (-) Andrew Whatson <whatson@HIDDEN> writes: > Hi Andrea, > > In the spirit of pre-compiling as much as possible, would it make > sense to pre-compile all the trampolines when preparing a FULL_AOT > build? Hi Andrew, IMO is not worth compiling almost 1500 files for really using just a few of them. Also the compilation is realtivelly quick (~0.2s each on my machine), I guess the most is GCC/GAS startup time. Indeed this time is payed only once when the primitive is redefined the first time. That said if you want to experiment I think something like this should do the job: (mapatoms (=CE=BB (s)=20=20=20=20 (when (subr-primitive-p (symbol-function s)) (comp-trampoline-compile s)))) Ciao! Andrea
bug-gnu-emacs@HIDDEN
:bug#44238
; Package emacs
.
Full text available.Received: (at submit) by debbugs.gnu.org; 26 Oct 2020 12:21:06 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 26 08:21:06 2020 Received: from localhost ([127.0.0.1]:38766 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1kX1Uo-0006rc-3x for submit <at> debbugs.gnu.org; Mon, 26 Oct 2020 08:21:06 -0400 Received: from lists.gnu.org ([209.51.188.17]:35942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <whatson@HIDDEN>) id 1kX1Un-0006rV-6G for submit <at> debbugs.gnu.org; Mon, 26 Oct 2020 08:21:05 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45222) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from <whatson@HIDDEN>) id 1kX1Um-0007Uc-VL for bug-gnu-emacs@HIDDEN; Mon, 26 Oct 2020 08:21:05 -0400 Received: from mail-vs1-xe29.google.com ([2607:f8b0:4864:20::e29]:40826) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from <whatson@HIDDEN>) id 1kX1Ul-0004eY-GI for bug-gnu-emacs@HIDDEN; Mon, 26 Oct 2020 08:21:04 -0400 Received: by mail-vs1-xe29.google.com with SMTP id f4so4691242vsk.7 for <bug-gnu-emacs@HIDDEN>; Mon, 26 Oct 2020 05:21:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zZtphFLdPJ9Mu2s6JJ1xPdLjxXDZqjEKER2q3opDC2g=; b=UvRjMG6FS0lG8ZhdPm7fhd3mNEmdEogRYi+MHYmdIMsoCyjKPEcdeO5Ve8MOiDxpa7 ZucysuvQTvUAfrXmYpylLljbuI36kIVc80q1VzvysSF7iVPx26HnD7N7ktKhZuoYqbab rQHoO2ljR2w/vGPbmFthuU9onwFoQSlTfHGTz+NG1oMR7Gte12lHCGSerCKYRYDtUcU+ CdXSgyHFt6hmn+Kz8AtnKXBRaalolyw47WBi0vksBydWrVup1hnu5suO+DjgESfzeu+I 54W+krI2cwrC0DJSflFLLM9JEdaCZo2vJQ9K7p5bqIKF5KlVdWr4JmN6tWE/oz5AoJzf q7bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zZtphFLdPJ9Mu2s6JJ1xPdLjxXDZqjEKER2q3opDC2g=; b=AGEat0LBJR8QqbHntDXdg9Va4OniBK1++113ONRUJR6bGEbz1jhgKoYVfzju2Zgksf N4vVVTdCazJXnPPL5/ayO4JCOnTEvPs9cAohguASsPRQ0iyc5UYersBrs8/wnvA32FJV OPX84spok7z42dz5apL6mEPHPed/mZpzeWPHTMYtyZCMrF1t+dPx47acjPA0TnZ7pMoI nASaT4nNpkkywwy/dBeqe60TFmuh2VaGkNo0vbCuo1lFojc9DL9qCm4TugTBox50a84q OeLwo/2CYwv6HMKq8MSOukbZOUA8UumjuKxAv8tX12MeAR2AIQNJGUYfHWPyyN54J0s7 U5kw== X-Gm-Message-State: AOAM53379ecJEqaO4DPuRk9AR9oGEzr0X7YcnoAKgSoEOm3FTvu2q+Nc QSXvdBt12S+kS4tU/XW7WyECet1VOqXTs+PYTljKAb2W X-Google-Smtp-Source: ABdhPJyiPgqUeIs9qZy3oo2QG/smhV7GdRpJtVzo/mLAmuxLXikGJ5F1mVgV49XTnUMWbw2DAxp5dNeFsNnmgehurnY= X-Received: by 2002:a67:c492:: with SMTP id d18mr14181645vsk.54.1603714862132; Mon, 26 Oct 2020 05:21:02 -0700 (PDT) MIME-Version: 1.0 From: Andrew Whatson <whatson@HIDDEN> Date: Mon, 26 Oct 2020 22:20:51 +1000 Message-ID: <CAPE069f4CRAD7L0UzOPjMR+mLebetqKOgG45JC51_GyCONuUrA@HIDDEN> Subject: 28.0.50; [feature/native-comp] Build trampolines for FULL_AOT builds To: bug-gnu-emacs@HIDDEN Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2607:f8b0:4864:20::e29; envelope-from=whatson@HIDDEN; helo=mail-vs1-xe29.google.com X-detected-operating-system: by eggs.gnu.org: No matching host in p0f cache. That's all we know. X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.4 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -2.3 (--) Hi Andrea, In the spirit of pre-compiling as much as possible, would it make sense to pre-compile all the trampolines when preparing a FULL_AOT build? Cheers, Andrew
Andrew Whatson <whatson@HIDDEN>
:bug-gnu-emacs@HIDDEN
.
Full text available.bug-gnu-emacs@HIDDEN
:bug#44238
; Package emacs
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.