Simplified if code generation (machine-wise)