Related articles |
---|
[9 earlier articles] |
Re: When/why did function calls get cheap? jplevyak@yahoo.com (John Plevyak) (2003-02-21) |
Re: When/why did function calls get cheap? {spamtrap}@qeng-ho.org (Arthur Chance) (2003-02-24) |
Re: When/why did function calls get cheap? gah@ugcs.caltech.edu (Glen Herrmannsfeldt) (2003-02-24) |
Re: When/why did function calls get cheap? alexc@std.com (Alex Colvin) (2003-02-24) |
Re: When/why did function calls get cheap? vbdis@aol.com (2003-02-24) |
Re: When/why did function calls get cheap? firefly@diku.dk (Peter Finderup Lund) (2003-03-09) |
Re: When/why did function calls get cheap? joachim_d@gmx.de (Joachim Durchholz) (2003-03-09) |
Re: When/why did function calls get cheap? klimas@klimas-consulting.com (Andreas Klimas) (2003-03-09) |
Re: When/why did function calls get cheap? bonzini@gnu.org (2003-03-14) |
Re: When/why did function calls get cheap? jcrens@earthlink.net (Jack Crenshaw) (2003-03-14) |
Re: When/why did function calls get cheap? david.thompson1@worldnet.att.net (David Thompson) (2003-03-22) |
Re: When/why did function calls get cheap? alex_mcd@btopenworld.com (Alex McDonald) (2003-03-22) |
Re: When/why did function calls get cheap? tenger@idirect.com (Terrence Enger) (2003-03-23) |
[1 later articles] |
From: | Joachim Durchholz <joachim_d@gmx.de> |
Newsgroups: | comp.compilers |
Date: | 9 Mar 2003 17:22:26 -0500 |
Organization: | Compilers Central |
References: | 03-02-098 03-02-144 |
Keywords: | architecture, performance |
Posted-Date: | 09 Mar 2003 17:22:26 EST |
VBDis wrote:
> Joachim Durchholz <joachim_d@gmx.de> schreibt:
>
>>I then
>>inlined the system code, making the CPU wait 80% of the time...
>
> The Atari ST perhaps is not a good example, due to the bad compiler
> used for the kernel ROMs.
There were indeed some inefficiencies in the printer code, but the main
CPU cycle hog were the subroutine calls themselves.
An optimizing compiler would have inlined the routines.
Which is, of course, one of the things that have made function calls
cheaper. Maybe even one of the most important things: once programmers
realized that small functions will be inlined anyway, they didn't have
to bother about the topic anymore.
Regards,
Joachim
Return to the
comp.compilers page.
Search the
comp.compilers archives again.