[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
wide set re-implementation progress
From: |
Gaius Mulley |
Subject: |
wide set re-implementation progress |
Date: |
Tue, 09 Jan 2024 16:01:16 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) |
Hi,
I thought I'd post an update on the re-implementation of wide sets in
gm2. The wide set re-implementation moves all of the set arithmetic
operators into a runtime library (removing a substantial amount of
complexity from the compiler). The development version of the compiler
will currently bootstrap using this technique (although it does not use
the runtime code). All the libraries in /libgm2 build (and many use wide
sets - SET OF CHAR - for example).
Wide sets are re-implemented internally as arrays of bytes - thus
removing any endian portability issues. Offloading these arithmetic
operators is inspired by m2r10 and when coupled with module inlining
should cause little if any performance penalty - and module inlining
would be available for general use. I anticipate that the
re-implementation of wide sets would arrive in gcc master around end of
April (during the start of stage1 - when major changes are allowed
again). At some point there should be a development branch in git
appear containing the wide set for testing,
regards,
Gaius
- wide set re-implementation progress,
Gaius Mulley <=