Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use memcpy and memset from musl for performance benefit (#277)
Base: commit 37e18b7bf307fa4a8c745feebfcba54a0ba74f30 - src/string/memcpy.c - src/string/memset.c This was compiled into assembly with: clang-14 -target riscv32 -march=rv32im -O3 -S memcpy.c -nostdlib -fno-builtin -funroll-loops and labels manually updated to not conflict License is MIT, see https://git.musl-libc.org/cgit/musl/tree/COPYRIGHT and indicated in the .s files Signed-off-by: Carsten Munk <carsten@zippie.com> Signed-off-by: Carsten Munk <carsten@zippie.com> Co-authored-by: Carsten Munk <carsten@zippie.com> Co-authored-by: Frank Laub <flaub@risc0.com>
- Loading branch information