News for hackers. Stuff that matters.
Re:XOR'ing a register with itself is the idiom for zeroing i... by defrost on Wednesday April 22, 2026 @04:35AM (#47860758)
From TFA:

  The predominance of these idioms as a way to zero out a register led Intel to add special xor r, r-detection and sub r, r-detection in the instruction decoding front-end and rename the destination to an internal zero register, bypassing the execution of the instruction entirely. You can imagine that the instruction, in some sense, “takes zero cycles to execute”.
Re:XOR'ing a register with itself is the idiom for zeroing i... by rasz on Wednesday April 22, 2026 @07:24AM (#47862014)
"rename the destination to an internal zero register"

That would be quite late then, 1997 Pentium 2 for general population.