This is an overview of the compilation tools support for ARMv7-A (ARMv7 architecture targeted at the application profile). Application profiles implement a traditional ARM architecture with multiple modes and support a virtual memory system architecture based on an MMU. These profiles support both ARM and Thumb instruction sets. the following table shows useful command-line options.
|ARMv7 with Thumb-2 only, and without hardware divide[a]|
|ARMv7 application profile supporting virtual MMU-based memory systems, with ARM, Thumb, Thumb-2, and Thumb-2EE instruction sets, NEON™ support, and 32-bit SIMD support|
[a] ARM v7 is not a recognized ARM architecture. Rather, it denotes the features that are common to all of the ARMv7-A, ARMv7-R, and ARMv7-M architectures.
The data alignment behavior supported by the ARM architecture
is significantly different between ARMv4 and ARMv7. An ARMv7 implementation
must support unaligned data accesses. You can control the alignment
requirements of load and store instructions by using the
in the CP15 register c1.
ARMv7 architectures do not support pre-ARMv6 alignment.
You can produce either little-endian or big-endian code using
the compiler command-line options
ARMv7-A supports the following endian modes:
big-endian format used by ARMv6 and ARMv7.
The ARMv7 does not support the legacy BE-32 mode. If you have legacy code for ARMv7 processors that contain instructions with a big-endian byte order, then you must perform byte order reversal.