HLL vs. \"HLL-like\" macro packages

Guy Harris guy at rlgvax.UUCP
Thu Feb 7 03:21:58 AEST 1985


> the opti-miser is the programmer. gimme almost any compiler output & i'll
> hack a few instruxions off it. gimme the source for that matter & i'll
> generate better code than the compiler. dna is awesome!

OK, take a lump of typical C code and go through it and create lots of
blocks with lots of local declarations, so as to reuse the same register
for several different variables.  Tedious work, and makes the code less
readable.  Compilers can do this without torqueing the code and without
getting bored; this particular trick is used by several compilers for RISC
machines.  Now take such a RISC machine and do optimization when you have
to deal with delayed branches, delayed loads, etc..  People turn other
kinds of optimization over to computers because it's easier to have the
computer perform the algorithm in question than to have people perform it.

	Guy Harris
	{seismo,ihnp4,allegra}!rlgvax!guy



More information about the Comp.lang.c mailing list