<?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 many core cycles take a 32 byte / 16 byte = 16 byte division instruction on a MKL17Z128? in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-core-cycles-take-a-32-byte-16-byte-16-byte-division/m-p/710717#M43601</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;Can anybody tell me how many core cycles does a 32 byte / 16 bytes = 16 byte division instruction take on a MKL17Z128?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to optimize the compiler (both in KDS and in MCUXpresso) in order to produce&amp;nbsp;the minimal set of assembly instructions for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found any specific information&amp;nbsp;about that, not even in ARM Cortex M0 Plus Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco Coelho&lt;/P&gt;&lt;P&gt;DFAE - Siletec Eletronica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Sep 2017 12:59:42 GMT</pubDate>
    <dc:creator>MAPC</dc:creator>
    <dc:date>2017-09-21T12:59:42Z</dc:date>
    <item>
      <title>How many core cycles take a 32 byte / 16 byte = 16 byte division instruction on a MKL17Z128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-core-cycles-take-a-32-byte-16-byte-16-byte-division/m-p/710717#M43601</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;Can anybody tell me how many core cycles does a 32 byte / 16 bytes = 16 byte division instruction take on a MKL17Z128?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to optimize the compiler (both in KDS and in MCUXpresso) in order to produce&amp;nbsp;the minimal set of assembly instructions for that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't found any specific information&amp;nbsp;about that, not even in ARM Cortex M0 Plus Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco Coelho&lt;/P&gt;&lt;P&gt;DFAE - Siletec Eletronica&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Sep 2017 12:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-core-cycles-take-a-32-byte-16-byte-16-byte-division/m-p/710717#M43601</guid>
      <dc:creator>MAPC</dc:creator>
      <dc:date>2017-09-21T12:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: How many core cycles take a 32 byte / 16 byte = 16 byte division instruction on a MKL17Z128?</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-core-cycles-take-a-32-byte-16-byte-16-byte-division/m-p/710718#M43602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Marco,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Actually, the core cycles take a 32 byte / 16 bytes is determined by your IDE code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I think you can write a small example about 32 byte / 16 bytes in the IDE you are using, then debug the code, check the according asm code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; After you get the according asm code, please refer to my attached document: Cortex-M0+ Technical Reference Manual.pdf.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Page 26, chapter 3.3 Instruction set summary.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You can find each assembler cycles, then just according to table 3-1, to calculate your 32 byte / 16 bytes asm cycles.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Take care, higher optimization will caused smaller ASM code.&lt;/P&gt;&lt;P&gt;&amp;nbsp; Please try it on your side.&lt;/P&gt;&lt;P&gt;If you still have question about it, please let me know!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kerry&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Sep 2017 06:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/How-many-core-cycles-take-a-32-byte-16-byte-16-byte-division/m-p/710718#M43602</guid>
      <dc:creator>kerryzhou</dc:creator>
      <dc:date>2017-09-22T06:18:12Z</dc:date>
    </item>
  </channel>
</rss>

