From: Andi Kleen <ak@muc.de>
To: Linus Torvalds <torvalds@transmeta.com>
Cc: Andi Kleen <ak@muc.de>, "David S. Miller" <davem@redhat.com>,
andrew.morton@digeo.com, linux-kernel@vger.kernel.org,
Mikael Pettersson <mikpe@csd.uu.se>
Subject: Re: [BENCHMARK] Lmbench 2.5.54-mm2 (impressive improvements)
Date: Mon, 6 Jan 2003 03:05:42 +0100 [thread overview]
Message-ID: <20030106020542.GA5615@averell> (raw)
In-Reply-To: <Pine.LNX.4.44.0301051720420.13313-100000@home.transmeta.com>
On Mon, Jan 06, 2003 at 02:33:28AM +0100, Linus Torvalds wrote:
> > I can think of some things to speed it up more. e.g. replace all the
> > push / pop in SAVE/RESTORE_ALL with sub $frame,%esp ; movl %reg,offset(%esp)
> > and movl offset(%esp),%reg ; addl $frame,%esp. This way the CPU has
> > no dependencies between all the load/store options unlike push/pop.
>
> Last I remember, that only made a difference on Athlons, and Intel CPU's
I didn't benchmark it, but as a data point ICC 7 generates the movls instead
of pushes now too, (even though it generates bigger code). In fact it is even more
aggressive on that than gcc: gcc does it only for more than three or four registers,
icc does it for two and more. So I expect it being faster on Intel CPUs - at least on
the P4 - too. I doubt they tuned it for Athlons.
-Andi
next prev parent reply other threads:[~2003-01-06 1:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <94F20261551DC141B6B559DC4910867204491F@blr-m3-msg.wipro.com.suse.lists.linux.kernel>
[not found] ` <3E155903.F8C22286@digeo.com.suse.lists.linux.kernel>
2003-01-03 18:40 ` [BENCHMARK] Lmbench 2.5.54-mm2 (impressive improvements) Andi Kleen
2003-01-03 21:32 ` Andrew Morton
2003-01-05 1:01 ` Andrew Morton
2003-01-05 3:35 ` Linus Torvalds
2003-01-05 3:51 ` Linus Torvalds
2003-01-05 3:54 ` Andrew Morton
2003-01-05 3:52 ` Linus Torvalds
2003-01-05 10:06 ` Andi Kleen
2003-01-05 18:51 ` Linus Torvalds
2003-01-05 23:46 ` Andi Kleen
2003-01-06 1:33 ` Linus Torvalds
2003-01-06 2:05 ` Andi Kleen [this message]
2003-01-06 0:58 ` H. Peter Anvin
2003-01-05 9:18 ` Andrew Morton
2003-01-03 8:59 Aniruddha M Marathe
2003-01-03 9:33 ` Andrew Morton
2003-01-03 10:24 ` David S. Miller
2003-01-03 10:22 ` Andrew Morton
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=20030106020542.GA5615@averell \
--to=ak@muc.de \
--cc=andrew.morton@digeo.com \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mikpe@csd.uu.se \
--cc=torvalds@transmeta.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.