fa526(Faraday FA526 processor),
fa626(Faraday FA626 processor),
fa606te(Faraday FA606TE processor),
fa616te(Faraday FA616TE processor),
fa626te(Faraday FA626TE processor),
fmp626(Faraday FMP626 processor),
fa726te(Faraday FA726TE processor),
ep9312(ARM920 with Cirrus Maverick coprocessor),
i80200(Intel XScale processor)
iwmmxt(Intel(r) XScale processor with Wireless MMX(tm) technology coprocessor) and
xscale. The special name
allmay be used to allow the assembler to accept instructions valid for any ARM processor.
In addition to the basic instruction set, the assembler can be told to
accept various extension mnemonics that extend the processor using the
co-processor instruction space. For example,
is equivalent to specifying
Multiple extensions may be specified, separated by a
extensions should be specified in ascending alphabetical order.
Some extensions may be restricted to particular architectures; this is documented in the list of extensions below.
Extension mnemonics may also be removed from those the assembler accepts.
This is done be prepending
no to the option that adds the extension.
Extensions that are removed should be listed after all extensions which have
been added, again in ascending alphabetical order. For example,
-mcpu=ep9312+nomaverick is equivalent to specifying
The following extensions are currently supported:
crypto (Cryptography Extensions for v8-A architecture, implies
fp (Floating Point Extensions for v8-A architecture),
idiv (Integer Divide Extensions for v7-A and v7-R architectures),
mp (Multiprocessing Extensions for v7-A and v7-R
os (Operating System for v6M architecture),
sec (Security Extensions for v6K and v7-A architectures),
simd (Advanced SIMD Extensions for v8-A architecture, implies
virt (Virtualization Extensions for v7-A architecture, implies
pan (Priviliged Access Never Extensions for v8-A architecture),
rdma (ARMv8.1 Advanced SIMD extensions for v8-A architecture, implies
xscale. If both
-marchare specified, the assembler will use the setting for
The architecture option can be extended with the same instruction set
extension options as the
In addition to determining which instructions are assembled, this option
also affects the way in which the
.double assembler directive behaves
when assembling little-endian code.
The default is dependent on the processor selected. For Architecture 5 or later, the default is to assembler for VFP instructions; for earlier architectures the default is to assemble for FPA instructions.
-mimplicit-itoption controls the behavior of the assembler when conditional instructions are not enclosed in IT blocks. There are four possible behaviors. If
neveris specified, such constructs cause a warning in ARM code and an error in Thumb-2 code. If
alwaysis specified, such constructs are accepted in both ARM and Thumb-2 code, where the IT instruction is added implicitly. If
armis specified, such constructs are accepted in ARM code and cause an error in Thumb-2 code. If
thumbis specified, such constructs cause a warning in ARM code and are accepted in Thumb-2 code. If you omit this option, the behavior is equivalent to
Note: If a program is being built for a system with big-endian data and little-endian instructions then it should be assembled with the -EB option, (all of it, code and data) and then linked with the --be8 option. This will reverse the endianness of the instructions back to little-endian, but leave the data as big-endian.
BXinstructions in ARMv4 code. This is intended for use with the linker option of the same name.