1 post with tag out-of-order-execution
Why x86 Zeroes a Register With `xor eax, eax`
A practical reference on why x86 zeroes a register with xor reg, reg - breaking down the size and dependency advantages over mov, CPU zeroing idiom recognition, and the subtle flags tradeoff, with real code examples and tradeoffs
·
9 minutes reading time