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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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] Optimized __sched_cpucount for alphaev67, power5 and above and ia64


On Tue, Jul 17, 2007 at 10:47:19PM +0200, Jakub Jelinek wrote:
> in hardware.  For alpha I have used inline assembly, because
> __builtin_popcount would only expand to ctpop if the selected gcc
> arch is ev67, which isn't sure.

#ifdef __alpha_cix__
# define POPCNT(l) __builtin_popcountl (l)
#endif


r~


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