Add various CPU optimizations