Arm Community
Site
Search
User
Site
Search
User
Groups
Arm Research
DesignStart
Education Hub
Graphics and Gaming
High Performance Computing
Innovation
Multimedia
Open Source Software and Platforms
Physical
Processors
Security
System
Software Tools
TrustZone for Armv8-M
中文社区
Blog
Announcements
Artificial Intelligence
Automotive
Healthcare
HPC
Infrastructure
Innovation
Internet of Things
Machine Learning
Mobile
Smart Homes
Wearables
Forums
All developer forums
IP Product forums
Tool & Software forums
Support
Open a support case
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Developer Community
Tools and Software
Software Tools
Jump...
Cancel
Software Tools
Arm Development Studio forum
wrong cycle timing of instructions on ARM11
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
6 replies
Subscribers
126 subscribers
Views
2467 views
Users
0 members are here
Related
wrong cycle timing of instructions on ARM11
Offline
chandrakala reddy
over 7 years ago
Note: This was originally posted on 4th February 2013 at http://forums.arm.com
Hi,
Iam using RVDS3.0 for ARM11. some of the instructions are not executing in the time specified by the ARM documentation. for example, according to ARM documents, SMLAD instruction has to take 1 cycle for execution and 2 stalls if the result is immediatly used. but in real time, it is taking 2 cycles for execution. is it a bug on RVDS3.0 or am i missing any thing here. can any one please help me out.
Regards,
Chandrakala
Offline
chandrakala reddy
over 7 years ago
Note: This was originally posted on 4th February 2013 at
http://forums.arm.com
Hi,
Thanks for the reply. there is no register dependency in the code.
Following is my code
SMLAD r0, r1, r2, r3
SMLAD r4, r5, r6, r7
SMLAD r8, r9, r10, r11
SMLAD r12, lr, r1, r6
Is there any issue with the code?
Regards,
Chandrakala
Cancel
Up
0
Down
Reply
Cancel
Offline
chandrakala reddy
over 7 years ago
Note: This was originally posted on 4th February 2013 at
http://forums.arm.com
Hi,
Thanks for the reply.
How can i measure exact cycles for ARM11. Is there any way to do that. Has RVDS latest versions solved this problem. Are there any simulators to measure exact cycles.
Regards,
Chandrakala
Cancel
Up
0
Down
Reply
Cancel
Offline
chandrakala reddy
over 7 years ago
Note: This was originally posted on 4th February 2013 at
http://forums.arm.com
Thank a lot for the replies. I will use hardware for profiling.
Regards,
Chandrakala
Cancel
Up
0
Down
Reply
Cancel
Offline
Martin Weidmann
over 7 years ago
Note: This was originally posted on 4th February 2013 at
http://forums.arm.com
Couple of possibilities....
* You could just be measuring it incorrect - you haven't given any details of how you are doing this
* It could be a register dependency on one of the inputs
* It could be something like a cache or TLB miss.
I would have thought the second one is the most likely.
Cancel
Up
0
Down
Reply
Cancel
Offline
Martin Weidmann
over 7 years ago
Note: This was originally posted on 4th February 2013 at
http://forums.arm.com
No, the later versions of RVDS didn't include any more accurate (cycle wise) models. You'd have to use real hardware to get accurate results.
Cancel
Up
0
Down
Reply
Cancel
Offline
Chris Lamb
over 7 years ago
Note: This was originally posted on 4th February 2013 at
http://forums.arm.com
Hi,
Are you using the models of the ARM11 CPUs delivered as part of RVDS3.0?
If so, they are based on ARMulator models which stopped being cycle accurate
after v5. Some v6 instructions had approximate cycle counts added, but the complexity
of the pipeline meant that ARMulator could only provide a static calculation. As a result,
none of the v6 instructions in a model can be relied upon to provide a correct cycle
count.
Cancel
Up
0
Down
Reply
Cancel
More questions in this forum
By title
By date
By reply count
By view count
By most asked
By votes
By quality
Descending
Ascending
All recent questions
Unread questions
Questions you've participated in
Questions you've asked
Unanswered questions
Answered questions
Questions with suggested answers
Questions with no replies
Answered
How to view SFRs in DS during debugging?
+1
2878
views
1
reply
Latest
3 months ago
by
Ronan Synnott
Answered
Dual-core debugging in DS
0
5733
views
2
replies
Latest
3 months ago
by
Ivan Savvateev
Answered
DS52020.0 connection to Musca-A/B boards not working
+1
Arm Development Studio
Musca-A
7529
views
4
replies
Latest
3 months ago
by
Daniel Oliveira
Answered
Positioning a function in a Position Independent Executable for ARMV8
+1
8285
views
3
replies
Latest
4 months ago
by
Stephen Theobald
Answered
Link a pure binary file to image with scatter file
0
8248
views
3
replies
Latest
4 months ago
by
Ronan Synnott
<
>
View all questions in Arm Development Studio forum