_mm_tzcnti_64
Classification
KNC, Bit Manipulation, CPUID Test: KNCNI
Header File
immintrin.h
Instruction
TZCNTI r64, r64
Synopsis
 _mm_tzcnti_64(__int64 a, unsigned __int64 x);
Description
Count the number of trailing zero bits in unsigned 64-bit integer "x" starting at bit "a", and return that count in "dst".
Operation
tmp := a
IF tmp < 0
	tmp := 0
FI
dst := 0
IF tmp > 63
	dst := 64
ELSE
	DO WHILE ((tmp < 64) AND x[tmp] == 0)
		tmp := tmp + 1
		dst := dst + 1
	OD
FI