]> CyberLeo.Net >> Repos - FreeBSD/releng/10.0.git/blob - contrib/llvm/tools/clang/lib/Headers/x86intrin.h
- Copy stable/10 (r259064) to releng/10.0 as part of the
[FreeBSD/releng/10.0.git] / contrib / llvm / tools / clang / lib / Headers / x86intrin.h
1 /*===---- x86intrin.h - X86 intrinsics -------------------------------------===
2  *
3  * Permission is hereby granted, free of charge, to any person obtaining a copy
4  * of this software and associated documentation files (the "Software"), to deal
5  * in the Software without restriction, including without limitation the rights
6  * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7  * copies of the Software, and to permit persons to whom the Software is
8  * furnished to do so, subject to the following conditions:
9  *
10  * The above copyright notice and this permission notice shall be included in
11  * all copies or substantial portions of the Software.
12  *
13  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15  * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16  * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19  * THE SOFTWARE.
20  *
21  *===-----------------------------------------------------------------------===
22  */
23
24 #ifndef __X86INTRIN_H
25 #define __X86INTRIN_H
26
27 #include <immintrin.h>
28
29 #ifdef __3dNOW__
30 #include <mm3dnow.h>
31 #endif
32
33 #ifdef __BMI__
34 #include <bmiintrin.h>
35 #endif
36
37 #ifdef __BMI2__
38 #include <bmi2intrin.h>
39 #endif
40
41 #ifdef __LZCNT__
42 #include <lzcntintrin.h>
43 #endif
44
45 #ifdef __POPCNT__
46 #include <popcntintrin.h>
47 #endif
48
49 #ifdef __RDSEED__
50 #include <rdseedintrin.h>
51 #endif
52
53 #ifdef __PRFCHW__
54 #include <prfchwintrin.h>
55 #endif
56
57 #ifdef __SSE4A__
58 #include <ammintrin.h>
59 #endif
60
61 #ifdef __FMA4__
62 #include <fma4intrin.h>
63 #endif
64
65 #ifdef __XOP__
66 #include <xopintrin.h>
67 #endif
68
69 #ifdef __F16C__
70 #include <f16cintrin.h>
71 #endif
72
73 // FIXME: LWP
74
75 #endif /* __X86INTRIN_H */