linux-mips
[Top] [All Lists]

Re: [PATCH]: R10000 Needs LL/SC Workaround in Glibc

To: Kumba <kumba@gentoo.org>
Subject: Re: [PATCH]: R10000 Needs LL/SC Workaround in Glibc
From: James Perkins <james@loowit.net>
Date: Sat, 01 Nov 2008 10:23:06 -0700
Cc: libc-ports@sources.redhat.com, Daniel Jacobowitz <drow@false.org>, Linux MIPS List <linux-mips@linux-mips.org>
In-reply-to: <490A912A.8030901@gentoo.org>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <490A912A.8030901@gentoo.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Thunderbird 2.0.0.16 (X11/20080723)
      "move     %1,%3\n\t"                    \
      "sc       %1,%4\n\t"                    \
-     "beqz     %1,1b\n"                      \
+     R10K_BEQZ_INSN                          \
      acq       "\n\t"                        \
      ".set     pop\n"                        \

Is it possible to leave the parameters in the inline code and
remove them from the macro definition? I feel the code is more
readable without having to refer to the macro definition if
the parameters are left in place.

Cheers,
James

<Prev in Thread] Current Thread [Next in Thread>