11#error "Never use <avx512ifmavlintrin.h> directly; include <immintrin.h> instead."
14#ifndef __IFMAVLINTRIN_H
15#define __IFMAVLINTRIN_H
18#define __DEFAULT_FN_ATTRS128 \
19 __attribute__((__always_inline__, __nodebug__, \
20 __target__("avx512ifma,avx512vl,no-evex512"), \
21 __min_vector_width__(128)))
22#define __DEFAULT_FN_ATTRS256 \
23 __attribute__((__always_inline__, __nodebug__, \
24 __target__("avx512ifma,avx512vl,no-evex512"), \
25 __min_vector_width__(256)))
27#define _mm_madd52hi_epu64(X, Y, Z) \
28 ((__m128i)__builtin_ia32_vpmadd52huq128((__v2di)(X), (__v2di)(Y), \
31#define _mm256_madd52hi_epu64(X, Y, Z) \
32 ((__m256i)__builtin_ia32_vpmadd52huq256((__v4di)(X), (__v4di)(Y), \
35#define _mm_madd52lo_epu64(X, Y, Z) \
36 ((__m128i)__builtin_ia32_vpmadd52luq128((__v2di)(X), (__v2di)(Y), \
39#define _mm256_madd52lo_epu64(X, Y, Z) \
40 ((__m256i)__builtin_ia32_vpmadd52luq256((__v4di)(X), (__v4di)(Y), \
46 return (__m128i)__builtin_ia32_selectq_128(__M,
54 return (__m128i)__builtin_ia32_selectq_128(__M,
62 return (__m256i)__builtin_ia32_selectq_256(__M,
70 return (__m256i)__builtin_ia32_selectq_256(__M,
78 return (__m128i)__builtin_ia32_selectq_128(__M,
86 return (__m128i)__builtin_ia32_selectq_128(__M,
94 return (__m256i)__builtin_ia32_selectq_256(__M,
102 return (__m256i)__builtin_ia32_selectq_256(__M,
108#undef __DEFAULT_FN_ATTRS128
109#undef __DEFAULT_FN_ATTRS256
#define _mm256_madd52lo_epu64(X, Y, Z)
static __inline__ __m128i __DEFAULT_FN_ATTRS128 _mm_mask_madd52hi_epu64(__m128i __W, __mmask8 __M, __m128i __X, __m128i __Y)
static __inline__ __m256i __DEFAULT_FN_ATTRS256 _mm256_mask_madd52lo_epu64(__m256i __W, __mmask8 __M, __m256i __X, __m256i __Y)
#define _mm_madd52hi_epu64(X, Y, Z)
static __inline__ __m256i __DEFAULT_FN_ATTRS256 _mm256_maskz_madd52lo_epu64(__mmask8 __M, __m256i __X, __m256i __Y, __m256i __Z)
static __inline__ __m128i __DEFAULT_FN_ATTRS128 _mm_mask_madd52lo_epu64(__m128i __W, __mmask8 __M, __m128i __X, __m128i __Y)
#define _mm_madd52lo_epu64(X, Y, Z)
static __inline__ __m128i __DEFAULT_FN_ATTRS128 _mm_maskz_madd52lo_epu64(__mmask8 __M, __m128i __X, __m128i __Y, __m128i __Z)
#define __DEFAULT_FN_ATTRS256
#define __DEFAULT_FN_ATTRS128
#define _mm256_madd52hi_epu64(X, Y, Z)
static __inline__ __m128i __DEFAULT_FN_ATTRS128 _mm_maskz_madd52hi_epu64(__mmask8 __M, __m128i __X, __m128i __Y, __m128i __Z)
static __inline__ __m256i __DEFAULT_FN_ATTRS256 _mm256_maskz_madd52hi_epu64(__mmask8 __M, __m256i __X, __m256i __Y, __m256i __Z)
static __inline__ __m256i __DEFAULT_FN_ATTRS256 _mm256_mask_madd52hi_epu64(__m256i __W, __mmask8 __M, __m256i __X, __m256i __Y)
static __inline __m256i __DEFAULT_FN_ATTRS _mm256_setzero_si256(void)
Constructs a 256-bit integer vector initialized to zero.
static __inline__ __m128i __DEFAULT_FN_ATTRS _mm_setzero_si128(void)
Creates a 128-bit integer vector initialized to zero.
__inline unsigned int unsigned int __Y