3.17.9. CR16 Options

3.17.9 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-5.4.0/gcc/CR16-Options.html

在线笔记
App下载
App下载

扫描二维码

下载编程狮App

公众号
微信公众号

编程狮公众号

意见反馈
返回顶部