Related articles |
---|
Architecture description languages for compilers? eigenstr@cs.rose-hulman.edu (1993-01-25) |
Architecture description languages for compilers? tac@eos.ncsu.edu (1993-01-26) |
Re: Architecture description languages for compilers? brent@eng.uiowa.edu (1993-01-27) |
Re: Architecture description languages for compilers? arh@cix.compulink.co.uk (Andrew Henson) (1993-01-27) |
Re: Architecture description languages for compilers? pardo@cs.washington.edu (1993-01-28) |
Re: Architecture description languages for compilers? zstern@adobe.com (1993-01-28) |
Re: Architecture description languages for compilers? wjw@eb.ele.tue.nl (1993-02-01) |
Newsgroups: | comp.compilers |
From: | zstern@adobe.com (Zalman Stern) |
Organization: | Adobe Systems Incorporated |
Date: | Thu, 28 Jan 1993 04:50:39 GMT |
References: | 93-01-205 |
Keywords: | architecture, GCC |
pardo@cs.washington.edu (David Keppel) writes:
> It is an amusing exercise to compare the listed md sizes for the Thompson
> compiler to the GCC md sizes for the same machines. I can't say whether
> the code is comparable: Thompson claims the compile time is half that of
> GCC and run time is 75% that of GCC, but it shows only slightly better run
> times than lcc, and a previous comp.compilers article said lcc was
> substantially worse than GCC.
1) What programs are used for the execution time comparisons? If you are
willing to do a lot of hand optimization of C code, then you can get good
performance with relatively simple compilers. (E.g. should the compiler do
induction variable optimization/strength reduction or should the
programmer code pointer arithmetic?) My impression is that the Thompson
and friends lean towards the simpler compiler approach.
2) GCC's machine description language is notable for supporting a large
number of architectures and having good documentation. It also serves as
an opportunity to study the evolution of an intermediate language as the
number of architectures and optimization quality both increase. (In fact
it may be worth studying the "distributed software engineering" aspects of
the compiler but that's off the subject.)
--
Zalman Stern zalman@adobe.com (415) 962 3824
Adobe Systems, 1585 Charleston Rd., POB 7900, Mountain View, CA 94039-7900
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.