Small optimizations

I was browising pure64 code and i've tried to make some small improvements to the code, mainly switching to equivalent instructions with shorter op-codes or better behaving in modern cups.