Re: Why do we still assemble?

Keith.Bierman@Eng.Sun.COM (Keith Bierman)
Sun, 10 Apr 1994 21:54:49 GMT

          From comp.compilers

Related articles
[8 earlier articles]
Re: Why do we still assemble? pardo@cs.washington.edu (1994-04-08)
Re: Why do we still assemble? law@snake.cs.utah.edu (1994-04-08)
Re: Why do we still assemble? steve@cegelecproj.co.uk (1994-04-08)
Re: Why do we still assemble? bill@amber.csd.harris.com (1994-04-08)
Re: Why do we still assemble? hbaker@netcom.com (1994-04-08)
Re: Why do we still assemble? rcskb@minyos.xx.rmit.EDU.AU (1994-04-10)
Re: Why do we still assemble? Keith.Bierman@Eng.Sun.COM (1994-04-10)
Re: Why do we still assemble? lgc@robotics.jpl.nasa.gov (1994-04-11)
Re: Why do we still assemble? hbaker@netcom.com (1994-04-11)
Re: Why do we still assemble? djohnson@arnold.ucsd.edu (1994-04-11)
Re: Why do we still assemble? mfx@cs.tu-berlin.de (1994-04-11)
Re: Why do we still assemble? johnm@cory.EECS.Berkeley.EDU (1994-04-11)
Re: Why do we still assemble? conway@munta.cs.mu.OZ.AU (1994-04-11)
[19 later articles]
| List of all articles for this month |
Newsgroups: comp.compilers
From: Keith.Bierman@Eng.Sun.COM (Keith Bierman)
Keywords: C, assembler
Organization: SunPro
References: 94-04-032
Date: Sun, 10 Apr 1994 21:54:49 GMT

hbaker@netcom.com (Henry G. Baker) writes:


      Other than sheer institutional inertia, why do we continue to compile into
      assembler code, then assemble the code into relocatable binary? Why don't
      we compile directly to relocatable binary and be done with it?


We don't all.


SunPro's compilers (from the "SC 3.0" release onward) avoid an assembly
step when convient, such as in the default mode of operation.


On a particular machine, OS configuration etc. a compiler from the last
release to always go through the assembler vs. the modern one, for the gcc
file "loop.c":


SC2.0.1
real 0m17.53s
user 0m13.48s
sys 0m1.80s


SC3.0.x
real 0m7.35s
user 0m5.56s
sys 0m0.80s


There really are many other changes .... reading and writing the assembly
file was *not* the sole difference.


As always, milage varies.
--
----------------------------------------------------------------
Keith H. Bierman keith.bierman@Sun.COM| khb@chiba.Eng.Sun.COM
SunPro 2550 Garcia MTV 12-40 | (415 336 2648) fax 964 0946
Mountain View, CA 94043
--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.