<?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のトピックRe: Question about vfpv3 and neon</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-vfpv3-and-neon/m-p/427309#M64836</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; Basically, the ARM core of the i.MX6 supports both VFP and NEON : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;NEON is a SIMD engine, the VFP is an Floating Point coprocessor.&amp;nbsp; &lt;BR /&gt;"The Media Processing Engine (MPE) implements ARM NEON technology.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;[...] &lt;/SPAN&gt;The MPE also implements a VFPv3-D32 Floating-Point Unit.&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt; We can apply NEON for single-precision floating-point operations for &lt;BR /&gt;several values in parallel. Under Linux one should &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;use the same floating &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;point options for applications and kernel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for&lt;/P&gt;&lt;P&gt;"Is it need to add the ldflags "&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp" ?&lt;/EM&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;- yes, since the mentioned options relates to C compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 May 2015 02:22:31 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2015-05-14T02:22:31Z</dc:date>
    <item>
      <title>Question about vfpv3 and neon</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-vfpv3-and-neon/m-p/427307#M64834</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am confused about vfpv3 and neon.&lt;/P&gt;&lt;P&gt;As shown in i.MX 6Dual/6Quad Reference Manual, it supports neon and vfpv3, also in kernel defconfig, the related config is&lt;/P&gt;&lt;P&gt;"CONFIG_VFP=y&lt;/P&gt;&lt;P&gt;CONFIG_VFPv3=y&lt;/P&gt;&lt;P&gt;CONFIG_NEON=y".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question1:&lt;/P&gt;&lt;P&gt;In L3.0.35_4.1.0_ER_SOURCE_BSP release package, the cflags is "-march=armv7-a &lt;STRONG&gt;-mfpu=vfpv3&lt;/STRONG&gt; -mfloat-abi=softfp",&lt;/P&gt;&lt;P&gt;but in android_jb4.3_1.1.0-ga_source release package, the arch_variant_cflags is "-march=armv7-a &lt;STRONG&gt;-mfpu=neon&lt;/STRONG&gt; -mfloat-abi=softfp". &lt;/P&gt;&lt;P&gt;what is the difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Question2: Does the option only used in cflags? not uesd in ldflags?&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;arm-fsl-linux-gnueabi-gcc -c helloworld.c -march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;arm-fsl-linux-gnueabi-gcc -o helloworld helloworld.o &lt;EM style="color: #3334ca;"&gt; [-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Is it need to add the ldflags "&lt;EM style="color: #3334ca;"&gt;-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp" ?&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Richard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 08:46:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-vfpv3-and-neon/m-p/427307#M64834</guid>
      <dc:creator>Wizard_Richard</dc:creator>
      <dc:date>2015-05-13T08:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Question about vfpv3 and neon</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-vfpv3-and-neon/m-p/427308#M64835</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;fpu is not implemented on i.MX6 platform, below part of i.MX6DQ RM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="MX6DQRM  p.557.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/23568iABEB20E8031D83E6/image-size/large?v=v2&amp;amp;px=999" role="button" title="MX6DQRM  p.557.jpg" alt="MX6DQRM  p.557.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for flags one can look at attached gcc release note.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;&lt;P&gt;igor&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2015 10:53:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-vfpv3-and-neon/m-p/427308#M64835</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2015-05-13T10:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: Question about vfpv3 and neon</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Question-about-vfpv3-and-neon/m-p/427309#M64836</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; Basically, the ARM core of the i.MX6 supports both VFP and NEON : &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;NEON is a SIMD engine, the VFP is an Floating Point coprocessor.&amp;nbsp; &lt;BR /&gt;"The Media Processing Engine (MPE) implements ARM NEON technology.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;[...] &lt;/SPAN&gt;The MPE also implements a VFPv3-D32 Floating-Point Unit.&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt; We can apply NEON for single-precision floating-point operations for &lt;BR /&gt;several values in parallel. Under Linux one should &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;use the same floating &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;point options for applications and kernel.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As for&lt;/P&gt;&lt;P&gt;"Is it need to add the ldflags "&lt;SPAN style="color: #3334ca;"&gt;&lt;EM&gt;-march=armv7-a -mfpu=vfpv3 -mfloat-abi=softfp" ?&lt;/EM&gt;&lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;- yes, since the mentioned options relates to C compiler.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 May 2015 02:22:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Question-about-vfpv3-and-neon/m-p/427309#M64836</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2015-05-14T02:22:31Z</dc:date>
    </item>
  </channel>
</rss>

