Unexpected stuff!

Let’s have a look at this code:

And let’s compile it with g++ using the flag -O3, what’s going to happen? Before answering, let’s have a look at the assembly, shall we?

This is actually only a portion of the whole assembly, what I care to show you is the main loop and what’s […]