riscv: assembler versions of memcpy, memmove, memset
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sat, 27 Mar 2021 11:37:04 +0000 (12:37 +0100)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 8 Apr 2021 07:37:29 +0000 (15:37 +0800)
commit8f0dc4cfd106edbb8f8efb4583b33ecd52610e6c
tree864f15409441a9f99d152e2d64b72e0f6487c52e
parentf709a0b6f9c986e2a921435d095fc498949b53fa
riscv: assembler versions of memcpy, memmove, memset

Provide optimized versions of memcpy(), memmove(), memset() copied from
the Linux kernel.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
arch/riscv/Kconfig
arch/riscv/include/asm/string.h
arch/riscv/lib/Makefile
arch/riscv/lib/memcpy.S [new file with mode: 0644]
arch/riscv/lib/memmove.S [new file with mode: 0644]
arch/riscv/lib/memset.S [new file with mode: 0644]