This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/40457] use stm and ldm to access consecutive memory words
- From: "rearnsha at arm dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Jun 2009 08:40:47 -0000
- Subject: [Bug target/40457] use stm and ldm to access consecutive memory words
- References: <bug-40457-17659@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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