Playing with Fire

Discussion of computer chess matches and engine tournaments.

Moderator: Ras

User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: Playing with Fire

Post by velmarin »

Code: Select all

#include <intrin.h> 
__forceinline int POPCNT (unsigned __int64 x) {
	return (int) _mm_popcnt_u64(x);
	
}
Is Already.

For 64 bits, better Intel Compiler.
Probe.
Gusev
Posts: 1476
Joined: Mon Jan 28, 2013 2:51 pm

Re: Playing with Fire

Post by Gusev »

For 64 bits, better Intel Compiler.
Probe.
Jose, it looks like you're right on both counts.