[all-commits] [llvm/llvm-project] b3f1d5: [libc] New version of the mem* framework

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Fri Oct 14 06:47:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b3f1d58a131eb546aaf1ac165c77ccb89c40d758
      https://github.com/llvm/llvm-project/commit/b3f1d58a131eb546aaf1ac165c77ccb89c40d758
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2022-10-14 (Fri, 14 Oct 2022)

  Changed paths:
    M libc/src/stdio/printf_core/string_writer.cpp
    M libc/src/string/bcmp.cpp
    M libc/src/string/memcmp.cpp
    M libc/src/string/memmove.cpp
    M libc/src/string/memory_utils/CMakeLists.txt
    A libc/src/string/memory_utils/README.md
    M libc/src/string/memory_utils/bcmp_implementations.h
    R libc/src/string/memory_utils/elements.h
    R libc/src/string/memory_utils/elements_aarch64.h
    R libc/src/string/memory_utils/elements_x86.h
    M libc/src/string/memory_utils/memcmp_implementations.h
    M libc/src/string/memory_utils/memcpy_implementations.h
    M libc/src/string/memory_utils/memset_implementations.h
    A libc/src/string/memory_utils/op_aarch64.h
    A libc/src/string/memory_utils/op_builtin.h
    A libc/src/string/memory_utils/op_generic.h
    A libc/src/string/memory_utils/op_x86.h
    M libc/src/string/memory_utils/utils.h
    M libc/src/string/memset.cpp
    M libc/test/src/string/bcmp_test.cpp
    M libc/test/src/string/memmove_test.cpp
    M libc/test/src/string/memory_utils/CMakeLists.txt
    R libc/test/src/string/memory_utils/elements_test.cpp
    R libc/test/src/string/memory_utils/memory_access_test.cpp
    M libc/test/src/string/memory_utils/utils_test.cpp
    M utils/bazel/llvm-project-overlay/libc/BUILD.bazel

  Log Message:
  -----------
  [libc] New version of the mem* framework

    This version is more composable and also simpler at the expense of being more explicit and more verbose. It also provides minimal implementations for ARM platforms.

    Codegen can be checked here https://godbolt.org/z/chf1Y6eGM

    Differential Revision: https://reviews.llvm.org/D135134




More information about the All-commits mailing list