All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anders Peter Fugmann <afu@fugmann.dhs.org>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] 3DNOW optimization fix
Date: Sun, 26 Aug 2001 01:40:23 +0200	[thread overview]
Message-ID: <3B883767.2040004@fugmann.dhs.org> (raw)

As noted by Andreas Franck, the assembler instruction for
write prefetch is mistakenly a read prefetch. Below is for
linux-2.4.8-ac11 that corrects the error.

Regards
Anders Fugmann
--

--- linux/include/asm-i386/processor.h~ Sun Aug 26 01:18:12 2001
+++ linux/include/asm-i386/processor.h  Sun Aug 26 01:22:36 2001
@@ -501,7 +502,7 @@

   extern inline void prefetchw(const void *x)
   {
-        __asm__ __volatile__ ("prefetch (%0)" : : "r"(x));
+        __asm__ __volatile__ ("prefetchw (%0)" : : "r"(x));
   }
   #define spin_lock_prefetch(x)  prefetchw(x)






                 reply	other threads:[~2001-08-25 23:40 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=3B883767.2040004@fugmann.dhs.org \
    --to=afu@fugmann.dhs.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --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.