3 ms·
It's done in Java, Integer.lowestOneBit(int), citing HD 2-1. Java defines ints to be 2-complimentary. I can't recall if it's compiled tzcnt[0], though [0]: ht
by xxs 5y ago
It's done in Java, Integer.lowestOneBit(int), citing HD 2-1. Java defines ints to be 2-complimentary. I can't recall if it's compiled tzcnt[0], though
[0]: https://www.felixcloutier.com/x86/tzcnt https://www.felixcloutier.com/x86/tzcnt