Arm Community
Site
Search
User
Site
Search
User
Groups
Research Collaboration and Enablement
DesignStart
Education Hub
Innovation
Open Source Software and Platforms
Forums
AI and ML forum
Architectures and Processors forum
Arm Development Platforms forum
Arm Development Studio forum
Arm Virtual Hardware forum
Automotive forum
Compilers and Libraries forum
Graphics, Gaming, and VR forum
High Performance Computing (HPC) forum
Infrastructure Solutions forum
Internet of Things (IoT) forum
Keil forum
Morello Forum
Operating Systems forum
SoC Design and Simulation forum
中文社区论区
Blogs
AI and ML blog
Announcements
Architectures and Processors blog
Automotive blog
Graphics, Gaming, and VR blog
High Performance Computing (HPC) blog
Infrastructure Solutions blog
Innovation blog
Internet of Things (IoT) blog
Operating Systems blog
Research Articles
SoC Design and Simulation blog
Tools, Software and IDEs blog
中文社区博客
Support
Arm Support Services
Documentation
Downloads
Training
Arm Approved program
Arm Design Reviews
Community Help
More
Cancel
Support forums
Arm Development Studio forum
RVDS version for Cortex A5
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
121 subscribers
Views
2732 views
Users
0 members are here
RealView Development Suite (RVDS)
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
RVDS version for Cortex A5
Offline
venkateswara kaja
over 9 years ago
Note: This was originally posted on 13th September 2011 at
http://forums.arm.com
Dear All,
I have observed that RVDS4.1 supports cortex a5 compilation. In RVDS3.1, I could only see A8.
Can't we compile for A8 using RVDS3.1 and execute it for A5? Do you see any issues in this method?
Regards
Parents
Offline
Martin Weidmann
over 9 years ago
Note: This was originally posted on 13th September 2011 at
http://forums.arm.com
Both the A8 and A5 are ARMv7-A, so code for one will be compatible (*) with the other.
When you compile for --cpu=7-A you are saying that the target is an ARM7-A compatible processor. When you compile with --cpu=Cortex-A5 you are saying that the target is a Cortex-A5, which is an ARMv7-A processor. The difference is in the second case the compiler will make optimization decisions based specifically on the A5. In some cases an optimization which is good on an A5 may not be so good on an A8 (and vice verse).
So yes - you can build code compatible with an A5 using RVDS 3.1. But as the A5 wasn't around when 3.1 was released - don't expect the 3.1 compiler to perform any A5 specific optimizations.
* Ok, so compatible needs a little more explanation. When you compile/assemble for a specific CPU, the tools pre-select different options. So with "--cpu=Cortex-A8" the compiler assumes that the FPU/NEON is present and available. But with "--cpu=Cortex-A5" the compiler assumes that the FPU/NEON is _not_ present/enabled. The A5 and A8 also implement different versions of the VFP specs.
Cancel
Up
0
Down
Cancel
Reply
Offline
Martin Weidmann
over 9 years ago
Note: This was originally posted on 13th September 2011 at
http://forums.arm.com
Both the A8 and A5 are ARMv7-A, so code for one will be compatible (*) with the other.
When you compile for --cpu=7-A you are saying that the target is an ARM7-A compatible processor. When you compile with --cpu=Cortex-A5 you are saying that the target is a Cortex-A5, which is an ARMv7-A processor. The difference is in the second case the compiler will make optimization decisions based specifically on the A5. In some cases an optimization which is good on an A5 may not be so good on an A8 (and vice verse).
So yes - you can build code compatible with an A5 using RVDS 3.1. But as the A5 wasn't around when 3.1 was released - don't expect the 3.1 compiler to perform any A5 specific optimizations.
* Ok, so compatible needs a little more explanation. When you compile/assemble for a specific CPU, the tools pre-select different options. So with "--cpu=Cortex-A8" the compiler assumes that the FPU/NEON is present and available. But with "--cpu=Cortex-A5" the compiler assumes that the FPU/NEON is _not_ present/enabled. The A5 and A8 also implement different versions of the VFP specs.
Cancel
Up
0
Down
Cancel
Children
No data