Hard-coded SSE2 optimizations for a few hot functions.