<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>V* Assembly Code on ARM-V8 processor with NEON &amp;amp; FPU Disabled</title><link>https://community.arm.com/developer/tools-software/tools/f/arm-compilers-forum/43741/v-assembly-code-on-arm-v8-processor-with-neon-fpu-disabled</link><description> Can we compile an existing assembly code with V* instructions, but the ARM v8 processor has the NEON and FPU disabled? If not, do we have an option to workaround this, instead of re-code everything? Please advise. </description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: V* Assembly Code on ARM-V8 processor with NEON &amp; FPU Disabled</title><link>https://community.arm.com/thread/159121?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 02:03:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:2782f5f0-d386-4995-ac86-a174088bf52d</guid><dc:creator>Ronan Synnott</dc:creator><description>&lt;p&gt;Hi Changi&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know of an automatic way to do this. The easiest workaround would be to use some form of #ifdef...#endif, and define the macro at build time&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;#ifdef VECTOR_ENABLED
 // vector implementation of function
#else
 // non-vector implementation of function
#endif&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>