mirror of
https://github.com/apache/nuttx.git
synced 2026-05-31 14:27:37 +08:00
Optimized memset() can be configured to do 64-bit stores
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@5244 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -117,7 +117,7 @@ void *memset(void *s, int c, size_t n)
|
|||||||
n -= 4;
|
n -= 4;
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
/* Align to a 32-bit boundary */
|
/* Check if there are at least 32-bits left to be zeroed */
|
||||||
|
|
||||||
if (n >= 4)
|
if (n >= 4)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user