Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
ARM mode Thumb mode switching
Jump...
Cancel
Locked
Locked
Replies
9 replies
Subscribers
119 subscribers
Views
7768 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
ARM mode Thumb mode switching
Dave Mathew
over 12 years ago
Note: This was originally posted on 13th January 2011 at
http://forums.arm.com
Hi,
Let me explain my problem,
i come across one situation
cmp r1,#0
beq labels_of1
i would like to merge both the instructions in to one. for that i would like to use cbz (thumb instruction)
but my compiler shows an error message that this particular instruction not present in the Instruction.
Since the instruction is cbz the compilation should be in thum mode. how can i modify my make file and how can i switch the mode from ARM to thumb for execute the optimized instruction.
please let me know the mode change needs any extra cycle.
Rgds
Dave
Parents
Simon Craske
over 12 years ago
Note: This was originally posted on 19th January 2011 at
http://forums.arm.com
Without knowing
What what the likelyhood of each branch being taken is
What values "// modify the val[u]es of a0,b0,c0[color="#000000"]" actually uses are, and[/color]
[color="#000000"]What the target CPU is[/color]
it's hard to say.
s.
Cancel
Vote up
0
Vote down
Cancel
Reply
Simon Craske
over 12 years ago
Note: This was originally posted on 19th January 2011 at
http://forums.arm.com
Without knowing
What what the likelyhood of each branch being taken is
What values "// modify the val[u]es of a0,b0,c0[color="#000000"]" actually uses are, and[/color]
[color="#000000"]What the target CPU is[/color]
it's hard to say.
s.
Cancel
Vote up
0
Vote down
Cancel
Children
No data