[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MPS: Please check if scratch/igc builds with native compilation
From: |
Andrea Corallo |
Subject: |
Re: MPS: Please check if scratch/igc builds with native compilation |
Date: |
Tue, 21 May 2024 15:35:05 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Andrea Corallo <acorallo@gnu.org> writes:
> Helmut Eller <eller.helmut@gmail.com> writes:
>
>> Is there some way to disable optimizations for libgccjit so that the
>> native compiler isn't quite so slow?
>
> The following should do the job, maybe is also an interesting test to
> do...
>
> modified lisp/emacs-lisp/comp.el
> @@ -54,7 +54,7 @@ comp
> "Emacs Lisp native compiler."
> :group 'lisp)
>
> -(defcustom native-comp-speed 2
> +(defcustom native-comp-speed 0
> "Optimization level for native compilation, a number between -1 and 3.
> -1 functions are kept in bytecode form and no native compilation is
> performed
> (but *.eln files are still produced, and include the compiled code in
Okay a datapoint, I did managed to bootstrap two times a native compiled
Emacs with only this patch installed with no errors.
But it might be related to the fact that the excuted code is simpler and
less stressful to the GC, AFAIR ssa renamining (the nativecomp pass
where I saw the crash initially) is heavy at consing other than
computing.
Andrea
- Re: MPS: Please check if scratch/igc builds with native compilation, (continued)
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Eli Zaretskii, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Eli Zaretskii, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation,
Andrea Corallo <=
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Eli Zaretskii, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Andrea Corallo, 2024/05/21
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Gerd Möllmann, 2024/05/22
- Re: MPS: Please check if scratch/igc builds with native compilation, Helmut Eller, 2024/05/22