Article View: comp.arch
Article #99Re: Concertina II Update
From: Thomas Koenig
Date: Wed, 14 Oct 2026 07:03
Date: Wed, 14 Oct 2026 07:03
41 lines
3221 bytes
3221 bytes
Stephen Fuld <sfuld@alumni.cmu.edu.invalid> schrieb: > 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. 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? Different implementations treat this differently. The POWER ISA 3.1 (POWER10), which introduced 64-bit instructions, forbids them when they cross a cache line and just insert a NOP. They didn't want to add the logic to handle that case, and if the ABI specifies that functions are always aligned on a cache line (which makes sense) then the assembler can handle that. -- This USENET posting was made without artificial intelligence, artificial impertinence, artificial arrogance, artificial stupidity, artificial flavorings or artificial colorants.
Technical Details
Message-ID:
<11an9g0$188ao$1@dont-email.me>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> <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!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.arch Subject: Re: Concertina II Update Date: Wed, 14 Oct 2026 07:03:28 -0000 (UTC) Organization: A noiseless patient Spider Lines: 41 Message-ID: <11an9g0$188ao$1@dont-email.me> 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> Injection-Date: Wed, 14 Oct 2026 07:03:28 +0000 (UTC) Injection-Info: dont-email.me; logging-data="1319256"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/F4DDNFW3ofk9omPk52Vi/RcvDBBwo7L8="; posting-host="a9baf1d450e5d02e46a9cd42ce17d845" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:oJbRg3Z0J1cx3b+iRL1VZsyqMnY= sha256:rITpMsGbhv8nxF6oRJ0ZUqCrdAu340LLuPWAQ+E/PCI= sha1:9RZpEwWGiBw1cTGxBKOB/jc807c= sha256:Xx9EGLYQAFfvgBFzln1xKyPdAeCrgzsAxLNj84r67bQ=