1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-27 09:11:48 -07:00
Commit graph

7065 commits

Author SHA1 Message Date
Helmut Eller
891938de73 * mps/code/global.c (GlobalsDescribe): Include tracedTime. 2025-11-26 10:41:34 +01:00
Helmut Eller
0d79158b3b * mps/code/poolamc.c (AMCBufInit): Accept optional MPS_KEY_GEN arg. 2025-11-17 20:57:18 +01:00
Helmut Eller
0028b33d23 Recognize some Amd64 instruction patterns
* mps/code/prmci6.c (IsSimpleMov): Actually do something.
(IsRexPrefix, DecodeSimpleMov, RexR, RexB, RexX, DecodeDisp32)
(SignedInsElt, RegValue, DecodeModRM, DecodeSIB, DecodeCB): New helpers.
* mps/code/prmctest.c: New file.
* mps/code/comm.gmk: Add prmctest.
* mps/tool/testcases.txt: Here too.
2025-10-11 20:33:40 +02:00
Helmut Eller
58a9768528 Ignore dangling-pointer warning
* mps/code/ss.c (StackHot): [MPS_BUILD_GC]: On more platforms, not only
__MINGW32__.
2025-10-11 20:18:34 +02:00
Helmut Eller
f0eaa4ff78 * mps/code/poolawl.c (AWL0Init): Stick to C89. 2025-10-11 20:15:09 +02:00
Eli Zaretskii
d8e1669b3f ; * mps/code/arenacv.c (TEST_ARENA_SIZE): Fix a typo. 2025-10-10 10:01:44 +03:00
Helmut Eller
9d81d966a6 Implement an experimental AWL0 pool
Mostly boilerplate code to override the SegAccess method of AWLSeg.

* mps/code/poolawl.c (AWL0Pool, AWL0Seg): New classes.
(awl0SegAccess, awl0BufferFill): New methods.
2025-10-09 18:32:21 +02:00
Ken Brown
b57067e8a0 Support the Cygwin build of MPS
* mps/code/prmccyi6.c:
* mps/code/cyi6gc.gmk: New files, for the Cygwin build.

* mps/code/config.h:
* mps/code/lockix.c:
* mps/code/prmcix.c:
* mps/code/protix.c:
* mps/code/protsgix.c:
* mps/code/pthrdext.c:
* mps/code/testthr.h:
* mps/code/thix.c:
* mps/code/vmix.c: Port to Cygwin.

* mps/configure.ac (x86_64-*-cygwin*/no): Add definitions for
Cygwin.

* mps/code/mps.c [MPS_PF_CYI6GC]:
* mps/code/mpstd.h: Define 64-bit Cygwin stuff.

* mps/code/gcbench.c: [MPS_OS_CY]:
* mps/code/djbench.c [MPS_OS_CY]: Include alloca.h.

