| To: | linux-mips@linux-mips.org |
|---|---|
| Subject: | mips inline asm question |
| From: | 黒津 基弥 <mips4700@yahoo.co.jp> |
| Date: | Wed, 24 Sep 2003 15:04:56 +0900 (JST) |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| Sender: | linux-mips-bounce@linux-mips.org |
Hi, all;
The following code is from
linux-2.4.20/include/asm-mips/mipsregs.h.
Could anyone tell how the difference between %z0 ("Jr")
and %0 ("r") is?
I compiled this code and deassemble the object, but I
can't find any
difference with my toolchains(gcc-2.95.3, binutils-2.11).
static inline void set_context(unsigned long val)
{
__asm__ __volatile__(
".set push\n\t"
".set reorder\n\t"
"mtc0 %z0, $4\n\t"
".set pop"
: : "Jr" (val));
}
Thanks in advance
mips4700
__________________________________________________
Do You Yahoo!?
Yahoo! BB is Broadband by Yahoo!
http://bb.yahoo.co.jp/
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Toshiba TX4925 experiences wanted, Ralf Baechle |
|---|---|
| Next by Date: | Re: mips inline asm question, Ralf Baechle |
| Previous by Thread: | Malta build 2.4 (fwd), David Kesselring |
| Next by Thread: | Re: mips inline asm question, Ralf Baechle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |