fn simd_bitmask_index(idx: u64, vec_len: u64, endianess: Endian) -> u64