return for loop-back edges (Re: Concertlina II: Full Circle)

Liste des GroupesRevenir à c arch 
Sujet : return for loop-back edges (Re: Concertlina II: Full Circle)
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.arch
Date : 19. Jun 2024, 08:58:08
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2024Jun19.095808@mips.complang.tuwien.ac.at>
References : 1 2 3 4
User-Agent : xrn 10.11
mitchalsup@aol.com (MitchAlsup1) writes:
[the instruction that ends the loop]
No, it is not a memref--it is a return ! using the register from the
VEC  instruction. You "return" to the top of the loop. There is no
reason to use IP+Disp, and the fact there is no register nor disp-
lacement in LOOP enables it all to fit. In addition, when VEC executes,
>
IP is pointing at the top of the loop, requiring no calculation
whatsoever.

On a related note, about a year ago I have started research on the
performance effect of (programming language) virtual-machine IP
updates in interpreters.  The dependence chains of these IP updates
create a lower bound for the execution time of the program, and it
turns out that, if the interpreter is otherwise efficient enough, this
lower bound determines performance, and that we see speedups by up to
a factor of 3 (depending on benchmark and microarchitecture) by
optimizing these IP updates.

One of the optimizations we tried out was to break the dependence
chain be saving the IP on loop entry, and using that IP when starting
the next iteration; this eliminates the IP updates of one iteration
from the dependence chain of the next iteration.

- anton
--
'Anyone trying for "industrial quality" ISA should avoid undefined behavior.'
  Mitch Alsup, <c17fcd89-f024-40e7-a594-88a85ac10d20o@googlegroups.com>

Date Sujet#  Auteur
17 Jun 24 * Concertlina II: Full Circle39John Savard
17 Jun 24 `* Re: Concertlina II: Full Circle38MitchAlsup1
17 Jun 24  `* Re: Concertlina II: Full Circle37John Savard
18 Jun 24   `* Re: Concertlina II: Full Circle36MitchAlsup1
18 Jun 24    +* Re: Concertlina II: Full Circle34John Savard
18 Jun 24    i+* Re: Concertlina II: Full Circle31John Savard
18 Jun 24    ii+* Re: Concertlina II: Full Circle9Thomas Koenig
18 Jun 24    iii`* Re: Concertlina II: Full Circle8John Savard
18 Jun 24    iii `* Re: Concertlina II: Full Circle7Thomas Koenig
18 Jun 24    iii  +* Re: Concertlina II: Full Circle2John Savard
19 Jun 24    iii  i`- Re: Concertlina II: Full Circle1John Savard
19 Jun 24    iii  `* Re: Concertlina II: Full Circle4Stephen Fuld
19 Jun 24    iii   +- Re: Concertlina II: Full Circle1MitchAlsup1
19 Jun 24    iii   +- Re: Concertlina II: Full Circle1MitchAlsup1
19 Jun 24    iii   `- Re: Concertlina II: Full Circle1MitchAlsup1
18 Jun 24    ii`* Re: Concertlina II: Full Circle21MitchAlsup1
18 Jun 24    ii `* Re: Concertlina II: Full Circle20John Savard
18 Jun 24    ii  +* Re: Concertlina II: Full Circle18MitchAlsup1
19 Jun 24    ii  i+* Re: Concertlina II: Full Circle16John Savard
19 Jun 24    ii  ii`* Re: Concertlina II: Full Circle15MitchAlsup1
19 Jun 24    ii  ii +* Re: Concertlina II: Full Circle8John Savard
20 Jun 24    ii  ii i`* Re: Concertlina II: Full Circle7John Savard
23 Jun 24    ii  ii i +* Re: Concertlina II: Full Circle2John Savard
25 Jun 24    ii  ii i i`- Re: Concertlina II: Full Circle1John Savard
23 Jun 24    ii  ii i `* Re: Concertlina II: Full Circle4MitchAlsup1
23 Jun 24    ii  ii i  `* Re: Concertlina II: Full Circle3John Savard
24 Jun 24    ii  ii i   `* Re: Concertlina II: Full Circle2MitchAlsup1
24 Jun 24    ii  ii i    `- Re: Concertlina II: Full Circle1John Savard
19 Jun 24    ii  ii `* Re: Concertlina II: Full Circle6Terje Mathisen
19 Jun 24    ii  ii  +* Re: Concertlina II: Full Circle2MitchAlsup1
19 Jun 24    ii  ii  i`- Re: Concertlina II: Full Circle1Terje Mathisen
19 Jun 24    ii  ii  `* Re: Concertlina II: Full Circle3Thomas Koenig
19 Jun 24    ii  ii   `* Re: Concertlina II: Full Circle2MitchAlsup1
19 Jun 24    ii  ii    `- Re: Concertlina II: Full Circle1Terje Mathisen
20 Jun 24    ii  i`- Re: Concertlina II: Full Circle1John Savard
19 Jun 24    ii  `- Re: Concertlina II: Full Circle1MitchAlsup1
18 Jun 24    i`* Re: Concertlina II: Full Circle2MitchAlsup1
18 Jun 24    i `- Re: Concertlina II: Full Circle1BGB-Alt
19 Jun 24    `- return for loop-back edges (Re: Concertlina II: Full Circle)1Anton Ertl

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal