News

Why xor eax, eax?

  • None--Xania.org
  • published date: 2025-12-01 12:22:35 UTC

Why do compilers love xor-ing registers so much?

Written by me, proof-read by an LLM. Details at end. In one of my talks on assembly, I show a list of the 20 most executed instructions on an average x86 Linux desktop. All the usual culprits are t… [+3009 chars]