aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vppinfra/memcpy_avx.h5
-rw-r--r--src/vppinfra/memcpy_sse3.h5
2 files changed, 0 insertions, 10 deletions
diff --git a/src/vppinfra/memcpy_avx.h b/src/vppinfra/memcpy_avx.h
index d95bbad7..e3feb76b 100644
--- a/src/vppinfra/memcpy_avx.h
+++ b/src/vppinfra/memcpy_avx.h
@@ -185,11 +185,6 @@ clib_memcpy (void *dst, const void *src, size_t n)
/**
* Fast way when copy size doesn't exceed 512 bytes
*/
- if (n == 16)
- {
- clib_mov16 ((u8 *) dst, (const u8 *) src);
- return ret;
- }
if (n <= 32)
{
clib_mov16 ((u8 *) dst, (const u8 *) src);
diff --git a/src/vppinfra/memcpy_sse3.h b/src/vppinfra/memcpy_sse3.h
index 49baf5e5..4fc48c86 100644
--- a/src/vppinfra/memcpy_sse3.h
+++ b/src/vppinfra/memcpy_sse3.h
@@ -224,11 +224,6 @@ clib_memcpy (void *dst, const void *src, size_t n)
/**
* Fast way when copy size doesn't exceed 512 bytes
*/
- if (n == 16)
- {
- clib_mov16 ((u8 *) dst, (const u8 *) src);
- return ret;
- }
if (n <= 32)
{
clib_mov16 ((u8 *) dst, (const u8 *) src);