| Deutsch English Français Italiano |
|
<vqkqo6$t2jk$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Thomas Koenig <tkoenig@netcologne.de> Newsgroups: comp.arch Subject: Re: Split instruction and immediate stream Date: Sun, 9 Mar 2025 19:38:46 -0000 (UTC) Organization: A noiseless patient Spider Lines: 18 Message-ID: <vqkqo6$t2jk$1@dont-email.me> References: <vqhjpv$65am$1@dont-email.me> <vqiikd$c35o$1@dont-email.me> <vqjkg0$l64n$1@dont-email.me> <vqk02b$n4o8$1@dont-email.me> <d2f5e1fb81dc8e898616fdd045e57e28@www.novabbs.org> Injection-Date: Sun, 09 Mar 2025 20:38:46 +0100 (CET) Injection-Info: dont-email.me; posting-host="cf86517914ff84cfc8bef7c7a4010536"; logging-data="952948"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+azJR03IsJZ5jiKcTri/oo1iZMktZ5FXU=" User-Agent: slrn/1.0.3 (Linux) Cancel-Lock: sha1:LcXmX6LNXSGfWQDl3Aama84T/Ps= MitchAlsup1 <mitchalsup@aol.com> schrieb: > On Sun, 9 Mar 2025 12:03:22 +0000, Robert Finch wrote: > >>> >> One thought I had a while ago using a similar technique to glyph's was >> to place constants at the beginning or the end of a cache line. Then the >> immediate base register is not needed. The relative offsets would be in >> terms of the current cache line. It has a couple of drawbacks though, >> one being the need to branch around the constant data; could be done by >> carefully maintaining the next fetch address. Another drawback is the >> code is repositionable only at cache-line boundaries. Might make >> assembling / linking code interesting. > > If you put the constants at the end of the cache line, you will have > accessed the constants while decoding the instructions and you can > figure out when to jump to the next cache line without branching. Did I mention I would not like to write an assembler for that? :-)