Can cortex-A9 issue two load/store per cycle?

Note: This was originally posted on 25th August 2012 at http://forums.arm.com

Hi All,

Can cortex-A9 issue two load/store per cycle?

If yes, the following sequence shoud be scheduled to interleave str and data processing insns. right?
add r5, r0, r1
mov r3, r0
str r3, [sp]
str r3, [sp, #4]
str r3, [sp, #8]
==>

str r3, [sp]
add r5, r0, r1
str r3, [sp, #4]
mov r3, r0
str r3, [sp, #8]

I find commnet "Only one load/store instruction can be issued per cycle" in cortex-a8 description in GCC. But I'm not sure if it is ture in cortex-a9.

Thanks a ton!!
Parents
  • Note: This was originally posted on 25th August 2012 at http://forums.arm.com

    Your first problem is that both your code do not do the same thing.
    the first one will store 3 times the value 0.
    In the second one the 2 first store depend on the value of r3.

    To reply to your question. No you can't execute 2 str in the same cycle.
Reply
  • Note: This was originally posted on 25th August 2012 at http://forums.arm.com

    Your first problem is that both your code do not do the same thing.
    the first one will store 3 times the value 0.
    In the second one the 2 first store depend on the value of r3.

    To reply to your question. No you can't execute 2 str in the same cycle.
Children
No data
More questions in this forum