<?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 Re: Floating point instructions on s32k146 processor in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1659616#M23397</link>
    <description>&lt;P&gt;Sorry. I don't understand what do you mean:&amp;nbsp;&lt;FONT color="#808080"&gt;&lt;EM&gt;I looked for a setting like that and couldn't find it.&lt;/EM&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;What IDE are you using? If you are using S32DS, then you can select Hardware FPU during create new S32DS Project too.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="New S32DS Project.jpg" style="width: 723px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225332i5CA537AAC05AD2BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="New S32DS Project.jpg" alt="New S32DS Project.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Float ABI.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225333iFFE0BF6020B52BA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Float ABI.jpg" alt="Float ABI.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vmul vdiv.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225334i556DF12E1E4CCD9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="vmul vdiv.jpg" alt="vmul vdiv.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 30 May 2023 07:39:07 GMT</pubDate>
    <dc:creator>Robin_Shen</dc:creator>
    <dc:date>2023-05-30T07:39:07Z</dc:date>
    <item>
      <title>Floating point instructions on s32k146 processor</title>
      <link>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1657105#M23261</link>
      <description>&lt;P&gt;We have code running on the the s32k1SIC evaluation board, which uses the s32k146 processor. The code is bogging down in floating point math, and looking at the disassembled code, I see that it is not using floating point instructions. Looking at the manual for the processor, I see that the s32k14x processors have a math coprocessor. I tried writing a vadd instruction, and when it compiles, it tells me that I can't use floating point instructions in thumb mode. So I put in a .arm directing to generate regular arm instructions, and it tells me that I can't do that on a thumb-only processor. How can I use the floating point instructions?&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 22:20:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1657105#M23261</guid>
      <dc:creator>KelvinSmith</dc:creator>
      <dc:date>2023-05-24T22:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point instructions on s32k146 processor</title>
      <link>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1657259#M23273</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Did your project enable the hardware FPU?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ENABLE_FPU Float ABI FP instructions (hard).png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/224788iA64F5830512F6C9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="ENABLE_FPU Float ABI FP instructions (hard).png" alt="ENABLE_FPU Float ABI FP instructions (hard).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;
&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 03:44:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1657259#M23273</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-05-25T03:44:00Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point instructions on s32k146 processor</title>
      <link>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1657893#M23305</link>
      <description>&lt;P&gt;Thanks Robin,&lt;/P&gt;&lt;P&gt;I looked for a setting like that and couldn't find it. But there must still be some setting because now when I build, during the link I get errors like this for each file:&lt;/P&gt;&lt;P&gt;c:/nxp/s32ds.3.4/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: error: libuavcanV1_demo.elf uses VFP register arguments, ./Project_Settings/Startup_Code/system_S32K146.o does not&lt;BR /&gt;c:/nxp/s32ds.3.4/s32ds/build_tools/gcc_b1620/gcc-6.3-arm32-eabi/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/real-ld.exe: failed to merge target specific data of file ./Project_Settings/Startup_Code/system_S32K146.o&lt;/P&gt;</description>
      <pubDate>Thu, 25 May 2023 19:12:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1657893#M23305</guid>
      <dc:creator>KelvinSmith</dc:creator>
      <dc:date>2023-05-25T19:12:23Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point instructions on s32k146 processor</title>
      <link>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1659616#M23397</link>
      <description>&lt;P&gt;Sorry. I don't understand what do you mean:&amp;nbsp;&lt;FONT color="#808080"&gt;&lt;EM&gt;I looked for a setting like that and couldn't find it.&lt;/EM&gt;&amp;nbsp;&lt;/FONT&gt;&lt;BR /&gt;What IDE are you using? If you are using S32DS, then you can select Hardware FPU during create new S32DS Project too.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="New S32DS Project.jpg" style="width: 723px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225332i5CA537AAC05AD2BF/image-size/large?v=v2&amp;amp;px=999" role="button" title="New S32DS Project.jpg" alt="New S32DS Project.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Float ABI.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225333iFFE0BF6020B52BA7/image-size/large?v=v2&amp;amp;px=999" role="button" title="Float ABI.jpg" alt="Float ABI.jpg" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vmul vdiv.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/225334i556DF12E1E4CCD9D/image-size/large?v=v2&amp;amp;px=999" role="button" title="vmul vdiv.jpg" alt="vmul vdiv.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 07:39:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1659616#M23397</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-05-30T07:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Floating point instructions on s32k146 processor</title>
      <link>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1661152#M23458</link>
      <description>&lt;P&gt;Robin, I see that what I said was ambiguous. I did find the option (as you described) and I selected it, matching the images above. But when I compile, at the link stage, I get the errors I listed above.&lt;/P&gt;</description>
      <pubDate>Wed, 31 May 2023 19:49:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1661152#M23458</guid>
      <dc:creator>KelvinSmith</dc:creator>
      <dc:date>2023-05-31T19:49:30Z</dc:date>
    </item>
    <item>
      <title>回复： Floating point instructions on s32k146 processor</title>
      <link>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1867887#M35513</link>
      <description>&lt;P&gt;I solve this problem by adding the dir info below, for&amp;nbsp;&lt;SPAN&gt;reference only.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KILLERzheng_0-1715934666902.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/279347i28EBBB3C41F8FD8A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KILLERzheng_0-1715934666902.png" alt="KILLERzheng_0-1715934666902.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 17 May 2024 08:32:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Floating-point-instructions-on-s32k146-processor/m-p/1867887#M35513</guid>
      <dc:creator>KILLERzheng</dc:creator>
      <dc:date>2024-05-17T08:32:02Z</dc:date>
    </item>
  </channel>
</rss>

