提交 d519c9ca 编写于 作者: Y yinchuang

Optimize memmove

Signed-off-by: Nyinchuang <yinchuang@huawei.com>
上级 00b444e0
...@@ -279,6 +279,7 @@ template("musl_libs") { ...@@ -279,6 +279,7 @@ template("musl_libs") {
sources_orig -= [ sources_orig -= [
"src/thread/${musl_arch}/__set_thread_area.s", "src/thread/${musl_arch}/__set_thread_area.s",
"src/string/memcpy.c", "src/string/memcpy.c",
"src/string/memmove.c",
"src/string/memchr.c", "src/string/memchr.c",
"src/string/memcmp.c", "src/string/memcmp.c",
"src/string/strcpy.c", "src/string/strcpy.c",
...@@ -428,6 +429,7 @@ template("musl_libs") { ...@@ -428,6 +429,7 @@ template("musl_libs") {
"$OPTRTDIR/string/aarch64/strrchr.S", "$OPTRTDIR/string/aarch64/strrchr.S",
] ]
asmflags = [ asmflags = [
"-D__memmove_aarch64 = memmove",
"-D__memcpy_aarch64 = memcpy", "-D__memcpy_aarch64 = memcpy",
"-D__memchr_aarch64 = memchr", "-D__memchr_aarch64 = memchr",
"-D__memset_aarch64 = memset", "-D__memset_aarch64 = memset",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册