This option (enabled by default) preserves existing behavior by allowing use of Advanced SIMD registers while expanding memset/memcpy/memmove operations into inline instructions.
Disabling this option prevents use of these registers for environments where the FPU may be disabled to reduce the cost of saving/restoring the processor state, such as in interrupt handlers. The second patch in this series disables this option by default for aarch64*-*-elf targets as those are often used for embedded systems with interrupt handlers. Keith Packard (2): aarch64: Add -msimd-memops option controlling SIMD usage in memset/memcpy aarch64: Make -mno-simd-memops default for aarch64*-*-elf targets gcc/common/config/aarch64/aarch64-common.cc | 4 ++++ gcc/config/aarch64/aarch64-elf.h | 3 +++ gcc/config/aarch64/aarch64.cc | 8 +++++--- gcc/config/aarch64/aarch64.h | 7 +++++++ gcc/config/aarch64/aarch64.opt | 4 ++++ gcc/config/aarch64/aarch64.opt.urls | 3 +++ gcc/doc/invoke.texi | 10 +++++++++- 7 files changed, 35 insertions(+), 4 deletions(-) -- 2.49.0