The compiler analyzed it, optimized it, and emitted precisely the machine instructions you expected. Same input, same output.
Compilers often translate source code for a high-level language, such as C++, to object code for the current computer architecture, such as Intel x64. The object modules produced from multiple ...