From: Jonathan Morton <chromi@cyberspace.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: hahn@coffee.psychology.mcmaster.ca (Mark Hahn),
bergsoft@home.com (Seth Goldberg),
linux-kernel@vger.kernel.org
Subject: Re: Athlon and fast_page_copy: What's it worth ? :)
Date: Sat, 5 May 2001 16:17:53 +0100 [thread overview]
Message-ID: <l03130309b719c8b64c56@[192.168.239.105]> (raw)
In-Reply-To: <E14w3Ff-0000iz-00@the-village.bc.nu>
In-Reply-To: <l03130306b719ba7ef592@[192.168.239.105]> from "Jonathan Morton" at May 05, 2001 03:19:15 PM
At 3:41 pm +0100 5/5/2001, Alan Cox wrote:
>> My wild guess is that with the "faster" code, the K7 is avoiding loading
>> cache lines just to write them out again, and is just writing tons of data.
>> The PPC G4 - and perhaps even the G3 - performs a similar trick
>> automatically, without special assembly...
>
>X86 has done that since the K5 era.
>
>No the main thing that the mmx copier does is to read and write in 64bit
>wide chunks
Just for the record, this can be done on any PPC, by using the FPU
registers (which are much faster than x86 FPU). AltiVec can do 128-bit
wide transfers.
>and then more importantly to prefetch pending data.
That's a tougher one. AltiVec (in the G4) can do this, but I suspect it
can be emulated using the pipeline on earlier PowerPCs, by queueing up a
line of FPU load instructions and then a queue of FPU saves. However, the
601 and 603 don't have a superscalar FPU, though I wonder if that would
actually affect a simple load/store operation.
This is rapidly getting offtopic, though...
--------------------------------------------------------------
from: Jonathan "Chromatix" Morton
mail: chromi@cyberspace.org (not for attachments)
big-mail: chromatix@penguinpowered.com
uni-mail: j.d.morton@lancaster.ac.uk
The key to knowledge is not to rely on people to teach you it.
Get VNC Server for Macintosh from http://www.chromatix.uklinux.net/vnc/
-----BEGIN GEEK CODE BLOCK-----
Version 3.12
GCS$/E/S dpu(!) s:- a20 C+++ UL++ P L+++ E W+ N- o? K? w--- O-- M++$ V? PS
PE- Y+ PGP++ t- 5- X- R !tv b++ DI+++ D G e+ h+ r++ y+(*)
-----END GEEK CODE BLOCK-----
next prev parent reply other threads:[~2001-05-05 15:26 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-05-04 17:22 REVISED: Experimentation with Athlon and fast_page_copy Seth Goldberg
2001-05-04 19:48 ` Brian Gerst
2001-05-04 21:09 ` Alan Cox
2001-05-04 22:26 ` Aaron Tiensivu
2001-05-04 18:10 ` Bobby D. Bryant
2001-05-05 6:43 ` John R Lenton
2001-05-05 7:20 ` Alan Cox
2001-05-07 1:26 ` John R Lenton
2001-05-07 1:30 ` Jeremy
2001-05-05 0:26 ` Joseph Carter
2001-05-05 3:51 ` Chris Wedgwood
2001-05-05 4:08 ` Seth Goldberg
[not found] ` <20010505163204.A29622@metastasis.f00f.org>
2001-05-05 5:03 ` Athlon and fast_page_copy: What's it worth ? :) Seth Goldberg
2001-05-05 6:20 ` Mark Hahn
2001-05-05 9:15 ` Tom Leete
2001-05-05 7:17 ` Alan Cox
2001-05-05 14:19 ` Jonathan Morton
2001-05-05 14:41 ` Alan Cox
2001-05-05 15:17 ` Jonathan Morton [this message]
2001-05-08 21:16 ` Arjan van de Ven
2001-05-05 5:45 ` REVISED: Experimentation with Athlon and fast_page_copy Joseph Carter
2001-05-09 2:11 ` Tom Leete
2001-05-09 8:49 ` Alan Cox
2001-05-09 11:38 ` Tom Leete
2001-05-09 12:38 ` Alan Cox
2001-05-09 13:02 ` Tom Leete
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='l03130309b719c8b64c56@[192.168.239.105]' \
--to=chromi@cyberspace.org \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=bergsoft@home.com \
--cc=hahn@coffee.psychology.mcmaster.ca \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®