View | Details | Raw Unified | Return to bug 278722
Collapse All | Expand All

(-)bimg/3rdparty/astc-encoder/source/astcenc_vecmathlib_sse_4.h (+2 lines)
Lines 1309-1313 ASTCENC_SIMD_INLINE int popcount(uint64_t v) Link Here
1309
{
1309
{
1310
#if defined(__MINGW32__)
1310
#if defined(__MINGW32__)
1311
	return static_cast<int>(__builtin_popcountll(v));
1311
	return static_cast<int>(__builtin_popcountll(v));
1312
#elif defined(__FreeBSD__) && !defined(__x86_64__)
1313
	return static_cast<int>(_mm_popcnt_u32(static_cast<uint32_t>(v)));
1312
#else
1314
#else
1313
	return static_cast<int>(_mm_popcnt_u64(v));
1315
	return static_cast<int>(_mm_popcnt_u64(v));

Return to bug 278722