diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-21 01:34:37 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2012-10-21 01:34:37 +0000 |
commit | 1c8f16b1684773cc2b47867b9224154fba1dc1ac (patch) | |
tree | 0094ad3b0946055e37786f09903b09d49f7a096f /nuttx | |
parent | 1dbd8d3bf87c8c4a0bb55fce3e3a01d929db9dee (diff) | |
download | nuttx-1c8f16b1684773cc2b47867b9224154fba1dc1ac.tar.gz nuttx-1c8f16b1684773cc2b47867b9224154fba1dc1ac.tar.bz2 nuttx-1c8f16b1684773cc2b47867b9224154fba1dc1ac.zip |
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
Diffstat (limited to 'nuttx')
-rw-r--r-- | nuttx/lib/string/lib_memset.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/string/lib_memset.c b/nuttx/lib/string/lib_memset.c index 2828f1ff8..902a040c5 100644 --- a/nuttx/lib/string/lib_memset.c +++ b/nuttx/lib/string/lib_memset.c @@ -117,7 +117,7 @@ void *memset(void *s, int c, size_t n) n -= 4; } #else - /* Align to a 32-bit boundary */ + /* Check if there are at least 32-bits left to be zeroed */ if (n >= 4) { |