mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 00:14:22 +08:00
Add a versin of memset() optimized for speed
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5242 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
<tr align="center" bgcolor="#e4e4e4">
|
<tr align="center" bgcolor="#e4e4e4">
|
||||||
<td>
|
<td>
|
||||||
<h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1>
|
<h1><big><font color="#3c34ec"><i>NuttShell (NSH)</i></font></big></h1>
|
||||||
<p>Last Updated: August 28, 2012</p>
|
<p>Last Updated: October 20, 2012</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
<h1><big><font color="#3c34ec">
|
<h1><big><font color="#3c34ec">
|
||||||
<i>NuttX RTOS Porting Guide</i>
|
<i>NuttX RTOS Porting Guide</i>
|
||||||
</font></big></h1>
|
</font></big></h1>
|
||||||
<p>Last Updated: August 28, 2012</p>
|
<p>Last Updated: October 20, 2012</p>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
@@ -4449,12 +4449,12 @@ build
|
|||||||
If <code>CONFIG_ARCH_MEMCPY</code> is <b>not</b> selected, then you make also select Daniel
|
If <code>CONFIG_ARCH_MEMCPY</code> is <b>not</b> selected, then you make also select Daniel
|
||||||
Vik's optimized implementation of <code>memcpy()</code>:
|
Vik's optimized implementation of <code>memcpy()</code>:
|
||||||
</p>
|
</p>
|
||||||
<ul><li>
|
<ul><li>
|
||||||
<code>CONFIG_MEMCPY_VIK</code>:
|
<code>CONFIG_MEMCPY_VIK</code>:
|
||||||
Select this option to use the optimized <code>memcpy()</code> function by Daniel Vik.
|
Select this option to use the optimized <code>memcpy()</code> function by Daniel Vik.
|
||||||
See licensing information in the top-level <code>COPYING</code> file.
|
See licensing information in the top-level <code>COPYING</code> file.
|
||||||
Default: <code>n</code>.
|
Default: <code>n</code>.
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
And if <code>CONFIG_MEMCPY_VIK</code>, the following tuning options are available:
|
And if <code>CONFIG_MEMCPY_VIK</code>, the following tuning options are available:
|
||||||
@@ -4474,6 +4474,15 @@ build
|
|||||||
Compiles memcpy for 64 bit architectures
|
Compiles memcpy for 64 bit architectures
|
||||||
</li></ul>
|
</li></ul>
|
||||||
|
|
||||||
|
<p><li>
|
||||||
|
If <code>CONFIG_ARCH_MEMSET</code> is <b>not</b> selected, then the following option is also available:
|
||||||
|
</p>
|
||||||
|
<ul><li>
|
||||||
|
<code>CONFIG_MEMSET_OPTSPEED</code>:
|
||||||
|
Select this option to use a version of <code>memset()</code> optimized for speed.
|
||||||
|
Default: <code>memset()</code> is optimized for size.
|
||||||
|
</li></ul>
|
||||||
|
|
||||||
<li>
|
<li>
|
||||||
<p>
|
<p>
|
||||||
The architecture may provide custom versions of certain standard header files:
|
The architecture may provide custom versions of certain standard header files:
|
||||||
|
|||||||
Reference in New Issue
Block a user