Article View: comp.arch
Article #602Re: A Fatal Concertina Flaw?
From: John Savard
Date: Mon, 09 Nov 2026 02:06
Date: Mon, 09 Nov 2026 02:06
24 lines
2369 bytes
2369 bytes
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 other is to have the interrupt process itself save at least one general register in addition to the PSW. John Savard
Technical Details
Message-ID:
<6af1289a.3595453@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:
<6af0853c.2944265@news.eternal-september.org> <11cq61r$3gjce$1@paganini.bofh.team> <6af0b9a6.16362578@news.eternal-september.org> <11cqs4r$3hsr6$1@paganini.bofh.team>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: A Fatal Concertina Flaw? Date: Mon, 09 Nov 2026 02:06:01 GMT Organization: A noiseless patient Spider Lines: 24 Message-ID: <6af1289a.3595453@news.eternal-september.org> 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> Injection-Date: Mon, 09 Nov 2026 02:05:59 +0000 (UTC) Injection-Info: dont-email.me; logging-data="935168"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18MhNXgMUj8XSSvruwWrl0OUIwVsrj8iyc="; posting-host="193a7e2c1739a160e17713edca58f301" Cancel-Lock: sha1:2Jt+zQvFmEY89hPo8DlZM3gLOqI= sha256:UuNjtunQReqAo6vG22gBP6fbM67aYNJV7qS6qr3hxRI= sha1:AQ2VdHUZJAGlzXbeOUI8UZYQOGw= sha256:dXgRb3TdxjmhyPxHUPTdKDWwOPwkf5pb73r9aEyQ5h0= X-Newsreader: Forte Free Agent 1.1/32.230