These options are defined for AArch64 implementations:
-mabi=
name
ilp32
’ for SysV-like data model where int, long int and pointer are 32-bit, and ‘lp64
’ for SysV-like data model where int is 32-bit, but long int and pointer are 64-bit. The default depends on the specific target configuration. Note that the LP64 and ILP32 ABIs are not link-compatible; you must compile your entire program with the same ABI, and link with a compatible set of libraries.
-mbig-endian
aarch64_be-*-*
’ target. -mgeneral-regs-only
-mlittle-endian
aarch64-*-*
’ but not an ‘aarch64_be-*-*
’ target. -mcmodel=tiny
small
’. -mcmodel=small
-mcmodel=large
-mstrict-align
-momit-leaf-frame-pointer
-mno-omit-leaf-frame-pointer
-mtls-dialect=desc
-mtls-dialect=traditional
-mfix-cortex-a53-835769
-mno-fix-cortex-a53-835769
-mfix-cortex-a53-843419
-mno-fix-cortex-a53-843419
-march=
name
armv8-a
’. The permissible values for feature are documented in the sub-section below. Where conflicting feature modifiers are specified, the right-most feature is used.
GCC uses this name to determine what kind of instructions it can emit when generating assembly code.
Where -march
is specified without either of -mtune
or -mcpu
also being specified, the code will be tuned to perform well across a range of target processors implementing the target architecture.
-mtune=
name
generic
’, ‘cortex-a53
’, ‘cortex-a57
’. Additionally, this option can specify that GCC should tune the performance of the code for a big.LITTLE system. The only permissible value is ‘cortex-a57.cortex-a53
’.
Where none of -mtune=
, -mcpu=
or -march=
are specified, the code will be tuned to perform well across a range of target processors.
This option cannot be suffixed by feature modifiers.
-mcpu=
name
-mtune
. The permissible values for feature are documented in the sub-section below.
Where conflicting feature modifiers are specified, the right-most feature is used.
GCC uses this name to determine what kind of instructions it can emit when generating assembly code (as if by -march
) and to determine the target processor for which to tune for performance (as if by -mtune
). Where this option is used in conjunction with -march
or -mtune
, those options take precedence over the appropriate part of this option.
-march
and -mcpu
feature modifiersFeature modifiers used with -march
and -mcpu
can be one the following:
crc
’crypto
’fp
’simd
’-march
and -mcpu=
.
© Free Software Foundation
Licensed under the GNU Free Documentation License, Version 1.3.
https://gcc.gnu.org/onlinedocs/gcc-4.9.3/gcc/AArch64-Options.html