blob: 94fbe2fe234d208da6e535c7c2c23789f7e25b2d [file] [log] [blame]
Nick Lewyckyb7649562010-08-22 20:38:05 +00001/*===---- 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
Chandler Carruth345032a2012-02-20 07:35:45 +000029#ifdef __3dNOW__
30#include <mm3dnow.h>
31#endif
32
Craig Topper5c752082011-12-25 06:25:37 +000033#ifdef __BMI__
34#include <bmiintrin.h>
35#endif
36
Craig Topperf58f3642011-12-26 02:31:10 +000037#ifdef __BMI2__
38#include <bmi2intrin.h>
39#endif
40
Craig Topper5c752082011-12-25 06:25:37 +000041#ifdef __LZCNT__
42#include <lzcntintrin.h>
43#endif
44
Craig Toppere14e08b2011-12-29 16:10:46 +000045#ifdef __POPCNT__
46#include <popcntintrin.h>
47#endif
48
Michael Liao1bfc28c2013-03-29 05:17:55 +000049#ifdef __RDSEED__
50#include <rdseedintrin.h>
51#endif
52
Michael Liao72339a02013-03-26 17:52:08 +000053#ifdef __PRFCHW__
54#include <prfchwintrin.h>
55#endif
56
Benjamin Kramer6b978772012-05-29 19:10:17 +000057#ifdef __SSE4A__
58#include <ammintrin.h>
59#endif
60
Craig Topper7feb3212011-12-30 09:15:03 +000061#ifdef __FMA4__
62#include <fma4intrin.h>
63#endif
64
Craig Topper239c0302012-06-10 00:39:38 +000065#ifdef __XOP__
66#include <xopintrin.h>
67#endif
68
Manman Ren146e5a42012-10-11 00:59:55 +000069#ifdef __F16C__
70#include <f16cintrin.h>
71#endif
72
Craig Topper239c0302012-06-10 00:39:38 +000073// FIXME: LWP
Nick Lewyckyb7649562010-08-22 20:38:05 +000074
75#endif /* __X86INTRIN_H */