diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/string/memcpy.c | 2 | ||||
-rw-r--r-- | newlib/libc/string/memmove.c | 2 | ||||
-rw-r--r-- | newlib/libc/string/mempcpy.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/string/memcpy.c b/newlib/libc/string/memcpy.c index 1bbd4e0..e680c44 100644 --- a/newlib/libc/string/memcpy.c +++ b/newlib/libc/string/memcpy.c @@ -57,7 +57,7 @@ memcpy (void *__restrict dst0, /* If the size is small, or either SRC or DST is unaligned, then punt into the byte copy loop. This should be rare. */ - if (!TOO_SMALL_BIG_BLOCK(len0) && !UNALIGNED_X_Y(src, dst)) + if (!TOO_SMALL_LITTLE_BLOCK(len0) && !UNALIGNED_X_Y(src, dst)) { aligned_dst = (long*)dst; aligned_src = (long*)src; diff --git a/newlib/libc/string/memmove.c b/newlib/libc/string/memmove.c index a82744c..4c5ec6f 100644 --- a/newlib/libc/string/memmove.c +++ b/newlib/libc/string/memmove.c @@ -85,7 +85,7 @@ memmove (void *dst_void, /* Use optimizing algorithm for a non-destructive copy to closely match memcpy. If the size is small or either SRC or DST is unaligned, then punt into the byte copy loop. This should be rare. */ - if (!TOO_SMALL_BIG_BLOCK(length) && !UNALIGNED_X_Y(src, dst)) + if (!TOO_SMALL_LITTLE_BLOCK(length) && !UNALIGNED_X_Y(src, dst)) { aligned_dst = (long*)dst; aligned_src = (long*)src; diff --git a/newlib/libc/string/mempcpy.c b/newlib/libc/string/mempcpy.c index 06e97de..5618921 100644 --- a/newlib/libc/string/mempcpy.c +++ b/newlib/libc/string/mempcpy.c @@ -53,7 +53,7 @@ mempcpy (void *dst0, /* If the size is small, or either SRC or DST is unaligned, then punt into the byte copy loop. This should be rare. */ - if (!TOO_SMALL_BIG_BLOCK(len0) && !UNALIGNED_X_Y(src, dst)) + if (!TOO_SMALL_LITTLE_BLOCK(len0) && !UNALIGNED_X_Y(src, dst)) { aligned_dst = (long*)dst; aligned_src = (long*)src; |