xref: /freebsd/contrib/llvm-project/clang/lib/Headers/x86intrin.h (revision cfd6422a5217410fbd66f7a7a8a64d9d85e61229)
1 /*===---- x86intrin.h - X86 intrinsics -------------------------------------===
2  *
3  * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4  * See https://llvm.org/LICENSE.txt for license information.
5  * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6  *
7  *===-----------------------------------------------------------------------===
8  */
9 
10 #ifndef __X86INTRIN_H
11 #define __X86INTRIN_H
12 
13 #include <ia32intrin.h>
14 
15 #include <immintrin.h>
16 
17 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
18     defined(__3dNOW__)
19 #include <mm3dnow.h>
20 #endif
21 
22 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
23     defined(__PRFCHW__)
24 #include <prfchwintrin.h>
25 #endif
26 
27 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
28     defined(__SSE4A__)
29 #include <ammintrin.h>
30 #endif
31 
32 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
33     defined(__FMA4__)
34 #include <fma4intrin.h>
35 #endif
36 
37 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
38     defined(__XOP__)
39 #include <xopintrin.h>
40 #endif
41 
42 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
43     defined(__TBM__)
44 #include <tbmintrin.h>
45 #endif
46 
47 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
48     defined(__LWP__)
49 #include <lwpintrin.h>
50 #endif
51 
52 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
53     defined(__MWAITX__)
54 #include <mwaitxintrin.h>
55 #endif
56 
57 #if !(defined(_MSC_VER) || defined(__SCE__)) || __has_feature(modules) ||      \
58     defined(__CLZERO__)
59 #include <clzerointrin.h>
60 #endif
61 
62 
63 #endif /* __X86INTRIN_H */
64