This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Mirror i386 change on sparc: 'Avoid "anonymous" codein pthread_spin_lock'


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]