<?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>i.MX ProcessorsのトピックProblem with NEON for I.MX 6</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-NEON-for-I-MX-6/m-p/333104#M45098</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, please excuse me for taking some of your time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a program using I.MX 6 with android ndk platform. We are currently optimize our C++ code with NEON, and encountered with some problems: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; when we turn on the neon flag i.e. "-mfpu=neon", a bus error occrued while the code runs well with no error with flag "mfpu=vfpv3d16". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With further investigate, we found that gcc assume neon is by default with vfpv3d32, so we guess the error may be caused by vfp instruction which using d16-d31 (because gcc assumes that d16-d31 is available when the neon flag is used). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the I.MX 6 is configured with neon + vfpv3d16 which means that there are only 16 d reg for vfp. We want to know if there is any possibility that I.MX 6 can have NEON worked (if the answer is yes, then how?), or this problem can not be solved for this chip? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would be greatly appreciated if you could answer our question. Thank you very much for your consideration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Nov 2014 04:32:30 GMT</pubDate>
    <dc:creator>曦刘</dc:creator>
    <dc:date>2014-11-12T04:32:30Z</dc:date>
    <item>
      <title>Problem with NEON for I.MX 6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-NEON-for-I-MX-6/m-p/333104#M45098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, please excuse me for taking some of your time. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have a program using I.MX 6 with android ndk platform. We are currently optimize our C++ code with NEON, and encountered with some problems: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; when we turn on the neon flag i.e. "-mfpu=neon", a bus error occrued while the code runs well with no error with flag "mfpu=vfpv3d16". &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;With further investigate, we found that gcc assume neon is by default with vfpv3d32, so we guess the error may be caused by vfp instruction which using d16-d31 (because gcc assumes that d16-d31 is available when the neon flag is used). &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the I.MX 6 is configured with neon + vfpv3d16 which means that there are only 16 d reg for vfp. We want to know if there is any possibility that I.MX 6 can have NEON worked (if the answer is yes, then how?), or this problem can not be solved for this chip? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We would be greatly appreciated if you could answer our question. Thank you very much for your consideration.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Nov 2014 04:32:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-NEON-for-I-MX-6/m-p/333104#M45098</guid>
      <dc:creator>曦刘</dc:creator>
      <dc:date>2014-11-12T04:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with NEON for I.MX 6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-NEON-for-I-MX-6/m-p/333105#M45099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp; Basically the i.MX6 supports VFPv3-D32.&lt;/P&gt;&lt;P&gt;But note, that under OS we should use the same options for floating point support&amp;nbsp; and&lt;/P&gt;&lt;P&gt;the same interface for floating point parameters in function calls (ABI) .&lt;/P&gt;&lt;P&gt;Therefore if OS release is based on some agreements and options, it is needed to apply &lt;BR /&gt;those ones to all applications.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; Below are general considerations.&lt;/P&gt;&lt;P&gt;Please refer to the next VFP introduction on i.MX6 :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-wiki-small" data-containerid="2004" data-containertype="14" data-objectid="100112" data-objecttype="102" href="https://community.freescale.com/docs/DOC-100112"&gt;https://community.freescale.com/docs/DOC-100112&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, the following may be helpful :&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;"Question, enabling NEON H/W"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="380469" data-objecttype="2" href="https://community.freescale.com/message/380469#380469"&gt;https://community.freescale.com/message/380469#380469&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&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>Wed, 12 Nov 2014 06:36:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-NEON-for-I-MX-6/m-p/333105#M45099</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-11-12T06:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with NEON for I.MX 6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Problem-with-NEON-for-I-MX-6/m-p/333106#M45100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's correct.&lt;/P&gt;&lt;P&gt;and it's our fault with struct align.&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Nov 2014 02:17:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Problem-with-NEON-for-I-MX-6/m-p/333106#M45100</guid>
      <dc:creator>曦刘</dc:creator>
      <dc:date>2014-11-21T02:17:12Z</dc:date>
    </item>
  </channel>
</rss>

