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

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


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-libc

Author: Guillaume Chatelet (gchatelet)

<details>
<summary>Changes</summary>



---
Full diff: https://github.com/llvm/llvm-project/pull/71942.diff


1 Files Affected:

- (modified) libc/docs/configure.rst (+1) 


``````````diff
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.

``````````

</details>


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


More information about the libc-commits mailing list