CPU: Multiple small optimizations