@IgorZhirkov: Yup, same reason I left
sub rsp
in my version (and for the benefit of people porting it to 32-bit code). If you were actually optimizing for speed you'd use a multiplicative inverse (like
this code-review Q&A, and that would save more cycles than avoid sub/add. :P See also other links at the bottom of my linked answer for some blogs where people have experimented with
x /= 100
and splitting that up to get some ILP, and other things like that. —
Peter Cordes 41 secs ago