From: Benoit Poulot-Cazajous <Benoit.Poulot-Cazajous@Sun.COM>
To: "M. R. Brown" <mrbrown@0xd6.org>
Cc: Benoit Poulot-Cazajous <poulot@ifrance.com>,
nbecker@fred.net, linux-kernel@vger.kernel.org
Subject: Re: On K7, -march=k6 is good (Was Re: Why no -march=athlon?)
Date: 19 Dec 2001 22:40:39 +0100 [thread overview]
Message-ID: <lnellqevmw.fsf@walhalla.agaha> (raw)
In-Reply-To: <x88r8ptki37.fsf@rpppc1.hns.com> <20011217174020.GA24772@0xd6.org> <lnitb3drx6.fsf_-_@walhalla.agaha> <20011219175616.GD19236@0xd6.org>
In-Reply-To: <20011219175616.GD19236@0xd6.org>
"M. R. Brown" <mrbrown@0xd6.org> writes:
> * Benoit Poulot-Cazajous <poulot@ifrance.com> on Wed, Dec 19, 2001:
>
> >
> > But gcc-2.95,x _supports_ "-march=k6", and we should use that instead of
> > "-march-i686".
> >
>
> No, k6 != athlon. IIRC, the i686 optimization is closer to the Athlon than
> the k6 opt.
In theory, you may be right. But gcc-2.95.3 may not follow the theory.
> > before the patch :
> > 1017.92user 261.80system 24:39.89elapsed 86%CPU
> > 706.33user 160.79system 16:23.61elapsed 88%CPU
> > 1787.38user 418.76system 43:35.97elapsed 84%CPU
> >
> > after the patch :
> > 1018.42user 253.85system 24:44.68elapsed 85%CPU
> > 704.89user 151.76system 16:16.14elapsed 87%CPU
> > 1786.96user 410.76system 43:05.32elapsed 85%CPU
> >
> > The improvement in system time is nice.
> >
>
> Er, there's not much difference...
>From 261.80 to 253.85 => -3%
>From 160.79 to 151.76 => -6%
>From 418.76 to 410.76 => -2%
So the kernel looks between 2 and 6% faster. Not so bad for a one-line
patch ;-)
> Curious, what happens when you compile using gcc 3.0.1 against
> -march=athlon?
Yep, I will try with gcc 3.0.3.
-- Benoit
next prev parent reply other threads:[~2001-12-19 21:44 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-12-17 14:59 Why no -march=athlon? nbecker
2001-12-17 15:54 ` Dominik Mierzejewski
2001-12-17 17:40 ` M. R. Brown
2001-12-19 17:46 ` On K7, -march=k6 is good (Was Re: Why no -march=athlon?) Benoit Poulot-Cazajous
2001-12-19 17:56 ` M. R. Brown
2001-12-19 18:39 ` nbecker
2001-12-19 18:47 ` M. R. Brown
2001-12-19 18:52 ` J Sloan
2001-12-19 19:01 ` Josh McKinney
2001-12-19 19:21 ` M. R. Brown
2001-12-19 19:28 ` J Sloan
2001-12-19 19:38 ` Allan Sandfeld
2001-12-19 21:40 ` Benoit Poulot-Cazajous [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-12-19 20:33 RaúlNúñez de Arenas Coronado
2001-12-20 0:06 ` Alessandro Suardi
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=lnellqevmw.fsf@walhalla.agaha \
--to=benoit.poulot-cazajous@sun.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mrbrown@0xd6.org \
--cc=nbecker@fred.net \
--cc=poulot@ifrance.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.