From: Paulo Marques <pmarques@grupopie.com>
To: Linda Walsh <lkml@tlinx.org>
Cc: Adrian Bunk <bunk@stusta.de>,
Jan Engelhardt <jengelh@linux01.gwdg.de>,
Linux-Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Save 320K on production machines?
Date: Mon, 27 Mar 2006 12:36:45 +0100 [thread overview]
Message-ID: <4427CE4D.5010109@grupopie.com> (raw)
In-Reply-To: <4427BCCC.4080506@tlinx.org>
Linda Walsh wrote:
> [...]
> The current makefile turns on the optimization only on gcc4 or higher,
> but my results were with gcc3.5.5. Maybe defaults for 386 should
> enabler the optimization for some versions of gcc 3 as well? -l
AFAICR, the problem with gcc3 and unit-at-a-time was stack usage with
local variables on automatically inlined functions.
For instance, if function A called B and after B returned called C, both
local variables of B and C would be given a reserved space on the stack
during the execution of A if both functions were automatically inlined.
So the space needed now was A+B+C whereas before was Max(A+B, A+C).
--
Paulo Marques - www.grupopie.com
Pointy-Haired Boss: I don't see anything that could stand in our way.
Dilbert: Sanity? Reality? The laws of physics?
next prev parent reply other threads:[~2006-03-27 11:36 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-26 8:31 Save 320K on production machines? Linda Walsh
2006-03-26 9:24 ` Jan Engelhardt
2006-03-26 10:06 ` Adrian Bunk
2006-03-27 10:22 ` Linda Walsh
2006-03-27 11:36 ` Paulo Marques [this message]
2006-03-30 21:34 ` Linda Walsh
2006-03-31 9:43 ` Adrian Bunk
2006-03-31 9:48 ` Jörn Engel
2006-03-26 10:39 ` Andre Tomt
2006-03-27 10:05 ` Linda Walsh
2006-03-28 14:29 ` Jan Engelhardt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4427CE4D.5010109@grupopie.com \
--to=pmarques@grupopie.com \
--cc=bunk@stusta.de \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=lkml@tlinx.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox