mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Bulent Abali" <abali@us.ibm.com>
To: Tony Hagale <tony@hagale.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Pentium SSE prefetcht0 instruction... How do you make it work
Date: Thu, 27 Sep 2001 16:09:43 -0400	[thread overview]
Message-ID: <OF1BD9092B.AC76CE4D-ON85256AD4.006E6555@pok.ibm.com> (raw)




>Intel's p3/4 prefetch instructions are hints only. They are only executed
>asynchronously, and depend heavily on the other load on the processor at
>the time. They are not required to prefetch, *and* they are not required
>to be executed when you think they should in the flow of the program. You
>can serialize them by using an MFENCE instruction, but they still aren't
>guaranteed to run.
>
>Check the p4 manuals. In fact, I'm not sure prefetch was implemented in
>p3. I could be wrong, check the manual.
>
>--Tony
PREFETCHx are in P3. I am aware that processor executes them optionally.
MFENCE may be a good idea.  If load/store queues are full the processor
may just drop the prefetch instruction.  I should try this.
Thanks for the suggestion.  /bulent




             reply	other threads:[~2001-09-27 20:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-09-27 20:09 Bulent Abali [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-09-27 18:40 Bulent Abali
2001-09-27 18:43 ` Tony Hagale
2001-09-27 19:55   ` Robert Love
2001-09-27 19:54 ` Robert Love

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=OF1BD9092B.AC76CE4D-ON85256AD4.006E6555@pok.ibm.com \
    --to=abali@us.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tony@hagale.net \
    /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®