Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.compilers > #3145

Re: Assembling span-dependent instructions

From gah4 <gah4@u.washington.edu>
Newsgroups comp.compilers
Subject Re: Assembling span-dependent instructions
Date 2022-07-29 14:22 -0700
Organization Compilers Central
Message-ID <22-07-058@comp.compilers> (permalink)
References <22-07-049@comp.compilers> <22-07-052@comp.compilers> <22-07-055@comp.compilers>

Show all headers | View raw


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.

Back to comp.compilers | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Assembling span-dependent instructions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-07-27 16:32 +0000
  Re: Assembling span-dependent instructions Kaz Kylheku <480-992-1380@kylheku.com> - 2022-07-27 22:52 +0000
    Re: Assembling span-dependent instructions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-07-28 05:56 +0000
    Re: Assembling span-dependent instructions antispam@math.uni.wroc.pl - 2022-07-28 12:15 +0000
      Re: Assembling span-dependent instructions gah4 <gah4@u.washington.edu> - 2022-07-29 14:22 -0700
      Re: Assembling span-dependent instructions Kaz Kylheku <480-992-1380@kylheku.com> - 2022-07-29 22:36 +0000
  RE: Assembling span-dependent instructions Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-07-28 16:02 +0300
    RE: Assembling span-dependent instructions anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2022-07-30 09:28 +0000
      RE: Assembling span-dependent instructions Christopher F Clark <christopher.f.clark@compiler-resources.com> - 2022-07-31 02:28 +0300

csiph-web