* mps/code/arenacv.c (TEST_ARENA_SIZE) [MPS_OS_CY]: Increase to
make test pass.  (Bug#74805)

* mps/code/arenavm.c (VMArenaCreate): Avoid compiler warning.
2025-10-08 10:33:45 -04:00
Eli Zaretskii
5123af3181 ; * mps/TESTING: Fix instructions for MS-Windows. 2025-09-27 10:26:36 +03:00
Eli Zaretskii
bfb7e809f5 ; * mps/.gitignore: Ignore aclocal.m4. 2025-09-27 10:11:15 +03:00
Eli Zaretskii
d17571dfb9 Fix MinGW build of mps/code/eventsql.c
* mps/code/eventsql.c (PRINTF_ARCHETYPE) [__MINGW32__]: Define as
__gnu_printf__ for MinGW builds, to support ANSI- and GNU-compatible
format specs.
(vlog, evlog, error): Use PRINTF_ARCHETYPE.
2025-09-27 10:07:26 +03:00
Helmut Eller
640d175de1 * mps/Makefile.in (config.status): Use config.status --recheck 2025-09-26 17:50:43 +02:00
Helmut Eller
0243724bc6 * mps/tool/testrun.sh (testansi, testpollnone): Skip Unix & Windows 2025-09-25 20:42:14 +02:00
Helmut Eller
77fefa38d4 * mps/configure.ac: Remove message about alternative build systems 2025-09-25 20:14:24 +02:00
Helmut Eller
a537dac53b Exclude two more tests on the anangc platform
* mps/tool/testcases.txt (awlut, awluthe): Mark those as
multi-threaded.
2025-09-25 18:40:39 +02:00
Helmut Eller
be1fb95983 Don't compile forktest on the anangc platform
* mps/code/comm.gmk (TEST_TARGETS): Exclude forktest.
2025-09-25 18:38:13 +02:00
Helmut Eller
d7c601d0eb Don't run Unix-only test on Msys
Detect Msys and use the existing X flag in testcases.txt to
exclude the forktest.

* mps/tool/testrun.sh (EXCLUDE_OS): New variable.
2025-09-25 18:33:30 +02:00
Helmut Eller
4de8c79615 * mps/code/comm.gmk (testratio): Add EXEEXT. 2025-09-25 18:27:44 +02:00
Eli Zaretskii
0cc5f338c4 ; * mps/code/mps.h (mps_word_t): Fix condition for MinGW64. 2025-09-25 11:39:05 +03:00
Eli Zaretskii
3c48ba7b87 * mps/TESTING: New file. 2025-09-25 10:27:29 +03:00
Eli Zaretskii
265981c232 Support the MinGW build of MPS and tests, part 2
* mps/code/mingw.gmk (CFLAGSCOMPILERSTRICT): Use gnu99, not gnu89.

* mps/configure.ac (EXEEXT): Define and use for program names.
(i*86-*-mingw*/no, x86_64-*-mingw*/no): Add definitions for MinGW.
2025-09-24 16:28:33 +03:00
Eli Zaretskii
e722ec9cfe Support the MinGW build of MPS and tests, part 1
* mps/code/w3i6gc.gmk:
* mps/code/w3i3gc.gmk:
* mps/code/mingw.gmk: New files, for the MinGW build.

* mps/code/ss.c (StackHot) [__MINGW32__ && __GNUC__ >= 12]: Ignore
dangling-pointer warnings.

* mps/code/global.c (ArenaFinalize): Avoid compiler warnings.

* mps/code/thw3.c (ThreadScan): Avoid compilation errors due to
prototype mismatch.

* mps/code/testlib.h (alloca): Don't redefine for MinGW.
(setenv): Don't redefine for mingw.org's MinGW.
(ulongest_t, longest_t): Separate definitions for MinGW64.

* mps/code/testlib.c (sizelog2) [__MINGW32__]: Fix comparison.
(rnd_align): Avoid name clashes with 'min' and 'max'.

* mps/code/spw3i3.c (StackProbe) [__GNUC__]: Implementation for
MinGW.

* mps/code/protw3.c: Avoid compiler warning.

* mps/code/mpstd.h: Define MinGW (_X86_) and MinGW64 (__X86_64)
configurations.

* mps/code/mpsiw3.c (mps_SEH_filter, mps_SEH_handler): Add
prototypes.

* mps/code/mps.c [MPS_PF_W3I3GC]: Define 32-bit MinGW stuff.
[MPS_PF_W3I6GC]: Define 64-bit MinGW64 stuff.

* mps/code/lockw3.c (RTL_RUN_ONCE, PRTL_RUN_ONCE_INIT_FN)
(RTL_RUN_ONCE_INIT, INIT_ONCE_STATIC_INIT, RTL_RUN_ONCE INIT_ONCE)
(PRTL_RUN_ONCE PINIT_ONCE, PINIT_ONCE_FN, InitOnceExecuteOnce):
Define for mingw.org's MinGW.

* mps/code/comm.gmk (EVENT_TARGETS, EXTRA_TARGETS, TEST_TARGETS)
(UNBUILDABLE_TARGETS): Add $(EXEEXT) to program names.
(TESTTHR): Define correct test for MS-Windows.
Don't fail the build if the *.d dependency files don't exist.
2025-09-24 13:02:30 +03:00
Helmut Eller
7c2bdaa548 Support out-of-tree builds
* mps/example/scheme/Makefile.in (VPATH): Set VPATH.
* mps/Makefile.in (COMMON_OPTS): New.  Pass SRCDIR down to sub-make.
* mps/code/comm.gmk (VPATH): Set VPATH from SRCDIR parameter
* mps/configure.ac (AC_CONFIG_COMMANDS): Copy .gmk makefiles and some
other things to the biuld directory.
2025-09-22 16:56:02 +02:00
Helmut Eller
7f3726d9a0 Better support for parallel make
* mps/code/comm.gmk (LIB_TARGETS, TEST_TARGETS, EVENT_TARGETS)
(TEST_SUITES, testmmqa): If VARIETY is not defined, then disable
parallism with .NOTPARALLEL.  Otherwise, avoid the recursive make with
a static pattern rule.
(clean-testansi, clean-testpollnone): New.
* mps/Makefile.in (build-via-make): Invoke submake explicit
VARIETY argument to allow more parallelism.
(test-make-build): Use clean-testansi and clean-testpollnone.
2025-09-15 08:23:25 +02:00
Helmut Eller
df5e64051e Remove some autoconf-generated files 2025-09-13 15:39:24 +02:00
Helmut Eller
aa64859978 Relax compiler flags in Makefile
We don't want to abort on every warning.

* mps/configure.ac (CFLAGS_GC): Remove -Werror.
* mps/Makefile.in (CFLAGSCOMPILERSTRICT): Add -Wno-error.
2025-09-13 13:51:28 +02:00
Gerd Möllmann
b736f9e6a4 * mps/code/mps.h (MPS_RM_PROT_INNER): Fix MPS issue #285. 2025-09-13 13:26:07 +02:00
Helmut Eller
771092f9e6 * mps/code/global.c (ArenaStep): Fix calculation of available time. 2025-09-13 13:23:52 +02:00
Helmut Eller
5eb8f34dbb Un-rename .gitignore 2025-09-13 10:03:13 +02:00
Richard Brooksby
3ce08c972f Clarifying that two avers are implementing .assume.parked in response to review comment <https://github.com/ravenbrook/mps/pull/298#issuecomment-2503792676>. 2024-11-27 13:25:08 +00:00
Richard Brooksby
a95e4aedc0 Removing unused variable that triggered the unused-but-set-variable warning when building on macos 14.7.1 with clang 15.0. 2024-11-27 13:25:08 +00:00
Richard Brooksby
ed60d9d003 Merging branch/2024-11-26/fix-manual-build for github pull request <https://github.com/ravenbrook/mps/pull/297>
Removing use of deprecated alias of VersionChange

GitHub-reference: https://github.com/Ravenbrook/mps/issues/297
2024-11-27 13:14:49 +00:00
Richard Brooksby
aefeb7ecaf Merging branch/2024-11-26/dont-fail-fast for github pull request <https://github.com/ravenbrook/mps/pull/296>
Tell GitHub not to cancel builds in the posix matrix

GitHub-reference: https://github.com/Ravenbrook/mps/issues/296
2024-11-27 12:31:38 +00:00
Richard Brooksby
e3c401efc5 Merging branch mavit/build-link for github pull request <https://github.com/ravenbrook/mps/pull/290>.
Fix link in readme to build docs.

GitHub-reference: https://github.com/Ravenbrook/mps/issues/290
2024-11-27 11:29:58 +00:00
Richard Brooksby
40088f2c9f Merging waywardmonkeys/fix-typos for github pull request <https://github.com/ravenbrook/mps/pull/282>
GitHub-reference: https://github.com/Ravenbrook/mps/issues/282
2024-11-27 11:19:17 +00:00
Richard Brooksby
3c043d5e92 Removing use of deprecated alias of versionchange, which was removed in sphinx 8 <https://www.sphinx-doc.org/en/master/changes/8.0.html#release-8-0-0-released-jul-29-2024> and breaks the manual build. 2024-11-26 17:52:58 +00:00
Richard Brooksby
000cd0a05a Tell github not to cancel builds in the posix matrix when one of them fails. 2024-11-26 16:33:39 +00:00
Richard Brooksby
559828b393 Adding documentation reference to use of checkout action to help clarify why we say "@v4", in response to review comment <https://github.com/ravenbrook/mps/pull/284#pullrequestreview-2461989972>. 2024-11-26 16:19:41 +00:00
Bruce Mitchener
9fe4b93060 Ci: update actions/checkout to v4 from v3.
This updates internally to using Node 20 and removes some deprecation
notices within the GitHub Actions UI about Node 16 being deprecated.
2024-11-26 16:19:41 +00:00
Bruce Mitchener
2e417719d4 Fix typos. 2024-11-26 22:10:23 +07:00
Peter Oliver
c4b739e51e Fix link in readme to build docs. 2024-08-21 11:11:18 +01:00
Bruce Mitchener
d11b62d21c Update config.guess to the version from autoconf 2.72
Fixes https://github.com/Ravenbrook/mps/issues/281. Identification of newer systems such as macOS on Apple
Silicon was not working correctly with the old version of this
file.
2024-02-29 23:03:00 +07:00
Richard Brooksby
b2d0c14356 Breaking up the glossary index with punctuation and spaces, in response to review <https://github.com/ravenbrook/mps/pull/166#pullrequestreview-1687977425>. 2023-10-21 09:57:09 +01:00
Richard Brooksby
ebdcaaf757 Adding references to issues behind design choice of sphinx_rtd_theme, in response to review <https://github.com/ravenbrook/mps/pull/166#discussion_r1365690820>. 2023-10-20 14:25:34 +01:00
Richard Brooksby
323cfb1260 Documented dependency on class "toctree-l1" in response to review <https://github.com/ravenbrook/mps/pull/166#discussion_r1365695601>. 2023-10-20 14:21:37 +01:00
Richard Brooksby
4726d6c933 Fixing file name in leader comment in response to review <https://github.com/ravenbrook/mps/pull/166#issuecomment-1771196393>. 2023-10-20 14:08:17 +01:00
Richard Brooksby
a6022f8b6b Catch-up merge of master into branch/2023-02-22/manual-rtd-theme 2023-10-11 12:08:54 +01:00
Richard Brooksby
013db39485 Catch-up merge from 'master into branch/2023-04-13/transforms 2023-06-17 11:35:18 +01:00
Richard Brooksby
5288a6b846 Adding references and clarifications in response to review <https://github.com/ravenbrook/mps/pull/214#discussion_r1230995545> and <https://github.com/ravenbrook/mps/pull/214#discussion_r1230997932>. 2023-06-17 11:33:25 +01:00
Richard Brooksby
1ea596e4f7 Cross-referencing rank assumptions in response to review <https://github.com/ravenbrook/mps/pull/214#discussion_r1230993565>. 2023-06-17 11:33:25 +01:00