Displaying 5 results from an estimated 5 matches for "__builtin_popcount".
2011 Sep 07
0
[PATCH] libxl: vcpu_avail is a bitmask, use it as such
...hat for now. */
if (info->vcpu_avail)
- flexarray_append(dm_args, libxl__sprintf(gc, "%d,maxcpus=%d", info->vcpus, info->vcpu_avail));
+ flexarray_append(dm_args, libxl__sprintf(gc, "%d,maxcpus=%d",
+ __builtin_popcount(info->vcpu_avail), info->vcpus));
else
flexarray_append(dm_args, libxl__sprintf(gc, "%d", info->vcpus));
}
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-d...
2005 May 18
0
LLVM 1.5 Release and Status Update!
...amed the llvm 'extract' tool to 'llvm-extract' (makes sense!)
33. Justin Wick contributed support for a new llvm.prefetch intrinsic.
llvm-gcc now compiles __builtin_prefetch to it.
34. Andrew added llvm.ctpop,llvm.cttz and llvm.ctlz intrinsics. llvm-gcc
now codegens __builtin_popcount, etc to these intrinsics.
35. Duraid contributed patches to build LLVM on HP-UX with the GNU
toolchain. He also got it working with aCC, but it requires several
work-arounds for the (rather old) STL it provides.
Notable Bugs Fixed:
PR496: Cannot build llvm without llvm-gcc
PR...
2025 Apr 02
1
Call for testing: OpenSSH 10.0
...* sshd(8): add support for locking sshd into memory, enabled with
> the --with-linux-memlock-onfault configure flag.
>
> * Add support for building a standalone sk-libfido2 library,
> enabled by --with-security-key-standalone
>
> * ssh(1), sshd(8), ssh-keyscan(1): include __builtin_popcount
> replacement function. for compilers that lack it.
>
> * All: Check for and replace le32toh, le64toh, htole64 separately.
> It appears that at least some versions of endian.h in glibc do
> not have the latter two. bz#3794
>
> * Remove ancient RHL 6.x config in RPM s...
2025 Apr 01
9
Call for testing: OpenSSH 10.0
...038 safe wtmp replacement.
* sshd(8): add support for locking sshd into memory, enabled with
the --with-linux-memlock-onfault configure flag.
* Add support for building a standalone sk-libfido2 library,
enabled by --with-security-key-standalone
* ssh(1), sshd(8), ssh-keyscan(1): include __builtin_popcount
replacement function. for compilers that lack it.
* All: Check for and replace le32toh, le64toh, htole64 separately.
It appears that at least some versions of endian.h in glibc do
not have the latter two. bz#3794
* Remove ancient RHL 6.x config in RPM spec.
OpenSSH is brought to you b...
2015 Feb 07
5
[LLVMdev] mesa-10.4.4: BROKEN TLS support in GLX with llvm-toolchain v3.6.0rc2
...-D HAVE_DLFCN_H=1 -D "LT_OBJDIR=\".libs/\"" -D
YYTEXT_POINTER=1 -D HAVE___BUILTIN_BSWAP32=1 -D
HAVE___BUILTIN_BSWAP64=1 -D HAVE___BUILTIN_CLZ=1 -D
HAVE___BUILTIN_CLZLL=1 -D HAVE___BUILTIN_CTZ=1 -D
HAVE___BUILTIN_EXPECT=1 -D HAVE___BUILTIN_FFS=1 -D
HAVE___BUILTIN_FFSLL=1 -D HAVE___BUILTIN_POPCOUNT=1 -D
HAVE___BUILTIN_POPCOUNTLL=1 -D HAVE___BUILTIN_UNREACHABLE=1 -D
HAVE_DLADDR=1 -D HAVE_PTHREAD=1 -D HAVE_LIBEXPAT=1 -D
USE_EXTERNAL_DXTN_LIB=1 -D _GNU_SOURCE -D USE_SSE41 -D DEBUG -D
USE_X86_64_ASM -D HAVE_XLOCALE_H -D HAVE_STRTOF -D HAVE_DLOPEN -D
HAVE_POSIX_MEMALIGN -D HAVE_LIBDRM -D GLX_USE_D...