Hot path optimization. When float division beats integer division

I've started a series of short blog posts about hot path optimizations. This first one covers a counterintuitive optimization: replacing integer division (IDIVQ) with floating-point division (DIVSD).

submitted by /u/watman12
[link] [comments]