[PATCH] Set cpu explicitly in kernel compiles
trini at kernel.crashing.org
Thu May 5 01:28:07 EST 2005
On Wed, May 04, 2005 at 08:45:51AM -0500, Kumar Gala wrote:
> On May 4, 2005, at 2:05 AM, Paul Mackerras wrote:
> >What do people think of this patch?? The motivation for it is that a
> > biarch gcc-4.0 will by default tune for POWER4, even for a 32-bit
> > compile, meaning that we end up with a lot of nops we don't need.
> > This also takes out -mstring.
> >With this, the text size reduces by about 120k for my normal config
> > when compiling with a biarch gcc-4.0.? The text size also reduces
> > slightly when compiling with the Debian gcc-3.3.5 (32-bit only, not
> > biarch).
> What is attributed to this large of a text size change. I've always
My guess is taking out the nops that we don't need on !POWER4.
More information about the Linuxppc-dev