blob: f5e4d883e8b2aed06ced75aa6c4b04407eff8e33 [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
Craig Topper7feb3212011-12-30 09:15:03 +000049#ifdef __FMA4__
50#include <fma4intrin.h>
51#endif
52
Chandler Carruth345032a2012-02-20 07:35:45 +000053// FIXME: SSE4A, XOP, LWP, ABM
Nick Lewyckyb7649562010-08-22 20:38:05 +000054
55#endif /* __X86INTRIN_H */