Displaying 3 results from an estimated 3 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...
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...