<?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 how to use the optimization of the codewarrior in MPC5xxx</title>
    <link>https://community.nxp.com/t5/MPC5xxx/how-to-use-the-optimization-of-the-codewarrior/m-p/742496#M10263</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I have a question that a program with the level 2 of optimization commad.The&amp;nbsp;version of the program runs on the same 10 hardware platforms, of which there is a board program does not run for a while. This version of program optimization option is level 2. But when I choose the level of optimization level 0. This version of the process can be normal operation does not appear stuck, the function is normal.&lt;/P&gt;&lt;P&gt;the figure:the optimization as show:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32857i81479AE2CC96B33E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a few questions,&lt;/P&gt;&lt;P&gt;(1) codewarrior optimization options optimization code how to view the assembly language？&lt;/P&gt;&lt;P&gt;(2) &amp;nbsp;whether the project is recommended to use optimization options; (3) Some people think that codewarrior optimization options could introduce a bug so do not recommend Use, is it reasonable? (4) My project has entered a small batch test, 500 boards only a&amp;nbsp;board appears such a situation, whether I need to cancel the optimization options. Is this necessary?&lt;/P&gt;&lt;P&gt;i hope your advice.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 22 Dec 2017 02:28:03 GMT</pubDate>
    <dc:creator>lebronji</dc:creator>
    <dc:date>2017-12-22T02:28:03Z</dc:date>
    <item>
      <title>how to use the optimization of the codewarrior</title>
      <link>https://community.nxp.com/t5/MPC5xxx/how-to-use-the-optimization-of-the-codewarrior/m-p/742496#M10263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; I have a question that a program with the level 2 of optimization commad.The&amp;nbsp;version of the program runs on the same 10 hardware platforms, of which there is a board program does not run for a while. This version of program optimization option is level 2. But when I choose the level of optimization level 0. This version of the process can be normal operation does not appear stuck, the function is normal.&lt;/P&gt;&lt;P&gt;the figure:the optimization as show:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/32857i81479AE2CC96B33E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have a few questions,&lt;/P&gt;&lt;P&gt;(1) codewarrior optimization options optimization code how to view the assembly language？&lt;/P&gt;&lt;P&gt;(2) &amp;nbsp;whether the project is recommended to use optimization options; (3) Some people think that codewarrior optimization options could introduce a bug so do not recommend Use, is it reasonable? (4) My project has entered a small batch test, 500 boards only a&amp;nbsp;board appears such a situation, whether I need to cancel the optimization options. Is this necessary?&lt;/P&gt;&lt;P&gt;i hope your advice.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Dec 2017 02:28:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/how-to-use-the-optimization-of-the-codewarrior/m-p/742496#M10263</guid>
      <dc:creator>lebronji</dc:creator>
      <dc:date>2017-12-22T02:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: how to use the optimization of the codewarrior</title>
      <link>https://community.nxp.com/t5/MPC5xxx/how-to-use-the-optimization-of-the-codewarrior/m-p/742497#M10264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) For assembly code, right click somewhere in C file and select Disassemble.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/33976i060108D1BFC77337/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) If you use higher optimization, your code will be smaller, but also it will be more difficult to debug it and compiling will be slower. There is a description under each optimization level, so you can read, what optimizations are done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3) It is possible that high level optimization will create some bug in the code. Unfortunately any compiler is flawless.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;4) In case your code does not work as expected with optimization, I recommend you set optimization off and do not use it (if it is possible).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps. In case you have any other questions, please feel free to write me back.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Dec 2017 10:36:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MPC5xxx/how-to-use-the-optimization-of-the-codewarrior/m-p/742497#M10264</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2017-12-27T10:36:14Z</dc:date>
    </item>
  </channel>
</rss>

