summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/vppinfra/memcpy_x86_64.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/vppinfra/memcpy_x86_64.h b/src/vppinfra/memcpy_x86_64.h
index 9662ab4e7ef..e206c69c997 100644
--- a/src/vppinfra/memcpy_x86_64.h
+++ b/src/vppinfra/memcpy_x86_64.h
@@ -597,10 +597,9 @@ clib_memcpy_x86_64 (void *restrict dst, const void *restrict src, size_t n)
}
return dst;
#else
-#error "SSE/AVX2/AVX512 must be enabled"
-#endif
-
+ __builtin_memcpy (dst, src, n);
return dst;
+#endif
}
/* clang-format off */