TODO: implement a faster mem*

This commit is contained in:
Alex
2023-01-04 06:45:22 +02:00
parent fd477325a3
commit f91503d704
3 changed files with 28 additions and 118 deletions

View File

@ -5,6 +5,11 @@
#include <debug.h>
#include <cpu.hpp>
/*
TODO: Replace these functions with even more optimized versions.
The current versions are fast but not as fast as they could be and also we need implementation for avx, not only sse.
*/
EXTERNC void *memcpy_sse(void *dest, const void *src, size_t n)
{
char *d = (char *)dest;