| To: | Tim Lai <tinglai@gmail.com> |
|---|---|
| Subject: | Re: problem with prefetch in user space |
| From: | Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de> |
| Date: | Wed, 18 Aug 2004 19:13:42 +0200 |
| Cc: | Eric DeVolder <eric.devolder@amd.com>, linux-mips@linux-mips.org |
| In-reply-to: | <e2eac657040818094264dc6a3b@mail.gmail.com> |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <e2eac65704081716345c78b7c6@mail.gmail.com> <41235841.6090105@amd.com> <e2eac65704081808061f27cb5a@mail.gmail.com> <20040818153148.GI23756@rembrandt.csv.ica.uni-stuttgart.de> <e2eac657040818094264dc6a3b@mail.gmail.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.5.6i |
Tim Lai wrote:
> Thanks.
> I did some search and find no answer. How do I define %0 as a register input
> and
> assign the value of "addr" to it?
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.
Thiemo
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: problem with prefetch in user space, Tim Lai |
|---|---|
| Next by Date: | Re: Branch bug in gas on MIPS, Daniel Jacobowitz |
| Previous by Thread: | Re: problem with prefetch in user space, Tim Lai |
| Next by Thread: | Re: problem with prefetch in user space, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |