[libc-commits] [libc] update configure rst (PR #71942)

Guillaume Chatelet via libc-commits libc-commits at lists.llvm.org
Fri Nov 10 06:00:19 PST 2023


https://github.com/gchatelet created https://github.com/llvm/llvm-project/pull/71942

None

>From e8cf40ea32ca7a27e207ab71c71304d514ebd1ee Mon Sep 17 00:00:00 2001
From: Guillaume Chatelet <gchatelet at google.com>
Date: Fri, 10 Nov 2023 13:59:07 +0000
Subject: [PATCH] [libc] Push updated version of configure.rst

---
 libc/docs/configure.rst | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libc/docs/configure.rst b/libc/docs/configure.rst
index 0a1b3ea87a2133b..9997dde6cf899c0 100644
--- a/libc/docs/configure.rst
+++ b/libc/docs/configure.rst
@@ -31,4 +31,5 @@ to learn about the defaults for your platform and target.
     - ``LIBC_CONF_PRINTF_DISABLE_WRITE_INT``: Disable handling of %n in printf format string.
     - ``LIBC_CONF_PRINTF_FLOAT_TO_STR_USE_MEGA_LONG_DOUBLE_TABLE``: Use large table for better printf long double performance.
 * **"string" options**
+    - ``LIBC_CONF_MEMSET_X86_USE_SOFTWARE_PREFETCHING``: Inserts prefetch for write instructions (PREFETCHW) for memset on x86 to recover performance when hardware prefetcher is disabled.
     - ``LIBC_CONF_STRING_UNSAFE_WIDE_READ``: Read more than a byte at a time to perform byte-string operations like strlen.



More information about the libc-commits mailing list