<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Code Size and Speed</title><link>https://community.arm.com/developer/tools-software/tools/f/armds-forum/513/code-size-and-speed</link><description> 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 &amp;quot;short&amp;quot;&amp;#160; non of them need to be signed. Would it</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Code Size and Speed</title><link>https://community.arm.com/thread/1087?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 10:56:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:efa67119-dd79-4301-b848-a8c3cbc1f85a</guid><dc:creator>Peter Harris</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 14th June 2013 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Yes (Thumb only impacts the size of the instruction words, not the size of the data registers).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;HTH, &lt;/span&gt;&lt;br /&gt;&lt;span&gt;Iso&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code Size and Speed</title><link>https://community.arm.com/thread/1086?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 10:56:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b9fc650d-3d00-409e-ab9f-73291d595ad8</guid><dc:creator>Nick Purdue</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 14th June 2013 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;blockquote&gt;&lt;br /&gt;I would go further (if you can) and convert them to &amp;quot;unsigned int&amp;quot;.&amp;#160; Most the data processing instructions work on 32-bit quantities.&amp;#160; If you have sub-word variables you sometimes get additional code from the compiler to convert the result back the smaller format.&lt;br /&gt;&lt;/blockquote&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Thanks... does this still apply in Thumb mode??&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Code Size and Speed</title><link>https://community.arm.com/thread/1084?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2013 10:56:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c76d1796-e877-497e-a326-76e5289baa34</guid><dc:creator>Martin Weidmann</dc:creator><description>&lt;div&gt;&lt;i&gt;Note: This was originally posted on 14th June 2013 at &lt;a href="http://forums.arm.com"&gt;http://forums.arm.com&lt;/a&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;I would go further (if you can) and convert them to &amp;quot;unsigned int&amp;quot;.&amp;#160; Most the data processing instructions work on 32-bit quantities.&amp;#160; If you have sub-word variables you sometimes get additional code from the compiler to convert the result back the smaller format.&lt;/span&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>