W3cubDocs

/GCC 12

3.19.10 CR16 Options

These options are defined specifically for the CR16 ports.

-mmac

Enable the use of multiply-accumulate instructions. Disabled by default.

-mcr16cplus
-mcr16c

Generate code for CR16C or CR16C+ architecture. CR16C+ architecture is default.

-msim

Links the library libsim.a which is in compatible with simulator. Applicable to ELF compiler only.

-mint32

Choose integer type as 32-bit wide.

-mbit-ops

Generates sbit/cbit instructions for bit manipulations.

-mdata-model=model

Choose a data model. The choices for model are ‘near’, ‘far’ or ‘medium’. ‘medium’ is default. However, ‘far’ is not valid with -mcr16c, as the CR16C architecture does not support the far data model.

© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-12.2.0/gcc/CR16-Options.html