Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Code Size and Speed
Jump...
Cancel
Locked
Locked
Replies
3 replies
Subscribers
119 subscribers
Views
2350 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
Code Size and Speed
Nick Purdue
over 12 years ago
Note: This was originally posted on 14th June 2013 at
http://forums.arm.com
I have inherated some ARM Code that I need to tidy up.
Keil uVision4 RealView compiler.
This Code is full of Variables of type "short" non of them need to be signed.
Would it reduce size and increase speed if i converted everything to "unsigned short" ??
From my 8051 days I would say def yes.
Parents
Peter Harris
over 12 years ago
Note: This was originally posted on 14th June 2013 at
http://forums.arm.com
Yes (Thumb only impacts the size of the instruction words, not the size of the data registers).
HTH,
Iso
Cancel
Vote up
0
Vote down
Cancel
Reply
Peter Harris
over 12 years ago
Note: This was originally posted on 14th June 2013 at
http://forums.arm.com
Yes (Thumb only impacts the size of the instruction words, not the size of the data registers).
HTH,
Iso
Cancel
Vote up
0
Vote down
Cancel
Children
No data