Next: ARC Syntax, Up: ARC-Dependent [Contents][Index]
The following options control the type of CPU for which code is assembled, and generic constraints on the code generated:
-mcpu=cpuSet architecture type and register usage for cpu. There are also shortcut alias options available for backward compatibility and convenience. Supported values for cpu are
arc600Assemble for ARC 600. Aliases: -mA6, -mARC600.
arc601Assemble for ARC 601. Alias: -mARC601.
arc700Assemble for ARC 700. Aliases: -mA7, -mARC700.
arcemAssemble for ARC EM. Aliases: -mEM
archsAssemble for ARC HS. Aliases: -mHS, -mav2hs.
nps400Assemble for ARC 700 with NPS-400 extended instructions.
Note: the .cpu directive (see ARC Directives) can
to be used to select a core variant from within assembly code.
-EBThis option specifies that the output generated by the assembler should be marked as being encoded for a big-endian processor.
-ELThis option specifies that the output generated by the assembler should be marked as being encoded for a little-endian processor - this is the default.
-mcode-densityThis option turns on Code Density instructions. Only valid for ARC EM processors.
-mrelaxEnable support for assembly-time relaxation. The assembler will replace a longer version of an instruction with a shorter one, whenever it is possible.
-mnps400Enable support for NPS-400 extended instructions.
-mspfpEnable support for single-precision floating point instructions.
-mdpfpEnable support for double-precision floating point instructions.
-mfpudaEnable support for double-precision assist floating point instructions. Only valid for ARC EM processors.
Next: ARC Syntax, Up: ARC-Dependent [Contents][Index]