Machine code optimizations