Hi,
I was told that there is an intel opcode that can be used to get the first bit set of an integer. I've searched all over and can't find anything, let alone some good documentation on this stuff.
Does anyone know what it is, and how I would go about using this?
If not, is there any other fast way to get the first set bit of an int without looping through each bit?
Thanks!


Reply With Quote
