5.7.7.41 Schedule-insns/schedule-insns2 Options

The -fschedule-insns option attempts to reorder instructions to eliminate instruction stalls due to required data being unavailable.

This option is automatically enabled at optimization levels -O2 and -O3.

The -fschedule-insns2 form of this option is similar to -fschedule-insns, but it requests an additional pass of instruction scheduling after register allocation has been performed.

This option is automatically enabled at optimization levels -O2, -O3, and -Os.

The -fno-schedule-insns and -fno-schedule-insns2 forms of these options do not reorder instructions.