🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #121

Re: Concertina II Update

#121
From: MitchAlsup
Date: Wed, 14 Oct 2026 22:34
45 lines
2991 bytes
Stephen Fuld <sfuld@alumni.cmu.edu.invalid> posted:

> On 10/13/2026 2:24 PM, MitchAlsup wrote:
> > 
> > quadibloc@invalid.com (John Savard) posted:
> > 
> >> On Sun, 11 Oct 2026 21:34:47 GMT, MitchAlsup
> >> <user5857@newsgrouper.org.invalid> wrote:
> >>
> >>> Have you measured the space saving of paired 16-bit instructions
> >>> versus not having any 16-bit instructions ?
> >>
> >> No, I'm not even sure how to conduct a valid measurement of that type.
> >> Constructing a compiler for my ISA and then turning it loose on a
> >> large corpus of FORTRAN would involve an immense amount of work.
> >>
> >> If a program consists mostly of operate instructions, and only a small
> >> percentage of them need to be three-address, then having 16-bit
> >> instructions would almost shrink the size of the program in half.
> > 
> > You can always have a 16-bit instruction after a 32-bit instruction.
> > You cannot have a 32-bit instruction after a 16-bit instruction (unless
> > your IP indexes memory on 16-bit boundaries. 
> 
> How costly is doing that?  Clearly, it means half the maximum 
> displacement for control instructions, but since most targets are fairly 
> close, that may not be too big an issue.

It is close to being an issue with 32-bit branch boundaries and very large
functions {think FPPPP which has close to 8192 instructions as straight
line code. (from SPARC V8/V9 memory). I can conceive of My 66000 16-bit
branch displacement sufficient (18-bits of signed byte offset), but it 
starts to cramp at 14-bits (15-bits of byte offset). I do not think any 
single subroutine will cross the direct BR 26-bit limit (28-bit byte
offset).

>                                           Then there is the potential 
> for a 32 bit instruction to cross a cache line boundary.  This seems to 
> cost some, but again how much?  ISTM that the costs appears to be non 
> zero, but modest.  Is that correct?

It's just more complexity and more chances to screw up.
> 
> 
Technical Details
Message-ID: <1792017264-5857@newsgrouper.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!newsgrouper.org!.POSTED!not-for-mail
References: <6acae6db.8174359@news.eternal-september.org> <1791754487-5857@newsgrouper.org> <6acc502d.12049968@news.eternal-september.org> <1791926696-5857@newsgrouper.org> <11an6qj$17f9f$1@dont-email.me>

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!newsgrouper.org!.POSTED!not-for-mail
From: MitchAlsup <user5857@newsgrouper.org.invalid>
Newsgroups: comp.arch
Subject: Re: Concertina II Update
References: <6acae6db.8174359@news.eternal-september.org>
  <1791754487-5857@newsgrouper.org>
  <6acc502d.12049968@news.eternal-september.org>
  <1791926696-5857@newsgrouper.org> <11an6qj$17f9f$1@dont-email.me>
Date: Wed, 14 Oct 2026 22:34:24 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1792017264-5857@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857
Injection-Date: Wed, 14 Oct 2026 22:34:24 GMT
User-Agent: Newsgrouper/0.9.0