[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#516616: bind9 locks up on start on mipsel and mips



On 03/11/2010 03:41 AM, Steven Luo wrote:
On Thu, Mar 11, 2010 at 12:06:11AM +0200, Niko Tyni wrote:
-	"	 addu	%0, $1, %2	\n"
+	"	 addu	%0, $0, $1	\n"

Would it be better to use "move %0, $1" (as in isc_atomic_cmpxchg())?
That seems to be functionally equivalent.


I was going to suggest the same thing. It makes it more clear what is happening. Not only is MOVE functionally equivalent, it is causes the exact same code to be emitted, so you might say it is identical.

David Daney


Reply to: