Re:Principle of Least Astonishment
by juped on Monday April 06, 2020 @03:09PM
(#22796792)
xor reg, reg is the best because it's such an ancient idiom that processors recognize it as a zeroing idiom, enabling some processor-level optimizations.
[ Parent
| on HN ]
Now you need to decide whether to use opcode 0x31 or 0x33…
Which one weighs less?