<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Codewarrior 6.3 vs Codewarrior 10.1 compiler in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172873#M5425</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BlackNight,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you by your help, but i think that all configs are the same. I have attached the images and the disassembly for both compilers of the ff.c file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 08 Oct 2011 18:48:44 GMT</pubDate>
    <dc:creator>gustavod</dc:creator>
    <dc:date>2011-10-08T18:48:44Z</dc:date>
    <item>
      <title>Codewarrior 6.3 vs Codewarrior 10.1 compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172871#M5423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyone knows why Codewarrior 10.1 compiler for Coldfire V1 generates much bigger code than Codewarrior 6.3 compiler?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have both projects with the same code and the same optimization level (1 - smaller code size). The code generated by Codewarrior 6.3 is around 46KBytes and the code generated by Codewarrior 10.1 is around 60KBytes&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the MAP files of both projects. You can look at functions and see that code generated by CodeWarrior 10.1 is bigger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 17:50:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172871#M5423</guid>
      <dc:creator>gustavod</dc:creator>
      <dc:date>2011-10-08T17:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 6.3 vs Codewarrior 10.1 compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172872#M5424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hard to tell from the map file only. I suggest that you pick one function (e.g. f_mount) and create a disassembly listing for both compilers.&lt;/P&gt;&lt;P&gt;There is for sure one big change from 6.3 to 10.1 projects (ColdFire): the library model has changed. But I think this is not the main reason. I think somehow your 10.1 options are not to the same optimization level as in 6.3.&lt;/P&gt;&lt;P&gt;Check if you have the same code and data model (e.g. far/near, etc) and as well if the stack frames (-A6) are the same.&lt;/P&gt;&lt;P&gt;You find these settings in 10.1 under the project settings &amp;gt; C/C++ Build &amp;gt; Settings &amp;gt; ColdFire Compiler &amp;gt; Processor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 18:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172872#M5424</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2011-10-08T18:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 6.3 vs Codewarrior 10.1 compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172873#M5425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi BlackNight,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you by your help, but i think that all configs are the same. I have attached the images and the disassembly for both compilers of the ff.c file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 18:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172873#M5425</guid>
      <dc:creator>gustavod</dc:creator>
      <dc:date>2011-10-08T18:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 6.3 vs Codewarrior 10.1 compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172874#M5426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you check the ff_disassembly_CW10.1.txt﻿? it is an empty file in the zip file?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 21:39:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172874#M5426</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2011-10-08T21:39:22Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 6.3 vs Codewarrior 10.1 compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172875#M5427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Forgive me BK. Now i posted the right files.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 22:34:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172875#M5427</guid>
      <dc:creator>gustavod</dc:creator>
      <dc:date>2011-10-08T22:34:37Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 6.3 vs Codewarrior 10.1 compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172876#M5428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I think I have found your problem: you missed to enable 'Register Coloring', 'Instruction scheduling' and 'Peephole' optimizations in MCU10.1. You have them enabled in 6.3, but not in 10.1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I replicated this on my side, and with above optimizations enabled the code size in my f_mount() was reduced from 0x52.&lt;/P&gt;&lt;P&gt;to 0x2d. So this should make the difference you expect.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 22:36:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172876#M5428</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2011-10-08T22:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 6.3 vs Codewarrior 10.1 compiler</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172877#M5429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much BK. Now both codes are in the same size. On monday i will try the Code Warrior 10.1 code in my board, but i think that everything will work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Gustavo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 08 Oct 2011 22:50:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Codewarrior-6-3-vs-Codewarrior-10-1-compiler/m-p/172877#M5429</guid>
      <dc:creator>gustavod</dc:creator>
      <dc:date>2011-10-08T22:50:41Z</dc:date>
    </item>
  </channel>
</rss>

