Optimize operations with immediate parameters