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
IP Products
Processors
Jump...
Cancel
Processors
Cortex-M / M-Profile forum
Cortex M4 vs Cortex A9
Blogs
Forums
Videos & Files
Help
Jump...
Cancel
New
State
Accepted Answer
+1
person also asked this
people also asked this
Replies
10 replies
Subscribers
7 subscribers
Views
13620 views
Users
0 members are here
Cortex-A9
Cortex-M
Related
Cortex M4 vs Cortex A9
Offline
Mohamed Jauhar
over 7 years ago
Note: This was originally posted on 11th October 2012 at
http://forums.arm.com
What are the main difference between these two processors
Top replies
Offline
Martin Weidmann
over 7 years ago
+1
verified
Note: This was originally posted on 11th October 2012 at http://forums.arm.com None of the Cortex-M series processors support NEON. In terms of running ARM9 or Cortex-A9 code on a Cortex-M4, depends...
0
Offline
Mohamed Jauhar
over 7 years ago
Note: This was originally posted on 11th October 2012 at
http://forums.arm.com
I want to know processing power , neon simd operation is supported in both cases or not ?
I also want to know whether I can run the ARM9 code on Cortex-M4 ?
I also want to know whether I can run the Cortex-A9 code on Cortex-M4 ? If NEON supported on M4 ?
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
0
Offline
Mohamed Jauhar
over 7 years ago
Note: This was originally posted on 12th October 2012 at
http://forums.arm.com
Sorry, I mean the assembly code I written for ARM9 , is it work in Cortex-M4 ?
In other way the all instruction sets of ARM9 will supported on Cortex M4 ?
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
0
Offline
Mohamed Jauhar
over 7 years ago
Note: This was originally posted on 12th October 2012 at
http://forums.arm.com
ARM9 has some DSP instruction sets , Is it supported by Cortex M4 ?
for example SMULBT
SMULBB
SMULTT
SMULTB
SMULWT
SMULWB
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
0
Offline
Mohamed Jauhar
over 7 years ago
Note: This was originally posted on 12th October 2012 at
http://forums.arm.com
Can you please give some example code or instruction for the ARM to Thumb change ? So I can easily understand
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
0
Offline
Mohamed Jauhar
over 7 years ago
Note: This was originally posted on 13th October 2012 at
http://forums.arm.com
As you mentioned Thump as if-then instruction. Can you please give one example instruction for this ?
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
0
Offline
Peter Harris
over 7 years ago
Note: This was originally posted on 15th October 2012 at
http://forums.arm.com
Google is your friend - searching for "Thumb if-then" gives lots of hits ... you don't need me to retype the manual here =)
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
0
Offline
Peter Harris
over 7 years ago
Note: This was originally posted on 12th October 2012 at
http://forums.arm.com
I've you've written in unified assembler syntax then it should "just work", but in reality you may have to change a few things. Them usual area for work is around conditional execution; ARM has conditional instructions, Thumb has if-then instructions. Some Thumb instructions get a restricted register range (but UAL assembler hides most of this).
Footnote - The main change between an ARM-A core and an ARM-M core are the system modes and threading model. Cortex-M has a very different (easier to understand, more done in hardware) method for handling privileged modes, and interrupts. I'd highly recommend the "Definitive Guide to the Cortex-M3" as a book - most of the content applies equally to the M4.
HTH,
Iso
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
0
Offline
Martin Weidmann
over 7 years ago
Note: This was originally posted on 12th October 2012 at
http://forums.arm.com
Probably not out of the box, but with a little effort.
Yes, the ARM9s (ARMv5E) and Cortex-M4 (ARMv7-M) have support for these instructions. But... hand written assembler for an ARM9 is probably written in the ARM instruction set. The M4 only supports the Thumb instruction set. Now, ARM and Thumb are quite similar - so porting it should be relatively straight forward. Hopefully just a bit of tweaking.
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
0
Offline
Martin Weidmann
over 7 years ago
Note: This was originally posted on 11th October 2012 at
http://forums.arm.com
Scale?
Technically, the main difference (from a software perspective) is that Cortex-A9 implements ARMv7-A, while the Cortex-M4 implements ARMv7-M. But I guess that's not the answer you are looking for.
Practically, ARMv7-A is intended for devices like smartphones, tablets, etc... Things that run a full-blown OS. While ARMv7-M is aimed at microcontrollers, which will probably run baremetal code or possibly a tiny RTOS.
Cancel
Up
0
Down
Accept answer
View discussion
Cancel
+1
Offline
Martin Weidmann
over 7 years ago
Note: This was originally posted on 11th October 2012 at
http://forums.arm.com
None of the Cortex-M series processors support NEON.
In terms of running ARM9 or Cortex-A9 code on a Cortex-M4, depends on what you mean. If you mean at a source level, then C/C++ code should be portable, you'll just have to re-build. What wouldn;t be portable is system code (e.g. code to handle exceptions or memory management) as these are totally different on the ARM9/Cortex-A9 vs the Cortex-M4.
Practically running the same binaries is not going to work. But also, I don't see where it really would be desirable.
Cancel
Up
+1
Down
Reject answer
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
Not Answered
What Operating Systems support TrustZone M?
0
258
views
0
replies
Started
2 months ago
by
PseudorandomlyGeneratedString
Not Answered
Trustzone with Wifi
0
wifi
TrustZone
Cortex-M33
257
views
0
replies
Started
2 months ago
by
beze
Not Answered
Why the address of fuction printed is not same as the one mentioned in map file
0
Cortex-M7
Memory
1555
views
8
replies
Latest
2 months ago
by
42Bastian Schick
Answered
stmdb instruction *appears* not to work correctly - Cortex M4 / SAM4L
+1
Armv7-M
Cortex-M4
667
views
1
reply
Latest
2 months ago
by
HarryAtElpro
Not Answered
I have a doubt about memory addresses ¿Any expert?
0
433
views
1
reply
Latest
3 months ago
by
Bill Westfeild
<
>
View all questions in Cortex-M / M-Profile forum