[all-commits] [llvm/llvm-project] 73ef39: [libc][x86] Use prefetch for write for memcpy (#90...

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Aug 29 05:17:45 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 73ef397fcba35b7b4239c00bf3e0b4e689ca0add
      https://github.com/llvm/llvm-project/commit/73ef397fcba35b7b4239c00bf3e0b4e689ca0add
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2024-08-29 (Thu, 29 Aug 2024)

  Changed paths:
    M libc/src/string/memory_utils/x86_64/inline_memcpy.h

  Log Message:
  -----------
  [libc][x86] Use prefetch for write for memcpy (#90450)

Currently when `LIBC_COPT_MEMCPY_X86_USE_SOFTWARE_PREFETCHING` is set we
prefetch memory for read on the source buffer. This patch adds prefetch
for write on the destination buffer.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list