Article View: comp.arch
Article #120Re: Concertina II Update
From: John Savard
Date: Wed, 14 Oct 2026 22:34
Date: Wed, 14 Oct 2026 22:34
61 lines
4906 bytes
4906 bytes
On Wed, 14 Oct 2026 18:10:56 GMT, quadibloc@invalid.com (John Savard) wrote: >I've now found more opcode space lurking around with which I was able >to add back in some instructions from previous Concertina II >incarnations I had needed to leave out. These extra instructions, >though, will not be amenable to inclusion within blocks with Type III >or Type II headers by the mechanism described above, as they belong to >another opcode space. I should be happy about this. But this little bit of opcode space I found hiding under the rug is twice as large as the regular opcode space I started out using for 48-bit instructions! That seems a bit... odd. Still, I am glad to have those instructions back. Also, though, one change I made for this iteration of Concertina II may have been - indeed, almost certainly was - a mistake that I will need to change back. I shortened the exponent field of the internal form of floating-point numbers, to match that of the 8087's "temporary real". This rules out supporting the new IEEE 754 128-bit and 256-bit floats with interoperable floating-point operations in registers. (That is - load a single precision float, store a double or extended or whatever, and the value is correct. Just like on a 360.) I could definitely add, out there in exotic operation land, a set of floating-point operations that use an internal form with the longer exponent! But isn't it better for the standard, ordinary, floating-point operations to be compatible with the standard? I think it is better. My instincts were to design an ISA that looks like it was designed back in 1978 or even earlier, but those are not really good instincts; they're guiding me wrongly in matters such as this. 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.) John Savard
Technical Details
Message-ID:
<6acfff17.5535015@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-mailReferences:
<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>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: Wed, 14 Oct 2026 22:34:10 GMT Organization: A noiseless patient Spider Lines: 61 Message-ID: <6acfff17.5535015@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> Injection-Date: Wed, 14 Oct 2026 22:34:10 +0000 (UTC) Injection-Info: dont-email.me; logging-data="2012861"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18cktaN2pmoL5k3hZYjMALATlEOmKH+ybE="; posting-host="ec9e08968ddb85af9c4b3dfaa1134305" Cancel-Lock: sha1:re8/bp1685ML1X5ec+qDKEzkOlk= sha256:DhplRvYNAdkKHtH4LtaZtovVJEtoCW5riexqxaWMpx0= sha1:9BFxgKpZNm3dKl7C2GUTV8avn6Y= sha256:LEjSZu38o6+gplkErQIbBV16C82FSpVU3JqboDIyNdw= X-Newsreader: Forte Free Agent 1.1/32.230