Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Can cortex-A9 issue two load/store per cycle?
Jump...
Cancel
Locked
Locked
Replies
2 replies
Subscribers
119 subscribers
Views
2481 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Can cortex-A9 issue two load/store per cycle?
Peng Yuan
over 12 years ago
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!!
Etienne SOBOLE
over 12 years ago
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.
Cancel
Vote up
0
Vote down
Cancel
Gilead Kutnick
over 12 years ago
Note: This was originally posted on 27th August 2012 at
http://forums.arm.com
It can't perform two memory operations in the same cycle (neither two loads, two stores, nor one load plus one store), but you won't necessarily see a difference in manually reordering the instruction stream because Cortex-A9 has at least some ability to execute out of order.
Cancel
Vote up
0
Vote down
Cancel