You copied the Doc URL to your clipboard.

-fldm-stm, -fno-ldm-stm

Disables the generation of LDM and STM instructions. This helps reduce interrupt latency on some ARM systems.

Usage

The -fno-ldm-stm option can reduce interrupt latency on ARM systems that:

  • Do not have a cache or a write buffer.
  • Use zero-wait-state, 32-bit memory.

Note

Using -fno-ldm-stm increases code size and decreases performance slightly.

Restrictions

Existing LDM and STM instructions (for example, in assembly code you are assembling with armclang) are not removed.

Default

The default is -fldm-stm. That is, by default armclang can generate LDM and STM instructions.