Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Ralf Baechle <ralf@linux-mips.org>
To: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Cc: Tim Lai <tinglai@gmail.com>,
	Eric DeVolder <eric.devolder@amd.com>,
	linux-mips@linux-mips.org
Subject: Re: problem with prefetch in user space
Date: Fri, 20 Aug 2004 22:44:47 +0200	[thread overview]
Message-ID: <20040820204447.GA14260@linux-mips.org> (raw)
In-Reply-To: <20040818171342.GN23756@rembrandt.csv.ica.uni-stuttgart.de>

On Wed, Aug 18, 2004 at 07:13:42PM +0200, Thiemo Seufer wrote:

> Something like:
> 
>         __asm__ __volatile__(
> 		".set push\n"
> 		".set mips4\n"
> 		"pref " PREF_OP ", 0(%0)\n"
> 		".set pop\n"
> 		: "=r" (addr));
> 
> For more information: "info gcc" and the kernel sources.

A few years ago somebody wrote a nice howto on inline assembler that also
contains all the architecture specifics.  Should be possible to track it
down via your favorite search engine.

  Ralf

      reply	other threads:[~2004-08-20 20:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-08-17 23:34 problem with prefetch in user space Tim Lai
     [not found] ` <41235841.6090105@amd.com>
2004-08-18 15:06   ` Tim Lai
2004-08-18 15:31     ` Thiemo Seufer
2004-08-18 16:42       ` Tim Lai
2004-08-18 17:13         ` Thiemo Seufer
2004-08-20 20:44           ` Ralf Baechle [this message]

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=20040820204447.GA14260@linux-mips.org \
    --to=ralf@linux-mips.org \
    --cc=eric.devolder@amd.com \
    --cc=ica2_ts@csv.ica.uni-stuttgart.de \
    --cc=linux-mips@linux-mips.org \
    --cc=tinglai@gmail.com \
    /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