AArch64 Options (Using as) (original) (raw)
This option specifies the target processor. The assembler will issue an error message if an attempt is made to assemble an instruction which will not execute on the target processor. The following processor names are recognized:cortex-a34
,cortex-a35
,cortex-a53
,cortex-a55
,cortex-a57
,cortex-a65
,cortex-a65ae
,cortex-a72
,cortex-a73
,cortex-a75
,cortex-a76
,cortex-a76ae
,cortex-a77
,cortex-a78
,cortex-a78ae
,cortex-a78c
,cortex-a510
,cortex-a520
,cortex-a710
,cortex-a720
,ares
,exynos-m1
,falkor
,neoverse-n1
,neoverse-n2
,neoverse-e1
,neoverse-v1
,qdf24xx
,saphira
,thunderx
,vulcan
,xgene1
xgene2
,cortex-r82
,cortex-x1
,cortex-x2
,cortex-x3
, andcortex-x4
. The special name all
may be used to allow the assembler to accept instructions valid for any supported processor, including all optional extensions.
In addition to the basic instruction set, the assembler can be told to accept, or restrict, various extension mnemonics that extend the processor. See Architecture Extensions.
If some implementations of a particular processor can have an extension, then then those extensions are automatically enabled. Consequently, you will not normally have to specify any additional extensions.
This option specifies the target architecture. The assembler will issue an error message if an attempt is made to assemble an instruction which will not execute on the target architecture. The following architecture names are recognized: armv8-a
,armv8.1-a
, armv8.2-a
, armv8.3-a
, armv8.4-a
armv8.5-a
, armv8.6-a
, armv8.7-a
, armv8.8-a
,armv8.9-a
, armv8-r
, armv9-a
, armv9.1-a
,armv9.2-a
, armv9.3-a
, armv9.4-a
and armv9.5-a
.
If both -mcpu and -march are specified, the assembler will use the setting for -mcpu. If neither are specified, the assembler will default to -mcpu=all.
The architecture option can be extended with the same instruction set extension options as the -mcpu option. Unlike-mcpu, extensions are not always enabled by default. See Architecture Extensions.