ARM Technical Support Knowledge Articles

Can the compiler be 'forced' to generate STM instructions?

Applies to: RealView Development Suite (RVDS)

Answer

It is almost impossible to 'force' the compiler to generate STMs. Having said that, it will almost certainly do so as a matter of course.

The compiler will generate the most efficient code it can within its operating constraints and this is typically Load and Store Multiples as they are the most efficient way of transferring multiple data.

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential