title: Is there an x86(_64) instruction which gives index of the highest (or lowest) set (1) bit?
body: <p>As said. e.g. for the 8-bit(just for example, no byte order considered) integer 00100100 (base 2), is there an instruction gives 5?</p>