Everything

 

-use_mda


This option specifies whether to allow generation of a code using the division/multiplication and multiply-accumulate unit.

[Specification format]

-use_mda={not_use|mda}
  not_use: Suppresses generation of a code by the compiler using the division/multiplication and multiply-accumulate unit.
  mda: Allows generation of a code by the compiler using the division/multiplication and multiply-accumulate unit.

 

-

Interpretation when omitted

When the -cpu=S1 or -cpu=S3 option is specified, the code is the same as when the -use_mda=not_use option is specified.

When the -cpu=S2 option is specified, the code is the same as when the -use_mda=mda option is specified.

[Detailed description]

-

This option specifies whether to allow generation of a code by the compiler using the division/multiplication and multiply-accumulate unit.

-

The following shows the ccrl operation when both this option and the -cpu option are specified.

 

-use_mda=

not_use

mda

-cpu=

S1

Can be specified together

Compile error

S2

Can be specified together

Can be specified together

S3

Can be specified together

Compile error

[Caution]

-

To control codes other than those generated by the compiler, isolation of the runtime library is also required. For details, see "7.1 Supplied Libraries".

-

Do not specify -use_mda=mda for devices without division/multiplication and multiply-accumulate units.

[Example of use]

-

To generate a code that uses the division/multiplication and multiply-accumulate unit, describe as:

>ccrl -use_mda=mda -cpu=S2 -dev=dr5f100pj.dvf main.c