Re: Why do we still assemble?

mfx@cs.tu-berlin.de (Markus Freericks)
Mon, 11 Apr 1994 13:15:53 GMT

          From comp.compilers

Related articles
[12 earlier articles]
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)
Re: Why do we still assemble? rcskb@minyos.xx.rmit.EDU.AU (1994-04-12)
Re: Why do we still assemble? bill@amber.ssd.csd.harris.com (1994-04-12)
Re: Why do we still assemble? bill@amber.ssd.csd.harris.com (1994-04-12)
Re: Why do we still assemble? pardo@cs.washington.edu (1994-04-13)
[15 later articles]
| List of all articles for this month |

Newsgroups: comp.compilers
From: mfx@cs.tu-berlin.de (Markus Freericks)
Keywords: performance
Organization: TU Berlin Fachbereich Informatik
References: 94-04-032 94-04-063
Date: Mon, 11 Apr 1994 13:15:53 GMT

bill@travis.csd.harris.com writes:
  Have you actually profiled those compilers to find out if assembly-parsing
  is really where they are spending their time?


hbaker@netcom.com (Henry G. Baker) writes:
  I've noticed what fraction of the time is spent in assembly vs. cc. I
  haven't determined whether the assembler time is spent in parsing. Except
  for the highest levels of compiler optimization, the assembler was taking
  more time than the compilation proper.


While this may be true for C, I doubt it for C++. My experience (no
measurements, sorry!) with a medium-sized C++ application (~50 KLOC) is
that CPP takes a lot of time, followed by linking. The basic reason for
this is an approach to "reusability" that features a huge library
(~1Mbyte), with corresponding header files. In such a context, the
cpp:cc:as:ld ratios might look like 3:1:1:10.


Markus (who prefers fast & secure compilation to faster code)


--
Markus Freericks mfx@cs.tu-berlin.de +49-30-314-21390
TU Berlin Sekr. FR 2-2, Franklinstr. 28/29, D-10587 Berlin (Germany)
--


Post a followup to this message

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