[libc-commits] [libc] [libc][x86] Add Non-temporal code path for large memcpy (PR #187108)

Alexey Samsonov via libc-commits libc-commits at lists.llvm.org
Tue Mar 17 14:02:15 PDT 2026


================
@@ -185,6 +193,10 @@ LIBC_INLINE MemcmpReturnType cmp_neq<__m128i>(CPtr p1, CPtr p2, size_t offset) {
 #if defined(__AVX__)
 template <> struct is_vector<__m256i> : cpp::true_type {};
 template <> struct cmp_is_expensive<__m256i> : cpp::true_type {};
+template <> LIBC_INLINE void stream<__m256i>(Ptr dst, __m256i value) {
----------------
vonosmas wrote:

I wonder if for posterity we also need __m128i and __m512i implementations.

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


More information about the libc-commits mailing list