]>
git.eshelyaron.com Git - emacs.git/log
Andrea Corallo [Mon, 3 Feb 2020 21:12:03 +0000 (21:12 +0000)]
Add assertion in load_comp_unit
While resurrecting from an image dump loading more than once the
same compilation unit does not make any sense.
Andrea Corallo [Mon, 3 Feb 2020 16:40:45 +0000 (16:40 +0000)]
Rework load mechanism to make Vcomp_loaded_handles unnecessary
Andrea Corallo [Sun, 2 Feb 2020 21:24:03 +0000 (22:24 +0100)]
Always define subr-native-elisp-p also without native compiler
AndreaCorallo [Sun, 2 Feb 2020 15:39:29 +0000 (15:39 +0000)]
Fix load_comp_unit for non zero speeds
'dlopen' returns the same handle when trying to load two times
the same shared.
Touching 'd_reloc' etc leads to fails in case a frame with a reference
to it in a register is active. (comp-speed >= 0)
Andrea Corallo [Mon, 20 Jan 2020 21:16:10 +0000 (21:16 +0000)]
Extend propagation to a wider set of (non pure) functions
Andrea Corallo [Mon, 20 Jan 2020 19:30:24 +0000 (19:30 +0000)]
Clean-up unnecessary member usage
Andrea Corallo [Mon, 20 Jan 2020 21:59:40 +0000 (21:59 +0000)]
Do no force speed while running the testsuite
Andrea Corallo [Mon, 20 Jan 2020 21:57:11 +0000 (21:57 +0000)]
Always force debug 0 for bootstrap test
Debug symbols would make it fail otherwise.
Andrea Corallo [Sun, 12 Jan 2020 10:47:50 +0000 (11:47 +0100)]
Split relocated data into two separate arrays
Rework the functionality of the previous commit to be more efficient.
Andrea Corallo [Sat, 11 Jan 2020 08:50:34 +0000 (09:50 +0100)]
Move function reloc data into pure space during bootstrap
Andrea Corallo [Fri, 3 Jan 2020 01:49:01 +0000 (02:49 +0100)]
Simplify configure.ac removing unnecessary empty parameters
Andrea Corallo [Wed, 1 Jan 2020 21:02:49 +0000 (22:02 +0100)]
Prevent false warning emission
Andrea Corallo [Thu, 2 Jan 2020 21:55:38 +0000 (22:55 +0100)]
Extend find-library-suffixes and find-library-name for eln support
Andrea Corallo [Thu, 2 Jan 2020 21:35:34 +0000 (22:35 +0100)]
Fix bytecomp message when native compiling
Andrea Corallo [Thu, 2 Jan 2020 21:14:25 +0000 (22:14 +0100)]
Do not block sw interrupts in batch mode (don't ignore C-c)
Andrea Corallo [Thu, 2 Jan 2020 21:02:20 +0000 (22:02 +0100)]
Better compile-clean and bootstrap-clean target definition
Andrea Corallo [Wed, 1 Jan 2020 11:14:53 +0000 (12:14 +0100)]
Revert "Pacify gcc -Wunused-function on Ubuntu 18.04.3"
This reverts commit
186152ba400b58d2d278c52d2e3d896decae767e.
Andrea Corallo [Wed, 1 Jan 2020 10:16:59 +0000 (11:16 +0100)]
set nativecomp configure option off by default
Andrea Corallo [Wed, 1 Jan 2020 20:13:13 +0000 (21:13 +0100)]
make standard emacs compilable again
Andrea Corallo [Tue, 31 Dec 2019 02:10:13 +0000 (03:10 +0100)]
check for libgccjit lib to be reachable in configure.ac
Andrea Corallo [Mon, 30 Dec 2019 23:37:47 +0000 (00:37 +0100)]
make build system configurable again
Andrea Corallo [Mon, 30 Dec 2019 23:19:22 +0000 (00:19 +0100)]
compile each eln to a temporary one and rename it as last
Andrea Corallo [Mon, 30 Dec 2019 23:20:35 +0000 (00:20 +0100)]
rework predicates to be homogeneous
Andrea Corallo [Sun, 29 Dec 2019 19:12:17 +0000 (20:12 +0100)]
do not crash compilation trying to optimize wrong code
Andrea Corallo [Sun, 29 Dec 2019 18:16:53 +0000 (19:16 +0100)]
fix aliased function names trampoline removal
Andrea Corallo [Sat, 28 Dec 2019 12:51:46 +0000 (13:51 +0100)]
disable propagation when non locals are present
Andrea Corallo [Sun, 29 Dec 2019 15:06:07 +0000 (16:06 +0100)]
rework build system for one pass
Andrea Corallo [Sun, 29 Dec 2019 21:46:06 +0000 (22:46 +0100)]
fix nit
Andrea Corallo [Sun, 29 Dec 2019 14:56:49 +0000 (15:56 +0100)]
add batch-byte-native-compile-for-bootstrap
Andrea Corallo [Sun, 29 Dec 2019 13:10:19 +0000 (14:10 +0100)]
add customize comp-never-optimize-functions
Andrea Corallo [Sat, 28 Dec 2019 10:39:29 +0000 (11:39 +0100)]
fix non local propagation handling
Andrea Corallo [Fri, 27 Dec 2019 22:02:47 +0000 (23:02 +0100)]
move LATE_RELOCS just before VERY_LATE_RELOCS
Andrea Corallo [Fri, 27 Dec 2019 15:28:44 +0000 (16:28 +0100)]
sign and check function link table
Andrea Corallo [Fri, 27 Dec 2019 16:02:23 +0000 (17:02 +0100)]
some rework to please --enable-check-lisp-object-type
Andrea Corallo [Fri, 27 Dec 2019 14:57:31 +0000 (15:57 +0100)]
rename IMPORTED_FUNC_LINK_TABLE -> FUNC_LINK_TABLE_SYM
Andrea Corallo [Thu, 26 Dec 2019 19:40:43 +0000 (20:40 +0100)]
do not force function inlining
Andrea Corallo [Thu, 26 Dec 2019 07:35:01 +0000 (08:35 +0100)]
set disassemble buffer in read only
Andrea Corallo [Wed, 25 Dec 2019 22:04:13 +0000 (23:04 +0100)]
fix naming for predicate SUBR_NATIVE_COMPILEDP
Andrea Corallo [Wed, 25 Dec 2019 19:24:01 +0000 (20:24 +0100)]
adjust max_specpdl_size to sustain bootstrap
Andrea Corallo [Tue, 24 Dec 2019 19:48:49 +0000 (20:48 +0100)]
add native support to the build system
Andrea Corallo [Wed, 25 Dec 2019 17:26:17 +0000 (18:26 +0100)]
always fill freloc before compiling too
Andrea Corallo [Wed, 25 Dec 2019 16:07:55 +0000 (17:07 +0100)]
move late relocs after emacs relocations
Andrea Corallo [Wed, 25 Dec 2019 15:02:46 +0000 (16:02 +0100)]
never load a compilation unit without filling the func link table
Andrea Corallo [Tue, 24 Dec 2019 21:26:20 +0000 (22:26 +0100)]
add elns to the gitignore
Andrea Corallo [Tue, 24 Dec 2019 19:38:13 +0000 (20:38 +0100)]
add batch-native-compile
Andrea Corallo [Tue, 24 Dec 2019 16:41:44 +0000 (17:41 +0100)]
mitigate ifdef proliferation
Andrea Corallo [Tue, 24 Dec 2019 15:58:44 +0000 (16:58 +0100)]
some style fixes
Andrea Corallo [Tue, 24 Dec 2019 15:52:40 +0000 (16:52 +0100)]
add native elisp subr pdumper support
Andrea Corallo [Tue, 24 Dec 2019 13:51:18 +0000 (14:51 +0100)]
add native compilation unit pdumper support
Andrea Corallo [Tue, 24 Dec 2019 13:12:40 +0000 (14:12 +0100)]
add pdump relocation phases
Andrea Corallo [Tue, 24 Dec 2019 07:09:21 +0000 (08:09 +0100)]
some more pdumper integration support
Andrea Corallo [Tue, 24 Dec 2019 07:18:08 +0000 (08:18 +0100)]
Revert "split out copy_file_fd"
This reverts commit
41203ad6abceb6dca39b2dab0adbd8fa711e1f89.
Andrea Corallo [Tue, 24 Dec 2019 07:17:40 +0000 (08:17 +0100)]
Revert "use memory mapped file for loading elns"
This reverts commit
5e07231151ef60a5066617ef6cec7c0077825b1c.
Andrea Corallo [Mon, 23 Dec 2019 13:27:55 +0000 (14:27 +0100)]
add initial native compiler pdumper support
Andrea Corallo [Mon, 23 Dec 2019 10:51:33 +0000 (11:51 +0100)]
add disassemble support for native compiled functions
Andrea Corallo [Mon, 23 Dec 2019 08:40:41 +0000 (09:40 +0100)]
add native-comp-unit-file primitive
Andrea Corallo [Mon, 23 Dec 2019 08:24:51 +0000 (09:24 +0100)]
better printing for native compilation unit
Andrea Corallo [Mon, 23 Dec 2019 08:04:24 +0000 (09:04 +0100)]
add subr-native-compilation-unit primitive
Andrea Corallo [Sun, 22 Dec 2019 08:58:33 +0000 (09:58 +0100)]
fix invalid read in fill_freloc
Andrea Corallo [Sun, 22 Dec 2019 08:52:46 +0000 (09:52 +0100)]
add support for native comp unit to type-of
Andrea Corallo [Sun, 22 Dec 2019 08:28:39 +0000 (09:28 +0100)]
rationalize load functions
Andrea Corallo [Sun, 22 Dec 2019 08:14:07 +0000 (09:14 +0100)]
clean-up unnecessary function prevent_gc
Andrea Corallo [Sun, 22 Dec 2019 08:13:46 +0000 (09:13 +0100)]
remove load_handle_stack and use the implementation one
Andrea Corallo [Sun, 22 Dec 2019 07:31:02 +0000 (08:31 +0100)]
better compilation unit definition
Andrea Corallo [Sun, 22 Dec 2019 07:12:27 +0000 (08:12 +0100)]
some rename on compilation unit struct
Andrea Corallo [Sat, 21 Dec 2019 17:57:56 +0000 (18:57 +0100)]
initial gc support
Andrea Corallo [Fri, 20 Dec 2019 21:32:19 +0000 (22:32 +0100)]
use memory mapped file for loading elns
Andrea Corallo [Fri, 20 Dec 2019 20:04:59 +0000 (21:04 +0100)]
split out copy_file_fd
Andrea Corallo [Fri, 20 Dec 2019 04:53:28 +0000 (05:53 +0100)]
introduce SUBRP_NATIVE_COMPILEDP
Andrea Corallo [Fri, 20 Dec 2019 04:23:02 +0000 (05:23 +0100)]
make dynlib_close active code
Andrea Corallo [Fri, 20 Dec 2019 04:22:09 +0000 (05:22 +0100)]
initial compilation unit as object add
Andrea Corallo [Thu, 19 Dec 2019 10:06:38 +0000 (11:06 +0100)]
add basic compilation unit into structure
Andrea Corallo [Thu, 19 Dec 2019 09:46:45 +0000 (10:46 +0100)]
better scratch slot support
Andrea Corallo [Thu, 19 Dec 2019 09:34:21 +0000 (10:34 +0100)]
fix some nits
Andrea Corallo [Mon, 16 Dec 2019 22:33:45 +0000 (23:33 +0100)]
make use of ARRAYELTS macro where possible
Andrea Corallo [Sun, 15 Dec 2019 17:26:25 +0000 (18:26 +0100)]
malloc instead of static alloc into emit_ctxt_code
make it good to be reentrant
Andrea Corallo [Sun, 15 Dec 2019 15:50:37 +0000 (16:50 +0100)]
fix comp--register-subr
Andrea Corallo [Sun, 15 Dec 2019 14:43:04 +0000 (15:43 +0100)]
remove advice dependency
Andrea Corallo [Sun, 15 Dec 2019 14:31:03 +0000 (15:31 +0100)]
clean-up old function relocation code
Andrea Corallo [Sat, 14 Dec 2019 08:28:12 +0000 (09:28 +0100)]
reworking relocation mechanism to use one single table
Andrea Corallo [Sun, 15 Dec 2019 14:06:07 +0000 (15:06 +0100)]
remove ifdef where unnecessary and add where they are
Andrea Corallo [Sun, 15 Dec 2019 08:35:50 +0000 (09:35 +0100)]
stringify within macro ADD_IMPORTED
Andrea Corallo [Sun, 15 Dec 2019 07:58:17 +0000 (08:58 +0100)]
use safe alloca in declare_imported_func
Andrea Corallo [Sat, 14 Dec 2019 07:57:17 +0000 (08:57 +0100)]
style nit
Andrea Corallo [Sun, 8 Dec 2019 19:52:34 +0000 (20:52 +0100)]
single function native compilation doc + interactive support + tests
Andrea Corallo [Sun, 8 Dec 2019 09:28:54 +0000 (10:28 +0100)]
add native interactive support test
Andrea Corallo [Sun, 8 Dec 2019 09:28:23 +0000 (10:28 +0100)]
add native documentation support test
Andrea Corallo [Sat, 7 Dec 2019 17:19:00 +0000 (18:19 +0100)]
native compile interactive functions support
Andrea Corallo [Sat, 7 Dec 2019 16:38:08 +0000 (17:38 +0100)]
add int-spec to comp-func
Andrea Corallo [Sat, 7 Dec 2019 16:37:31 +0000 (17:37 +0100)]
spill also interactive functions
Andrea Corallo [Sat, 7 Dec 2019 16:31:54 +0000 (17:31 +0100)]
renaming comp-decrypt-lambda-list -> comp-decrypt-arg-list
Andrea Corallo [Sat, 7 Dec 2019 10:28:21 +0000 (11:28 +0100)]
add native compiled function docstring support
Andrea Corallo [Sat, 7 Dec 2019 09:24:13 +0000 (10:24 +0100)]
let intern_c_string works creating with non-pure strings
Andrea Corallo [Wed, 27 Nov 2019 19:11:40 +0000 (20:11 +0100)]
better naming variable
Andrea Corallo [Tue, 26 Nov 2019 23:23:56 +0000 (00:23 +0100)]
documentation nit
Andrea Corallo [Tue, 26 Nov 2019 20:48:21 +0000 (21:48 +0100)]
do not emit elc file while native compiling
Andrea Corallo [Tue, 26 Nov 2019 16:13:44 +0000 (17:13 +0100)]
native-compile-async accept list as input
Andrea Corallo [Mon, 25 Nov 2019 21:16:50 +0000 (22:16 +0100)]
insert compilation end message at the bottom of the buffer
Andrea Corallo [Mon, 25 Nov 2019 20:27:11 +0000 (21:27 +0100)]
fix comp-propagate-insn type propagation
Andrea Corallo [Mon, 25 Nov 2019 19:33:47 +0000 (20:33 +0100)]
remove unnecessary return when printing blocks