x86intrin.h revision 234353
1218799Snwhitehorn/*===---- x86intrin.h - X86 intrinsics -------------------------------------===
2218799Snwhitehorn *
3218799Snwhitehorn * Permission is hereby granted, free of charge, to any person obtaining a copy
4218799Snwhitehorn * of this software and associated documentation files (the "Software"), to deal
5218799Snwhitehorn * in the Software without restriction, including without limitation the rights
6218799Snwhitehorn * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7218799Snwhitehorn * copies of the Software, and to permit persons to whom the Software is
8218799Snwhitehorn * furnished to do so, subject to the following conditions:
9218799Snwhitehorn *
10218799Snwhitehorn * The above copyright notice and this permission notice shall be included in
11218799Snwhitehorn * all copies or substantial portions of the Software.
12218799Snwhitehorn *
13218799Snwhitehorn * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14218799Snwhitehorn * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15218799Snwhitehorn * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16218799Snwhitehorn * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17218799Snwhitehorn * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18218799Snwhitehorn * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19218799Snwhitehorn * THE SOFTWARE.
20218799Snwhitehorn *
21218799Snwhitehorn *===-----------------------------------------------------------------------===
22218799Snwhitehorn */
23218799Snwhitehorn
24218799Snwhitehorn#ifndef __X86INTRIN_H
25218799Snwhitehorn#define __X86INTRIN_H
26218799Snwhitehorn
27218799Snwhitehorn#include <immintrin.h>
28218799Snwhitehorn
29218799Snwhitehorn#ifdef __3dNOW__
30218799Snwhitehorn#include <mm3dnow.h>
31218799Snwhitehorn#endif
32218799Snwhitehorn
33218799Snwhitehorn#ifdef __BMI__
34218799Snwhitehorn#include <bmiintrin.h>
35218799Snwhitehorn#endif
36218799Snwhitehorn
37218799Snwhitehorn#ifdef __BMI2__
38218799Snwhitehorn#include <bmi2intrin.h>
39218799Snwhitehorn#endif
40218799Snwhitehorn
41218799Snwhitehorn#ifdef __LZCNT__
42218799Snwhitehorn#include <lzcntintrin.h>
43218799Snwhitehorn#endif
44244858Snwhitehorn
45218799Snwhitehorn#ifdef __POPCNT__
46218799Snwhitehorn#include <popcntintrin.h>
47285769Sallanjude#endif
48218799Snwhitehorn
49218799Snwhitehorn#ifdef __FMA4__
50218799Snwhitehorn#include <fma4intrin.h>
51218799Snwhitehorn#endif
52218799Snwhitehorn
53218799Snwhitehorn// FIXME: SSE4A, XOP, LWP, ABM
54218799Snwhitehorn
55225066Snwhitehorn#endif /* __X86INTRIN_H */
56225066Snwhitehorn