Deutsch English Français Italiano |
<e8q71jljlep537vm7tbue7ch37o9q66l8k@4ax.com> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: John Savard <quadibloc@servername.invalid> Newsgroups: comp.arch Subject: Re: "Mini" tags to reduce the number of op codes Date: Mon, 08 Apr 2024 07:05:35 -0600 Organization: A noiseless patient Spider Lines: 34 Message-ID: <e8q71jljlep537vm7tbue7ch37o9q66l8k@4ax.com> References: <uuk100$inj$1@dont-email.me> <6mqu0j1jf5uabmm6r2cb2tqn6ng90mruvd@4ax.com> <15d1f26c4545f1dbae450b28e96e79bd@www.novabbs.org> <lf441jt9i2lv7olvnm9t7bml2ib19eh552@4ax.com> <9280b28665576d098af53a9416604e36@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Injection-Date: Mon, 08 Apr 2024 13:05:38 +0200 (CEST) Injection-Info: dont-email.me; posting-host="17d72f3665a043abd2df46001dddf359"; logging-data="3696458"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19NWI7dgmCT/ITk59JT7F4n2XHXTIGm8/E=" Cancel-Lock: sha1:XXyrLFOiXqu0E7PO+B/KsCJohHQ= X-Newsreader: Forte Free Agent 3.3/32.846 Bytes: 2514 On Sun, 7 Apr 2024 20:41:45 +0000, mitchalsup@aol.com (MitchAlsup1) wrote: >How do you attach 32-bit or 64-bit constants to 28-bit instructions ?? Yes, that's a problem. Presumably, I would have to do without immediates. An option would be to reserve some 16-bit codes to indicate a block consisting of one 28-bit instruction and seven 32-bit instructions, but that means a third instruction set. >How do you switch from 64-bit to Byte to 32-bit to 16-bit in one >set of 256-bit instruction decodes ?? By using 36-bit instructions instead of 28-bit instructions. >In complicated if-then-else codes (and switches) I often see one inst- >ruction followed by a branch to a common point. Does your encoding deal >with these efficiently ?? That is:: what happens when you jump to the >middle of a block of 36-bit instructions ?? Well, when the computer fetches a 256-bit block of code, the first four bits indicates whether it is composed of 36-bit instructions or 28-bit instructions. So the computer knows where the instructions are; and thus a convention can be applied, such as addressing each 36-bit instruction by the addresses of the first seven 32-bit positions in the block. In the case of 28-bit instructions, the first eight correspond to the 32-bit positions, the ninth corresponds to the last 16 bits of the block. John Savard