-const_div


< Compile Options / Optimize Options >

[Format]

-const_div

 

-

[Default]

The default for this option is const_div when the speed option has been specified.

[Description]

-

When const_div is specified, calculations for division and remainders of integer constants in the source file are converted into sequences of multiplication or bitwise operation (shift or bitwise AND operations) instructions.

[Remarks]

-

Constant multiplication that can be performed through only shift operations and division and residue that can be performed through only bitwise AND operations cannot be controlled by the const_div option.