This is the mail archive of the
mailing list for the glibc project.
Re: [PATCH] Mirror i386 change on sparc: 'Avoid "anonymous" codein pthread_spin_lock'
From: Chris Metcalf <email@example.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.