1.16 -fldm-stm, -fno-ldm-stm

Enable or disable the generation of LDM and STM instructions. AArch32 only.

Usage

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

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

Note:

Using -fno-ldm-stm might slightly increase code size and decrease performance.

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.

Non-ConfidentialPDF file icon PDF version100067_0609_00_en
Copyright © 2014–2017 Arm Limited (or its affiliates). All rights reserved.