[clang] [compiler-rt] [llvm] [X86] Add support for AVX10_V1_AUX (PR #247119)
Evgenii Kudriashov via cfe-commits
cfe-commits at lists.llvm.org
Sun Dec 6 12:14:27 PST 2026
================
@@ -0,0 +1,542 @@
+/*===--------- avx10v1aux_512intrin.h - AVX10V1AUX 512 -------------===
+ *
+ * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
+ * See https://llvm.org/LICENSE.txt for license information.
+ * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
+ *
+ *===-----------------------------------------------------------------------===
+ */
+#ifndef __IMMINTRIN_H
+#error \
+ "Never use <avx10v1aux_512intrin.h> directly; include <immintrin.h> instead."
+#endif // __IMMINTRIN_H
+
+#ifdef __SSE2__
+
+#ifndef __AVX10V1AUX_512INTRIN_H
+#define __AVX10V1AUX_512INTRIN_H
+
+/* Define the default attributes for the functions in this file. */
+#define __DEFAULT_FN_ATTRS512 \
+ __attribute__((__always_inline__, __nodebug__, __target__("avx10v1aux"), \
+ __min_vector_width__(512)))
+
+static __inline__ __m512h __DEFAULT_FN_ATTRS512 _mm512_cvtx2ps_ph(__m512 __A,
----------------
e-kud wrote:
Can we add comments similar to 256 versions since we are touching these headers?
https://github.com/llvm/llvm-project/pull/247119
More information about the cfe-commits
mailing list