3 ms·
I like how this ends up on the topic of efficient encoding of an x86 instruction that zeroes the accumulator.
by saagarjha 7y ago
I like how this ends up on the topic of efficient encoding of an x86 instruction that zeroes the accumulator.
- juped 7y agoxor 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.