From: | mac@coos.dartmouth.edu (Alex Colvin) |
Newsgroups: | comp.compilers,comp.dsp |
Date: | 8 Mar 1996 19:18:41 -0500 |
Organization: | Dartmouth College, Hanover, NH, USA |
References: | 96-03-006 96-03-025 96-03-049 |
Keywords: | optimize, code |
>I don't agree that compilers can do "better code" than 9/10
>programmers if "better code" = "faster code". Consider an interrupt
>function. The C compiler is going to push all the registers on the
>stack, whereas a careful programmer can be very tricky about stack
>pushes and pops in order to minimize them.
Managing which registers need to be saved/restored is one of those
things that compilers do easily and reliably.
--
Alex Colvin
alex.colvin@dartmouth.edu
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.