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
Profiling example code with CortexA9 core option on ARM profiler.
Tools, Software and IDEs blog
Forums
Videos & Files
Help
Jump...
Cancel
New
Replies
5 replies
Subscribers
126 subscribers
Views
2584 views
Users
0 members are here
Related
Profiling example code with CortexA9 core option on ARM profiler.
Offline
Sachin Kudva
over 7 years ago
Note: This was originally posted on 29th October 2010 at http://forums.arm.com
The ARM profiler bundled with RVDS comes with a few examples.
I was able to compile the xvid example with the ARM1136 compiler option (set in make file in ARM folder) and then profile with RTSM_EB_ARM_1136 as target Model as explained in the profiler user guide. I could see the xvid video play and i got the profile figures as well.
Also with the same image i am able to profile by setting RTSM_EB_Cortex_A8 as the target model option. Again, I could see the xvid video play and i got the profile figures as well.
But if i compile the same code with Cortex_A8 as the compiler and the try to profile with the RTSM_EB_Cortex_A8 as the target model, the profiler raises exception.. the code never enters main.. Could some one help me out on this..
I guess it is something to do with initialization of coretx features while compiling. for example the cache related feature etc not taken care in the arm_init.s file in the ARM folder.
Please help.. I am new to all this...
Offline
Sachin Kudva
over 7 years ago
Note: This was originally posted on 29th October 2010 at
http://forums.arm.com
Okay if i give the compiler option as
Cortex-A8NoNeon
the code runs. so the issue is with initialization of neon related stuff..
My next question is i have a test code with a couple of neon intrinsic functions. this code is tested on QEMU simulator on cortex-A8 platform by including arm_neon.h.. so if i need to run this on the profiler i need to remove the NoNeon option. so i'm back to the same problem. the code raises exception.
Help!!!
Cancel
Up
0
Down
View discussion
Cancel
Offline
Sachin Kudva
over 7 years ago
Note: This was originally posted on 29th October 2010 at
http://forums.arm.com
thanks a lot.. looks like there is some extra code for the cpu initialization for 7-A architecture.. but do i need to call this
init_cpu()
function in the main or something.. though it doesn't say so in the code..
Cancel
Up
0
Down
View discussion
Cancel
Offline
Sachin Kudva
over 7 years ago
Note: This was originally posted on 29th October 2010 at
http://forums.arm.com
sorry for that q.. guess i need to use
--entry=init_cpu
in the make file..
Cancel
Up
0
Down
View discussion
Cancel
Offline
Sachin Kudva
over 7 years ago
Note: This was originally posted on 29th October 2010 at
http://forums.arm.com
this is great!! thanks scott..
i got my test code running with good results..
now i'm gonna try porting a VP8 decoder code with a lot more neon intrinsics wherever possible....
hoping some good luck!
Cancel
Up
0
Down
View discussion
Cancel
Offline
Scott Douglass
over 7 years ago
Note: This was originally posted on 29th October 2010 at
http://forums.arm.com
I suspect you may need some code to initialize the coprocessor access register. See [url="
http://infocenter.arm.com/help/topic/com.arm.doc.dui0472b/BGBEJBCF.html?resultof=%22%43%41%52%22%20%22%63%61%72%22%20
"]
http://infocenter.arm.com/help/topic/com.a...b/BGBEJBCF.html[/url]
Cancel
Up
0
Down
View discussion
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
ARM Toolchain Visual Studio Code
+1
1011
views
6
replies
Latest
23 days ago
by
Andy Neil
Answered
Automation for IAR build and run
+1
1522
views
1
reply
Latest
25 days ago
by
Stephen Theobald
Answered
index are changing with the voltage apply to the adc
+1
1902
views
2
replies
Latest
26 days ago
by
Vishal_Patel
Answered
Extended asm alternative for Arm Compiler 5 (memory barriers)
+1
Memory Management Unit (MMU)
Arm Assembly Language (ASM)
Arm Compiler 5
1882
views
1
reply
Latest
26 days ago
by
Ronan Synnott
Answered
Use Arm DS5 streamline performance analyzer on TX2
+1
2820
views
9
replies
Latest
26 days ago
by
ShirB
<
>
View all questions in Arm Development Studio forum