Load Google Translate Help me figure this out:
I use the follow 4096 instructions on a Cortex-R4
movs r0,#1
str r0, [r8~#0]
movs r1,#2
str r1, [r8~#4]
movs r2,#3
str r3, [r8~#8]
When in "dual-issue" mode the code executes in 5162 clock cycles. ( bits 28-31 Aux control reg & bits 18-20 of the secondary Aux control register are reset.)
When dual-issue is disabled, it executes in 4146 cycles. (I saw this in ARM and Thumb2 modes)
My only thought is that dual-issue requires additional cycles of during wait stages. I have to create real-time software simulation and I am having a hard time modeling this behavior.
Thanks in advance.
Latch
Hello,
Last post I saw from you it was about simple task using PIC or ARM to control relays - is this the same job ?
I ask because Cortex R4 is not the part for that !
When you say "create real-time software simulation" I'm not sure what you mean - are you running the code on a simulator ?
It's very unusual to code these parts in assembler - do you have special reason to do so ?
Michael Kellett
Yes, I am a little confused too...
Hi Latch,
Dual issue in the Cortex-R4 is sometimes hard to wrap our minds around. Here is a link to the arminfocenter for more information on dual issue...
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0363g/Cfaccdhi.html
Thanks,
Ken
© 2009 Premier Farnell plc. All Rights Reserved
Premier Farnell plc, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE