### /Gi Compiler Option

Syntax: | Default:
/Gi[+|-] | /Gi+

Use /Gi to specify fast integer execution.

When /Gi- is specified, the compiler generates extra code for shifts by a variable amount, to guarantee that the result is 0 when the shift amount is greater than or equal to the number of bits in the value to be shifted. Use /Gi+ (the default) to avoid generating this extra code.

By default, the compiler takes advantage of fast integer execution.

Summary of Compiler Options