1 /*===------------ vpclmulqdqintrin.h - VPCLMULQDQ intrinsics ---------------===
4 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 * See https://llvm.org/LICENSE.txt for license information.
6 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 *===-----------------------------------------------------------------------===
11 #error "Never use <vpclmulqdqintrin.h> directly; include <immintrin.h> instead."
14 #ifndef __VPCLMULQDQINTRIN_H
15 #define __VPCLMULQDQINTRIN_H
17 #define _mm256_clmulepi64_epi128(A, B, I) \
18 ((__m256i)__builtin_ia32_pclmulqdq256((__v4di)(__m256i)(A), \
19 (__v4di)(__m256i)(B), \
22 #ifdef __AVX512FINTRIN_H
23 #define _mm512_clmulepi64_epi128(A, B, I) \
24 ((__m512i)__builtin_ia32_pclmulqdq512((__v8di)(__m512i)(A), \
25 (__v8di)(__m512i)(B), \
27 #endif // __AVX512FINTRIN_H
29 #endif /* __VPCLMULQDQINTRIN_H */