🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #126

Re: Concertina II Update

#126
From: John Savard
Date: Thu, 15 Oct 2026 04:23
43 lines
4020 bytes
On Wed, 14 Oct 2026 22:34:10 GMT, quadibloc@invalid.com (John Savard)
wrote:

>During the design of this iteration, because I was using 48-bit
>instructions to make up for having only one 32-bit instruction set -
>and giving up the header complexity that led to 33-bit and 35-bit
>instruction sets - the idea crossed my mind of adding a fourth header
>type which allowed extra variability in instruction lengths.
>In addition to 17-bit short instructions, and the 32, 48, 64, 80, and
>96-bit instructions I now have, I was considering adding 24-bit and
>40-bit instructions. (And possibly 56-bit, 72-bit, and 88-bit
>instructions, though I doubted there would be any need for that.)
>
>Fortunately, though, I couldn't manage to think of a block header
>format which would be efficient in indicating where each instruction
>began. Since adding 40-bit instructions was in the interest of having
>more compact code, having a block header that was overly large would
>cancel out any benefits. (My best approach was to use a bit vector
>with only one bit for each 8 bits remaining in the block, _plus_ a
>five-bit decode field, so no space would be allowed between
>instructions before the area it reserves. Thus, since the bit vector
>always indicated the lengths of instructions accurately, and there are
>no 8-bit instructions, a 17-bit instruction starting with 0 could be
>encoded as a 16-bit instruction, and a 17-bit instruction starting
>with 1 could be encoded as a pair of 8-bit instructions! I felt doing
>that in a 48-bit header would still be wasteful, but if it could fit
>in a 40-bit header, this would indeed be "workable" - however, the
>idea was clearly too bizarre even for me to consider attempting.)

I knew that I would need to provide an extra bit at the end of the bit
string indicating the bytes at which instructions started, so that if
the last instruction in the block was complete, it could be executed
without fetching the next block.

But what about when the bit string begins with a series of ones? Maybe
one could work backwards from the zero that ended it - if there even
is one. But the way I indicate a 17-bit instruction starting with a 1
somewhat spoils the strict parallel decoding, so it seemed to me that
it would be helpful to have another extra bit, indicating if the
string of bits was preceded, from the active area of the previous
block, with an odd or an even number of ones.

John Savard
Technical Details
Message-ID: <6ad05470.285843@news.eternal-september.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <6acae6db.8174359@news.eternal-september.org> <6acbe522.964171@news.eternal-september.org> <6acc4fcf.11955218@news.eternal-september.org> <6acc662d.17681937@news.eternal-september.org> <6acc83b0.25239671@news.eternal-september.org> <6acd70be.8598406@news.eternal-september.org> <6ace2d62.56892546@news.eternal-september.org> <6ace37c9.59555281@news.eternal-september.org> <6acf66bc.4900250@news.eternal-september.org> <6acfc516.2159421@news.eternal-september.org> <6acfff17.5535015@news.eternal-september.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: quadibloc@invalid.com (John Savard)
Newsgroups: comp.arch
Subject: Re: Concertina II Update
Date: Thu, 15 Oct 2026 04:23:53 GMT
Organization: A noiseless patient Spider
Lines: 43
Message-ID: <6ad05470.285843@news.eternal-september.org>
References: <6acae6db.8174359@news.eternal-september.org> <6acbe522.964171@news.eternal-september.org> <6acc4fcf.11955218@news.eternal-september.org> <6acc662d.17681937@news.eternal-september.org> <6acc83b0.25239671@news.eternal-september.org> <6acd70be.8598406@news.eternal-september.org> <6ace2d62.56892546@news.eternal-september.org> <6ace37c9.59555281@news.eternal-september.org> <6acf66bc.4900250@news.eternal-september.org> <6acfc516.2159421@news.eternal-september.org> <6acfff17.5535015@news.eternal-september.org>
Injection-Date: Thu, 15 Oct 2026 04:23:53 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="2198879"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18/reQZApxs/38bsUSQaYZSgB0p0noUHsQ="; posting-host="be9f13abf94922d023abfb413a162bd7"
Cancel-Lock: sha1:Jn47ILJsmY8YYnwQHK/RBi50Vu0= sha256:nNilknuETk579XjBSm2SEuozLSIr1JCbGa2VPZT6khA=
	sha1:S89V0AUXzNjENeyGHfSN2OpAEno= sha256:yFS8h+8ib7Cy2LC6ct/CGr6ApdtfjqfnKtsXmKXGtIE=
X-Newsreader: Forte Free Agent 1.1/32.230