3.17.3. ARC Options

3.17.3 ARC Options

The following options control the architecture variant for which code is being compiled:

-mbarrel-shifter
Generate instructions supported by barrel shifter. This is the default unless -mcpu=ARC601 is in effect.
-mcpu=cpu
Set architecture type, register usage, and instruction scheduling parameters for cpu. There are also shortcut alias options available for backward compatibility and convenience. Supported values for cpu are
ARC600
Compile for ARC600. Aliases: -mA6, -mARC600.
ARC601
Compile for ARC601. Alias: -mARC601.
ARC700
Compile for ARC700. Aliases: -mA7, -mARC700. This is the default when configured with --with-cpu=arc700登录查看完整内容