Revert "[libc] New version of the mem* framework"
authorSterling Augustine <saugustine@google.com>
Fri, 14 Oct 2022 18:17:46 +0000 (11:17 -0700)
committerSterling Augustine <saugustine@google.com>
Fri, 14 Oct 2022 19:32:20 +0000 (12:32 -0700)
commitd8415b02a519f222ecf71b069c96cc85ac635de3
treed9377fe945b92f3898c7f2f168a18169a62b18c4
parentef774bec63b72a0e900b3ddf22da81efbecd99a9
Revert "[libc] New version of the mem* framework"

This reverts commit https://reviews.llvm.org/D135134 (b3f1d58a131eb546aaf1ac165c77ccb89c40d758)

That revision appears to have broken Arm memcpy in some subtle
ways. Am communicating with the original author to get a
good reproduction.
26 files changed:
libc/src/stdio/printf_core/string_writer.cpp
libc/src/string/bcmp.cpp
libc/src/string/memcmp.cpp
libc/src/string/memmove.cpp
libc/src/string/memory_utils/CMakeLists.txt
libc/src/string/memory_utils/README.md [deleted file]
libc/src/string/memory_utils/bcmp_implementations.h
libc/src/string/memory_utils/elements.h [new file with mode: 0644]
libc/src/string/memory_utils/elements_aarch64.h [new file with mode: 0644]
libc/src/string/memory_utils/elements_x86.h [new file with mode: 0644]
libc/src/string/memory_utils/memcmp_implementations.h
libc/src/string/memory_utils/memcpy_implementations.h
libc/src/string/memory_utils/memset_implementations.h
libc/src/string/memory_utils/op_aarch64.h [deleted file]
libc/src/string/memory_utils/op_builtin.h [deleted file]
libc/src/string/memory_utils/op_generic.h [deleted file]
libc/src/string/memory_utils/op_x86.h [deleted file]
libc/src/string/memory_utils/utils.h
libc/src/string/memset.cpp
libc/test/src/string/bcmp_test.cpp
libc/test/src/string/memmove_test.cpp
libc/test/src/string/memory_utils/CMakeLists.txt
libc/test/src/string/memory_utils/elements_test.cpp [new file with mode: 0644]
libc/test/src/string/memory_utils/memory_access_test.cpp [new file with mode: 0644]
libc/test/src/string/memory_utils/utils_test.cpp
utils/bazel/llvm-project-overlay/libc/BUILD.bazel