/Os Compiler Option

Syntax: Default:
/Os[+|-] /Os-
  /Os+ when /O+ is set.

Use /Os to invoke the instruction scheduler. To use this option, you must also specify /O[+].

By default, the instruction scheduler is invoked when you have specified /O[+]. Otherwise, the instruction scheduler cannot be invoked. Disabling the instruction scheduler can be useful when debugging optimized code or when generating assembler listings.



Summary of Compiler Options
Summary of Compiler Options to Enable Optimization