[PATCH] Mirror i386 change on sparc: 'Avoid "anonymous" code in pthread_spin_lock'
David Miller
davem@davemloft.net
Thu May 3 03:03:00 GMT 2012
From: Chris Metcalf <cmetcalf@tilera.com>
Date: Wed, 2 May 2012 22:46:45 -0400
> But the cases where the assembly is more inline (as here) do seem
> like plausible candidates to keep in C, rather than convert. What's
> the advantage?
GCC doesn't generate the conditional move on register condition
instruction as I do in the assembler because when generating 32-bit V9
code it cannot be taught that the high 32-bits of the register are
known to be clear.
More information about the Libc-alpha
mailing list