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
ARMCC compiling for A7
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
121 subscribers
Views
2654 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
ARMCC compiling for A7
Offline
Mohit Taneja
over 9 years ago
Note: This was originally posted on 28th March 2013 at
http://forums.arm.com
Hi,
I am trying to build my project for the cortex A7. I am currently running an older version of the realview tools. I wanted to know what the difference is between the cpu = 7-a and cpu = cortex-a7 options was?
Will the A7 be able to run code compiled using the 7-a option?
Thanks
Mohit
Offline
Mohit Taneja
over 9 years ago
Note: This was originally posted on 28th March 2013 at
http://forums.arm.com
Thanks!
I take it I wont have access to LPAE either?
Cancel
Up
0
Down
Cancel
Offline
Martin Weidmann
over 9 years ago
Note: This was originally posted on 28th March 2013 at
http://forums.arm.com
The Cortex-A7 processor implements ARMv7-A. So compiling generically for ARMv7-A will produce compatible code. What the compiler will not do is optimize the code specifically for the Cortex-A7's pipeline.
The other potential issue is extensions. ARMv7-A has a number of optional extensions. The Cortex-A7 implements a couple of them, for example Virtualization. If you build for the base architecture, the tools will fault if you try to use an instruction that was added by an extension. That said, I don't usually find this to be a problem if I'm compiling C code. It tends to only be assembler (e.g. hand written init code) that uses this kind of feature.
Cancel
Up
0
Down
Cancel
Offline
Peter Harris
over 9 years ago
Note: This was originally posted on 28th March 2013 at
http://forums.arm.com
IIRC LPAE isn't an ISA level extension, so I don't think the compiler output changes.
Cancel
Up
0
Down
Cancel