[Bug target/40457] use stm and ldm to access consecutive memory words
rearnsha at arm dot com
gcc-bugzilla@gcc.gnu.org
Wed Jun 17 08:41:00 GMT 2009
------- Comment #6 from rearnsha at arm dot com 2009-06-17 08:40 -------
Subject: Re: use stm and ldm to access consecutive
memory words
> ------- Comment #5 from ubizjak at gmail dot com 2009-06-16 18:16 -------
> Registers also need to be consecutive, starting from certain register, i.e.:
>
> str r1, [r0]
> str r2, [r0, #4]
No, register numbers simply need to be ascending and loaded from
consecutive memory addresses, so {r0, r2, r3, r5} is valid, but {r2, r5,
r0, r3} is not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40457
More information about the Gcc-bugs
mailing list