Re: Decrement And Branch

Liste des GroupesRevenir à c arch 
Sujet : Re: Decrement And Branch
De : mitchalsup (at) *nospam* aol.com (MitchAlsup1)
Groupes : comp.arch
Date : 15. Aug 2024, 02:15:40
Autres entêtes
Organisation : Rocksolid Light
Message-ID : <57dd610c0306e65a98402af098d0fa8f@www.novabbs.org>
References : 1 2 3 4
User-Agent : Rocksolid Light
On Wed, 14 Aug 2024 8:53:22 +0000, Lawrence D'Oliveiro wrote:

On Wed, 14 Aug 2024 01:33:32 +0000, MitchAlsup1 wrote:
>
On Tue, 13 Aug 2024 22:00:12 +0000, Lawrence D'Oliveiro wrote:
>
On Tue, 13 Aug 2024 09:00:25 -0000 (UTC), I wrote:
>
However, the good old VAX (in its usual kitchen-sink fashion) had a
whole set of variations, including one that decremented down to -1
instead of zero. And the Motorola 68000 family only had the decrement
down to -1 version.
>
VAX example of how to use SOBGEQ instead of SOBGTR:
>
        movl    «loop count», Rn br      bottom_of_loop
top_of_loop:
        .... body of loop ...
bottom_of_loop:
        sobgeq  Rn, top_of_loop
>
Like I said, I wondered why this sort of thing wasn’t more common ...
>
Perhaps the RISC mantra has permeated the minds of ISA designers.
>
Would you prefer it with a decrement+separate conditional-jump
instruction pair?
I have real LOOP instructions:: ADD-CMP-BC and access to constants
so one can::
ADD #{1,2,3...31}, ADD #-{1,2,3,...31}, ADD register,
CMP #{1,2,3...31}, CMP #-{1,2,3...31}, CMP register,
BC {EQ, NE, LE, LT, GE, GT, LO, LS, HI, HS}
Any way you want.

Date Sujet#  Auteur
13 Aug 24 * Decrement And Branch24Lawrence D'Oliveiro
13 Aug 24 +* Re: Decrement And Branch2Anton Ertl
13 Aug 24 i`- Re: Decrement And Branch1MitchAlsup1
13 Aug 24 +- Re: Decrement And Branch1MitchAlsup1
14 Aug 24 +* Re: Decrement And Branch18Lawrence D'Oliveiro
14 Aug 24 i+* Re: Decrement And Branch3MitchAlsup1
14 Aug 24 ii`* Re: Decrement And Branch2Lawrence D'Oliveiro
15 Aug 24 ii `- Re: Decrement And Branch1MitchAlsup1
14 Aug 24 i`* Re: Decrement And Branch14Anton Ertl
15 Aug 24 i +* Re: Decrement And Branch4Lawrence D'Oliveiro
15 Aug 24 i i+- Re: Decrement And Branch1MitchAlsup1
15 Aug 24 i i`* Re: Decrement And Branch2Anton Ertl
16 Aug 24 i i `- Re: Decrement And Branch1Lawrence D'Oliveiro
15 Aug 24 i `* Re: Decrement And Branch9MitchAlsup1
15 Aug 24 i  `* Re: Decrement And Branch8Anton Ertl
15 Aug 24 i   +* Re: Decrement And Branch5MitchAlsup1
16 Aug 24 i   i`* Instruction counts (was: Decrement And Branch)4Anton Ertl
16 Aug 24 i   i +* Re: Instruction counts (was: Decrement And Branch)2Lawrence D'Oliveiro
16 Aug 24 i   i i`- Re: Instruction counts (was: Decrement And Branch)1Anton Ertl
16 Aug 24 i   i `- Re: Instruction counts1MitchAlsup1
15 Aug 24 i   +- Re: Decrement And Branch1MitchAlsup1
9 Sep 24 i   `- Re: Decrement And Branch1Kent Dickey
16 Aug 24 `* Re: Decrement And Branch2quadibloc
16 Aug 24  `- Re: Decrement And Branch1MitchAlsup1

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal