Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: David Mosberger-Tang <davidm@AZStarNet.com>
Subject: Re: gdb
Date: Wed, 8 May 1996 21:34:26 -0700	[thread overview]
Message-ID: <871932ada340ee4a42bb7102260bfcd9.axp-list@archive.invalid> (raw)

>>>>> On Wed, 8 May 96 23:47 EDT, eric@aib.com (Eric Youngdale) said:

  Eric> 	A few further thoughts.  I am not trying to put you
  Eric> off of the idea of optimizing in such a way that we don't
  Eric> leave nops behind, but I just want to impress upon you how
  Eric> difficult such a thing really is.

  Eric> 	Normally the assembler will resolve some things such
  Eric> as local branches without the need for emitting a relocation.
  Eric> The idea is that the branch is pc-relative, so there is no
  Eric> point in wasting time and space by telling the linker about
  Eric> something which it doesn't need to handle anyways.

You know, the reason the OSF/1 optimizer flag is called -om is that it
uses the Object Management (?) technology developed by DEC (this is
the same OM as in AT*OM*, which allows you to do purify and pixie-like
kind of stuff under OSF/1---just more flexibly).

In other words: it's pretty heavy duty stuff.

The other tradeoff is execution time: what you can do at assembly
time, you have to do only once.  This is particularly important for
(static) libraries.  Worse: the size of object files is an important
consideration as well.  We do not want to make object files any bigger
than the current ECOFF files are already.  In fact, I'd like to see
them *much* smaller (particularly the debugging info is huge).

IMHO, binary translation would be the way to go.  It allows you to
achieve the benefits of a smart linking without having to modify the
linker, the assembler, and the object file format all at once.  It's
not for free, obviously, but I like the idea of having an optimizer
that's as independent of other tools as possible.

DEC is huge in this area, but I think it also means that it is about
as proprietary as it gets.

	--david

             reply	other threads:[~1996-05-09  4:34 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-05-09  4:34 David Mosberger-Tang [this message]
  -- strict thread matches above, loose matches on Subject: below --
1999-08-29  0:09 gdb Larry Snyder
1999-08-30 12:07 ` gdb Max Weninger
1999-08-30 15:20   ` gdb Michal Jaegermann
1999-08-30 17:12     ` gdb Max Weninger
1999-08-30 18:19       ` gdb Wes Bauske
1999-08-30 20:15         ` gdb Michal Jaegermann
1999-08-31  8:56         ` gdb Max Weninger
     [not found] <m0uM6E7-0001thC@atheist.tamu.edu>
1996-05-22 11:45 ` gdb Jim Nance
     [not found] <Pine.SUN.3.91.960510085342.3960A-100000@edge.edge.net>
1996-05-17 15:56 ` gdb Harald Koenig
     [not found] <Pine.LNX.3.91.960509080842.11981C-100000@linux.cs.Helsinki.FI>
1996-05-09 15:43 ` gdb Richard Henderson
     [not found] <richard@atheist.tamu.edu>
1996-05-09 14:55 ` gdb Eric Youngdale
     [not found] <Pine.LNX.3.91.960508210447.27170G-100000@linux.cs.Helsinki.FI>
1996-05-09  8:16 ` gdb Harald Koenig
1996-05-09  3:47 gdb Eric Youngdale
1996-05-09  5:29 ` gdb Linus Torvalds
1996-05-08 20:15 gdb Richard Henderson
1996-05-09  8:23 ` gdb Harald Koenig
1996-05-09 16:04   ` gdb Richard Henderson
1996-05-08 19:07 gdb Richard Gorton
1996-05-08 18:51 gdb Craig Burley
     [not found] <torvalds@cs.Helsinki.FI>
1996-05-08 17:19 ` gdb Eric Youngdale
1996-05-08 18:24 ` gdb Eric Youngdale
1996-05-08 17:53 gdb David Mosberger
1996-05-08 18:16 ` gdb Linus Torvalds
1996-05-07 14:23 gdb David Mosberger-Tang
1996-05-07 15:48 ` gdb Richard Henderson
1996-05-07  6:32 gdb Harald Koenig
1996-05-08 17:06 ` gdb Linus Torvalds
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox