mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-07-12 15:59:17 +00:00
.github
.vscode
Architecture
Core
Execute
FileSystem
Files
GUI
Library
Bitmap.cpp
Convert.cpp
CyclicRedundancyCheck32.c
MemOp.c
MemoryCopySIMD.cpp
MemoryMoveSIMD.cpp
MemorySetSIMD.cpp
cargs.c
cwalk.c
cxxabi.cpp
dumper.cpp
liballoc_1_1.c
liballoc_1_1.h
liballocimpl.cpp
md5.c
printf.c
Network
Profiling
Recovery
SystemCalls
Tasking
Tests
include
.gitignore
DAPI.hpp
Doxyfile
Fex.hpp
KConfig.cpp
KThread.cpp
Kernel.cpp
LICENSE
Makefile
README.md
dump.sh
ipc.h
kernel.h
syscalls.h
44 lines
1010 B
C++
44 lines
1010 B
C++
#include <convert.h>
|
|
|
|
#include <memory.hpp>
|
|
#include <limits.h>
|
|
#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.
|
|
*/
|
|
|
|
// TODO: Implement these functions
|
|
|
|
EXTERNC void *memmove_sse(void *dest, const void *src, size_t n)
|
|
{
|
|
return memmove_unsafe(dest, src, n);
|
|
}
|
|
|
|
EXTERNC void *memmove_sse2(void *dest, const void *src, size_t n)
|
|
{
|
|
return memmove_unsafe(dest, src, n);
|
|
}
|
|
|
|
EXTERNC void *memmove_sse3(void *dest, const void *src, size_t n)
|
|
{
|
|
return memmove_unsafe(dest, src, n);
|
|
}
|
|
|
|
EXTERNC void *memmove_ssse3(void *dest, const void *src, size_t n)
|
|
{
|
|
return memmove_unsafe(dest, src, n);
|
|
}
|
|
|
|
EXTERNC void *memmove_sse4_1(void *dest, const void *src, size_t n)
|
|
{
|
|
return memmove_unsafe(dest, src, n);
|
|
}
|
|
|
|
EXTERNC void *memmove_sse4_2(void *dest, const void *src, size_t n)
|
|
{
|
|
return memmove_unsafe(dest, src, n);
|
|
}
|