πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #624

Re: A Fatal Concertina Flaw?

#624
From: MitchAlsup
Date: Tue, 10 Nov 2026 19:22
35 lines
2540 bytes
quadibloc@invalid.com (John Savard) posted:

> On Sun, 8 Nov 2026 22:12:45 -0000 (UTC), antispam@fricas.org (Waldek
> Hebisch) wrote:
> 
> >IIUC you are trying to add decent support for constants to
> >your architecture, in such case need to extra will vanish
> 
> Yes; since I agree with Mitch Alsup that putting constants as
> immediates within the instruction stream has a huge performance
> advantage over doing a separate fetch from memory, I felt that this
> was needed.
> And you're right - the loader can just relocate any immediate defined
> as being the value of an address.
> That's still put in a base register, though, so it's still true that a
> subroutine can't normally preserve all the registers of its caller.
> Which is not a disaster, since the calling convention can reserve a
> register for that purpose.

> What _would_ be intolerable would be if this limitation also meant
> that it was impossible to write an interrupt service routine on such
> an architecture. One way to solve that problem is to have a "Store
> Multiple Absolute" instruction with a 64-bit absolute address. The

That is effectively what I have done with Thread-State (5 cache lines
holding Program status line, and the RF). A machine CR points at T-S,
HW <conceptually> LDs T-S and stores T-S when needed {although other
Β΅Arch may provide banks of pre-loaded T-Ss}. 

> other is to have the interrupt process itself save at least one
> general register in addition to the PSW.

Let HW do it and remain re-entrant and interruptible even in the ISR.
> 
> John Savard
Technical Details
Message-ID: <1794338525-5857@newsgrouper.org>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!newsgrouper.org!.POSTED!not-for-mail
References: <6af0853c.2944265@news.eternal-september.org> <11cq61r$3gjce$1@paganini.bofh.team> <6af0b9a6.16362578@news.eternal-september.org> <11cqs4r$3hsr6$1@paganini.bofh.team> <6af1289a.3595453@news.eternal-september.org>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!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: A Fatal Concertina Flaw?
References: <6af0853c.2944265@news.eternal-september.org> <11cq61r$3gjce$1@paganini.bofh.team> <6af0b9a6.16362578@news.eternal-september.org> <11cqs4r$3hsr6$1@paganini.bofh.team> <6af1289a.3595453@news.eternal-september.org>
Date: Tue, 10 Nov 2026 19:22:05 GMT
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Message-ID: <1794338525-5857@newsgrouper.org>
Injection-Info: newsgrouper.org; mail-complaints-to="newsgrouper@yahoo.com"; posting-account=user5857
Injection-Date: Tue, 10 Nov 2026 19:22:05 GMT
User-Agent: Newsgrouper/0.9.0