Related articles |
---|
Assembling span-dependent instructions anton@mips.complang.tuwien.ac.at (2022-07-27) |
Re: Assembling span-dependent instructions 480-992-1380@kylheku.com (Kaz Kylheku) (2022-07-27) |
Re: Assembling span-dependent instructions anton@mips.complang.tuwien.ac.at (2022-07-28) |
Re: Assembling span-dependent instructions antispam@math.uni.wroc.pl (2022-07-28) |
Re: Assembling span-dependent instructions gah4@u.washington.edu (gah4) (2022-07-29) |
Re: Assembling span-dependent instructions 480-992-1380@kylheku.com (Kaz Kylheku) (2022-07-29) |
From: | gah4 <gah4@u.washington.edu> |
Newsgroups: | comp.compilers |
Date: | Fri, 29 Jul 2022 14:22:01 -0700 (PDT) |
Organization: | Compilers Central |
References: | 22-07-049 22-07-052 22-07-055 |
Injection-Info: | gal.iecc.com; posting-host="news.iecc.com:2001:470:1f07:1126:0:676f:7373:6970"; logging-data="55525"; mail-complaints-to="abuse@iecc.com" |
Keywords: | assembler, optimize |
Posted-Date: | 29 Jul 2022 17:50:26 EDT |
In-Reply-To: | 22-07-055 |
On Friday, July 29, 2022 at 1:38:25 PM UTC-7, anti...@math.uni.wroc.pl wrote:
(snip)
> Z architecture (modern versions of IBM 360) has
> such problems too: there are variants of instruction having different
> lengths but even longest variant have limited range of available
> offsets. At least some versions of Z architecture had severe penalty
> for simultaneusly accessing the same cache line for instruction fetch
> and data access, so putting constant pools in separate cache line was
> very important.
I presume this is true for any system with separate data/instuction
cache. It might be more of a problem for z/, with especially long
cache lines.
From the S/360 days, it was usual for data, even variable data, to be
close to code. That is, for non-reentrant programs. Most assembly
code and Fortran did that.
Otherwise, I believe the original question comes up on any machine
with variable sized branch instructions. Many of the stories I
remember are from the PDP-8.
A similar question comes up generating the Table of Contents
with LaTeX. When you run it, it generates the file used to make
the ToC next time. You run it again to generate the ToC, and
it will tell you if anything moved since the time before.
Hopefully it converges.
Return to the
comp.compilers page.
Search the
comp.compilers archives again.