3.24. __nv_clzll

i32 @__nv_clzll(i64 %x)

Count the number of consecutive high-order zero bits in a 64 bit integer.

Count the number of consecutive leading zero bits, starting at the most significant bit (bit 63) of x.

Returns

Returns a value between 0 and 64 inclusive representing the number of zero bits.