From: Richard Henderson <rth@twiddle.net>
To: Anton Blanchard <anton@samba.org>
Cc: Dave Jones <davej@suse.de>, "David S. Miller" <davem@redhat.com>,
linux-kernel@vger.kernel.org
Subject: Re: results: Remove 8 bytes from struct page on 64bit archs
Date: Sun, 6 Jan 2002 19:22:04 -0800 [thread overview]
Message-ID: <20020106192204.B27356@twiddle.net> (raw)
In-Reply-To: <20020106.060824.106263786.davem@redhat.com> <Pine.LNX.4.33.0201061542450.3859-100000@Appserv.suse.de> <20020107012555.GA6623@krispykreme>
In-Reply-To: <20020107012555.GA6623@krispykreme>; from anton@samba.org on Mon, Jan 07, 2002 at 12:25:55PM +1100
On Mon, Jan 07, 2002 at 12:25:55PM +1100, Anton Blanchard wrote:
> li 11,120 ; sizeof(struct page)
[...]
> divd 0,0,11
>
> Perhaps the compiler should be optimising this better (can we replace
> the divide?)
The powerpc backend claims to have a fast divide instruction
(via RTX_COST if you care about such things). We'll replace
with shift when dividing by powers of 2, but won't try the
multiply by a constant inverse trick.
r~
next prev parent reply other threads:[~2002-01-07 3:22 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-01-06 12:39 [PATCH] Remove 8 bytes from struct page on 64bit archs Anton Blanchard
2002-01-06 13:02 ` Horst von Brand
2002-01-06 13:07 ` Dave Jones
2002-01-06 13:13 ` Momchil Velikov
2002-01-06 13:25 ` Dave Jones
2002-01-06 13:28 ` William Lee Irwin III
2002-01-06 14:08 ` David S. Miller
2002-01-06 14:44 ` Dave Jones
2002-01-07 1:25 ` results: " Anton Blanchard
2002-01-07 3:22 ` Richard Henderson [this message]
2002-01-14 6:35 ` Anton Blanchard
2002-01-15 0:45 ` Dave Jones
2002-01-07 5:13 ` David S. Miller
2002-01-06 13:11 ` [PATCH] " William Lee Irwin III
2002-01-06 13:33 ` Anton Blanchard
2002-01-06 13:51 ` William Lee Irwin III
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=20020106192204.B27356@twiddle.net \
--to=rth@twiddle.net \
--cc=anton@samba.org \
--cc=davej@suse.de \
--cc=davem@redhat.com \
--cc=linux-kernel@vger.kernel.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 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.