| Deutsch English Français Italiano |
|
<d2f5e1fb81dc8e898616fdd045e57e28@www.novabbs.org> View for Bookmarking (what is this?) Look up another Usenet article |
Path: news.eternal-september.org!eternal-september.org!feeder3.eternal-september.org!news.quux.org!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail From: mitchalsup@aol.com (MitchAlsup1) Newsgroups: comp.arch Subject: Re: Split instruction and immediate stream Date: Sun, 9 Mar 2025 19:23:04 +0000 Organization: Rocksolid Light Message-ID: <d2f5e1fb81dc8e898616fdd045e57e28@www.novabbs.org> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Injection-Info: i2pn2.org; logging-data="3618937"; mail-complaints-to="usenet@i2pn2.org"; posting-account="o5SwNDfMfYu6Mv4wwLiW6e/jbA93UAdzFodw5PEa6eU"; User-Agent: Rocksolid Light X-Spam-Checker-Version: SpamAssassin 4.0.0 X-Rslight-Site: $2y$10$Yecf1Ky2bavos7WvpxfAnu6zZAh/IvMX76CgaMEQn1kX5IPHmfPeu X-Rslight-Posting-User: cb29269328a20fe5719ed6a1c397e21f651bda71 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.