tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Bloat



On Thu, Jan 29, 2009 at 09:03:53PM +0000, David Laight wrote:

> On the downside, inlining can make a function into a 'leaf' which
> typically gives the compiler many more registers to play with.

Variables on the stack could be nearly as cheap as registers on x86 because
of the RMW instructions.

Untrue at least for RISC and the vax. On the bright side RISC has lots of
registers, and for the vax it shouldn't take more than a couple of hours
dumpster diving to find a decent Pentium 3 to replace it.

Andrew


Home | Main Index | Thread Index | Old Index