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: Fri, 12 Feb 2021 08:46:27 +0200

> From: Andrea Corallo <akrl@sdf.org>
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, Eli Zaretskii
>  <eliz@gnu.org>,
>         phillip.lord@russet.org.uk
> Date: Thu, 11 Feb 2021 20:52:20 +0000
> 
> > OTOH I realized the reason of the 45K, trampolines are not optimized ATM
> > so GCC does not prune unused functions.  I'll modify to have them
> > compiled at least at O1 and follow-up on the corresponding footprint.
> 
> Okay compiling at -O1 makes each trampoline on my system 17K, so ~25M in
> total for all ~1500 primitives.
> 
> The compilation time is almost the same, therfore I've set it as default
> for trampolines.

Thanks, but I'd still like to know what kind of code makes it so
large.  Can you describe what the trampoline does?

> If we want to go further into saving space Stefan's suggestion (the
> single eln containing all trampolines) has to be implemented.

Is it a lot of work?  If not, I think we should do it (unless we could
make the trampolines significantly smaller).



reply via email to

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