libc: optimized memcpy()
If the cpu supports "Enhanced REP MOVS / STOS" (ERMS), use an rep movsb instruction to implement memcpy. This speeds up copies significantly, especially large misaligned ones.
arch/x64/string.cc
0 → 100644
Please register or sign in to comment