Deutsch English Français Italiano |
<vqk21e$npck$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!eternal-september.org!.POSTED!not-for-mail From: Robert Finch <robfi680@gmail.com> Newsgroups: comp.arch Subject: Re: Instruction Parcel Size Date: Sun, 9 Mar 2025 08:36:59 -0400 Organization: A noiseless patient Spider Lines: 36 Message-ID: <vqk21e$npck$1@dont-email.me> References: <vnglop$33lk0$1@dont-email.me> <vqiq34$db80$1@dont-email.me> <895b2a1ff3894c671bdf9343ca98eaf8@www.novabbs.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 09 Mar 2025 13:37:03 +0100 (CET) Injection-Info: dont-email.me; posting-host="b2e2a670c6c37b7ac6bf664132202f6b"; logging-data="779668"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/pT/bezAR+3gLM2BgSx2kgovbeXjRFHiY=" User-Agent: Mozilla Thunderbird Cancel-Lock: sha1:ZlirreZj9u81IlAI+skdTXW7dg4= Content-Language: en-US In-Reply-To: <895b2a1ff3894c671bdf9343ca98eaf8@www.novabbs.org> Bytes: 2385 >> Conditional Branches (compare and branch) are 48-bit >> pp-R-TTTTTTTTTTTTTTTTTTT-aaaaaa-bbbbbb-A-ffff-ooooooo-01 > > Careful choice of oooooo may allow it to contain the condition > in the ffff field expanding the displacement to 25-effective > bits. > Gained a bit in the displacement field by allocating another row of opcodes and moving the 'R' bit into the opcode. So, now its pp-TTTTTTTTTTTTTTTTTTTT-aaaaaa-bbbbbb-A-ffff-oooRooo-01 a longer form of branches could also be made using a 96-bit instruction pp-{68{T}}-aaaaaa-bbbbbb-A-ffff-oooRooo-10 been pondering coming up with a shorter form (24-bit) branches, maybe by comparing to zero, BEQZ / BNEZ. Say, TTTTTTTTT-aaaaaa-ooooooo-00 would be good only for word-size integer value comparisons, but that might work a significant portion of the time. Having 20 T's gives 21.5 bits of effective displacement, as the displacement T's are multiplied by three. Using up eight of the free opcodes, so there is only about 13 left now, but I think it was worth it to get a branch displacement bit. Hmmm, I could get rid of the 'A' bit by moving it to a control register. One would likely want absolute addressing for branches for the entire program, not just one-at-a-time selection.