From: Florian Lohoff <flo@rfc822.org>
To: Rani Assaf <rani@paname.org>
Cc: linux-mips@oss.sgi.com
Subject: Re: Question about r4k_clear_page_xxx()
Date: Wed, 10 Apr 2002 13:10:14 +0200 [thread overview]
Message-ID: <20020410111014.GI9514@paradigm.rfc822.org> (raw)
In-Reply-To: <20020410041408.G23127@paname.org>
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
On Wed, Apr 10, 2002 at 04:14:08AM +0200, Rani Assaf wrote:
> Hi,
>
> I was cleaning duplicate code between my port of IDT RC32355 and the
> current tree. I want to use r4k_clear_page_d16() but the function uses
> store double (sd) which is not available on this processor.
>
> What's the reason for having r4k_clear_page_xxx() use store double and
> not r4k_copy_page_xxx()??
Just from my guess - r4k_copy_page will pollute the d-cache with the
empty page you are reading. You have twice as much instruction (load +
store) which effectively will give you half the performance.
If "sd" is not available you might want to implement your clear_page
with sw zero, x(a0) like the sd version.
Flo
--
Florian Lohoff flo@rfc822.org +49-5201-669912
Nine nineth on september the 9th Welcome to the new billenium
[-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --]
next prev parent reply other threads:[~2002-04-10 11:10 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 2:14 Question about r4k_clear_page_xxx() Rani Assaf
2002-04-10 11:10 ` Florian Lohoff [this message]
2002-04-12 5:04 ` Ralf Baechle
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=20020410111014.GI9514@paradigm.rfc822.org \
--to=flo@rfc822.org \
--cc=linux-mips@oss.sgi.com \
--cc=rani@paname.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.