Re: kickass optimizing compilers?

Walter Banks <walter@bytecraft.com>
18 Jan 2004 20:52:50 -0500

          From comp.compilers

Related articles
[4 earlier articles]
Re: kickass optimizing compilers? jvorbrueggen@mediasec.de (Jan C.=?iso-8859-1?Q?Vorbr=FCggen?=) (2004-01-12)
Re: kickass optimizing compilers? andrew@codeplay.com (Andrew Richards) (2004-01-12)
Re: kickass optimizing compilers? vanevery@indiegamedesign.com (Brandon J. Van Every) (2004-01-16)
Re: kickass optimizing compilers? colohan+@cs.cmu.edu (Christopher Brian Colohan) (2004-01-16)
Re: kickass optimizing compilers? Jeffrey.Kenton@comcast.net (Jeff Kenton) (2004-01-16)
Re: kickass optimizing compilers? Robert@Knighten.org (Robert Knighten) (2004-01-17)
Re: kickass optimizing compilers? walter@bytecraft.com (Walter Banks) (2004-01-18)
Re: kickass optimizing compilers? db@digital.com (dablick) (2004-02-01)
Re: kickass optimizing compilers? blitz@bad-logic.com (2004-02-04)
Re: kickass optimizing compilers? gah@ugcs.caltech.edu (glen herrmannsfeldt) (2004-02-08)
Re: kickass optimizing compilers? vidar@hokstad.name (2004-02-08)
Re: kickass optimizing compilers? vbdis@aol.com (2004-02-12)
| List of all articles for this month |

From: Walter Banks <walter@bytecraft.com>
Newsgroups: comp.compilers
Date: 18 Jan 2004 20:52:50 -0500
Organization: Compilers Central
References: 04-01-106
Keywords: optimize, practice
Posted-Date: 18 Jan 2004 20:52:50 EST

I have a similar story only what we did was take an assembly program
and re-code it into C retaining the algorithmic implementation.


I explained to our customer that we would prefer a well developed
piece of code that was as tight as possible. Our customer asked us
when we would need the code and could they review it and tighten it up
a little before they gave it to us. They assigned three people for 5
weeks to work on a slightly over 2K byte piece of embedded system
code. Our alpha compiler with the C equivalent generated an object 120
bytes less and used 5 bytes of RAM less. (It also ran faster) Our
customer was convinced.


Detained study later by both our customer and us showed most of the
saving was the attention to detail, full use of the instruction set by
the compiler and optimizations that the compiler used that would be
very high risk for the asm programmer.


Walter Banks


Robert Knighten wrote:


> There is also a matter of context. Years ago I worked on an Ada
> compiler that was required to generate code that was within 10% of the
> performance of the best hand coded assembler that our customer could
> produce.


Post a followup to this message

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