I just test it on x86_64 using beblow code: int ret; unsigned long addr=0xffffffff; ret = hic_find_first_zero_bit(&addr,64); ret is -1.