emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [feature/native-comp] breakage on build


From: Eli Zaretskii
Subject: Re: [feature/native-comp] breakage on build
Date: Wed, 10 Feb 2021 17:16:40 +0200

> From: Andrea Corallo <akrl@sdf.org>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>,
>         Andrea Corallo via "Emacs
>  development discussions." <emacs-devel@gnu.org>,
>         Eli Zaretskii
>  <eliz@gnu.org>
> Date: Wed, 10 Feb 2021 08:44:57 +0000
> 
> Compiling a trampoline is about 0.2s each (mostly GCC gas ld startup
> time).  Say we have ~1400 primitives this should translate into ~4.5 min
> of build time for something that in the average case is largely unused.

4.5 min out of how much?  Isn't building Emacs with native-comp take a
long time anyway?

> The trouble is that the simple code snippet I posted is not parallel and
> there's no trivial way to make make aware of all these targets to have
> it handling the parallelism.

How about if we make the necessary assembly snippet part of the DEFUN
macro?  Then compiling each .c file will produce those trampolines
ready to be used, no?  (I admit that I don't really understand the
details of those trampolines, so maybe the above makes no sense.)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]