Article View: comp.arch
Article #441Re: Another Kick at Concertina III
From: John Savard
Date: Thu, 29 Oct 2026 16:11
Date: Thu, 29 Oct 2026 16:11
49 lines
3167 bytes
3167 bytes
On Thu, 29 Oct 2026 14:04:59 GMT, quadibloc@invalid.com (John Savard) wrote: >Even though that's an adequate amount of opcode space to long >instructions, it seems... unbalanced. The ISA is such that there is no way to squeeze out a big chunk of opcode space from the 32-bit instructions. The paired 15-bit short instructions, on the other hand, are more tempting. The obvious way to make more opcode space available here would be to give up the self-indulgence of supporting the Medium floating-point type in short instructions. Medium was included, however, precisely because it was useful for the architecture's intended primary application area, scientific computation. Given a 32-bit word instead of a 36-bit word, not only is Medium useful, however, but single precision is not useful. And that suggests choosing Medium and Double as the two floating types to support. But that exchanges unbalanced for... unhinged! Could I use a mode bit to switch between Medium/Double and Single/Double? Could I limit the harm by making that mode bit only changeable in kernel mode? Problem: then one has parts of the floating-point library that aren't accessible to programs that requested the other option on load. How about associating the mode with the memory containing the code by putting it inside the paging mechanism? Solves all the problems, at the cost of yuck. A Plan B suggests itself. Support all four basic floating types in short instructions, but give them only the first 16 registers instead of all 32. But that saves two bits, instead of just the one that is needed... Oh, of course. Acknowledge that Thumb Mode on the ARM required sacrifices, but avoid the most painful one. Replace unhinged with truly evil. Short instructions for double precision, the default type for scientific computation, get all 32 registers. Single, Medium, and Quad get 16 registers. This meets my opcode space goals, and avoids any temptation to consider a mode bit. John Savard
Technical Details
Message-ID:
<6ae36cab.8754109@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:
<6ae0f253.29507609@news.eternal-september.org> <6ae3514d.1748656@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: Another Kick at Concertina III Date: Thu, 29 Oct 2026 16:11:00 GMT Organization: A noiseless patient Spider Lines: 49 Message-ID: <6ae36cab.8754109@news.eternal-september.org> References: <6ae0f253.29507609@news.eternal-september.org> <6ae3514d.1748656@news.eternal-september.org> Injection-Date: Thu, 29 Oct 2026 16:10:56 +0000 (UTC) Injection-Info: dont-email.me; logging-data="3683324"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18JOmhF1Y5UruODQHwhawiybx6vZf9a3xQ="; posting-host="6fa63cca9407eb2d230e4d27a6a20dab" Cancel-Lock: sha1:zBt1K55XprU4MzD4yQRdyRQU7xQ= sha256:XxN/pKlu2JD0YXs47BceacZxRadHZuYQpBn/Y3wt1Zg= sha1:ltchl+3Jb/iSx27umi32DLa5bos= sha256:4+4af9pjNjKBS8+xdRTqEkuLiBBENCqyXy+WIok99Pk= X-Newsreader: Forte Free Agent 1.1/32.230