<?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: optimization of lib function memcpy in S32K</title>
    <link>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2249750#M54854</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210005"&gt;@LewisThin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We do not recommend replacing functions from standard libraries. However, if you need to use a custom function, you can create and add your own library. For detailed instructions, refer to &lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Add-a-static-library-file-into-S32DS-GCC-project/ta-p/1110308" target="_blank" rel="noopener"&gt;HOWTO: Add a static library file into S32DS GCC project&lt;/A&gt;, where you will find further information that may be useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
    <pubDate>Wed, 26 Nov 2025 21:45:05 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2025-11-26T21:45:05Z</dc:date>
    <item>
      <title>optimization of lib function memcpy</title>
      <link>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2249255#M54839</link>
      <description>&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;S32K344 and GCC 10.2 were used for my project developping. in my project, memset and memcpy were use freqently.&lt;/P&gt;&lt;P&gt;i found that the memcpy and memset in lib is vevry simple and&amp;nbsp;low efficienct by byte operation.&lt;/P&gt;&lt;P&gt;i have developped the optimized functions using SIMD operations.&lt;/P&gt;&lt;P&gt;now i wanna to replace the memcpy and memset functions in the lib in a transparent method, namely, i wanna to use #include &amp;lt;string.h&amp;gt; in my source files.&lt;/P&gt;&lt;P&gt;and more, the&amp;nbsp;optimized functions are in a .h file and with an inline modifier.&lt;/P&gt;&lt;P&gt;is there any way to achieve the goal.&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;best regards.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 10:11:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2249255#M54839</guid>
      <dc:creator>LewisThin</dc:creator>
      <dc:date>2025-11-26T10:11:28Z</dc:date>
    </item>
    <item>
      <title>Re: optimization of lib function memcpy</title>
      <link>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2249750#M54854</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/210005"&gt;@LewisThin&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We do not recommend replacing functions from standard libraries. However, if you need to use a custom function, you can create and add your own library. For detailed instructions, refer to &lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/HOWTO-Add-a-static-library-file-into-S32DS-GCC-project/ta-p/1110308" target="_blank" rel="noopener"&gt;HOWTO: Add a static library file into S32DS GCC project&lt;/A&gt;, where you will find further information that may be useful.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 21:45:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2249750#M54854</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-11-26T21:45:05Z</dc:date>
    </item>
    <item>
      <title>optimization of lib function memcpy</title>
      <link>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2255766#M55161</link>
      <description>&lt;P&gt;hi,&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913" target="_self"&gt;&lt;SPAN class=""&gt;VaneB&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;Thanks for your reply. the instructions in&amp;nbsp; the lib are too inefficient for our project. but memcpy is in many sources files and changing the source files are not accepteable.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;do you have any other ideas?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;best regards!&lt;/P&gt;</description>
      <pubDate>Fri, 05 Dec 2025 06:25:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2255766#M55161</guid>
      <dc:creator>LewisThin</dc:creator>
      <dc:date>2025-12-05T06:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: optimization of lib function memcpy</title>
      <link>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2260830#M55333</link>
      <description>&lt;P&gt;If you define a global memcpy function in your application then it should take priority over the standard function in the library. This can not be inline however, must be compiled as a standard global (non-static) function.&lt;/P&gt;&lt;P&gt;Another possible option is to add a define or alternatively a forced include via compiler directive settings, effectively rewriting the source files on the fly while compiling. Enabling your application and referenced drivers to use your version&lt;/P&gt;</description>
      <pubDate>Fri, 12 Dec 2025 08:57:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/optimization-of-lib-function-memcpy/m-p/2260830#M55333</guid>
      <dc:creator>Henrik-Wires</dc:creator>
      <dc:date>2025-12-12T08:57:57Z</dc:date>
    </item>
  </channel>
</rss>

