This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/40457] use stm and ldm to access consecutive memory words



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]