LibC: Implement some mem* and str* functions in assembly

This made them a lot faster on modern cpus with optimized rep stos and
rep movs
This commit is contained in:
2025-01-14 22:50:46 +02:00
parent b129bab81a
commit ebecbb69ec
4 changed files with 152 additions and 0 deletions

View File

@@ -148,6 +148,10 @@ set(BAN_SOURCES
set(KLIBC_SOURCES
klibc/ctype.cpp
klibc/string.cpp
# Ehhh don't do this but for now libc uses the same stuff kernel can use
# This won't work after libc starts using sse implemetations tho
../userspace/libraries/LibC/arch/${BANAN_ARCH}/string.S
)
set(LIBFONT_SOURCES